From 5dc24dd4072ae97488580a49784613832995c2ae Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 6 Sep 2007 19:15:49 +0000 Subject: [PATCH] 2007-09-06 Dan Williams * introspection/nm-access-point.xml - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects them to be. There's some magic property name parsing going on in dbus-glib that breaks up property names based on studly-caps and puts - between words. * libnm-glib/nm-access-point.c - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags): Fix property names git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2766 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- ChangeLog | 12 ++++++++++++ introspection/nm-access-point.xml | 4 ++-- libnm-glib/nm-access-point.c | 4 ++-- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 693c313ac2..142ac1016d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2007-09-06 Dan Williams + + * introspection/nm-access-point.xml + - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects + them to be. There's some magic property name parsing going on in + dbus-glib that breaks up property names based on studly-caps and + puts - between words. + + * libnm-glib/nm-access-point.c + - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags): + Fix property names + 2007-09-06 Dan Williams * src/nm-manager.c diff --git a/introspection/nm-access-point.xml b/introspection/nm-access-point.xml index a3cba5d5fb..588f93f9ad 100644 --- a/introspection/nm-access-point.xml +++ b/introspection/nm-access-point.xml @@ -3,8 +3,8 @@ - - + + diff --git a/libnm-glib/nm-access-point.c b/libnm-glib/nm-access-point.c index e9bc75f248..c1a6d736b8 100644 --- a/libnm-glib/nm-access-point.c +++ b/libnm-glib/nm-access-point.c @@ -114,7 +114,7 @@ nm_access_point_get_wpa_flags (NMAccessPoint *ap) { g_return_val_if_fail (NM_IS_ACCESS_POINT (ap), NM_802_11_AP_SEC_NONE); - return nm_object_get_uint_property (NM_OBJECT (ap), NM_DBUS_INTERFACE_ACCESS_POINT, "WPAFlags"); + return nm_object_get_uint_property (NM_OBJECT (ap), NM_DBUS_INTERFACE_ACCESS_POINT, "WpaFlags"); } guint32 @@ -122,7 +122,7 @@ nm_access_point_get_rsn_flags (NMAccessPoint *ap) { g_return_val_if_fail (NM_IS_ACCESS_POINT (ap), NM_802_11_AP_SEC_NONE); - return nm_object_get_uint_property (NM_OBJECT (ap), NM_DBUS_INTERFACE_ACCESS_POINT, "RSNFlags"); + return nm_object_get_uint_property (NM_OBJECT (ap), NM_DBUS_INTERFACE_ACCESS_POINT, "RsnFlags"); } GByteArray *