[gthumb] [burn_disc] fixed crash when cancelling the export to disc operation



commit f4346ff8995504e0f9f2e77af879da7c73919e91
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Mon Mar 1 12:39:06 2010 +0100

    [burn_disc] fixed crash when cancelling the export to disc operation
    
    [bug #611456]

 extensions/burn_disc/gth-burn-task.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/extensions/burn_disc/gth-burn-task.c b/extensions/burn_disc/gth-burn-task.c
index 54fde47..ef93a92 100644
--- a/extensions/burn_disc/gth-burn-task.c
+++ b/extensions/burn_disc/gth-burn-task.c
@@ -72,6 +72,7 @@ gth_task_finalize (GObject *object)
 	task = GTH_BURN_TASK (object);
 
 	if (task->priv != NULL) {
+		gtk_widget_destroy (task->priv->dialog);
 		g_hash_table_foreach (task->priv->content, free_file_list_from_content, NULL);
 		g_hash_table_unref (task->priv->content);
 		g_hash_table_unref (task->priv->parents);
@@ -372,8 +373,6 @@ source_dialog_response_cb (GtkDialog   *dialog,
 	}
 	else
 		gth_task_completed (GTH_TASK (task), NULL);
-
-	gtk_widget_destroy (task->priv->dialog);
 }
 
 



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