brasero r1198 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1198 - in trunk: . src
- Date: Thu, 28 Aug 2008 12:36:40 +0000 (UTC)
Author: philippr
Date: Thu Aug 28 12:36:40 2008
New Revision: 1198
URL: http://svn.gnome.org/viewvc/brasero?rev=1198&view=rev
Log:
Fix #549492 â crash after creating new project
* src/brasero-data-tree-model.c (brasero_data_tree_model_get_iter):
Modified:
trunk/ChangeLog
trunk/src/brasero-data-tree-model.c
Modified: trunk/src/brasero-data-tree-model.c
==============================================================================
--- trunk/src/brasero-data-tree-model.c (original)
+++ trunk/src/brasero-data-tree-model.c Thu Aug 28 12:36:40 2008
@@ -753,6 +753,10 @@
depth = gtk_tree_path_get_depth (path);
root = brasero_data_project_get_root (BRASERO_DATA_PROJECT (model));
+ /* NOTE: if we're in reset, then root won't exist anymore */
+ if (!root)
+ return FALSE;
+
node = brasero_file_node_nth_child (root, indices [0]);
if (!node)
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]