From 40e26ed6d0e9ef84522ad0723f630bd7d796beec Mon Sep 17 00:00:00 2001 From: monsta Date: Sat, 15 Oct 2016 15:39:12 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option --- src/ui/frames.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/ui/frames.h') diff --git a/src/ui/frames.h b/src/ui/frames.h index 3c4156cb..a5d50011 100644 --- a/src/ui/frames.h +++ b/src/ui/frames.h @@ -75,11 +75,7 @@ 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; @@ -93,11 +89,7 @@ struct _MetaUIFrame struct _MetaFrames { -#if GTK_CHECK_VERSION (3, 0, 0) GtkInvisible parent_instance; -#else - GtkWindow parent_instance; -#endif GHashTable *text_heights; @@ -115,11 +107,7 @@ 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