summaryrefslogtreecommitdiff
path: root/src/themes/slider/theme.c
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-07-22 13:03:21 +0300
committerMonsta <[email protected]>2015-07-22 13:03:21 +0300
commit3e621bbb8931e819da11578767356901fd598db9 (patch)
treeb0bc2d844def304c02c6fd9b1d8917c92e9988ba /src/themes/slider/theme.c
parent319d4817ec24add9698c3870fdb12f573e42f602 (diff)
downloadmate-notification-daemon-3e621bbb8931e819da11578767356901fd598db9.tar.bz2
mate-notification-daemon-3e621bbb8931e819da11578767356901fd598db9.tar.xz
all themes: don't crash on notifications from Rhythmbox
fixes https://github.com/mate-desktop/mate-notification-daemon/issues/55
Diffstat (limited to 'src/themes/slider/theme.c')
-rw-r--r--src/themes/slider/theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/themes/slider/theme.c b/src/themes/slider/theme.c
index c0a4a8c..1bb6ecf 100644
--- a/src/themes/slider/theme.c
+++ b/src/themes/slider/theme.c
@@ -1069,7 +1069,7 @@ void clear_notification_actions(GtkWindow* nw)
windata->pie_countdown = NULL;
gtk_widget_hide(windata->actions_box);
- gtk_container_foreach(GTK_CONTAINER(windata->actions_box), (GtkCallback) g_object_unref, NULL);
+ gtk_container_foreach(GTK_CONTAINER(windata->actions_box), (GtkCallback) gtk_widget_destroy, NULL);
}
void move_notification(GtkWidget* widget, int x, int y)