diff options
author | infirit <[email protected]> | 2014-07-03 17:08:09 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-07-03 17:49:01 +0200 |
commit | 0ca03319bc1a69638f76c914fb6b86d142e88829 (patch) | |
tree | fa4aece5de1e58edbc75c8cccdcb9209d40a1b4f /src/themes/coco | |
parent | 3689698d12b93355a273e1aae1936ff9a74defd1 (diff) | |
download | mate-notification-daemon-0ca03319bc1a69638f76c914fb6b86d142e88829.tar.bz2 mate-notification-daemon-0ca03319bc1a69638f76c914fb6b86d142e88829.tar.xz |
Use g_object_unref in callback for both Gtk+ versions
Diffstat (limited to 'src/themes/coco')
-rw-r--r-- | src/themes/coco/coco-theme.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c index 3d13f14..606101c 100644 --- a/src/themes/coco/coco-theme.c +++ b/src/themes/coco/coco-theme.c @@ -643,11 +643,7 @@ clear_notification_actions(GtkWindow *nw) gtk_widget_hide(windata->actions_box); gtk_container_foreach(GTK_CONTAINER(windata->actions_box), -#if GTK_CHECK_VERSION (3, 0, 0) (GtkCallback)g_object_unref, NULL); -#else - (GtkCallback)gtk_object_destroy, NULL); -#endif } /* Move notification window */ |