summaryrefslogtreecommitdiffstats
path: root/src/ck-session.h
diff options
context:
space:
mode:
authorWilliam Jon McCann <mccann@jhu.edu>2007-02-20 14:43:27 -0500
committerWilliam Jon McCann <mccann@jhu.edu>2007-02-20 14:43:27 -0500
commitef89bbdb1be20fbca2a83037fcc922b444b7b513 (patch)
treeb2e49cc8649d4ec9c7eda19e0b02292ca8a4044b /src/ck-session.h
parent10a6532e35f4e40135006329a6975942ee896817 (diff)
make the idle hint getters sync dbus methods
This makes it easier to use from C code. Also fix a bug where we weren't emitting the argument in the idle-hint-changed signal.
Diffstat (limited to 'src/ck-session.h')
-rw-r--r--src/ck-session.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ck-session.h b/src/ck-session.h
index 6a33ac2..2486371 100644
--- a/src/ck-session.h
+++ b/src/ck-session.h
@@ -141,9 +141,11 @@ gboolean ck_session_get_creation_time (CkSession *sessi
/* Non-authoritative properties */
gboolean ck_session_get_idle_hint (CkSession *session,
- DBusGMethodInvocation *context);
+ gboolean *idle_hint,
+ GError **error);
gboolean ck_session_get_idle_since_hint (CkSession *session,
- DBusGMethodInvocation *context);
+ char **iso8601_datetime,
+ GError **error);
gboolean ck_session_set_idle_hint (CkSession *session,
gboolean idle_hint,
DBusGMethodInvocation *context);