Revision: 925 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=925&view=rev Author: yurand Date: 2009-09-10 20:04:49 +0000 (Thu, 10 Sep 2009)
Log Message: ----------- Fixed undefined reference error (based on patch from Enrico Tr?ger
Modified Paths: -------------- trunk/geany-plugins/geanyprj/THANKS trunk/geany-plugins/geanyprj/src/geanyprj.c trunk/geany-plugins/geanyprj/src/geanyprj.h trunk/geany-plugins/geanyprj/src/menu.c trunk/geany-plugins/geanyprj/src/project.c trunk/geany-plugins/geanyprj/src/sidebar.c trunk/geany-plugins/geanyprj/src/utils.c trunk/geany-plugins/geanyprj/src/xproject.c trunk/geany-plugins/geanyprj/tests/unittests.c
Modified: trunk/geany-plugins/geanyprj/THANKS =================================================================== --- trunk/geany-plugins/geanyprj/THANKS 2009-09-10 15:39:59 UTC (rev 924) +++ trunk/geany-plugins/geanyprj/THANKS 2009-09-10 20:04:49 UTC (rev 925) @@ -0,0 +1,7 @@ +What's this file about? +----------------------- +This file lists all external people that have contributed to this project. + +Testers and contributors: +------------------------- +Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de> - Geany IDE author, some patches
Modified: trunk/geany-plugins/geanyprj/src/geanyprj.c =================================================================== --- trunk/geany-plugins/geanyprj/src/geanyprj.c 2009-09-10 15:39:59 UTC (rev 924) +++ trunk/geany-plugins/geanyprj/src/geanyprj.c 2009-09-10 20:04:49 UTC (rev 925) @@ -23,24 +23,13 @@ #include <sys/time.h> #include <string.h>
-#include "geany.h" -#include "support.h" -#include "plugindata.h" -#include "document.h" -#include "filetypes.h" -#include "utils.h" -#include "ui_utils.h" -#include "geanyfunctions.h" - #ifdef HAVE_LOCALE_H # include <locale.h> #endif
-#include "project.h" - #include "geanyprj.h"
-PLUGIN_VERSION_CHECK(115); +PLUGIN_VERSION_CHECK(147); PLUGIN_SET_INFO(_("Project"), _("Alternative project support."), VERSION, _("Yura Siamashka yurand2@gmail.com"));
Modified: trunk/geany-plugins/geanyprj/src/geanyprj.h =================================================================== --- trunk/geany-plugins/geanyprj/src/geanyprj.h 2009-09-10 15:39:59 UTC (rev 924) +++ trunk/geany-plugins/geanyprj/src/geanyprj.h 2009-09-10 20:04:49 UTC (rev 925) @@ -20,6 +20,8 @@ #ifndef __GEANYPRJ_H__ #define __GEANYPRJ_H__
+#include "geanyplugin.h" + #ifdef __GNUC__ # ifdef DEBUG # define debug(format, ...) printf((format), __VA_ARGS__) @@ -62,6 +64,7 @@ GHashTable *tags; ///< project tags };
+extern GeanyFunctions *geany_functions;
extern const gchar *project_type_string[NEW_PROJECT_TYPE_SIZE]; extern void *project_type_filter[NEW_PROJECT_TYPE_SIZE];
Modified: trunk/geany-plugins/geanyprj/src/menu.c =================================================================== --- trunk/geany-plugins/geanyprj/src/menu.c 2009-09-10 15:39:59 UTC (rev 924) +++ trunk/geany-plugins/geanyprj/src/menu.c 2009-09-10 20:04:49 UTC (rev 925) @@ -21,26 +21,11 @@ #include <gdk/gdkkeysyms.h> #include <glib/gstdio.h>
-#include "geany.h" -#include "support.h" -#include "prefs.h" -#include "plugindata.h" -#include "document.h" -#include "filetypes.h" -#include "keybindings.h" -#include "utils.h" -#include "ui_utils.h" -#include "geanyfunctions.h" - -#include "project.h" - #include "geanyprj.h"
PluginFields *plugin_fields; extern GeanyData *geany_data; -extern GeanyFunctions *geany_functions;
- static struct { GtkWidget *new_project;
Modified: trunk/geany-plugins/geanyprj/src/project.c =================================================================== --- trunk/geany-plugins/geanyprj/src/project.c 2009-09-10 15:39:59 UTC (rev 924) +++ trunk/geany-plugins/geanyprj/src/project.c 2009-09-10 20:04:49 UTC (rev 925) @@ -23,17 +23,6 @@ #include <string.h> #include <sys/time.h>
-#include "geany.h" -#include "support.h" -#include "prefs.h" -#include "plugindata.h" -#include "document.h" -#include "filetypes.h" -#include "utils.h" -#include "geanyfunctions.h" - -#include "project.h" - #include "geanyprj.h"
extern GeanyData *geany_data;
Modified: trunk/geany-plugins/geanyprj/src/sidebar.c =================================================================== --- trunk/geany-plugins/geanyprj/src/sidebar.c 2009-09-10 15:39:59 UTC (rev 924) +++ trunk/geany-plugins/geanyprj/src/sidebar.c 2009-09-10 20:04:49 UTC (rev 925) @@ -22,19 +22,6 @@ #include <gdk/gdkkeysyms.h> #include <string.h>
-#include "geany.h" -#include "support.h" -#include "prefs.h" -#include "plugindata.h" -#include "document.h" -#include "filetypes.h" -#include "keybindings.h" -#include "utils.h" -#include "ui_utils.h" -#include "geanyfunctions.h" - -#include "project.h" - #include "geanyprj.h"
extern GeanyData *geany_data;
Modified: trunk/geany-plugins/geanyprj/src/utils.c =================================================================== --- trunk/geany-plugins/geanyprj/src/utils.c 2009-09-10 15:39:59 UTC (rev 924) +++ trunk/geany-plugins/geanyprj/src/utils.c 2009-09-10 20:04:49 UTC (rev 925) @@ -18,10 +18,8 @@ */
#include <string.h> -#include <glib.h>
-#include "geany.h" -#include "utils.h" +#include "geanyprj.h"
gchar * find_file_path(const gchar * dir, const gchar * filename)
Modified: trunk/geany-plugins/geanyprj/src/xproject.c =================================================================== --- trunk/geany-plugins/geanyprj/src/xproject.c 2009-09-10 15:39:59 UTC (rev 924) +++ trunk/geany-plugins/geanyprj/src/xproject.c 2009-09-10 20:04:49 UTC (rev 925) @@ -23,17 +23,6 @@ #include <string.h> #include <sys/time.h>
-#include "geany.h" -#include "support.h" -#include "prefs.h" -#include "plugindata.h" -#include "document.h" -#include "filetypes.h" -#include "utils.h" -#include "geanyfunctions.h" - -#include "project.h" - #include "geanyprj.h"
extern GeanyData *geany_data;
Modified: trunk/geany-plugins/geanyprj/tests/unittests.c =================================================================== --- trunk/geany-plugins/geanyprj/tests/unittests.c 2009-09-10 15:39:59 UTC (rev 924) +++ trunk/geany-plugins/geanyprj/tests/unittests.c 2009-09-10 20:04:49 UTC (rev 925) @@ -8,15 +8,9 @@ #include "geanyprj.h"
+GeanyFunctions *geany_functions = NULL;
-/* FIXME: this function implemented in Geany core, I - don't know how to make it available in unittest */ -int utils_write_file(gchar *a, gchar *b) -{ - return 0; -}
- void file_setup(void) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
plugins-commits@lists.geany.org