summaryrefslogtreecommitdiffstats
path: root/src/ui/view/edit-widget.cpp
diff options
context:
space:
mode:
authorRalf Stephan <ralf@ark.in-berlin.de>2006-01-29 09:49:54 +0000
committerrwst <rwst@users.sourceforge.net>2006-01-29 09:49:54 +0000
commit08f4ba4b0565d57465c23444f45ff558bfcb419e (patch)
tree91e19b073cd70c5653b6b6f2647ef84279decfb0 /src/ui/view/edit-widget.cpp
parentremoving debug command from previous commit (diff)
downloadinkscape-08f4ba4b0565d57465c23444f45ff558bfcb419e.tar.gz
inkscape-08f4ba4b0565d57465c23444f45ff558bfcb419e.zip
use alternative form of Gtk version check,
trying to remove compile error on test box (bzr r43)
Diffstat (limited to 'src/ui/view/edit-widget.cpp')
-rw-r--r--src/ui/view/edit-widget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/view/edit-widget.cpp b/src/ui/view/edit-widget.cpp
index b86a5d3f9..71838c577 100644
--- a/src/ui/view/edit-widget.cpp
+++ b/src/ui/view/edit-widget.cpp
@@ -35,6 +35,7 @@
#include <gtkmm/stock.h>
#include <gtkmm/accelmap.h>
#include <gtkmm/separator.h>
+#include <gtkmm/base.h>
#include "macros.h"
#include "path-prefix.h"
@@ -1157,7 +1158,7 @@ EditWidget::initStatusbar()
_select_status.property_yalign() = 0.5;
_select_status.set_markup (_("<b>Welcome to Inkscape!</b> Use shape or freehand tools to create objects; use selector (arrow) to move or transform them."));
// include this again with Gtk+-2.6
-#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION >= 6
+#if GTK_VERSION_GE(2,6)
_select_status.property_ellipsize() = Pango::ELLIPSIZE_END;
#endif
_select_status.set_size_request (1, -1);