]> saetta.ns0.it Git - libgtkform/commitdiff
Bugfixes to make GtkFormDecoder starts to work.
authorAndrea Zagli <azagli@libero.it>
Sat, 30 Apr 2011 15:06:17 +0000 (17:06 +0200)
committerAndrea Zagli <azagli@libero.it>
Sat, 30 Apr 2011 15:06:17 +0000 (17:06 +0200)
configure.ac
ui/Makefile.am
ui/gtkformdecoder.c

index da603b4a206c80335fa7899cb17c67266be8c578..006876c3bdfbd51c5648b6012743bd0b5f8dad8e 100644 (file)
@@ -70,6 +70,7 @@ AC_CONFIG_FILES([
   Makefile
   src/Makefile
   ui/Makefile
+  ui/test/Makefile
   test/Makefile
   docs/Makefile
   docs/reference/Makefile
index 54a8f2b8da63f887ab5a7e8ba8e8e1a1152e5cbf..785db8e18fad1c2c649ae1b8185686e3d2751289 100644 (file)
@@ -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) \
index 9ec781a70ef572c98cc0699a1f0c5f921e3e11ff..f3896a3a1dd4f538f4c12e25f1b45afe1a556e63 100644 (file)
@@ -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);