Revision: 1307 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1307&view=re... Author: dimitrov-adrian Date: 2010-04-25 18:58:14 +0000 (Sun, 25 Apr 2010)
Log Message: ----------- Treebrowser: fixed crytical warning
Modified Paths: -------------- trunk/geany-plugins/treebrowser/src/treebrowser.c
Modified: trunk/geany-plugins/treebrowser/src/treebrowser.c =================================================================== --- trunk/geany-plugins/treebrowser/src/treebrowser.c 2010-04-25 18:53:59 UTC (rev 1306) +++ trunk/geany-plugins/treebrowser/src/treebrowser.c 2010-04-25 18:58:14 UTC (rev 1307) @@ -257,7 +257,7 @@ return; }
- if (CONFIG_SHOW_BOOKMARKS) + if (CONFIG_SHOW_BOOKMARKS && gtk_tree_store_iter_is_valid(treestore, &bookmarks_iter)) bookmarks_expanded = gtk_tree_view_row_expanded(GTK_TREE_VIEW(treeview), gtk_tree_model_get_path(GTK_TREE_MODEL(treestore), &bookmarks_iter));
gtk_tree_store_clear(treestore);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org