[gnome-power-manager] Add missing indirection to return value of DriveSetAllSpindownTimeouts call
- From: Chris Coulson <ccoulson src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-power-manager] Add missing indirection to return value of DriveSetAllSpindownTimeouts call
- Date: Tue, 13 Oct 2009 22:53:00 +0000 (UTC)
commit e5f6185e30c768fc898e09c8f79acdaf4692a448
Author: Chris Coulson <chrisccoulson googlemail com>
Date: Tue Oct 13 23:44:05 2009 +0100
Add missing indirection to return value of DriveSetAllSpindownTimeouts call
https://bugzilla.gnome.org/show_bug.cgi?id=598339
src/gpm-disks.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gpm-disks.c b/src/gpm-disks.c
index f13808a..adf5f8e 100644
--- a/src/gpm-disks.c
+++ b/src/gpm-disks.c
@@ -95,7 +95,7 @@ gpm_disks_register (GpmDisks *disks, guint timeout)
G_TYPE_INT, timeout,
G_TYPE_STRV, options,
G_TYPE_INVALID,
- G_TYPE_STRING, disks->priv->cookie,
+ G_TYPE_STRING, &disks->priv->cookie,
G_TYPE_INVALID);
if (!ret) {
egg_warning ("failed to set spindown timeout: %s", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]