summaryrefslogtreecommitdiffstats
path: root/src/widgets/desktop-widget.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2012-07-05 21:39:08 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2012-07-05 21:39:08 +0000
commit9abd33133650d77714fccf09d0c9ff27c9b75a78 (patch)
treee450b556c03d2335a40b85c5945f7ab5b0c8b5e2 /src/widgets/desktop-widget.cpp
parentPatch for bug #728081 (Keyboard shortcut - Lock current layer). (diff)
downloadinkscape-9abd33133650d77714fccf09d0c9ff27c9b75a78.tar.gz
inkscape-9abd33133650d77714fccf09d0c9ff27c9b75a78.zip
Drop GTK+ 2.20 support.
Fixed bugs: - https://launchpad.net/bugs/1020494 (bzr r11529)
Diffstat (limited to 'src/widgets/desktop-widget.cpp')
-rw-r--r--src/widgets/desktop-widget.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/widgets/desktop-widget.cpp b/src/widgets/desktop-widget.cpp
index 5bc367fe5..50c87a9a8 100644
--- a/src/widgets/desktop-widget.cpp
+++ b/src/widgets/desktop-widget.cpp
@@ -973,15 +973,10 @@ SPDesktopWidget::shutdown()
"If you close without saving, your changes will be discarded."),
doc->getName());
// fix for bug lp:168809
-#if GTK_CHECK_VERSION(2,22,0)
GtkWidget *ma = gtk_message_dialog_get_message_area(GTK_MESSAGE_DIALOG(dialog));
GList *ma_labels = gtk_container_get_children(GTK_CONTAINER(ma));
GtkWidget *label = GTK_WIDGET(g_list_first(ma_labels)->data);
gtk_widget_set_can_focus(label, FALSE);
-#elif !defined(GSEAL_ENABLE)
- GtkWidget *label = GTK_WIDGET(GTK_MESSAGE_DIALOG(dialog)->label);
- gtk_widget_set_can_focus(label, FALSE);
-#endif
GtkWidget *close_button;
close_button = gtk_button_new_with_mnemonic(_("Close _without saving"));
@@ -1037,15 +1032,10 @@ SPDesktopWidget::shutdown()
"Do you want to save this file as Inkscape SVG?"),
doc->getName() ? doc->getName() : "Unnamed");
// fix for bug lp:168809
-#if GTK_CHECK_VERSION(2,22,0)
GtkWidget *ma = gtk_message_dialog_get_message_area(GTK_MESSAGE_DIALOG(dialog));
GList *ma_labels = gtk_container_get_children(GTK_CONTAINER(ma));
GtkWidget *label = GTK_WIDGET(g_list_first(ma_labels)->data);
gtk_widget_set_can_focus(label, FALSE);
-#elif !defined(GSEAL_ENABLE)
- GtkWidget *label = GTK_WIDGET(GTK_MESSAGE_DIALOG(dialog)->label);
- gtk_widget_set_can_focus(label, FALSE);
-#endif
GtkWidget *close_button;
close_button = gtk_button_new_with_mnemonic(_("Close _without saving"));