diff options
author | infirit <[email protected]> | 2015-07-29 22:29:17 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-31 15:01:18 +0200 |
commit | ef263cb59d6eeb2cb0d3bc96ec855b669d48c8c8 (patch) | |
tree | ac1bc42a95c224a84676f663fb05dde804dbb2a1 /src/themes/standard | |
parent | f9aedafffba0ecc55072a933f28500c0e24c9bf1 (diff) | |
download | mate-notification-daemon-ef263cb59d6eeb2cb0d3bc96ec855b669d48c8c8.tar.bz2 mate-notification-daemon-ef263cb59d6eeb2cb0d3bc96ec855b669d48c8c8.tar.xz |
standard: Fix crash due to incorrectly destroying widget
Fixes #69
Diffstat (limited to 'src/themes/standard')
-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 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; |