Revision: 2202 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2202&view=re... Author: techet Date: 2011-09-18 13:27:39 +0000 (Sun, 18 Sep 2011) Log Message: ----------- Eliminate some compiler warnings
Modified Paths: -------------- trunk/geany-plugins/gproject/src/gproject-sidebar.c trunk/geany-plugins/gproject/src/gproject-utils.c
Modified: trunk/geany-plugins/gproject/src/gproject-sidebar.c =================================================================== --- trunk/geany-plugins/gproject/src/gproject-sidebar.c 2011-09-18 12:03:57 UTC (rev 2201) +++ trunk/geany-plugins/gproject/src/gproject-sidebar.c 2011-09-18 13:27:39 UTC (rev 2202) @@ -526,7 +526,6 @@ GSList *lst = NULL; GSList *path_list = NULL; GSList *elem, *header_patterns, *source_patterns; - GtkTreeModel *model;
gtk_tree_store_clear(s_file_store);
@@ -547,8 +546,6 @@ path_list = g_slist_prepend(path_list, path_split); }
- model = GTK_TREE_MODEL(s_file_store); - if (path_list != NULL) create_branch(0, path_list, NULL, header_patterns, source_patterns); else
Modified: trunk/geany-plugins/gproject/src/gproject-utils.c =================================================================== --- trunk/geany-plugins/gproject/src/gproject-utils.c 2011-09-18 12:03:57 UTC (rev 2201) +++ trunk/geany-plugins/gproject/src/gproject-utils.c 2011-09-18 13:27:39 UTC (rev 2202) @@ -138,7 +138,10 @@ doc = document_find_by_filename(utf8_name);
if (!doc) - doc = document_open_file(name, FALSE, NULL, NULL); + { +// doc = document_open_file(name, FALSE, NULL, NULL); + document_open_file(name, FALSE, NULL, NULL); + } else { GtkNotebook *notebook;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.