From 54d2e49d5598bdf138f0bb66c9e9bc8bba4e8dd0 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Thu, 16 Mar 2023 21:22:02 +0100 Subject: [PATCH] Remove GApplication testing feature Because of various problems with the command line access to inkscape and because of instability with extensions we remove 1777b07bcf46641f325a42619cddff1444a45aec --- src/inkscape-application.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/inkscape-application.cpp b/src/inkscape-application.cpp index 6a9347c949..149f817ed9 100644 --- a/src/inkscape-application.cpp +++ b/src/inkscape-application.cpp @@ -632,19 +632,6 @@ InkscapeApplication::InkscapeApplication() std::cerr << " tag must be ASCII and not start with a number." << std::endl; } non_unique = true; - } else if (Glib::getenv("SELF_CALL") == "") { - // Version protection attempts to refuse to merge with inkscape version - // that have a different build/revision hash. This is important for testing. - auto test_app = Gio::Application::create(app_id, flags); - test_app->register_application(); - if (test_app->get_default()->is_remote()) { - bool enabled; - Glib::VariantBase hint; - if (!test_app->query_action(Inkscape::inkscape_revision(), enabled, hint)) { - Gio::Application::unset_default(); - app_id += "." + Inkscape::inkscape_revision(); - } - } } if (gtk_init_check(nullptr, nullptr)) { -- GitLab