From 2425d611fccb0fa43cfd85a967d41d0777ecd353 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 b1d178ad..54c7146a 100644 --- a/src/ui/frames.h +++ b/src/ui/frames.h @@ -89,7 +89,11 @@ struct _MetaUIFrame struct _MetaFrames { +#if GTK_CHECK_VERSION (3, 0, 0) + GtkInvisible parent_instance; +#else GtkWindow parent_instance; +#endif GHashTable *text_heights; @@ -107,8 +111,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