From: Andrea Zagli Date: Sat, 30 Apr 2011 15:06:17 +0000 (+0200) Subject: Bugfixes to make GtkFormDecoder starts to work. X-Git-Tag: 0.3.1~14 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=0b1c99b331b402945fb1d55e59d643bc9f364107;p=libgtkform Bugfixes to make GtkFormDecoder starts to work. --- diff --git a/configure.ac b/configure.ac index da603b4..006876c 100644 --- a/configure.ac +++ b/configure.ac @@ -70,6 +70,7 @@ AC_CONFIG_FILES([ Makefile src/Makefile ui/Makefile + ui/test/Makefile test/Makefile docs/Makefile docs/reference/Makefile diff --git a/ui/Makefile.am b/ui/Makefile.am index 54a8f2b..785db8e 100644 --- a/ui/Makefile.am +++ b/ui/Makefile.am @@ -1,7 +1,13 @@ if GLADEUI -SUBDIRS = glade +GLADEDIR = glade +else +GLADEDIR = endif +SUBDIRS = . \ + test \ + $(GLADEDIR) + AM_CPPFLAGS = $(WARN_CFLAGS) \ $(DISABLE_DEPRECATED_CFLAGS) \ $(GTKFORMUI_CFLAGS) \ diff --git a/ui/gtkformdecoder.c b/ui/gtkformdecoder.c index 9ec781a..f3896a3 100644 --- a/ui/gtkformdecoder.c +++ b/ui/gtkformdecoder.c @@ -27,7 +27,7 @@ enum }; static void gtk_form_decoder_class_init (GtkFormDecoderClass *klass); -static void gtk_form_decoder_init (GtkFormDecoder *date); +static void gtk_form_decoder_init (GtkFormDecoder *decoder); static void gtk_form_decoder_size_request (GtkWidget *widget, GtkRequisition *requisition); @@ -179,7 +179,7 @@ gtk_form_decoder_size_request (GtkWidget *widget, guint border_width; - g_return_if_fail (GTK_IS_DATE_ENTRY (widget)); + g_return_if_fail (GTK_IS_FORM_DECODER (widget)); g_return_if_fail (requisition != NULL); decoder = GTK_FORM_DECODER (widget); @@ -211,7 +211,7 @@ gtk_form_decoder_size_allocate (GtkWidget *widget, guint border_width; - g_return_if_fail (GTK_IS_DATE_ENTRY (widget)); + g_return_if_fail (GTK_IS_FORM_DECODER (widget)); g_return_if_fail (allocation != NULL); decoder = GTK_FORM_DECODER (widget);