connection = g_dbus_method_invocation_get_connection(invocation);
sender = g_dbus_method_invocation_get_sender(invocation);
- debug_error("connection = %p, sender = %s", connection, sender);
+ debug_log("connection = %p, sender = %s", connection, sender);
value = g_dbus_connection_call_sync(connection, "org.freedesktop.DBus", "/org/freedesktop/DBus",
"org.freedesktop.DBus", "GetConnectionUnixProcessID",
g_variant_new("(s)", sender, NULL), NULL, G_DBUS_CALL_FLAGS_NONE, -1, NULL, &err);
if (value) {
g_variant_get(value, "(u)", &pid);
- debug_msg("Sender PID = [%d]", pid);
+ debug_log("Sender PID = [%d]", pid);
g_variant_unref(value);
} else {
debug_error("err code = %d, err msg = %s", err->code, err->message);