[brasero] More fixes for #6319957



commit c7ba4a2633673150ca7af4afafa342f9419d3cd4
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Mon Jan 10 17:17:56 2011 +0100

    More fixes for #6319957

 libbrasero-burn/brasero-burn-dialog.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libbrasero-burn/brasero-burn-dialog.c b/libbrasero-burn/brasero-burn-dialog.c
index 90bab0a..5a09273 100644
--- a/libbrasero-burn/brasero-burn-dialog.c
+++ b/libbrasero-burn/brasero-burn-dialog.c
@@ -158,7 +158,7 @@ brasero_burn_dialog_notify_daemon (BraseroBurnDialog *dialog,
 		notify_init (_("Brasero notification"));
 	}
 
-        notification = notify_notification_new (primary,
+        notification = notify_notification_new (message,
                                                 NULL,
                                                 GTK_STOCK_CDROM);
 
@@ -1910,9 +1910,10 @@ brasero_burn_dialog_notify_copy_finished (BraseroBurnDialog *dialog,
 	                        CA_PROP_EVENT_ID, "complete-media-burn",
 	                        CA_PROP_EVENT_DESCRIPTION, main_message,
 	                        NULL);
-	g_free (main_message);
 
 	brasero_burn_dialog_notify_daemon (dialog, main_message);
+	g_free (main_message);
+
 	response = gtk_dialog_run (GTK_DIALOG (message));
 
 	g_signal_handler_disconnect (drive, added_id);
@@ -1989,9 +1990,9 @@ brasero_burn_dialog_notify_success (BraseroBurnDialog *dialog)
 			       CA_PROP_EVENT_DESCRIPTION, primary,
 			       NULL);
 
+	brasero_burn_dialog_notify_daemon (dialog, primary);
 	g_free (primary);
 
-	brasero_burn_dialog_notify_daemon (dialog, primary);
 	res = brasero_burn_dialog_success_run (dialog);
 
 	if (make_another)



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