summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/themes/standard/theme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c
index ec4bfcd..9796959 100644
--- a/src/themes/standard/theme.c
+++ b/src/themes/standard/theme.c
@@ -737,7 +737,7 @@ GtkWindow* create_notification(UrlClickedCb url_clicked)
gtk_button_set_relief(GTK_BUTTON(close_button), GTK_RELIEF_NONE);
gtk_container_set_border_width(GTK_CONTAINER(close_button), 0);
//gtk_widget_set_size_request(close_button, 20, 20);
- g_signal_connect_swapped(G_OBJECT(close_button), "clicked", G_CALLBACK(g_object_unref), win);
+ g_signal_connect_swapped(G_OBJECT(close_button), "clicked", G_CALLBACK(gtk_widget_destroy), win);
rcstyle = gtk_rc_style_new();
rcstyle->xthickness = rcstyle->ythickness = 0;