brasero r1100 - in trunk: . src



Author: philippr
Date: Sat Aug 16 13:02:03 2008
New Revision: 1100
URL: http://svn.gnome.org/viewvc/brasero?rev=1100&view=rev

Log:
	Fix potential crash in brasero-data-session
	Fix problem with import session button not being off after clearing project

	* src/brasero-data-disc.c (brasero_data_disc_reset):
	* src/brasero-data-disc.c (brasero_data_disc_clear):
	* src/brasero-data-session.c (brasero_data_disc_clear):


Modified:
   trunk/ChangeLog
   trunk/src/brasero-data-disc.c

Modified: trunk/src/brasero-data-disc.c
==============================================================================
--- trunk/src/brasero-data-disc.c	(original)
+++ trunk/src/brasero-data-disc.c	Sat Aug 16 13:02:03 2008
@@ -1103,11 +1103,8 @@
 	priv = BRASERO_DATA_DISC_PRIVATE (disc);
 
 	action = gtk_action_group_get_action (priv->disc_group, "ImportSession");
-	if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action))) {
-		g_signal_handlers_block_by_func (action, brasero_data_disc_import_session_cb, disc);
+	if (gtk_toggle_action_get_active (GTK_TOGGLE_ACTION (action)))
 		gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), FALSE);
-		g_signal_handlers_unblock_by_func (action, brasero_data_disc_import_session_cb, disc);
-	}
 
 	if (priv->load_errors) {
 		g_slist_foreach (priv->load_errors, (GFunc) g_free , NULL);



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