summaryrefslogtreecommitdiff
path: root/src/ui/frames.h
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-15 15:39:12 +0300
committermonsta <[email protected]>2016-10-15 15:39:12 +0300
commit40e26ed6d0e9ef84522ad0723f630bd7d796beec (patch)
tree67374984e9b7d2c60525976a008889775f7de4f3 /src/ui/frames.h
parent3b69fd200912e27ce64caf3bf5d4338aab73177b (diff)
downloadmarco-40e26ed6d0e9ef84522ad0723f630bd7d796beec.tar.bz2
marco-40e26ed6d0e9ef84522ad0723f630bd7d796beec.tar.xz
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
Diffstat (limited to 'src/ui/frames.h')
-rw-r--r--src/ui/frames.h12
1 files changed, 0 insertions, 12 deletions
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;