Revision: 1154 http://svn.sourceforge.net/geany/?rev=1154&view=rev Author: ntrel Date: 2007-01-03 04:50:57 -0800 (Wed, 03 Jan 2007)
Log Message: ----------- Fix for C89 compatibility.
Modified Paths: -------------- trunk/src/treeviews.c
Modified: trunk/src/treeviews.c =================================================================== --- trunk/src/treeviews.c 2007-01-03 12:41:10 UTC (rev 1153) +++ trunk/src/treeviews.c 2007-01-03 12:50:57 UTC (rev 1154) @@ -329,12 +329,13 @@ void treeviews_openfiles_add(gint idx) { GtkTreeIter *iter = &doc_list[idx].iter; + GtkTreeSelection *sel;
gtk_list_store_append(tv.store_openfiles, iter); treeviews_openfiles_update(idx);
// select opened file - GtkTreeSelection *sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(tv.tree_openfiles)); + sel = gtk_tree_view_get_selection(GTK_TREE_VIEW(tv.tree_openfiles)); gtk_tree_selection_select_iter(sel, iter); }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.