diff options
author | William Wold <[email protected]> | 2021-02-09 23:15:53 -0800 |
---|---|---|
committer | rbuj <[email protected]> | 2021-02-10 09:08:51 +0100 |
commit | f3ca70b17ab367547e18b6554105e83deb3a8d8d (patch) | |
tree | b916d4539cc59f12b8ad509db0c568db75ff6fad /src | |
parent | f60656367338fe67dbf1ce47c91acebd54df4211 (diff) | |
download | mate-notification-daemon-f3ca70b17ab367547e18b6554105e83deb3a8d8d.tar.bz2 mate-notification-daemon-f3ca70b17ab367547e18b6554105e83deb3a8d8d.tar.xz |
Use notify_stack_destroy() instead of g_clear_object() for stacks (which are not GObjects)]
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/daemon.c | 2 |
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); |