Back to index

bamf  0.2.120
Classes | Defines | Typedefs | Functions
bamf-gdbus-indicator-source-generated.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  _StatusNotifierApproverIface
struct  _StatusNotifierApproverProxy
struct  _StatusNotifierApproverProxyClass
struct  _StatusNotifierApproverSkeleton
struct  _StatusNotifierApproverSkeletonClass

Defines

#define STATUS_NOTIFIER_APPROVER_TYPE_   (status_notifier_approver__get_type ())
#define STATUS_NOTIFIER_APPROVER_(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), STATUS_NOTIFIER_APPROVER_TYPE_, StatusNotifierApprover))
#define STATUS_NOTIFIER_APPROVER_IS_(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), STATUS_NOTIFIER_APPROVER_TYPE_))
#define STATUS_NOTIFIER_APPROVER__GET_IFACE(o)   (G_TYPE_INSTANCE_GET_INTERFACE ((o), STATUS_NOTIFIER_APPROVER_TYPE_, StatusNotifierApproverIface))
#define STATUS_NOTIFIER_APPROVER_TYPE__PROXY   (status_notifier_approver__proxy_get_type ())
#define STATUS_NOTIFIER_APPROVER__PROXY(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), STATUS_NOTIFIER_APPROVER_TYPE__PROXY, StatusNotifierApproverProxy))
#define STATUS_NOTIFIER_APPROVER__PROXY_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST ((k), STATUS_NOTIFIER_APPROVER_TYPE__PROXY, StatusNotifierApproverProxyClass))
#define STATUS_NOTIFIER_APPROVER__PROXY_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), STATUS_NOTIFIER_APPROVER_TYPE__PROXY, StatusNotifierApproverProxyClass))
#define STATUS_NOTIFIER_APPROVER_IS__PROXY(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), STATUS_NOTIFIER_APPROVER_TYPE__PROXY))
#define STATUS_NOTIFIER_APPROVER_IS__PROXY_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), STATUS_NOTIFIER_APPROVER_TYPE__PROXY))
#define STATUS_NOTIFIER_APPROVER_TYPE__SKELETON   (status_notifier_approver__skeleton_get_type ())
#define STATUS_NOTIFIER_APPROVER__SKELETON(o)   (G_TYPE_CHECK_INSTANCE_CAST ((o), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON, StatusNotifierApproverSkeleton))
#define STATUS_NOTIFIER_APPROVER__SKELETON_CLASS(k)   (G_TYPE_CHECK_CLASS_CAST ((k), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON, StatusNotifierApproverSkeletonClass))
#define STATUS_NOTIFIER_APPROVER__SKELETON_GET_CLASS(o)   (G_TYPE_INSTANCE_GET_CLASS ((o), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON, StatusNotifierApproverSkeletonClass))
#define STATUS_NOTIFIER_APPROVER_IS__SKELETON(o)   (G_TYPE_CHECK_INSTANCE_TYPE ((o), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON))
#define STATUS_NOTIFIER_APPROVER_IS__SKELETON_CLASS(k)   (G_TYPE_CHECK_CLASS_TYPE ((k), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON))

Typedefs

typedef struct _StatusNotifierApprover
typedef struct _StatusNotifierApproverIface
typedef struct _StatusNotifierApproverProxy
typedef struct _StatusNotifierApproverProxyClass
typedef struct _StatusNotifierApproverProxyPrivate
typedef struct _StatusNotifierApproverSkeleton
typedef struct _StatusNotifierApproverSkeletonClass
typedef struct _StatusNotifierApproverSkeletonPrivate

Functions

GType status_notifier_approver__get_type (void) G_GNUC_CONST
GDBusInterfaceInfo * status_notifier_approver__interface_info (void)
 status_notifier_approver__interface_info:
guint status_notifier_approver__override_properties (GObjectClass *klass, guint property_id_begin)
 status_notifier_approver__override_properties: : The class structure for a #GObject-derived class.
void status_notifier_approver__complete_approve_item (StatusNotifierApprover *object, GDBusMethodInvocation *invocation, gboolean approved)
 status_notifier_approver__complete_approve_item: : A #StatusNotifierApprover.
void status_notifier_approver__emit_revise_judgement (StatusNotifierApprover *object, gboolean arg_approved, const gchar *arg_address, const gchar *arg_path)
 status_notifier_approver__emit_revise_judgement: : A #StatusNotifierApprover.
void status_notifier_approver__call_approve_item (StatusNotifierApprover *proxy, const gchar *arg_id, const gchar *arg_category, guint arg_pid, const gchar *arg_address, const gchar *arg_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 status_notifier_approver__call_approve_item: : A #StatusNotifierApproverProxy.
gboolean status_notifier_approver__call_approve_item_finish (StatusNotifierApprover *proxy, gboolean *out_approved, GAsyncResult *res, GError **error)
 status_notifier_approver__call_approve_item_finish: : A #StatusNotifierApproverProxy.
gboolean status_notifier_approver__call_approve_item_sync (StatusNotifierApprover *proxy, const gchar *arg_id, const gchar *arg_category, guint arg_pid, const gchar *arg_address, const gchar *arg_path, gboolean *out_approved, GCancellable *cancellable, GError **error)
 status_notifier_approver__call_approve_item_sync: : A #StatusNotifierApproverProxy.
GType status_notifier_approver__proxy_get_type (void) G_GNUC_CONST
void status_notifier_approver__proxy_new (GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
StatusNotifierApprover * status_notifier_approver__proxy_new_finish (GAsyncResult *res, GError **error)
 status_notifier_approver__proxy_new_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to status_notifier_approver__proxy_new().
StatusNotifierApprover * status_notifier_approver__proxy_new_sync (GDBusConnection *connection, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
void status_notifier_approver__proxy_new_for_bus (GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
StatusNotifierApprover * status_notifier_approver__proxy_new_for_bus_finish (GAsyncResult *res, GError **error)
 status_notifier_approver__proxy_new_for_bus_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to status_notifier_approver__proxy_new_for_bus().
StatusNotifierApprover * status_notifier_approver__proxy_new_for_bus_sync (GBusType bus_type, GDBusProxyFlags flags, const gchar *name, const gchar *object_path, GCancellable *cancellable, GError **error)
GType status_notifier_approver__skeleton_get_type (void) G_GNUC_CONST
StatusNotifierApprover * status_notifier_approver__skeleton_new (void)
 status_notifier_approver__skeleton_new:

Class Documentation

struct _StatusNotifierApproverProxy

Definition at line 116 of file bamf-gdbus-indicator-source-generated.h.

Class Members
GDBusProxy parent_instance
StatusNotifierApproverProxyPrivate * priv
struct _StatusNotifierApproverProxyClass

Definition at line 123 of file bamf-gdbus-indicator-source-generated.h.

Class Members
GDBusProxyClass parent_class
struct _StatusNotifierApproverSkeleton

Definition at line 182 of file bamf-gdbus-indicator-source-generated.h.

Class Members
GDBusInterfaceSkeleton parent_instance
StatusNotifierApproverSkeletonPrivate * priv
struct _StatusNotifierApproverSkeletonClass

Definition at line 189 of file bamf-gdbus-indicator-source-generated.h.

Class Members
GDBusInterfaceSkeletonClass parent_class

Define Documentation

#define STATUS_NOTIFIER_APPROVER_ (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), STATUS_NOTIFIER_APPROVER_TYPE_, StatusNotifierApprover))

Definition at line 19 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER__GET_IFACE (   o)    (G_TYPE_INSTANCE_GET_INTERFACE ((o), STATUS_NOTIFIER_APPROVER_TYPE_, StatusNotifierApproverIface))

Definition at line 21 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER__PROXY (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), STATUS_NOTIFIER_APPROVER_TYPE__PROXY, StatusNotifierApproverProxy))

Definition at line 106 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER__PROXY_CLASS (   k)    (G_TYPE_CHECK_CLASS_CAST ((k), STATUS_NOTIFIER_APPROVER_TYPE__PROXY, StatusNotifierApproverProxyClass))

Definition at line 107 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER__PROXY_GET_CLASS (   o)    (G_TYPE_INSTANCE_GET_CLASS ((o), STATUS_NOTIFIER_APPROVER_TYPE__PROXY, StatusNotifierApproverProxyClass))

Definition at line 108 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER__SKELETON (   o)    (G_TYPE_CHECK_INSTANCE_CAST ((o), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON, StatusNotifierApproverSkeleton))

Definition at line 172 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER__SKELETON_CLASS (   k)    (G_TYPE_CHECK_CLASS_CAST ((k), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON, StatusNotifierApproverSkeletonClass))

Definition at line 173 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER__SKELETON_GET_CLASS (   o)    (G_TYPE_INSTANCE_GET_CLASS ((o), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON, StatusNotifierApproverSkeletonClass))

Definition at line 174 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER_IS_ (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), STATUS_NOTIFIER_APPROVER_TYPE_))

Definition at line 20 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER_IS__PROXY (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), STATUS_NOTIFIER_APPROVER_TYPE__PROXY))

Definition at line 109 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER_IS__PROXY_CLASS (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), STATUS_NOTIFIER_APPROVER_TYPE__PROXY))

Definition at line 110 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER_IS__SKELETON (   o)    (G_TYPE_CHECK_INSTANCE_TYPE ((o), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON))

Definition at line 175 of file bamf-gdbus-indicator-source-generated.h.

#define STATUS_NOTIFIER_APPROVER_IS__SKELETON_CLASS (   k)    (G_TYPE_CHECK_CLASS_TYPE ((k), STATUS_NOTIFIER_APPROVER_TYPE__SKELETON))

Definition at line 176 of file bamf-gdbus-indicator-source-generated.h.

Definition at line 18 of file bamf-gdbus-indicator-source-generated.h.

Definition at line 105 of file bamf-gdbus-indicator-source-generated.h.

Definition at line 171 of file bamf-gdbus-indicator-source-generated.h.


Typedef Documentation

typedef struct _StatusNotifierApprover

Definition at line 24 of file bamf-gdbus-indicator-source-generated.h.

Definition at line 25 of file bamf-gdbus-indicator-source-generated.h.

Definition at line 112 of file bamf-gdbus-indicator-source-generated.h.

Definition at line 113 of file bamf-gdbus-indicator-source-generated.h.

Definition at line 114 of file bamf-gdbus-indicator-source-generated.h.

Definition at line 178 of file bamf-gdbus-indicator-source-generated.h.

Definition at line 179 of file bamf-gdbus-indicator-source-generated.h.

Definition at line 180 of file bamf-gdbus-indicator-source-generated.h.


Function Documentation

void status_notifier_approver__call_approve_item ( StatusNotifierApprover *  proxy,
const gchar *  arg_id,
const gchar *  arg_category,
guint  arg_pid,
const gchar *  arg_address,
const gchar *  arg_path,
GCancellable *  cancellable,
GAsyncReadyCallback  callback,
gpointer  user_data 
)

status_notifier_approver__call_approve_item: : A #StatusNotifierApproverProxy.

: Argument to pass with the method invocation. : Argument to pass with the method invocation. : Argument to pass with the method invocation. : Argument to pass with the method invocation. : 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-com-canonical-StatusNotifierApprover.ApproveItem">ApproveItem()</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 status_notifier_approver__call_approve_item_finish() to get the result of the operation.

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

Definition at line 475 of file bamf-gdbus-indicator-source-generated.c.

{
  g_dbus_proxy_call (G_DBUS_PROXY (proxy),
    "ApproveItem",
    g_variant_new ("(ssuso)",
                   arg_id,
                   arg_category,
                   arg_pid,
                   arg_address,
                   arg_path),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    callback,
    user_data);
}
gboolean status_notifier_approver__call_approve_item_finish ( StatusNotifierApprover *  proxy,
gboolean *  out_approved,
GAsyncResult *  res,
GError **  error 
)

status_notifier_approver__call_approve_item_finish: : A #StatusNotifierApproverProxy.

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

Finishes an operation started with status_notifier_approver__call_approve_item().

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

Definition at line 513 of file bamf-gdbus-indicator-source-generated.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_approved);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
gboolean status_notifier_approver__call_approve_item_sync ( StatusNotifierApprover *  proxy,
const gchar *  arg_id,
const gchar *  arg_category,
guint  arg_pid,
const gchar *  arg_address,
const gchar *  arg_path,
gboolean *  out_approved,
GCancellable *  cancellable,
GError **  error 
)

status_notifier_approver__call_approve_item_sync: : A #StatusNotifierApproverProxy.

: Argument to pass with the method invocation. : Argument to pass with the method invocation. : Argument to pass with the method invocation. : Argument to pass with the method invocation. : Argument to pass with the method invocation. : (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-com-canonical-StatusNotifierApprover.ApproveItem">ApproveItem()</link> D-Bus method on . The calling thread is blocked until a reply is received.

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

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

Definition at line 550 of file bamf-gdbus-indicator-source-generated.c.

{
  GVariant *_ret;
  _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
    "ApproveItem",
    g_variant_new ("(ssuso)",
                   arg_id,
                   arg_category,
                   arg_pid,
                   arg_address,
                   arg_path),
    G_DBUS_CALL_FLAGS_NONE,
    -1,
    cancellable,
    error);
  if (_ret == NULL)
    goto _out;
  g_variant_get (_ret,
                 "(b)",
                 out_approved);
  g_variant_unref (_ret);
_out:
  return _ret != NULL;
}
void status_notifier_approver__complete_approve_item ( StatusNotifierApprover *  object,
GDBusMethodInvocation *  invocation,
gboolean  approved 
)

status_notifier_approver__complete_approve_item: : A #StatusNotifierApprover.

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

Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-com-canonical-StatusNotifierApprover.ApproveItem">ApproveItem()</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 595 of file bamf-gdbus-indicator-source-generated.c.

{
  g_dbus_method_invocation_return_value (invocation,
    g_variant_new ("(b)",
                   approved));
}
void status_notifier_approver__emit_revise_judgement ( StatusNotifierApprover *  object,
gboolean  arg_approved,
const gchar *  arg_address,
const gchar *  arg_path 
)

status_notifier_approver__emit_revise_judgement: : A #StatusNotifierApprover.

: Argument to pass with the signal. : Argument to pass with the signal. : Argument to pass with the signal.

Emits the <link linkend="gdbus-signal-com-canonical-StatusNotifierApprover.ReviseJudgement">"ReviseJudgement"</link> D-Bus signal.

Definition at line 447 of file bamf-gdbus-indicator-source-generated.c.

{
  g_signal_emit_by_name (object, "revise-judgement", arg_approved, arg_address, arg_path);
}
GDBusInterfaceInfo* status_notifier_approver__interface_info ( void  )

status_notifier_approver__interface_info:

Gets a machine-readable description of the <link linkend="gdbus-interface-com-canonical-StatusNotifierApprover.top_of_page">com.canonical.StatusNotifierApprover</link> D-Bus interface.

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

Definition at line 341 of file bamf-gdbus-indicator-source-generated.c.

{
  return (GDBusInterfaceInfo *) &_status_notifier_approver__interface_info;
}

Here is the caller graph for this function:

guint status_notifier_approver__override_properties ( GObjectClass *  klass,
guint  property_id_begin 
)

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

Returns: The last property id.

Definition at line 357 of file bamf-gdbus-indicator-source-generated.c.

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

Definition at line 773 of file bamf-gdbus-indicator-source-generated.c.

{
  g_async_initable_new_async (STATUS_NOTIFIER_APPROVER_TYPE__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", "com.canonical.StatusNotifierApprover", NULL);
}
StatusNotifierApprover* status_notifier_approver__proxy_new_finish ( GAsyncResult *  res,
GError **  error 
)

status_notifier_approver__proxy_new_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to status_notifier_approver__proxy_new().

: Return location for error or NULL

Finishes an operation started with status_notifier_approver__proxy_new().

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

Definition at line 795 of file bamf-gdbus-indicator-source-generated.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 STATUS_NOTIFIER_APPROVER_ (ret);
  else
    return NULL;
}
void status_notifier_approver__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 863 of file bamf-gdbus-indicator-source-generated.c.

{
  g_async_initable_new_async (STATUS_NOTIFIER_APPROVER_TYPE__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", "com.canonical.StatusNotifierApprover", NULL);
}
StatusNotifierApprover* status_notifier_approver__proxy_new_for_bus_finish ( GAsyncResult *  res,
GError **  error 
)

status_notifier_approver__proxy_new_for_bus_finish: : The #GAsyncResult obtained from the #GAsyncReadyCallback passed to status_notifier_approver__proxy_new_for_bus().

: Return location for error or NULL

Finishes an operation started with status_notifier_approver__proxy_new_for_bus().

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

Definition at line 885 of file bamf-gdbus-indicator-source-generated.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 STATUS_NOTIFIER_APPROVER_ (ret);
  else
    return NULL;
}
StatusNotifierApprover* status_notifier_approver__proxy_new_for_bus_sync ( GBusType  bus_type,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GError **  error 
)

Definition at line 918 of file bamf-gdbus-indicator-source-generated.c.

{
  GInitable *ret;
  ret = g_initable_new (STATUS_NOTIFIER_APPROVER_TYPE__PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "com.canonical.StatusNotifierApprover", NULL);
  if (ret != NULL)
    return STATUS_NOTIFIER_APPROVER_ (ret);
  else
    return NULL;
}
StatusNotifierApprover* status_notifier_approver__proxy_new_sync ( GDBusConnection *  connection,
GDBusProxyFlags  flags,
const gchar *  name,
const gchar *  object_path,
GCancellable *  cancellable,
GError **  error 
)

Definition at line 828 of file bamf-gdbus-indicator-source-generated.c.

{
  GInitable *ret;
  ret = g_initable_new (STATUS_NOTIFIER_APPROVER_TYPE__PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "com.canonical.StatusNotifierApprover", NULL);
  if (ret != NULL)
    return STATUS_NOTIFIER_APPROVER_ (ret);
  else
    return NULL;
}
StatusNotifierApprover* status_notifier_approver__skeleton_new ( void  )

status_notifier_approver__skeleton_new:

Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-com-canonical-StatusNotifierApprover.top_of_page">com.canonical.StatusNotifierApprover</link>.

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

Definition at line 1230 of file bamf-gdbus-indicator-source-generated.c.