gnome-power-manager r3361 - in trunk: . src
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r3361 - in trunk: . src
- Date: Mon, 16 Mar 2009 13:42:03 +0000 (UTC)
Author: rhughes
Date: Mon Mar 16 13:42:03 2009
New Revision: 3361
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3361&view=rev
Log:
2009-03-16 Richard Hughes <richard hughsie com>
* src/gpm-engine.c: (gpm_engine_device_check_capacity):
Fix the low capacity warning to fix rh#489832
Modified:
trunk/ChangeLog
trunk/src/gpm-engine.c
Modified: trunk/src/gpm-engine.c
==============================================================================
--- trunk/src/gpm-engine.c (original)
+++ trunk/src/gpm-engine.c Mon Mar 16 13:42:03 2009
@@ -484,7 +484,7 @@
ret = gconf_client_get_bool (engine->priv->conf, GPM_CONF_NOTIFY_LOW_CAPACITY, NULL);
if (ret) {
egg_debug ("** EMIT: low-capacity");
- g_signal_emit (engine, signals [LOW_CAPACITY], 0, obj->type, obj->capacity);
+ g_signal_emit (engine, signals [LOW_CAPACITY], 0, obj->type, (guint) obj->capacity);
}
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]