Revision: 1257 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1257&view=re... Author: dimitrov-adrian Date: 2010-04-19 20:21:21 +0000 (Mon, 19 Apr 2010)
Log Message: ----------- Treebrowser: fixed old gio using
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-04-19 19:57:49 UTC (rev 1256) +++ trunk/geany-plugins/treebrowser/ChangeLog 2010-04-19 20:21:21 UTC (rev 1257) @@ -20,10 +20,11 @@ (DONE) Saving state of Showbars in config file everytime where is changed (DONE) oneclick document opening (DONE) filter separating ex.: "*.c;*.cpp;*.h" - * fix possible memory leaks (using g_free... where is need) + * Fix possible memory leaks (using g_free... where is need) * Folowing path from current document view (DONE) Hide object files as native filebroser (*.o;*.a;*.so;*.dll;*.lib..) (DONE) Using font from geany settings for sidebar + * Migrating to stash
+-------------------------------+
Modified: trunk/geany-plugins/treebrowser/src/treebrowser.c =================================================================== --- trunk/geany-plugins/treebrowser/src/treebrowser.c 2010-04-19 19:57:49 UTC (rev 1256) +++ trunk/geany-plugins/treebrowser/src/treebrowser.c 2010-04-19 20:21:21 UTC (rev 1257) @@ -7,10 +7,11 @@ #include <glib.h> #include <glib/gstdio.h>
-#ifdef HAVE_GIO +#ifdef HAVE_GIO_2_0 # include <gio/gio.h> #endif
+#include "geany.h" #include "geanyplugin.h"
/* These items are set by Geany before plugin_init() is called. */ @@ -166,7 +167,7 @@ return TRUE;
#ifdef G_OS_WIN32 -#ifdef HAVE_GIO +#ifdef HAVE_GIO_2_0 GError *error = NULL; GFile *file; GFileInfo *info; @@ -1160,6 +1161,7 @@ CONFIG_ON_DELETE_CLOSE_FILE = utils_get_setting_boolean(config, "treebrowser", "on_delete_close_file", CONFIG_ON_DELETE_CLOSE_FILE);
g_key_file_free(config); + }
static gboolean
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.