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/gtkscrollbar.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/gtkscrollbar.c')
-rw-r--r-- | gtk/gtkscrollbar.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/gtkscrollbar.c b/gtk/gtkscrollbar.c index 634b33791f..6bd2f6150e 100644 --- a/gtk/gtkscrollbar.c +++ b/gtk/gtkscrollbar.c @@ -35,7 +35,7 @@ static void gtk_scrollbar_style_set (GtkWidget *widget, GtkStyle *previous); -G_DEFINE_ABSTRACT_TYPE (GtkScrollbar, gtk_scrollbar, GTK_TYPE_RANGE) +G_DEFINE_TYPE (GtkScrollbar, gtk_scrollbar, GTK_TYPE_RANGE) static void gtk_scrollbar_class_init (GtkScrollbarClass *class) @@ -125,7 +125,6 @@ gtk_scrollbar_style_set (GtkWidget *widget, GTK_WIDGET_CLASS (gtk_scrollbar_parent_class)->style_set (widget, previous); } -#if 0 /** * gtk_scrollbar_new: * @orientation: the scrollbar's orientation. @@ -135,7 +134,7 @@ gtk_scrollbar_style_set (GtkWidget *widget, * * Return value: the new #GtkScrollbar. * - * Since: 2.16 + * Since: 3.0 **/ GtkWidget * gtk_scrollbar_new (GtkOrientation orientation, @@ -149,7 +148,6 @@ gtk_scrollbar_new (GtkOrientation orientation, "adjustment", adjustment, NULL); } -#endif #define __GTK_SCROLLBAR_C__ |