diff options
author | Stefano Karapetsas <[email protected]> | 2014-04-23 18:47:49 +0200 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2014-04-23 18:47:49 +0200 |
commit | fd2e0db8c8315fd8cecd45a422e9a8f161589841 (patch) | |
tree | 5b6d3f63b53ce91113269bb73da5861a05568d78 /src/ui/frames.h | |
parent | d07a3960e9b81aaf9864902e5398eadf801a531b (diff) | |
download | marco-fd2e0db8c8315fd8cecd45a422e9a8f161589841.tar.bz2 marco-fd2e0db8c8315fd8cecd45a422e9a8f161589841.tar.xz |
GTK3 fixes
Diffstat (limited to 'src/ui/frames.h')
-rw-r--r-- | src/ui/frames.h | 4 |
1 files changed, 4 insertions, 0 deletions
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; |