Back to index

indicator-session  12.10.0
Classes | Defines | Typedefs | Functions
dbus-consolekit-session.h File Reference
#include <gio/gio.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ConsoleKitSessionIface
struct  _ConsoleKitSessionProxy
struct  _ConsoleKitSessionProxyClass
struct  _ConsoleKitSessionSkeleton
struct  _ConsoleKitSessionSkeletonClass

Defines

#define TYPE_CONSOLE_KIT_SESSION   (console_kit_session_get_type ())
#define CONSOLE_KIT_SESSION(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SESSION, ConsoleKitSession))
#define IS_CONSOLE_KIT_SESSION(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SESSION))
#define CONSOLE_KIT_SESSION_GET_IFACE(o)   (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONSOLE_KIT_SESSION, ConsoleKitSessionIface))
#define TYPE_CONSOLE_KIT_SESSION_PROXY   (console_kit_session_proxy_get_type ())
#define CONSOLE_KIT_SESSION_PROXY(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SESSION_PROXY, ConsoleKitSessionProxy))
#define CONSOLE_KIT_SESSION_PROXY_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_SESSION_PROXY, ConsoleKitSessionProxyClass))
#define CONSOLE_KIT_SESSION_PROXY_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_SESSION_PROXY, ConsoleKitSessionProxyClass))
#define IS_CONSOLE_KIT_SESSION_PROXY(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SESSION_PROXY))
#define IS_CONSOLE_KIT_SESSION_PROXY_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_SESSION_PROXY))
#define TYPE_CONSOLE_KIT_SESSION_SKELETON   (console_kit_session_skeleton_get_type ())
#define CONSOLE_KIT_SESSION_SKELETON(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SESSION_SKELETON, ConsoleKitSessionSkeleton))
#define CONSOLE_KIT_SESSION_SKELETON_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_SESSION_SKELETON, ConsoleKitSessionSkeletonClass))
#define CONSOLE_KIT_SESSION_SKELETON_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_SESSION_SKELETON, ConsoleKitSessionSkeletonClass))
#define IS_CONSOLE_KIT_SESSION_SKELETON(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SESSION_SKELETON))
#define IS_CONSOLE_KIT_SESSION_SKELETON_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_SESSION_SKELETON))

Typedefs

typedef struct _ConsoleKitSession
typedef struct _ConsoleKitSessionIface
typedef struct _ConsoleKitSessionProxy
typedef struct _ConsoleKitSessionProxyClass
typedef struct _ConsoleKitSessionProxyPrivate
typedef struct _ConsoleKitSessionSkeleton
typedef struct _ConsoleKitSessionSkeletonClass
typedef struct _ConsoleKitSessionSkeletonPrivate

Functions

GType console_kit_session_get_type (void) G_GNUC_CONST
GDBusInterfaceInfo * console_kit_session_interface_info (void)
 console_kit_session_interface_info:
guint console_kit_session_override_properties (GObjectClass *klass, guint property_id_begin)
 console_kit_session_override_properties: : The class structure for a #GObject-derived class.
void console_kit_session_complete_get_id (ConsoleKitSession *object, GDBusMethodInvocation *invocation, const gchar *ssid)
 console_kit_session_complete_get_id: : A #ConsoleKitSession.
void console_kit_session_complete_get_seat_id (ConsoleKitSession *object, GDBusMethodInvocation *invocation, const gchar *sid)
 console_kit_session_complete_get_seat_id: : A #ConsoleKitSession.
void console_kit_session_complete_get_session_type (ConsoleKitSession *object, GDBusMethodInvocation *invocation, const gchar *type)
 console_kit_session_complete_get_session_type: : A #ConsoleKitSession.
void console_kit_session_complete_get_user (ConsoleKitSession *object, GDBusMethodInvocation *invocation, guint uid)
 console_kit_session_complete_get_user: : A #ConsoleKitSession.
void console_kit_session_complete_get_unix_user (ConsoleKitSession *object, GDBusMethodInvocation *invocation, guint uid)
 console_kit_session_complete_get_unix_user: : A #ConsoleKitSession.
void console_kit_session_complete_get_x11_display (ConsoleKitSession *object, GDBusMethodInvocation *invocation, const gchar *display)
 console_kit_session_complete_get_x11_display: : A #ConsoleKitSession.
void console_kit_session_complete_get_x11_display_device (ConsoleKitSession *object, GDBusMethodInvocation *invocation, const gchar *x11_display_device)
 console_kit_session_complete_get_x11_display_device: : A #ConsoleKitSession.
void console_kit_session_complete_get_display_device (ConsoleKitSession *object, GDBusMethodInvocation *invocation, const gchar *display_device)
 console_kit_session_complete_get_display_device: : A #ConsoleKitSession.
void console_kit_session_complete_get_remote_host_name (ConsoleKitSession *object, GDBusMethodInvocation *invocation, const gchar *remote_host_name)
 console_kit_session_complete_get_remote_host_name: : A #ConsoleKitSession.
void console_kit_session_complete_get_login_session_id (ConsoleKitSession *object, GDBusMethodInvocation *invocation, const gchar *login_session_id)
 console_kit_session_complete_get_login_session_id: : A #ConsoleKitSession.
void console_kit_session_complete_is_active (ConsoleKitSession *object, GDBusMethodInvocation *invocation, gboolean active)
 console_kit_session_complete_is_active: : A #ConsoleKitSession.
void console_kit_session_complete_is_local (ConsoleKitSession *object, GDBusMethodInvocation *invocation, gboolean local)
 console_kit_session_complete_is_local: : A #ConsoleKitSession.
void console_kit_session_complete_get_creation_time (ConsoleKitSession *object, GDBusMethodInvocation *invocation, const gchar *iso8601_datetime)
 console_kit_session_complete_get_creation_time: : A #ConsoleKitSession.
void console_kit_session_complete_activate (ConsoleKitSession *object, GDBusMethodInvocation *invocation)
 console_kit_session_complete_activate: : A #ConsoleKitSession.
void console_kit_session_complete_lock (ConsoleKitSession *object, GDBusMethodInvocation *invocation)
 console_kit_session_complete_lock: : A #ConsoleKitSession.
void console_kit_session_complete_unlock (ConsoleKitSession *object, GDBusMethodInvocation *invocation)
 console_kit_session_complete_unlock: : A #ConsoleKitSession.
void console_kit_session_complete_get_idle_hint (ConsoleKitSession *object, GDBusMethodInvocation *invocation, gboolean idle_hint)
 console_kit_session_complete_get_idle_hint: : A #ConsoleKitSession.
void console_kit_session_complete_get_idle_since_hint (ConsoleKitSession *object, GDBusMethodInvocation *invocation, const gchar *iso8601_datetime)
 console_kit_session_complete_get_idle_since_hint: : A #ConsoleKitSession.
void console_kit_session_complete_set_idle_hint (ConsoleKitSession *object, GDBusMethodInvocation *invocation)
 console_kit_session_complete_set_idle_hint: : A #ConsoleKitSession.
void console_kit_session_emit_active_changed (ConsoleKitSession *object, gboolean arg_is_active)
 console_kit_session_emit_active_changed: : A #ConsoleKitSession.
void console_kit_session_emit_idle_hint_changed (ConsoleKitSession *object, gboolean arg_hint)
 console_kit_session_emit_idle_hint_changed: : A #ConsoleKitSession.
void console_kit_session_emit_lock (ConsoleKitSession *object)
 console_kit_session_emit_lock: : A #ConsoleKitSession.
void console_kit_session_emit_unlock (ConsoleKitSession *object)
 console_kit_session_emit_unlock: : A #ConsoleKitSession.
void console_kit_session_call_get_id (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_id: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_id_finish (ConsoleKitSession *proxy, gchar **out_ssid, GAsyncResult *res, GError **error)
 console_kit_session_call_get_id_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_id_sync (ConsoleKitSession *proxy, gchar **out_ssid, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_id_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_seat_id (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_seat_id: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_seat_id_finish (ConsoleKitSession *proxy, gchar **out_sid, GAsyncResult *res, GError **error)
 console_kit_session_call_get_seat_id_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_seat_id_sync (ConsoleKitSession *proxy, gchar **out_sid, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_seat_id_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_session_type (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_session_type: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_session_type_finish (ConsoleKitSession *proxy, gchar **out_type, GAsyncResult *res, GError **error)
 console_kit_session_call_get_session_type_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_session_type_sync (ConsoleKitSession *proxy, gchar **out_type, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_session_type_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_user (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_user: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_user_finish (ConsoleKitSession *proxy, guint *out_uid, GAsyncResult *res, GError **error)
 console_kit_session_call_get_user_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_user_sync (ConsoleKitSession *proxy, guint *out_uid, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_user_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_unix_user (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_unix_user: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_unix_user_finish (ConsoleKitSession *proxy, guint *out_uid, GAsyncResult *res, GError **error)
 console_kit_session_call_get_unix_user_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_unix_user_sync (ConsoleKitSession *proxy, guint *out_uid, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_unix_user_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_x11_display (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_x11_display: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_x11_display_finish (ConsoleKitSession *proxy, gchar **out_display, GAsyncResult *res, GError **error)
 console_kit_session_call_get_x11_display_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_x11_display_sync (ConsoleKitSession *proxy, gchar **out_display, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_x11_display_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_x11_display_device (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_x11_display_device: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_x11_display_device_finish (ConsoleKitSession *proxy, gchar **out_x11_display_device, GAsyncResult *res, GError **error)
 console_kit_session_call_get_x11_display_device_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_x11_display_device_sync (ConsoleKitSession *proxy, gchar **out_x11_display_device, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_x11_display_device_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_display_device (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_display_device: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_display_device_finish (ConsoleKitSession *proxy, gchar **out_display_device, GAsyncResult *res, GError **error)
 console_kit_session_call_get_display_device_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_display_device_sync (ConsoleKitSession *proxy, gchar **out_display_device, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_display_device_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_remote_host_name (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_remote_host_name: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_remote_host_name_finish (ConsoleKitSession *proxy, gchar **out_remote_host_name, GAsyncResult *res, GError **error)
 console_kit_session_call_get_remote_host_name_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_remote_host_name_sync (ConsoleKitSession *proxy, gchar **out_remote_host_name, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_remote_host_name_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_login_session_id (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_login_session_id: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_login_session_id_finish (ConsoleKitSession *proxy, gchar **out_login_session_id, GAsyncResult *res, GError **error)
 console_kit_session_call_get_login_session_id_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_login_session_id_sync (ConsoleKitSession *proxy, gchar **out_login_session_id, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_login_session_id_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_is_active (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_is_active: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_is_active_finish (ConsoleKitSession *proxy, gboolean *out_active, GAsyncResult *res, GError **error)
 console_kit_session_call_is_active_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_is_active_sync (ConsoleKitSession *proxy, gboolean *out_active, GCancellable *cancellable, GError **error)
 console_kit_session_call_is_active_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_is_local (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_is_local: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_is_local_finish (ConsoleKitSession *proxy, gboolean *out_local, GAsyncResult *res, GError **error)
 console_kit_session_call_is_local_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_is_local_sync (ConsoleKitSession *proxy, gboolean *out_local, GCancellable *cancellable, GError **error)
 console_kit_session_call_is_local_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_creation_time (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_creation_time: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_creation_time_finish (ConsoleKitSession *proxy, gchar **out_iso8601_datetime, GAsyncResult *res, GError **error)
 console_kit_session_call_get_creation_time_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_creation_time_sync (ConsoleKitSession *proxy, gchar **out_iso8601_datetime, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_creation_time_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_activate (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_activate: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_activate_finish (ConsoleKitSession *proxy, GAsyncResult *res, GError **error)
 console_kit_session_call_activate_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_activate_sync (ConsoleKitSession *proxy, GCancellable *cancellable, GError **error)
 console_kit_session_call_activate_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_lock (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_lock: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_lock_finish (ConsoleKitSession *proxy, GAsyncResult *res, GError **error)
 console_kit_session_call_lock_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_lock_sync (ConsoleKitSession *proxy, GCancellable *cancellable, GError **error)
 console_kit_session_call_lock_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_unlock (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_unlock: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_unlock_finish (ConsoleKitSession *proxy, GAsyncResult *res, GError **error)
 console_kit_session_call_unlock_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_unlock_sync (ConsoleKitSession *proxy, GCancellable *cancellable, GError **error)
 console_kit_session_call_unlock_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_idle_hint (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_idle_hint: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_idle_hint_finish (ConsoleKitSession *proxy, gboolean *out_idle_hint, GAsyncResult *res, GError **error)
 console_kit_session_call_get_idle_hint_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_idle_hint_sync (ConsoleKitSession *proxy, gboolean *out_idle_hint, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_idle_hint_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_get_idle_since_hint (ConsoleKitSession *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_get_idle_since_hint: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_idle_since_hint_finish (ConsoleKitSession *proxy, gchar **out_iso8601_datetime, GAsyncResult *res, GError **error)
 console_kit_session_call_get_idle_since_hint_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_get_idle_since_hint_sync (ConsoleKitSession *proxy, gchar **out_iso8601_datetime, GCancellable *cancellable, GError **error)
 console_kit_session_call_get_idle_since_hint_sync: : A #ConsoleKitSessionProxy.
void console_kit_session_call_set_idle_hint (ConsoleKitSession *proxy, gboolean arg_idle_hint, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_session_call_set_idle_hint: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_set_idle_hint_finish (ConsoleKitSession *proxy, GAsyncResult *res, GError **error)
 console_kit_session_call_set_idle_hint_finish: : A #ConsoleKitSessionProxy.
gboolean console_kit_session_call_set_idle_hint_sync (ConsoleKitSession *proxy, gboolean arg_idle_hint, GCancellable *cancellable, GError **error)
 console_kit_session_call_set_idle_hint_sync: : A #ConsoleKitSessionProxy.
guint console_kit_session_get_unix_user (ConsoleKitSession *object)
 console_kit_session_get_unix_user: (skip) : A #ConsoleKitSession.
void console_kit_session_set_unix_user (ConsoleKitSession *object, guint value)
 console_kit_session_set_unix_user: (skip) : A #ConsoleKitSession.
guint console_kit_session_get_user (ConsoleKitSession *object)
 console_kit_session_get_user: (skip) : A #ConsoleKitSession.
void console_kit_session_set_user (ConsoleKitSession *object, guint value)
 console_kit_session_set_user: (skip) : A #ConsoleKitSession.
const gchar * console_kit_session_get_session_type (ConsoleKitSession *object)
 console_kit_session_get_session_type: (skip) : A #ConsoleKitSession.
gchar * console_kit_session_dup_session_type (ConsoleKitSession *object)
 console_kit_session_dup_session_type: (skip) : A #ConsoleKitSession.
void console_kit_session_set_session_type (ConsoleKitSession *object, const gchar *value)
 console_kit_session_set_session_type: (skip) : A #ConsoleKitSession.
const gchar * console_kit_session_get_remote_host_name (ConsoleKitSession *object)
 console_kit_session_get_remote_host_name: (skip) : A #ConsoleKitSession.
gchar * console_kit_session_dup_remote_host_name (ConsoleKitSession *object)
 console_kit_session_dup_remote_host_name: (skip) : A #ConsoleKitSession.
void console_kit_session_set_remote_host_name (ConsoleKitSession *object, const gchar *value)
 console_kit_session_set_remote_host_name: (skip) : A #ConsoleKitSession.
const gchar * console_kit_session_get_display_device (ConsoleKitSession *object)
 console_kit_session_get_display_device: (skip) : A #ConsoleKitSession.
gchar * console_kit_session_dup_display_device (ConsoleKitSession *object)
 console_kit_session_dup_display_device: (skip) : A #ConsoleKitSession.
void console_kit_session_set_display_device (ConsoleKitSession *object, const gchar *value)
 console_kit_session_set_display_device: (skip) : A #ConsoleKitSession.
const gchar * console_kit_session_get_x11_display (ConsoleKitSession *object)
 console_kit_session_get_x11_display: (skip) : A #ConsoleKitSession.
gchar * console_kit_session_dup_x11_display (ConsoleKitSession *object)
 console_kit_session_dup_x11_display: (skip) : A #ConsoleKitSession.
void console_kit_session_set_x11_display (ConsoleKitSession *object, const gchar *value)
 console_kit_session_set_x11_display: (skip) : A #ConsoleKitSession.
const gchar * console_kit_session_get_x11_display_device (ConsoleKitSession *object)
 console_kit_session_get_x11_display_device: (skip) : A #ConsoleKitSession.
gchar * console_kit_session_dup_x11_display_device (ConsoleKitSession *object)
 console_kit_session_dup_x11_display_device: (skip) : A #ConsoleKitSession.
void console_kit_session_set_x11_display_device (ConsoleKitSession *object, const gchar *value)
 console_kit_session_set_x11_display_device: (skip) : A #ConsoleKitSession.
gboolean console_kit_session_get_active (ConsoleKitSession *object)
 console_kit_session_get_active: (skip) : A #ConsoleKitSession.
void console_kit_session_set_active (ConsoleKitSession *object, gboolean value)
 console_kit_session_set_active: (skip) : A #ConsoleKitSession.
gboolean console_kit_session_get_is_local (ConsoleKitSession *object)
 console_kit_session_get_is_local: (skip) : A #ConsoleKitSession.
void console_kit_session_set_is_local (ConsoleKitSession *object, gboolean value)
 console_kit_session_set_is_local: (skip) : A #ConsoleKitSession.
gboolean console_kit_session_get_idle_hint (ConsoleKitSession *object)
 console_kit_session_get_idle_hint: (skip) : A #ConsoleKitSession.
void console_kit_session_set_idle_hint (ConsoleKitSession *object, gboolean value)
 console_kit_session_set_idle_hint: (skip) : A #ConsoleKitSession.
GType console_kit_session_proxy_get_type (void) G_GNUC_CONST
void console_kit_session_proxy_new (GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
ConsoleKitSession * console_kit_session_proxy_new_finish (GAsyncResult *res, GError **error)
 console_kit_session_proxy_new_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_proxy_new().
ConsoleKitSession * console_kit_session_proxy_new_sync (GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
void console_kit_session_proxy_new_for_bus (GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
ConsoleKitSession * console_kit_session_proxy_new_for_bus_finish (GAsyncResult *res, GError **error)
 console_kit_session_proxy_new_for_bus_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_proxy_new_for_bus().
ConsoleKitSession * console_kit_session_proxy_new_for_bus_sync (GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
GType console_kit_session_skeleton_get_type (void) G_GNUC_CONST
ConsoleKitSession * console_kit_session_skeleton_new (void)
 console_kit_session_skeleton_new:

Class Documentation

struct _ConsoleKitSessionProxy

Definition at line 652 of file dbus-consolekit-session.h.

Class Members
GDBusProxy parent_instance
ConsoleKitSessionProxyPrivate * priv
struct _ConsoleKitSessionProxyClass

Definition at line 659 of file dbus-consolekit-session.h.

Class Members
GDBusProxyClass parent_class
struct _ConsoleKitSessionSkeleton

Definition at line 718 of file dbus-consolekit-session.h.

Class Members
GDBusInterfaceSkeleton parent_instance
ConsoleKitSessionSkeletonPrivate * priv
struct _ConsoleKitSessionSkeletonClass

Definition at line 725 of file dbus-consolekit-session.h.

Class Members
GDBusInterfaceSkeletonClass parent_class

Define Documentation

#define CONSOLE_KIT_SESSION (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SESSION, ConsoleKitSession))

Definition at line 19 of file dbus-consolekit-session.h.

#define CONSOLE_KIT_SESSION_GET_IFACE (   o)    (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONSOLE_KIT_SESSION, ConsoleKitSessionIface))

Definition at line 21 of file dbus-consolekit-session.h.

#define CONSOLE_KIT_SESSION_PROXY (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SESSION_PROXY, ConsoleKitSessionProxy))

Definition at line 642 of file dbus-consolekit-session.h.

#define CONSOLE_KIT_SESSION_PROXY_CLASS (   k)    (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_SESSION_PROXY, ConsoleKitSessionProxyClass))

Definition at line 643 of file dbus-consolekit-session.h.

#define CONSOLE_KIT_SESSION_PROXY_GET_CLASS (   o)    (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_SESSION_PROXY, ConsoleKitSessionProxyClass))

Definition at line 644 of file dbus-consolekit-session.h.

#define CONSOLE_KIT_SESSION_SKELETON (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SESSION_SKELETON, ConsoleKitSessionSkeleton))

Definition at line 708 of file dbus-consolekit-session.h.

#define CONSOLE_KIT_SESSION_SKELETON_CLASS (   k)    (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_SESSION_SKELETON, ConsoleKitSessionSkeletonClass))

Definition at line 709 of file dbus-consolekit-session.h.

#define CONSOLE_KIT_SESSION_SKELETON_GET_CLASS (   o)    (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_SESSION_SKELETON, ConsoleKitSessionSkeletonClass))

Definition at line 710 of file dbus-consolekit-session.h.

#define IS_CONSOLE_KIT_SESSION (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SESSION))

Definition at line 20 of file dbus-consolekit-session.h.

#define IS_CONSOLE_KIT_SESSION_PROXY (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SESSION_PROXY))

Definition at line 645 of file dbus-consolekit-session.h.

#define IS_CONSOLE_KIT_SESSION_PROXY_CLASS (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_SESSION_PROXY))

Definition at line 646 of file dbus-consolekit-session.h.

#define IS_CONSOLE_KIT_SESSION_SKELETON (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SESSION_SKELETON))

Definition at line 711 of file dbus-consolekit-session.h.

#define IS_CONSOLE_KIT_SESSION_SKELETON_CLASS (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_SESSION_SKELETON))

Definition at line 712 of file dbus-consolekit-session.h.

Definition at line 18 of file dbus-consolekit-session.h.

Definition at line 641 of file dbus-consolekit-session.h.

Definition at line 707 of file dbus-consolekit-session.h.


Typedef Documentation

typedef struct _ConsoleKitSession

Definition at line 24 of file dbus-consolekit-session.h.

typedef struct _ConsoleKitSessionIface

Definition at line 25 of file dbus-consolekit-session.h.

typedef struct _ConsoleKitSessionProxy

Definition at line 648 of file dbus-consolekit-session.h.

Definition at line 649 of file dbus-consolekit-session.h.

Definition at line 650 of file dbus-consolekit-session.h.

Definition at line 714 of file dbus-consolekit-session.h.

Definition at line 715 of file dbus-consolekit-session.h.

Definition at line 716 of file dbus-consolekit-session.h.


Function Documentation

void console_kit_session_call_activate ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_activate: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.Activate">Activate()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_activate_finish() to get the result of the operation.

See console_kit_session_call_activate_sync() for the synchronous, blocking version of this method.

Definition at line 3446 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "Activate",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_activate_finish ( ConsoleKitSession *  proxy,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_activate_finish: : A #ConsoleKitSessionProxy.

: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_activate(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_activate().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3473 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_activate_sync ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_activate_sync: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.Activate">Activate()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_activate() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3502 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "Activate",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_get_creation_time ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_creation_time: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetCreationTime">GetCreationTime()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_creation_time_finish() to get the result of the operation.

See console_kit_session_call_get_creation_time_sync() for the synchronous, blocking version of this method.

Definition at line 3348 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetCreationTime",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_creation_time_finish ( ConsoleKitSession *  proxy,
gchar **  out_iso8601_datetime,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_creation_time_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_creation_time(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_creation_time().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3376 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_iso8601_datetime);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_creation_time_sync ( ConsoleKitSession *  proxy,
gchar **  out_iso8601_datetime,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_creation_time_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetCreationTime">GetCreationTime()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_creation_time() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3408 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetCreationTime",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_iso8601_datetime);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_get_display_device ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_display_device: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetDisplayDevice">GetDisplayDevice()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_display_device_finish() to get the result of the operation.

See console_kit_session_call_get_display_device_sync() for the synchronous, blocking version of this method.

Definition at line 2858 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetDisplayDevice",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_display_device_finish ( ConsoleKitSession *  proxy,
gchar **  out_display_device,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_display_device_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_display_device(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_display_device().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2886 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_display_device);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_display_device_sync ( ConsoleKitSession *  proxy,
gchar **  out_display_device,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_display_device_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetDisplayDevice">GetDisplayDevice()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_display_device() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2918 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetDisplayDevice",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_display_device);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_get_id ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_id: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetId">GetId()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_id_finish() to get the result of the operation.

See console_kit_session_call_get_id_sync() for the synchronous, blocking version of this method.

Definition at line 2172 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetId",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_id_finish ( ConsoleKitSession *  proxy,
gchar **  out_ssid,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_id_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_id(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_id().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2200 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o)",
                 out_ssid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_id_sync ( ConsoleKitSession *  proxy,
gchar **  out_ssid,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_id_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetId">GetId()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_id() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2232 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetId",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o)",
                 out_ssid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_get_idle_hint ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_idle_hint: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetIdleHint">GetIdleHint()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_idle_hint_finish() to get the result of the operation.

See console_kit_session_call_get_idle_hint_sync() for the synchronous, blocking version of this method.

Definition at line 3722 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetIdleHint",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_idle_hint_finish ( ConsoleKitSession *  proxy,
gboolean *  out_idle_hint,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_idle_hint_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_idle_hint(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_idle_hint().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3750 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_idle_hint);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_idle_hint_sync ( ConsoleKitSession *  proxy,
gboolean *  out_idle_hint,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_idle_hint_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetIdleHint">GetIdleHint()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_idle_hint() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3782 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetIdleHint",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_idle_hint);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_get_idle_since_hint ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_idle_since_hint: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetIdleSinceHint">GetIdleSinceHint()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_idle_since_hint_finish() to get the result of the operation.

See console_kit_session_call_get_idle_since_hint_sync() for the synchronous, blocking version of this method.

Definition at line 3820 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetIdleSinceHint",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_idle_since_hint_finish ( ConsoleKitSession *  proxy,
gchar **  out_iso8601_datetime,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_idle_since_hint_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_idle_since_hint(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_idle_since_hint().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3848 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_iso8601_datetime);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_idle_since_hint_sync ( ConsoleKitSession *  proxy,
gchar **  out_iso8601_datetime,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_idle_since_hint_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetIdleSinceHint">GetIdleSinceHint()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_idle_since_hint() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3880 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetIdleSinceHint",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_iso8601_datetime);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_get_login_session_id ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_login_session_id: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetLoginSessionId">GetLoginSessionId()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_login_session_id_finish() to get the result of the operation.

See console_kit_session_call_get_login_session_id_sync() for the synchronous, blocking version of this method.

Definition at line 3054 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetLoginSessionId",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_login_session_id_finish ( ConsoleKitSession *  proxy,
gchar **  out_login_session_id,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_login_session_id_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_login_session_id(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_login_session_id().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3082 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_login_session_id);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_login_session_id_sync ( ConsoleKitSession *  proxy,
gchar **  out_login_session_id,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_login_session_id_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetLoginSessionId">GetLoginSessionId()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_login_session_id() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3114 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetLoginSessionId",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_login_session_id);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_get_remote_host_name ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_remote_host_name: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetRemoteHostName">GetRemoteHostName()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_remote_host_name_finish() to get the result of the operation.

See console_kit_session_call_get_remote_host_name_sync() for the synchronous, blocking version of this method.

Definition at line 2956 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetRemoteHostName",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_remote_host_name_finish ( ConsoleKitSession *  proxy,
gchar **  out_remote_host_name,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_remote_host_name_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_remote_host_name(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_remote_host_name().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2984 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_remote_host_name);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_remote_host_name_sync ( ConsoleKitSession *  proxy,
gchar **  out_remote_host_name,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_remote_host_name_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetRemoteHostName">GetRemoteHostName()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_remote_host_name() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3016 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetRemoteHostName",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_remote_host_name);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_get_seat_id ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_seat_id: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetSeatId">GetSeatId()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_seat_id_finish() to get the result of the operation.

See console_kit_session_call_get_seat_id_sync() for the synchronous, blocking version of this method.

Definition at line 2270 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSeatId",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_seat_id_finish ( ConsoleKitSession *  proxy,
gchar **  out_sid,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_seat_id_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_seat_id(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_seat_id().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2298 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o)",
                 out_sid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_seat_id_sync ( ConsoleKitSession *  proxy,
gchar **  out_sid,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_seat_id_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetSeatId">GetSeatId()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_seat_id() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2330 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSeatId",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(o)",
                 out_sid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

Here is the caller graph for this function:

void console_kit_session_call_get_session_type ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_session_type: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetSessionType">GetSessionType()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_session_type_finish() to get the result of the operation.

See console_kit_session_call_get_session_type_sync() for the synchronous, blocking version of this method.

Definition at line 2368 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSessionType",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_session_type_finish ( ConsoleKitSession *  proxy,
gchar **  out_type,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_session_type_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_session_type(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_session_type().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2396 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_type);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_session_type_sync ( ConsoleKitSession *  proxy,
gchar **  out_type,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_session_type_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetSessionType">GetSessionType()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_session_type() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2428 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSessionType",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_type);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_get_unix_user ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_unix_user: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetUnixUser">GetUnixUser()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_unix_user_finish() to get the result of the operation.

See console_kit_session_call_get_unix_user_sync() for the synchronous, blocking version of this method.

Definition at line 2564 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetUnixUser",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_unix_user_finish ( ConsoleKitSession *  proxy,
guint *  out_uid,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_unix_user_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_unix_user(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_unix_user().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2592 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(u)",
                 out_uid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_unix_user_sync ( ConsoleKitSession *  proxy,
guint *  out_uid,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_unix_user_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetUnixUser">GetUnixUser()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_unix_user() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2624 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetUnixUser",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(u)",
                 out_uid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

Here is the caller graph for this function:

void console_kit_session_call_get_user ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_user: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetUser">GetUser()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_user_finish() to get the result of the operation.

See console_kit_session_call_get_user_sync() for the synchronous, blocking version of this method.

Definition at line 2466 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetUser",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_user_finish ( ConsoleKitSession *  proxy,
guint *  out_uid,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_user_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_user(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_user().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2494 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(u)",
                 out_uid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_user_sync ( ConsoleKitSession *  proxy,
guint *  out_uid,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_user_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetUser">GetUser()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_user() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2526 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetUser",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(u)",
                 out_uid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_get_x11_display ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_x11_display: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetX11Display">GetX11Display()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_x11_display_finish() to get the result of the operation.

See console_kit_session_call_get_x11_display_sync() for the synchronous, blocking version of this method.

Definition at line 2662 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetX11Display",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
void console_kit_session_call_get_x11_display_device ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_get_x11_display_device: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetX11DisplayDevice">GetX11DisplayDevice()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_get_x11_display_device_finish() to get the result of the operation.

See console_kit_session_call_get_x11_display_device_sync() for the synchronous, blocking version of this method.

Definition at line 2760 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetX11DisplayDevice",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_get_x11_display_device_finish ( ConsoleKitSession *  proxy,
gchar **  out_x11_display_device,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_x11_display_device_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_x11_display_device(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_x11_display_device().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2788 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_x11_display_device);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_x11_display_device_sync ( ConsoleKitSession *  proxy,
gchar **  out_x11_display_device,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_x11_display_device_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetX11DisplayDevice">GetX11DisplayDevice()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_x11_display_device() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2820 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetX11DisplayDevice",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_x11_display_device);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_x11_display_finish ( ConsoleKitSession *  proxy,
gchar **  out_display,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_get_x11_display_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_get_x11_display(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_get_x11_display().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2690 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_display);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_get_x11_display_sync ( ConsoleKitSession *  proxy,
gchar **  out_display,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_get_x11_display_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetX11Display">GetX11Display()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_get_x11_display() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 2722 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetX11Display",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(s)",
                 out_display);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

Here is the caller graph for this function:

void console_kit_session_call_is_active ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_is_active: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.IsActive">IsActive()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_is_active_finish() to get the result of the operation.

See console_kit_session_call_is_active_sync() for the synchronous, blocking version of this method.

Definition at line 3152 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "IsActive",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_is_active_finish ( ConsoleKitSession *  proxy,
gboolean *  out_active,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_is_active_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_is_active(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_is_active().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3180 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_active);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_is_active_sync ( ConsoleKitSession *  proxy,
gboolean *  out_active,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_is_active_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.IsActive">IsActive()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_is_active() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3212 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "IsActive",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_active);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_is_local ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_is_local: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.IsLocal">IsLocal()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_is_local_finish() to get the result of the operation.

See console_kit_session_call_is_local_sync() for the synchronous, blocking version of this method.

Definition at line 3250 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "IsLocal",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_is_local_finish ( ConsoleKitSession *  proxy,
gboolean *  out_local,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_is_local_finish: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_is_local(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_is_local().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3278 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_local);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_is_local_sync ( ConsoleKitSession *  proxy,
gboolean *  out_local,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_is_local_sync: : A #ConsoleKitSessionProxy.

: (out): Return location for return parameter or NULL to ignore. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.IsLocal">IsLocal()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_is_local() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3310 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "IsLocal",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_local);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_lock ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_lock: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.Lock">Lock()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_lock_finish() to get the result of the operation.

See console_kit_session_call_lock_sync() for the synchronous, blocking version of this method.

Definition at line 3538 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "Lock",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_lock_finish ( ConsoleKitSession *  proxy,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_lock_finish: : A #ConsoleKitSessionProxy.

: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_lock(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_lock().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3565 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_lock_sync ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_lock_sync: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.Lock">Lock()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_lock() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3594 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "Lock",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_set_idle_hint ( ConsoleKitSession *  proxy,
gboolean  arg_idle_hint,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_set_idle_hint: : A #ConsoleKitSessionProxy.

: Argument to pass with the method invocation. : (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.SetIdleHint">SetIdleHint()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_set_idle_hint_finish() to get the result of the operation.

See console_kit_session_call_set_idle_hint_sync() for the synchronous, blocking version of this method.

Definition at line 3919 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "SetIdleHint",
    g_variant_new ("(b)",
                   arg_idle_hint),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_set_idle_hint_finish ( ConsoleKitSession *  proxy,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_set_idle_hint_finish: : A #ConsoleKitSessionProxy.

: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_set_idle_hint(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_set_idle_hint().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3948 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_set_idle_hint_sync ( ConsoleKitSession *  proxy,
gboolean  arg_idle_hint,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_set_idle_hint_sync: : A #ConsoleKitSessionProxy.

: Argument to pass with the method invocation. : (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.SetIdleHint">SetIdleHint()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_set_idle_hint() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3978 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "SetIdleHint",
    g_variant_new ("(b)",
                   arg_idle_hint),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_call_unlock ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_session_call_unlock: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : A #GAsyncReadyCallback to call when the request is satisfied or NULL. : User data to pass to .

Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.Unlock">Unlock()</link> D-Bus method on . When the operation is finished, will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from. You can then call console_kit_session_call_unlock_finish() to get the result of the operation.

See console_kit_session_call_unlock_sync() for the synchronous, blocking version of this method.

Definition at line 3630 of file dbus-consolekit-session.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "Unlock",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_session_call_unlock_finish ( ConsoleKitSession *  proxy,
GAsyncResult *  res,
GError **  error 
)

console_kit_session_call_unlock_finish: : A #ConsoleKitSessionProxy.

: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_call_unlock(). : Return location for error or NULL.

Finishes an operation started with console_kit_session_call_unlock().

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3657 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_session_call_unlock_sync ( ConsoleKitSession *  proxy,
GCancellable *  cancellable,
GError **  error 
)

console_kit_session_call_unlock_sync: : A #ConsoleKitSessionProxy.

: (allow-none): A #GCancellable or NULL. : Return location for error or NULL.

Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.Unlock">Unlock()</link> D-Bus method on . The calling thread is blocked until a reply is received.

See console_kit_session_call_unlock() for the asynchronous version of this method.

Returns: (skip): TRUE if the call succeded, FALSE if is set.

Definition at line 3686 of file dbus-consolekit-session.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "Unlock",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "()");
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_session_complete_activate ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation 
)

console_kit_session_complete_activate: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.Activate">Activate()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4285 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("()"));
}
void console_kit_session_complete_get_creation_time ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
const gchar *  iso8601_datetime 
)

console_kit_session_complete_get_creation_time: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetCreationTime">GetCreationTime()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4265 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   iso8601_datetime));
}
void console_kit_session_complete_get_display_device ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
const gchar *  display_device 
)

console_kit_session_complete_get_display_device: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetDisplayDevice">GetDisplayDevice()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4160 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   display_device));
}
void console_kit_session_complete_get_id ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
const gchar *  ssid 
)

console_kit_session_complete_get_id: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetId">GetId()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4013 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(o)",
                   ssid));
}
void console_kit_session_complete_get_idle_hint ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
gboolean  idle_hint 
)

console_kit_session_complete_get_idle_hint: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetIdleHint">GetIdleHint()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4340 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(b)",
                   idle_hint));
}
void console_kit_session_complete_get_idle_since_hint ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
const gchar *  iso8601_datetime 
)

console_kit_session_complete_get_idle_since_hint: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetIdleSinceHint">GetIdleSinceHint()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4361 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   iso8601_datetime));
}
void console_kit_session_complete_get_login_session_id ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
const gchar *  login_session_id 
)

console_kit_session_complete_get_login_session_id: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetLoginSessionId">GetLoginSessionId()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4202 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   login_session_id));
}
void console_kit_session_complete_get_remote_host_name ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
const gchar *  remote_host_name 
)

console_kit_session_complete_get_remote_host_name: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetRemoteHostName">GetRemoteHostName()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4181 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   remote_host_name));
}
void console_kit_session_complete_get_seat_id ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
const gchar *  sid 
)

console_kit_session_complete_get_seat_id: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetSeatId">GetSeatId()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4034 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(o)",
                   sid));
}
void console_kit_session_complete_get_session_type ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
const gchar *  type 
)

console_kit_session_complete_get_session_type: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetSessionType">GetSessionType()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4055 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   type));
}
void console_kit_session_complete_get_unix_user ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
guint  uid 
)

console_kit_session_complete_get_unix_user: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetUnixUser">GetUnixUser()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4097 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(u)",
                   uid));
}
void console_kit_session_complete_get_user ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
guint  uid 
)

console_kit_session_complete_get_user: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetUser">GetUser()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4076 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(u)",
                   uid));
}
void console_kit_session_complete_get_x11_display ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
const gchar *  display 
)

console_kit_session_complete_get_x11_display: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetX11Display">GetX11Display()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4118 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   display));
}
void console_kit_session_complete_get_x11_display_device ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
const gchar *  x11_display_device 
)

console_kit_session_complete_get_x11_display_device: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.GetX11DisplayDevice">GetX11DisplayDevice()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4139 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(s)",
                   x11_display_device));
}
void console_kit_session_complete_is_active ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
gboolean  active 
)

console_kit_session_complete_is_active: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.IsActive">IsActive()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4223 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(b)",
                   active));
}
void console_kit_session_complete_is_local ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation,
gboolean  local 
)

console_kit_session_complete_is_local: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation. : Parameter to return.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.IsLocal">IsLocal()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4244 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(b)",
                   local));
}
void console_kit_session_complete_lock ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation 
)

console_kit_session_complete_lock: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.Lock">Lock()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4303 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("()"));
}
void console_kit_session_complete_set_idle_hint ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation 
)

console_kit_session_complete_set_idle_hint: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.SetIdleHint">SetIdleHint()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4381 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("()"));
}
void console_kit_session_complete_unlock ( ConsoleKitSession *  object,
GDBusMethodInvocation *  invocation 
)

console_kit_session_complete_unlock: : A #ConsoleKitSession.

: (transfer full): A #GDBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Session.Unlock">Unlock()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.

This method will free , you cannot use it afterwards.

Definition at line 4321 of file dbus-consolekit-session.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("()"));
}
gchar* console_kit_session_dup_display_device ( ConsoleKitSession *  object)

console_kit_session_dup_display_device: (skip) : A #ConsoleKitSession.

Gets a copy of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.display-device">"display-device"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Returns: (transfer full): The property value or NULL if the property is not set. The returned value should be freed with g_free().

Definition at line 1885 of file dbus-consolekit-session.c.

{
  gchar *value;
  g_object_get (G_OBJECT (object), "display-device", &value, NULL);
  return value;
}
gchar* console_kit_session_dup_remote_host_name ( ConsoleKitSession *  object)

console_kit_session_dup_remote_host_name: (skip) : A #ConsoleKitSession.

Gets a copy of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.remote-host-name">"remote-host-name"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Returns: (transfer full): The property value or NULL if the property is not set. The returned value should be freed with g_free().

Definition at line 1834 of file dbus-consolekit-session.c.

{
  gchar *value;
  g_object_get (G_OBJECT (object), "remote-host-name", &value, NULL);
  return value;
}
gchar* console_kit_session_dup_session_type ( ConsoleKitSession *  object)

console_kit_session_dup_session_type: (skip) : A #ConsoleKitSession.

Gets a copy of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.session-type">"session-type"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Returns: (transfer full): The property value or NULL if the property is not set. The returned value should be freed with g_free().

Definition at line 1783 of file dbus-consolekit-session.c.

{
  gchar *value;
  g_object_get (G_OBJECT (object), "session-type", &value, NULL);
  return value;
}
gchar* console_kit_session_dup_x11_display ( ConsoleKitSession *  object)

console_kit_session_dup_x11_display: (skip) : A #ConsoleKitSession.

Gets a copy of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.x11-display">"x11-display"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Returns: (transfer full): The property value or NULL if the property is not set. The returned value should be freed with g_free().

Definition at line 1936 of file dbus-consolekit-session.c.

{
  gchar *value;
  g_object_get (G_OBJECT (object), "x11-display", &value, NULL);
  return value;
}
gchar* console_kit_session_dup_x11_display_device ( ConsoleKitSession *  object)

console_kit_session_dup_x11_display_device: (skip) : A #ConsoleKitSession.

Gets a copy of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.x11-display-device">"x11-display-device"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Returns: (transfer full): The property value or NULL if the property is not set. The returned value should be freed with g_free().

Definition at line 1987 of file dbus-consolekit-session.c.

{
  gchar *value;
  g_object_get (G_OBJECT (object), "x11-display-device", &value, NULL);
  return value;
}
void console_kit_session_emit_active_changed ( ConsoleKitSession *  object,
gboolean  arg_is_active 
)

console_kit_session_emit_active_changed: : A #ConsoleKitSession.

: Argument to pass with the signal.

Emits the <link linkend="gdbus-signal-org-freedesktop-ConsoleKit-Session.ActiveChanged">"ActiveChanged"</link> D-Bus signal.

Definition at line 2110 of file dbus-consolekit-session.c.

{
  g_signal_emit_by_name (object, "active-changed", arg_is_active);
}
void console_kit_session_emit_idle_hint_changed ( ConsoleKitSession *  object,
gboolean  arg_hint 
)

console_kit_session_emit_idle_hint_changed: : A #ConsoleKitSession.

: Argument to pass with the signal.

Emits the <link linkend="gdbus-signal-org-freedesktop-ConsoleKit-Session.IdleHintChanged">"IdleHintChanged"</link> D-Bus signal.

Definition at line 2125 of file dbus-consolekit-session.c.

{
  g_signal_emit_by_name (object, "idle-hint-changed", arg_hint);
}
void console_kit_session_emit_lock ( ConsoleKitSession *  object)

console_kit_session_emit_lock: : A #ConsoleKitSession.

Emits the <link linkend="gdbus-signal-org-freedesktop-ConsoleKit-Session.Lock">"Lock"</link> D-Bus signal.

Definition at line 2139 of file dbus-consolekit-session.c.

{
  g_signal_emit_by_name (object, "lock");
}
void console_kit_session_emit_unlock ( ConsoleKitSession *  object)

console_kit_session_emit_unlock: : A #ConsoleKitSession.

Emits the <link linkend="gdbus-signal-org-freedesktop-ConsoleKit-Session.Unlock">"Unlock"</link> D-Bus signal.

Definition at line 2152 of file dbus-consolekit-session.c.

{
  g_signal_emit_by_name (object, "unlock");
}
gboolean console_kit_session_get_active ( ConsoleKitSession *  object)

console_kit_session_get_active: (skip) : A #ConsoleKitSession.

Gets the value of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.active">"active"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Returns: The property value.

Definition at line 2020 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION_GET_IFACE (object)->get_active (object);
}
const gchar* console_kit_session_get_display_device ( ConsoleKitSession *  object)

console_kit_session_get_display_device: (skip) : A #ConsoleKitSession.

Gets the value of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.display-device">"display-device"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where was constructed. Use console_kit_session_dup_display_device() if on another thread.</warning>

Returns: (transfer none): The property value or NULL if the property is not set. Do not free the returned value, it belongs to .

Definition at line 1869 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION_GET_IFACE (object)->get_display_device (object);
}
gboolean console_kit_session_get_idle_hint ( ConsoleKitSession *  object)

console_kit_session_get_idle_hint: (skip) : A #ConsoleKitSession.

Gets the value of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.idle-hint">"idle-hint"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Returns: The property value.

Definition at line 2082 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION_GET_IFACE (object)->get_idle_hint (object);
}
gboolean console_kit_session_get_is_local ( ConsoleKitSession *  object)

console_kit_session_get_is_local: (skip) : A #ConsoleKitSession.

Gets the value of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.is-local">"is-local"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Returns: The property value.

Definition at line 2051 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION_GET_IFACE (object)->get_is_local (object);
}
const gchar* console_kit_session_get_remote_host_name ( ConsoleKitSession *  object)

console_kit_session_get_remote_host_name: (skip) : A #ConsoleKitSession.

Gets the value of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.remote-host-name">"remote-host-name"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where was constructed. Use console_kit_session_dup_remote_host_name() if on another thread.</warning>

Returns: (transfer none): The property value or NULL if the property is not set. Do not free the returned value, it belongs to .

Definition at line 1818 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION_GET_IFACE (object)->get_remote_host_name (object);
}
const gchar* console_kit_session_get_session_type ( ConsoleKitSession *  object)

console_kit_session_get_session_type: (skip) : A #ConsoleKitSession.

Gets the value of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.session-type">"session-type"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where was constructed. Use console_kit_session_dup_session_type() if on another thread.</warning>

Returns: (transfer none): The property value or NULL if the property is not set. Do not free the returned value, it belongs to .

Definition at line 1767 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION_GET_IFACE (object)->get_session_type (object);
}
GType console_kit_session_get_type ( void  )
guint console_kit_session_get_unix_user ( ConsoleKitSession *  object)

console_kit_session_get_unix_user: (skip) : A #ConsoleKitSession.

Gets the value of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.unix-user">"unix-user"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Returns: The property value.

Definition at line 1703 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION_GET_IFACE (object)->get_unix_user (object);
}
guint console_kit_session_get_user ( ConsoleKitSession *  object)

console_kit_session_get_user: (skip) : A #ConsoleKitSession.

Gets the value of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.user">"user"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Returns: The property value.

Definition at line 1734 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION_GET_IFACE (object)->get_user (object);
}
const gchar* console_kit_session_get_x11_display ( ConsoleKitSession *  object)

console_kit_session_get_x11_display: (skip) : A #ConsoleKitSession.

Gets the value of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.x11-display">"x11-display"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where was constructed. Use console_kit_session_dup_x11_display() if on another thread.</warning>

Returns: (transfer none): The property value or NULL if the property is not set. Do not free the returned value, it belongs to .

Definition at line 1920 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION_GET_IFACE (object)->get_x11_display (object);
}
const gchar* console_kit_session_get_x11_display_device ( ConsoleKitSession *  object)

console_kit_session_get_x11_display_device: (skip) : A #ConsoleKitSession.

Gets the value of the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.x11-display-device">"x11-display-device"</link> D-Bus property.

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

<warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where was constructed. Use console_kit_session_dup_x11_display_device() if on another thread.</warning>

Returns: (transfer none): The property value or NULL if the property is not set. Do not free the returned value, it belongs to .

Definition at line 1971 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION_GET_IFACE (object)->get_x11_display_device (object);
}
GDBusInterfaceInfo* console_kit_session_interface_info ( void  )

console_kit_session_interface_info:

Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-ConsoleKit-Session.top_of_page">org.freedesktop.ConsoleKit.Session</link> D-Bus interface.

Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.

Definition at line 1019 of file dbus-consolekit-session.c.

{
  return (GDBusInterfaceInfo *) &_console_kit_session_interface_info;
}

Here is the caller graph for this function:

guint console_kit_session_override_properties ( GObjectClass *  klass,
guint  property_id_begin 
)

console_kit_session_override_properties: : The class structure for a #GObject-derived class.

: The property id to assign to the first overridden property.

Overrides all #GObject properties in the #ConsoleKitSession interface for a concrete class. The properties are overridden in the order they are defined.

Returns: The last property id.

Definition at line 1035 of file dbus-consolekit-session.c.

{
  g_object_class_override_property (klass, property_id_begin++, "unix-user");
  g_object_class_override_property (klass, property_id_begin++, "user");
  g_object_class_override_property (klass, property_id_begin++, "session-type");
  g_object_class_override_property (klass, property_id_begin++, "remote-host-name");
  g_object_class_override_property (klass, property_id_begin++, "display-device");
  g_object_class_override_property (klass, property_id_begin++, "x11-display");
  g_object_class_override_property (klass, property_id_begin++, "x11-display-device");
  g_object_class_override_property (klass, property_id_begin++, "active");
  g_object_class_override_property (klass, property_id_begin++, "is-local");
  g_object_class_override_property (klass, property_id_begin++, "idle-hint");
  return property_id_begin - 1;
}

Here is the caller graph for this function:

void console_kit_session_proxy_new ( GDBusConnection *  connection,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

Definition at line 4764 of file dbus-consolekit-session.c.

{
  g_async_initable_new_async (TYPE_CONSOLE_KIT_SESSION_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.freedesktop.ConsoleKit.Session", NULL);
}
ConsoleKitSession* console_kit_session_proxy_new_finish ( GAsyncResult *  res,
GError **  error 
)

console_kit_session_proxy_new_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_proxy_new().

: Return location for error or NULL

Finishes an operation started with console_kit_session_proxy_new().

Returns: (transfer full) (type ConsoleKitSessionProxy): The constructed proxy object or NULL if is set.

Definition at line 4786 of file dbus-consolekit-session.c.

{
  GObject *ret;
  GObject *source_object;
  source_object = g_async_result_get_source_object (res);
  ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
  g_object_unref (source_object);
  if (ret != NULL)
    return CONSOLE_KIT_SESSION (ret);
  else
    return NULL;
}
void console_kit_session_proxy_new_for_bus ( GBusType  bus_type,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

Definition at line 4854 of file dbus-consolekit-session.c.

{
  g_async_initable_new_async (TYPE_CONSOLE_KIT_SESSION_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.freedesktop.ConsoleKit.Session", NULL);
}
ConsoleKitSession* console_kit_session_proxy_new_for_bus_finish ( GAsyncResult *  res,
GError **  error 
)

console_kit_session_proxy_new_for_bus_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_session_proxy_new_for_bus().

: Return location for error or NULL

Finishes an operation started with console_kit_session_proxy_new_for_bus().

Returns: (transfer full) (type ConsoleKitSessionProxy): The constructed proxy object or NULL if is set.

Definition at line 4876 of file dbus-consolekit-session.c.

{
  GObject *ret;
  GObject *source_object;
  source_object = g_async_result_get_source_object (res);
  ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
  g_object_unref (source_object);
  if (ret != NULL)
    return CONSOLE_KIT_SESSION (ret);
  else
    return NULL;
}
ConsoleKitSession* console_kit_session_proxy_new_for_bus_sync ( GBusType  bus_type,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GError **  error 
)

Definition at line 4909 of file dbus-consolekit-session.c.

{
  GInitable *ret;
  ret = g_initable_new (TYPE_CONSOLE_KIT_SESSION_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.freedesktop.ConsoleKit.Session", NULL);
  if (ret != NULL)
    return CONSOLE_KIT_SESSION (ret);
  else
    return NULL;
}

Here is the caller graph for this function:

ConsoleKitSession* console_kit_session_proxy_new_sync ( GDBusConnection *  connection,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GError **  error 
)

Definition at line 4819 of file dbus-consolekit-session.c.

{
  GInitable *ret;
  ret = g_initable_new (TYPE_CONSOLE_KIT_SESSION_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.freedesktop.ConsoleKit.Session", NULL);
  if (ret != NULL)
    return CONSOLE_KIT_SESSION (ret);
  else
    return NULL;
}
void console_kit_session_set_active ( ConsoleKitSession *  object,
gboolean  value 
)

console_kit_session_set_active: (skip) : A #ConsoleKitSession.

: The value to set.

Sets the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.active">"active"</link> D-Bus property to .

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Definition at line 2035 of file dbus-consolekit-session.c.

{
  g_object_set (G_OBJECT (object), "active", value, NULL);
}
void console_kit_session_set_display_device ( ConsoleKitSession *  object,
const gchar *  value 
)

console_kit_session_set_display_device: (skip) : A #ConsoleKitSession.

: The value to set.

Sets the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.display-device">"display-device"</link> D-Bus property to .

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Definition at line 1902 of file dbus-consolekit-session.c.

{
  g_object_set (G_OBJECT (object), "display-device", value, NULL);
}
void console_kit_session_set_idle_hint ( ConsoleKitSession *  object,
gboolean  value 
)

console_kit_session_set_idle_hint: (skip) : A #ConsoleKitSession.

: The value to set.

Sets the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.idle-hint">"idle-hint"</link> D-Bus property to .

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Definition at line 2097 of file dbus-consolekit-session.c.

{
  g_object_set (G_OBJECT (object), "idle-hint", value, NULL);
}
void console_kit_session_set_is_local ( ConsoleKitSession *  object,
gboolean  value 
)

console_kit_session_set_is_local: (skip) : A #ConsoleKitSession.

: The value to set.

Sets the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.is-local">"is-local"</link> D-Bus property to .

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Definition at line 2066 of file dbus-consolekit-session.c.

{
  g_object_set (G_OBJECT (object), "is-local", value, NULL);
}
void console_kit_session_set_remote_host_name ( ConsoleKitSession *  object,
const gchar *  value 
)

console_kit_session_set_remote_host_name: (skip) : A #ConsoleKitSession.

: The value to set.

Sets the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.remote-host-name">"remote-host-name"</link> D-Bus property to .

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Definition at line 1851 of file dbus-consolekit-session.c.

{
  g_object_set (G_OBJECT (object), "remote-host-name", value, NULL);
}
void console_kit_session_set_session_type ( ConsoleKitSession *  object,
const gchar *  value 
)

console_kit_session_set_session_type: (skip) : A #ConsoleKitSession.

: The value to set.

Sets the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.session-type">"session-type"</link> D-Bus property to .

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Definition at line 1800 of file dbus-consolekit-session.c.

{
  g_object_set (G_OBJECT (object), "session-type", value, NULL);
}
void console_kit_session_set_unix_user ( ConsoleKitSession *  object,
guint  value 
)

console_kit_session_set_unix_user: (skip) : A #ConsoleKitSession.

: The value to set.

Sets the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.unix-user">"unix-user"</link> D-Bus property to .

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Definition at line 1718 of file dbus-consolekit-session.c.

{
  g_object_set (G_OBJECT (object), "unix-user", value, NULL);
}
void console_kit_session_set_user ( ConsoleKitSession *  object,
guint  value 
)

console_kit_session_set_user: (skip) : A #ConsoleKitSession.

: The value to set.

Sets the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.user">"user"</link> D-Bus property to .

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Definition at line 1749 of file dbus-consolekit-session.c.

{
  g_object_set (G_OBJECT (object), "user", value, NULL);
}
void console_kit_session_set_x11_display ( ConsoleKitSession *  object,
const gchar *  value 
)

console_kit_session_set_x11_display: (skip) : A #ConsoleKitSession.

: The value to set.

Sets the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.x11-display">"x11-display"</link> D-Bus property to .

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Definition at line 1953 of file dbus-consolekit-session.c.

{
  g_object_set (G_OBJECT (object), "x11-display", value, NULL);
}
void console_kit_session_set_x11_display_device ( ConsoleKitSession *  object,
const gchar *  value 
)

console_kit_session_set_x11_display_device: (skip) : A #ConsoleKitSession.

: The value to set.

Sets the <link linkend="gdbus-property-org-freedesktop-ConsoleKit-Session.x11-display-device">"x11-display-device"</link> D-Bus property to .

Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side.

Definition at line 2004 of file dbus-consolekit-session.c.

{
  g_object_set (G_OBJECT (object), "x11-display-device", value, NULL);
}
ConsoleKitSession* console_kit_session_skeleton_new ( void  )

console_kit_session_skeleton_new:

Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-ConsoleKit-Session.top_of_page">org.freedesktop.ConsoleKit.Session</link>.

Returns: (transfer full) (type ConsoleKitSessionSkeleton): The skeleton object.

Definition at line 5583 of file dbus-consolekit-session.c.

{
  return CONSOLE_KIT_SESSION (g_object_new (TYPE_CONSOLE_KIT_SESSION_SKELETON, NULL));
}