summaryrefslogtreecommitdiffstats
path: root/src/widgets/desktop-widget.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-06-14 11:29:31 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-06-14 11:29:31 +0000
commitefd257ed4f4ca6f7c3b0175a27eb84e07a8e2aa5 (patch)
tree43c777886ab5c18ca74240e89faeb50562291349 /src/widgets/desktop-widget.cpp
parentWarning cleanup. (diff)
downloadinkscape-efd257ed4f4ca6f7c3b0175a27eb84e07a8e2aa5.tar.gz
inkscape-efd257ed4f4ca6f7c3b0175a27eb84e07a8e2aa5.zip
Drop check for ancient GTK version. Fixes statusbar width issue
Fixed bugs: - https://launchpad.net/bugs/1011332 (bzr r11497)
Diffstat (limited to 'src/widgets/desktop-widget.cpp')
-rw-r--r--src/widgets/desktop-widget.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp
index 7d9008f74..68049dfd1 100644
--- a/src/widgets/desktop-widget.cpp
+++ b/src/widgets/desktop-widget.cpp
@@ -612,9 +612,7 @@ void SPDesktopWidget::init( SPDesktopWidget *dtw )
dtw->select_status_eventbox = gtk_event_box_new ();
dtw->select_status = gtk_label_new (NULL);
-#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION >= 6
gtk_label_set_ellipsize (GTK_LABEL(dtw->select_status), PANGO_ELLIPSIZE_END);
-#endif
gtk_misc_set_alignment (GTK_MISC (dtw->select_status), 0.0, 0.5);
gtk_widget_set_size_request (dtw->select_status, 1, -1);
// display the initial welcome message in the statusbar