Revision: 2129 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2129&view=re... Author: colombanw Date: 2011-08-13 15:05:45 +0000 (Sat, 13 Aug 2011)
Log Message: ----------- Properly include config.h as needed
Geany used to have a bug with the side effect of including config.h implicitly. Now this bug is fixed, but it breaks code relying on this side effect.
Modified Paths: -------------- trunk/geany-plugins/geanygendoc/src/ggd-file-type-loader.c trunk/geany-plugins/geanygendoc/src/ggd-file-type-manager.c trunk/geany-plugins/geanygendoc/src/ggd-plugin.c trunk/geany-plugins/geanygendoc/src/ggd-tag-utils.c trunk/geany-plugins/geanygendoc/src/ggd-utils.c trunk/geany-plugins/geanygendoc/src/ggd-widget-doctype-selector.c trunk/geany-plugins/geanygendoc/src/ggd.c
Modified: trunk/geany-plugins/geanygendoc/src/ggd-file-type-loader.c =================================================================== --- trunk/geany-plugins/geanygendoc/src/ggd-file-type-loader.c 2011-08-07 15:11:37 UTC (rev 2128) +++ trunk/geany-plugins/geanygendoc/src/ggd-file-type-loader.c 2011-08-13 15:05:45 UTC (rev 2129) @@ -24,6 +24,10 @@ */
+#ifdef HAVE_CONFIG_H +# include "config.h" /* for the gettext domain */ +#endif + #include "ggd-file-type-loader.h"
#include <string.h>
Modified: trunk/geany-plugins/geanygendoc/src/ggd-file-type-manager.c =================================================================== --- trunk/geany-plugins/geanygendoc/src/ggd-file-type-manager.c 2011-08-07 15:11:37 UTC (rev 2128) +++ trunk/geany-plugins/geanygendoc/src/ggd-file-type-manager.c 2011-08-13 15:05:45 UTC (rev 2129) @@ -19,6 +19,10 @@ */
+#ifdef HAVE_CONFIG_H +# include "config.h" /* for the gettext domain */ +#endif + #include "ggd-file-type-manager.h"
#include <glib.h>
Modified: trunk/geany-plugins/geanygendoc/src/ggd-plugin.c =================================================================== --- trunk/geany-plugins/geanygendoc/src/ggd-plugin.c 2011-08-07 15:11:37 UTC (rev 2128) +++ trunk/geany-plugins/geanygendoc/src/ggd-plugin.c 2011-08-13 15:05:45 UTC (rev 2129) @@ -18,6 +18,10 @@ * */
+#ifdef HAVE_CONFIG_H +# include "config.h" /* for the gettext domain */ +#endif + #include "ggd-plugin.h"
#include <glib.h>
Modified: trunk/geany-plugins/geanygendoc/src/ggd-tag-utils.c =================================================================== --- trunk/geany-plugins/geanygendoc/src/ggd-tag-utils.c 2011-08-07 15:11:37 UTC (rev 2128) +++ trunk/geany-plugins/geanygendoc/src/ggd-tag-utils.c 2011-08-13 15:05:45 UTC (rev 2129) @@ -19,6 +19,10 @@ */
+#ifdef HAVE_CONFIG_H +# include "config.h" /* for the gettext domain */ +#endif + #include "ggd-tag-utils.h"
#include <geanyplugin.h>
Modified: trunk/geany-plugins/geanygendoc/src/ggd-utils.c =================================================================== --- trunk/geany-plugins/geanygendoc/src/ggd-utils.c 2011-08-07 15:11:37 UTC (rev 2128) +++ trunk/geany-plugins/geanygendoc/src/ggd-utils.c 2011-08-13 15:05:45 UTC (rev 2129) @@ -19,6 +19,10 @@ */
+#ifdef HAVE_CONFIG_H +# include "config.h" /* for the gettext domain */ +#endif + #include "ggd-utils.h"
#include <sys/types.h>
Modified: trunk/geany-plugins/geanygendoc/src/ggd-widget-doctype-selector.c =================================================================== --- trunk/geany-plugins/geanygendoc/src/ggd-widget-doctype-selector.c 2011-08-07 15:11:37 UTC (rev 2128) +++ trunk/geany-plugins/geanygendoc/src/ggd-widget-doctype-selector.c 2011-08-13 15:05:45 UTC (rev 2129) @@ -18,6 +18,10 @@ * */
+#ifdef HAVE_CONFIG_H +# include "config.h" /* for the gettext domain */ +#endif + #include "ggd-widget-doctype-selector.h"
#include <gtk/gtk.h>
Modified: trunk/geany-plugins/geanygendoc/src/ggd.c =================================================================== --- trunk/geany-plugins/geanygendoc/src/ggd.c 2011-08-07 15:11:37 UTC (rev 2128) +++ trunk/geany-plugins/geanygendoc/src/ggd.c 2011-08-13 15:05:45 UTC (rev 2129) @@ -18,6 +18,10 @@ * */
+#ifdef HAVE_CONFIG_H +# include "config.h" /* for the gettext domain */ +#endif + #include "ggd.h"
#include <string.h>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.