Back to index

indicator-session  12.10.0
Classes | Defines | Typedefs | Functions
dbus-consolekit-seat.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  _ConsoleKitSeatIface
struct  _ConsoleKitSeatProxy
struct  _ConsoleKitSeatProxyClass
struct  _ConsoleKitSeatSkeleton
struct  _ConsoleKitSeatSkeletonClass

Defines

#define TYPE_CONSOLE_KIT_SEAT   (console_kit_seat_get_type ())
#define CONSOLE_KIT_SEAT(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SEAT, ConsoleKitSeat))
#define IS_CONSOLE_KIT_SEAT(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SEAT))
#define CONSOLE_KIT_SEAT_GET_IFACE(o)   (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONSOLE_KIT_SEAT, ConsoleKitSeatIface))
#define TYPE_CONSOLE_KIT_SEAT_PROXY   (console_kit_seat_proxy_get_type ())
#define CONSOLE_KIT_SEAT_PROXY(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SEAT_PROXY, ConsoleKitSeatProxy))
#define CONSOLE_KIT_SEAT_PROXY_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_SEAT_PROXY, ConsoleKitSeatProxyClass))
#define CONSOLE_KIT_SEAT_PROXY_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_SEAT_PROXY, ConsoleKitSeatProxyClass))
#define IS_CONSOLE_KIT_SEAT_PROXY(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SEAT_PROXY))
#define IS_CONSOLE_KIT_SEAT_PROXY_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_SEAT_PROXY))
#define TYPE_CONSOLE_KIT_SEAT_SKELETON   (console_kit_seat_skeleton_get_type ())
#define CONSOLE_KIT_SEAT_SKELETON(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SEAT_SKELETON, ConsoleKitSeatSkeleton))
#define CONSOLE_KIT_SEAT_SKELETON_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_SEAT_SKELETON, ConsoleKitSeatSkeletonClass))
#define CONSOLE_KIT_SEAT_SKELETON_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_SEAT_SKELETON, ConsoleKitSeatSkeletonClass))
#define IS_CONSOLE_KIT_SEAT_SKELETON(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SEAT_SKELETON))
#define IS_CONSOLE_KIT_SEAT_SKELETON_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_SEAT_SKELETON))

Typedefs

typedef struct _ConsoleKitSeat
typedef struct _ConsoleKitSeatIface
typedef struct _ConsoleKitSeatProxy
typedef struct _ConsoleKitSeatProxyClass
typedef struct _ConsoleKitSeatProxyPrivate
typedef struct _ConsoleKitSeatSkeleton
typedef struct _ConsoleKitSeatSkeletonClass
typedef struct _ConsoleKitSeatSkeletonPrivate

Functions

GType console_kit_seat_get_type (void) G_GNUC_CONST
GDBusInterfaceInfo * console_kit_seat_interface_info (void)
 console_kit_seat_interface_info:
guint console_kit_seat_override_properties (GObjectClass *klass, guint property_id_begin)
 console_kit_seat_override_properties: : The class structure for a #GObject-derived class.
void console_kit_seat_complete_get_id (ConsoleKitSeat *object, GDBusMethodInvocation *invocation, const gchar *sid)
 console_kit_seat_complete_get_id: : A #ConsoleKitSeat.
void console_kit_seat_complete_get_sessions (ConsoleKitSeat *object, GDBusMethodInvocation *invocation, const gchar *const *sessions)
 console_kit_seat_complete_get_sessions: : A #ConsoleKitSeat.
void console_kit_seat_complete_get_devices (ConsoleKitSeat *object, GDBusMethodInvocation *invocation, GVariant *devices)
 console_kit_seat_complete_get_devices: : A #ConsoleKitSeat.
void console_kit_seat_complete_get_active_session (ConsoleKitSeat *object, GDBusMethodInvocation *invocation, const gchar *ssid)
 console_kit_seat_complete_get_active_session: : A #ConsoleKitSeat.
void console_kit_seat_complete_can_activate_sessions (ConsoleKitSeat *object, GDBusMethodInvocation *invocation, gboolean can_activate)
 console_kit_seat_complete_can_activate_sessions: : A #ConsoleKitSeat.
void console_kit_seat_complete_activate_session (ConsoleKitSeat *object, GDBusMethodInvocation *invocation)
 console_kit_seat_complete_activate_session: : A #ConsoleKitSeat.
void console_kit_seat_emit_active_session_changed (ConsoleKitSeat *object, const gchar *arg_ssid)
 console_kit_seat_emit_active_session_changed: : A #ConsoleKitSeat.
void console_kit_seat_emit_session_added (ConsoleKitSeat *object, const gchar *arg_ssid)
 console_kit_seat_emit_session_added: : A #ConsoleKitSeat.
void console_kit_seat_emit_session_removed (ConsoleKitSeat *object, const gchar *arg_ssid)
 console_kit_seat_emit_session_removed: : A #ConsoleKitSeat.
void console_kit_seat_emit_device_added (ConsoleKitSeat *object, GVariant *arg_device)
 console_kit_seat_emit_device_added: : A #ConsoleKitSeat.
void console_kit_seat_emit_device_removed (ConsoleKitSeat *object, GVariant *arg_device)
 console_kit_seat_emit_device_removed: : A #ConsoleKitSeat.
void console_kit_seat_call_get_id (ConsoleKitSeat *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_seat_call_get_id: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_get_id_finish (ConsoleKitSeat *proxy, gchar **out_sid, GAsyncResult *res, GError **error)
 console_kit_seat_call_get_id_finish: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_get_id_sync (ConsoleKitSeat *proxy, gchar **out_sid, GCancellable *cancellable, GError **error)
 console_kit_seat_call_get_id_sync: : A #ConsoleKitSeatProxy.
void console_kit_seat_call_get_sessions (ConsoleKitSeat *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_seat_call_get_sessions: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_get_sessions_finish (ConsoleKitSeat *proxy, gchar ***out_sessions, GAsyncResult *res, GError **error)
 console_kit_seat_call_get_sessions_finish: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_get_sessions_sync (ConsoleKitSeat *proxy, gchar ***out_sessions, GCancellable *cancellable, GError **error)
 console_kit_seat_call_get_sessions_sync: : A #ConsoleKitSeatProxy.
void console_kit_seat_call_get_devices (ConsoleKitSeat *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_seat_call_get_devices: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_get_devices_finish (ConsoleKitSeat *proxy, GVariant **out_devices, GAsyncResult *res, GError **error)
 console_kit_seat_call_get_devices_finish: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_get_devices_sync (ConsoleKitSeat *proxy, GVariant **out_devices, GCancellable *cancellable, GError **error)
 console_kit_seat_call_get_devices_sync: : A #ConsoleKitSeatProxy.
void console_kit_seat_call_get_active_session (ConsoleKitSeat *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_seat_call_get_active_session: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_get_active_session_finish (ConsoleKitSeat *proxy, gchar **out_ssid, GAsyncResult *res, GError **error)
 console_kit_seat_call_get_active_session_finish: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_get_active_session_sync (ConsoleKitSeat *proxy, gchar **out_ssid, GCancellable *cancellable, GError **error)
 console_kit_seat_call_get_active_session_sync: : A #ConsoleKitSeatProxy.
void console_kit_seat_call_can_activate_sessions (ConsoleKitSeat *proxy, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_seat_call_can_activate_sessions: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_can_activate_sessions_finish (ConsoleKitSeat *proxy, gboolean *out_can_activate, GAsyncResult *res, GError **error)
 console_kit_seat_call_can_activate_sessions_finish: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_can_activate_sessions_sync (ConsoleKitSeat *proxy, gboolean *out_can_activate, GCancellable *cancellable, GError **error)
 console_kit_seat_call_can_activate_sessions_sync: : A #ConsoleKitSeatProxy.
void console_kit_seat_call_activate_session (ConsoleKitSeat *proxy, const gchar *arg_ssid, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 console_kit_seat_call_activate_session: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_activate_session_finish (ConsoleKitSeat *proxy, GAsyncResult *res, GError **error)
 console_kit_seat_call_activate_session_finish: : A #ConsoleKitSeatProxy.
gboolean console_kit_seat_call_activate_session_sync (ConsoleKitSeat *proxy, const gchar *arg_ssid, GCancellable *cancellable, GError **error)
 console_kit_seat_call_activate_session_sync: : A #ConsoleKitSeatProxy.
GType console_kit_seat_proxy_get_type (void) G_GNUC_CONST
void console_kit_seat_proxy_new (GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
ConsoleKitSeat * console_kit_seat_proxy_new_finish (GAsyncResult *res, GError **error)
 console_kit_seat_proxy_new_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_seat_proxy_new().
ConsoleKitSeat * console_kit_seat_proxy_new_sync (GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
void console_kit_seat_proxy_new_for_bus (GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
ConsoleKitSeat * console_kit_seat_proxy_new_for_bus_finish (GAsyncResult *res, GError **error)
 console_kit_seat_proxy_new_for_bus_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_seat_proxy_new_for_bus().
ConsoleKitSeat * console_kit_seat_proxy_new_for_bus_sync (GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
GType console_kit_seat_skeleton_get_type (void) G_GNUC_CONST
ConsoleKitSeat * console_kit_seat_skeleton_new (void)
 console_kit_seat_skeleton_new:

Class Documentation

struct _ConsoleKitSeatProxy

Definition at line 264 of file dbus-consolekit-seat.h.

Class Members
GDBusProxy parent_instance
ConsoleKitSeatProxyPrivate * priv
struct _ConsoleKitSeatProxyClass

Definition at line 271 of file dbus-consolekit-seat.h.

Class Members
GDBusProxyClass parent_class
struct _ConsoleKitSeatSkeleton

Definition at line 330 of file dbus-consolekit-seat.h.

Class Members
GDBusInterfaceSkeleton parent_instance
ConsoleKitSeatSkeletonPrivate * priv
struct _ConsoleKitSeatSkeletonClass

Definition at line 337 of file dbus-consolekit-seat.h.

Class Members
GDBusInterfaceSkeletonClass parent_class

Define Documentation

#define CONSOLE_KIT_SEAT (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SEAT, ConsoleKitSeat))

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

#define CONSOLE_KIT_SEAT_GET_IFACE (   o)    (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_CONSOLE_KIT_SEAT, ConsoleKitSeatIface))

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

#define CONSOLE_KIT_SEAT_PROXY (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SEAT_PROXY, ConsoleKitSeatProxy))

Definition at line 254 of file dbus-consolekit-seat.h.

#define CONSOLE_KIT_SEAT_PROXY_CLASS (   k)    (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_SEAT_PROXY, ConsoleKitSeatProxyClass))

Definition at line 255 of file dbus-consolekit-seat.h.

#define CONSOLE_KIT_SEAT_PROXY_GET_CLASS (   o)    (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_SEAT_PROXY, ConsoleKitSeatProxyClass))

Definition at line 256 of file dbus-consolekit-seat.h.

#define CONSOLE_KIT_SEAT_SKELETON (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_CONSOLE_KIT_SEAT_SKELETON, ConsoleKitSeatSkeleton))

Definition at line 320 of file dbus-consolekit-seat.h.

#define CONSOLE_KIT_SEAT_SKELETON_CLASS (   k)    (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_CONSOLE_KIT_SEAT_SKELETON, ConsoleKitSeatSkeletonClass))

Definition at line 321 of file dbus-consolekit-seat.h.

#define CONSOLE_KIT_SEAT_SKELETON_GET_CLASS (   o)    (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_CONSOLE_KIT_SEAT_SKELETON, ConsoleKitSeatSkeletonClass))

Definition at line 322 of file dbus-consolekit-seat.h.

#define IS_CONSOLE_KIT_SEAT (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SEAT))

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

#define IS_CONSOLE_KIT_SEAT_PROXY (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SEAT_PROXY))

Definition at line 257 of file dbus-consolekit-seat.h.

#define IS_CONSOLE_KIT_SEAT_PROXY_CLASS (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_SEAT_PROXY))

Definition at line 258 of file dbus-consolekit-seat.h.

#define IS_CONSOLE_KIT_SEAT_SKELETON (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_CONSOLE_KIT_SEAT_SKELETON))

Definition at line 323 of file dbus-consolekit-seat.h.

#define IS_CONSOLE_KIT_SEAT_SKELETON_CLASS (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_CONSOLE_KIT_SEAT_SKELETON))

Definition at line 324 of file dbus-consolekit-seat.h.

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

Definition at line 253 of file dbus-consolekit-seat.h.

Definition at line 319 of file dbus-consolekit-seat.h.


Typedef Documentation

typedef struct _ConsoleKitSeat

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

typedef struct _ConsoleKitSeatIface

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

typedef struct _ConsoleKitSeatProxy

Definition at line 260 of file dbus-consolekit-seat.h.

typedef struct _ConsoleKitSeatProxyClass

Definition at line 261 of file dbus-consolekit-seat.h.

Definition at line 262 of file dbus-consolekit-seat.h.

typedef struct _ConsoleKitSeatSkeleton

Definition at line 326 of file dbus-consolekit-seat.h.

Definition at line 327 of file dbus-consolekit-seat.h.

Definition at line 328 of file dbus-consolekit-seat.h.


Function Documentation

void console_kit_seat_call_activate_session ( ConsoleKitSeat *  proxy,
const gchar *  arg_ssid,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_seat_call_activate_session: : A #ConsoleKitSeatProxy.

: 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-Seat.ActivateSession">ActivateSession()</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_seat_call_activate_session_finish() to get the result of the operation.

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

Definition at line 1408 of file dbus-consolekit-seat.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "ActivateSession",
    g_variant_new ("(o)",
                   arg_ssid),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_seat_call_activate_session_finish ( ConsoleKitSeat *  proxy,
GAsyncResult *  res,
GError **  error 
)

console_kit_seat_call_activate_session_finish: : A #ConsoleKitSeatProxy.

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

Finishes an operation started with console_kit_seat_call_activate_session().

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

Definition at line 1437 of file dbus-consolekit-seat.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_seat_call_activate_session_sync ( ConsoleKitSeat *  proxy,
const gchar *  arg_ssid,
GCancellable *  cancellable,
GError **  error 
)

console_kit_seat_call_activate_session_sync: : A #ConsoleKitSeatProxy.

: 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-Seat.ActivateSession">ActivateSession()</link> D-Bus method on . The calling thread is blocked until a reply is received.

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

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

Definition at line 1467 of file dbus-consolekit-seat.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "ActivateSession",
    g_variant_new ("(o)",
                   arg_ssid),
    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_seat_call_can_activate_sessions ( ConsoleKitSeat *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_seat_call_can_activate_sessions: : A #ConsoleKitSeatProxy.

: (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-Seat.CanActivateSessions">CanActivateSessions()</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_seat_call_can_activate_sessions_finish() to get the result of the operation.

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

Definition at line 1309 of file dbus-consolekit-seat.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "CanActivateSessions",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_seat_call_can_activate_sessions_finish ( ConsoleKitSeat *  proxy,
gboolean *  out_can_activate,
GAsyncResult *  res,
GError **  error 
)

console_kit_seat_call_can_activate_sessions_finish: : A #ConsoleKitSeatProxy.

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

Finishes an operation started with console_kit_seat_call_can_activate_sessions().

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

Definition at line 1337 of file dbus-consolekit-seat.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_can_activate);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_seat_call_can_activate_sessions_sync ( ConsoleKitSeat *  proxy,
gboolean *  out_can_activate,
GCancellable *  cancellable,
GError **  error 
)

console_kit_seat_call_can_activate_sessions_sync: : A #ConsoleKitSeatProxy.

: (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-Seat.CanActivateSessions">CanActivateSessions()</link> D-Bus method on . The calling thread is blocked until a reply is received.

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

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

Definition at line 1369 of file dbus-consolekit-seat.c.

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

Here is the caller graph for this function:

void console_kit_seat_call_get_active_session ( ConsoleKitSeat *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_seat_call_get_active_session: : A #ConsoleKitSeatProxy.

: (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-Seat.GetActiveSession">GetActiveSession()</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_seat_call_get_active_session_finish() to get the result of the operation.

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

Definition at line 1211 of file dbus-consolekit-seat.c.

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

console_kit_seat_call_get_active_session_finish: : A #ConsoleKitSeatProxy.

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

Finishes an operation started with console_kit_seat_call_get_active_session().

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

Definition at line 1239 of file dbus-consolekit-seat.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_seat_call_get_active_session_sync ( ConsoleKitSeat *  proxy,
gchar **  out_ssid,
GCancellable *  cancellable,
GError **  error 
)

console_kit_seat_call_get_active_session_sync: : A #ConsoleKitSeatProxy.

: (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-Seat.GetActiveSession">GetActiveSession()</link> D-Bus method on . The calling thread is blocked until a reply is received.

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

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

Definition at line 1271 of file dbus-consolekit-seat.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetActiveSession",
    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_seat_call_get_devices ( ConsoleKitSeat *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_seat_call_get_devices: : A #ConsoleKitSeatProxy.

: (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-Seat.GetDevices">GetDevices()</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_seat_call_get_devices_finish() to get the result of the operation.

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

Definition at line 1113 of file dbus-consolekit-seat.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetDevices",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean console_kit_seat_call_get_devices_finish ( ConsoleKitSeat *  proxy,
GVariant **  out_devices,
GAsyncResult *  res,
GError **  error 
)

console_kit_seat_call_get_devices_finish: : A #ConsoleKitSeatProxy.

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

Finishes an operation started with console_kit_seat_call_get_devices().

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

Definition at line 1141 of file dbus-consolekit-seat.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(@a(ss))",
                 out_devices);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean console_kit_seat_call_get_devices_sync ( ConsoleKitSeat *  proxy,
GVariant **  out_devices,
GCancellable *  cancellable,
GError **  error 
)

console_kit_seat_call_get_devices_sync: : A #ConsoleKitSeatProxy.

: (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-Seat.GetDevices">GetDevices()</link> D-Bus method on . The calling thread is blocked until a reply is received.

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

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

Definition at line 1173 of file dbus-consolekit-seat.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetDevices",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(@a(ss))",
                 out_devices);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_seat_call_get_id ( ConsoleKitSeat *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_seat_call_get_id: : A #ConsoleKitSeatProxy.

: (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-Seat.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_seat_call_get_id_finish() to get the result of the operation.

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

Definition at line 917 of file dbus-consolekit-seat.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_seat_call_get_id_finish ( ConsoleKitSeat *  proxy,
gchar **  out_sid,
GAsyncResult *  res,
GError **  error 
)

console_kit_seat_call_get_id_finish: : A #ConsoleKitSeatProxy.

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

Finishes an operation started with console_kit_seat_call_get_id().

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

Definition at line 945 of file dbus-consolekit-seat.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_seat_call_get_id_sync ( ConsoleKitSeat *  proxy,
gchar **  out_sid,
GCancellable *  cancellable,
GError **  error 
)

console_kit_seat_call_get_id_sync: : A #ConsoleKitSeatProxy.

: (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-Seat.GetId">GetId()</link> D-Bus method on . The calling thread is blocked until a reply is received.

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

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

Definition at line 977 of file dbus-consolekit-seat.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_sid);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_seat_call_get_sessions ( ConsoleKitSeat *  proxy,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

console_kit_seat_call_get_sessions: : A #ConsoleKitSeatProxy.

: (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-Seat.GetSessions">GetSessions()</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_seat_call_get_sessions_finish() to get the result of the operation.

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

Definition at line 1015 of file dbus-consolekit-seat.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "GetSessions",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}

Here is the caller graph for this function:

gboolean console_kit_seat_call_get_sessions_finish ( ConsoleKitSeat *  proxy,
gchar ***  out_sessions,
GAsyncResult *  res,
GError **  error 
)

console_kit_seat_call_get_sessions_finish: : A #ConsoleKitSeatProxy.

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

Finishes an operation started with console_kit_seat_call_get_sessions().

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

Definition at line 1043 of file dbus-consolekit-seat.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^ao)",
                 out_sessions);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}

Here is the caller graph for this function:

gboolean console_kit_seat_call_get_sessions_sync ( ConsoleKitSeat *  proxy,
gchar ***  out_sessions,
GCancellable *  cancellable,
GError **  error 
)

console_kit_seat_call_get_sessions_sync: : A #ConsoleKitSeatProxy.

: (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-Seat.GetSessions">GetSessions()</link> D-Bus method on . The calling thread is blocked until a reply is received.

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

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

Definition at line 1075 of file dbus-consolekit-seat.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "GetSessions",
    g_variant_new ("()"),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(^ao)",
                 out_sessions);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void console_kit_seat_complete_activate_session ( ConsoleKitSeat *  object,
GDBusMethodInvocation *  invocation 
)

console_kit_seat_complete_activate_session: : A #ConsoleKitSeat.

: (transfer full): A #GDBusMethodInvocation.

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-ConsoleKit-Seat.ActivateSession">ActivateSession()</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 1606 of file dbus-consolekit-seat.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("()"));
}
void console_kit_seat_complete_can_activate_sessions ( ConsoleKitSeat *  object,
GDBusMethodInvocation *  invocation,
gboolean  can_activate 
)

console_kit_seat_complete_can_activate_sessions: : A #ConsoleKitSeat.

: (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-Seat.CanActivateSessions">CanActivateSessions()</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 1586 of file dbus-consolekit-seat.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(b)",
                   can_activate));
}
void console_kit_seat_complete_get_active_session ( ConsoleKitSeat *  object,
GDBusMethodInvocation *  invocation,
const gchar *  ssid 
)

console_kit_seat_complete_get_active_session: : A #ConsoleKitSeat.

: (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-Seat.GetActiveSession">GetActiveSession()</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 1565 of file dbus-consolekit-seat.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(o)",
                   ssid));
}
void console_kit_seat_complete_get_devices ( ConsoleKitSeat *  object,
GDBusMethodInvocation *  invocation,
GVariant *  devices 
)

console_kit_seat_complete_get_devices: : A #ConsoleKitSeat.

: (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-Seat.GetDevices">GetDevices()</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 1544 of file dbus-consolekit-seat.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(@a(ss))",
                   devices));
}
void console_kit_seat_complete_get_id ( ConsoleKitSeat *  object,
GDBusMethodInvocation *  invocation,
const gchar *  sid 
)

console_kit_seat_complete_get_id: : A #ConsoleKitSeat.

: (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-Seat.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 1502 of file dbus-consolekit-seat.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(o)",
                   sid));
}
void console_kit_seat_complete_get_sessions ( ConsoleKitSeat *  object,
GDBusMethodInvocation *  invocation,
const gchar *const *  sessions 
)

console_kit_seat_complete_get_sessions: : A #ConsoleKitSeat.

: (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-Seat.GetSessions">GetSessions()</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 1523 of file dbus-consolekit-seat.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(^ao)",
                   sessions));
}
void console_kit_seat_emit_active_session_changed ( ConsoleKitSeat *  object,
const gchar *  arg_ssid 
)

console_kit_seat_emit_active_session_changed: : A #ConsoleKitSeat.

: Argument to pass with the signal.

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

Definition at line 836 of file dbus-consolekit-seat.c.

{
  g_signal_emit_by_name (object, "active-session-changed", arg_ssid);
}
void console_kit_seat_emit_device_added ( ConsoleKitSeat *  object,
GVariant *  arg_device 
)

console_kit_seat_emit_device_added: : A #ConsoleKitSeat.

: Argument to pass with the signal.

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

Definition at line 881 of file dbus-consolekit-seat.c.

{
  g_signal_emit_by_name (object, "device-added", arg_device);
}
void console_kit_seat_emit_device_removed ( ConsoleKitSeat *  object,
GVariant *  arg_device 
)

console_kit_seat_emit_device_removed: : A #ConsoleKitSeat.

: Argument to pass with the signal.

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

Definition at line 896 of file dbus-consolekit-seat.c.

{
  g_signal_emit_by_name (object, "device-removed", arg_device);
}
void console_kit_seat_emit_session_added ( ConsoleKitSeat *  object,
const gchar *  arg_ssid 
)

console_kit_seat_emit_session_added: : A #ConsoleKitSeat.

: Argument to pass with the signal.

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

Definition at line 851 of file dbus-consolekit-seat.c.

{
  g_signal_emit_by_name (object, "session-added", arg_ssid);
}
void console_kit_seat_emit_session_removed ( ConsoleKitSeat *  object,
const gchar *  arg_ssid 
)

console_kit_seat_emit_session_removed: : A #ConsoleKitSeat.

: Argument to pass with the signal.

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

Definition at line 866 of file dbus-consolekit-seat.c.

{
  g_signal_emit_by_name (object, "session-removed", arg_ssid);
}
GType console_kit_seat_get_type ( void  )
GDBusInterfaceInfo* console_kit_seat_interface_info ( void  )

console_kit_seat_interface_info:

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

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

Definition at line 543 of file dbus-consolekit-seat.c.

{
  return (GDBusInterfaceInfo *) &_console_kit_seat_interface_info;
}

Here is the caller graph for this function:

guint console_kit_seat_override_properties ( GObjectClass *  klass,
guint  property_id_begin 
)

console_kit_seat_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 #ConsoleKitSeat interface for a concrete class. The properties are overridden in the order they are defined.

Returns: The last property id.

Definition at line 559 of file dbus-consolekit-seat.c.

{
  return property_id_begin - 1;
}
void console_kit_seat_proxy_new ( GDBusConnection *  connection,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

Definition at line 1782 of file dbus-consolekit-seat.c.

{
  g_async_initable_new_async (TYPE_CONSOLE_KIT_SEAT_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.Seat", NULL);
}
ConsoleKitSeat* console_kit_seat_proxy_new_finish ( GAsyncResult *  res,
GError **  error 
)

console_kit_seat_proxy_new_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_seat_proxy_new().

: Return location for error or NULL

Finishes an operation started with console_kit_seat_proxy_new().

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

Definition at line 1804 of file dbus-consolekit-seat.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_SEAT (ret);
  else
    return NULL;
}
void console_kit_seat_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 1872 of file dbus-consolekit-seat.c.

{
  g_async_initable_new_async (TYPE_CONSOLE_KIT_SEAT_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.Seat", NULL);
}
ConsoleKitSeat* console_kit_seat_proxy_new_for_bus_finish ( GAsyncResult *  res,
GError **  error 
)

console_kit_seat_proxy_new_for_bus_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to console_kit_seat_proxy_new_for_bus().

: Return location for error or NULL

Finishes an operation started with console_kit_seat_proxy_new_for_bus().

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

Definition at line 1894 of file dbus-consolekit-seat.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_SEAT (ret);
  else
    return NULL;
}
ConsoleKitSeat* console_kit_seat_proxy_new_for_bus_sync ( GBusType  bus_type,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GError **  error 
)

Definition at line 1927 of file dbus-consolekit-seat.c.

{
  GInitable *ret;
  ret = g_initable_new (TYPE_CONSOLE_KIT_SEAT_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.Seat", NULL);
  if (ret != NULL)
    return CONSOLE_KIT_SEAT (ret);
  else
    return NULL;
}

Here is the caller graph for this function:

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

Definition at line 1837 of file dbus-consolekit-seat.c.

{
  GInitable *ret;
  ret = g_initable_new (TYPE_CONSOLE_KIT_SEAT_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.freedesktop.ConsoleKit.Seat", NULL);
  if (ret != NULL)
    return CONSOLE_KIT_SEAT (ret);
  else
    return NULL;
}
ConsoleKitSeat* console_kit_seat_skeleton_new ( void  )

console_kit_seat_skeleton_new:

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

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

Definition at line 2335 of file dbus-consolekit-seat.c.

{
  return CONSOLE_KIT_SEAT (g_object_new (TYPE_CONSOLE_KIT_SEAT_SKELETON, NULL));
}