diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-05-25 18:55:15 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-05-25 18:55:15 -0400 |
commit | b4e2ff3da32ad2b9670ecf33805eb9993824fe0b (patch) | |
tree | dedc3f6b06fe6af1ddc1a92dc4b0956a40d6feec /gtk/gtkseparator.c | |
parent | bd4609b14042a91646cd9057764eecfbc6faf42b (diff) | |
download | gtk+-b4e2ff3da32ad2b9670ecf33805eb9993824fe0b.tar.gz |
Make orientable base classes instantiable
This commit adds constructors for GtkPaned, GtkBox, GtkButtonBox,
GtkRuler, GtkScale, GtkScrollbar and GtkSeparator and makes these
types instantiable.
Diffstat (limited to 'gtk/gtkseparator.c')
-rw-r--r-- | gtk/gtkseparator.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/gtk/gtkseparator.c b/gtk/gtkseparator.c index 74e0e24427..a41dad5317 100644 --- a/gtk/gtkseparator.c +++ b/gtk/gtkseparator.c @@ -74,9 +74,9 @@ static gboolean gtk_separator_expose (GtkWidget *widget, GdkEventExpose *event); -G_DEFINE_ABSTRACT_TYPE_WITH_CODE (GtkSeparator, gtk_separator, GTK_TYPE_WIDGET, - G_IMPLEMENT_INTERFACE (GTK_TYPE_ORIENTABLE, - NULL)) +G_DEFINE_TYPE_WITH_CODE (GtkSeparator, gtk_separator, GTK_TYPE_WIDGET, + G_IMPLEMENT_INTERFACE (GTK_TYPE_ORIENTABLE, + NULL)) static void @@ -247,7 +247,6 @@ gtk_separator_expose (GtkWidget *widget, return FALSE; } -#if 0 /** * gtk_separator_new: * @orientation: the separator's orientation. @@ -256,7 +255,7 @@ gtk_separator_expose (GtkWidget *widget, * * Return value: a new #GtkSeparator. * - * Since: 2.16 + * Since: 3.0 **/ GtkWidget * gtk_separator_new (GtkOrientation orientation) @@ -265,7 +264,6 @@ gtk_separator_new (GtkOrientation orientation) "orientation", orientation, NULL); } -#endif #define __GTK_SEPARATOR_C__ |