diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-04-09 19:06:13 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@googlemail.com> | 2012-04-09 19:06:13 +0000 |
| commit | 9a34c46a626e37b37769a5992e49d94d008b22cb (patch) | |
| tree | 6dc8ea50c854200cc3e7bceae0f513701b8df5a9 /src | |
| parent | Translations. Updating the files list and translation template. (diff) | |
| download | inkscape-9a34c46a626e37b37769a5992e49d94d008b22cb.tar.gz inkscape-9a34c46a626e37b37769a5992e49d94d008b22cb.zip | |
ege-adjustment-action: Get rid of GtkHBox
(bzr r11199)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ege-adjustment-action.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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 ); |
