[brasero] Don't add a file to the first folder if nothing is selected



commit 347be2213c940e3f3200a3d01f8b3622ffeb3f00
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Mon Jun 22 21:00:08 2009 +0200

    Don't add a file to the first folder if nothing is selected

 src/brasero-data-disc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/brasero-data-disc.c b/src/brasero-data-disc.c
index 1007c60..9344af2 100644
--- a/src/brasero-data-disc.c
+++ b/src/brasero-data-disc.c
@@ -279,7 +279,7 @@ brasero_data_disc_get_parent (BraseroDataDisc *self)
 	if (g_list_length (list) != 1) {
 		g_list_foreach (list, (GFunc) gtk_tree_path_free, NULL);
 		g_list_free (list);
-		return gtk_tree_path_new_first ();
+		return NULL;
 	}
 
 	treepath = list->data;



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