diff options
Diffstat (limited to 'src/themes/standard/theme.c')
-rw-r--r-- | src/themes/standard/theme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/themes/standard/theme.c b/src/themes/standard/theme.c index da7af15..09aa628 100644 --- a/src/themes/standard/theme.c +++ b/src/themes/standard/theme.c @@ -747,7 +747,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); #if !GTK_CHECK_VERSION(3, 0, 0) rcstyle = gtk_rc_style_new(); |