Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Functions | Variables
unity-scope-proxy-local.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>

Go to the source code of this file.

Classes

struct  _UnityScopeProxyIface
struct  _UnityScopeProxyLocal
struct  _UnityScopeProxyLocalClass
struct  _UnityScopeProxyLocalPrivate
struct  _UnityScopeProxyLocalActivateData
struct  _UnityScopeProxyLocalSearchData
struct  _UnityScopeProxyLocalUpdatePreviewPropertyData
struct  _UnityScopeProxyLocalGlobalSearchData
struct  _UnityScopeProxyLocalSetActiveSourcesData

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_LOCAL   (unity_scope_proxy_local_get_type ())
#define UNITY_SCOPE_PROXY_LOCAL(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocal))
#define UNITY_SCOPE_PROXY_LOCAL_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocalClass))
#define UNITY_IS_SCOPE_PROXY_LOCAL(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SCOPE_PROXY_LOCAL))
#define UNITY_IS_SCOPE_PROXY_LOCAL_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_SCOPE_PROXY_LOCAL))
#define UNITY_SCOPE_PROXY_LOCAL_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocalClass))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var)   (var = (g_free (var), NULL))
#define _g_hash_table_unref0(var)   ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define UNITY_SCOPE_PROXY_LOCAL_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocalPrivate))

Typedefs

typedef struct _UnityScopeProxy
typedef struct _UnityScopeProxyIface
typedef struct _UnityScopeProxyLocal
typedef struct _UnityScopeProxyLocalClass
typedef struct _UnityScopeProxyLocalPrivate
typedef struct _UnityScopeProxyLocalActivateData
typedef struct _UnityScopeProxyLocalSearchData
typedef struct _UnityScopeProxyLocalUpdatePreviewPropertyData
typedef struct _UnityScopeProxyLocalGlobalSearchData
typedef struct _UnityScopeProxyLocalSetActiveSourcesData

Functions

GType unity_scope_proxy_get_type (void)
UnityScopeProxyLocal * unity_scope_proxy_local_new (UnityScope *scope)
UnityScopeProxyLocal * unity_scope_proxy_local_construct (GType object_type, UnityScope *scope)
static void unity_scope_proxy_local_real_activate_data_free (gpointer _data)
static void unity_scope_proxy_local_real_activate (UnityScopeProxy *base, const gchar *uri, UnityProtocolActionType action_type, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_scope_proxy_local_real_activate_co (UnityScopeProxyLocalActivateData *_data_)
UnityScope * unity_scope_proxy_local_get_scope (UnityScopeProxyLocal *self)
void unity_scope_activate (UnityScope *self, const gchar *uri, UnityProtocolActionType action_type, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_scope_activate_finish (UnityScope *self, GAsyncResult *_res_, UnityProtocolActivationReplyRaw *result)
static void unity_scope_proxy_local_activate_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_scope_proxy_local_real_search_data_free (gpointer _data)
static void unity_scope_proxy_local_real_search (UnityScopeProxy *base, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_scope_proxy_local_real_search_co (UnityScopeProxyLocalSearchData *_data_)
void unity_scope_search (UnityScope *self, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
GHashTable * unity_scope_search_finish (UnityScope *self, GAsyncResult *_res_, GError **error)
static void unity_scope_proxy_local_search_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_local_real_update_preview_property_data_free (gpointer _data)
static void unity_scope_proxy_local_real_update_preview_property (UnityScopeProxy *base, const gchar *uri, GHashTable *values, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_scope_proxy_local_real_update_preview_property_co (UnityScopeProxyLocalUpdatePreviewPropertyData *_data_)
void unity_scope_update_preview_property (UnityScope *self, const gchar *uri, GHashTable *values, GAsyncReadyCallback _callback_, gpointer _user_data_)
GHashTable * unity_scope_update_preview_property_finish (UnityScope *self, GAsyncResult *_res_)
static void unity_scope_proxy_local_update_preview_property_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_scope_proxy_local_real_global_search_data_free (gpointer _data)
static void unity_scope_proxy_local_real_global_search (UnityScopeProxy *base, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_scope_proxy_local_real_global_search_co (UnityScopeProxyLocalGlobalSearchData *_data_)
void unity_scope_global_search (UnityScope *self, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
GHashTable * unity_scope_global_search_finish (UnityScope *self, GAsyncResult *_res_, GError **error)
static void unity_scope_proxy_local_global_search_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static void unity_scope_proxy_local_real_set_active_sources_data_free (gpointer _data)
static void unity_scope_proxy_local_real_set_active_sources (UnityScopeProxy *base, gchar **sources, int sources_length1, GAsyncReadyCallback _callback_, gpointer _user_data_)
static gboolean unity_scope_proxy_local_real_set_active_sources_co (UnityScopeProxyLocalSetActiveSourcesData *_data_)
void unity_scope_set_active_sources_internal (UnityScope *self, gchar **active_sources_, int active_sources__length1)
static void unity_scope_proxy_local_set_scope (UnityScopeProxyLocal *self, UnityScope *value)
DeeSerializableModel * unity_scope_get_filter_model (UnityScope *self)
static GObject * unity_scope_proxy_local_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void _unity_scope_proxy_local___lambda9_ (UnityScopeProxyLocal *self)
static void __unity_scope_proxy_local___lambda9__unity_filter_changed (UnityFilter *_sender, gpointer self)
static void _unity_scope_proxy_local___lambda10_ (UnityScopeProxyLocal *self)
void unity_scope_set_view_type_internal (UnityScope *self, UnityProtocolViewType view_type)
UnityProtocolViewType unity_scope_proxy_get_view_type (UnityScopeProxy *self)
static void __unity_scope_proxy_local___lambda10__g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static gboolean _unity_scope_proxy_local___lambda11_ (UnityScopeProxyLocal *self)
static gboolean __unity_scope_proxy_local___lambda11__gsource_func (gpointer self)
static void unity_scope_proxy_local_finalize (GObject *obj)
UnityOptionsFilter * unity_scope_proxy_get_sources (UnityScopeProxy *self)
gboolean unity_scope_proxy_get_search_in_global (UnityScopeProxy *self)
DeeSerializableModel * unity_scope_proxy_get_results_model (UnityScopeProxy *self)
DeeSerializableModel * unity_scope_proxy_get_global_results_model (UnityScopeProxy *self)
DeeSerializableModel * unity_scope_proxy_get_filters_model (UnityScopeProxy *self)
static void _vala_unity_scope_proxy_local_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
void unity_scope_proxy_set_sources (UnityScopeProxy *self, UnityOptionsFilter *value)
void unity_scope_proxy_set_search_in_global (UnityScopeProxy *self, gboolean value)
void unity_scope_proxy_set_results_model (UnityScopeProxy *self, DeeSerializableModel *value)
void unity_scope_proxy_set_global_results_model (UnityScopeProxy *self, DeeSerializableModel *value)
void unity_scope_proxy_set_filters_model (UnityScopeProxy *self, DeeSerializableModel *value)
void unity_scope_proxy_set_view_type (UnityScopeProxy *self, UnityProtocolViewType value)
static void _vala_unity_scope_proxy_local_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static gpointer _g_object_ref0 (gpointer self)
static void unity_scope_proxy_local_real_activate_finish (UnityScopeProxy *base, GAsyncResult *_res_, UnityProtocolActivationReplyRaw *result)
static gpointer _g_hash_table_ref0 (gpointer self)
static GHashTable * unity_scope_proxy_local_real_search_finish (UnityScopeProxy *base, GAsyncResult *_res_)
static const gchar * string_to_string (const gchar *self)
static GHashTable * unity_scope_proxy_local_real_update_preview_property_finish (UnityScopeProxy *base, GAsyncResult *_res_, GError **error)
static GHashTable * unity_scope_proxy_local_real_global_search_finish (UnityScopeProxy *base, GAsyncResult *_res_)
static void unity_scope_proxy_local_real_set_active_sources_finish (UnityScopeProxy *base, GAsyncResult *_res_)
static UnityOptionsFilter * unity_scope_proxy_local_real_get_sources (UnityScopeProxy *base)
static void unity_scope_proxy_local_real_set_sources (UnityScopeProxy *base, UnityOptionsFilter *value)
static gboolean unity_scope_proxy_local_real_get_search_in_global (UnityScopeProxy *base)
static void unity_scope_proxy_local_real_set_search_in_global (UnityScopeProxy *base, gboolean value)
static DeeSerializableModel * unity_scope_proxy_local_real_get_results_model (UnityScopeProxy *base)
static void unity_scope_proxy_local_real_set_results_model (UnityScopeProxy *base, DeeSerializableModel *value)
static DeeSerializableModel * unity_scope_proxy_local_real_get_global_results_model (UnityScopeProxy *base)
static void unity_scope_proxy_local_real_set_global_results_model (UnityScopeProxy *base, DeeSerializableModel *value)
static DeeSerializableModel * unity_scope_proxy_local_real_get_filters_model (UnityScopeProxy *base)
static void unity_scope_proxy_local_real_set_filters_model (UnityScopeProxy *base, DeeSerializableModel *value)
static UnityProtocolViewType unity_scope_proxy_local_real_get_view_type (UnityScopeProxy *base)
static void unity_scope_proxy_local_real_set_view_type (UnityScopeProxy *base, UnityProtocolViewType value)
static void unity_scope_proxy_local_class_init (UnityScopeProxyLocalClass *klass)
static void unity_scope_proxy_local_unity_scope_proxy_interface_init (UnityScopeProxyIface *iface)
static void unity_scope_proxy_local_instance_init (UnityScopeProxyLocal *self)
GType unity_scope_proxy_local_get_type (void)

Variables

static gpointer unity_scope_proxy_local_parent_class = NULL
static UnityScopeProxyIface * unity_scope_proxy_local_unity_scope_proxy_parent_iface = NULL

Class Documentation

struct _UnityScopeProxyLocal

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

Collaboration diagram for _UnityScopeProxyLocal:
Class Members
GObject parent_instance
UnityScopeProxyLocalPrivate * priv
struct _UnityScopeProxyLocalClass

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

Class Members
GObjectClass parent_class
struct _UnityScopeProxyLocalPrivate

Definition at line 97 of file unity-scope-proxy-local.c.

Class Members
UnityScope * _scope
UnityProtocolViewType _view_type
struct _UnityScopeProxyLocalActivateData

Definition at line 102 of file unity-scope-proxy-local.c.

Collaboration diagram for _UnityScopeProxyLocalActivateData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityScope * _tmp0_
const gchar * _tmp1_
UnityProtocolActionType _tmp2_
UnityProtocolActivationReplyRaw _tmp3_
UnityProtocolActionType action_type
UnityProtocolActivationReplyRaw reply
UnityProtocolActivationReplyRaw result
UnityScopeProxyLocal * self
gchar * uri
struct _UnityScopeProxyLocalSearchData

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

Collaboration diagram for _UnityScopeProxyLocalSearchData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GHashTable * _result_
GObject * _source_object_
int _state_
UnityScope * _tmp0_
gchar * _tmp10_
GHashFunc _tmp11_
GEqualFunc _tmp12_
GHashTable * _tmp13_
const gchar * _tmp1_
GHashTable * _tmp2_
GHashTable * _tmp3_
const gchar * _tmp4_
const gchar * _tmp5_
GError * _tmp6_
const gchar * _tmp7_
const gchar * _tmp8_
gchar * _tmp9_
GError * e
GHashTable * hints
GHashTable * result
GError * scope_error
gchar * search_string
UnityScopeProxyLocal * self
struct _UnityScopeProxyLocalUpdatePreviewPropertyData

Definition at line 147 of file unity-scope-proxy-local.c.

Collaboration diagram for _UnityScopeProxyLocalUpdatePreviewPropertyData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityScope * _tmp0_
const gchar * _tmp1_
GHashTable * _tmp2_
GHashTable * _tmp3_
GHashTable * reply
GHashTable * result
UnityScopeProxyLocal * self
gchar * uri
GHashTable * values
struct _UnityScopeProxyLocalGlobalSearchData

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

Collaboration diagram for _UnityScopeProxyLocalGlobalSearchData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GHashTable * _result_
GObject * _source_object_
int _state_
UnityScope * _tmp0_
gchar * _tmp10_
GHashFunc _tmp11_
GEqualFunc _tmp12_
GHashTable * _tmp13_
const gchar * _tmp1_
GHashTable * _tmp2_
GHashTable * _tmp3_
const gchar * _tmp4_
const gchar * _tmp5_
GError * _tmp6_
const gchar * _tmp7_
const gchar * _tmp8_
gchar * _tmp9_
GError * e
GHashTable * hints
GHashTable * result
GError * scope_error
gchar * search_string
UnityScopeProxyLocal * self
struct _UnityScopeProxyLocalSetActiveSourcesData

Definition at line 192 of file unity-scope-proxy-local.c.

Collaboration diagram for _UnityScopeProxyLocalSetActiveSourcesData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityScope * _tmp0_
gchar ** _tmp1_
gint _tmp1__length1
UnityScopeProxyLocal * 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 56 of file unity-scope-proxy-local.c.

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

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

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

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

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

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

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

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

#define UNITY_IS_SCOPE_PROXY_LOCAL (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SCOPE_PROXY_LOCAL))

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

#define UNITY_IS_SCOPE_PROXY_LOCAL_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_SCOPE_PROXY_LOCAL))

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

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

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

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

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

#define UNITY_SCOPE_PROXY_LOCAL (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocal))

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

#define UNITY_SCOPE_PROXY_LOCAL_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocalClass))

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

#define UNITY_SCOPE_PROXY_LOCAL_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocalClass))

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

#define UNITY_SCOPE_PROXY_LOCAL_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocalPrivate))

Definition at line 34 of file unity-scope-proxy-local.c.

Definition at line 42 of file unity-scope-proxy-local.c.


Typedef Documentation

typedef struct _UnityScopeProxy

Definition at line 39 of file unity-scope-proxy-local.c.

typedef struct _UnityScopeProxyIface

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

typedef struct _UnityScopeProxyLocal

Definition at line 49 of file unity-scope-proxy-local.c.

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

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

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

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

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

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

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


Function Documentation

static void __unity_scope_proxy_local___lambda10__g_object_notify ( GObject *  _sender,
GParamSpec *  pspec,
gpointer  self 
) [static]

Definition at line 1024 of file unity-scope-proxy-local.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean __unity_scope_proxy_local___lambda11__gsource_func ( gpointer  self) [static]

Definition at line 1038 of file unity-scope-proxy-local.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void __unity_scope_proxy_local___lambda9__unity_filter_changed ( UnityFilter *  _sender,
gpointer  self 
) [static]

Definition at line 1008 of file unity-scope-proxy-local.c.

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 458 of file unity-scope-proxy-local.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 402 of file unity-scope-proxy-local.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 307 of file unity-scope-proxy-local.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 463 of file unity-scope-proxy-local.c.

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

Here is the caller graph for this function:

static void _unity_scope_proxy_local___lambda10_ ( UnityScopeProxyLocal *  self) [static]

Definition at line 1013 of file unity-scope-proxy-local.c.

                                                                              {
       UnityScope* _tmp0_;
       UnityProtocolViewType _tmp1_;
       UnityProtocolViewType _tmp2_;
       _tmp0_ = self->priv->_scope;
       _tmp1_ = unity_scope_proxy_get_view_type ((UnityScopeProxy*) self);
       _tmp2_ = _tmp1_;
       unity_scope_set_view_type_internal (_tmp0_, _tmp2_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean _unity_scope_proxy_local___lambda11_ ( UnityScopeProxyLocal *  self) [static]

Definition at line 1029 of file unity-scope-proxy-local.c.

                                                                                  {
       gboolean result = FALSE;
       g_object_notify ((GObject*) self, "search-in-global");
       g_object_notify ((GObject*) self, "sources");
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static void _unity_scope_proxy_local___lambda9_ ( UnityScopeProxyLocal *  self) [static]

Definition at line 1003 of file unity-scope-proxy-local.c.

                                                                             {
       g_object_notify ((GObject*) self, "sources");
}

Here is the caller graph for this function:

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

Definition at line 1139 of file unity-scope-proxy-local.c.

                                                                                                                                 {
       UnityScopeProxyLocal * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocal);
       switch (property_id) {
              case UNITY_SCOPE_PROXY_LOCAL_SCOPE:
              g_value_set_object (value, unity_scope_proxy_local_get_scope (self));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_SOURCES:
              g_value_set_object (value, unity_scope_proxy_get_sources ((UnityScopeProxy*) self));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_SEARCH_IN_GLOBAL:
              g_value_set_boolean (value, unity_scope_proxy_get_search_in_global ((UnityScopeProxy*) self));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_RESULTS_MODEL:
              g_value_set_object (value, unity_scope_proxy_get_results_model ((UnityScopeProxy*) self));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_GLOBAL_RESULTS_MODEL:
              g_value_set_object (value, unity_scope_proxy_get_global_results_model ((UnityScopeProxy*) self));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_FILTERS_MODEL:
              g_value_set_object (value, unity_scope_proxy_get_filters_model ((UnityScopeProxy*) self));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_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_local_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1171 of file unity-scope-proxy-local.c.

                                                                                                                                       {
       UnityScopeProxyLocal * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocal);
       switch (property_id) {
              case UNITY_SCOPE_PROXY_LOCAL_SCOPE:
              unity_scope_proxy_local_set_scope (self, g_value_get_object (value));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_SOURCES:
              unity_scope_proxy_set_sources ((UnityScopeProxy*) self, g_value_get_object (value));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_SEARCH_IN_GLOBAL:
              unity_scope_proxy_set_search_in_global ((UnityScopeProxy*) self, g_value_get_boolean (value));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_RESULTS_MODEL:
              unity_scope_proxy_set_results_model ((UnityScopeProxy*) self, g_value_get_object (value));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_GLOBAL_RESULTS_MODEL:
              unity_scope_proxy_set_global_results_model ((UnityScopeProxy*) self, g_value_get_object (value));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_FILTERS_MODEL:
              unity_scope_proxy_set_filters_model ((UnityScopeProxy*) self, g_value_get_object (value));
              break;
              case UNITY_SCOPE_PROXY_LOCAL_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 450 of file unity-scope-proxy-local.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_scope_activate ( UnityScope *  self,
const gchar *  uri,
UnityProtocolActionType  action_type,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 617 of file unity-scope.c.

                                                                                                                                                          {
       UnityScopeActivateData* _data_;
       UnityScope* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       UnityProtocolActionType _tmp3_;
       _data_ = g_slice_new0 (UnityScopeActivateData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_activate);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_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_activate_co (_data_);
}

Here is the call graph for this function:

void unity_scope_activate_finish ( UnityScope *  self,
GAsyncResult *  _res_,
UnityProtocolActivationReplyRaw *  result 
)

Definition at line 637 of file unity-scope.c.

                                                                                                                  {
       UnityScopeActivateData* _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:

DeeSerializableModel* unity_scope_get_filter_model ( UnityScope *  self)

Definition at line 595 of file unity-scope.c.

                                                                      {
       DeeSerializableModel* result = NULL;
       UnityScopeImpl* _tmp0_;
       DeeSerializableModel* _tmp1_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_pimpl;
       _tmp1_ = _tmp0_->_filters_model;
       result = _tmp1_;
       return result;
}
void unity_scope_global_search ( UnityScope *  self,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 995 of file unity-scope.c.

                                                                                                                                                       {
       UnityScopeGlobalSearchData* _data_;
       UnityScope* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       _data_ = g_slice_new0 (UnityScopeGlobalSearchData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_global_search);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_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_global_search_co (_data_);
}

Here is the call graph for this function:

GHashTable* unity_scope_global_search_finish ( UnityScope *  self,
GAsyncResult *  _res_,
GError **  error 
)

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

                                                                                                     {
       GHashTable* result;
       UnityScopeGlobalSearchData* _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;
}
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 209 of file unity-scope-proxy-local.c.

      {
       UNITY_SCOPE_PROXY_LOCAL_DUMMY_PROPERTY,
       UNITY_SCOPE_PROXY_LOCAL_SCOPE,
       UNITY_SCOPE_PROXY_LOCAL_SOURCES,
       UNITY_SCOPE_PROXY_LOCAL_SEARCH_IN_GLOBAL,
       UNITY_SCOPE_PROXY_LOCAL_RESULTS_MODEL,
       UNITY_SCOPE_PROXY_LOCAL_GLOBAL_RESULTS_MODEL,
       UNITY_SCOPE_PROXY_LOCAL_FILTERS_MODEL,
       UNITY_SCOPE_PROXY_LOCAL_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_local_activate_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 343 of file unity-scope-proxy-local.c.

                                                                                                                       {
       UnityScopeProxyLocalActivateData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_local_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_local_class_init ( UnityScopeProxyLocalClass *  klass) [static]

Definition at line 1068 of file unity-scope-proxy-local.c.

                                                                                   {
       unity_scope_proxy_local_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityScopeProxyLocalPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_scope_proxy_local_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_scope_proxy_local_set_property;
       G_OBJECT_CLASS (klass)->constructor = unity_scope_proxy_local_constructor;
       G_OBJECT_CLASS (klass)->finalize = unity_scope_proxy_local_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_PROXY_LOCAL_SCOPE, g_param_spec_object ("scope", "scope", "scope", UNITY_TYPE_SCOPE, 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_LOCAL_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_LOCAL_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_LOCAL_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_LOCAL_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_LOCAL_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_LOCAL_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:

UnityScopeProxyLocal* unity_scope_proxy_local_construct ( GType  object_type,
UnityScope *  scope 
)

Definition at line 282 of file unity-scope-proxy-local.c.

                                                                                               {
       UnityScopeProxyLocal * self = NULL;
       UnityScope* _tmp0_;
       g_return_val_if_fail (scope != NULL, NULL);
       _tmp0_ = scope;
       self = (UnityScopeProxyLocal*) g_object_new (object_type, "scope", _tmp0_, NULL);
       return self;
}

Here is the caller graph for this function:

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

Definition at line 1045 of file unity-scope-proxy-local.c.

                                                                                                                                              {
       GObject * obj;
       GObjectClass * parent_class;
       UnityScopeProxyLocal * self;
       UnityScope* _tmp0_;
       UnityScope* _tmp1_;
       UnityOptionsFilter* _tmp2_;
       UnityOptionsFilter* _tmp3_;
       parent_class = G_OBJECT_CLASS (unity_scope_proxy_local_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocal);
       _tmp0_ = self->priv->_scope;
       g_object_bind_property_with_closures ((GObject*) _tmp0_, "search-in-global", (GObject*) self, "search-in-global", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
       _tmp1_ = self->priv->_scope;
       _tmp2_ = unity_scope_get_sources (_tmp1_);
       _tmp3_ = _tmp2_;
       g_signal_connect_object ((UnityFilter*) _tmp3_, "changed", (GCallback) __unity_scope_proxy_local___lambda9__unity_filter_changed, self, 0);
       g_signal_connect_object ((GObject*) self, "notify::view-type", (GCallback) __unity_scope_proxy_local___lambda10__g_object_notify, self, 0);
       g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, __unity_scope_proxy_local___lambda11__gsource_func, g_object_ref (self), g_object_unref);
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_local_finalize ( GObject *  obj) [static]

Definition at line 1117 of file unity-scope-proxy-local.c.

                                                            {
       UnityScopeProxyLocal * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_SCOPE_PROXY_LOCAL, UnityScopeProxyLocal);
       _g_object_unref0 (self->priv->_scope);
       G_OBJECT_CLASS (unity_scope_proxy_local_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

UnityScope* unity_scope_proxy_local_get_scope ( UnityScopeProxyLocal *  self)

Definition at line 852 of file unity-scope-proxy-local.c.

                                                                           {
       UnityScope* result;
       UnityScope* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = self->priv->_scope;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

Definition at line 1125 of file unity-scope-proxy-local.c.

                                              {
       static volatile gsize unity_scope_proxy_local_type_id__volatile = 0;
       if (g_once_init_enter (&unity_scope_proxy_local_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityScopeProxyLocalClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_scope_proxy_local_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityScopeProxyLocal), 0, (GInstanceInitFunc) unity_scope_proxy_local_instance_init, NULL };
              static const GInterfaceInfo unity_scope_proxy_info = { (GInterfaceInitFunc) unity_scope_proxy_local_unity_scope_proxy_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
              GType unity_scope_proxy_local_type_id;
              unity_scope_proxy_local_type_id = g_type_register_static (G_TYPE_OBJECT, "UnityScopeProxyLocal", &g_define_type_info, 0);
              g_type_add_interface_static (unity_scope_proxy_local_type_id, UNITY_TYPE_SCOPE_PROXY, &unity_scope_proxy_info);
              g_once_init_leave (&unity_scope_proxy_local_type_id__volatile, unity_scope_proxy_local_type_id);
       }
       return unity_scope_proxy_local_type_id__volatile;
}

Here is the call graph for this function:

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

Definition at line 698 of file unity-scope-proxy-local.c.

                                                                                                                            {
       UnityScopeProxyLocalGlobalSearchData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_local_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_local_instance_init ( UnityScopeProxyLocal *  self) [static]

Definition at line 1112 of file unity-scope-proxy-local.c.

                                                                                {
       self->priv = UNITY_SCOPE_PROXY_LOCAL_GET_PRIVATE (self);
}

Here is the caller graph for this function:

UnityScopeProxyLocal* unity_scope_proxy_local_new ( UnityScope *  scope)

Definition at line 292 of file unity-scope-proxy-local.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 312 of file unity-scope-proxy-local.c.

                                                                                                                                                                                       {
       UnityScopeProxyLocal * self;
       UnityScopeProxyLocalActivateData* _data_;
       UnityScopeProxyLocal* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       UnityProtocolActionType _tmp3_;
       self = (UnityScopeProxyLocal*) base;
       _data_ = g_slice_new0 (UnityScopeProxyLocalActivateData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_local_real_activate);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_local_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_local_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_local_real_activate_co ( UnityScopeProxyLocalActivateData *  _data_) [static]

Definition at line 352 of file unity-scope-proxy-local.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->_scope;
       _data_->_tmp1_ = _data_->uri;
       _data_->_tmp2_ = _data_->action_type;
       memset (&_data_->_tmp3_, 0, sizeof (UnityProtocolActivationReplyRaw));
       _data_->_state_ = 1;
       unity_scope_activate (_data_->_tmp0_, _data_->_tmp1_, _data_->_tmp2_, unity_scope_proxy_local_activate_ready, _data_);
       return FALSE;
       _state_1:
       unity_scope_activate_finish (_data_->_tmp0_, _data_->_res_, &_data_->_tmp3_);
       _data_->reply = _data_->_tmp3_;
       _data_->result = _data_->reply;
       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;
       unity_protocol_activation_reply_raw_destroy (&_data_->reply);
       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_local_real_activate_data_free ( gpointer  _data) [static]

Definition at line 297 of file unity-scope-proxy-local.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 334 of file unity-scope-proxy-local.c.

                                                                                                                                               {
       UnityScopeProxyLocalActivateData* _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_local_real_get_filters_model ( UnityScopeProxy *  base) [static]

Definition at line 962 of file unity-scope-proxy-local.c.

                                                                                                    {
       DeeSerializableModel* result;
       UnityScopeProxyLocal* self;
       UnityScope* _tmp0_;
       DeeSerializableModel* _tmp1_ = NULL;
       self = (UnityScopeProxyLocal*) base;
       _tmp0_ = self->priv->_scope;
       _tmp1_ = unity_scope_get_filter_model (_tmp0_);
       result = _tmp1_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 940 of file unity-scope-proxy-local.c.

                                                                                                           {
       DeeSerializableModel* result;
       UnityScopeProxyLocal* self;
       UnityScope* _tmp0_;
       DeeSerializableModel* _tmp1_;
       DeeSerializableModel* _tmp2_;
       self = (UnityScopeProxyLocal*) base;
       _tmp0_ = self->priv->_scope;
       _tmp1_ = unity_scope_get_global_results_model (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 918 of file unity-scope-proxy-local.c.

                                                                                                    {
       DeeSerializableModel* result;
       UnityScopeProxyLocal* self;
       UnityScope* _tmp0_;
       DeeSerializableModel* _tmp1_;
       DeeSerializableModel* _tmp2_;
       self = (UnityScopeProxyLocal*) base;
       _tmp0_ = self->priv->_scope;
       _tmp1_ = unity_scope_get_results_model (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_proxy_local_real_get_search_in_global ( UnityScopeProxy *  base) [static]

Definition at line 896 of file unity-scope-proxy-local.c.

                                                                                          {
       gboolean result;
       UnityScopeProxyLocal* self;
       UnityScope* _tmp0_;
       gboolean _tmp1_;
       gboolean _tmp2_;
       self = (UnityScopeProxyLocal*) base;
       _tmp0_ = self->priv->_scope;
       _tmp1_ = unity_scope_get_search_in_global (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 874 of file unity-scope-proxy-local.c.

                                                                                            {
       UnityOptionsFilter* result;
       UnityScopeProxyLocal* self;
       UnityScope* _tmp0_;
       UnityOptionsFilter* _tmp1_;
       UnityOptionsFilter* _tmp2_;
       self = (UnityScopeProxyLocal*) base;
       _tmp0_ = self->priv->_scope;
       _tmp1_ = unity_scope_get_sources (_tmp0_);
       _tmp2_ = _tmp1_;
       result = _tmp2_;
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityProtocolViewType unity_scope_proxy_local_real_get_view_type ( UnityScopeProxy *  base) [static]

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

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

Here is the caller graph for this function:

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

Definition at line 664 of file unity-scope-proxy-local.c.

                                                                                                                                                                                    {
       UnityScopeProxyLocal * self;
       UnityScopeProxyLocalGlobalSearchData* _data_;
       UnityScopeProxyLocal* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       self = (UnityScopeProxyLocal*) base;
       _data_ = g_slice_new0 (UnityScopeProxyLocalGlobalSearchData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_local_real_global_search);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_local_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_local_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_local_real_global_search_co ( UnityScopeProxyLocalGlobalSearchData *  _data_) [static]

Definition at line 707 of file unity-scope-proxy-local.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->_scope;
              _data_->_tmp1_ = _data_->search_string;
              _data_->_tmp2_ = _data_->hints;
              _data_->_state_ = 1;
              unity_scope_global_search (_data_->_tmp0_, _data_->_tmp1_, _data_->_tmp2_, unity_scope_proxy_local_global_search_ready, _data_);
              return FALSE;
              _state_1:
              _data_->_tmp3_ = NULL;
              _data_->_tmp3_ = unity_scope_global_search_finish (_data_->_tmp0_, _data_->_res_, &_data_->_inner_error_);
              _data_->_result_ = _data_->_tmp3_;
              if (_data_->_inner_error_ != NULL) {
                     if (g_error_matches (_data_->_inner_error_, UNITY_PROTOCOL_SCOPE_ERROR, UNITY_PROTOCOL_SCOPE_ERROR_SEARCH_CANCELLED)) {
                            goto __catch25_unity_protocol_scope_error_search_cancelled;
                     }
                     goto __catch25_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 __finally25;
       __catch25_unity_protocol_scope_error_search_cancelled:
       {
              _data_->scope_error = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              _g_error_free0 (_data_->scope_error);
       }
       goto __finally25;
       __catch25_g_error:
       {
              _data_->e = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              _data_->_tmp4_ = _data_->search_string;
              _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 global_search scope ('", _data_->_tmp5_, "'): ", _data_->_tmp8_, NULL);
              _data_->_tmp10_ = _data_->_tmp9_;
              g_warning ("unity-scope-proxy-local.vala:120: %s", _data_->_tmp10_);
              _g_free0 (_data_->_tmp10_);
              _g_error_free0 (_data_->e);
       }
       __finally25:
       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_->_tmp11_ = g_str_hash;
       _data_->_tmp12_ = g_str_equal;
       _data_->_tmp13_ = g_hash_table_new_full (_data_->_tmp11_, _data_->_tmp12_, _g_free0_, _g_variant_unref0_);
       _data_->result = _data_->_tmp13_;
       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_local_real_global_search_data_free ( gpointer  _data) [static]

Definition at line 653 of file unity-scope-proxy-local.c.

                                                                                  {
       UnityScopeProxyLocalGlobalSearchData* _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 (UnityScopeProxyLocalGlobalSearchData, _data_);
}

Here is the caller graph for this function:

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

Definition at line 688 of file unity-scope-proxy-local.c.

                                                                                                                  {
       GHashTable* result;
       UnityScopeProxyLocalGlobalSearchData* _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_local_real_search ( UnityScopeProxy *  base,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 407 of file unity-scope-proxy-local.c.

                                                                                                                                                                             {
       UnityScopeProxyLocal * self;
       UnityScopeProxyLocalSearchData* _data_;
       UnityScopeProxyLocal* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       self = (UnityScopeProxyLocal*) base;
       _data_ = g_slice_new0 (UnityScopeProxyLocalSearchData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_local_real_search);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_local_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_local_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_local_real_search_co ( UnityScopeProxyLocalSearchData *  _data_) [static]

Definition at line 468 of file unity-scope-proxy-local.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->_scope;
              _data_->_tmp1_ = _data_->search_string;
              _data_->_tmp2_ = _data_->hints;
              _data_->_state_ = 1;
              unity_scope_search (_data_->_tmp0_, _data_->_tmp1_, _data_->_tmp2_, unity_scope_proxy_local_search_ready, _data_);
              return FALSE;
              _state_1:
              _data_->_tmp3_ = NULL;
              _data_->_tmp3_ = unity_scope_search_finish (_data_->_tmp0_, _data_->_res_, &_data_->_inner_error_);
              _data_->_result_ = _data_->_tmp3_;
              if (_data_->_inner_error_ != NULL) {
                     if (g_error_matches (_data_->_inner_error_, UNITY_PROTOCOL_SCOPE_ERROR, UNITY_PROTOCOL_SCOPE_ERROR_SEARCH_CANCELLED)) {
                            goto __catch24_unity_protocol_scope_error_search_cancelled;
                     }
                     goto __catch24_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 __finally24;
       __catch24_unity_protocol_scope_error_search_cancelled:
       {
              _data_->scope_error = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              _g_error_free0 (_data_->scope_error);
       }
       goto __finally24;
       __catch24_g_error:
       {
              _data_->e = _data_->_inner_error_;
              _data_->_inner_error_ = NULL;
              _data_->_tmp4_ = _data_->search_string;
              _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 search scope ('", _data_->_tmp5_, "'): ", _data_->_tmp8_, NULL);
              _data_->_tmp10_ = _data_->_tmp9_;
              g_warning ("unity-scope-proxy-local.vala:98: %s", _data_->_tmp10_);
              _g_free0 (_data_->_tmp10_);
              _g_error_free0 (_data_->e);
       }
       __finally24:
       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_->_tmp11_ = g_str_hash;
       _data_->_tmp12_ = g_str_equal;
       _data_->_tmp13_ = g_hash_table_new_full (_data_->_tmp11_, _data_->_tmp12_, _g_free0_, _g_variant_unref0_);
       _data_->result = _data_->_tmp13_;
       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_local_real_search_data_free ( gpointer  _data) [static]

Definition at line 391 of file unity-scope-proxy-local.c.

                                                                           {
       UnityScopeProxyLocalSearchData* _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 (UnityScopeProxyLocalSearchData, _data_);
}

Here is the caller graph for this function:

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

Definition at line 431 of file unity-scope-proxy-local.c.

                                                                                                           {
       GHashTable* result;
       UnityScopeProxyLocalSearchData* _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_local_real_set_active_sources ( UnityScopeProxy *  base,
gchar **  sources,
int  sources_length1,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 804 of file unity-scope-proxy-local.c.

                                                                                                                                                                                {
       UnityScopeProxyLocal * self;
       UnityScopeProxyLocalSetActiveSourcesData* _data_;
       UnityScopeProxyLocal* _tmp0_;
       gchar** _tmp1_;
       gint _tmp1__length1;
       self = (UnityScopeProxyLocal*) base;
       _data_ = g_slice_new0 (UnityScopeProxyLocalSetActiveSourcesData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_local_real_set_active_sources);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_local_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_local_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_local_real_set_active_sources_co ( UnityScopeProxyLocalSetActiveSourcesData *  _data_) [static]

Definition at line 830 of file unity-scope-proxy-local.c.

                                                                                                                      {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->_scope;
       _data_->_tmp1_ = _data_->sources;
       _data_->_tmp1__length1 = _data_->sources_length1;
       unity_scope_set_active_sources_internal (_data_->_tmp0_, _data_->_tmp1_, _data_->_tmp1__length1);
       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_local_real_set_active_sources_data_free ( gpointer  _data) [static]

Definition at line 796 of file unity-scope-proxy-local.c.

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

Here is the caller graph for this function:

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

Definition at line 824 of file unity-scope-proxy-local.c.

                                                                                                                {
       UnityScopeProxyLocalSetActiveSourcesData* _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_local_real_set_filters_model ( UnityScopeProxy *  base,
DeeSerializableModel *  value 
) [static]

Definition at line 975 of file unity-scope-proxy-local.c.

                                                                                                                {
       UnityScopeProxyLocal* self;
       self = (UnityScopeProxyLocal*) base;
       g_object_notify ((GObject *) self, "filters-model");
}

Here is the caller graph for this function:

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

Definition at line 955 of file unity-scope-proxy-local.c.

                                                                                                                       {
       UnityScopeProxyLocal* self;
       self = (UnityScopeProxyLocal*) base;
       g_object_notify ((GObject *) self, "global-results-model");
}

Here is the caller graph for this function:

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

Definition at line 933 of file unity-scope-proxy-local.c.

                                                                                                                {
       UnityScopeProxyLocal* self;
       self = (UnityScopeProxyLocal*) base;
       g_object_notify ((GObject *) self, "results-model");
}

Here is the caller graph for this function:

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

Definition at line 911 of file unity-scope-proxy-local.c.

                                                                                                      {
       UnityScopeProxyLocal* self;
       self = (UnityScopeProxyLocal*) base;
       g_object_notify ((GObject *) self, "search-in-global");
}

Here is the caller graph for this function:

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

Definition at line 889 of file unity-scope-proxy-local.c.

                                                                                                        {
       UnityScopeProxyLocal* self;
       self = (UnityScopeProxyLocal*) base;
       g_object_notify ((GObject *) self, "sources");
}

Here is the caller graph for this function:

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

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

                                                                                                            {
       UnityScopeProxyLocal* self;
       UnityProtocolViewType _tmp0_;
       self = (UnityScopeProxyLocal*) base;
       _tmp0_ = value;
       self->priv->_view_type = _tmp0_;
       g_object_notify ((GObject *) self, "view-type");
}

Here is the caller graph for this function:

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

Definition at line 568 of file unity-scope-proxy-local.c.

                                                                                                                                                                                     {
       UnityScopeProxyLocal * self;
       UnityScopeProxyLocalUpdatePreviewPropertyData* _data_;
       UnityScopeProxyLocal* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       self = (UnityScopeProxyLocal*) base;
       _data_ = g_slice_new0 (UnityScopeProxyLocalUpdatePreviewPropertyData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_proxy_local_real_update_preview_property);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_proxy_local_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_local_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_local_real_update_preview_property_co ( UnityScopeProxyLocalUpdatePreviewPropertyData *  _data_) [static]

Definition at line 614 of file unity-scope-proxy-local.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->_scope;
       _data_->_tmp1_ = _data_->uri;
       _data_->_tmp2_ = _data_->values;
       _data_->_state_ = 1;
       unity_scope_update_preview_property (_data_->_tmp0_, _data_->_tmp1_, _data_->_tmp2_, unity_scope_proxy_local_update_preview_property_ready, _data_);
       return FALSE;
       _state_1:
       _data_->_tmp3_ = NULL;
       _data_->_tmp3_ = unity_scope_update_preview_property_finish (_data_->_tmp0_, _data_->_res_);
       _data_->reply = _data_->_tmp3_;
       _data_->result = _data_->reply;
       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;
       _g_hash_table_unref0 (_data_->reply);
       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_local_real_update_preview_property_data_free ( gpointer  _data) [static]

Definition at line 557 of file unity-scope-proxy-local.c.

                                                                                            {
       UnityScopeProxyLocalUpdatePreviewPropertyData* _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 (UnityScopeProxyLocalUpdatePreviewPropertyData, _data_);
}

Here is the caller graph for this function:

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

Definition at line 592 of file unity-scope-proxy-local.c.

                                                                                                                                            {
       GHashTable* result;
       UnityScopeProxyLocalUpdatePreviewPropertyData* _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_local_search_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 441 of file unity-scope-proxy-local.c.

                                                                                                                     {
       UnityScopeProxyLocalSearchData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_local_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_local_set_scope ( UnityScopeProxyLocal *  self,
UnityScope *  value 
) [static]

Definition at line 862 of file unity-scope-proxy-local.c.

                                                                                              {
       UnityScope* _tmp0_;
       UnityScope* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_scope);
       self->priv->_scope = _tmp1_;
       g_object_notify ((GObject *) self, "scope");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_proxy_local_unity_scope_proxy_interface_init ( UnityScopeProxyIface *  iface) [static]

Definition at line 1085 of file unity-scope-proxy-local.c.

                                                                                                    {
       unity_scope_proxy_local_unity_scope_proxy_parent_iface = g_type_interface_peek_parent (iface);
       iface->activate = (void (*)(UnityScopeProxy*, const gchar*, UnityProtocolActionType, UnityProtocolActivationReplyRaw*)) unity_scope_proxy_local_real_activate;
       iface->activate_finish = unity_scope_proxy_local_real_activate_finish;
       iface->search = (GHashTable* (*)(UnityScopeProxy*, const gchar*, GHashTable*)) unity_scope_proxy_local_real_search;
       iface->search_finish = unity_scope_proxy_local_real_search_finish;
       iface->update_preview_property = (GHashTable* (*)(UnityScopeProxy*, const gchar*, GHashTable*, GError**)) unity_scope_proxy_local_real_update_preview_property;
       iface->update_preview_property_finish = unity_scope_proxy_local_real_update_preview_property_finish;
       iface->global_search = (GHashTable* (*)(UnityScopeProxy*, const gchar*, GHashTable*)) unity_scope_proxy_local_real_global_search;
       iface->global_search_finish = unity_scope_proxy_local_real_global_search_finish;
       iface->set_active_sources = (void (*)(UnityScopeProxy*, gchar**, int)) unity_scope_proxy_local_real_set_active_sources;
       iface->set_active_sources_finish = unity_scope_proxy_local_real_set_active_sources_finish;
       iface->get_sources = unity_scope_proxy_local_real_get_sources;
       iface->set_sources = unity_scope_proxy_local_real_set_sources;
       iface->get_search_in_global = unity_scope_proxy_local_real_get_search_in_global;
       iface->set_search_in_global = unity_scope_proxy_local_real_set_search_in_global;
       iface->get_results_model = unity_scope_proxy_local_real_get_results_model;
       iface->set_results_model = unity_scope_proxy_local_real_set_results_model;
       iface->get_global_results_model = unity_scope_proxy_local_real_get_global_results_model;
       iface->set_global_results_model = unity_scope_proxy_local_real_set_global_results_model;
       iface->get_filters_model = unity_scope_proxy_local_real_get_filters_model;
       iface->set_filters_model = unity_scope_proxy_local_real_set_filters_model;
       iface->get_view_type = unity_scope_proxy_local_real_get_view_type;
       iface->set_view_type = unity_scope_proxy_local_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_local_update_preview_property_ready ( GObject *  source_object,
GAsyncResult *  _res_,
gpointer  _user_data_ 
) [static]

Definition at line 605 of file unity-scope-proxy-local.c.

                                                                                                                                      {
       UnityScopeProxyLocalUpdatePreviewPropertyData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_proxy_local_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);
}
void unity_scope_search ( UnityScope *  self,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 890 of file unity-scope.c.

                                                                                                                                                {
       UnityScopeSearchData* _data_;
       UnityScope* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       _data_ = g_slice_new0 (UnityScopeSearchData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_search);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_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_search_co (_data_);
}

Here is the call graph for this function:

GHashTable* unity_scope_search_finish ( UnityScope *  self,
GAsyncResult *  _res_,
GError **  error 
)

Definition at line 912 of file unity-scope.c.

                                                                                              {
       GHashTable* result;
       UnityScopeSearchData* _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;
}
void unity_scope_set_active_sources_internal ( UnityScope *  self,
gchar **  active_sources_,
int  active_sources__length1 
)

Definition at line 531 of file unity-scope.c.

                                                                                                                      {
       UnityOptionsFilter* _tmp0_;
       GList* _tmp1_;
       gchar** _tmp8_;
       gint _tmp8__length1;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_sources;
       _tmp1_ = _tmp0_->options;
       {
              GList* filter_option_collection = NULL;
              GList* filter_option_it = NULL;
              filter_option_collection = _tmp1_;
              for (filter_option_it = filter_option_collection; filter_option_it != NULL; filter_option_it = filter_option_it->next) {
                     UnityFilterOption* _tmp2_;
                     UnityFilterOption* filter_option = NULL;
                     _tmp2_ = _g_object_ref0 ((UnityFilterOption*) filter_option_it->data);
                     filter_option = _tmp2_;
                     {
                            UnityFilterOption* _tmp3_;
                            UnityFilterOption* _tmp4_;
                            const gchar* _tmp5_;
                            const gchar* _tmp6_;
                            gchar** _tmp7_;
                            gint _tmp7__length1;
                            _tmp3_ = filter_option;
                            _tmp4_ = filter_option;
                            _tmp5_ = unity_filter_option_get_id (_tmp4_);
                            _tmp6_ = _tmp5_;
                            _tmp7_ = active_sources_;
                            _tmp7__length1 = active_sources__length1;
                            unity_filter_option_set_active (_tmp3_, _vala_string_array_contains (_tmp7_, _tmp7__length1, _tmp6_));
                            _g_object_unref0 (filter_option);
                     }
              }
       }
       _tmp8_ = active_sources_;
       _tmp8__length1 = active_sources__length1;
       g_signal_emit_by_name (self, "active-sources-changed", _tmp8_, _tmp8__length1);
}

Here is the call graph for this function:

void unity_scope_set_view_type_internal ( UnityScope *  self,
UnityProtocolViewType  view_type 
)

Definition at line 510 of file unity-scope.c.

                                                                                            {
       UnityScopeImpl* _tmp0_;
       UnityProtocolViewType _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_pimpl;
       _tmp1_ = view_type;
       unity_scope_impl_set_view_type (_tmp0_, _tmp1_);
}

Here is the call graph for this function:

void unity_scope_update_preview_property ( UnityScope *  self,
const gchar *  uri,
GHashTable *  values,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 762 of file unity-scope.c.

                                                                                                                                                        {
       UnityScopeUpdatePreviewPropertyData* _data_;
       UnityScope* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       _data_ = g_slice_new0 (UnityScopeUpdatePreviewPropertyData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_update_preview_property);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_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_update_preview_property_co (_data_);
}

Here is the call graph for this function:

GHashTable* unity_scope_update_preview_property_finish ( UnityScope *  self,
GAsyncResult *  _res_ 
)

Definition at line 784 of file unity-scope.c.

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

Variable Documentation

gpointer unity_scope_proxy_local_parent_class = NULL [static]

Definition at line 206 of file unity-scope-proxy-local.c.

UnityScopeProxyIface* unity_scope_proxy_local_unity_scope_proxy_parent_iface = NULL [static]

Definition at line 207 of file unity-scope-proxy-local.c.