Kaydet (Commit) fe39c708 authored tarafından Nick Treleaven's avatar Nick Treleaven

Fix for C89 compatibility.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1154 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 0e75efdd
......@@ -329,12 +329,13 @@ void treeviews_prepare_openfiles()
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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment