From fd2e0db8c8315fd8cecd45a422e9a8f161589841 Mon Sep 17 00:00:00 2001 From: Stefano Karapetsas Date: Wed, 23 Apr 2014 18:47:49 +0200 Subject: GTK3 fixes --- src/ui/frames.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ui/frames.h') diff --git a/src/ui/frames.h b/src/ui/frames.h index b1d178ad..b6fdd0de 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; -- cgit v1.2.1