From 65f0247cdc8330d1a82a1d54ef087c14539f2b75 Mon Sep 17 00:00:00 2001 From: Tambet Ingo Date: Tue, 16 Oct 2007 08:17:06 +0000 Subject: [PATCH] 2007-10-16 Tambet Ingo * 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 --- ChangeLog | 5 +++++ src/nm-hal-manager.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e3ce5113cc..24bc2a8b65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-10-16 Tambet Ingo + + * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from + HAL is int, not uint. + 2007-10-15 Tambet Ingo Implement killswitch polling through HAL. diff --git a/src/nm-hal-manager.c b/src/nm-hal-manager.c index 1100d8e013..bc59670693 100644 --- a/src/nm-hal-manager.c +++ b/src/nm-hal-manager.c @@ -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;