summaryrefslogtreecommitdiff
path: root/gtk/window-decorator/switcher.c
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-02-17 12:11:04 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-02-17 12:11:04 +0800
commit1db97de770f44c3e4a1b3e373d2e639f16288498 (patch)
treec2b8dd363dc8aad44de3bf8dfc519ab12530f9c1 /gtk/window-decorator/switcher.c
parent71b95f83661d1bee5a4f2588e1d7e41afed4de35 (diff)
downloadcompiz-with-glib-mainloop-1db97de770f44c3e4a1b3e373d2e639f16288498.tar.gz
compiz-with-glib-mainloop-1db97de770f44c3e4a1b3e373d2e639f16288498.tar.bz2
Add frames refcounting system
Diffstat (limited to 'gtk/window-decorator/switcher.c')
-rw-r--r--gtk/window-decorator/switcher.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/window-decorator/switcher.c b/gtk/window-decorator/switcher.c
index 47a4a91..102678d 100644
--- a/gtk/window-decorator/switcher.c
+++ b/gtk/window-decorator/switcher.c
@@ -264,6 +264,7 @@ draw_switcher_decoration (decor_t *d)
void
switcher_window_closed ()
{
+ gwd_decor_frame_unref (switcher_window->frame);
g_free (switcher_window);
switcher_window = NULL;
}