diff options
Diffstat (limited to 'src/ui/frames.h')
-rw-r--r-- | src/ui/frames.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/ui/frames.h b/src/ui/frames.h index b1d178ad..8ada07ca 100644 --- a/src/ui/frames.h +++ b/src/ui/frames.h @@ -75,7 +75,11 @@ struct _MetaUIFrame { Window xwindow; GdkWindow *window; +#if GTK_CHECK_VERSION(3, 0, 0) + GtkStyleContext *style; +#else GtkStyle *style; +#endif MetaFrameStyle *cache_style; PangoLayout *layout; int text_height; @@ -89,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; @@ -107,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; |