]> Pileus Git - ~andy/gtk/commit
Bug 553573 – Add orientation API to GtkBox
authorMichael Natterer <mitch@imendio.com>
Tue, 7 Oct 2008 07:44:06 +0000 (07:44 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Tue, 7 Oct 2008 07:44:06 +0000 (07:44 +0000)
commit97a9867c9f3f8a20bfef37fc6c9f3af114b4d4c1
tree2922ac39397e82c422c567e405956f3a949ab600
parent8a227df95fd80491e659b5054c4d7faf53d432ac
Bug 553573 – Add orientation API to GtkBox

2008-10-07  Michael Natterer  <mitch@imendio.com>

Bug 553573 – Add orientation API to GtkBox

* gtk/gtkbox.[hh]: implement the GtkOrientable interface and
swallow all code from GtkHBox and GtkVBox. Add gtk_box_new()
which takes a GtkOrientation argument. Also move the newly
added "spacing_set" boolean from struct GtkBox to the new
private struct.

* gtk/gtkhbox.[ch]
* gtk/gtkvbox.[ch]: remove all code except the constructor and
call gtk_orientable_set_orientation() in init().

* gtk/gtk.symbols: add gtk_box_new().

svn path=/trunk/; revision=21596
ChangeLog
gtk/gtk.symbols
gtk/gtkbox.c
gtk/gtkbox.h
gtk/gtkhbox.c
gtk/gtkhbox.h
gtk/gtkvbox.c
gtk/gtkvbox.h