SF.net SVN: geany-plugins:[1195] trunk/geany-plugins/treebrowser

dimitrov-adrian at users.sourceforge.net dimitrov-adrian at xxxxx
Sun Mar 21 11:12:31 UTC 2010


Revision: 1195
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1195&view=rev
Author:   dimitrov-adrian
Date:     2010-03-21 11:12:31 +0000 (Sun, 21 Mar 2010)

Log Message:
-----------
Treebrowser, fixed possible segfault onstart.

Modified Paths:
--------------
    trunk/geany-plugins/treebrowser/ChangeLog
    trunk/geany-plugins/treebrowser/src/treebrowser.c

Modified: trunk/geany-plugins/treebrowser/ChangeLog
===================================================================
--- trunk/geany-plugins/treebrowser/ChangeLog	2010-03-21 08:26:45 UTC (rev 1194)
+++ trunk/geany-plugins/treebrowser/ChangeLog	2010-03-21 11:12:31 UTC (rev 1195)
@@ -5,6 +5,7 @@
 	* src/treebrowser.c
 		fix few compile warnings with glib and unused vars
 		now directory is open when it click filling for first time
+		fixed possible segfault on start
 
 
 20-03-2010 	Adrian Dimitrov 	<dimitrov.adrian at gmail.com>

Modified: trunk/geany-plugins/treebrowser/src/treebrowser.c
===================================================================
--- trunk/geany-plugins/treebrowser/src/treebrowser.c	2010-03-21 08:26:45 UTC (rev 1194)
+++ trunk/geany-plugins/treebrowser/src/treebrowser.c	2010-03-21 11:12:31 UTC (rev 1195)
@@ -36,7 +36,7 @@
 static gboolean 			CONFIG_SHOW_HIDDEN_FILES 	= FALSE;
 static gboolean 			CONFIG_SHOW_BARS			= TRUE;
 static gboolean 			CONFIG_CHROOT_ON_DCLICK		= FALSE;
-static gboolean 			CONFIG_FOLLOW_CURRENT_DOC 	= FALSE;
+static gboolean 			CONFIG_FOLLOW_CURRENT_DOC 	= TRUE;
 
 
 /* ------------------
@@ -732,7 +732,7 @@
 treebrowser_track_current_cb(void)
 {
 	if (CONFIG_FOLLOW_CURRENT_DOC)
-		treebrowser_track_current_cb();
+		treebrowser_track_current();
 }
 
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list