From bba2e4b4de668db525cbfdfc35292e5a0b51671a Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 22 Feb 2024 17:21:11 +0100 Subject: New upstream version 1.46.0 --- src/libnm-core-intern/nm-core-internal.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/libnm-core-intern') diff --git a/src/libnm-core-intern/nm-core-internal.h b/src/libnm-core-intern/nm-core-internal.h index dedc90b2..3903467d 100644 --- a/src/libnm-core-intern/nm-core-internal.h +++ b/src/libnm-core-intern/nm-core-internal.h @@ -800,7 +800,13 @@ struct _NMSettInfoProperty { const NMSettInfoProperty *property_info, NMSetting *setting, const char *src); - } direct_set_fcn; + + /* We implement %NM_VALUE_TYPE_ENUM properties as integer GObject properties + * because using real enum triggers glib assertions when passing newer values to + * clients with old libnm. This defines the enum type that the direct_property of + * type %NM_VALUE_TYPE_ENUM will use. */ + GType enum_gtype; + } direct_data; /* For direct properties, this is the param_spec that also should be * notified on changes. */ -- cgit 1.3.0-6-gf8a5