diff options
author | William Jon McCann <mccann@jhu.edu> | 2007-02-20 14:43:27 -0500 |
---|---|---|
committer | William Jon McCann <mccann@jhu.edu> | 2007-02-20 14:43:27 -0500 |
commit | ef89bbdb1be20fbca2a83037fcc922b444b7b513 (patch) | |
tree | b2e49cc8649d4ec9c7eda19e0b02292ca8a4044b /src/ck-session.h | |
parent | 10a6532e35f4e40135006329a6975942ee896817 (diff) | |
download | ConsoleKit2-ef89bbdb1be20fbca2a83037fcc922b444b7b513.tar.gz |
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.h | 6 |
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); |