diff options
author | Michael Natterer <mitch@imendio.com> | 2008-09-30 14:20:30 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-09-30 14:20:30 +0000 |
commit | 2f6285597f8b5859a3f565f63a24bad59d261a55 (patch) | |
tree | 35f70a0c4d18cb2e136cb501e3afabc3e6cba60a /gtk/gtkseparator.h | |
parent | 1d7c1e13e86001104ffddd0b750247dc4dfc4e46 (diff) | |
download | gtk+-2f6285597f8b5859a3f565f63a24bad59d261a55.tar.gz |
Bug 553582 – Add orientation API to GtkSeparator
2008-09-30 Michael Natterer <mitch@imendio.com>
Bug 553582 – Add orientation API to GtkSeparator
* gtk/gtkseparator.[ch]: implement the GtkOrientable interface and
swallow all code from GtkHSeparator and GtkVSeparator. Add
gtk_separator_new() which takes a GtkOrientation argument.
* gtk/gtkhseparator.c
* gtk/gtkvseparator.c: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().
* gtk/gtk.symbols: add gtk_separator_new().
svn path=/trunk/; revision=21553
Diffstat (limited to 'gtk/gtkseparator.h')
-rw-r--r-- | gtk/gtkseparator.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkseparator.h b/gtk/gtkseparator.h index b6400f9a40..ac0f9d894e 100644 --- a/gtk/gtkseparator.h +++ b/gtk/gtkseparator.h @@ -46,7 +46,6 @@ G_BEGIN_DECLS #define GTK_SEPARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEPARATOR, GtkSeparatorClass)) - typedef struct _GtkSeparator GtkSeparator; typedef struct _GtkSeparatorClass GtkSeparatorClass; @@ -61,8 +60,8 @@ struct _GtkSeparatorClass }; -GType gtk_separator_get_type (void) G_GNUC_CONST; - +GType gtk_separator_get_type (void) G_GNUC_CONST; +GtkWidget * gtk_separator_new (GtkOrientation orientation); G_END_DECLS |