summaryrefslogtreecommitdiffstats
path: root/src/ege-output-action.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-06-23 13:13:45 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-06-23 13:13:45 +0000
commitf943942ebb0639781b3bf6b3c3df3c1782597e6f (patch)
treefd7b4bb0a4bddf7ed72a23437cd3cd2e8b227843 /src/ege-output-action.cpp
parentMigrate to new device pointer API for GTK+ 3 (diff)
downloadinkscape-f943942ebb0639781b3bf6b3c3df3c1782597e6f.tar.gz
inkscape-f943942ebb0639781b3bf6b3c3df3c1782597e6f.zip
Use orientable widgets in GTK+ 3 build
(bzr r11512)
Diffstat (limited to 'src/ege-output-action.cpp')
-rw-r--r--src/ege-output-action.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ege-output-action.cpp b/src/ege-output-action.cpp
index c1a5be694..1b356c55d 100644
--- a/src/ege-output-action.cpp
+++ b/src/ege-output-action.cpp
@@ -193,7 +193,12 @@ GtkWidget* create_tool_item( GtkAction* action )
if ( IS_EGE_OUTPUT_ACTION(action) )
{
GValue value;
+#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
GtkWidget* lbl = 0;
memset( &value, 0, sizeof(value) );