Revision: 4157 http://geany.svn.sourceforge.net/geany/?rev=4157&view=rev Author: eht16 Date: 2009-09-06 16:49:51 +0000 (Sun, 06 Sep 2009)
Log Message: ----------- Fix a compiler warning.
Modified Paths: -------------- trunk/ChangeLog trunk/src/treeviews.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2009-09-06 16:49:38 UTC (rev 4156) +++ trunk/ChangeLog 2009-09-06 16:49:51 UTC (rev 4157) @@ -8,6 +8,8 @@ * src/prefs.c, src/tagmanager/include/guregex.h, src/tagmanager/include/tm_tagmanager.h: Remove trailing spaces (patch by André Hentschel, thanks). + * src/treeviews.c: + Fix a compiler warning.
2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/treeviews.c =================================================================== --- trunk/src/treeviews.c 2009-09-06 16:49:38 UTC (rev 4156) +++ trunk/src/treeviews.c 2009-09-06 16:49:51 UTC (rev 4157) @@ -774,8 +774,8 @@ event->keyval == GDK_KP_Enter || event->keyval == GDK_space) { + GtkTreeSelection *select = gtk_tree_view_get_selection(GTK_TREE_VIEW(widget)); may_steal_focus = TRUE; - GtkTreeSelection *select = gtk_tree_view_get_selection(GTK_TREE_VIEW(widget)); /* delay the query of selection state because this callback is executed before GTK * changes the selection (g_signal_connect_after would be better but it doesn't work) */ if (widget == tv.tree_openfiles) /* tag and doc list have separate handlers */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.