mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 06:32:10 +01: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:
parent
98e4f7f6fb
commit
a621e0ed10
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user