From f15fd1e50476b2da1d6be60eac9e87c7d9ed8992 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Wed, 24 May 2017 06:44:45 +0200 Subject: [PATCH] clients: fix meta setting descriptor for connection.autoconnect-slaves Don't specify .get_gtype for properties of enum type. https://bugzilla.redhat.com/show_bug.cgi?id=1455061 Fixes: c55561d3039138a2857b67d3f651ed8f0c553d9b --- clients/common/nm-meta-setting-desc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clients/common/nm-meta-setting-desc.c b/clients/common/nm-meta-setting-desc.c index bb73a3a67..08855e02c 100644 --- a/clients/common/nm-meta-setting-desc.c +++ b/clients/common/nm-meta-setting-desc.c @@ -5037,9 +5037,6 @@ static const NMMetaPropertyInfo *const property_infos_CONNECTION[] = { ), PROPERTY_INFO_WITH_DESC (NM_SETTING_CONNECTION_AUTOCONNECT_SLAVES, .property_type = &_pt_gobject_enum, - .property_typ_data = DEFINE_PROPERTY_TYP_DATA_SUBTYPE (gobject_enum, - .get_gtype = nm_setting_connection_autoconnect_slaves_get_type, - ), ), PROPERTY_INFO_WITH_DESC (NM_SETTING_CONNECTION_SECONDARIES, .describe_message =