summaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index d63545b..00c6f96 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -490,7 +490,7 @@ static void destroy_screen(NotifyDaemon* daemon)
gdkwindow = gdk_screen_get_root_window (screen);
gdk_window_remove_filter (gdkwindow, (GdkFilterFunc) screen_xevent_filter, daemon->screen);
for (i = 0; i < daemon->screen->n_stacks; i++) {
- g_clear_object (&daemon->screen->stacks[i]);
+ g_clear_pointer (&daemon->screen->stacks[i], notify_stack_destroy);
}
g_free (daemon->screen->stacks);