summaryrefslogtreecommitdiff
path: root/src/core/window-private.h
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-29 17:42:23 +0100
committerraveit65 <[email protected]>2021-03-01 13:55:09 +0100
commitbc5c7f0bc2db56fbc8475eab9b651b8a77effe91 (patch)
tree9f212308a42ecb5230a409364795cd4f598d80d0 /src/core/window-private.h
parent5b6170f917cdb1cbd3752c963a6ad4d2a58b35d8 (diff)
downloadmarco-bc5c7f0bc2db56fbc8475eab9b651b8a77effe91.tar.bz2
marco-bc5c7f0bc2db56fbc8475eab9b651b8a77effe91.tar.xz
window: turn into a GObject
Diffstat (limited to 'src/core/window-private.h')
-rw-r--r--src/core/window-private.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/window-private.h b/src/core/window-private.h
index 6b57c4b2..02b7df42 100644
--- a/src/core/window-private.h
+++ b/src/core/window-private.h
@@ -45,6 +45,8 @@
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gtk/gtk.h>
+G_BEGIN_DECLS
+
typedef struct _MetaGroup MetaGroup;
typedef struct _MetaWindowQueue MetaWindowQueue;
@@ -97,6 +99,8 @@ typedef enum {
struct _MetaWindow
{
+ GObject parent;
+
MetaDisplay *display;
MetaScreen *screen;
MetaWorkspace *workspace;
@@ -700,4 +704,6 @@ void meta_window_update_net_wm_type (MetaWindow *window);
gboolean meta_window_can_tile (MetaWindow *window);
-#endif
+G_END_DECLS
+
+#endif /* META_WINDOW_PRIVATE_H */