mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-30 13:53:30 +02:00
gdbusproxy: Add G_DBUS_DEBUG=proxy support
(Turned into a merge request by Philip Withnall; unmodified from original patch on https://bugzilla.gnome.org/show_bug.cgi?id=654905.) https://gitlab.gnome.org/GNOME/glib/issues/424
This commit is contained in:
committed by
Philip Withnall
parent
aa3f7eaac7
commit
cd7bba985e
@@ -1235,11 +1235,14 @@ on_name_owner_changed_get_all_cb (GDBusConnection *connection,
|
||||
*
|
||||
* Either way, apps can know about this by using
|
||||
* get_cached_property_names() or get_cached_property().
|
||||
*
|
||||
* TODO: handle G_DBUS_DEBUG flag 'proxy' and, if enabled, log the
|
||||
* fact that GetAll() failed
|
||||
*/
|
||||
//g_debug ("error: %d %d %s", error->domain, error->code, error->message);
|
||||
if (G_UNLIKELY (_g_dbus_debug_proxy ()))
|
||||
{
|
||||
g_debug ("error: %d %d %s",
|
||||
error->domain,
|
||||
error->code,
|
||||
error->message);
|
||||
}
|
||||
g_error_free (error);
|
||||
}
|
||||
|
||||
@@ -1432,11 +1435,14 @@ async_init_get_all_cb (GDBusConnection *connection,
|
||||
*
|
||||
* Either way, apps can know about this by using
|
||||
* get_cached_property_names() or get_cached_property().
|
||||
*
|
||||
* TODO: handle G_DBUS_DEBUG flag 'proxy' and, if enabled, log the
|
||||
* fact that GetAll() failed
|
||||
*/
|
||||
//g_debug ("error: %d %d %s", error->domain, error->code, error->message);
|
||||
if (G_UNLIKELY (_g_dbus_debug_proxy ()))
|
||||
{
|
||||
g_debug ("error: %d %d %s",
|
||||
error->domain,
|
||||
error->code,
|
||||
error->message);
|
||||
}
|
||||
g_error_free (error);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user