From 96c7256d638b8c76c8abf786ba307e82a595dd67 Mon Sep 17 00:00:00 2001 From: Denis Gorodnichev Date: Fri, 7 Mar 2014 00:04:47 +0400 Subject: gtk3: remove always on top square at 0x0-200x200 Conflicts: src/ui/frames.c --- src/ui/frames.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/ui/frames.h') diff --git a/src/ui/frames.h b/src/ui/frames.h index b6fdd0de..8ada07ca 100644 --- a/src/ui/frames.h +++ b/src/ui/frames.h @@ -93,7 +93,11 @@ struct _MetaUIFrame struct _MetaFrames { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkInvisible parent_instance; +#else GtkWindow parent_instance; +#endif GHashTable *text_heights; @@ -111,8 +115,11 @@ struct _MetaFrames struct _MetaFramesClass { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkInvisibleClass parent_class; +#else GtkWindowClass parent_class; - +#endif }; GType meta_frames_get_type (void) G_GNUC_CONST; -- cgit v1.2.1