mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-15 14:10:28 +01:00
libnm: handle boxed GType properties in nm_utils_g_param_spec_is_default()
(cherry picked from commit 453e56c6e9)
This commit is contained in:
parent
4b1053da91
commit
682ad94e4b
1 changed files with 1 additions and 0 deletions
|
|
@ -926,6 +926,7 @@ nm_utils_g_param_spec_is_default (const GParamSpec *pspec)
|
|||
return ((((GParamSpecString *) pspec)->default_value) == NULL);
|
||||
if (NM_IN_SET (pspec->value_type, G_TYPE_BYTES,
|
||||
G_TYPE_PTR_ARRAY,
|
||||
G_TYPE_ARRAY,
|
||||
G_TYPE_HASH_TABLE,
|
||||
G_TYPE_STRV)) {
|
||||
/* boxed types have NULL default. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue