Fixed a crash when closing the plug-ins list

This commit is contained in:
Pierre Pronchery 2011-04-15 22:34:58 +00:00
parent ad08f4360f
commit db0622482b

View File

@ -1825,7 +1825,7 @@ void phone_show_plugins(Phone * phone, gboolean show)
#endif
gtk_window_set_title(GTK_WINDOW(widget), _("Plug-ins"));
g_signal_connect(G_OBJECT(widget), "delete-event", G_CALLBACK(
_on_plugins_closex), widget);
_on_plugins_closex), phone);
vbox = gtk_vbox_new(FALSE, 4);
/* view */
widget = gtk_scrolled_window_new(NULL, NULL);