summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-wireless.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-06-26 10:42:11 -0400
committerDan Winship <danw@gnome.org>2014-09-04 09:20:11 -0400
commitc43f88907be66f8f62a8edbe76ae2aec4ff61190 (patch)
tree68ebaac49e80fdc38bf1c47604072ea712c56ea4 /libnm-core/nm-setting-wireless.h
parent3fbabde4c3b9446226c627c6d10ce83aff95b356 (diff)
downloadNetworkManager-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-wireless.h')
-rw-r--r--libnm-core/nm-setting-wireless.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-core/nm-setting-wireless.h b/libnm-core/nm-setting-wireless.h
index 9f74b3c785..50826efe6b 100644
--- a/libnm-core/nm-setting-wireless.h
+++ b/libnm-core/nm-setting-wireless.h
@@ -116,7 +116,7 @@ GType nm_setting_wireless_get_type (void);
NMSetting *nm_setting_wireless_new (void);
-const GByteArray *nm_setting_wireless_get_ssid (NMSettingWireless *setting);
+GBytes *nm_setting_wireless_get_ssid (NMSettingWireless *setting);
const char *nm_setting_wireless_get_mode (NMSettingWireless *setting);
const char *nm_setting_wireless_get_band (NMSettingWireless *setting);
guint32 nm_setting_wireless_get_channel (NMSettingWireless *setting);