gtk+ r21600 - trunk/gtk



Author: timj
Date: Tue Oct  7 09:32:20 2008
New Revision: 21600
URL: http://svn.gnome.org/viewvc/gtk+?rev=21600&view=rev

Log:
gtk/gtkbox.c: fixed type declaration.


Modified:
   trunk/gtk/gtkbox.c

Modified: trunk/gtk/gtkbox.c
==============================================================================
--- trunk/gtk/gtkbox.c	(original)
+++ trunk/gtk/gtkbox.c	Tue Oct  7 09:32:20 2008
@@ -96,13 +96,9 @@
 static GType gtk_box_child_type        (GtkContainer   *container);
 
 
-#if 0
-G_DEFINE_TYPE_WITH_CODE (GtkBox, gtk_box, GTK_TYPE_CONTAINER,
-                         G_IMPLEMENT_INTERFACE (GTK_TYPE_ORIENTABLE,
-                                                NULL));
-#else
-G_DEFINE_ABSTRACT_TYPE (GtkBox, gtk_box, GTK_TYPE_CONTAINER);
-#endif
+G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GtkBox, gtk_box, GTK_TYPE_CONTAINER,
+                                  G_IMPLEMENT_INTERFACE (GTK_TYPE_ORIENTABLE,
+                                                         NULL));
 
 static void
 gtk_box_class_init (GtkBoxClass *class)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]