gnome-power-manager r3016 - in trunk: . src
- From: rhughes svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-power-manager r3016 - in trunk: . src
- Date: Wed, 15 Oct 2008 07:41:04 +0000 (UTC)
Author: rhughes
Date: Wed Oct 15 07:41:03 2008
New Revision: 3016
URL: http://svn.gnome.org/viewvc/gnome-power-manager?rev=3016&view=rev
Log:
2008-10-15 Richard Hughes <richard hughsie com>
* src/gpm-cell-array.c: (gpm_cell_array_class_init):
Fix segfault with low battery.
Original patch from James Westby, many thanks.
Modified:
trunk/ChangeLog
trunk/src/gpm-cell-array.c
Modified: trunk/src/gpm-cell-array.c
==============================================================================
--- trunk/src/gpm-cell-array.c (original)
+++ trunk/src/gpm-cell-array.c Wed Oct 15 07:41:03 2008
@@ -1368,24 +1368,24 @@
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GpmCellArrayClass, charge_action),
NULL, NULL,
- gpm_marshal_VOID__UINT,
- G_TYPE_NONE, 1, G_TYPE_UINT);
+ g_cclosure_marshal_VOID__FLOAT,
+ G_TYPE_NONE, 1, G_TYPE_FLOAT);
signals [CHARGE_LOW] =
g_signal_new ("charge-low",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GpmCellArrayClass, charge_low),
NULL, NULL,
- gpm_marshal_VOID__UINT,
- G_TYPE_NONE, 1, G_TYPE_UINT);
+ g_cclosure_marshal_VOID__FLOAT,
+ G_TYPE_NONE, 1, G_TYPE_FLOAT);
signals [CHARGE_CRITICAL] =
g_signal_new ("charge-critical",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GpmCellArrayClass, charge_critical),
NULL, NULL,
- gpm_marshal_VOID__UINT,
- G_TYPE_NONE, 1, G_TYPE_UINT);
+ g_cclosure_marshal_VOID__FLOAT,
+ G_TYPE_NONE, 1, G_TYPE_FLOAT);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]