mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
gdbus(1): Don't fetch props if introspection data indicates none are available
Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -1047,7 +1047,7 @@ dump_interface (GDBusConnection *c,
|
||||
(GDestroyNotify) g_variant_unref);
|
||||
|
||||
/* Try to get properties */
|
||||
if (c != NULL && name != NULL && object_path != NULL)
|
||||
if (c != NULL && name != NULL && object_path != NULL && o->properties != NULL)
|
||||
{
|
||||
GVariant *result;
|
||||
result = g_dbus_connection_call_sync (c,
|
||||
|
Reference in New Issue
Block a user