summaryrefslogtreecommitdiff
path: root/src/ui/frames.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-04-23 19:06:44 +0200
committerStefano Karapetsas <[email protected]>2014-04-23 19:06:44 +0200
commitab8e72a4e6fe7cb8ee2dddb0d43d749078fd999c (patch)
tree6e44037dae5cf6b77b354826e627239eaec4c995 /src/ui/frames.c
parentc758b429a0cf4045e3871e12936c36713fa607ef (diff)
downloadmarco-ab8e72a4e6fe7cb8ee2dddb0d43d749078fd999c.tar.bz2
marco-ab8e72a4e6fe7cb8ee2dddb0d43d749078fd999c.tar.xz
GTK3 fixes
Diffstat (limited to 'src/ui/frames.c')
-rw-r--r--src/ui/frames.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/frames.c b/src/ui/frames.c
index 9d4fd68d..c6f7f94e 100644
--- a/src/ui/frames.c
+++ b/src/ui/frames.c
@@ -736,7 +736,11 @@ meta_frames_unmanage_window (MetaFrames *frames,
g_hash_table_remove (frames->frames, &frame->xwindow);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ g_object_unref (frame->style);
+#else
gtk_style_detach (frame->style);
+#endif
gdk_window_destroy (frame->window);