mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-23 17:38:54 +02:00
gdbus: Use symbolic constants for various references to the message bus
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Philip Withnall
parent
19223803f5
commit
131a061aca
@@ -344,9 +344,9 @@ on_name_owner_changed (GDBusConnection *connection,
|
||||
if (!client->initialized)
|
||||
goto out;
|
||||
|
||||
if (g_strcmp0 (object_path, "/org/freedesktop/DBus") != 0 ||
|
||||
g_strcmp0 (interface_name, "org.freedesktop.DBus") != 0 ||
|
||||
g_strcmp0 (sender_name, "org.freedesktop.DBus") != 0)
|
||||
if (g_strcmp0 (object_path, DBUS_PATH_DBUS) != 0 ||
|
||||
g_strcmp0 (interface_name, DBUS_INTERFACE_DBUS) != 0 ||
|
||||
g_strcmp0 (sender_name, DBUS_SERVICE_DBUS) != 0)
|
||||
goto out;
|
||||
|
||||
g_variant_get (parameters,
|
||||
|
Reference in New Issue
Block a user