Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Functions | Variables
unity-scope-proxy-remote.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <unity-protocol.h>
#include "unity.h"
#include <dee.h>
#include <unity-trace.h>

Go to the source code of this file.

Classes

struct  _UnityScopeProxyIface
struct  _UnityScopeProxyRemote
struct  _UnityScopeProxyRemoteClass
struct  _UnityScopeProxyRemotePrivate
struct  _UnityScopeProxyRemoteConnectToScopeData
struct  _UnityScopeProxyRemoteActivateData
struct  _UnityScopeProxyRemoteUpdatePreviewPropertyData
struct  _UnityScopeProxyRemoteSearchData
struct  _UnityScopeProxyRemoteGlobalSearchData
struct  _UnityScopeProxyRemoteSetViewTypeData
struct  _UnityScopeProxyRemoteSetActiveSourcesData

Defines

#define UNITY_TYPE_SCOPE_PROXY   (unity_scope_proxy_get_type ())
#define UNITY_SCOPE_PROXY(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SCOPE_PROXY, UnityScopeProxy))
#define UNITY_IS_SCOPE_PROXY(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SCOPE_PROXY))
#define UNITY_SCOPE_PROXY_GET_INTERFACE(obj)   (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_TYPE_SCOPE_PROXY, UnityScopeProxyIface))
#define UNITY_TYPE_SCOPE_PROXY_REMOTE   (unity_scope_proxy_remote_get_type ())
#define UNITY_SCOPE_PROXY_REMOTE(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemote))
#define UNITY_SCOPE_PROXY_REMOTE_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemoteClass))
#define UNITY_IS_SCOPE_PROXY_REMOTE(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SCOPE_PROXY_REMOTE))
#define UNITY_IS_SCOPE_PROXY_REMOTE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_SCOPE_PROXY_REMOTE))
#define UNITY_SCOPE_PROXY_REMOTE_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemoteClass))
#define _g_free0(var)   (var = (g_free (var), NULL))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_hash_table_unref0(var)   ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define UNITY_SCOPE_PROXY_REMOTE_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemotePrivate))

Typedefs

typedef struct _UnityScopeProxy
typedef struct _UnityScopeProxyIface
typedef struct _UnityScopeProxyRemote
typedef struct _UnityScopeProxyRemoteClass
typedef struct _UnityScopeProxyRemotePrivate
typedef struct _UnityScopeProxyRemoteConnectToScopeData
typedef struct _UnityScopeProxyRemoteActivateData
typedef struct _UnityScopeProxyRemoteUpdatePreviewPropertyData
typedef struct _UnityScopeProxyRemoteSearchData
typedef struct _UnityScopeProxyRemoteGlobalSearchData
typedef struct _UnityScopeProxyRemoteSetViewTypeData
typedef struct _UnityScopeProxyRemoteSetActiveSourcesData

Functions

GType unity_scope_proxy_get_type (void)
UnityScopeProxyRemote * unity_scope_proxy_remote_new (const gchar *dbus_name_, const gchar *dbus_path_)
UnityScopeProxyRemote * unity_scope_proxy_remote_construct (GType object_type, const gchar *dbus_name_, const gchar *dbus_path_)
static void unity_scope_proxy_remote_connect_to_scope_data_free (gpointer _data)
static void unity_scope_proxy_remote_connect_to_scope (UnityScopeProxyRemote *self, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_scope_proxy_remote_connect_to_scope_finish (UnityScopeProxyRemote *self, GAsyncResult *_res_)
static gboolean unity_scope_proxy_remote_connect_to_scope_co (UnityScopeProxyRemoteConnectToScopeData *_data_)
const gchar * unity_scope_proxy_remote_get_dbus_name (UnityScopeProxyRemote *self)
const gchar * unity_scope_proxy_remote_get_dbus_path (UnityScopeProxyRemote *self)
static void unity_scope_proxy_remote_connect_to_scope_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
void unity_scope_proxy_remote_on_changed (UnityScopeProxyRemote *self, UnityProtocolScopeInfo *scope_info)
static void _unity_scope_proxy_remote_on_changed_unity_protocol_scope_service_changed (UnityProtocolScopeService *_sender, UnityProtocolScopeInfo *lens_info, gpointer self)
static void unity_scope_proxy_remote_on_scope_appeared (UnityScopeProxyRemote *self, GDBusConnection *conn, const gchar *name, const gchar *name_owner)
static void unity_scope_proxy_remote_on_scope_vanished (UnityScopeProxyRemote *self, GDBusConnection *conn, const gchar *name)
void unity_scope_proxy_set_search_in_global (UnityScopeProxy *self, gboolean value)
void unity_scope_proxy_set_sources (UnityScopeProxy *self, UnityOptionsFilter *value)
static void unity_scope_proxy_remote_start_reconnection_timeout (UnityScopeProxyRemote *self)
static gboolean __lambda2_ (UnityScopeProxyRemote *self)
static gboolean ___lambda2__gsource_func (gpointer self)
static void unity_scope_proxy_remote_real_activate_data_free (gpointer _data)
static void unity_scope_proxy_remote_real_activate (UnityScopeProxy *base, const gchar *uri, UnityProtocolActionType action_type, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_scope_proxy_remote_real_activate_co (UnityScopeProxyRemoteActivateData *_data_)
static void unity_scope_proxy_remote_activate_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_scope_proxy_remote_real_update_preview_property_data_free (gpointer _data)
static void unity_scope_proxy_remote_real_update_preview_property (UnityScopeProxy *base, const gchar *uri, GHashTable *values, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_scope_proxy_remote_real_update_preview_property_co (UnityScopeProxyRemoteUpdatePreviewPropertyData *_data_)
static void unity_scope_proxy_remote_update_preview_property_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void _g_free0_ (gpointer var)
static void _g_variant_unref0_ (gpointer var)
static void unity_scope_proxy_remote_real_search_data_free (gpointer _data)
static void unity_scope_proxy_remote_real_search (UnityScopeProxy *base, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_scope_proxy_remote_real_search_co (UnityScopeProxyRemoteSearchData *_data_)
static void unity_scope_proxy_remote_search_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_scope_proxy_remote_real_global_search_data_free (gpointer _data)
static void unity_scope_proxy_remote_real_global_search (UnityScopeProxy *base, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_scope_proxy_remote_real_global_search_co (UnityScopeProxyRemoteGlobalSearchData *_data_)
static void unity_scope_proxy_remote_global_search_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_scope_proxy_remote_set_view_type_data_free (gpointer _data)
void unity_scope_proxy_remote_set_view_type (UnityScopeProxyRemote *self, UnityProtocolViewType view_type, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_scope_proxy_remote_set_view_type_finish (UnityScopeProxyRemote *self, GAsyncResult *_res_)
static gboolean unity_scope_proxy_remote_set_view_type_co (UnityScopeProxyRemoteSetViewTypeData *_data_)
static void unity_scope_proxy_remote_set_view_type_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_scope_proxy_remote_real_set_active_sources_data_free (gpointer _data)
static void unity_scope_proxy_remote_real_set_active_sources (UnityScopeProxy *base, gchar **sources, int sources_length1, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_scope_proxy_remote_real_set_active_sources_co (UnityScopeProxyRemoteSetActiveSourcesData *_data_)
static void unity_scope_proxy_remote_set_active_sources_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
DeeSerializableModel * unity_scope_proxy_get_results_model (UnityScopeProxy *self)
void unity_scope_proxy_set_results_model (UnityScopeProxy *self, DeeSerializableModel *value)
DeeSerializableModel * unity_scope_proxy_get_global_results_model (UnityScopeProxy *self)
void unity_scope_proxy_set_global_results_model (UnityScopeProxy *self, DeeSerializableModel *value)
DeeSerializableModel * unity_scope_proxy_get_filters_model (UnityScopeProxy *self)
void unity_scope_proxy_set_filters_model (UnityScopeProxy *self, DeeSerializableModel *value)
UnityOptionsFilter * unity_scope_proxy_get_sources (UnityScopeProxy *self)
void unity_filter_update (UnityFilter *self, GVariant *properties)
static void unity_scope_proxy_remote_set_dbus_name (UnityScopeProxyRemote *self, const gchar *value)
static void unity_scope_proxy_remote_set_dbus_path (UnityScopeProxyRemote *self, const gchar *value)
static GObject * unity_scope_proxy_remote_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _unity_scope_proxy_remote_on_scope_appeared_gbus_name_appeared_callback (GDBusConnection *connection, const gchar *name, const gchar *name_owner, gpointer self)
static void _unity_scope_proxy_remote_on_scope_vanished_gbus_name_vanished_callback (GDBusConnection *connection, const gchar *name, gpointer self)
static void unity_scope_proxy_remote_finalize (GObject *obj)
gboolean unity_scope_proxy_get_search_in_global (UnityScopeProxy *self)
UnityProtocolViewType unity_scope_proxy_get_view_type (UnityScopeProxy *self)
static void _vala_unity_scope_proxy_remote_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
void unity_scope_proxy_set_view_type (UnityScopeProxy *self, UnityProtocolViewType value)
static void _vala_unity_scope_proxy_remote_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static gpointer _g_object_ref0 (gpointer self)
static const gchar * string_to_string (const gchar *self)
static void unity_scope_proxy_remote_real_activate_finish (UnityScopeProxy *base, GAsyncResult *_res_, UnityProtocolActivationReplyRaw *result)
static gpointer _g_hash_table_ref0 (gpointer self)
static GHashTable * unity_scope_proxy_remote_real_update_preview_property_finish (UnityScopeProxy *base, GAsyncResult *_res_, GError **error)
static GHashTable * unity_scope_proxy_remote_real_search_finish (UnityScopeProxy *base, GAsyncResult *_res_)
static GHashTable * unity_scope_proxy_remote_real_global_search_finish (UnityScopeProxy *base, GAsyncResult *_res_)
static void unity_scope_proxy_remote_real_set_active_sources_finish (UnityScopeProxy *base, GAsyncResult *_res_)
static UnityOptionsFilter * unity_scope_proxy_remote_real_get_sources (UnityScopeProxy *base)
static void unity_scope_proxy_remote_real_set_sources (UnityScopeProxy *base, UnityOptionsFilter *value)
static gboolean unity_scope_proxy_remote_real_get_search_in_global (UnityScopeProxy *base)
static void unity_scope_proxy_remote_real_set_search_in_global (UnityScopeProxy *base, gboolean value)
static DeeSerializableModel * unity_scope_proxy_remote_real_get_results_model (UnityScopeProxy *base)
static void unity_scope_proxy_remote_real_set_results_model (UnityScopeProxy *base, DeeSerializableModel *value)
static DeeSerializableModel * unity_scope_proxy_remote_real_get_global_results_model (UnityScopeProxy *base)
static void unity_scope_proxy_remote_real_set_global_results_model (UnityScopeProxy *base, DeeSerializableModel *value)
static DeeSerializableModel * unity_scope_proxy_remote_real_get_filters_model (UnityScopeProxy *base)
static void unity_scope_proxy_remote_real_set_filters_model (UnityScopeProxy *base, DeeSerializableModel *value)
static UnityProtocolViewType unity_scope_proxy_remote_real_get_view_type (UnityScopeProxy *base)
static void unity_scope_proxy_remote_real_set_view_type (UnityScopeProxy *base, UnityProtocolViewType value)
static void unity_scope_proxy_remote_class_init (UnityScopeProxyRemoteClass *klass)
static void unity_scope_proxy_remote_unity_scope_proxy_interface_init (UnityScopeProxyIface *iface)
static void unity_scope_proxy_remote_instance_init (UnityScopeProxyRemote *self)
GType unity_scope_proxy_remote_get_type (void)

Variables

static gpointer unity_scope_proxy_remote_parent_class = NULL
static UnityScopeProxyIface * unity_scope_proxy_remote_unity_scope_proxy_parent_iface = NULL

Class Documentation

struct _UnityScopeProxyRemote

Definition at line 1037 of file unity-internal.h.

Collaboration diagram for _UnityScopeProxyRemote:
Class Members
GObject parent_instance
UnityScopeProxyRemotePrivate * priv
struct _UnityScopeProxyRemoteClass

Definition at line 1042 of file unity-internal.h.

Class Members
GObjectClass parent_class
struct _UnityScopeProxyRemotePrivate

Definition at line 100 of file unity-scope-proxy-remote.c.

Class Members
GDBusConnection * _bus
gchar * _dbus_name
gchar * _dbus_path
DeeSharedModel * _filters_model
DeeSharedModel * _global_results_model
gint64 _last_scope_crash
guint _reconnection_id
DeeSharedModel * _results_model
guint _scope_crashes
gboolean _search_in_global
UnityProtocolScopeService * _service
UnityOptionsFilter * _sources
UnityProtocolViewType _view_type
guint _watcher
gboolean synchronized
struct _UnityScopeProxyRemoteConnectToScopeData

Definition at line 118 of file unity-scope-proxy-remote.c.

Collaboration diagram for _UnityScopeProxyRemoteConnectToScopeData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GObject * _source_object_
int _state_
GDBusConnection * _tmp0_
const gchar * _tmp10_
GError * _tmp11_
const gchar * _tmp12_
const gchar * _tmp13_
gchar * _tmp14_
gchar * _tmp15_
const gchar * _tmp1_
const gchar * _tmp2_
UnityProtocolScopeService * _tmp3_
UnityProtocolScopeService * _tmp4_
UnityProtocolScopeService * _tmp5_
UnityProtocolScopeService * _tmp6_
const gchar * _tmp7_
const gchar * _tmp8_
const gchar * _tmp9_
GError * e
UnityScopeProxyRemote * self
struct _UnityScopeProxyRemoteActivateData

Definition at line 144 of file unity-scope-proxy-remote.c.

Collaboration diagram for _UnityScopeProxyRemoteActivateData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GObject * _source_object_
int _state_
gboolean _tmp0_
gchar * _tmp10_
gchar * _tmp11_
UnityProtocolActivationReplyRaw _tmp12_
UnityProtocolScopeService * _tmp1_
const gchar * _tmp2_
UnityProtocolActionType _tmp3_
UnityProtocolActivationReplyRaw _tmp4_
const gchar * _tmp5_
const gchar * _tmp6_
GError * _tmp7_
const gchar * _tmp8_
const gchar * _tmp9_
UnityProtocolActionType action_type
GError * e
UnityProtocolActivationReplyRaw raw
UnityProtocolActivationReplyRaw result
UnityScopeProxyRemote * self
gchar * uri
struct _UnityScopeProxyRemoteUpdatePreviewPropertyData

Definition at line 171 of file unity-scope-proxy-remote.c.

Collaboration diagram for _UnityScopeProxyRemoteUpdatePreviewPropertyData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GObject * _source_object_
int _state_
gboolean _tmp0_
gchar * _tmp10_
gchar * _tmp11_
GHashFunc _tmp12_
GEqualFunc _tmp13_
GHashTable * _tmp14_
UnityProtocolScopeService * _tmp1_
const gchar * _tmp2_
GHashTable * _tmp3_
GHashTable * _tmp4_
const gchar * _tmp5_
const gchar * _tmp6_
GError * _tmp7_
const gchar * _tmp8_
const gchar * _tmp9_
GError * e
GHashTable * raw
GHashTable * result
UnityScopeProxyRemote * self
gchar * uri
GHashTable * values
struct _UnityScopeProxyRemoteSearchData

Definition at line 200 of file unity-scope-proxy-remote.c.

Collaboration diagram for _UnityScopeProxyRemoteSearchData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GObject * _source_object_
int _state_
gboolean _tmp0_
const gchar * _tmp10_
const gchar * _tmp11_
gchar * _tmp12_
gchar * _tmp13_
GHashFunc _tmp14_
GEqualFunc _tmp15_
GHashTable * _tmp16_
UnityProtocolScopeService * _tmp1_
const gchar * _tmp2_
GHashTable * _tmp3_
GHashTable * _tmp4_
const gchar * _tmp5_
const gchar * _tmp6_
const gchar * _tmp7_
const gchar * _tmp8_
GError * _tmp9_
GError * e
GHashTable * hints
GHashTable * ht
GHashTable * result
GError * scope_error
gchar * search_string
UnityScopeProxyRemote * self
struct _UnityScopeProxyRemoteGlobalSearchData

Definition at line 232 of file unity-scope-proxy-remote.c.

Collaboration diagram for _UnityScopeProxyRemoteGlobalSearchData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GHashTable * _result_
GObject * _source_object_
int _state_
gboolean _tmp0_
const gchar * _tmp10_
const gchar * _tmp11_
gchar * _tmp12_
gchar * _tmp13_
GHashFunc _tmp14_
GEqualFunc _tmp15_
GHashTable * _tmp16_
UnityProtocolScopeService * _tmp1_
const gchar * _tmp2_
GHashTable * _tmp3_
GHashTable * _tmp4_
const gchar * _tmp5_
const gchar * _tmp6_
const gchar * _tmp7_
const gchar * _tmp8_
GError * _tmp9_
GError * e
GHashTable * hints
GHashTable * result
GError * scope_error
gchar * search_string
UnityScopeProxyRemote * self
struct _UnityScopeProxyRemoteSetViewTypeData

Definition at line 264 of file unity-scope-proxy-remote.c.

Collaboration diagram for _UnityScopeProxyRemoteSetViewTypeData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityProtocolViewType _tmp0_
gchar * _tmp10_
gboolean _tmp1_
UnityProtocolScopeService * _tmp2_
UnityProtocolViewType _tmp3_
const gchar * _tmp4_
const gchar * _tmp5_
GError * _tmp6_
const gchar * _tmp7_
const gchar * _tmp8_
gchar * _tmp9_
GError * e
UnityScopeProxyRemote * self
UnityProtocolViewType view_type
struct _UnityScopeProxyRemoteSetActiveSourcesData

Definition at line 286 of file unity-scope-proxy-remote.c.

Collaboration diagram for _UnityScopeProxyRemoteSetActiveSourcesData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GObject * _source_object_
int _state_
gboolean _tmp0_
UnityProtocolScopeService * _tmp1_
gchar ** _tmp2_
gint _tmp2__length1
const gchar * _tmp3_
const gchar * _tmp4_
GError * _tmp5_
const gchar * _tmp6_
const gchar * _tmp7_
gchar * _tmp8_
gchar * _tmp9_
GError * e
UnityScopeProxyRemote * self
gchar ** sources
gint sources_length1

Define Documentation

#define _g_error_free0 (   var)    ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

Definition at line 55 of file unity-scope-proxy-remote.c.

#define _g_free0 (   var)    (var = (g_free (var), NULL))

Definition at line 53 of file unity-scope-proxy-remote.c.

#define _g_hash_table_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))

Definition at line 58 of file unity-scope-proxy-remote.c.

#define _g_object_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

Definition at line 54 of file unity-scope-proxy-remote.c.

#define UNITY_IS_SCOPE_PROXY (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SCOPE_PROXY))

Definition at line 37 of file unity-scope-proxy-remote.c.

#define UNITY_IS_SCOPE_PROXY_REMOTE (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SCOPE_PROXY_REMOTE))

Definition at line 46 of file unity-scope-proxy-remote.c.

#define UNITY_IS_SCOPE_PROXY_REMOTE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_SCOPE_PROXY_REMOTE))

Definition at line 47 of file unity-scope-proxy-remote.c.

#define UNITY_SCOPE_PROXY (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SCOPE_PROXY, UnityScopeProxy))

Definition at line 36 of file unity-scope-proxy-remote.c.

#define UNITY_SCOPE_PROXY_GET_INTERFACE (   obj)    (G_TYPE_INSTANCE_GET_INTERFACE ((obj), UNITY_TYPE_SCOPE_PROXY, UnityScopeProxyIface))

Definition at line 38 of file unity-scope-proxy-remote.c.

#define UNITY_SCOPE_PROXY_REMOTE (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemote))

Definition at line 44 of file unity-scope-proxy-remote.c.

#define UNITY_SCOPE_PROXY_REMOTE_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemoteClass))

Definition at line 45 of file unity-scope-proxy-remote.c.

#define UNITY_SCOPE_PROXY_REMOTE_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemoteClass))

Definition at line 48 of file unity-scope-proxy-remote.c.

#define UNITY_SCOPE_PROXY_REMOTE_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemotePrivate))

Definition at line 35 of file unity-scope-proxy-remote.c.

Definition at line 43 of file unity-scope-proxy-remote.c.


Typedef Documentation

typedef struct _UnityScopeProxy

Definition at line 40 of file unity-scope-proxy-remote.c.

typedef struct _UnityScopeProxyIface

Definition at line 41 of file unity-scope-proxy-remote.c.

typedef struct _UnityScopeProxyRemote

Definition at line 50 of file unity-scope-proxy-remote.c.

Definition at line 57 of file unity-scope-proxy-remote.c.

Definition at line 51 of file unity-scope-proxy-remote.c.

Definition at line 56 of file unity-scope-proxy-remote.c.

Definition at line 61 of file unity-scope-proxy-remote.c.

Definition at line 52 of file unity-scope-proxy-remote.c.

Definition at line 60 of file unity-scope-proxy-remote.c.

Definition at line 63 of file unity-scope-proxy-remote.c.

Definition at line 62 of file unity-scope-proxy-remote.c.

Definition at line 59 of file unity-scope-proxy-remote.c.


Function Documentation

static gboolean ___lambda2__gsource_func ( gpointer  self) [static]

Definition at line 663 of file unity-scope-proxy-remote.c.

                                                         {
       gboolean result;
       result = __lambda2_ (self);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __lambda2_ ( UnityScopeProxyRemote *  self) [static]

Definition at line 633 of file unity-scope-proxy-remote.c.

                                                         {
       gboolean result = FALSE;
       UnityProtocolScopeService* _tmp0_;
       _tmp0_ = self->priv->_service;
       if (_tmp0_ == NULL) {
              unity_scope_proxy_remote_connect_to_scope (self, NULL, NULL);
       } else {
              UnityProtocolScopeService* _tmp1_;
              gchar* _tmp2_ = NULL;
              gchar* _tmp3_;
              gchar* _tmp4_;
              gboolean _tmp5_;
              _tmp1_ = self->priv->_service;
              g_object_get (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, G_TYPE_DBUS_PROXY) ? ((GDBusProxy*) _tmp1_) : NULL, "g-name-owner", &_tmp2_, NULL);
              _tmp3_ = _tmp2_;
              _tmp4_ = _tmp3_;
              _tmp5_ = _tmp4_ == NULL;
              _g_free0 (_tmp4_);
              if (_tmp5_) {
                     UnityProtocolScopeService* _tmp6_;
                     _tmp6_ = self->priv->_service;
                     unity_protocol_scope_service_info_request (_tmp6_, NULL, NULL);
              }
       }
       self->priv->_reconnection_id = (guint) 0;
       result = FALSE;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _g_free0_ ( gpointer  var) [static]

Definition at line 878 of file unity-scope-proxy-remote.c.

                                     {
       var = (g_free (var), NULL);
}

Here is the caller graph for this function:

static gpointer _g_hash_table_ref0 ( gpointer  self) [static]

Definition at line 827 of file unity-scope-proxy-remote.c.

                                                   {
       return self ? g_hash_table_ref (self) : NULL;
}

Here is the caller graph for this function:

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 419 of file unity-scope-proxy-remote.c.

                                               {
       return self ? g_object_ref (self) : NULL;
}

Here is the caller graph for this function:

static void _g_variant_unref0_ ( gpointer  var) [static]

Definition at line 883 of file unity-scope-proxy-remote.c.

                                              {
       (var == NULL) ? NULL : (var = (g_variant_unref (var), NULL));
}

Here is the caller graph for this function:

static void _unity_scope_proxy_remote_on_changed_unity_protocol_scope_service_changed ( UnityProtocolScopeService *  _sender,
UnityProtocolScopeInfo *  lens_info,
gpointer  self 
) [static]

Definition at line 451 of file unity-scope-proxy-remote.c.

                                                                                                                                                                             {
       unity_scope_proxy_remote_on_changed (self, lens_info);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_scope_proxy_remote_on_scope_appeared_gbus_name_appeared_callback ( GDBusConnection *  connection,
const gchar *  name,
const gchar *  name_owner,
gpointer  self 
) [static]

Definition at line 1840 of file unity-scope-proxy-remote.c.

                                                                                                                                                                             {
       unity_scope_proxy_remote_on_scope_appeared (self, connection, name, name_owner);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_scope_proxy_remote_on_scope_vanished_gbus_name_vanished_callback ( GDBusConnection *  connection,
const gchar *  name,
gpointer  self 
) [static]

Definition at line 1845 of file unity-scope-proxy-remote.c.

                                                                                                                                                    {
       unity_scope_proxy_remote_on_scope_vanished (self, connection, name);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_scope_proxy_remote_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1995 of file unity-scope-proxy-remote.c.

                                                                                                                                  {
       UnityScopeProxyRemote * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemote);
       switch (property_id) {
              case UNITY_SCOPE_PROXY_REMOTE_DBUS_NAME:
              g_value_set_string (value, unity_scope_proxy_remote_get_dbus_name (self));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_DBUS_PATH:
              g_value_set_string (value, unity_scope_proxy_remote_get_dbus_path (self));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_SOURCES:
              g_value_set_object (value, unity_scope_proxy_get_sources ((UnityScopeProxy*) self));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_SEARCH_IN_GLOBAL:
              g_value_set_boolean (value, unity_scope_proxy_get_search_in_global ((UnityScopeProxy*) self));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_RESULTS_MODEL:
              g_value_set_object (value, unity_scope_proxy_get_results_model ((UnityScopeProxy*) self));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_GLOBAL_RESULTS_MODEL:
              g_value_set_object (value, unity_scope_proxy_get_global_results_model ((UnityScopeProxy*) self));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_FILTERS_MODEL:
              g_value_set_object (value, unity_scope_proxy_get_filters_model ((UnityScopeProxy*) self));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_VIEW_TYPE:
              g_value_set_enum (value, unity_scope_proxy_get_view_type ((UnityScopeProxy*) self));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_unity_scope_proxy_remote_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 2030 of file unity-scope-proxy-remote.c.

                                                                                                                                        {
       UnityScopeProxyRemote * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemote);
       switch (property_id) {
              case UNITY_SCOPE_PROXY_REMOTE_DBUS_NAME:
              unity_scope_proxy_remote_set_dbus_name (self, g_value_get_string (value));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_DBUS_PATH:
              unity_scope_proxy_remote_set_dbus_path (self, g_value_get_string (value));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_SOURCES:
              unity_scope_proxy_set_sources ((UnityScopeProxy*) self, g_value_get_object (value));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_SEARCH_IN_GLOBAL:
              unity_scope_proxy_set_search_in_global ((UnityScopeProxy*) self, g_value_get_boolean (value));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_RESULTS_MODEL:
              unity_scope_proxy_set_results_model ((UnityScopeProxy*) self, g_value_get_object (value));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_GLOBAL_RESULTS_MODEL:
              unity_scope_proxy_set_global_results_model ((UnityScopeProxy*) self, g_value_get_object (value));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_FILTERS_MODEL:
              unity_scope_proxy_set_filters_model ((UnityScopeProxy*) self, g_value_get_object (value));
              break;
              case UNITY_SCOPE_PROXY_REMOTE_VIEW_TYPE:
              unity_scope_proxy_set_view_type ((UnityScopeProxy*) self, g_value_get_enum (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static const gchar* string_to_string ( const gchar *  self) [static]

Definition at line 456 of file unity-scope-proxy-remote.c.

                                                         {
       const gchar* result = NULL;
       g_return_val_if_fail (self != NULL, NULL);
       result = self;
       return result;
}

Here is the caller graph for this function:

void unity_filter_update ( UnityFilter *  self,
GVariant *  properties 
)

Definition at line 291 of file unity-lens-filters.c.

                                                                   {
       g_return_if_fail (self != NULL);
       UNITY_FILTER_GET_CLASS (self)->update (self, properties);
}
DeeSerializableModel* unity_scope_proxy_get_filters_model ( UnityScopeProxy *  self)

Definition at line 205 of file unity-scope-proxy.c.

                                                                                  {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_filters_model (self);
}
DeeSerializableModel* unity_scope_proxy_get_global_results_model ( UnityScopeProxy *  self)

Definition at line 193 of file unity-scope-proxy.c.

                                                                                         {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_global_results_model (self);
}
DeeSerializableModel* unity_scope_proxy_get_results_model ( UnityScopeProxy *  self)

Definition at line 181 of file unity-scope-proxy.c.

                                                                                  {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_results_model (self);
}
gboolean unity_scope_proxy_get_search_in_global ( UnityScopeProxy *  self)

Definition at line 157 of file unity-scope-proxy.c.

                                                                        {
       g_return_val_if_fail (self != NULL, FALSE);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_search_in_global (self);
}
UnityOptionsFilter* unity_scope_proxy_get_sources ( UnityScopeProxy *  self)

Definition at line 145 of file unity-scope-proxy.c.

                                                                          {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_sources (self);
}
GType unity_scope_proxy_get_type ( void  )

Definition at line 313 of file unity-scope-proxy-remote.c.

      {
       UNITY_SCOPE_PROXY_REMOTE_DUMMY_PROPERTY,
       UNITY_SCOPE_PROXY_REMOTE_DBUS_NAME,
       UNITY_SCOPE_PROXY_REMOTE_DBUS_PATH,
       UNITY_SCOPE_PROXY_REMOTE_SOURCES,
       UNITY_SCOPE_PROXY_REMOTE_SEARCH_IN_GLOBAL,
       UNITY_SCOPE_PROXY_REMOTE_RESULTS_MODEL,
       UNITY_SCOPE_PROXY_REMOTE_GLOBAL_RESULTS_MODEL,
       UNITY_SCOPE_PROXY_REMOTE_FILTERS_MODEL,
       UNITY_SCOPE_PROXY_REMOTE_VIEW_TYPE
};

Definition at line 169 of file unity-scope-proxy.c.

                                                                              {
       g_return_val_if_fail (self != NULL, 0);
       return UNITY_SCOPE_PROXY_GET_INTERFACE (self)->get_view_type (self);
}
static void unity_scope_proxy_remote_activate_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 726 of file unity-scope-proxy-remote.c.

                                                                                                                        {
       UnityScopeProxyRemoteActivateData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_remote_real_activate_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_class_init ( UnityScopeProxyRemoteClass *  klass) [static]

Definition at line 1912 of file unity-scope-proxy-remote.c.

                                                                                     {
       unity_scope_proxy_remote_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityScopeProxyRemotePrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_scope_proxy_remote_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_scope_proxy_remote_set_property;
       G_OBJECT_CLASS (klass)->constructor = unity_scope_proxy_remote_constructor;
       G_OBJECT_CLASS (klass)->finalize = unity_scope_proxy_remote_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_PROXY_REMOTE_DBUS_NAME, g_param_spec_string ("dbus-name", "dbus-name", "dbus-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_PROXY_REMOTE_DBUS_PATH, g_param_spec_string ("dbus-path", "dbus-path", "dbus-path", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_PROXY_REMOTE_SOURCES, g_param_spec_object ("sources", "sources", "sources", UNITY_TYPE_OPTIONS_FILTER, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_PROXY_REMOTE_SEARCH_IN_GLOBAL, g_param_spec_boolean ("search-in-global", "search-in-global", "search-in-global", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_PROXY_REMOTE_RESULTS_MODEL, g_param_spec_object ("results-model", "results-model", "results-model", dee_serializable_model_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_PROXY_REMOTE_GLOBAL_RESULTS_MODEL, g_param_spec_object ("global-results-model", "global-results-model", "global-results-model", dee_serializable_model_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_PROXY_REMOTE_FILTERS_MODEL, g_param_spec_object ("filters-model", "filters-model", "filters-model", dee_serializable_model_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_PROXY_REMOTE_VIEW_TYPE, g_param_spec_enum ("view-type", "view-type", "view-type", UNITY_PROTOCOL_TYPE_VIEW_TYPE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_connect_to_scope ( UnityScopeProxyRemote *  self,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 424 of file unity-scope-proxy-remote.c.

                                                                                                                                          {
       UnityScopeProxyRemoteConnectToScopeData* _data_;
       UnityScopeProxyRemote* _tmp0_;
       _data_ = g_slice_new0 (UnityScopeProxyRemoteConnectToScopeData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_remote_connect_to_scope);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_remote_connect_to_scope_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       unity_scope_proxy_remote_connect_to_scope_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_proxy_remote_connect_to_scope_co ( UnityScopeProxyRemoteConnectToScopeData *  _data_) [static]

Definition at line 464 of file unity-scope-proxy-remote.c.

                                                                                                               {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              case 2:
              goto _state_2;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       {
              _data_->_tmp0_ = _data_->self->priv->_bus;
              _data_->_tmp1_ = _data_->self->priv->_dbus_name;
              _data_->_tmp2_ = _data_->self->priv->_dbus_path;
              _data_->_state_ = 1;
              g_async_initable_new_async (UNITY_PROTOCOL_TYPE_SCOPE_SERVICE_PROXY, 0, NULL, unity_scope_proxy_remote_connect_to_scope_ready, _data_, "g-flags", 0, "g-name", _data_->_tmp1_, "g-connection", _data_->_tmp0_, "g-object-path", _data_->_tmp2_, "g-interface-name", "com.canonical.Unity.Scope", NULL);
              return FALSE;
              _state_1:
              _data_->_tmp3_ = NULL;
              _data_->_tmp3_ = g_async_initable_new_finish (_data_->_source_object_, _data_->_res_, &_data_->_inner_error_);
              _data_->_tmp4_ = (UnityProtocolScopeService*) _data_->_tmp3_;
              if (_data_->_inner_error_ != NULL) {
                     goto __catch26_g_error;
              }
              _g_object_unref0 (_data_->self->priv->_service);
              _data_->self->priv->_service = _data_->_tmp4_;
              _data_->_tmp5_ = _data_->self->priv->_service;
              g_signal_connect_object (_data_->_tmp5_, "changed", (GCallback) _unity_scope_proxy_remote_on_changed_unity_protocol_scope_service_changed, _data_->self, 0);
              _data_->_tmp6_ = _data_->self->priv->_service;
              _data_->_state_ = 2;
              unity_protocol_scope_service_info_request (_data_->_tmp6_, unity_scope_proxy_remote_connect_to_scope_ready, _data_);
              return FALSE;
              _state_2:
              unity_protocol_scope_service_info_request_finish (_data_->_tmp6_, _data_->_res_, &_data_->_inner_error_);
              if (_data_->_inner_error_ != NULL) {
                     goto __catch26_g_error;
              }
       }
       goto __finally26;
       __catch26_g_error:
       {
              _data_->e = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              _data_->_tmp7_ = _data_->self->priv->_dbus_path;
              _data_->_tmp8_ = NULL;
              _data_->_tmp8_ = string_to_string (_data_->_tmp7_);
              _data_->_tmp9_ = _data_->self->priv->_dbus_name;
              _data_->_tmp10_ = NULL;
              _data_->_tmp10_ = string_to_string (_data_->_tmp9_);
              _data_->_tmp11_ = _data_->e;
              _data_->_tmp12_ = _data_->_tmp11_->message;
              _data_->_tmp13_ = NULL;
              _data_->_tmp13_ = string_to_string (_data_->_tmp12_);
              _data_->_tmp14_ = NULL;
              _data_->_tmp14_ = g_strconcat ("Unable to connect to Scope (", _data_->_tmp8_, " @ ", _data_->_tmp10_, "): ", _data_->_tmp13_, NULL);
              _data_->_tmp15_ = _data_->_tmp14_;
              g_warning ("unity-scope-proxy-remote.vala:107: %s", _data_->_tmp15_);
              _g_free0 (_data_->_tmp15_);
              _g_error_free0 (_data_->e);
       }
       __finally26:
       if (_data_->_inner_error_ != NULL) {
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
              g_clear_error (&_data_->_inner_error_);
              return FALSE;
       }
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_connect_to_scope_data_free ( gpointer  _data) [static]

Definition at line 411 of file unity-scope-proxy-remote.c.

                                                                                 {
       UnityScopeProxyRemoteConnectToScopeData* _data_;
       _data_ = _data;
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityScopeProxyRemoteConnectToScopeData, _data_);
}

Here is the caller graph for this function:

static void unity_scope_proxy_remote_connect_to_scope_finish ( UnityScopeProxyRemote *  self,
GAsyncResult *  _res_ 
) [static]

Definition at line 436 of file unity-scope-proxy-remote.c.

                                                                                                                {
       UnityScopeProxyRemoteConnectToScopeData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}
static void unity_scope_proxy_remote_connect_to_scope_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 442 of file unity-scope-proxy-remote.c.

                                                                                                                                {
       UnityScopeProxyRemoteConnectToScopeData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_remote_connect_to_scope_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityScopeProxyRemote* unity_scope_proxy_remote_construct ( GType  object_type,
const gchar *  dbus_name_,
const gchar *  dbus_path_ 
)

Definition at line 393 of file unity-scope-proxy-remote.c.

                                                                                                                                {
       UnityScopeProxyRemote * self = NULL;
       const gchar* _tmp0_;
       const gchar* _tmp1_;
       g_return_val_if_fail (dbus_name_ != NULL, NULL);
       g_return_val_if_fail (dbus_path_ != NULL, NULL);
       _tmp0_ = dbus_name_;
       _tmp1_ = dbus_path_;
       self = (UnityScopeProxyRemote*) g_object_new (object_type, "dbus-name", _tmp0_, "dbus-path", _tmp1_, NULL);
       return self;
}

Here is the caller graph for this function:

static GObject * unity_scope_proxy_remote_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 1850 of file unity-scope-proxy-remote.c.

                                                                                                                                               {
       GObject * obj;
       GObjectClass * parent_class;
       UnityScopeProxyRemote * self;
       UnityCheckOptionFilter* _tmp0_;
       UnityCheckOptionFilter* _tmp1_;
       GError * _inner_error_ = NULL;
       parent_class = G_OBJECT_CLASS (unity_scope_proxy_remote_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemote);
       _tmp0_ = unity_check_option_filter_new ("sources", "Sources", NULL, TRUE);
       _tmp1_ = _tmp0_;
       unity_scope_proxy_set_sources ((UnityScopeProxy*) self, (UnityOptionsFilter*) _tmp1_);
       _g_object_unref0 (_tmp1_);
       {
              GDBusConnection* _tmp2_ = NULL;
              GDBusConnection* _tmp3_;
              GDBusConnection* _tmp4_;
              const gchar* _tmp5_;
              guint _tmp6_ = 0U;
              _tmp2_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
              _tmp3_ = _tmp2_;
              if (_inner_error_ != NULL) {
                     goto __catch33_g_error;
              }
              _g_object_unref0 (self->priv->_bus);
              self->priv->_bus = _tmp3_;
              _tmp4_ = self->priv->_bus;
              _tmp5_ = self->priv->_dbus_name;
              _tmp6_ = g_bus_watch_name_on_connection_with_closures (_tmp4_, _tmp5_, G_BUS_NAME_WATCHER_FLAGS_NONE, (GClosure*) ((_unity_scope_proxy_remote_on_scope_appeared_gbus_name_appeared_callback == NULL) ? NULL : g_cclosure_new ((GCallback) _unity_scope_proxy_remote_on_scope_appeared_gbus_name_appeared_callback, g_object_ref (self), g_object_unref)), (GClosure*) ((_unity_scope_proxy_remote_on_scope_vanished_gbus_name_vanished_callback == NULL) ? NULL : g_cclosure_new ((GCallback) _unity_scope_proxy_remote_on_scope_vanished_gbus_name_vanished_callback, g_object_ref (self), g_object_unref)));
              self->priv->_watcher = _tmp6_;
              unity_scope_proxy_remote_start_reconnection_timeout (self);
       }
       goto __finally33;
       __catch33_g_error:
       {
              GError* e = NULL;
              GError* _tmp7_;
              const gchar* _tmp8_;
              const gchar* _tmp9_ = NULL;
              gchar* _tmp10_ = NULL;
              gchar* _tmp11_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp7_ = e;
              _tmp8_ = _tmp7_->message;
              _tmp9_ = string_to_string (_tmp8_);
              _tmp10_ = g_strconcat ("Unable to connect to session bus: ", _tmp9_, NULL);
              _tmp11_ = _tmp10_;
              g_critical ("unity-scope-proxy-remote.vala:95: %s", _tmp11_);
              _g_free0 (_tmp11_);
              _g_error_free0 (e);
       }
       __finally33:
       if (_inner_error_ != NULL) {
              g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
              g_clear_error (&_inner_error_);
       }
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_finalize ( GObject *  obj) [static]

Definition at line 1966 of file unity-scope-proxy-remote.c.

                                                             {
       UnityScopeProxyRemote * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_SCOPE_PROXY_REMOTE, UnityScopeProxyRemote);
       _g_free0 (self->priv->_dbus_name);
       _g_free0 (self->priv->_dbus_path);
       _g_object_unref0 (self->priv->_sources);
       _g_object_unref0 (self->priv->_bus);
       _g_object_unref0 (self->priv->_service);
       _g_object_unref0 (self->priv->_results_model);
       _g_object_unref0 (self->priv->_global_results_model);
       _g_object_unref0 (self->priv->_filters_model);
       G_OBJECT_CLASS (unity_scope_proxy_remote_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

const gchar* unity_scope_proxy_remote_get_dbus_name ( UnityScopeProxyRemote *  self)

Definition at line 1652 of file unity-scope-proxy-remote.c.

                                                                                  {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_dbus_name;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

const gchar* unity_scope_proxy_remote_get_dbus_path ( UnityScopeProxyRemote *  self)

Definition at line 1674 of file unity-scope-proxy-remote.c.

                                                                                  {
       const gchar* result;
       const gchar* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_dbus_path;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

Definition at line 1981 of file unity-scope-proxy-remote.c.

                                               {
       static volatile gsize unity_scope_proxy_remote_type_id__volatile = 0;
       if (g_once_init_enter (&unity_scope_proxy_remote_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityScopeProxyRemoteClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_scope_proxy_remote_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityScopeProxyRemote), 0, (GInstanceInitFunc) unity_scope_proxy_remote_instance_init, NULL };
              static const GInterfaceInfo unity_scope_proxy_info = { (GInterfaceInitFunc) unity_scope_proxy_remote_unity_scope_proxy_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
              GType unity_scope_proxy_remote_type_id;
              unity_scope_proxy_remote_type_id = g_type_register_static (G_TYPE_OBJECT, "UnityScopeProxyRemote", &g_define_type_info, 0);
              g_type_add_interface_static (unity_scope_proxy_remote_type_id, UNITY_TYPE_SCOPE_PROXY, &unity_scope_proxy_info);
              g_once_init_leave (&unity_scope_proxy_remote_type_id__volatile, unity_scope_proxy_remote_type_id);
       }
       return unity_scope_proxy_remote_type_id__volatile;
}

Here is the call graph for this function:

static void unity_scope_proxy_remote_global_search_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1176 of file unity-scope-proxy-remote.c.

                                                                                                                             {
       UnityScopeProxyRemoteGlobalSearchData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_remote_real_global_search_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_instance_init ( UnityScopeProxyRemote *  self) [static]

Definition at line 1957 of file unity-scope-proxy-remote.c.

                                                                                  {
       self->priv = UNITY_SCOPE_PROXY_REMOTE_GET_PRIVATE (self);
       self->priv->_reconnection_id = (guint) 0;
       self->priv->synchronized = FALSE;
       self->priv->_last_scope_crash = (gint64) 0;
       self->priv->_scope_crashes = (guint) 0;
}

Here is the caller graph for this function:

UnityScopeProxyRemote* unity_scope_proxy_remote_new ( const gchar *  dbus_name_,
const gchar *  dbus_path_ 
)

Definition at line 406 of file unity-scope-proxy-remote.c.

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_scope_proxy_remote_on_changed ( UnityScopeProxyRemote *  self,
UnityProtocolScopeInfo *  scope_info 
)

Definition at line 1484 of file unity-scope-proxy-remote.c.

                                                                                                           {
       const gchar* _tmp0_;
       UnityProtocolScopeInfo _tmp1_;
       const gchar* _tmp2_;
       const gchar* _tmp10_;
       UnityProtocolScopeInfo _tmp11_;
       gboolean _tmp12_;
       gboolean _tmp13_ = FALSE;
       DeeSerializableModel* _tmp14_;
       DeeSerializableModel* _tmp15_;
       gboolean _tmp20_;
       gboolean _tmp27_ = FALSE;
       DeeSerializableModel* _tmp28_;
       DeeSerializableModel* _tmp29_;
       gboolean _tmp34_;
       gboolean _tmp41_ = FALSE;
       DeeSerializableModel* _tmp42_;
       DeeSerializableModel* _tmp43_;
       gboolean _tmp48_;
       UnityOptionsFilter* _tmp55_;
       UnityOptionsFilter* _tmp56_;
       UnityProtocolScopeInfo _tmp57_;
       GVariant* _tmp58_;
       gboolean _tmp59_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (scope_info != NULL);
       _tmp0_ = self->priv->_dbus_path;
       _tmp1_ = *scope_info;
       _tmp2_ = _tmp1_.dbus_path;
       if (g_strcmp0 (_tmp0_, _tmp2_) != 0) {
              const gchar* _tmp3_;
              const gchar* _tmp4_ = NULL;
              UnityProtocolScopeInfo _tmp5_;
              const gchar* _tmp6_;
              const gchar* _tmp7_ = NULL;
              gchar* _tmp8_ = NULL;
              gchar* _tmp9_;
              _tmp3_ = self->priv->_dbus_path;
              _tmp4_ = string_to_string (_tmp3_);
              _tmp5_ = *scope_info;
              _tmp6_ = _tmp5_.dbus_path;
              _tmp7_ = string_to_string (_tmp6_);
              _tmp8_ = g_strconcat ("Unable to handle Scope changed signal: dbus_path mismatch. Expected ", _tmp4_, " got ", _tmp7_, NULL);
              _tmp9_ = _tmp8_;
              g_warning ("unity-scope-proxy-remote.vala:286: %s", _tmp9_);
              _g_free0 (_tmp9_);
              return;
       }
       _tmp10_ = self->priv->_dbus_path;
       unity_trace_log_object ((GObject*) self, "Processing changed signal for %s", _tmp10_);
       _tmp11_ = *scope_info;
       _tmp12_ = _tmp11_.search_in_global;
       unity_scope_proxy_set_search_in_global ((UnityScopeProxy*) self, _tmp12_);
       _tmp14_ = unity_scope_proxy_get_results_model ((UnityScopeProxy*) self);
       _tmp15_ = _tmp14_;
       if (_tmp15_ == NULL) {
              _tmp13_ = TRUE;
       } else {
              DeeSharedModel* _tmp16_;
              const gchar* _tmp17_ = NULL;
              UnityProtocolScopeInfo _tmp18_;
              const gchar* _tmp19_;
              _tmp16_ = self->priv->_results_model;
              _tmp17_ = dee_shared_model_get_swarm_name (_tmp16_);
              _tmp18_ = *scope_info;
              _tmp19_ = _tmp18_.results_model_name;
              _tmp13_ = g_strcmp0 (_tmp17_, _tmp19_) != 0;
       }
       _tmp20_ = _tmp13_;
       if (_tmp20_) {
              UnityProtocolScopeInfo _tmp21_;
              const gchar* _tmp22_;
              DeeSharedModel* _tmp23_;
              DeeSharedModel* _tmp24_;
              DeeSerializableModel* _tmp25_;
              DeeSerializableModel* _tmp26_;
              _tmp21_ = *scope_info;
              _tmp22_ = _tmp21_.results_model_name;
              _tmp23_ = (DeeSharedModel*) dee_shared_model_new (_tmp22_);
              _tmp24_ = _tmp23_;
              unity_scope_proxy_set_results_model ((UnityScopeProxy*) self, (DeeSerializableModel*) _tmp24_);
              _g_object_unref0 (_tmp24_);
              _tmp25_ = unity_scope_proxy_get_results_model ((UnityScopeProxy*) self);
              _tmp26_ = _tmp25_;
              dee_model_set_schema ((DeeModel*) _tmp26_, "s", "s", "u", "s", "s", "s", "s", NULL);
       }
       _tmp28_ = unity_scope_proxy_get_global_results_model ((UnityScopeProxy*) self);
       _tmp29_ = _tmp28_;
       if (_tmp29_ == NULL) {
              _tmp27_ = TRUE;
       } else {
              DeeSharedModel* _tmp30_;
              const gchar* _tmp31_ = NULL;
              UnityProtocolScopeInfo _tmp32_;
              const gchar* _tmp33_;
              _tmp30_ = self->priv->_global_results_model;
              _tmp31_ = dee_shared_model_get_swarm_name (_tmp30_);
              _tmp32_ = *scope_info;
              _tmp33_ = _tmp32_.global_results_model_name;
              _tmp27_ = g_strcmp0 (_tmp31_, _tmp33_) != 0;
       }
       _tmp34_ = _tmp27_;
       if (_tmp34_) {
              UnityProtocolScopeInfo _tmp35_;
              const gchar* _tmp36_;
              DeeSharedModel* _tmp37_;
              DeeSharedModel* _tmp38_;
              DeeSerializableModel* _tmp39_;
              DeeSerializableModel* _tmp40_;
              _tmp35_ = *scope_info;
              _tmp36_ = _tmp35_.global_results_model_name;
              _tmp37_ = (DeeSharedModel*) dee_shared_model_new (_tmp36_);
              _tmp38_ = _tmp37_;
              unity_scope_proxy_set_global_results_model ((UnityScopeProxy*) self, (DeeSerializableModel*) _tmp38_);
              _g_object_unref0 (_tmp38_);
              _tmp39_ = unity_scope_proxy_get_global_results_model ((UnityScopeProxy*) self);
              _tmp40_ = _tmp39_;
              dee_model_set_schema ((DeeModel*) _tmp40_, "s", "s", "u", "s", "s", "s", "s", NULL);
       }
       _tmp42_ = unity_scope_proxy_get_filters_model ((UnityScopeProxy*) self);
       _tmp43_ = _tmp42_;
       if (_tmp43_ == NULL) {
              _tmp41_ = TRUE;
       } else {
              DeeSharedModel* _tmp44_;
              const gchar* _tmp45_ = NULL;
              UnityProtocolScopeInfo _tmp46_;
              const gchar* _tmp47_;
              _tmp44_ = self->priv->_filters_model;
              _tmp45_ = dee_shared_model_get_swarm_name (_tmp44_);
              _tmp46_ = *scope_info;
              _tmp47_ = _tmp46_.filters_model_name;
              _tmp41_ = g_strcmp0 (_tmp45_, _tmp47_) != 0;
       }
       _tmp48_ = _tmp41_;
       if (_tmp48_) {
              UnityProtocolScopeInfo _tmp49_;
              const gchar* _tmp50_;
              DeeSharedModel* _tmp51_;
              DeeSharedModel* _tmp52_;
              DeeSerializableModel* _tmp53_;
              DeeSerializableModel* _tmp54_;
              _tmp49_ = *scope_info;
              _tmp50_ = _tmp49_.filters_model_name;
              _tmp51_ = (DeeSharedModel*) dee_shared_model_new (_tmp50_);
              _tmp52_ = _tmp51_;
              unity_scope_proxy_set_filters_model ((UnityScopeProxy*) self, (DeeSerializableModel*) _tmp52_);
              _g_object_unref0 (_tmp52_);
              _tmp53_ = unity_scope_proxy_get_filters_model ((UnityScopeProxy*) self);
              _tmp54_ = _tmp53_;
              dee_model_set_schema ((DeeModel*) _tmp54_, "s", "s", "s", "s", "a{sv}", "b", "b", "b", NULL);
       }
       _tmp55_ = unity_scope_proxy_get_sources ((UnityScopeProxy*) self);
       _tmp56_ = _tmp55_;
       _tmp57_ = *scope_info;
       _tmp58_ = _tmp57_.sources;
       unity_filter_update ((UnityFilter*) _tmp56_, _tmp58_);
       g_object_notify ((GObject*) self, "sources");
       _tmp59_ = self->priv->synchronized;
       if (!_tmp59_) {
              UnityProtocolViewType _tmp60_;
              self->priv->synchronized = TRUE;
              _tmp60_ = self->priv->_view_type;
              unity_scope_proxy_remote_set_view_type (self, _tmp60_, NULL, NULL);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_on_scope_appeared ( UnityScopeProxyRemote *  self,
GDBusConnection *  conn,
const gchar *  name,
const gchar *  name_owner 
) [static]

Definition at line 542 of file unity-scope-proxy-remote.c.

                                                                                                                                                        {
       const gchar* _tmp0_;
       guint _tmp1_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (conn != NULL);
       g_return_if_fail (name != NULL);
       g_return_if_fail (name_owner != NULL);
       _tmp0_ = self->priv->_dbus_name;
       unity_trace_log_object ((GObject*) self, "Scope appeared: %s", _tmp0_);
       _tmp1_ = self->priv->_reconnection_id;
       if (_tmp1_ != ((guint) 0)) {
              guint _tmp2_;
              _tmp2_ = self->priv->_reconnection_id;
              g_source_remove (_tmp2_);
       }
       unity_scope_proxy_remote_connect_to_scope (self, NULL, NULL);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_on_scope_vanished ( UnityScopeProxyRemote *  self,
GDBusConnection *  conn,
const gchar *  name 
) [static]

Definition at line 561 of file unity-scope-proxy-remote.c.

                                                                                                                               {
       const gchar* _tmp0_;
       UnityCheckOptionFilter* _tmp1_;
       UnityCheckOptionFilter* _tmp2_;
       DeeSharedModel* _tmp3_;
       DeeSharedModel* _tmp5_;
       UnityProtocolScopeService* _tmp7_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (conn != NULL);
       g_return_if_fail (name != NULL);
       _tmp0_ = self->priv->_dbus_name;
       unity_trace_log_object ((GObject*) self, "Scope vanished: %s", _tmp0_);
       self->priv->synchronized = FALSE;
       unity_scope_proxy_set_search_in_global ((UnityScopeProxy*) self, FALSE);
       _tmp1_ = unity_check_option_filter_new ("sources", "Sources", NULL, TRUE);
       _tmp2_ = _tmp1_;
       unity_scope_proxy_set_sources ((UnityScopeProxy*) self, (UnityOptionsFilter*) _tmp2_);
       _g_object_unref0 (_tmp2_);
       _tmp3_ = self->priv->_results_model;
       if (_tmp3_ != NULL) {
              DeeSharedModel* _tmp4_;
              _tmp4_ = self->priv->_results_model;
              dee_model_clear ((DeeModel*) _tmp4_);
       }
       _tmp5_ = self->priv->_global_results_model;
       if (_tmp5_ != NULL) {
              DeeSharedModel* _tmp6_;
              _tmp6_ = self->priv->_global_results_model;
              dee_model_clear ((DeeModel*) _tmp6_);
       }
       _g_object_unref0 (self->priv->_filters_model);
       self->priv->_filters_model = NULL;
       _tmp7_ = self->priv->_service;
       if (_tmp7_ != NULL) {
              guint _tmp8_;
              gint64 _tmp9_ = 0LL;
              gint64 cur_time;
              gint64 _tmp10_;
              gint64 _tmp11_;
              gint64 time_since_last_crash;
              gint64 _tmp12_;
              _tmp8_ = self->priv->_scope_crashes;
              self->priv->_scope_crashes = _tmp8_ + 1;
              _tmp9_ = g_get_monotonic_time ();
              cur_time = _tmp9_;
              _tmp10_ = cur_time;
              _tmp11_ = self->priv->_last_scope_crash;
              time_since_last_crash = _tmp10_ - _tmp11_;
              _tmp12_ = time_since_last_crash;
              if (_tmp12_ >= ((gint64) (15 * 60000000))) {
                     gint64 _tmp13_;
                     _tmp13_ = cur_time;
                     self->priv->_last_scope_crash = _tmp13_;
                     self->priv->_scope_crashes = (guint) 1;
              } else {
                     guint _tmp14_;
                     _tmp14_ = self->priv->_scope_crashes;
                     if (_tmp14_ >= ((guint) 10)) {
                            const gchar* _tmp15_;
                            _tmp15_ = self->priv->_dbus_name;
                            g_warning ("unity-scope-proxy-remote.vala:157: Scope %s is crashing too often, dis" \
"abling it", _tmp15_);
                            return;
                     }
              }
              unity_scope_proxy_remote_start_reconnection_timeout (self);
       } else {
              unity_scope_proxy_remote_start_reconnection_timeout (self);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_activate ( UnityScopeProxy *  base,
const gchar *  uri,
UnityProtocolActionType  action_type,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 695 of file unity-scope-proxy-remote.c.

                                                                                                                                                                                        {
       UnityScopeProxyRemote * self;
       UnityScopeProxyRemoteActivateData* _data_;
       UnityScopeProxyRemote* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       UnityProtocolActionType _tmp3_;
       self = (UnityScopeProxyRemote*) base;
       _data_ = g_slice_new0 (UnityScopeProxyRemoteActivateData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_remote_real_activate);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_remote_real_activate_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = uri;
       _tmp2_ = g_strdup (_tmp1_);
       _data_->uri = _tmp2_;
       _tmp3_ = action_type;
       _data_->action_type = _tmp3_;
       unity_scope_proxy_remote_real_activate_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_proxy_remote_real_activate_co ( UnityScopeProxyRemoteActivateData *  _data_) [static]

Definition at line 735 of file unity-scope-proxy-remote.c.

                                                                                                      {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->synchronized;
       if (_data_->_tmp0_) {
              {
                     _data_->_tmp1_ = _data_->self->priv->_service;
                     _data_->_tmp2_ = _data_->uri;
                     _data_->_tmp3_ = _data_->action_type;
                     memset (&_data_->_tmp4_, 0, sizeof (UnityProtocolActivationReplyRaw));
                     _data_->_state_ = 1;
                     unity_protocol_scope_service_activate (_data_->_tmp1_, _data_->_tmp2_, (guint) _data_->_tmp3_, unity_scope_proxy_remote_activate_ready, _data_);
                     return FALSE;
                     _state_1:
                     unity_protocol_scope_service_activate_finish (_data_->_tmp1_, _data_->_res_, &_data_->_tmp4_, &_data_->_inner_error_);
                     _data_->raw = _data_->_tmp4_;
                     if (_data_->_inner_error_ != NULL) {
                            goto __catch27_g_error;
                     }
                     _data_->result = _data_->raw;
                     if (_data_->_state_ == 0) {
                            g_simple_async_result_complete_in_idle (_data_->_async_result);
                     } else {
                            g_simple_async_result_complete (_data_->_async_result);
                     }
                     g_object_unref (_data_->_async_result);
                     return FALSE;
              }
              goto __finally27;
              __catch27_g_error:
              {
                     _data_->e = _data_->_inner_error_;
                     _data_->_inner_error_ = NULL;
                     _data_->_tmp5_ = _data_->self->priv->_dbus_path;
                     _data_->_tmp6_ = NULL;
                     _data_->_tmp6_ = string_to_string (_data_->_tmp5_);
                     _data_->_tmp7_ = _data_->e;
                     _data_->_tmp8_ = _data_->_tmp7_->message;
                     _data_->_tmp9_ = NULL;
                     _data_->_tmp9_ = string_to_string (_data_->_tmp8_);
                     _data_->_tmp10_ = NULL;
                     _data_->_tmp10_ = g_strconcat ("Unable to search scope (", _data_->_tmp6_, "): ", _data_->_tmp9_, NULL);
                     _data_->_tmp11_ = _data_->_tmp10_;
                     g_warning ("unity-scope-proxy-remote.vala:197: %s", _data_->_tmp11_);
                     _g_free0 (_data_->_tmp11_);
                     _g_error_free0 (_data_->e);
              }
              __finally27:
              if (_data_->_inner_error_ != NULL) {
                     g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
       }
       memset (&_data_->_tmp12_, 0, sizeof (UnityProtocolActivationReplyRaw));
       memset (&_data_->_tmp12_, 0, sizeof (UnityProtocolActivationReplyRaw));
       _data_->result = _data_->_tmp12_;
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_activate_data_free ( gpointer  _data) [static]

Definition at line 685 of file unity-scope-proxy-remote.c.

                                                                              {
       UnityScopeProxyRemoteActivateData* _data_;
       _data_ = _data;
       _g_free0 (_data_->uri);
       unity_protocol_activation_reply_raw_destroy (&_data_->result);
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityScopeProxyRemoteActivateData, _data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_activate_finish ( UnityScopeProxy *  base,
GAsyncResult *  _res_,
UnityProtocolActivationReplyRaw *  result 
) [static]

Definition at line 717 of file unity-scope-proxy-remote.c.

                                                                                                                                                {
       UnityScopeProxyRemoteActivateData* _data_;
       UnityProtocolActivationReplyRaw _tmp0_ = {0};
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
       unity_protocol_activation_reply_raw_copy (&_data_->result, &_tmp0_);
       *result = _tmp0_;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static DeeSerializableModel* unity_scope_proxy_remote_real_get_filters_model ( UnityScopeProxy *  base) [static]

Definition at line 1789 of file unity-scope-proxy-remote.c.

                                                                                                     {
       DeeSerializableModel* result;
       UnityScopeProxyRemote* self;
       DeeSharedModel* _tmp0_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = self->priv->_filters_model;
       result = (DeeSerializableModel*) _tmp0_;
       return result;
}

Here is the caller graph for this function:

static DeeSerializableModel* unity_scope_proxy_remote_real_get_global_results_model ( UnityScopeProxy *  base) [static]

Definition at line 1765 of file unity-scope-proxy-remote.c.

                                                                                                            {
       DeeSerializableModel* result;
       UnityScopeProxyRemote* self;
       DeeSharedModel* _tmp0_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = self->priv->_global_results_model;
       result = (DeeSerializableModel*) _tmp0_;
       return result;
}

Here is the caller graph for this function:

static DeeSerializableModel* unity_scope_proxy_remote_real_get_results_model ( UnityScopeProxy *  base) [static]

Definition at line 1741 of file unity-scope-proxy-remote.c.

                                                                                                     {
       DeeSerializableModel* result;
       UnityScopeProxyRemote* self;
       DeeSharedModel* _tmp0_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = self->priv->_results_model;
       result = (DeeSerializableModel*) _tmp0_;
       return result;
}

Here is the caller graph for this function:

static gboolean unity_scope_proxy_remote_real_get_search_in_global ( UnityScopeProxy *  base) [static]

Definition at line 1720 of file unity-scope-proxy-remote.c.

                                                                                           {
       gboolean result;
       UnityScopeProxyRemote* self;
       gboolean _tmp0_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = self->priv->_search_in_global;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

static UnityOptionsFilter* unity_scope_proxy_remote_real_get_sources ( UnityScopeProxy *  base) [static]

Definition at line 1696 of file unity-scope-proxy-remote.c.

                                                                                             {
       UnityOptionsFilter* result;
       UnityScopeProxyRemote* self;
       UnityOptionsFilter* _tmp0_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = self->priv->_sources;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

static UnityProtocolViewType unity_scope_proxy_remote_real_get_view_type ( UnityScopeProxy *  base) [static]

Definition at line 1813 of file unity-scope-proxy-remote.c.

                                                                                                 {
       UnityProtocolViewType result;
       UnityScopeProxyRemote* self;
       UnityProtocolViewType _tmp0_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = self->priv->_view_type;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_global_search ( UnityScopeProxy *  base,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1142 of file unity-scope-proxy-remote.c.

                                                                                                                                                                                     {
       UnityScopeProxyRemote * self;
       UnityScopeProxyRemoteGlobalSearchData* _data_;
       UnityScopeProxyRemote* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       self = (UnityScopeProxyRemote*) base;
       _data_ = g_slice_new0 (UnityScopeProxyRemoteGlobalSearchData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_remote_real_global_search);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_remote_real_global_search_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = search_string;
       _tmp2_ = g_strdup (_tmp1_);
       _data_->search_string = _tmp2_;
       _tmp3_ = hints;
       _tmp4_ = _g_hash_table_ref0 (_tmp3_);
       _data_->hints = _tmp4_;
       unity_scope_proxy_remote_real_global_search_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_proxy_remote_real_global_search_co ( UnityScopeProxyRemoteGlobalSearchData *  _data_) [static]

Definition at line 1185 of file unity-scope-proxy-remote.c.

                                                                                                               {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->synchronized;
       if (_data_->_tmp0_) {
              {
                     _data_->_tmp1_ = _data_->self->priv->_service;
                     _data_->_tmp2_ = _data_->search_string;
                     _data_->_tmp3_ = _data_->hints;
                     _data_->_state_ = 1;
                     unity_protocol_scope_service_global_search (_data_->_tmp1_, _data_->_tmp2_, _data_->_tmp3_, unity_scope_proxy_remote_global_search_ready, _data_);
                     return FALSE;
                     _state_1:
                     _data_->_tmp4_ = NULL;
                     _data_->_tmp4_ = unity_protocol_scope_service_global_search_finish (_data_->_tmp1_, _data_->_res_, &_data_->_inner_error_);
                     _data_->_result_ = _data_->_tmp4_;
                     if (_data_->_inner_error_ != NULL) {
                            if (g_error_matches (_data_->_inner_error_, UNITY_PROTOCOL_SCOPE_ERROR, UNITY_PROTOCOL_SCOPE_ERROR_SEARCH_CANCELLED)) {
                                   goto __catch30_unity_protocol_scope_error_search_cancelled;
                            }
                            goto __catch30_g_error;
                     }
                     _data_->result = _data_->_result_;
                     if (_data_->_state_ == 0) {
                            g_simple_async_result_complete_in_idle (_data_->_async_result);
                     } else {
                            g_simple_async_result_complete (_data_->_async_result);
                     }
                     g_object_unref (_data_->_async_result);
                     return FALSE;
              }
              goto __finally30;
              __catch30_unity_protocol_scope_error_search_cancelled:
              {
                     _data_->scope_error = _data_->_inner_error_;
                     _data_->_inner_error_ = NULL;
                     _g_error_free0 (_data_->scope_error);
              }
              goto __finally30;
              __catch30_g_error:
              {
                     _data_->e = _data_->_inner_error_;
                     _data_->_inner_error_ = NULL;
                     _data_->_tmp5_ = _data_->self->priv->_dbus_path;
                     _data_->_tmp6_ = NULL;
                     _data_->_tmp6_ = string_to_string (_data_->_tmp5_);
                     _data_->_tmp7_ = _data_->search_string;
                     _data_->_tmp8_ = NULL;
                     _data_->_tmp8_ = string_to_string (_data_->_tmp7_);
                     _data_->_tmp9_ = _data_->e;
                     _data_->_tmp10_ = _data_->_tmp9_->message;
                     _data_->_tmp11_ = NULL;
                     _data_->_tmp11_ = string_to_string (_data_->_tmp10_);
                     _data_->_tmp12_ = NULL;
                     _data_->_tmp12_ = g_strconcat ("Unable to global_search scope (", _data_->_tmp6_, " - '", _data_->_tmp8_, "'): ", _data_->_tmp11_, NULL);
                     _data_->_tmp13_ = _data_->_tmp12_;
                     g_warning ("unity-scope-proxy-remote.vala:248: %s", _data_->_tmp13_);
                     _g_free0 (_data_->_tmp13_);
                     _g_error_free0 (_data_->e);
              }
              __finally30:
              if (_data_->_inner_error_ != NULL) {
                     g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
       }
       _data_->_tmp14_ = g_str_hash;
       _data_->_tmp15_ = g_str_equal;
       _data_->_tmp16_ = g_hash_table_new_full (_data_->_tmp14_, _data_->_tmp15_, _g_free0_, _g_variant_unref0_);
       _data_->result = _data_->_tmp16_;
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_global_search_data_free ( gpointer  _data) [static]

Definition at line 1131 of file unity-scope-proxy-remote.c.

                                                                                   {
       UnityScopeProxyRemoteGlobalSearchData* _data_;
       _data_ = _data;
       _g_free0 (_data_->search_string);
       _g_hash_table_unref0 (_data_->hints);
       _g_hash_table_unref0 (_data_->result);
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityScopeProxyRemoteGlobalSearchData, _data_);
}

Here is the caller graph for this function:

static GHashTable* unity_scope_proxy_remote_real_global_search_finish ( UnityScopeProxy *  base,
GAsyncResult *  _res_ 
) [static]

Definition at line 1166 of file unity-scope-proxy-remote.c.

                                                                                                                   {
       GHashTable* result;
       UnityScopeProxyRemoteGlobalSearchData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
       result = _data_->result;
       _data_->result = NULL;
       return result;
}

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_search ( UnityScopeProxy *  base,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 993 of file unity-scope-proxy-remote.c.

                                                                                                                                                                              {
       UnityScopeProxyRemote * self;
       UnityScopeProxyRemoteSearchData* _data_;
       UnityScopeProxyRemote* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       self = (UnityScopeProxyRemote*) base;
       _data_ = g_slice_new0 (UnityScopeProxyRemoteSearchData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_remote_real_search);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_remote_real_search_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = search_string;
       _tmp2_ = g_strdup (_tmp1_);
       _data_->search_string = _tmp2_;
       _tmp3_ = hints;
       _tmp4_ = _g_hash_table_ref0 (_tmp3_);
       _data_->hints = _tmp4_;
       unity_scope_proxy_remote_real_search_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_proxy_remote_real_search_co ( UnityScopeProxyRemoteSearchData *  _data_) [static]

Definition at line 1036 of file unity-scope-proxy-remote.c.

                                                                                                  {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->synchronized;
       if (_data_->_tmp0_) {
              {
                     _data_->_tmp1_ = _data_->self->priv->_service;
                     _data_->_tmp2_ = _data_->search_string;
                     _data_->_tmp3_ = _data_->hints;
                     _data_->_state_ = 1;
                     unity_protocol_scope_service_search (_data_->_tmp1_, _data_->_tmp2_, _data_->_tmp3_, unity_scope_proxy_remote_search_ready, _data_);
                     return FALSE;
                     _state_1:
                     _data_->_tmp4_ = NULL;
                     _data_->_tmp4_ = unity_protocol_scope_service_search_finish (_data_->_tmp1_, _data_->_res_, &_data_->_inner_error_);
                     _data_->ht = _data_->_tmp4_;
                     if (_data_->_inner_error_ != NULL) {
                            if (g_error_matches (_data_->_inner_error_, UNITY_PROTOCOL_SCOPE_ERROR, UNITY_PROTOCOL_SCOPE_ERROR_SEARCH_CANCELLED)) {
                                   goto __catch29_unity_protocol_scope_error_search_cancelled;
                            }
                            goto __catch29_g_error;
                     }
                     _data_->result = _data_->ht;
                     if (_data_->_state_ == 0) {
                            g_simple_async_result_complete_in_idle (_data_->_async_result);
                     } else {
                            g_simple_async_result_complete (_data_->_async_result);
                     }
                     g_object_unref (_data_->_async_result);
                     return FALSE;
              }
              goto __finally29;
              __catch29_unity_protocol_scope_error_search_cancelled:
              {
                     _data_->scope_error = _data_->_inner_error_;
                     _data_->_inner_error_ = NULL;
                     _g_error_free0 (_data_->scope_error);
              }
              goto __finally29;
              __catch29_g_error:
              {
                     _data_->e = _data_->_inner_error_;
                     _data_->_inner_error_ = NULL;
                     _data_->_tmp5_ = _data_->self->priv->_dbus_path;
                     _data_->_tmp6_ = NULL;
                     _data_->_tmp6_ = string_to_string (_data_->_tmp5_);
                     _data_->_tmp7_ = _data_->search_string;
                     _data_->_tmp8_ = NULL;
                     _data_->_tmp8_ = string_to_string (_data_->_tmp7_);
                     _data_->_tmp9_ = _data_->e;
                     _data_->_tmp10_ = _data_->_tmp9_->message;
                     _data_->_tmp11_ = NULL;
                     _data_->_tmp11_ = string_to_string (_data_->_tmp10_);
                     _data_->_tmp12_ = NULL;
                     _data_->_tmp12_ = g_strconcat ("Unable to search scope (", _data_->_tmp6_, " - '", _data_->_tmp8_, "'): ", _data_->_tmp11_, NULL);
                     _data_->_tmp13_ = _data_->_tmp12_;
                     g_warning ("unity-scope-proxy-remote.vala:230: %s", _data_->_tmp13_);
                     _g_free0 (_data_->_tmp13_);
                     _g_error_free0 (_data_->e);
              }
              __finally29:
              if (_data_->_inner_error_ != NULL) {
                     g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
       }
       _data_->_tmp14_ = g_str_hash;
       _data_->_tmp15_ = g_str_equal;
       _data_->_tmp16_ = g_hash_table_new_full (_data_->_tmp14_, _data_->_tmp15_, _g_free0_, _g_variant_unref0_);
       _data_->result = _data_->_tmp16_;
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_search_data_free ( gpointer  _data) [static]

Definition at line 982 of file unity-scope-proxy-remote.c.

                                                                            {
       UnityScopeProxyRemoteSearchData* _data_;
       _data_ = _data;
       _g_free0 (_data_->search_string);
       _g_hash_table_unref0 (_data_->hints);
       _g_hash_table_unref0 (_data_->result);
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityScopeProxyRemoteSearchData, _data_);
}

Here is the caller graph for this function:

static GHashTable* unity_scope_proxy_remote_real_search_finish ( UnityScopeProxy *  base,
GAsyncResult *  _res_ 
) [static]

Definition at line 1017 of file unity-scope-proxy-remote.c.

                                                                                                            {
       GHashTable* result;
       UnityScopeProxyRemoteSearchData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
       result = _data_->result;
       _data_->result = NULL;
       return result;
}

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_set_active_sources ( UnityScopeProxy *  base,
gchar **  sources,
int  sources_length1,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1388 of file unity-scope-proxy-remote.c.

                                                                                                                                                                                 {
       UnityScopeProxyRemote * self;
       UnityScopeProxyRemoteSetActiveSourcesData* _data_;
       UnityScopeProxyRemote* _tmp0_;
       gchar** _tmp1_;
       gint _tmp1__length1;
       self = (UnityScopeProxyRemote*) base;
       _data_ = g_slice_new0 (UnityScopeProxyRemoteSetActiveSourcesData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_remote_real_set_active_sources);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_remote_real_set_active_sources_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = sources;
       _tmp1__length1 = sources_length1;
       _data_->sources = _tmp1_;
       _data_->sources_length1 = _tmp1__length1;
       unity_scope_proxy_remote_real_set_active_sources_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_proxy_remote_real_set_active_sources_co ( UnityScopeProxyRemoteSetActiveSourcesData *  _data_) [static]

Definition at line 1423 of file unity-scope-proxy-remote.c.

                                                                                                                        {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->synchronized;
       if (_data_->_tmp0_) {
              {
                     _data_->_tmp1_ = _data_->self->priv->_service;
                     _data_->_tmp2_ = _data_->sources;
                     _data_->_tmp2__length1 = _data_->sources_length1;
                     _data_->_state_ = 1;
                     unity_protocol_scope_service_set_active_sources (_data_->_tmp1_, _data_->_tmp2_, _data_->_tmp2__length1, unity_scope_proxy_remote_set_active_sources_ready, _data_);
                     return FALSE;
                     _state_1:
                     unity_protocol_scope_service_set_active_sources_finish (_data_->_tmp1_, _data_->_res_, &_data_->_inner_error_);
                     if (_data_->_inner_error_ != NULL) {
                            goto __catch32_g_error;
                     }
              }
              goto __finally32;
              __catch32_g_error:
              {
                     _data_->e = _data_->_inner_error_;
                     _data_->_inner_error_ = NULL;
                     _data_->_tmp3_ = _data_->self->priv->_dbus_path;
                     _data_->_tmp4_ = NULL;
                     _data_->_tmp4_ = string_to_string (_data_->_tmp3_);
                     _data_->_tmp5_ = _data_->e;
                     _data_->_tmp6_ = _data_->_tmp5_->message;
                     _data_->_tmp7_ = NULL;
                     _data_->_tmp7_ = string_to_string (_data_->_tmp6_);
                     _data_->_tmp8_ = NULL;
                     _data_->_tmp8_ = g_strconcat ("Unable to set_sources (", _data_->_tmp4_, "): ", _data_->_tmp7_, NULL);
                     _data_->_tmp9_ = _data_->_tmp8_;
                     g_warning ("unity-scope-proxy-remote.vala:276: %s", _data_->_tmp9_);
                     _g_free0 (_data_->_tmp9_);
                     _g_error_free0 (_data_->e);
              }
              __finally32:
              if (_data_->_inner_error_ != NULL) {
                     g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
       }
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_set_active_sources_data_free ( gpointer  _data) [static]

Definition at line 1380 of file unity-scope-proxy-remote.c.

                                                                                        {
       UnityScopeProxyRemoteSetActiveSourcesData* _data_;
       _data_ = _data;
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityScopeProxyRemoteSetActiveSourcesData, _data_);
}

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_set_active_sources_finish ( UnityScopeProxy *  base,
GAsyncResult *  _res_ 
) [static]

Definition at line 1408 of file unity-scope-proxy-remote.c.

                                                                                                                 {
       UnityScopeProxyRemoteSetActiveSourcesData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_set_filters_model ( UnityScopeProxy *  base,
DeeSerializableModel *  value 
) [static]

Definition at line 1800 of file unity-scope-proxy-remote.c.

                                                                                                                 {
       UnityScopeProxyRemote* self;
       DeeSerializableModel* _tmp0_;
       DeeSharedModel* _tmp1_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, dee_shared_model_get_type ()) ? ((DeeSharedModel*) _tmp0_) : NULL);
       _g_object_unref0 (self->priv->_filters_model);
       self->priv->_filters_model = _tmp1_;
       g_object_notify ((GObject *) self, "filters-model");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_set_global_results_model ( UnityScopeProxy *  base,
DeeSerializableModel *  value 
) [static]

Definition at line 1776 of file unity-scope-proxy-remote.c.

                                                                                                                        {
       UnityScopeProxyRemote* self;
       DeeSerializableModel* _tmp0_;
       DeeSharedModel* _tmp1_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, dee_shared_model_get_type ()) ? ((DeeSharedModel*) _tmp0_) : NULL);
       _g_object_unref0 (self->priv->_global_results_model);
       self->priv->_global_results_model = _tmp1_;
       g_object_notify ((GObject *) self, "global-results-model");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_set_results_model ( UnityScopeProxy *  base,
DeeSerializableModel *  value 
) [static]

Definition at line 1752 of file unity-scope-proxy-remote.c.

                                                                                                                 {
       UnityScopeProxyRemote* self;
       DeeSerializableModel* _tmp0_;
       DeeSharedModel* _tmp1_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, dee_shared_model_get_type ()) ? ((DeeSharedModel*) _tmp0_) : NULL);
       _g_object_unref0 (self->priv->_results_model);
       self->priv->_results_model = _tmp1_;
       g_object_notify ((GObject *) self, "results-model");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_set_search_in_global ( UnityScopeProxy *  base,
gboolean  value 
) [static]

Definition at line 1731 of file unity-scope-proxy-remote.c.

                                                                                                       {
       UnityScopeProxyRemote* self;
       gboolean _tmp0_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = value;
       self->priv->_search_in_global = _tmp0_;
       g_object_notify ((GObject *) self, "search-in-global");
}

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_set_sources ( UnityScopeProxy *  base,
UnityOptionsFilter *  value 
) [static]

Definition at line 1707 of file unity-scope-proxy-remote.c.

                                                                                                         {
       UnityScopeProxyRemote* self;
       UnityOptionsFilter* _tmp0_;
       UnityOptionsFilter* _tmp1_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_sources);
       self->priv->_sources = _tmp1_;
       g_object_notify ((GObject *) self, "sources");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_set_view_type ( UnityScopeProxy *  base,
UnityProtocolViewType  value 
) [static]

Definition at line 1824 of file unity-scope-proxy-remote.c.

                                                                                                             {
       UnityScopeProxyRemote* self;
       UnityProtocolViewType _tmp0_;
       UnityProtocolViewType _tmp1_;
       self = (UnityScopeProxyRemote*) base;
       _tmp0_ = self->priv->_view_type;
       _tmp1_ = value;
       if (_tmp0_ != _tmp1_) {
              UnityProtocolViewType _tmp2_;
              _tmp2_ = value;
              unity_scope_proxy_remote_set_view_type (self, _tmp2_, NULL, NULL);
       }
       g_object_notify ((GObject *) self, "view-type");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_update_preview_property ( UnityScopeProxy *  base,
const gchar *  uri,
GHashTable *  values,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 832 of file unity-scope-proxy-remote.c.

                                                                                                                                                                                      {
       UnityScopeProxyRemote * self;
       UnityScopeProxyRemoteUpdatePreviewPropertyData* _data_;
       UnityScopeProxyRemote* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       self = (UnityScopeProxyRemote*) base;
       _data_ = g_slice_new0 (UnityScopeProxyRemoteUpdatePreviewPropertyData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_remote_real_update_preview_property);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_remote_real_update_preview_property_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = uri;
       _tmp2_ = g_strdup (_tmp1_);
       _data_->uri = _tmp2_;
       _tmp3_ = values;
       _tmp4_ = _g_hash_table_ref0 (_tmp3_);
       _data_->values = _tmp4_;
       unity_scope_proxy_remote_real_update_preview_property_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_proxy_remote_real_update_preview_property_co ( UnityScopeProxyRemoteUpdatePreviewPropertyData *  _data_) [static]

Definition at line 888 of file unity-scope-proxy-remote.c.

                                                                                                                                  {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->synchronized;
       if (_data_->_tmp0_) {
              {
                     _data_->_tmp1_ = _data_->self->priv->_service;
                     _data_->_tmp2_ = _data_->uri;
                     _data_->_tmp3_ = _data_->values;
                     _data_->_state_ = 1;
                     unity_protocol_scope_service_update_preview_property (_data_->_tmp1_, _data_->_tmp2_, _data_->_tmp3_, unity_scope_proxy_remote_update_preview_property_ready, _data_);
                     return FALSE;
                     _state_1:
                     _data_->_tmp4_ = NULL;
                     _data_->_tmp4_ = unity_protocol_scope_service_update_preview_property_finish (_data_->_tmp1_, _data_->_res_, &_data_->_inner_error_);
                     _data_->raw = _data_->_tmp4_;
                     if (_data_->_inner_error_ != NULL) {
                            goto __catch28_g_error;
                     }
                     _data_->result = _data_->raw;
                     if (_data_->_state_ == 0) {
                            g_simple_async_result_complete_in_idle (_data_->_async_result);
                     } else {
                            g_simple_async_result_complete (_data_->_async_result);
                     }
                     g_object_unref (_data_->_async_result);
                     return FALSE;
              }
              goto __finally28;
              __catch28_g_error:
              {
                     _data_->e = _data_->_inner_error_;
                     _data_->_inner_error_ = NULL;
                     _data_->_tmp5_ = _data_->self->priv->_dbus_path;
                     _data_->_tmp6_ = NULL;
                     _data_->_tmp6_ = string_to_string (_data_->_tmp5_);
                     _data_->_tmp7_ = _data_->e;
                     _data_->_tmp8_ = _data_->_tmp7_->message;
                     _data_->_tmp9_ = NULL;
                     _data_->_tmp9_ = string_to_string (_data_->_tmp8_);
                     _data_->_tmp10_ = NULL;
                     _data_->_tmp10_ = g_strconcat ("Unable to update_preview_property (", _data_->_tmp6_, "): ", _data_->_tmp9_, NULL);
                     _data_->_tmp11_ = _data_->_tmp10_;
                     g_warning ("unity-scope-proxy-remote.vala:212: %s", _data_->_tmp11_);
                     _g_free0 (_data_->_tmp11_);
                     _g_error_free0 (_data_->e);
              }
              __finally28:
              if (_data_->_inner_error_ != NULL) {
                     if (_data_->_inner_error_->domain == G_IO_ERROR) {
                            g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
                            g_error_free (_data_->_inner_error_);
                            if (_data_->_state_ == 0) {
                                   g_simple_async_result_complete_in_idle (_data_->_async_result);
                            } else {
                                   g_simple_async_result_complete (_data_->_async_result);
                            }
                            g_object_unref (_data_->_async_result);
                            return FALSE;
                     } else {
                            g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                            g_clear_error (&_data_->_inner_error_);
                            return FALSE;
                     }
              }
       }
       _data_->_tmp12_ = g_str_hash;
       _data_->_tmp13_ = g_str_equal;
       _data_->_tmp14_ = g_hash_table_new_full (_data_->_tmp12_, _data_->_tmp13_, _g_free0_, _g_variant_unref0_);
       _data_->result = _data_->_tmp14_;
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_real_update_preview_property_data_free ( gpointer  _data) [static]

Definition at line 816 of file unity-scope-proxy-remote.c.

                                                                                             {
       UnityScopeProxyRemoteUpdatePreviewPropertyData* _data_;
       _data_ = _data;
       _g_free0 (_data_->uri);
       _g_hash_table_unref0 (_data_->values);
       _g_hash_table_unref0 (_data_->result);
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityScopeProxyRemoteUpdatePreviewPropertyData, _data_);
}

Here is the caller graph for this function:

static GHashTable* unity_scope_proxy_remote_real_update_preview_property_finish ( UnityScopeProxy *  base,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 856 of file unity-scope-proxy-remote.c.

                                                                                                                                             {
       GHashTable* result;
       UnityScopeProxyRemoteUpdatePreviewPropertyData* _data_;
       if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
              return NULL;
       }
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
       result = _data_->result;
       _data_->result = NULL;
       return result;
}

Here is the caller graph for this function:

static void unity_scope_proxy_remote_search_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1027 of file unity-scope-proxy-remote.c.

                                                                                                                      {
       UnityScopeProxyRemoteSearchData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_remote_real_search_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_set_active_sources_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1414 of file unity-scope-proxy-remote.c.

                                                                                                                                  {
       UnityScopeProxyRemoteSetActiveSourcesData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_remote_real_set_active_sources_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_set_dbus_name ( UnityScopeProxyRemote *  self,
const gchar *  value 
) [static]

Definition at line 1662 of file unity-scope-proxy-remote.c.

                                                                                                     {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_dbus_name);
       self->priv->_dbus_name = _tmp1_;
       g_object_notify ((GObject *) self, "dbus-name");
}

Here is the caller graph for this function:

static void unity_scope_proxy_remote_set_dbus_path ( UnityScopeProxyRemote *  self,
const gchar *  value 
) [static]

Definition at line 1684 of file unity-scope-proxy-remote.c.

                                                                                                     {
       const gchar* _tmp0_;
       gchar* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = g_strdup (_tmp0_);
       _g_free0 (self->priv->_dbus_path);
       self->priv->_dbus_path = _tmp1_;
       g_object_notify ((GObject *) self, "dbus-path");
}

Here is the caller graph for this function:

void unity_scope_proxy_remote_set_view_type ( UnityScopeProxyRemote *  self,
UnityProtocolViewType  view_type,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 1288 of file unity-scope-proxy-remote.c.

                                                                                                                                                                 {
       UnityScopeProxyRemoteSetViewTypeData* _data_;
       UnityScopeProxyRemote* _tmp0_;
       UnityProtocolViewType _tmp1_;
       _data_ = g_slice_new0 (UnityScopeProxyRemoteSetViewTypeData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_remote_set_view_type);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_remote_set_view_type_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = view_type;
       _data_->view_type = _tmp1_;
       unity_scope_proxy_remote_set_view_type_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_proxy_remote_set_view_type_co ( UnityScopeProxyRemoteSetViewTypeData *  _data_) [static]

Definition at line 1318 of file unity-scope-proxy-remote.c.

                                                                                                         {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->view_type;
       _data_->self->priv->_view_type = _data_->_tmp0_;
       _data_->_tmp1_ = _data_->self->priv->synchronized;
       if (_data_->_tmp1_) {
              {
                     _data_->_tmp2_ = _data_->self->priv->_service;
                     _data_->_tmp3_ = _data_->view_type;
                     _data_->_state_ = 1;
                     unity_protocol_scope_service_set_view_type (_data_->_tmp2_, (guint) _data_->_tmp3_, unity_scope_proxy_remote_set_view_type_ready, _data_);
                     return FALSE;
                     _state_1:
                     unity_protocol_scope_service_set_view_type_finish (_data_->_tmp2_, _data_->_res_, &_data_->_inner_error_);
                     if (_data_->_inner_error_ != NULL) {
                            goto __catch31_g_error;
                     }
              }
              goto __finally31;
              __catch31_g_error:
              {
                     _data_->e = _data_->_inner_error_;
                     _data_->_inner_error_ = NULL;
                     _data_->_tmp4_ = _data_->self->priv->_dbus_path;
                     _data_->_tmp5_ = NULL;
                     _data_->_tmp5_ = string_to_string (_data_->_tmp4_);
                     _data_->_tmp6_ = _data_->e;
                     _data_->_tmp7_ = _data_->_tmp6_->message;
                     _data_->_tmp8_ = NULL;
                     _data_->_tmp8_ = string_to_string (_data_->_tmp7_);
                     _data_->_tmp9_ = NULL;
                     _data_->_tmp9_ = g_strconcat ("Unable to set_active (", _data_->_tmp5_, "): ", _data_->_tmp8_, NULL);
                     _data_->_tmp10_ = _data_->_tmp9_;
                     g_warning ("unity-scope-proxy-remote.vala:264: %s", _data_->_tmp10_);
                     _g_free0 (_data_->_tmp10_);
                     _g_error_free0 (_data_->e);
              }
              __finally31:
              if (_data_->_inner_error_ != NULL) {
                     g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
                     g_clear_error (&_data_->_inner_error_);
                     return FALSE;
              }
       }
       if (_data_->_state_ == 0) {
              g_simple_async_result_complete_in_idle (_data_->_async_result);
       } else {
              g_simple_async_result_complete (_data_->_async_result);
       }
       g_object_unref (_data_->_async_result);
       return FALSE;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_set_view_type_data_free ( gpointer  _data) [static]

Definition at line 1280 of file unity-scope-proxy-remote.c.

                                                                              {
       UnityScopeProxyRemoteSetViewTypeData* _data_;
       _data_ = _data;
       _g_object_unref0 (_data_->self);
       g_slice_free (UnityScopeProxyRemoteSetViewTypeData, _data_);
}

Here is the caller graph for this function:

void unity_scope_proxy_remote_set_view_type_finish ( UnityScopeProxyRemote *  self,
GAsyncResult *  _res_ 
)

Definition at line 1303 of file unity-scope-proxy-remote.c.

                                                                                                      {
       UnityScopeProxyRemoteSetViewTypeData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}
static void unity_scope_proxy_remote_set_view_type_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 1309 of file unity-scope-proxy-remote.c.

                                                                                                                             {
       UnityScopeProxyRemoteSetViewTypeData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_remote_set_view_type_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_start_reconnection_timeout ( UnityScopeProxyRemote *  self) [static]

Definition at line 670 of file unity-scope-proxy-remote.c.

                                                                                              {
       guint _tmp0_;
       guint _tmp2_ = 0U;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_reconnection_id;
       if (_tmp0_ != ((guint) 0)) {
              guint _tmp1_;
              _tmp1_ = self->priv->_reconnection_id;
              g_source_remove (_tmp1_);
       }
       _tmp2_ = g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 2, ___lambda2__gsource_func, g_object_ref (self), g_object_unref);
       self->priv->_reconnection_id = _tmp2_;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_unity_scope_proxy_interface_init ( UnityScopeProxyIface *  iface) [static]

Definition at line 1930 of file unity-scope-proxy-remote.c.

                                                                                                     {
       unity_scope_proxy_remote_unity_scope_proxy_parent_iface = g_type_interface_peek_parent (iface);
       iface->activate = (void (*)(UnityScopeProxy*, const gchar*, UnityProtocolActionType, UnityProtocolActivationReplyRaw*)) unity_scope_proxy_remote_real_activate;
       iface->activate_finish = unity_scope_proxy_remote_real_activate_finish;
       iface->update_preview_property = (GHashTable* (*)(UnityScopeProxy*, const gchar*, GHashTable*, GError**)) unity_scope_proxy_remote_real_update_preview_property;
       iface->update_preview_property_finish = unity_scope_proxy_remote_real_update_preview_property_finish;
       iface->search = (GHashTable* (*)(UnityScopeProxy*, const gchar*, GHashTable*)) unity_scope_proxy_remote_real_search;
       iface->search_finish = unity_scope_proxy_remote_real_search_finish;
       iface->global_search = (GHashTable* (*)(UnityScopeProxy*, const gchar*, GHashTable*)) unity_scope_proxy_remote_real_global_search;
       iface->global_search_finish = unity_scope_proxy_remote_real_global_search_finish;
       iface->set_active_sources = (void (*)(UnityScopeProxy*, gchar**, int)) unity_scope_proxy_remote_real_set_active_sources;
       iface->set_active_sources_finish = unity_scope_proxy_remote_real_set_active_sources_finish;
       iface->get_sources = unity_scope_proxy_remote_real_get_sources;
       iface->set_sources = unity_scope_proxy_remote_real_set_sources;
       iface->get_search_in_global = unity_scope_proxy_remote_real_get_search_in_global;
       iface->set_search_in_global = unity_scope_proxy_remote_real_set_search_in_global;
       iface->get_results_model = unity_scope_proxy_remote_real_get_results_model;
       iface->set_results_model = unity_scope_proxy_remote_real_set_results_model;
       iface->get_global_results_model = unity_scope_proxy_remote_real_get_global_results_model;
       iface->set_global_results_model = unity_scope_proxy_remote_real_set_global_results_model;
       iface->get_filters_model = unity_scope_proxy_remote_real_get_filters_model;
       iface->set_filters_model = unity_scope_proxy_remote_real_set_filters_model;
       iface->get_view_type = unity_scope_proxy_remote_real_get_view_type;
       iface->set_view_type = unity_scope_proxy_remote_real_set_view_type;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_remote_update_preview_property_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 869 of file unity-scope-proxy-remote.c.

                                                                                                                                       {
       UnityScopeProxyRemoteUpdatePreviewPropertyData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_remote_real_update_preview_property_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_scope_proxy_set_filters_model ( UnityScopeProxy *  self,
DeeSerializableModel *  value 
)

Definition at line 211 of file unity-scope-proxy.c.

                                                                                              {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_filters_model (self, value);
}
void unity_scope_proxy_set_global_results_model ( UnityScopeProxy *  self,
DeeSerializableModel *  value 
)

Definition at line 199 of file unity-scope-proxy.c.

                                                                                                     {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_global_results_model (self, value);
}
void unity_scope_proxy_set_results_model ( UnityScopeProxy *  self,
DeeSerializableModel *  value 
)

Definition at line 187 of file unity-scope-proxy.c.

                                                                                              {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_results_model (self, value);
}
void unity_scope_proxy_set_search_in_global ( UnityScopeProxy *  self,
gboolean  value 
)

Definition at line 163 of file unity-scope-proxy.c.

                                                                                    {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_search_in_global (self, value);
}
void unity_scope_proxy_set_sources ( UnityScopeProxy *  self,
UnityOptionsFilter *  value 
)

Definition at line 151 of file unity-scope-proxy.c.

                                                                                      {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_sources (self, value);
}
void unity_scope_proxy_set_view_type ( UnityScopeProxy *  self,
UnityProtocolViewType  value 
)

Definition at line 175 of file unity-scope-proxy.c.

                                                                                          {
       g_return_if_fail (self != NULL);
       UNITY_SCOPE_PROXY_GET_INTERFACE (self)->set_view_type (self, value);
}

Variable Documentation

gpointer unity_scope_proxy_remote_parent_class = NULL [static]

Definition at line 310 of file unity-scope-proxy-remote.c.

UnityScopeProxyIface* unity_scope_proxy_remote_unity_scope_proxy_parent_iface = NULL [static]

Definition at line 311 of file unity-scope-proxy-remote.c.