diff options
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__ |