From: Andrea Zagli <azagli@libero.it>
Date: Sat, 30 Apr 2011 07:00:19 +0000 (+0200)
Subject: Bugfix from merge.
X-Git-Tag: 0.3.0~5
X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=90600efa2cf1d8a4a58afe53312f7ba6333236f1;p=libgtkform

Bugfix from merge.
---

diff --git a/src/Makefile.am b/src/Makefile.am
index cbf8097..ea9eb53 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,7 +2,7 @@ LIBS = $(GTKFORM_LIBS)
 
 AM_CPPFLAGS = $(GTKFORM_CFLAGS) \
               -DLOCALEDIR=\"$(localedir)\" \
-              -DMODULESDIR=\""$(libdir)/$(PACKAGE)/modules"\"
+              -DMODULESDIR=\""$(libdir)/$(PACKAGE)/modules"\" \
               -DG_LOG_DOMAIN=\"GtkForm\"
 
 lib_LTLIBRARIES = libgtkform.la
diff --git a/src/form.c b/src/form.c
index 0cc2783..868fef4 100644
--- a/src/form.c
+++ b/src/form.c
@@ -574,8 +574,8 @@ gtk_form_load_from_xml (GtkForm *form, xmlDoc *xmldoc, GtkBuilder *gtkbuilder)
 											while (modules != NULL)
 												{
 													if (g_module_symbol ((GModule *)modules->data,
-														g_strconcat ("gtk_form_widget_", type, "_new", NULL),
-														(gpointer *)&widget_constructor))
+														                 g_strconcat ("gtk_form_widget_", type, "_new", NULL),
+														                 (gpointer *)&widget_constructor))
 														{
 															if (widget_constructor != NULL)
 																{