From: rwst Date: Sun, 29 Jan 2006 09:49:54 +0000 (+0000) Subject: use alternative form of Gtk version check, X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=083019a06eddd168409cffb43567353f0604b854;p=inkscape.git use alternative form of Gtk version check, trying to remove compile error on test box --- 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 #include #include +#include #include "macros.h" #include "path-prefix.h" @@ -1157,7 +1158,7 @@ EditWidget::initStatusbar() _select_status.property_yalign() = 0.5; _select_status.set_markup (_("Welcome to Inkscape! 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);