mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-09 15:50:26 +01:00
core: fix 'tun' device owner/group property getters
The properties are int64, but get_property() was was using g_value_set_uint().
This commit is contained in:
parent
f6f79aa433
commit
e4f218875d
1 changed files with 2 additions and 2 deletions
|
|
@ -156,10 +156,10 @@ get_property (GObject *object, guint prop_id,
|
|||
|
||||
switch (prop_id) {
|
||||
case PROP_OWNER:
|
||||
g_value_set_uint (value, priv->props.owner);
|
||||
g_value_set_int64 (value, priv->props.owner);
|
||||
break;
|
||||
case PROP_GROUP:
|
||||
g_value_set_uint (value, priv->props.group);
|
||||
g_value_set_int64 (value, priv->props.group);
|
||||
break;
|
||||
case PROP_MODE:
|
||||
g_value_set_string (value, priv->mode);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue