From 9abd33133650d77714fccf09d0c9ff27c9b75a78 Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Thu, 5 Jul 2012 22:39:08 +0100 Subject: Drop GTK+ 2.20 support. Fixed bugs: - https://launchpad.net/bugs/1020494 (bzr r11529) --- src/interface.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/interface.cpp') 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 #include -#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); -- cgit v1.2.3