Bug 553765 – Add orientation API to GtkRange
Bug 553765 – Add orientation API to GtkRange

2008-11-11  Michael Natterer  <mitch@imendio.com>

	Bug 553765 – Add orientation API to GtkRange

	* gtk/gtkrange.[ch]: implement the GtkOrientable interface. Add
	evil code that makes sure that the stepper_detail and slider_detail
	set in GtkRangeClass continue to work with the hacked subclasses
	below.

	* gtk/gtkscale.[ch]: swallow all code from GtkHScale and GtkVScale
	and add gtk_scale_new() and gtk_scale_new_with_range() which take
	a GtkOrientation argument. Set slider_detail to "Xscale" so above
	evil code works.

	* gtk/gtkscrollbar.[ch]: add gtk_scrollbar_new() which takes a
	GtkOrientation argument. Set stepper_detail to "Xscrollbar" so
	above evil code works.

	* gtk/gtkhscale.c
	* gtk/gtkvscale.c
	* gtk/gtkhscrollbar.c
	* gtk/gtkvscrollbar.c: remove all code except the constructor and
	call gtk_orientable_set_orientation() in init().

	* gtk/gtk.symbols: changed accordingly.


svn path=/trunk/; revision=21780

ahodesuka/gtk,simokivimaki/gtk,Adamovskiy/gtk,ahodesuka/gtk,chergert/gtk,davidgumberg/gtk,Distrotech/gtk,simokivimaki/gtk,zsx/gtk,Unity-Technologies/gtk,jigpu/gtk,Adamovskiy/gtk,msteinert/gtk,grubersjoe/adwaita,alexlarsson/gtk,jigpu/gtk,Adamovskiy/gtk,Lyude/gtk-,chipx86/gtk,msteinert/gtk,ebassi/gtk,ahodesuka/gtk,zsx/gtk,jigpu/gtk,bratsche/gtk-,Unity-Technologies/gtk,davidgumberg/gtk,davidt/gtk,chipx86/gtk,bratsche/gtk-,bratsche/gtk-,Sidnioulz/SandboxGtk,Lyude/gtk-,johne53/MB3Gtk-2,jadahl/gtk,grubersjoe/adwaita,Distrotech/gtk2,Distrotech/gtk2,jigpu/gtk,bratsche/gtk-,alexlarsson/gtk,jadahl/gtk,jadahl/gtk,nacho/gtk-,Distrotech/gtk,msteinert/gtk,ebassi/gtk,nacho/gtk-,davidgumberg/gtk,Unity-Technologies/gtk,msteinert/gtk,johne53/MB3Gtk-2,Sidnioulz/SandboxGtk,jessevdk/gtk,Distrotech/gtk,jigpu/gtk,Adamovskiy/gtk,johne53/MB3Gtk-2,chipx86/gtk,grubersjoe/adwaita,Sidnioulz/SandboxGtk,Unity-Technologies/gtk,ahodesuka/gtk,nacho/gtk-,jigpu/gtk,davidt/gtk,zsx/gtk,Distrotech/gtk2,alexlarsson/gtk,jadahl/gtk,jadahl/gtk,jadahl/gtk,jessevdk/gtk,Sidnioulz/SandboxGtk,Distrotech/gtk2,ahodesuka/gtk,Sidnioulz/SandboxGtk,davidt/gtk,davidt/gtk,ahodesuka/gtk,ebassi/gtk,johne53/MB3Gtk-2,Unity-Technologies/gtk,chergert/gtk,ahodesuka/gtk,davidt/gtk,jessevdk/gtk,davidgumberg/gtk,Sidnioulz/SandboxGtk,Distrotech/gtk2,Lyude/gtk-,msteinert/gtk,davidgumberg/gtk,jigpu/gtk,chipx86/gtk,jadahl/gtk,Distrotech/gtk2,jessevdk/gtk,bratsche/gtk-,chergert/gtk,grubersjoe/adwaita,Adamovskiy/gtk,chergert/gtk,jadahl/gtk,Adamovskiy/gtk,chergert/gtk,simokivimaki/gtk,alexlarsson/gtk,davidgumberg/gtk,zsx/gtk,Distrotech/gtk,jessevdk/gtk,Lyude/gtk-,chergert/gtk,Distrotech/gtk,alexlarsson/gtk,grubersjoe/adwaita,johne53/MB3Gtk-2,chergert/gtk,alexlarsson/gtk,davidgumberg/gtk,ebassi/gtk,grubersjoe/adwaita,simokivimaki/gtk,grubersjoe/adwaita,bratsche/gtk-,davidt/gtk,ebassi/gtk,alexlarsson/gtk,ahodesuka/gtk,davidgumberg/gtk,nacho/gtk-,jigpu/gtk,chipx86/gtk,grubersjoe/adwaita,msteinert/gtk,Lyude/gtk-,simokivimaki/gtk,Lyude/gtk-,jessevdk/gtk,Lyude/gtk-,jessevdk/gtk,ebassi/gtk,nacho/gtk-,alexlarsson/gtk,chergert/gtk,Adamovskiy/gtk,Lyude/gtk-,Adamovskiy/gtk,zsx/gtk,simokivimaki/gtk