]> Pileus Git - ~andy/gtk/commit
Bug 553586 – Add orientation API to GtkPaned
authorMichael Natterer <mitch@gimp.org>
Fri, 7 Nov 2008 16:39:50 +0000 (16:39 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 7 Nov 2008 16:39:50 +0000 (16:39 +0000)
commit59f0703855d6066aaef0a4e9b8dd2f2edd3fbdf2
tree2b2722da77749249f22a35c957a1a0ba6945939b
parent3e72ccbcdc75422010100354ac3d226746195626
Bug 553586 – Add orientation API to GtkPaned

2008-11-07  Michael Natterer  <mitch@gimp.org>

Bug 553586 – Add orientation API to GtkPaned

* gtk/gtkpaned.[ch]: implement the GtkOrientable interface
and swallow all code from GtkHPaned and GtkVPaned. Add
gtk_paned_new() which takes a GtkOrientation argument. Deprecate
gtk_paned_compute_position() for good (also for GTK_COMPILATION).

* gtk/gtkhpaned.[ch]
* gtk/gtkvpaned.[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=21772
ChangeLog
gtk/gtk.symbols
gtk/gtkhpaned.c
gtk/gtkhpaned.h
gtk/gtkpaned.c
gtk/gtkpaned.h
gtk/gtkvpaned.c
gtk/gtkvpaned.h