diff options
author | Dan Williams <dcbw@redhat.com> | 2007-09-21 02:06:33 +0000 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2007-09-21 02:06:33 +0000 |
commit | 8626b35c99c961689e8308ae1563046154136128 (patch) | |
tree | d1d827540fc741039def62f4892081fee0c4f68d /libnm-glib/nm-access-point.c | |
parent | 770bee926d330e0bff2106755eae4e335da24c07 (diff) | |
download | NetworkManager-8626b35c99c961689e8308ae1563046154136128.tar.gz |
2007-09-20 Dan Williams <dcbw@redhat.com>
* libnm-glib/nm-access-point.c
- (handle_property_changed): strength is a UCHAR
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2837 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
Diffstat (limited to 'libnm-glib/nm-access-point.c')
-rw-r--r-- | libnm-glib/nm-access-point.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libnm-glib/nm-access-point.c b/libnm-glib/nm-access-point.c index bdc18b955d..75a9f6cf93 100644 --- a/libnm-glib/nm-access-point.c +++ b/libnm-glib/nm-access-point.c @@ -331,8 +331,8 @@ handle_property_changed (gpointer key, gpointer data, gpointer user_data) priv->rate = g_value_get_uint (value); } else if (!strcmp (key, DBUS_PROP_STRENGTH)) { g_propname = NM_ACCESS_POINT_STRENGTH; - if (G_VALUE_HOLDS_CHAR (value)) - priv->strength = g_value_get_char (value); + if (G_VALUE_HOLDS_UCHAR (value)) + priv->strength = g_value_get_uchar (value); } else { success = FALSE; } |