Skip to content
  • Michael Natterer's avatar
    make the orientation flipping much simpler by using the GtkOrientable · 9da28248
    Michael Natterer authored
    2009-02-19  Michael Natterer  <mitch@imendio.com>
    
    	* gtk/gtkscalebutton.c: make the orientation flipping much simpler
    	by using the GtkOrientable features of the involved widgets:
    
    	(gtk_scale_button_init): create the frame, box and scale here,
    	they never need to be recreated because they implement GtkOrientable.
    
    	(gtk_scale_button_constructor): remove their construction here.
    
    	(gtk_scale_button_set_orientation): don't destroy and re-create
    	anything. Instead, simply set the orientation of the above created
    	widgets and fiddle a bit with the "plus" and "minus" buttons'
    	packing and the scale's "inverted" state.
    
    	Remove separate internal GtkScaleButtonHScale and
    	GtkScaleButtonVScale subclasses and simply have a
    	GtkScaleButtonScale directly inherited from GtkScale.
    
    
    svn path=/trunk/; revision=22375
    9da28248
To find the state of this project's repository at the time of any of these versions, check out the tags.