summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
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 1cfcc57fc..28bdf8359 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();