Handle the GTK_RESPONSE_DELETE_EVENT case as well

2004-08-16  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_clicked):
	Handle the GTK_RESPONSE_DELETE_EVENT case as well

	Fixes #150273
This commit is contained in:
Rodney Dawes 2004-08-17 01:15:02 +00:00 committed by Rodney Dawes
parent 8629ac9ed3
commit f5ffa2032b
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-08-16 Rodney Dawes <dobey@novell.com>
* gnome-wp-capplet.c (wallpaper_properties_clicked):
Handle the GTK_RESPONSE_DELETE_EVENT case as well
Fixes #150273
2004-08-15 Rodney Dawes <dobey@novell.com>
* gnome-wp-item.c (gnome_wp_item_update_description):

View file

@ -379,6 +379,7 @@ static void wallpaper_properties_clicked (GtkWidget * dialog,
wp_properties_help (GTK_WINDOW (dialog),
"user-guide.xml", "goscustdesk-7");
break;
case GTK_RESPONSE_DELETE_EVENT:
case GTK_RESPONSE_CLOSE: {
gtk_widget_destroy (dialog);
gnome_wp_main_quit (capplet);