diff options
author | Dan Winship <danw@gnome.org> | 2014-06-26 10:42:11 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-09-04 09:20:11 -0400 |
commit | c43f88907be66f8f62a8edbe76ae2aec4ff61190 (patch) | |
tree | 68ebaac49e80fdc38bf1c47604072ea712c56ea4 /libnm-core/nm-setting-olpc-mesh.h | |
parent | 3fbabde4c3b9446226c627c6d10ce83aff95b356 (diff) | |
download | NetworkManager-c43f88907be66f8f62a8edbe76ae2aec4ff61190.tar.gz |
libnm-core: change DBUS_TYPE_G_UCHAR_ARRAY properties to G_TYPE_BYTES
Change all DBUS_TYPE_G_UCHAR_ARRAY properties to G_TYPE_BYTES, and
update corresponding APIs. Notably, this means they are now refcounted
rather than being copied.
Update the rest of NM for the changes. The daemon still converts SSIDs
to GByteArrays internally, because changing it to use GBytes has lots
of trickle-down effects. It can possibly be changed later.
Diffstat (limited to 'libnm-core/nm-setting-olpc-mesh.h')
-rw-r--r-- | libnm-core/nm-setting-olpc-mesh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-setting-olpc-mesh.h b/libnm-core/nm-setting-olpc-mesh.h index 28d9dcfba6..c363894540 100644 --- a/libnm-core/nm-setting-olpc-mesh.h +++ b/libnm-core/nm-setting-olpc-mesh.h @@ -74,7 +74,7 @@ typedef struct { GType nm_setting_olpc_mesh_get_type (void); NMSetting * nm_setting_olpc_mesh_new (void); -const GByteArray *nm_setting_olpc_mesh_get_ssid (NMSettingOlpcMesh *setting); +GBytes * nm_setting_olpc_mesh_get_ssid (NMSettingOlpcMesh *setting); guint32 nm_setting_olpc_mesh_get_channel (NMSettingOlpcMesh *setting); const char * nm_setting_olpc_mesh_get_dhcp_anycast_address (NMSettingOlpcMesh *setting); |