summaryrefslogtreecommitdiffstats
path: root/src/interface.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/interface.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/interface.cpp')
-rw-r--r--src/interface.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/interface.cpp b/src/interface.cpp
index f6b0ebede..c97d84082 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -83,10 +83,6 @@
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
-#if !GTK_CHECK_VERSION(2,22,0)
-#include "compat-key-syms.h"
-#endif
-
using Inkscape::DocumentUndo;
/* Drag and Drop */
@@ -1124,11 +1120,7 @@ sp_ui_drag_data_received(GtkWidget *widget,
//}
if (!consumed && item) {
-#if GTK_CHECK_VERSION (2, 22, 0)
bool fillnotstroke = (gdk_drag_context_get_actions (drag_context) != GDK_ACTION_MOVE);
-#else
- bool fillnotstroke = (drag_context->action != GDK_ACTION_MOVE);
-#endif
if (fillnotstroke &&
(SP_IS_SHAPE(item) || SP_IS_TEXT(item) || SP_IS_FLOWTEXT(item))) {
Path *livarot_path = Path_for_item(item, true, true);
@@ -1231,11 +1223,7 @@ sp_ui_drag_data_received(GtkWidget *widget,
}
if (!consumed && item) {
-#if GTK_CHECK_VERSION (2, 22, 0)
bool fillnotstroke = (gdk_drag_context_get_actions (drag_context) != GDK_ACTION_MOVE);
-#else
- bool fillnotstroke = (drag_context->action != GDK_ACTION_MOVE);
-#endif
if (fillnotstroke &&
(SP_IS_SHAPE(item) || SP_IS_TEXT(item) || SP_IS_FLOWTEXT(item))) {
Path *livarot_path = Path_for_item(item, true, true);