2007-10-16 Tambet Ingo <tambet@gmail.com>

* src/nm-hal-manager.c (killswitch_getpower_reply): The type
        * returned from
        HAL is int, not uint.



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2976 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Tambet Ingo 2007-10-16 08:17:06 +00:00
parent 7e2a621f0a
commit 65f0247cdc
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2007-10-16 Tambet Ingo <tambet@gmail.com>
* src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
HAL is int, not uint.
2007-10-15 Tambet Ingo <tambet@gmail.com>
Implement killswitch polling through HAL.

View file

@ -335,11 +335,11 @@ killswitch_getpower_reply (DBusGProxy *proxy,
gpointer user_data)
{
NMKillswitchPollInfo *info = (NMKillswitchPollInfo *) user_data;
guint32 status;
int status;
GError *err = NULL;
if (dbus_g_proxy_end_call (proxy, call_id, &err,
G_TYPE_UINT, &status,
G_TYPE_INT, &status,
G_TYPE_INVALID)) {
if (!info->changed && info->initial_state != (status == 0) ? FALSE : TRUE)
info->changed = TRUE;