diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2012-07-05 21:39:08 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2012-07-05 21:39:08 +0000 |
| commit | 9abd33133650d77714fccf09d0c9ff27c9b75a78 (patch) | |
| tree | e450b556c03d2335a40b85c5945f7ab5b0c8b5e2 /src/interface.cpp | |
| parent | Patch for bug #728081 (Keyboard shortcut - Lock current layer). (diff) | |
| download | inkscape-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.cpp | 12 |
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); |
