SF.net SVN: geany:[4243] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Sun Sep 27 13:41:08 UTC 2009
Revision: 4243
http://geany.svn.sourceforge.net/geany/?rev=4243&view=rev
Author: ntrel
Date: 2009-09-27 13:41:08 +0000 (Sun, 27 Sep 2009)
Log Message:
-----------
Don't build pluginutils.o if HAVE_PLUGINS is not defined.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/pluginutils.c
trunk/src/pluginutils.h
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-09-27 12:06:08 UTC (rev 4242)
+++ trunk/ChangeLog 2009-09-27 13:41:08 UTC (rev 4243)
@@ -13,6 +13,8 @@
multiple-configure dialog as a page with a configure button on it.
Add padding for multiple-configure dialog.
Make the multiple-configure dialog notebook tabs scrollable.
+ * src/pluginutils.c, src/pluginutils.h:
+ Don't build pluginutils.o if HAVE_PLUGINS is not defined.
2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
@@ -22,7 +24,7 @@
to allow setting the used language in embedded ASP code
(patch by Ross McKay, thanks).
* src/filetypes.xml:
- Update VBScrpt keywords (patch by Ross McKay, thanks).
+ Update VBScript keywords (patch by Ross McKay, thanks).
2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/pluginutils.c
===================================================================
--- trunk/src/pluginutils.c 2009-09-27 12:06:08 UTC (rev 4242)
+++ trunk/src/pluginutils.c 2009-09-27 13:41:08 UTC (rev 4243)
@@ -28,6 +28,8 @@
#include "geany.h"
+#ifdef HAVE_PLUGINS
+
#include "pluginutils.h"
#include "pluginprivate.h"
@@ -146,3 +148,4 @@
}
+#endif
Modified: trunk/src/pluginutils.h
===================================================================
--- trunk/src/pluginutils.h 2009-09-27 12:06:08 UTC (rev 4242)
+++ trunk/src/pluginutils.h 2009-09-27 13:41:08 UTC (rev 4243)
@@ -26,6 +26,8 @@
#ifndef PLUGINUTILS_H
#define PLUGINUTILS_H
+#ifdef HAVE_PLUGINS
+
#include "plugindata.h" /* GeanyPlugin */
#include "keybindings.h" /* GeanyKeyGroupCallback */
@@ -41,4 +43,5 @@
struct GeanyKeyGroup *plugin_set_key_group(GeanyPlugin *plugin,
const gchar *section_name, gsize count, GeanyKeyGroupCallback callback);
+#endif /* HAVE_PLUGINS */
#endif /* PLUGINUTILS_H */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list