totem r5443 - in trunk: . src



Author: chpe
Date: Sat May 31 19:47:16 2008
New Revision: 5443
URL: http://svn.gnome.org/viewvc/totem?rev=5443&view=rev

Log:
Fix the return value of the delete-event handler. Bug #535952.


Modified:
   trunk/ChangeLog
   trunk/src/totem-preferences.c

Modified: trunk/src/totem-preferences.c
==============================================================================
--- trunk/src/totem-preferences.c	(original)
+++ trunk/src/totem-preferences.c	Sat May 31 19:47:16 2008
@@ -562,7 +562,9 @@
 	g_signal_connect (G_OBJECT (totem->prefs), "response",
 			G_CALLBACK (gtk_widget_hide), NULL);
 	g_signal_connect (G_OBJECT (totem->prefs), "delete-event",
-			G_CALLBACK (gtk_widget_hide), NULL);
+			G_CALLBACK (gtk_widget_hide_on_delete), NULL);
+        g_signal_connect (totem->prefs, "destroy",
+                          G_CALLBACK (gtk_widget_destroyed), &totem->prefs);
 
 	/* Auto-resize */
 	auto_resize = gconf_client_get_bool (totem->gc,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]