summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2016-08-04 11:26:03 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2016-08-04 11:26:03 +0000
commit16fbf83a79ecd1882817598b74a14c07115a5a2c (patch)
tree9b33850b019c65f9780d9d7cc09df65b9ad6836b /src/main.cpp
parentFix Win32 build (diff)
parentruler: Backport upstream patches (diff)
downloadinkscape-16fbf83a79ecd1882817598b74a14c07115a5a2c.tar.gz
inkscape-16fbf83a79ecd1882817598b74a14c07115a5a2c.zip
End GTK+ 2 support and remove GDL fork
(bzr r15038)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index cd93f2ed3..990909701 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -46,10 +46,8 @@
#include <libxml/tree.h>
-#if GTK_CHECK_VERSION(3,0,0)
#include <gtkmm/cssprovider.h>
#include <gdkmm/screen.h>
-#endif
#include "inkgc/gc-core.h"
@@ -1042,8 +1040,6 @@ sp_main_gui(int argc, char const **argv)
#endif
g_free(usericondir);
-
-#if GTK_CHECK_VERSION(3,0,0)
// Add style sheet (GTK3)
Glib::RefPtr<Gdk::Screen> screen = Gdk::Screen::get_default();
@@ -1100,7 +1096,6 @@ sp_main_gui(int argc, char const **argv)
Gtk::StyleContext::add_provider_for_screen (screen, provider2, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
}
-#endif
gdk_event_handler_set((GdkEventFunc)snooper, NULL, NULL);
Inkscape::Debug::log_display_config();