From 54fbbb1a2384bdc25dede3f1e0dc84a04d01a5b8 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Fri, 25 Sep 2020 15:13:01 +0200 Subject: [PATCH] InstanceCheck: typo in DBus function name --- src/slic3r/GUI/InstanceCheck.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/slic3r/GUI/InstanceCheck.cpp b/src/slic3r/GUI/InstanceCheck.cpp index cabae3dd5..bbce1ed2c 100644 --- a/src/slic3r/GUI/InstanceCheck.cpp +++ b/src/slic3r/GUI/InstanceCheck.cpp @@ -173,7 +173,7 @@ namespace instance_check_internal const char* sigval = message_text.c_str(); //std::string interface_name = "com.prusa3d.prusaslicer.InstanceCheck"; std::string interface_name = "com.prusa3d.prusaslicer.InstanceCheck.Object" + version; - std::string method_name = "AnotherInstace"; + std::string method_name = "AnotherInstance"; //std::string object_name = "/com/prusa3d/prusaslicer/InstanceCheck"; std::string object_name = "/com/prusa3d/prusaslicer/InstanceCheck/Object" + version; @@ -203,7 +203,7 @@ namespace instance_check_internal dbus_connection_unref(conn); return true; } - //the AnotherInstace method is not sending reply. + //the AnotherInstance method is not sending reply. dbus_message_set_no_reply(msg, TRUE); //append arguments to message @@ -424,7 +424,7 @@ namespace MessageHandlerDBusInternal " " " " " " - " " + " " " " " " " " @@ -466,7 +466,7 @@ namespace MessageHandlerDBusInternal if (0 == strcmp("org.freedesktop.DBus.Introspectable", interface_name) && 0 == strcmp("Introspect", member_name)) { respond_to_introspect(connection, message); return DBUS_HANDLER_RESULT_HANDLED; - } else if (0 == strcmp(our_interface.c_str(), interface_name) && 0 == strcmp("AnotherInstace", member_name)) { + } else if (0 == strcmp(our_interface.c_str(), interface_name) && 0 == strcmp("AnotherInstance", member_name)) { handle_method_another_instance(connection, message); return DBUS_HANDLER_RESULT_HANDLED; }