mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gdbus: Move protocol constants from gdbusdaemon into gdbusprivate.h
These well-known flags and replies are part of the D-Bus Specification, and also exist with the same names in libdbus header files. Moving them into a private header means that unit tests like gdbus-proxy-threads and gdbus-subscribe don't have to reinvent them. Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
committed by
Philip Withnall
parent
b0e8612a3b
commit
7401577074
@@ -1563,8 +1563,8 @@ async_init_start_service_by_name_cb (GDBusConnection *connection,
|
||||
"(u)",
|
||||
&start_service_result);
|
||||
g_variant_unref (result);
|
||||
if (start_service_result == 1 || /* DBUS_START_REPLY_SUCCESS */
|
||||
start_service_result == 2) /* DBUS_START_REPLY_ALREADY_RUNNING */
|
||||
if (start_service_result == DBUS_START_REPLY_SUCCESS ||
|
||||
start_service_result == DBUS_START_REPLY_ALREADY_RUNNING)
|
||||
{
|
||||
/* continue to invoke GetNameOwner() */
|
||||
}
|
||||
|
Reference in New Issue
Block a user