libnm-core: fix compile error in set_property_from_dbus() for missing return value

Fixes: 76d9fc9167
This commit is contained in:
Thomas Haller
2015-01-16 13:39:33 +01:00
parent f137d495dc
commit 05212419e1

View File

@@ -665,7 +665,7 @@ set_property_from_dbus (const NMSettingProperty *property,
GVariant *src_value, GVariant *src_value,
GValue *dst_value) GValue *dst_value)
{ {
g_return_if_fail (property->param_spec != NULL); g_return_val_if_fail (property->param_spec != NULL, FALSE);
if (property->from_dbus) { if (property->from_dbus) {
if (!g_variant_type_equal (g_variant_get_type (src_value), property->dbus_type)) if (!g_variant_type_equal (g_variant_get_type (src_value), property->dbus_type))