From 9a34c46a626e37b37769a5992e49d94d008b22cb Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Mon, 9 Apr 2012 20:06:13 +0100 Subject: ege-adjustment-action: Get rid of GtkHBox (bzr r11199) --- src/ege-adjustment-action.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/ege-adjustment-action.cpp b/src/ege-adjustment-action.cpp index 49f899372..7497b0497 100644 --- a/src/ege-adjustment-action.cpp +++ b/src/ege-adjustment-action.cpp @@ -815,7 +815,12 @@ static GtkWidget* create_tool_item( GtkAction* action ) if ( IS_EGE_ADJUSTMENT_ACTION(action) ) { EgeAdjustmentAction* act = EGE_ADJUSTMENT_ACTION( action ); GtkWidget* spinbutton = 0; +#if GTK_CHECK_VERSION(3,0,0) + GtkWidget* hb = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 5); + gtk_box_set_homogeneous(GTK_BOX(hb), FALSE); +#else GtkWidget* hb = gtk_hbox_new( FALSE, 5 ); +#endif GValue value; memset( &value, 0, sizeof(value) ); g_value_init( &value, G_TYPE_STRING ); -- cgit v1.2.3