Skip to content
Snippets Groups Projects
Commit 84d5b2b7 authored by Guido Gunther's avatar Guido Gunther :zzz:
Browse files

PhoshPanel: define PHOSH_TYPE_PANEL properly

The convention is to have the _TYPE_ after the prefix
parent d192e34f
No related branches found
No related tags found
No related merge requests found
......@@ -194,7 +194,7 @@ GtkWidget *
phosh_panel_new (struct zwlr_layer_shell_v1 *layer_shell,
struct wl_output *wl_output)
{
return g_object_new (PHOSH_PANEL_TYPE,
return g_object_new (PHOSH_TYPE_PANEL,
"layer-shell", layer_shell,
"wl-output", wl_output,
"height", PHOSH_PANEL_HEIGHT,
......
......@@ -8,7 +8,7 @@
#include "layersurface.h"
#define PHOSH_PANEL_TYPE (phosh_panel_get_type ())
#define PHOSH_TYPE_PANEL (phosh_panel_get_type ())
G_DECLARE_FINAL_TYPE (PhoshPanel, phosh_panel, PHOSH, PANEL, PhoshLayerSurface)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment