Back to index

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

Go to the source code of this file.

Classes

struct  _UnityScopeImpl
struct  _UnityScopeImplClass
struct  _UnityScopeImplPrivate
struct  _UnityScopeImplInfoRequestData
struct  _UnityScopeImplActivateData
struct  _UnityScopeImplUpdatePreviewPropertyData
struct  _Block8Data
struct  _UnityScopeImplScheduleSearchChangedData
struct  _Block9Data
struct  _UnityScopeImplSearchInternalData
struct  _UnityScopeImplSearchData
struct  _UnityScopeImplGlobalSearchData
struct  _UnityScopeImplSetViewTypeData
struct  _UnityScopeImplSetActiveSourcesData

Defines

#define UNITY_TYPE_SCOPE_IMPL   (unity_scope_impl_get_type ())
#define UNITY_SCOPE_IMPL(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SCOPE_IMPL, UnityScopeImpl))
#define UNITY_SCOPE_IMPL_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_SCOPE_IMPL, UnityScopeImplClass))
#define UNITY_IS_SCOPE_IMPL(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SCOPE_IMPL))
#define UNITY_IS_SCOPE_IMPL_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_SCOPE_IMPL))
#define UNITY_SCOPE_IMPL_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_SCOPE_IMPL, UnityScopeImplClass))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_hash_table_unref0(var)   ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define _g_free0(var)   (var = (g_free (var), NULL))
#define _g_variant_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define UNITY_TYPE_FILTER_COLUMN   (unity_filter_column_get_type ())
#define _g_error_free0(var)   ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_ptr_array_unref0(var)   ((var == NULL) ? NULL : (var = (g_ptr_array_unref (var), NULL)))
#define UNITY_SCOPE_IMPL_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SCOPE_IMPL, UnityScopeImplPrivate))
#define UNITY_LENS_SOURCES_FILTER_ID   "unity-sources"

Typedefs

typedef struct _UnityScopeImpl
typedef struct _UnityScopeImplClass
typedef struct _UnityScopeImplPrivate
typedef struct _UnityScopeImplInfoRequestData
typedef struct _UnityScopeImplActivateData
typedef struct _UnityScopeImplUpdatePreviewPropertyData
typedef struct _Block8Data
typedef struct _UnityScopeImplScheduleSearchChangedData
typedef struct _Block9Data
typedef struct _UnityScopeImplSearchInternalData
typedef struct _UnityScopeImplSearchData
typedef struct _UnityScopeImplGlobalSearchData
typedef struct _UnityScopeImplSetViewTypeData
typedef struct _UnityScopeImplSetActiveSourcesData

Enumerations

enum  UnityFilterColumn {
  UNITY_FILTER_COLUMN_ID = 0, UNITY_FILTER_COLUMN_NAME, UNITY_FILTER_COLUMN_ICON_HINT, UNITY_FILTER_COLUMN_RENDERER_NAME,
  UNITY_FILTER_COLUMN_RENDERER_STATE, UNITY_FILTER_COLUMN_VISIBLE, UNITY_FILTER_COLUMN_COLLAPSED, UNITY_FILTER_COLUMN_FILTERING,
  UNITY_FILTER_COLUMN_ID = 0, UNITY_FILTER_COLUMN_NAME, UNITY_FILTER_COLUMN_ICON_HINT, UNITY_FILTER_COLUMN_RENDERER_NAME,
  UNITY_FILTER_COLUMN_RENDERER_STATE, UNITY_FILTER_COLUMN_VISIBLE, UNITY_FILTER_COLUMN_COLLAPSED, UNITY_FILTER_COLUMN_FILTERING,
  UNITY_FILTER_COLUMN_ID = 0, UNITY_FILTER_COLUMN_NAME, UNITY_FILTER_COLUMN_ICON_HINT, UNITY_FILTER_COLUMN_RENDERER_NAME,
  UNITY_FILTER_COLUMN_RENDERER_STATE, UNITY_FILTER_COLUMN_VISIBLE, UNITY_FILTER_COLUMN_COLLAPSED, UNITY_FILTER_COLUMN_FILTERING,
  UNITY_FILTER_COLUMN_ID = 0, UNITY_FILTER_COLUMN_NAME, UNITY_FILTER_COLUMN_ICON_HINT, UNITY_FILTER_COLUMN_RENDERER_NAME,
  UNITY_FILTER_COLUMN_RENDERER_STATE, UNITY_FILTER_COLUMN_VISIBLE, UNITY_FILTER_COLUMN_COLLAPSED, UNITY_FILTER_COLUMN_FILTERING,
  UNITY_FILTER_COLUMN_ID = 0, UNITY_FILTER_COLUMN_NAME, UNITY_FILTER_COLUMN_ICON_HINT, UNITY_FILTER_COLUMN_RENDERER_NAME,
  UNITY_FILTER_COLUMN_RENDERER_STATE, UNITY_FILTER_COLUMN_VISIBLE, UNITY_FILTER_COLUMN_COLLAPSED, UNITY_FILTER_COLUMN_FILTERING
}

Functions

GType unity_scope_impl_get_type (void)
UnityScopeImpl * unity_scope_impl_new (UnityScope *owner)
UnityScopeImpl * unity_scope_impl_construct (GType object_type, UnityScope *owner)
static gchar * unity_scope_impl_create_dbus_name (UnityScopeImpl *self)
static UnityScope * unity_scope_impl_get_owner (UnityScopeImpl *self)
static void unity_scope_impl_create_models (UnityScopeImpl *self)
static void unity_scope_impl_on_filter_added (UnityScopeImpl *self, DeeModel *model, DeeModelIter *iter)
static void _unity_scope_impl_on_filter_added_dee_model_row_added (DeeModel *_sender, DeeModelIter *iter, gpointer self)
static void unity_scope_impl_on_filter_changed (UnityScopeImpl *self, DeeModel *model, DeeModelIter *iter)
static void _unity_scope_impl_on_filter_changed_dee_model_row_changed (DeeModel *_sender, DeeModelIter *iter, gpointer self)
static void unity_scope_impl_on_filter_removed (UnityScopeImpl *self, DeeModel *model, DeeModelIter *iter)
static void _unity_scope_impl_on_filter_removed_dee_model_row_removed (DeeModel *_sender, DeeModelIter *iter, gpointer self)
static void unity_scope_impl_create_shared_models (UnityScopeImpl *self, const gchar *dbus_name)
void unity_scope_impl_export (UnityScopeImpl *self, GError **error)
static void unity_scope_impl_queue_info_changed (UnityScopeImpl *self)
static gboolean unity_scope_impl_emit_info_changed (UnityScopeImpl *self)
static gboolean _unity_scope_impl_emit_info_changed_gsource_func (gpointer self)
static void unity_scope_impl_queue_filters_changed (UnityScopeImpl *self)
static gboolean unity_scope_impl_emit_filters_changed (UnityScopeImpl *self)
static gboolean _unity_scope_impl_emit_filters_changed_gsource_func (gpointer self)
static gchar * unity_scope_impl_get_model_name (UnityScopeImpl *self, DeeSerializableModel *model)
GHashTable * unity_filter_get_hints (UnityFilter *self)
static GVariant * _variant_new25 (GHashTable *value)
static void _g_free0_ (gpointer var)
static void _g_variant_unref0_ (gpointer var)
GType unity_filter_column_get_type (void)
static gpointer _g_object_ref0 (gpointer self)
static void unity_scope_impl_real_info_request_data_free (gpointer _data)
static void unity_scope_impl_real_info_request (UnityProtocolScopeService *base, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_scope_impl_real_info_request_finish (UnityProtocolScopeService *base, GAsyncResult *_res_, GError **error)
static gboolean unity_scope_impl_real_info_request_co (UnityScopeImplInfoRequestData *_data_)
static void unity_scope_impl_real_activate_data_free (gpointer _data)
static void unity_scope_impl_real_activate (UnityProtocolScopeService *base, const gchar *uri, guint action_type, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_scope_impl_real_activate_finish (UnityProtocolScopeService *base, GAsyncResult *_res_, UnityProtocolActivationReplyRaw *result, GError **error)
static gchar string_get (const gchar *self, glong index)
static void unity_scope_impl_activate_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static gboolean unity_scope_impl_real_activate_co (UnityScopeImplActivateData *_data_)
static void unity_scope_impl_real_update_preview_property_data_free (gpointer _data)
static gpointer _g_hash_table_ref0 (gpointer self)
static void unity_scope_impl_real_update_preview_property (UnityProtocolScopeService *base, const gchar *uri, GHashTable *values, GAsyncReadyCallback _callback_, gpointer _user_data_)
static GHashTable * unity_scope_impl_real_update_preview_property_finish (UnityProtocolScopeService *base, GAsyncResult *_res_, GError **error)
static gboolean unity_scope_impl_real_update_preview_property_co (UnityScopeImplUpdatePreviewPropertyData *_data_)
static void unity_scope_impl_schedule_search_changed_data_free (gpointer _data)
void unity_scope_impl_schedule_search_changed (UnityScopeImpl *self, UnityLensSearch *search, UnitySearchType search_type, gboolean wait_for_view, GAsyncReadyCallback _callback_, gpointer _user_data_)
void unity_scope_impl_schedule_search_changed_finish (UnityScopeImpl *self, GAsyncResult *_res_)
static Block8Data * block8_data_ref (Block8Data *_data8_)
static void block8_data_unref (void *_userdata_)
static void ___lambda5_ (Block8Data *_data8_)
static void ____lambda5__g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static gboolean _unity_scope_impl_schedule_search_changed_co_gsource_func (gpointer self)
static gboolean unity_scope_impl_schedule_search_changed_co (UnityScopeImplScheduleSearchChangedData *_data_)
void unity_scope_impl_update_search_key (UnityScopeImpl *self, UnityLensSearch *ls, UnitySearchType search_type)
static gchar * unity_scope_impl_get_search_key (UnityScopeImpl *self, UnityLensSearch *ls, UnitySearchType search_type)
void unity_scope_impl_invalidate_search (UnityScopeImpl *self, UnitySearchType search_type)
static void unity_scope_impl_search_internal_data_free (gpointer _data)
static void unity_scope_impl_search_internal (UnityScopeImpl *self, const gchar *search_string, GHashTable *hints, UnitySearchType search_type, GAsyncReadyCallback _callback_, gpointer _user_data_)
static GHashTable * unity_scope_impl_search_internal_finish (UnityScopeImpl *self, GAsyncResult *_res_, GError **error)
static Block9Data * block9_data_ref (Block9Data *_data9_)
static void block9_data_unref (void *_userdata_)
static gpointer _g_variant_ref0 (gpointer self)
static void __lambda6_ (Block9Data *_data9_, UnityLensSearch *lens_search)
static void ___lambda6__unity_lens_search_finished (UnityLensSearch *_sender, gpointer self)
static void ____lambda7_ (Block9Data *_data9_)
static void _____lambda7__unity_lens_search_finished (UnityLensSearch *_sender, gpointer self)
static gboolean _unity_scope_impl_search_internal_co_gsource_func (gpointer self)
static void __lambda8_ (Block9Data *_data9_)
static void ___lambda8__gfunc (gconstpointer data, gpointer self)
static gboolean unity_scope_impl_search_internal_co (UnityScopeImplSearchInternalData *_data_)
static void unity_scope_impl_real_search_data_free (gpointer _data)
static void unity_scope_impl_real_search (UnityProtocolScopeService *base, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
static GHashTable * unity_scope_impl_real_search_finish (UnityProtocolScopeService *base, GAsyncResult *_res_, GError **error)
static void unity_scope_impl_search_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static gboolean unity_scope_impl_real_search_co (UnityScopeImplSearchData *_data_)
static void unity_scope_impl_real_global_search_data_free (gpointer _data)
static void unity_scope_impl_real_global_search (UnityProtocolScopeService *base, const gchar *search_string, GHashTable *hints, GAsyncReadyCallback _callback_, gpointer _user_data_)
static GHashTable * unity_scope_impl_real_global_search_finish (UnityProtocolScopeService *base, GAsyncResult *_res_, GError **error)
static void unity_scope_impl_global_search_ready (GObject *source_object, GAsyncResult *_res_, gpointer _user_data_)
static gboolean unity_scope_impl_real_global_search_co (UnityScopeImplGlobalSearchData *_data_)
static gpointer _g_ptr_array_ref0 (gpointer self)
static gint g_ptr_array_get_length (GPtrArray *self)
static void g_ptr_array_set_length (GPtrArray *self, gint value)
UnityPreview * unity_scope_impl_preview_internal (UnityScopeImpl *self, const gchar *uri)
UnityActivationResponse * unity_scope_impl_activate_action (UnityScopeImpl *self, const gchar *action_id, const gchar *uri)
static void unity_scope_impl_real_set_view_type_data_free (gpointer _data)
static void unity_scope_impl_real_set_view_type (UnityProtocolScopeService *base, guint view_type_id, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_scope_impl_real_set_view_type_finish (UnityProtocolScopeService *base, GAsyncResult *_res_, GError **error)
static gboolean unity_scope_impl_real_set_view_type_co (UnityScopeImplSetViewTypeData *_data_)
static void unity_scope_impl_real_set_active_sources_data_free (gpointer _data)
static void unity_scope_impl_real_set_active_sources (UnityProtocolScopeService *base, gchar **sources, int sources_length1, GAsyncReadyCallback _callback_, gpointer _user_data_)
static void unity_scope_impl_real_set_active_sources_finish (UnityProtocolScopeService *base, GAsyncResult *_res_, GError **error)
static gboolean unity_scope_impl_real_set_active_sources_co (UnityScopeImplSetActiveSourcesData *_data_)
static void unity_scope_impl_set_owner (UnityScopeImpl *self, UnityScope *value)
UnityProtocolViewType unity_scope_impl_get_view_type (UnityScopeImpl *self)
void unity_scope_impl_set_view_type (UnityScopeImpl *self, UnityProtocolViewType value)
static void _unity_scope_impl_queue_info_changed_g_object_notify (GObject *_sender, GParamSpec *pspec, gpointer self)
static void _unity_scope_impl_queue_info_changed_unity_filter_changed (UnityFilter *_sender, gpointer self)
static void _g_object_unref0_ (gpointer var)
static GObject * unity_scope_impl_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void unity_scope_impl_class_init (UnityScopeImplClass *klass)
static void unity_scope_impl_unity_protocol_scope_service_interface_init (UnityProtocolScopeServiceIface *iface)
static void unity_scope_impl_instance_init (UnityScopeImpl *self)
static void unity_scope_impl_finalize (GObject *obj)
static void _vala_unity_scope_impl_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_scope_impl_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func)
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func)
static gint _vala_array_length (gpointer array)

Variables

static gpointer unity_scope_impl_parent_class = NULL
static
UnityProtocolScopeServiceIface * 
unity_scope_impl_unity_protocol_scope_service_parent_iface = NULL

Class Documentation

struct _UnityScopeImpl

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

Collaboration diagram for _UnityScopeImpl:
Class Members
DeeSerializableModel * _filters_model
DeeSerializableModel * _global_results_model
DeeSerializableModel * _results_model
GObject parent_instance
UnityScopeImplPrivate * priv
struct _UnityScopeImplClass

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

Class Members
GObjectClass parent_class
struct _UnityScopeImplPrivate

Definition at line 77 of file unity-scope-private.c.

Class Members
GHashTable * _action_map
gint _cancellable_arr_size_
guint _dbus_id
guint _filters_changed_id
guint _info_changed_id
UnityPreview * _last_preview
UnityScope * _owner
gint _search_keys_size_
UnityProtocolViewType _view_type
GCancellable ** cancellable_arr
gint cancellable_arr_length1
gchar ** search_keys
gint search_keys_length1
struct _UnityScopeImplInfoRequestData

Definition at line 104 of file unity-scope-private.c.

Collaboration diagram for _UnityScopeImplInfoRequestData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityScopeImpl * self
struct _UnityScopeImplActivateData

Definition at line 112 of file unity-scope-private.c.

Collaboration diagram for _UnityScopeImplActivateData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GObject * _source_object_
int _state_
guint _tmp0_
gchar ** _tmp10_
gint _tmp10__length1
const gchar * _tmp11_
gchar * _tmp12_
gchar ** _tmp13_
gint _tmp13__length1
const gchar * _tmp14_
const gchar * _tmp15_
UnityActivationResponse * _tmp16_
guint _tmp17_
gboolean _tmp18_
UnityActivationResponse * _tmp19_
UnityProtocolActionType _tmp1_
UnityActivationResponse * _tmp20_
UnityHandledType _tmp21_
UnityHandledType _tmp22_
gboolean _tmp23_
UnityActivationResponse * _tmp24_
UnityPreview * _tmp25_
UnityActivationResponse * _tmp26_
const gchar * _tmp27_
const gchar * _tmp28_
gchar * _tmp29_
UnityScope * _tmp2_
gboolean _tmp30_
const gchar * _tmp31_
const gchar * _tmp32_
gchar _tmp33_
gboolean _tmp34_
const gchar * _tmp35_
gchar * _tmp36_
gchar * _tmp37_
const gchar * _tmp38_
const gchar * _tmp39_
const gchar * _tmp3_
gchar * _tmp40_
const gchar * _tmp41_
gchar * _tmp42_
const gchar * _tmp43_
UnityProtocolActivationReplyRaw _tmp44_
UnityProtocolActivationReplyRaw _tmp45_
UnityPreview * _tmp46_
UnityPreview * _tmp47_
UnityPreview * _tmp48_
UnityActivationResponse * _tmp49_
UnityActivationResponse * _tmp4_
UnityActivationResponse * _tmp50_
UnityPreview * _tmp51_
UnityActivationResponse * _tmp52_
UnityActivationResponse * _tmp53_
const gchar * _tmp54_
gchar * _tmp55_
gchar * _tmp56_
const gchar * _tmp57_
const gchar * _tmp58_
gchar * _tmp59_
const gchar * _tmp5_
const gchar * _tmp60_
gchar * _tmp61_
UnityActivationResponse * _tmp62_
UnityHandledType _tmp63_
UnityHandledType _tmp64_
UnityActivationResponse * _tmp65_
GHashTable * _tmp66_
UnityPreview * _tmp6_
const gchar * _tmp7_
gchar ** _tmp8_
gchar ** _tmp9_
gint _tokens_size_
UnityProtocolActionType action
guint action_type
gchar * new_uri
UnityPreview * preview
UnityProtocolActivationReplyRaw reply
UnityActivationResponse * response
UnityProtocolActivationReplyRaw result
UnityScopeImpl * self
gchar * stripped_uri
gchar ** tokens
gint tokens_length1
gchar * uri
struct _UnityScopeImplUpdatePreviewPropertyData

Definition at line 202 of file unity-scope-private.c.

Collaboration diagram for _UnityScopeImplUpdatePreviewPropertyData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityPreview * _tmp0_
UnityPreview * _tmp1_
GHashTable * _tmp2_
GHashTable * _tmp3_
GHashFunc _tmp4_
GEqualFunc _tmp5_
GHashTable * _tmp6_
GHashTable * response
GHashTable * result
UnityScopeImpl * self
gchar * uri
GHashTable * values
struct _Block8Data

Definition at line 221 of file unity-scope-private.c.

Class Members
gpointer _async_data_
int _ref_count_
gboolean finish_called
gboolean got_search_changed
GMainLoop * ml
UnitySearchType search_type
UnityScopeImpl * self
struct _UnityScopeImplScheduleSearchChangedData

Definition at line 228 of file unity-scope-private.c.

Collaboration diagram for _UnityScopeImplScheduleSearchChangedData:
Class Members
GSimpleAsyncResult * _async_result
Block8Data * _data8_
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnitySearchType _tmp0_
UnitySearchType _tmp10_
UnityProtocolViewType _tmp11_
gboolean _tmp12_
gboolean _tmp13_
gboolean _tmp14_
GCancellable ** _tmp15_
gint _tmp15__length1
UnitySearchType _tmp16_
GCancellable * _tmp17_
GCancellable ** _tmp18_
gint _tmp18__length1
UnitySearchType _tmp19_
UnitySearchType _tmp1_
GCancellable * _tmp20_
GCancellable * _tmp21_
GCancellable ** _tmp22_
gint _tmp22__length1
UnitySearchType _tmp23_
GCancellable * _tmp24_
GCancellable * _tmp25_
GCancellable * _tmp26_
gboolean _tmp27_
gulong _tmp28_
gulong _tmp29_
gboolean _tmp2_
GCancellable * _tmp30_
gboolean _tmp31_
UnityScope * _tmp32_
UnityLensSearch * _tmp33_
UnitySearchType _tmp34_
GCancellable * _tmp35_
gboolean _tmp3_
gboolean _tmp4_
gboolean _tmp5_
UnitySearchType _tmp6_
UnityProtocolViewType _tmp7_
gboolean _tmp8_
gboolean _tmp9_
GCancellable * cancellable
UnityLensSearch * search
UnitySearchType search_type
UnityScopeImpl * self
gulong view_sig_id
gboolean wait_for_view
gboolean waiting_needed
struct _Block9Data

Definition at line 282 of file unity-scope-private.c.

Class Members
gpointer _async_data_
Block8Data * _data8_
int _ref_count_
GHashTable * _result_
GFunc cb
gpointer cb_target
GFunc error_cb
gpointer error_cb_target
UnityLensSearch * lens_search
UnityLensSearch * s
UnityScopeImpl * self
gulong sig_id
struct _UnityScopeImplSearchInternalData

Definition at line 291 of file unity-scope-private.c.

Collaboration diagram for _UnityScopeImplSearchInternalData:
Class Members
GSimpleAsyncResult * _async_result
Block9Data * _data9_
GError * _inner_error_
GAsyncResult * _res_
GObject * _source_object_
int _state_
GHashFunc _tmp0_
DeeSerializableModel * _tmp10_
UnityLensSearch * _tmp11_
UnityLensSearch * _tmp12_
gulong _tmp13_
UnityLensSearch * _tmp14_
UnitySearchType _tmp15_
gchar * _tmp16_
gboolean _tmp17_
gboolean _tmp18_
const gchar * _tmp19_
GEqualFunc _tmp1_
const gchar * _tmp20_
gchar ** _tmp21_
gint _tmp21__length1
UnitySearchType _tmp22_
const gchar * _tmp23_
gboolean _tmp24_
gboolean _tmp25_
const gchar * _tmp26_
UnityLensSearch * _tmp27_
UnityScope * _tmp28_
UnitySearchType _tmp29_
GHashTable * _tmp2_
UnityLensSearch * _tmp30_
gboolean _tmp31_
gboolean _tmp32_
gboolean _tmp33_
UnityLensSearch * _tmp34_
UnitySearchType _tmp35_
gchar ** _tmp36_
gint _tmp36__length1
UnitySearchType _tmp37_
const gchar * _tmp38_
gchar * _tmp39_
UnitySearchType _tmp3_
gchar * _tmp40_
UnityScope * _tmp41_
UnityLensSearch * _tmp42_
UnitySearchType _tmp43_
UnityScope * _tmp44_
UnitySearchType _tmp45_
UnityLensSearch * _tmp46_
UnityLensSearch * _tmp47_
gboolean _tmp48_
UnityLensSearch * _tmp49_
DeeSerializableModel * _tmp4_
UnityLensSearch * _tmp50_
gboolean _tmp51_
gboolean _tmp52_
UnityLensSearch * _tmp53_
gulong _tmp54_
UnityProtocolViewType _tmp55_
gboolean _tmp56_
UnityProtocolViewType _tmp57_
UnityProtocolViewType _tmp58_
UnityProtocolViewType _tmp59_
gboolean _tmp5_
UnityProtocolViewType _tmp60_
UnityProtocolViewType _tmp61_
UnityProtocolViewType _tmp62_
GHashTable * _tmp63_
GHashTable * _tmp64_
GCancellable ** _tmp65_
gint _tmp65__length1
UnitySearchType _tmp66_
GCancellable * _tmp67_
GCancellable * _tmp68_
GCancellable * _tmp69_
DeeSerializableModel * _tmp6_
gulong _tmp70_
gulong _tmp71_
UnityLensSearch * _tmp72_
gulong _tmp73_
UnityLensSearch * _tmp74_
gulong _tmp75_
GCancellable * _tmp76_
gulong _tmp77_
GCancellable * _tmp78_
gboolean _tmp79_
DeeSerializableModel * _tmp7_
const gchar * _tmp80_
GError * _tmp81_
GHashTable * _tmp82_
GHashTable * _tmp83_
const gchar * _tmp8_
GHashTable * _tmp9_
gulong canc_id
GCancellable * cancellable
UnityProtocolViewType current_view
GHashTable * hints
gboolean is_global_search
UnityLensSearch * last_search
gulong ls_sig_id
UnityProtocolViewType old_view
GHashTable * result
gchar * search_key
gchar * search_string
UnitySearchType search_type
UnityScopeImpl * self
struct _UnityScopeImplSearchData

Definition at line 400 of file unity-scope-private.c.

Collaboration diagram for _UnityScopeImplSearchData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GHashTable * _result_
GObject * _source_object_
int _state_
const gchar * _tmp0_
GHashTable * _tmp1_
GHashTable * _tmp2_
GHashTable * _tmp3_
GHashTable * hints
GHashTable * result
gchar * search_string
UnityScopeImpl * self
struct _UnityScopeImplGlobalSearchData

Definition at line 417 of file unity-scope-private.c.

Collaboration diagram for _UnityScopeImplGlobalSearchData:
Class Members
GSimpleAsyncResult * _async_result
GError * _inner_error_
GAsyncResult * _res_
GHashTable * _result_
GObject * _source_object_
int _state_
const gchar * _tmp0_
GHashTable * _tmp1_
GHashTable * _tmp2_
GHashTable * _tmp3_
GHashTable * hints
GHashTable * result
gchar * search_string
UnityScopeImpl * self
struct _UnityScopeImplSetViewTypeData

Definition at line 434 of file unity-scope-private.c.

Collaboration diagram for _UnityScopeImplSetViewTypeData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
guint _tmp0_
UnityScope * _tmp10_
gboolean _tmp11_
UnityProtocolViewType _tmp1_
gboolean _tmp2_
UnityProtocolViewType _tmp3_
gboolean _tmp4_
UnityProtocolViewType _tmp5_
UnityScope * _tmp6_
gboolean _tmp7_
gboolean _tmp8_
gboolean _tmp9_
UnityScopeImpl * self
UnityProtocolViewType view_type
guint view_type_id
struct _UnityScopeImplSetActiveSourcesData

Definition at line 456 of file unity-scope-private.c.

Collaboration diagram for _UnityScopeImplSetActiveSourcesData:
Class Members
GSimpleAsyncResult * _async_result
GAsyncResult * _res_
GObject * _source_object_
int _state_
UnityScope * _tmp0_
gchar ** _tmp1_
gint _tmp1__length1
UnityScopeImpl * 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 51 of file unity-scope-private.c.

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

Definition at line 47 of file unity-scope-private.c.

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

Definition at line 46 of file unity-scope-private.c.

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

Definition at line 45 of file unity-scope-private.c.

#define _g_ptr_array_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_ptr_array_unref (var), NULL)))

Definition at line 61 of file unity-scope-private.c.

#define _g_variant_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))

Definition at line 48 of file unity-scope-private.c.

#define UNITY_IS_SCOPE_IMPL (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_SCOPE_IMPL))

Definition at line 38 of file unity-scope-private.c.

#define UNITY_IS_SCOPE_IMPL_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_SCOPE_IMPL))

Definition at line 39 of file unity-scope-private.c.

#define UNITY_LENS_SOURCES_FILTER_ID   "unity-sources"
#define UNITY_SCOPE_IMPL (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_SCOPE_IMPL, UnityScopeImpl))

Definition at line 36 of file unity-scope-private.c.

#define UNITY_SCOPE_IMPL_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_SCOPE_IMPL, UnityScopeImplClass))

Definition at line 37 of file unity-scope-private.c.

#define UNITY_SCOPE_IMPL_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_SCOPE_IMPL, UnityScopeImplClass))

Definition at line 40 of file unity-scope-private.c.

#define UNITY_SCOPE_IMPL_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_SCOPE_IMPL, UnityScopeImplPrivate))

Definition at line 50 of file unity-scope-private.c.

Definition at line 35 of file unity-scope-private.c.


Typedef Documentation

typedef struct _Block8Data

Definition at line 55 of file unity-scope-private.c.

typedef struct _Block9Data

Definition at line 57 of file unity-scope-private.c.

typedef struct _UnityScopeImpl

Definition at line 42 of file unity-scope-private.c.

Definition at line 53 of file unity-scope-private.c.

typedef struct _UnityScopeImplClass

Definition at line 43 of file unity-scope-private.c.

Definition at line 60 of file unity-scope-private.c.

Definition at line 52 of file unity-scope-private.c.

typedef struct _UnityScopeImplPrivate

Definition at line 44 of file unity-scope-private.c.

Definition at line 56 of file unity-scope-private.c.

typedef struct _UnityScopeImplSearchData

Definition at line 59 of file unity-scope-private.c.

Definition at line 58 of file unity-scope-private.c.

Definition at line 63 of file unity-scope-private.c.

Definition at line 62 of file unity-scope-private.c.

Definition at line 54 of file unity-scope-private.c.


Enumeration Type Documentation

Enumerator:
UNITY_FILTER_COLUMN_ID 
UNITY_FILTER_COLUMN_NAME 
UNITY_FILTER_COLUMN_ICON_HINT 
UNITY_FILTER_COLUMN_RENDERER_NAME 
UNITY_FILTER_COLUMN_RENDERER_STATE 
UNITY_FILTER_COLUMN_VISIBLE 
UNITY_FILTER_COLUMN_COLLAPSED 
UNITY_FILTER_COLUMN_FILTERING 
UNITY_FILTER_COLUMN_ID 
UNITY_FILTER_COLUMN_NAME 
UNITY_FILTER_COLUMN_ICON_HINT 
UNITY_FILTER_COLUMN_RENDERER_NAME 
UNITY_FILTER_COLUMN_RENDERER_STATE 
UNITY_FILTER_COLUMN_VISIBLE 
UNITY_FILTER_COLUMN_COLLAPSED 
UNITY_FILTER_COLUMN_FILTERING 
UNITY_FILTER_COLUMN_ID 
UNITY_FILTER_COLUMN_NAME 
UNITY_FILTER_COLUMN_ICON_HINT 
UNITY_FILTER_COLUMN_RENDERER_NAME 
UNITY_FILTER_COLUMN_RENDERER_STATE 
UNITY_FILTER_COLUMN_VISIBLE 
UNITY_FILTER_COLUMN_COLLAPSED 
UNITY_FILTER_COLUMN_FILTERING 
UNITY_FILTER_COLUMN_ID 
UNITY_FILTER_COLUMN_NAME 
UNITY_FILTER_COLUMN_ICON_HINT 
UNITY_FILTER_COLUMN_RENDERER_NAME 
UNITY_FILTER_COLUMN_RENDERER_STATE 
UNITY_FILTER_COLUMN_VISIBLE 
UNITY_FILTER_COLUMN_COLLAPSED 
UNITY_FILTER_COLUMN_FILTERING 
UNITY_FILTER_COLUMN_ID 
UNITY_FILTER_COLUMN_NAME 
UNITY_FILTER_COLUMN_ICON_HINT 
UNITY_FILTER_COLUMN_RENDERER_NAME 
UNITY_FILTER_COLUMN_RENDERER_STATE 
UNITY_FILTER_COLUMN_VISIBLE 
UNITY_FILTER_COLUMN_COLLAPSED 
UNITY_FILTER_COLUMN_FILTERING 

Definition at line 93 of file unity-scope-private.c.


Function Documentation

static void _____lambda7__unity_lens_search_finished ( UnityLensSearch *  _sender,
gpointer  self 
) [static]

Definition at line 2296 of file unity-scope-private.c.

                                                                                               {
       ____lambda7_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1909 of file unity-scope-private.c.

                                                                                              {
       ___lambda5_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ____lambda7_ ( Block9Data *  _data9_) [static]

Definition at line 2287 of file unity-scope-private.c.

                                               {
       UnityScopeImpl * self;
       UnityLensSearch* _tmp0_;
       self = _data9_->self;
       _tmp0_ = _data9_->s;
       g_signal_emit_by_name (_tmp0_, "finished");
}

Here is the caller graph for this function:

static void ___lambda5_ ( Block8Data *  _data8_) [static]

Definition at line 1864 of file unity-scope-private.c.

                                              {
       UnityScopeImpl * self;
       gboolean _tmp0_ = FALSE;
       gboolean _tmp1_ = FALSE;
       UnitySearchType _tmp2_;
       gboolean _tmp4_;
       gboolean _tmp9_;
       gboolean resume;
       gboolean _tmp10_;
       self = _data8_->self;
       _tmp2_ = _data8_->search_type;
       if (_tmp2_ == UNITY_SEARCH_TYPE_DEFAULT) {
              UnityProtocolViewType _tmp3_;
              _tmp3_ = self->priv->_view_type;
              _tmp1_ = _tmp3_ == UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW;
       } else {
              _tmp1_ = FALSE;
       }
       _tmp4_ = _tmp1_;
       if (_tmp4_) {
              _tmp0_ = TRUE;
       } else {
              gboolean _tmp5_ = FALSE;
              UnitySearchType _tmp6_;
              gboolean _tmp8_;
              _tmp6_ = _data8_->search_type;
              if (_tmp6_ == UNITY_SEARCH_TYPE_GLOBAL) {
                     UnityProtocolViewType _tmp7_;
                     _tmp7_ = self->priv->_view_type;
                     _tmp5_ = _tmp7_ == UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW;
              } else {
                     _tmp5_ = FALSE;
              }
              _tmp8_ = _tmp5_;
              _tmp0_ = _tmp8_;
       }
       _tmp9_ = _tmp0_;
       resume = _tmp9_;
       _tmp10_ = resume;
       if (_tmp10_) {
              unity_scope_impl_schedule_search_changed_co (_data8_->_async_data_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda6__unity_lens_search_finished ( UnityLensSearch *  _sender,
gpointer  self 
) [static]

Definition at line 2282 of file unity-scope-private.c.

                                                                                             {
       __lambda6_ (self, _sender);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void ___lambda8__gfunc ( gconstpointer  data,
gpointer  self 
) [static]

Definition at line 2320 of file unity-scope-private.c.

                                                                  {
       __lambda8_ (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda6_ ( Block9Data *  _data9_,
UnityLensSearch *  lens_search 
) [static]

Definition at line 2219 of file unity-scope-private.c.

                                                                           {
       UnityScopeImpl * self;
       UnityLensSearch* _tmp0_;
       GHashTable* _tmp1_ = NULL;
       GHashTable* reply_hints;
       GHashTable* _tmp2_;
       GHashTable* _tmp12_;
       gchar* _tmp13_;
       UnityLensSearch* _tmp14_;
       DeeSerializableModel* _tmp15_;
       DeeSerializableModel* _tmp16_;
       guint64 _tmp17_ = 0ULL;
       GVariant* _tmp18_;
       self = _data9_->self;
       g_return_if_fail (lens_search != NULL);
       _tmp0_ = lens_search;
       _tmp1_ = unity_lens_search_get_reply_hints (_tmp0_);
       reply_hints = _tmp1_;
       _tmp2_ = reply_hints;
       if (_tmp2_ != NULL) {
              GHashTable* _tmp3_;
              GHashTableIter iter = {0};
              const gchar* key = NULL;
              GVariant* variant = NULL;
              _tmp3_ = reply_hints;
              g_hash_table_iter_init (&iter, _tmp3_);
              while (TRUE) {
                     gconstpointer _tmp4_ = NULL;
                     gconstpointer _tmp5_ = NULL;
                     gboolean _tmp6_ = FALSE;
                     GHashTable* _tmp7_;
                     const gchar* _tmp8_;
                     gchar* _tmp9_;
                     GVariant* _tmp10_;
                     GVariant* _tmp11_;
                     _tmp6_ = g_hash_table_iter_next (&iter, &_tmp4_, &_tmp5_);
                     key = _tmp4_;
                     variant = _tmp5_;
                     if (!_tmp6_) {
                            break;
                     }
                     _tmp7_ = _data9_->_result_;
                     _tmp8_ = key;
                     _tmp9_ = g_strdup (_tmp8_);
                     _tmp10_ = variant;
                     _tmp11_ = _g_variant_ref0 (_tmp10_);
                     g_hash_table_insert (_tmp7_, _tmp9_, _tmp11_);
              }
       }
       _tmp12_ = _data9_->_result_;
       _tmp13_ = g_strdup ("model-seqnum");
       _tmp14_ = lens_search;
       _tmp15_ = unity_lens_search_get_results_model (_tmp14_);
       _tmp16_ = _tmp15_;
       _tmp17_ = dee_serializable_model_get_seqnum (_tmp16_);
       _tmp18_ = g_variant_new_uint64 (_tmp17_);
       g_variant_ref_sink (_tmp18_);
       g_hash_table_insert (_tmp12_, _tmp13_, _tmp18_);
       unity_scope_impl_search_internal_co (_data9_->_async_data_);
       _g_hash_table_unref0 (reply_hints);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void __lambda8_ ( Block9Data *  _data9_) [static]

Definition at line 2308 of file unity-scope-private.c.

                                             {
       UnityScopeImpl * self;
       UnityLensSearch* _tmp0_;
       gulong _tmp1_;
       self = _data9_->self;
       _tmp0_ = _data9_->s;
       _tmp1_ = _data9_->sig_id;
       g_signal_handler_block (_tmp0_, _tmp1_);
       g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _unity_scope_impl_search_internal_co_gsource_func, _data9_->_async_data_, NULL);
}

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 955 of file unity-scope-private.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 1723 of file unity-scope-private.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 704 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static void _g_object_unref0_ ( gpointer  var) [static]

Definition at line 3132 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static gpointer _g_ptr_array_ref0 ( gpointer  self) [static]

Definition at line 2797 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static gpointer _g_variant_ref0 ( gpointer  self) [static]

Definition at line 2214 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static void _g_variant_unref0_ ( gpointer  var) [static]

Definition at line 960 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static gboolean _unity_scope_impl_emit_filters_changed_gsource_func ( gpointer  self) [static]

Definition at line 875 of file unity-scope-private.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean _unity_scope_impl_emit_info_changed_gsource_func ( gpointer  self) [static]

Definition at line 856 of file unity-scope-private.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_scope_impl_on_filter_added_dee_model_row_added ( DeeModel *  _sender,
DeeModelIter *  iter,
gpointer  self 
) [static]

Definition at line 654 of file unity-scope-private.c.

                                                                                                                         {
       unity_scope_impl_on_filter_added (self, _sender, iter);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_scope_impl_on_filter_changed_dee_model_row_changed ( DeeModel *  _sender,
DeeModelIter *  iter,
gpointer  self 
) [static]

Definition at line 659 of file unity-scope-private.c.

                                                                                                                             {
       unity_scope_impl_on_filter_changed (self, _sender, iter);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void _unity_scope_impl_on_filter_removed_dee_model_row_removed ( DeeModel *  _sender,
DeeModelIter *  iter,
gpointer  self 
) [static]

Definition at line 664 of file unity-scope-private.c.

                                                                                                                             {
       unity_scope_impl_on_filter_removed (self, _sender, iter);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 3122 of file unity-scope-private.c.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 3127 of file unity-scope-private.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean _unity_scope_impl_schedule_search_changed_co_gsource_func ( gpointer  self) [static]

Definition at line 1914 of file unity-scope-private.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean _unity_scope_impl_search_internal_co_gsource_func ( gpointer  self) [static]

Definition at line 2301 of file unity-scope-private.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void _vala_array_destroy ( gpointer  array,
gint  array_length,
GDestroyNotify  destroy_func 
) [static]

Definition at line 3279 of file unity-scope-private.c.

                                                                                                 {
       if ((array != NULL) && (destroy_func != NULL)) {
              int i;
              for (i = 0; i < array_length; i = i + 1) {
                     if (((gpointer*) array)[i] != NULL) {
                            destroy_func (((gpointer*) array)[i]);
                     }
              }
       }
}

Here is the caller graph for this function:

static void _vala_array_free ( gpointer  array,
gint  array_length,
GDestroyNotify  destroy_func 
) [static]

Definition at line 3291 of file unity-scope-private.c.

                                                                                              {
       _vala_array_destroy (array, array_length, destroy_func);
       g_free (array);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gint _vala_array_length ( gpointer  array) [static]

Definition at line 3297 of file unity-scope-private.c.

                                                {
       int length;
       length = 0;
       if (array) {
              while (((gpointer*) array)[length]) {
                     length++;
              }
       }
       return length;
}

Here is the caller graph for this function:

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

Definition at line 3245 of file unity-scope-private.c.

                                                                                                                          {
       UnityScopeImpl * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SCOPE_IMPL, UnityScopeImpl);
       switch (property_id) {
              case UNITY_SCOPE_IMPL_OWNER:
              g_value_set_object (value, unity_scope_impl_get_owner (self));
              break;
              case UNITY_SCOPE_IMPL_VIEW_TYPE:
              g_value_set_enum (value, unity_scope_impl_get_view_type (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_impl_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 3262 of file unity-scope-private.c.

                                                                                                                                {
       UnityScopeImpl * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_SCOPE_IMPL, UnityScopeImpl);
       switch (property_id) {
              case UNITY_SCOPE_IMPL_OWNER:
              unity_scope_impl_set_owner (self, g_value_get_object (value));
              break;
              case UNITY_SCOPE_IMPL_VIEW_TYPE:
              unity_scope_impl_set_view_type (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 GVariant * _variant_new25 ( GHashTable *  value) [static]

Definition at line 937 of file unity-scope-private.c.

                                                    {
       GVariantBuilder _tmp9_;
       GHashTableIter _tmp10_;
       gpointer _tmp11_;
       gpointer _tmp12_;
       g_hash_table_iter_init (&_tmp10_, value);
       g_variant_builder_init (&_tmp9_, G_VARIANT_TYPE ("a{sv}"));
       while (g_hash_table_iter_next (&_tmp10_, &_tmp11_, &_tmp12_)) {
              gchar* _key;
              GVariant* _value;
              _key = (gchar*) _tmp11_;
              _value = (GVariant*) _tmp12_;
              g_variant_builder_add (&_tmp9_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
       }
       return g_variant_ref_sink (g_variant_builder_end (&_tmp9_));
}

Here is the caller graph for this function:

static Block8Data* block8_data_ref ( Block8Data *  _data8_) [static]

Definition at line 1846 of file unity-scope-private.c.

                                                         {
       g_atomic_int_inc (&_data8_->_ref_count_);
       return _data8_;
}

Here is the caller graph for this function:

static void block8_data_unref ( void *  _userdata_) [static]

Definition at line 1852 of file unity-scope-private.c.

                                                  {
       Block8Data* _data8_;
       _data8_ = (Block8Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data8_->_ref_count_)) {
              UnityScopeImpl * self;
              self = _data8_->self;
              _g_object_unref0 (self);
              g_slice_free (Block8Data, _data8_);
       }
}

Here is the caller graph for this function:

static Block9Data* block9_data_ref ( Block9Data *  _data9_) [static]

Definition at line 2194 of file unity-scope-private.c.

                                                         {
       g_atomic_int_inc (&_data9_->_ref_count_);
       return _data9_;
}

Here is the caller graph for this function:

static void block9_data_unref ( void *  _userdata_) [static]

Definition at line 2200 of file unity-scope-private.c.

                                                  {
       Block9Data* _data9_;
       _data9_ = (Block9Data*) _userdata_;
       if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
              UnityScopeImpl * self;
              self = _data9_->self;
              _g_object_unref0 (_data9_->s);
              _g_hash_table_unref0 (_data9_->_result_);
              _g_object_unref0 (self);
              g_slice_free (Block9Data, _data9_);
       }
}

Here is the caller graph for this function:

static gint g_ptr_array_get_length ( GPtrArray *  self) [static]

Definition at line 2802 of file unity-scope-private.c.

                                                     {
       gint result;
       guint _tmp0_;
       g_return_val_if_fail (self != NULL, 0);
       _tmp0_ = self->len;
       result = (gint) _tmp0_;
       return result;
}

Here is the caller graph for this function:

static void g_ptr_array_set_length ( GPtrArray *  self,
gint  value 
) [static]

Definition at line 2812 of file unity-scope-private.c.

                                                                 {
       gint _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       g_ptr_array_set_size (self, _tmp0_);
}
static gchar string_get ( const gchar *  self,
glong  index 
) [static]

Definition at line 1449 of file unity-scope-private.c.

                                                         {
       gchar result = '\0';
       glong _tmp0_;
       gchar _tmp1_;
       g_return_val_if_fail (self != NULL, '\0');
       _tmp0_ = index;
       _tmp1_ = ((gchar*) self)[_tmp0_];
       result = _tmp1_;
       return result;
}

Here is the caller graph for this function:

GType unity_filter_column_get_type ( void  )

Definition at line 504 of file unity-scope-private.c.

                                                                                  {
       UnityScopeImpl * self = NULL;
       UnityScope* _tmp0_;
       g_return_val_if_fail (owner != NULL, NULL);
       _tmp0_ = owner;
       self = (UnityScopeImpl*) g_object_new (object_type, "owner", _tmp0_, NULL);
       return self;
}
GHashTable* unity_filter_get_hints ( UnityFilter *  self)

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

                                                       {
       g_return_val_if_fail (self != NULL, NULL);
       return UNITY_FILTER_GET_CLASS (self)->get_hints (self);
}
UnityActivationResponse* unity_scope_impl_activate_action ( UnityScopeImpl *  self,
const gchar *  action_id,
const gchar *  uri 
)

Definition at line 2908 of file unity-scope-private.c.

                                                                                                                           {
       UnityActivationResponse* result = NULL;
       UnityActivationResponse* response;
       GHashTable* _tmp0_;
       const gchar* _tmp1_;
       gconstpointer _tmp2_ = NULL;
       UnityPreviewAction* _tmp3_;
       UnityPreviewAction* action;
       UnityPreviewAction* _tmp4_;
       g_return_val_if_fail (self != NULL, NULL);
       g_return_val_if_fail (action_id != NULL, NULL);
       g_return_val_if_fail (uri != NULL, NULL);
       response = NULL;
       _tmp0_ = self->priv->_action_map;
       _tmp1_ = action_id;
       _tmp2_ = g_hash_table_lookup (_tmp0_, _tmp1_);
       _tmp3_ = _g_object_ref0 ((UnityPreviewAction*) _tmp2_);
       action = _tmp3_;
       _tmp4_ = action;
       if (_tmp4_ != NULL) {
              UnityPreviewAction* _tmp5_;
              const gchar* _tmp6_;
              UnityActivationResponse* _tmp7_ = NULL;
              _tmp5_ = action;
              _tmp6_ = uri;
              g_signal_emit_by_name (_tmp5_, "activated", _tmp6_, &_tmp7_);
              _g_object_unref0 (response);
              response = _tmp7_;
       } else {
              const gchar* _tmp8_;
              _tmp8_ = action_id;
              g_warning ("unity-scope-private.vala:584: Cannot find PreviewAction with id: %s", _tmp8_);
       }
       result = response;
       _g_object_unref0 (action);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1461 of file unity-scope-private.c.

                                                                                                                {
       UnityScopeImplActivateData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_impl_real_activate_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_class_init ( UnityScopeImplClass *  klass) [static]

Definition at line 3170 of file unity-scope-private.c.

                                                                      {
       unity_scope_impl_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityScopeImplPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_scope_impl_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_scope_impl_set_property;
       G_OBJECT_CLASS (klass)->constructor = unity_scope_impl_constructor;
       G_OBJECT_CLASS (klass)->finalize = unity_scope_impl_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_IMPL_OWNER, g_param_spec_object ("owner", "owner", "owner", UNITY_TYPE_SCOPE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_SCOPE_IMPL_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:

UnityScopeImpl* unity_scope_impl_construct ( GType  object_type,
UnityScope *  owner 
)
static GObject* unity_scope_impl_constructor ( GType  type,
guint  n_construct_properties,
GObjectConstructParam *  construct_properties 
) [static]

Definition at line 3137 of file unity-scope-private.c.

                                                                                                                                       {
       GObject * obj;
       GObjectClass * parent_class;
       UnityScopeImpl * self;
       UnityScope* _tmp0_;
       UnityScope* _tmp1_;
       UnityScope* _tmp2_;
       UnityOptionsFilter* _tmp3_;
       UnityOptionsFilter* _tmp4_;
       GHashFunc _tmp5_;
       GEqualFunc _tmp6_;
       GHashTable* _tmp7_;
       parent_class = G_OBJECT_CLASS (unity_scope_impl_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_SCOPE_IMPL, UnityScopeImpl);
       _tmp0_ = self->priv->_owner;
       g_signal_connect_object ((GObject*) _tmp0_, "notify::search-in-global", (GCallback) _unity_scope_impl_queue_info_changed_g_object_notify, self, 0);
       _tmp1_ = self->priv->_owner;
       g_signal_connect_object ((GObject*) _tmp1_, "notify::visible", (GCallback) _unity_scope_impl_queue_info_changed_g_object_notify, self, 0);
       _tmp2_ = self->priv->_owner;
       _tmp3_ = unity_scope_get_sources (_tmp2_);
       _tmp4_ = _tmp3_;
       g_signal_connect_object ((UnityFilter*) _tmp4_, "changed", (GCallback) _unity_scope_impl_queue_info_changed_unity_filter_changed, self, 0);
       _tmp5_ = g_str_hash;
       _tmp6_ = g_str_equal;
       _tmp7_ = g_hash_table_new_full (_tmp5_, _tmp6_, _g_free0_, _g_object_unref0_);
       _g_hash_table_unref0 (self->priv->_action_map);
       self->priv->_action_map = _tmp7_;
       unity_scope_impl_create_models (self);
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gchar * unity_scope_impl_create_dbus_name ( UnityScopeImpl *  self) [static]

Definition at line 600 of file unity-scope-private.c.

                                                                       {
       gchar* result = NULL;
       time_t _tmp0_;
       guint t;
       UnityScope* _tmp1_;
       const gchar* _tmp2_;
       const gchar* _tmp3_;
       gchar* _tmp4_;
       gchar* dbus_path;
       gchar* _tmp5_;
       gchar* dbus_name;
       const gchar* _tmp6_;
       gchar* _tmp7_ = NULL;
       gchar* _tmp8_;
       gchar* _tmp9_;
       gchar* _tmp10_;
       gchar* _tmp11_;
       const gchar* _tmp12_;
       gchar* _tmp13_ = NULL;
       gchar* _tmp14_;
       gchar* _tmp15_;
       g_return_val_if_fail (self != NULL, NULL);
       _tmp0_ = time (NULL);
       t = (guint) _tmp0_;
       _tmp1_ = self->priv->_owner;
       _tmp2_ = unity_scope_get_dbus_path (_tmp1_);
       _tmp3_ = _tmp2_;
       _tmp4_ = g_strdup (_tmp3_);
       dbus_path = _tmp4_;
       _tmp5_ = g_strdup ("com.canonical.Unity.Scope");
       dbus_name = _tmp5_;
       _tmp6_ = dbus_name;
       _tmp7_ = g_path_get_basename (dbus_path);
       _tmp8_ = _tmp7_;
       _tmp9_ = g_strconcat (".", _tmp8_, NULL);
       _tmp10_ = _tmp9_;
       _tmp11_ = g_strconcat (_tmp6_, _tmp10_, NULL);
       _g_free0 (dbus_name);
       dbus_name = _tmp11_;
       _g_free0 (_tmp10_);
       _g_free0 (_tmp8_);
       _tmp12_ = dbus_name;
       _tmp13_ = g_strdup_printf (".T%u", t);
       _tmp14_ = _tmp13_;
       _tmp15_ = g_strconcat (_tmp12_, _tmp14_, NULL);
       _g_free0 (dbus_name);
       dbus_name = _tmp15_;
       _g_free0 (_tmp14_);
       result = dbus_name;
       _g_free0 (dbus_path);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_create_models ( UnityScopeImpl *  self) [static]

Definition at line 669 of file unity-scope-private.c.

                                                                  {
       DeeSequenceModel* _tmp0_;
       DeeSerializableModel* _tmp1_;
       DeeSequenceModel* _tmp2_;
       DeeSerializableModel* _tmp3_;
       DeeSequenceModel* _tmp4_;
       DeeSerializableModel* _tmp5_;
       DeeSerializableModel* _tmp6_;
       DeeSerializableModel* _tmp7_;
       DeeSerializableModel* _tmp8_;
       g_return_if_fail (self != NULL);
       _tmp0_ = (DeeSequenceModel*) dee_sequence_model_new ();
       _g_object_unref0 (self->_results_model);
       self->_results_model = (DeeSerializableModel*) _tmp0_;
       _tmp1_ = self->_results_model;
       dee_model_set_schema ((DeeModel*) _tmp1_, "s", "s", "u", "s", "s", "s", "s", NULL);
       _tmp2_ = (DeeSequenceModel*) dee_sequence_model_new ();
       _g_object_unref0 (self->_global_results_model);
       self->_global_results_model = (DeeSerializableModel*) _tmp2_;
       _tmp3_ = self->_global_results_model;
       dee_model_set_schema ((DeeModel*) _tmp3_, "s", "s", "u", "s", "s", "s", "s", NULL);
       _tmp4_ = (DeeSequenceModel*) dee_sequence_model_new ();
       _g_object_unref0 (self->_filters_model);
       self->_filters_model = (DeeSerializableModel*) _tmp4_;
       _tmp5_ = self->_filters_model;
       dee_model_set_schema ((DeeModel*) _tmp5_, "s", "s", "s", "s", "a{sv}", "b", "b", "b", NULL);
       _tmp6_ = self->_filters_model;
       g_signal_connect_object ((DeeModel*) _tmp6_, "row-added", (GCallback) _unity_scope_impl_on_filter_added_dee_model_row_added, self, 0);
       _tmp7_ = self->_filters_model;
       g_signal_connect_object ((DeeModel*) _tmp7_, "row-changed", (GCallback) _unity_scope_impl_on_filter_changed_dee_model_row_changed, self, 0);
       _tmp8_ = self->_filters_model;
       g_signal_connect_object ((DeeModel*) _tmp8_, "row-removed", (GCallback) _unity_scope_impl_on_filter_removed_dee_model_row_removed, self, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_create_shared_models ( UnityScopeImpl *  self,
const gchar *  dbus_name 
) [static]

Definition at line 709 of file unity-scope-private.c.

                                                                                                 {
       DeeSerializableModel* _tmp0_;
       DeeSerializableModel* _tmp1_;
       DeeSerializableModel* backend;
       const gchar* _tmp2_;
       gchar* _tmp3_;
       gchar* _tmp4_;
       DeeSerializableModel* _tmp5_;
       DeeModel* _tmp6_;
       DeeSharedModel* _tmp7_;
       DeeSerializableModel* _tmp8_;
       DeeSerializableModel* _tmp9_;
       const gchar* _tmp10_;
       gchar* _tmp11_;
       gchar* _tmp12_;
       DeeSerializableModel* _tmp13_;
       DeeModel* _tmp14_;
       DeeSharedModel* _tmp15_;
       DeeSerializableModel* _tmp16_;
       DeeSerializableModel* _tmp17_;
       DeeSerializableModel* _tmp18_;
       guint _tmp19_ = 0U;
       DeeSerializableModel* _tmp20_;
       guint _tmp21_ = 0U;
       DeeSerializableModel* _tmp22_;
       guint _tmp23_ = 0U;
       const gchar* _tmp24_;
       gchar* _tmp25_;
       gchar* _tmp26_;
       DeeSerializableModel* _tmp27_;
       DeeModel* _tmp28_;
       DeeSharedModel* _tmp29_;
       DeeSerializableModel* _tmp30_;
       DeeSerializableModel* _tmp31_;
       DeeSerializableModel* _tmp32_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (dbus_name != NULL);
       _tmp0_ = self->_results_model;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       backend = _tmp1_;
       _tmp2_ = dbus_name;
       _tmp3_ = g_strconcat (_tmp2_, ".Results", NULL);
       _tmp4_ = _tmp3_;
       _tmp5_ = backend;
       _tmp6_ = _g_object_ref0 ((DeeModel*) _tmp5_);
       _tmp7_ = (DeeSharedModel*) dee_shared_model_new_with_back_end (_tmp4_, _tmp6_);
       _g_object_unref0 (self->_results_model);
       self->_results_model = (DeeSerializableModel*) _tmp7_;
       _g_free0 (_tmp4_);
       _tmp8_ = self->_global_results_model;
       _tmp9_ = _g_object_ref0 (_tmp8_);
       _g_object_unref0 (backend);
       backend = _tmp9_;
       _tmp10_ = dbus_name;
       _tmp11_ = g_strconcat (_tmp10_, ".GlobalResults", NULL);
       _tmp12_ = _tmp11_;
       _tmp13_ = backend;
       _tmp14_ = _g_object_ref0 ((DeeModel*) _tmp13_);
       _tmp15_ = (DeeSharedModel*) dee_shared_model_new_with_back_end (_tmp12_, _tmp14_);
       _g_object_unref0 (self->_global_results_model);
       self->_global_results_model = (DeeSerializableModel*) _tmp15_;
       _g_free0 (_tmp12_);
       _tmp16_ = self->_filters_model;
       _tmp17_ = _g_object_ref0 (_tmp16_);
       _g_object_unref0 (backend);
       backend = _tmp17_;
       _tmp18_ = backend;
       g_signal_parse_name ("row-added", dee_model_get_type (), &_tmp19_, NULL, FALSE);
       g_signal_handlers_disconnect_matched ((DeeModel*) _tmp18_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp19_, 0, NULL, (GCallback) _unity_scope_impl_on_filter_added_dee_model_row_added, self);
       _tmp20_ = backend;
       g_signal_parse_name ("row-changed", dee_model_get_type (), &_tmp21_, NULL, FALSE);
       g_signal_handlers_disconnect_matched ((DeeModel*) _tmp20_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp21_, 0, NULL, (GCallback) _unity_scope_impl_on_filter_changed_dee_model_row_changed, self);
       _tmp22_ = backend;
       g_signal_parse_name ("row-removed", dee_model_get_type (), &_tmp23_, NULL, FALSE);
       g_signal_handlers_disconnect_matched ((DeeModel*) _tmp22_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp23_, 0, NULL, (GCallback) _unity_scope_impl_on_filter_removed_dee_model_row_removed, self);
       _tmp24_ = dbus_name;
       _tmp25_ = g_strconcat (_tmp24_, ".Filters", NULL);
       _tmp26_ = _tmp25_;
       _tmp27_ = backend;
       _tmp28_ = _g_object_ref0 ((DeeModel*) _tmp27_);
       _tmp29_ = (DeeSharedModel*) dee_shared_model_new_with_back_end (_tmp26_, _tmp28_);
       _g_object_unref0 (self->_filters_model);
       self->_filters_model = (DeeSerializableModel*) _tmp29_;
       _g_free0 (_tmp26_);
       _tmp30_ = self->_filters_model;
       g_signal_connect_object ((DeeModel*) _tmp30_, "row-added", (GCallback) _unity_scope_impl_on_filter_added_dee_model_row_added, self, 0);
       _tmp31_ = self->_filters_model;
       g_signal_connect_object ((DeeModel*) _tmp31_, "row-changed", (GCallback) _unity_scope_impl_on_filter_changed_dee_model_row_changed, self, 0);
       _tmp32_ = self->_filters_model;
       g_signal_connect_object ((DeeModel*) _tmp32_, "row-removed", (GCallback) _unity_scope_impl_on_filter_removed_dee_model_row_removed, self, 0);
       _g_object_unref0 (backend);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_impl_emit_filters_changed ( UnityScopeImpl *  self) [static]

Definition at line 894 of file unity-scope-private.c.

                                                                             {
       gboolean result = FALSE;
       UnityScope* _tmp0_;
       g_return_val_if_fail (self != NULL, FALSE);
       _tmp0_ = self->priv->_owner;
       g_signal_emit_by_name (_tmp0_, "filters-changed");
       self->priv->_filters_changed_id = (guint) 0;
       result = FALSE;
       return result;
}

Here is the caller graph for this function:

static gboolean unity_scope_impl_emit_info_changed ( UnityScopeImpl *  self) [static]

Definition at line 965 of file unity-scope-private.c.

                                                                          {
       gboolean result = FALSE;
       UnityProtocolScopeInfo info = {0};
       UnityScope* _tmp0_;
       const gchar* _tmp1_;
       const gchar* _tmp2_;
       gchar* _tmp3_;
       UnityScope* _tmp4_;
       UnityOptionsFilter* _tmp5_;
       UnityOptionsFilter* _tmp6_;
       GHashTable* _tmp7_ = NULL;
       GHashTable* _tmp8_;
       GVariant* _tmp13_;
       UnityScope* _tmp14_;
       gboolean _tmp15_;
       gboolean _tmp16_;
       gchar* _tmp17_;
       DeeSerializableModel* _tmp18_;
       gchar* _tmp19_ = NULL;
       DeeSerializableModel* _tmp20_;
       gchar* _tmp21_ = NULL;
       DeeSerializableModel* _tmp22_;
       gchar* _tmp23_ = NULL;
       GHashFunc _tmp24_;
       GEqualFunc _tmp25_;
       GHashTable* _tmp26_;
       UnityProtocolScopeInfo _tmp27_;
       g_return_val_if_fail (self != NULL, FALSE);
       memset (&info, 0, sizeof (UnityProtocolScopeInfo));
       _tmp0_ = self->priv->_owner;
       _tmp1_ = unity_scope_get_dbus_path (_tmp0_);
       _tmp2_ = _tmp1_;
       _tmp3_ = g_strdup (_tmp2_);
       _g_free0 (info.dbus_path);
       info.dbus_path = _tmp3_;
       _tmp4_ = self->priv->_owner;
       _tmp5_ = unity_scope_get_sources (_tmp4_);
       _tmp6_ = _tmp5_;
       _tmp7_ = unity_filter_get_hints ((UnityFilter*) _tmp6_);
       _tmp8_ = _tmp7_;
       _tmp13_ = _variant_new25 (_tmp8_);
       _g_variant_unref0 (info.sources);
       info.sources = _tmp13_;
       _g_hash_table_unref0 (_tmp8_);
       _tmp14_ = self->priv->_owner;
       _tmp15_ = unity_scope_get_search_in_global (_tmp14_);
       _tmp16_ = _tmp15_;
       info.search_in_global = _tmp16_;
       _tmp17_ = g_strdup ("<not implemented>");
       _g_free0 (info.private_connection_name);
       info.private_connection_name = _tmp17_;
       _tmp18_ = self->_results_model;
       _tmp19_ = unity_scope_impl_get_model_name (self, _tmp18_);
       _g_free0 (info.results_model_name);
       info.results_model_name = _tmp19_;
       _tmp20_ = self->_global_results_model;
       _tmp21_ = unity_scope_impl_get_model_name (self, _tmp20_);
       _g_free0 (info.global_results_model_name);
       info.global_results_model_name = _tmp21_;
       _tmp22_ = self->_filters_model;
       _tmp23_ = unity_scope_impl_get_model_name (self, _tmp22_);
       _g_free0 (info.filters_model_name);
       info.filters_model_name = _tmp23_;
       _tmp24_ = g_str_hash;
       _tmp25_ = g_str_equal;
       _tmp26_ = g_hash_table_new_full (_tmp24_, _tmp25_, _g_free0_, _g_variant_unref0_);
       _g_hash_table_unref0 (info.hints);
       info.hints = _tmp26_;
       _tmp27_ = info;
       g_signal_emit_by_name ((UnityProtocolScopeService*) self, "changed", &_tmp27_);
       self->priv->_info_changed_id = (guint) 0;
       result = FALSE;
       unity_protocol_scope_info_destroy (&info);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_scope_impl_export ( UnityScopeImpl *  self,
GError **  error 
)

Definition at line 803 of file unity-scope-private.c.

                                                                    {
       gchar* _tmp0_ = NULL;
       gchar* _tmp1_;
       GDBusConnection* _tmp2_ = NULL;
       GDBusConnection* conn;
       GDBusConnection* _tmp3_;
       UnityScope* _tmp4_;
       const gchar* _tmp5_;
       const gchar* _tmp6_;
       guint _tmp7_ = 0U;
       guint _tmp8_;
       GError * _inner_error_ = NULL;
       g_return_if_fail (self != NULL);
       _tmp0_ = unity_scope_impl_create_dbus_name (self);
       _tmp1_ = _tmp0_;
       unity_scope_impl_create_shared_models (self, _tmp1_);
       _g_free0 (_tmp1_);
       _tmp2_ = g_bus_get_sync (G_BUS_TYPE_SESSION, NULL, &_inner_error_);
       conn = _tmp2_;
       if (_inner_error_ != NULL) {
              if (_inner_error_->domain == G_IO_ERROR) {
                     g_propagate_error (error, _inner_error_);
                     return;
              } else {
                     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;
              }
       }
       _tmp3_ = conn;
       _tmp4_ = self->priv->_owner;
       _tmp5_ = unity_scope_get_dbus_path (_tmp4_);
       _tmp6_ = _tmp5_;
       _tmp7_ = unity_protocol_scope_service_register_object (G_TYPE_CHECK_INSTANCE_TYPE (self, UNITY_PROTOCOL_TYPE_SCOPE_SERVICE) ? ((UnityProtocolScopeService*) self) : NULL, _tmp3_, _tmp6_, &_inner_error_);
       _tmp8_ = _tmp7_;
       if (_inner_error_ != NULL) {
              if (_inner_error_->domain == G_IO_ERROR) {
                     g_propagate_error (error, _inner_error_);
                     _g_object_unref0 (conn);
                     return;
              } else {
                     _g_object_unref0 (conn);
                     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;
              }
       }
       self->priv->_dbus_id = _tmp8_;
       unity_scope_impl_queue_info_changed (self);
       _g_object_unref0 (conn);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_finalize ( GObject *  obj) [static]

Definition at line 3216 of file unity-scope-private.c.

                                                     {
       UnityScopeImpl * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_SCOPE_IMPL, UnityScopeImpl);
       _g_object_unref0 (self->priv->_owner);
       _g_hash_table_unref0 (self->priv->_action_map);
       _g_object_unref0 (self->priv->_last_preview);
       _g_object_unref0 (self->_results_model);
       _g_object_unref0 (self->_global_results_model);
       _g_object_unref0 (self->_filters_model);
       self->priv->cancellable_arr = (_vala_array_free (self->priv->cancellable_arr, self->priv->cancellable_arr_length1, (GDestroyNotify) g_object_unref), NULL);
       self->priv->search_keys = (_vala_array_free (self->priv->search_keys, self->priv->search_keys_length1, (GDestroyNotify) g_free), NULL);
       G_OBJECT_CLASS (unity_scope_impl_parent_class)->finalize (obj);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gchar * unity_scope_impl_get_model_name ( UnityScopeImpl *  self,
DeeSerializableModel *  model 
) [static]

Definition at line 906 of file unity-scope-private.c.

                                                                                                  {
       gchar* result = NULL;
       DeeSerializableModel* _tmp0_;
       g_return_val_if_fail (self != NULL, NULL);
       g_return_val_if_fail (model != NULL, NULL);
       _tmp0_ = model;
       if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, dee_shared_model_get_type ())) {
              DeeSerializableModel* _tmp1_;
              DeeSharedModel* _tmp2_;
              DeeSharedModel* shared_model;
              DeeSharedModel* _tmp3_;
              const gchar* _tmp4_ = NULL;
              gchar* _tmp5_;
              _tmp1_ = model;
              _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, dee_shared_model_get_type ()) ? ((DeeSharedModel*) _tmp1_) : NULL);
              shared_model = _tmp2_;
              _tmp3_ = shared_model;
              _tmp4_ = dee_shared_model_get_swarm_name (_tmp3_);
              _tmp5_ = g_strdup (_tmp4_);
              result = _tmp5_;
              _g_object_unref0 (shared_model);
              return result;
       } else {
              gchar* _tmp6_;
              _tmp6_ = g_strdup ("<local>");
              result = _tmp6_;
              return result;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static UnityScope * unity_scope_impl_get_owner ( UnityScopeImpl *  self) [static]

Definition at line 3081 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static gchar* unity_scope_impl_get_search_key ( UnityScopeImpl *  self,
UnityLensSearch *  ls,
UnitySearchType  search_type 
) [static]

Definition at line 2089 of file unity-scope-private.c.

                                                                                                                       {
       gchar* result = NULL;
       gchar* _tmp0_ = NULL;
       UnitySearchType _tmp1_;
       const gchar* _tmp8_;
       gchar* _tmp9_;
       gchar* search_key;
       g_return_val_if_fail (self != NULL, NULL);
       g_return_val_if_fail (ls != NULL, NULL);
       _tmp1_ = search_type;
       if (_tmp1_ == UNITY_SEARCH_TYPE_DEFAULT) {
              UnityScope* _tmp2_;
              UnityLensSearch* _tmp3_;
              gchar* _tmp4_ = NULL;
              _tmp2_ = self->priv->_owner;
              _tmp3_ = ls;
              g_signal_emit_by_name (_tmp2_, "generate-search-key::default", _tmp3_, &_tmp4_);
              _g_free0 (_tmp0_);
              _tmp0_ = _tmp4_;
       } else {
              UnityScope* _tmp5_;
              UnityLensSearch* _tmp6_;
              gchar* _tmp7_ = NULL;
              _tmp5_ = self->priv->_owner;
              _tmp6_ = ls;
              g_signal_emit_by_name (_tmp5_, "generate-search-key::global", _tmp6_, &_tmp7_);
              _g_free0 (_tmp0_);
              _tmp0_ = _tmp7_;
       }
       _tmp8_ = _tmp0_;
       _tmp9_ = g_strdup (_tmp8_);
       search_key = _tmp9_;
       result = search_key;
       _g_free0 (_tmp0_);
       return result;
}

Here is the caller graph for this function:

GType unity_scope_impl_get_type ( void  )

Definition at line 473 of file unity-scope-private.c.

      {
       UNITY_SCOPE_IMPL_DUMMY_PROPERTY,
       UNITY_SCOPE_IMPL_OWNER,
       UNITY_SCOPE_IMPL_VIEW_TYPE
};

Definition at line 3103 of file unity-scope-private.c.

                                                                            {
       UnityProtocolViewType result;
       UnityProtocolViewType _tmp0_;
       g_return_val_if_fail (self != NULL, 0);
       _tmp0_ = self->priv->_view_type;
       result = _tmp0_;
       return result;
}

Here is the caller graph for this function:

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

Definition at line 2729 of file unity-scope-private.c.

                                                                                                                     {
       UnityScopeImplGlobalSearchData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_impl_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_impl_instance_init ( UnityScopeImpl *  self) [static]

Definition at line 3201 of file unity-scope-private.c.

                                                                   {
       GCancellable** _tmp0_ = NULL;
       gchar** _tmp1_ = NULL;
       self->priv = UNITY_SCOPE_IMPL_GET_PRIVATE (self);
       _tmp0_ = g_new0 (GCancellable*, UNITY_SEARCH_TYPE_N_TYPES + 1);
       self->priv->cancellable_arr = _tmp0_;
       self->priv->cancellable_arr_length1 = UNITY_SEARCH_TYPE_N_TYPES;
       self->priv->_cancellable_arr_size_ = self->priv->cancellable_arr_length1;
       _tmp1_ = g_new0 (gchar*, UNITY_SEARCH_TYPE_N_TYPES + 1);
       self->priv->search_keys = _tmp1_;
       self->priv->search_keys_length1 = UNITY_SEARCH_TYPE_N_TYPES;
       self->priv->_search_keys_size_ = self->priv->search_keys_length1;
}

Here is the caller graph for this function:

void unity_scope_impl_invalidate_search ( UnityScopeImpl *  self,
UnitySearchType  search_type 
)

Definition at line 2127 of file unity-scope-private.c.

                                                                                            {
       UnitySearchType _tmp0_;
       gchar** _tmp1_;
       gint _tmp1__length1;
       UnitySearchType _tmp2_;
       gchar* _tmp3_;
       g_return_if_fail (self != NULL);
       _tmp0_ = search_type;
       g_return_if_fail (_tmp0_ < UNITY_SEARCH_TYPE_N_TYPES);
       _tmp1_ = self->priv->search_keys;
       _tmp1__length1 = self->priv->search_keys_length1;
       _tmp2_ = search_type;
       _g_free0 (_tmp1_[_tmp2_]);
       _tmp1_[_tmp2_] = NULL;
       _tmp3_ = _tmp1_[_tmp2_];
}

Here is the caller graph for this function:

UnityScopeImpl* unity_scope_impl_new ( UnityScope *  owner)

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_on_filter_added ( UnityScopeImpl *  self,
DeeModel *  model,
DeeModelIter *  iter 
) [static]

Definition at line 1042 of file unity-scope-private.c.

                                                                                                         {
       DeeModel* _tmp0_;
       DeeModelIter* _tmp1_;
       const gchar* _tmp2_ = NULL;
       DeeModel* _tmp9_;
       DeeModelIter* _tmp10_;
       const gchar* _tmp11_ = NULL;
       gchar* _tmp12_;
       gchar* icon_hint_s;
       GIcon* icon_hint;
       UnityFilter* filter;
       DeeModel* _tmp20_;
       DeeModelIter* _tmp21_;
       const gchar* _tmp22_ = NULL;
       UnityFilterRenderer _tmp23_ = 0;
       UnityFilterRenderer renderer;
       UnityFilterRenderer _tmp24_;
       UnityFilter* _tmp65_;
       GError * _inner_error_ = NULL;
       g_return_if_fail (self != NULL);
       g_return_if_fail (model != NULL);
       g_return_if_fail (iter != NULL);
       _tmp0_ = model;
       _tmp1_ = iter;
       _tmp2_ = dee_model_get_string (_tmp0_, _tmp1_, (guint) UNITY_FILTER_COLUMN_ID);
       if (g_strcmp0 (_tmp2_, UNITY_LENS_SOURCES_FILTER_ID) == 0) {
              UnityScope* _tmp3_;
              UnityOptionsFilter* _tmp4_;
              UnityOptionsFilter* _tmp5_;
              DeeModel* _tmp6_;
              DeeModelIter* _tmp7_;
              gboolean _tmp8_ = FALSE;
              _tmp3_ = self->priv->_owner;
              _tmp4_ = unity_scope_get_sources (_tmp3_);
              _tmp5_ = _tmp4_;
              _tmp6_ = model;
              _tmp7_ = iter;
              _tmp8_ = dee_model_get_bool (_tmp6_, _tmp7_, (guint) UNITY_FILTER_COLUMN_FILTERING);
              unity_filter_set_filtering ((UnityFilter*) _tmp5_, _tmp8_);
              return;
       }
       _tmp9_ = model;
       _tmp10_ = iter;
       _tmp11_ = dee_model_get_string (_tmp9_, _tmp10_, (guint) UNITY_FILTER_COLUMN_ICON_HINT);
       _tmp12_ = g_strdup (_tmp11_);
       icon_hint_s = _tmp12_;
       icon_hint = NULL;
       {
              const gchar* _tmp13_;
              _tmp13_ = icon_hint_s;
              if (g_strcmp0 (_tmp13_, "") != 0) {
                     const gchar* _tmp14_;
                     GIcon* _tmp15_ = NULL;
                     GIcon* _tmp16_;
                     _tmp14_ = icon_hint_s;
                     _tmp15_ = g_icon_new_for_string (_tmp14_, &_inner_error_);
                     _tmp16_ = _tmp15_;
                     if (_inner_error_ != NULL) {
                            goto __catch23_g_error;
                     }
                     _g_object_unref0 (icon_hint);
                     icon_hint = _tmp16_;
              }
       }
       goto __finally23;
       __catch23_g_error:
       {
              GError* e = NULL;
              const gchar* _tmp17_;
              GError* _tmp18_;
              const gchar* _tmp19_;
              e = _inner_error_;
              _inner_error_ = NULL;
              _tmp17_ = icon_hint_s;
              _tmp18_ = e;
              _tmp19_ = _tmp18_->message;
              g_warning ("unity-scope-private.vala:199: Error parsing GIcon data '%s': %s", _tmp17_, _tmp19_);
              _g_error_free0 (e);
       }
       __finally23:
       if (_inner_error_ != NULL) {
              _g_object_unref0 (icon_hint);
              _g_free0 (icon_hint_s);
              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;
       }
       filter = NULL;
       _tmp20_ = model;
       _tmp21_ = iter;
       _tmp22_ = dee_model_get_string (_tmp20_, _tmp21_, (guint) UNITY_FILTER_COLUMN_RENDERER_NAME);
       _tmp23_ = unity_filter_renderer_for_name (_tmp22_);
       renderer = _tmp23_;
       _tmp24_ = renderer;
       switch (_tmp24_) {
              case UNITY_FILTER_RENDERER_RATINGS:
              {
                     DeeModel* _tmp25_;
                     DeeModelIter* _tmp26_;
                     const gchar* _tmp27_ = NULL;
                     DeeModel* _tmp28_;
                     DeeModelIter* _tmp29_;
                     const gchar* _tmp30_ = NULL;
                     GIcon* _tmp31_;
                     UnityRatingsFilter* _tmp32_;
                     _tmp25_ = model;
                     _tmp26_ = iter;
                     _tmp27_ = dee_model_get_string (_tmp25_, _tmp26_, (guint) UNITY_FILTER_COLUMN_ID);
                     _tmp28_ = model;
                     _tmp29_ = iter;
                     _tmp30_ = dee_model_get_string (_tmp28_, _tmp29_, (guint) UNITY_FILTER_COLUMN_NAME);
                     _tmp31_ = icon_hint;
                     _tmp32_ = unity_ratings_filter_new (_tmp27_, _tmp30_, _tmp31_, FALSE);
                     _g_object_unref0 (filter);
                     filter = (UnityFilter*) _tmp32_;
                     break;
              }
              case UNITY_FILTER_RENDERER_RADIO_OPTIONS:
              {
                     DeeModel* _tmp33_;
                     DeeModelIter* _tmp34_;
                     const gchar* _tmp35_ = NULL;
                     DeeModel* _tmp36_;
                     DeeModelIter* _tmp37_;
                     const gchar* _tmp38_ = NULL;
                     GIcon* _tmp39_;
                     UnityRadioOptionFilter* _tmp40_;
                     _tmp33_ = model;
                     _tmp34_ = iter;
                     _tmp35_ = dee_model_get_string (_tmp33_, _tmp34_, (guint) UNITY_FILTER_COLUMN_ID);
                     _tmp36_ = model;
                     _tmp37_ = iter;
                     _tmp38_ = dee_model_get_string (_tmp36_, _tmp37_, (guint) UNITY_FILTER_COLUMN_NAME);
                     _tmp39_ = icon_hint;
                     _tmp40_ = unity_radio_option_filter_new (_tmp35_, _tmp38_, _tmp39_, FALSE);
                     _g_object_unref0 (filter);
                     filter = (UnityFilter*) _tmp40_;
                     break;
              }
              case UNITY_FILTER_RENDERER_CHECK_OPTIONS:
              {
                     DeeModel* _tmp41_;
                     DeeModelIter* _tmp42_;
                     const gchar* _tmp43_ = NULL;
                     DeeModel* _tmp44_;
                     DeeModelIter* _tmp45_;
                     const gchar* _tmp46_ = NULL;
                     GIcon* _tmp47_;
                     UnityCheckOptionFilter* _tmp48_;
                     _tmp41_ = model;
                     _tmp42_ = iter;
                     _tmp43_ = dee_model_get_string (_tmp41_, _tmp42_, (guint) UNITY_FILTER_COLUMN_ID);
                     _tmp44_ = model;
                     _tmp45_ = iter;
                     _tmp46_ = dee_model_get_string (_tmp44_, _tmp45_, (guint) UNITY_FILTER_COLUMN_NAME);
                     _tmp47_ = icon_hint;
                     _tmp48_ = unity_check_option_filter_new (_tmp43_, _tmp46_, _tmp47_, FALSE);
                     _g_object_unref0 (filter);
                     filter = (UnityFilter*) _tmp48_;
                     break;
              }
              case UNITY_FILTER_RENDERER_CHECK_OPTIONS_COMPACT:
              {
                     DeeModel* _tmp49_;
                     DeeModelIter* _tmp50_;
                     const gchar* _tmp51_ = NULL;
                     DeeModel* _tmp52_;
                     DeeModelIter* _tmp53_;
                     const gchar* _tmp54_ = NULL;
                     GIcon* _tmp55_;
                     UnityCheckOptionFilterCompact* _tmp56_;
                     _tmp49_ = model;
                     _tmp50_ = iter;
                     _tmp51_ = dee_model_get_string (_tmp49_, _tmp50_, (guint) UNITY_FILTER_COLUMN_ID);
                     _tmp52_ = model;
                     _tmp53_ = iter;
                     _tmp54_ = dee_model_get_string (_tmp52_, _tmp53_, (guint) UNITY_FILTER_COLUMN_NAME);
                     _tmp55_ = icon_hint;
                     _tmp56_ = unity_check_option_filter_compact_new (_tmp51_, _tmp54_, _tmp55_, FALSE);
                     _g_object_unref0 (filter);
                     filter = (UnityFilter*) _tmp56_;
                     break;
              }
              case UNITY_FILTER_RENDERER_MULTIRANGE:
              {
                     DeeModel* _tmp57_;
                     DeeModelIter* _tmp58_;
                     const gchar* _tmp59_ = NULL;
                     DeeModel* _tmp60_;
                     DeeModelIter* _tmp61_;
                     const gchar* _tmp62_ = NULL;
                     GIcon* _tmp63_;
                     UnityMultiRangeFilter* _tmp64_;
                     _tmp57_ = model;
                     _tmp58_ = iter;
                     _tmp59_ = dee_model_get_string (_tmp57_, _tmp58_, (guint) UNITY_FILTER_COLUMN_ID);
                     _tmp60_ = model;
                     _tmp61_ = iter;
                     _tmp62_ = dee_model_get_string (_tmp60_, _tmp61_, (guint) UNITY_FILTER_COLUMN_NAME);
                     _tmp63_ = icon_hint;
                     _tmp64_ = unity_multi_range_filter_new (_tmp59_, _tmp62_, _tmp63_, FALSE);
                     _g_object_unref0 (filter);
                     filter = (UnityFilter*) _tmp64_;
                     break;
              }
              default:
              break;
       }
       _tmp65_ = filter;
       if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp65_, UNITY_TYPE_FILTER)) {
              UnityFilter* _tmp66_;
              DeeModel* _tmp67_;
              DeeModelIter* _tmp68_;
              UnityScope* _tmp69_;
              UnityFilter* _tmp70_;
              UnityFilter* _tmp71_;
              _tmp66_ = filter;
              _tmp67_ = model;
              _tmp68_ = iter;
              unity_filter_set_model_and_iter (_tmp66_, _tmp67_, _tmp68_);
              _tmp69_ = self->priv->_owner;
              _tmp70_ = filter;
              _tmp71_ = _g_object_ref0 (_tmp70_);
              _tmp69_->_filters = g_list_append (_tmp69_->_filters, _tmp71_);
              unity_scope_impl_queue_filters_changed (self);
       }
       _g_object_unref0 (filter);
       _g_object_unref0 (icon_hint);
       _g_free0 (icon_hint_s);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_on_filter_changed ( UnityScopeImpl *  self,
DeeModel *  model,
DeeModelIter *  iter 
) [static]

Definition at line 1274 of file unity-scope-private.c.

                                                                                                           {
       DeeModel* _tmp0_;
       DeeModelIter* _tmp1_;
       const gchar* _tmp2_ = NULL;
       g_return_if_fail (self != NULL);
       g_return_if_fail (model != NULL);
       g_return_if_fail (iter != NULL);
       _tmp0_ = model;
       _tmp1_ = iter;
       _tmp2_ = dee_model_get_string (_tmp0_, _tmp1_, (guint) UNITY_FILTER_COLUMN_ID);
       if (g_strcmp0 (_tmp2_, UNITY_LENS_SOURCES_FILTER_ID) == 0) {
              UnityScope* _tmp3_;
              UnityOptionsFilter* _tmp4_;
              UnityOptionsFilter* _tmp5_;
              DeeModel* _tmp6_;
              DeeModelIter* _tmp7_;
              gboolean _tmp8_ = FALSE;
              _tmp3_ = self->priv->_owner;
              _tmp4_ = unity_scope_get_sources (_tmp3_);
              _tmp5_ = _tmp4_;
              _tmp6_ = model;
              _tmp7_ = iter;
              _tmp8_ = dee_model_get_bool (_tmp6_, _tmp7_, (guint) UNITY_FILTER_COLUMN_FILTERING);
              unity_filter_set_filtering ((UnityFilter*) _tmp5_, _tmp8_);
              return;
       }
       unity_scope_impl_queue_filters_changed (self);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_on_filter_removed ( UnityScopeImpl *  self,
DeeModel *  model,
DeeModelIter *  iter 
) [static]

Definition at line 1304 of file unity-scope-private.c.

                                                                                                           {
       gboolean dirty;
       UnityScope* _tmp0_;
       GList* _tmp1_;
       gboolean _tmp11_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (model != NULL);
       g_return_if_fail (iter != NULL);
       dirty = FALSE;
       _tmp0_ = self->priv->_owner;
       _tmp1_ = _tmp0_->_filters;
       {
              GList* filter_collection = NULL;
              GList* filter_it = NULL;
              filter_collection = _tmp1_;
              for (filter_it = filter_collection; filter_it != NULL; filter_it = filter_it->next) {
                     UnityFilter* _tmp2_;
                     UnityFilter* filter = NULL;
                     _tmp2_ = _g_object_ref0 ((UnityFilter*) filter_it->data);
                     filter = _tmp2_;
                     {
                            UnityFilter* _tmp3_;
                            const gchar* _tmp4_;
                            const gchar* _tmp5_;
                            DeeModel* _tmp6_;
                            DeeModelIter* _tmp7_;
                            const gchar* _tmp8_ = NULL;
                            _tmp3_ = filter;
                            _tmp4_ = unity_filter_get_id (_tmp3_);
                            _tmp5_ = _tmp4_;
                            _tmp6_ = model;
                            _tmp7_ = iter;
                            _tmp8_ = dee_model_get_string (_tmp6_, _tmp7_, (guint) UNITY_FILTER_COLUMN_ID);
                            if (g_strcmp0 (_tmp5_, _tmp8_) == 0) {
                                   UnityScope* _tmp9_;
                                   UnityFilter* _tmp10_;
                                   dirty = TRUE;
                                   _tmp9_ = self->priv->_owner;
                                   _tmp10_ = filter;
                                   _tmp9_->_filters = g_list_remove (_tmp9_->_filters, _tmp10_);
                                   _g_object_unref0 (filter);
                                   break;
                            }
                            _g_object_unref0 (filter);
                     }
              }
       }
       _tmp11_ = dirty;
       if (_tmp11_) {
              unity_scope_impl_queue_filters_changed (self);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityPreview* unity_scope_impl_preview_internal ( UnityScopeImpl *  self,
const gchar *  uri 
)

Definition at line 2820 of file unity-scope-private.c.

                                                                                         {
       UnityPreview* result = NULL;
       UnityScope* _tmp0_;
       const gchar* _tmp1_;
       UnityPreview* _tmp2_ = NULL;
       UnityPreview* response;
       UnityPreview* _tmp3_;
       UnityPreview* _tmp6_;
       GPtrArray* _tmp7_ = NULL;
       GPtrArray* _tmp8_;
       GPtrArray* actions;
       g_return_val_if_fail (self != NULL, NULL);
       g_return_val_if_fail (uri != NULL, NULL);
       _tmp0_ = self->priv->_owner;
       _tmp1_ = uri;
       g_signal_emit_by_name (_tmp0_, "preview-uri", _tmp1_, &_tmp2_);
       response = _tmp2_;
       _tmp3_ = response;
       if (_tmp3_ == NULL) {
              const gchar* _tmp4_;
              UnityGenericPreview* _tmp5_;
              _tmp4_ = uri;
              _tmp5_ = unity_generic_preview_new (_tmp4_, "", NULL);
              _g_object_unref0 (response);
              response = (UnityPreview*) _tmp5_;
       }
       _tmp6_ = response;
       _tmp7_ = unity_preview_get_actions (_tmp6_);
       _tmp8_ = _g_ptr_array_ref0 (_tmp7_);
       actions = _tmp8_;
       {
              guint i;
              i = (guint) 0;
              {
                     gboolean _tmp9_;
                     _tmp9_ = TRUE;
                     while (TRUE) {
                            gboolean _tmp10_;
                            guint _tmp12_;
                            GPtrArray* _tmp13_;
                            gint _tmp14_;
                            gint _tmp15_;
                            GPtrArray* _tmp16_;
                            guint _tmp17_;
                            gconstpointer _tmp18_ = NULL;
                            UnityPreviewAction* action;
                            GHashTable* _tmp19_;
                            UnityPreviewAction* _tmp20_;
                            const gchar* _tmp21_;
                            const gchar* _tmp22_;
                            gchar* _tmp23_;
                            UnityPreviewAction* _tmp24_;
                            UnityPreviewAction* _tmp25_;
                            _tmp10_ = _tmp9_;
                            if (!_tmp10_) {
                                   guint _tmp11_;
                                   _tmp11_ = i;
                                   i = _tmp11_ + 1;
                            }
                            _tmp9_ = FALSE;
                            _tmp12_ = i;
                            _tmp13_ = actions;
                            _tmp14_ = g_ptr_array_get_length (_tmp13_);
                            _tmp15_ = _tmp14_;
                            if (!(_tmp12_ < ((guint) _tmp15_))) {
                                   break;
                            }
                            _tmp16_ = actions;
                            _tmp17_ = i;
                            _tmp18_ = g_ptr_array_index (_tmp16_, _tmp17_);
                            action = (UnityPreviewAction*) _tmp18_;
                            _tmp19_ = self->priv->_action_map;
                            _tmp20_ = action;
                            _tmp21_ = unity_preview_action_get_id (_tmp20_);
                            _tmp22_ = _tmp21_;
                            _tmp23_ = g_strdup (_tmp22_);
                            _tmp24_ = action;
                            _tmp25_ = _g_object_ref0 (_tmp24_);
                            g_hash_table_insert (_tmp19_, _tmp23_, _tmp25_);
                     }
              }
       }
       result = response;
       _g_ptr_array_unref0 (actions);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_queue_filters_changed ( UnityScopeImpl *  self) [static]

Definition at line 882 of file unity-scope-private.c.

                                                                          {
       guint _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_filters_changed_id;
       if (_tmp0_ == ((guint) 0)) {
              guint _tmp1_ = 0U;
              _tmp1_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) 0, _unity_scope_impl_emit_filters_changed_gsource_func, g_object_ref (self), g_object_unref);
              self->priv->_filters_changed_id = _tmp1_;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_queue_info_changed ( UnityScopeImpl *  self) [static]

Definition at line 863 of file unity-scope-private.c.

                                                                       {
       guint _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = self->priv->_info_changed_id;
       if (_tmp0_ == ((guint) 0)) {
              guint _tmp1_ = 0U;
              _tmp1_ = g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _unity_scope_impl_emit_info_changed_gsource_func, g_object_ref (self), g_object_unref);
              self->priv->_info_changed_id = _tmp1_;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_real_activate ( UnityProtocolScopeService *  base,
const gchar *  uri,
guint  action_type,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1415 of file unity-scope-private.c.

                                                                                                                                                                        {
       UnityScopeImpl * self;
       UnityScopeImplActivateData* _data_;
       UnityScopeImpl* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       guint _tmp3_;
       self = (UnityScopeImpl*) base;
       _data_ = g_slice_new0 (UnityScopeImplActivateData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_impl_real_activate);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_impl_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_impl_real_activate_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_impl_real_activate_co ( UnityScopeImplActivateData *  _data_) [static]

Definition at line 1470 of file unity-scope-private.c.

                                                                                       {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       memset (&_data_->reply, 0, sizeof (UnityProtocolActivationReplyRaw));
       _data_->response = NULL;
       _data_->preview = NULL;
       _data_->stripped_uri = NULL;
       _data_->_tmp0_ = _data_->action_type;
       _data_->action = (UnityProtocolActionType) _data_->_tmp0_;
       _data_->_tmp1_ = _data_->action;
       switch (_data_->_tmp1_) {
              case UNITY_PROTOCOL_ACTION_TYPE_ACTIVATE_RESULT:
              {
                     _data_->_tmp2_ = _data_->self->priv->_owner;
                     _data_->_tmp3_ = _data_->uri;
                     _data_->_tmp4_ = NULL;
                     g_signal_emit_by_name (_data_->_tmp2_, "activate-uri", _data_->_tmp3_, &_data_->_tmp4_);
                     _g_object_unref0 (_data_->response);
                     _data_->response = _data_->_tmp4_;
                     break;
              }
              case UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT:
              {
                     _data_->_tmp5_ = _data_->uri;
                     _data_->_tmp6_ = NULL;
                     _data_->_tmp6_ = unity_scope_impl_preview_internal (_data_->self, _data_->_tmp5_);
                     _g_object_unref0 (_data_->preview);
                     _data_->preview = _data_->_tmp6_;
                     break;
              }
              case UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_ACTION:
              {
                     _data_->_tmp7_ = _data_->uri;
                     _data_->_tmp9_ = NULL;
                     _data_->_tmp9_ = _data_->_tmp8_ = g_strsplit (_data_->_tmp7_, ":", 2);
                     _data_->tokens = _data_->_tmp9_;
                     _data_->tokens_length1 = _vala_array_length (_data_->_tmp8_);
                     _data_->_tokens_size_ = _data_->tokens_length1;
                     _data_->_tmp10_ = _data_->tokens;
                     _data_->_tmp10__length1 = _data_->tokens_length1;
                     _data_->_tmp11_ = _data_->_tmp10_[1];
                     _data_->_tmp12_ = g_strdup (_data_->_tmp11_);
                     _g_free0 (_data_->stripped_uri);
                     _data_->stripped_uri = _data_->_tmp12_;
                     _data_->_tmp13_ = _data_->tokens;
                     _data_->_tmp13__length1 = _data_->tokens_length1;
                     _data_->_tmp14_ = _data_->_tmp13_[0];
                     _data_->_tmp15_ = _data_->stripped_uri;
                     _data_->_tmp16_ = NULL;
                     _data_->_tmp16_ = unity_scope_impl_activate_action (_data_->self, _data_->_tmp14_, _data_->_tmp15_);
                     _g_object_unref0 (_data_->response);
                     _data_->response = _data_->_tmp16_;
                     _data_->tokens = (_vala_array_free (_data_->tokens, _data_->tokens_length1, (GDestroyNotify) g_free), NULL);
                     break;
              }
              case UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_BUILTIN_ACTION:
              {
                     break;
              }
              default:
              {
                     _data_->_tmp17_ = _data_->action_type;
                     g_warning ("unity-scope-private.vala:309: Unknown activation ActionType: %u", _data_->_tmp17_);
                     break;
              }
       }
       _data_->_tmp19_ = _data_->response;
       if (_data_->_tmp19_ != NULL) {
              _data_->_tmp20_ = _data_->response;
              _data_->_tmp21_ = unity_activation_response_get_handled (_data_->_tmp20_);
              _data_->_tmp22_ = _data_->_tmp21_;
              _data_->_tmp18_ = _data_->_tmp22_ == UNITY_HANDLED_TYPE_SHOW_PREVIEW;
       } else {
              _data_->_tmp18_ = FALSE;
       }
       _data_->_tmp23_ = _data_->_tmp18_;
       if (_data_->_tmp23_) {
              _data_->_tmp24_ = _data_->response;
              _data_->_tmp25_ = NULL;
              _data_->_tmp25_ = unity_activation_response_get_preview (_data_->_tmp24_);
              if (_data_->_tmp25_ == NULL) {
                     _data_->_tmp26_ = _data_->response;
                     _data_->_tmp27_ = unity_activation_response_get_goto_uri (_data_->_tmp26_);
                     _data_->_tmp28_ = _data_->_tmp27_;
                     _data_->_tmp29_ = g_strdup (_data_->_tmp28_);
                     _data_->new_uri = _data_->_tmp29_;
                     _data_->_tmp31_ = _data_->new_uri;
                     if (_data_->_tmp31_ == NULL) {
                            _data_->_tmp30_ = TRUE;
                     } else {
                            _data_->_tmp32_ = _data_->new_uri;
                            _data_->_tmp33_ = '\0';
                            _data_->_tmp33_ = string_get (_data_->_tmp32_, (glong) 0);
                            _data_->_tmp30_ = _data_->_tmp33_ == '\0';
                     }
                     _data_->_tmp34_ = _data_->_tmp30_;
                     if (_data_->_tmp34_) {
                            _data_->_tmp35_ = _data_->stripped_uri;
                            _data_->_tmp36_ = g_strdup (_data_->_tmp35_);
                            _data_->_tmp37_ = _data_->_tmp36_;
                            _data_->_tmp38_ = _data_->_tmp37_;
                            if (_data_->_tmp38_ == NULL) {
                                   _data_->_tmp39_ = _data_->uri;
                                   _data_->_tmp40_ = g_strdup (_data_->_tmp39_);
                                   _g_free0 (_data_->_tmp37_);
                                   _data_->_tmp37_ = _data_->_tmp40_;
                            }
                            _data_->_tmp41_ = _data_->_tmp37_;
                            _data_->_tmp42_ = g_strdup (_data_->_tmp41_);
                            _g_free0 (_data_->new_uri);
                            _data_->new_uri = _data_->_tmp42_;
                            _g_free0 (_data_->_tmp37_);
                     }
                     _data_->_tmp43_ = _data_->new_uri;
                     memset (&_data_->_tmp44_, 0, sizeof (UnityProtocolActivationReplyRaw));
                     _data_->_state_ = 1;
                     unity_protocol_scope_service_activate ((UnityProtocolScopeService*) _data_->self, _data_->_tmp43_, (guint) UNITY_PROTOCOL_ACTION_TYPE_PREVIEW_RESULT, unity_scope_impl_activate_ready, _data_);
                     return FALSE;
                     _state_1:
                     unity_protocol_scope_service_activate_finish ((UnityProtocolScopeService*) _data_->self, _data_->_res_, &_data_->_tmp44_, &_data_->_inner_error_);
                     _data_->_tmp45_ = _data_->_tmp44_;
                     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_);
                                   _g_free0 (_data_->new_uri);
                                   _g_free0 (_data_->stripped_uri);
                                   _g_object_unref0 (_data_->preview);
                                   _g_object_unref0 (_data_->response);
                                   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;
                            } else {
                                   _g_free0 (_data_->new_uri);
                                   _g_free0 (_data_->stripped_uri);
                                   _g_object_unref0 (_data_->preview);
                                   _g_object_unref0 (_data_->response);
                                   unity_protocol_activation_reply_raw_destroy (&_data_->reply);
                                   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;
                            }
                     }
                     unity_protocol_activation_reply_raw_destroy (&_data_->reply);
                     _data_->reply = _data_->_tmp45_;
                     _data_->result = _data_->reply;
                     _g_free0 (_data_->new_uri);
                     _g_free0 (_data_->stripped_uri);
                     _g_object_unref0 (_data_->preview);
                     _g_object_unref0 (_data_->response);
                     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;
              }
       }
       _data_->_tmp46_ = _data_->preview;
       if (_data_->_tmp46_ != NULL) {
              _data_->_tmp47_ = _data_->preview;
              _data_->_tmp48_ = _g_object_ref0 (_data_->_tmp47_);
              _g_object_unref0 (_data_->self->priv->_last_preview);
              _data_->self->priv->_last_preview = _data_->_tmp48_;
              _data_->_tmp49_ = unity_activation_response_new (UNITY_HANDLED_TYPE_SHOW_PREVIEW, "");
              g_object_ref_sink (_data_->_tmp49_);
              _g_object_unref0 (_data_->response);
              _data_->response = _data_->_tmp49_;
              _data_->_tmp50_ = _data_->response;
              _data_->_tmp51_ = _data_->preview;
              unity_activation_response_set_preview (_data_->_tmp50_, _data_->_tmp51_);
       }
       _data_->_tmp52_ = _data_->response;
       if (_data_->_tmp52_ == NULL) {
              _data_->_tmp53_ = unity_activation_response_new (UNITY_HANDLED_TYPE_NOT_HANDLED, "");
              g_object_ref_sink (_data_->_tmp53_);
              _g_object_unref0 (_data_->response);
              _data_->response = _data_->_tmp53_;
       }
       _data_->_tmp54_ = _data_->stripped_uri;
       _data_->_tmp55_ = g_strdup (_data_->_tmp54_);
       _data_->_tmp56_ = _data_->_tmp55_;
       _data_->_tmp57_ = _data_->_tmp56_;
       if (_data_->_tmp57_ == NULL) {
              _data_->_tmp58_ = _data_->uri;
              _data_->_tmp59_ = g_strdup (_data_->_tmp58_);
              _g_free0 (_data_->_tmp56_);
              _data_->_tmp56_ = _data_->_tmp59_;
       }
       _data_->_tmp60_ = _data_->_tmp56_;
       _data_->_tmp61_ = g_strdup (_data_->_tmp60_);
       _g_free0 (_data_->reply.uri);
       _data_->reply.uri = _data_->_tmp61_;
       _data_->_tmp62_ = _data_->response;
       _data_->_tmp63_ = unity_activation_response_get_handled (_data_->_tmp62_);
       _data_->_tmp64_ = _data_->_tmp63_;
       _data_->reply.handled = (guint) _data_->_tmp64_;
       _data_->_tmp65_ = _data_->response;
       _data_->_tmp66_ = NULL;
       _data_->_tmp66_ = unity_activation_response_get_hints (_data_->_tmp65_);
       _g_hash_table_unref0 (_data_->reply.hints);
       _data_->reply.hints = _data_->_tmp66_;
       _data_->result = _data_->reply;
       _g_free0 (_data_->_tmp56_);
       _g_free0 (_data_->stripped_uri);
       _g_object_unref0 (_data_->preview);
       _g_object_unref0 (_data_->response);
       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_free0 (_data_->_tmp56_);
       _g_free0 (_data_->stripped_uri);
       _g_object_unref0 (_data_->preview);
       _g_object_unref0 (_data_->response);
       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_impl_real_activate_data_free ( gpointer  _data) [static]

Definition at line 1405 of file unity-scope-private.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_real_activate_finish ( UnityProtocolScopeService *  base,
GAsyncResult *  _res_,
UnityProtocolActivationReplyRaw *  result,
GError **  error 
) [static]

Definition at line 1437 of file unity-scope-private.c.

                                                                                                                                                                  {
       UnityScopeImplActivateData* _data_;
       UnityProtocolActivationReplyRaw _tmp0_ = {0};
       if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
              return;
       }
       _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 void unity_scope_impl_real_global_search ( UnityProtocolScopeService *  base,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 2692 of file unity-scope-private.c.

                                                                                                                                                                                       {
       UnityScopeImpl * self;
       UnityScopeImplGlobalSearchData* _data_;
       UnityScopeImpl* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       self = (UnityScopeImpl*) base;
       _data_ = g_slice_new0 (UnityScopeImplGlobalSearchData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_impl_real_global_search);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_impl_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_impl_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_impl_real_global_search_co ( UnityScopeImplGlobalSearchData *  _data_) [static]

Definition at line 2738 of file unity-scope-private.c.

                                                                                                {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->search_string;
       _data_->_tmp1_ = _data_->hints;
       _data_->_state_ = 1;
       unity_scope_impl_search_internal (_data_->self, _data_->_tmp0_, _data_->_tmp1_, UNITY_SEARCH_TYPE_GLOBAL, unity_scope_impl_global_search_ready, _data_);
       return FALSE;
       _state_1:
       _data_->_tmp2_ = NULL;
       _data_->_tmp2_ = unity_scope_impl_search_internal_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
       _data_->_tmp3_ = _data_->_tmp2_;
       if (_data_->_inner_error_ != NULL) {
              if ((_data_->_inner_error_->domain == G_IO_ERROR) || (_data_->_inner_error_->domain == UNITY_PROTOCOL_SCOPE_ERROR)) {
                     g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
                     g_error_free (_data_->_inner_error_);
                     _g_hash_table_unref0 (_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;
              } else {
                     _g_hash_table_unref0 (_data_->_result_);
                     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;
              }
       }
       _g_hash_table_unref0 (_data_->_result_);
       _data_->_result_ = _data_->_tmp3_;
       _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;
       _g_hash_table_unref0 (_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;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_real_global_search_data_free ( gpointer  _data) [static]

Definition at line 2681 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static GHashTable* unity_scope_impl_real_global_search_finish ( UnityProtocolScopeService *  base,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 2716 of file unity-scope-private.c.

                                                                                                                                     {
       GHashTable* result;
       UnityScopeImplGlobalSearchData* _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_impl_real_info_request ( UnityProtocolScopeService *  base,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1366 of file unity-scope-private.c.

                                                                                                                                       {
       UnityScopeImpl * self;
       UnityScopeImplInfoRequestData* _data_;
       UnityScopeImpl* _tmp0_;
       self = (UnityScopeImpl*) base;
       _data_ = g_slice_new0 (UnityScopeImplInfoRequestData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_impl_real_info_request);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_impl_real_info_request_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       unity_scope_impl_real_info_request_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_impl_real_info_request_co ( UnityScopeImplInfoRequestData *  _data_) [static]

Definition at line 1386 of file unity-scope-private.c.

                                                                                              {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       unity_scope_impl_queue_info_changed (_data_->self);
       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_impl_real_info_request_data_free ( gpointer  _data) [static]

Definition at line 1358 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static void unity_scope_impl_real_info_request_finish ( UnityProtocolScopeService *  base,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 1380 of file unity-scope-private.c.

                                                                                                                             {
       UnityScopeImplInfoRequestData* _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_impl_real_search ( UnityProtocolScopeService *  base,
const gchar *  search_string,
GHashTable *  hints,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 2576 of file unity-scope-private.c.

                                                                                                                                                                                {
       UnityScopeImpl * self;
       UnityScopeImplSearchData* _data_;
       UnityScopeImpl* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       self = (UnityScopeImpl*) base;
       _data_ = g_slice_new0 (UnityScopeImplSearchData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_impl_real_search);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_impl_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_impl_real_search_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_impl_real_search_co ( UnityScopeImplSearchData *  _data_) [static]

Definition at line 2622 of file unity-scope-private.c.

                                                                                   {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->search_string;
       _data_->_tmp1_ = _data_->hints;
       _data_->_state_ = 1;
       unity_scope_impl_search_internal (_data_->self, _data_->_tmp0_, _data_->_tmp1_, UNITY_SEARCH_TYPE_DEFAULT, unity_scope_impl_search_ready, _data_);
       return FALSE;
       _state_1:
       _data_->_tmp2_ = NULL;
       _data_->_tmp2_ = unity_scope_impl_search_internal_finish (_data_->self, _data_->_res_, &_data_->_inner_error_);
       _data_->_tmp3_ = _data_->_tmp2_;
       if (_data_->_inner_error_ != NULL) {
              if ((_data_->_inner_error_->domain == G_IO_ERROR) || (_data_->_inner_error_->domain == UNITY_PROTOCOL_SCOPE_ERROR)) {
                     g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
                     g_error_free (_data_->_inner_error_);
                     _g_hash_table_unref0 (_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;
              } else {
                     _g_hash_table_unref0 (_data_->_result_);
                     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;
              }
       }
       _g_hash_table_unref0 (_data_->_result_);
       _data_->_result_ = _data_->_tmp3_;
       _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;
       _g_hash_table_unref0 (_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;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_real_search_data_free ( gpointer  _data) [static]

Definition at line 2565 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static GHashTable* unity_scope_impl_real_search_finish ( UnityProtocolScopeService *  base,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 2600 of file unity-scope-private.c.

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

Definition at line 3030 of file unity-scope-private.c.

                                                                                                                                                                                   {
       UnityScopeImpl * self;
       UnityScopeImplSetActiveSourcesData* _data_;
       UnityScopeImpl* _tmp0_;
       gchar** _tmp1_;
       gint _tmp1__length1;
       self = (UnityScopeImpl*) base;
       _data_ = g_slice_new0 (UnityScopeImplSetActiveSourcesData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_impl_real_set_active_sources);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_impl_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_impl_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_impl_real_set_active_sources_co ( UnityScopeImplSetActiveSourcesData *  _data_) [static]

Definition at line 3059 of file unity-scope-private.c.

                                                                                                         {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->_owner;
       _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_impl_real_set_active_sources_data_free ( gpointer  _data) [static]

Definition at line 3022 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static void unity_scope_impl_real_set_active_sources_finish ( UnityProtocolScopeService *  base,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 3050 of file unity-scope-private.c.

                                                                                                                                   {
       UnityScopeImplSetActiveSourcesData* _data_;
       if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
              return;
       }
       _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_impl_real_set_view_type ( UnityProtocolScopeService *  base,
guint  view_type_id,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 2955 of file unity-scope-private.c.

                                                                                                                                                            {
       UnityScopeImpl * self;
       UnityScopeImplSetViewTypeData* _data_;
       UnityScopeImpl* _tmp0_;
       guint _tmp1_;
       self = (UnityScopeImpl*) base;
       _data_ = g_slice_new0 (UnityScopeImplSetViewTypeData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_impl_real_set_view_type);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_impl_real_set_view_type_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = view_type_id;
       _data_->view_type_id = _tmp1_;
       unity_scope_impl_real_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_impl_real_set_view_type_co ( UnityScopeImplSetViewTypeData *  _data_) [static]

Definition at line 2981 of file unity-scope-private.c.

                                                                                               {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->view_type_id;
       _data_->view_type = (UnityProtocolViewType) _data_->_tmp0_;
       _data_->_tmp1_ = _data_->view_type;
       unity_scope_impl_set_view_type (_data_->self, _data_->_tmp1_);
       _data_->_tmp3_ = _data_->view_type;
       if (_data_->_tmp3_ == UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW) {
              _data_->_tmp2_ = TRUE;
       } else {
              _data_->_tmp5_ = _data_->view_type;
              if (_data_->_tmp5_ == UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW) {
                     _data_->_tmp6_ = _data_->self->priv->_owner;
                     _data_->_tmp7_ = unity_scope_get_search_in_global (_data_->_tmp6_);
                     _data_->_tmp8_ = _data_->_tmp7_;
                     _data_->_tmp4_ = _data_->_tmp8_;
              } else {
                     _data_->_tmp4_ = FALSE;
              }
              _data_->_tmp9_ = _data_->_tmp4_;
              _data_->_tmp2_ = _data_->_tmp9_;
       }
       _data_->_tmp10_ = _data_->self->priv->_owner;
       _data_->_tmp11_ = _data_->_tmp2_;
       unity_scope_set_active (_data_->_tmp10_, _data_->_tmp11_);
       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_impl_real_set_view_type_data_free ( gpointer  _data) [static]

Definition at line 2947 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static void unity_scope_impl_real_set_view_type_finish ( UnityProtocolScopeService *  base,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 2972 of file unity-scope-private.c.

                                                                                                                              {
       UnityScopeImplSetViewTypeData* _data_;
       if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
              return;
       }
       _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_impl_real_update_preview_property ( UnityProtocolScopeService *  base,
const gchar *  uri,
GHashTable *  values,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 1728 of file unity-scope-private.c.

                                                                                                                                                                                        {
       UnityScopeImpl * self;
       UnityScopeImplUpdatePreviewPropertyData* _data_;
       UnityScopeImpl* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       self = (UnityScopeImpl*) base;
       _data_ = g_slice_new0 (UnityScopeImplUpdatePreviewPropertyData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_impl_real_update_preview_property);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_impl_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_impl_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_impl_real_update_preview_property_co ( UnityScopeImplUpdatePreviewPropertyData *  _data_) [static]

Definition at line 1765 of file unity-scope-private.c.

                                                                                                                   {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_tmp0_ = _data_->self->priv->_last_preview;
       if (_data_->_tmp0_ != NULL) {
              _data_->_tmp1_ = _data_->self->priv->_last_preview;
              _data_->_tmp2_ = _data_->values;
              _data_->_tmp3_ = NULL;
              _data_->_tmp3_ = unity_preview_update_property (_data_->_tmp1_, _data_->_tmp2_);
              _g_hash_table_unref0 (_data_->response);
              _data_->response = _data_->_tmp3_;
       } else {
              g_warning ("unity-scope-private.vala:357: can't update preview property");
              _data_->_tmp4_ = g_str_hash;
              _data_->_tmp5_ = g_str_equal;
              _data_->_tmp6_ = g_hash_table_new_full (_data_->_tmp4_, _data_->_tmp5_, _g_free0_, _g_variant_unref0_);
              _g_hash_table_unref0 (_data_->response);
              _data_->response = _data_->_tmp6_;
       }
       _data_->result = _data_->response;
       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_->response);
       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_impl_real_update_preview_property_data_free ( gpointer  _data) [static]

Definition at line 1712 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static GHashTable* unity_scope_impl_real_update_preview_property_finish ( UnityProtocolScopeService *  base,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 1752 of file unity-scope-private.c.

                                                                                                                                               {
       GHashTable* result;
       UnityScopeImplUpdatePreviewPropertyData* _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:

void unity_scope_impl_schedule_search_changed ( UnityScopeImpl *  self,
UnityLensSearch *  search,
UnitySearchType  search_type,
gboolean  wait_for_view,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
)

Definition at line 1817 of file unity-scope-private.c.

                                                                                                                                                                                                         {
       UnityScopeImplScheduleSearchChangedData* _data_;
       UnityScopeImpl* _tmp0_;
       UnityLensSearch* _tmp1_;
       UnityLensSearch* _tmp2_;
       UnitySearchType _tmp3_;
       gboolean _tmp4_;
       _data_ = g_slice_new0 (UnityScopeImplScheduleSearchChangedData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_impl_schedule_search_changed);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_impl_schedule_search_changed_data_free);
       _tmp0_ = _g_object_ref0 (self);
       _data_->self = _tmp0_;
       _tmp1_ = search;
       _tmp2_ = _g_object_ref0 (_tmp1_);
       _data_->search = _tmp2_;
       _tmp3_ = search_type;
       _data_->search_type = _tmp3_;
       _tmp4_ = wait_for_view;
       _data_->wait_for_view = _tmp4_;
       unity_scope_impl_schedule_search_changed_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_impl_schedule_search_changed_co ( UnityScopeImplScheduleSearchChangedData *  _data_) [static]

Definition at line 1921 of file unity-scope-private.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_->_data8_ = g_slice_new0 (Block8Data);
       _data_->_data8_->_ref_count_ = 1;
       _data_->_data8_->self = g_object_ref (_data_->self);
       _data_->_tmp0_ = _data_->search_type;
       _data_->_data8_->search_type = _data_->_tmp0_;
       _data_->_data8_->_async_data_ = _data_;
       _data_->_tmp1_ = _data_->_data8_->search_type;
       if (_data_->_tmp1_ >= UNITY_SEARCH_TYPE_N_TYPES) {
              block8_data_unref (_data_->_data8_);
              _data_->_data8_ = NULL;
              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;
       }
       _data_->_tmp3_ = _data_->wait_for_view;
       if (_data_->_tmp3_) {
              _data_->_tmp6_ = _data_->_data8_->search_type;
              if (_data_->_tmp6_ == UNITY_SEARCH_TYPE_GLOBAL) {
                     _data_->_tmp7_ = _data_->self->priv->_view_type;
                     _data_->_tmp5_ = _data_->_tmp7_ != UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW;
              } else {
                     _data_->_tmp5_ = FALSE;
              }
              _data_->_tmp8_ = _data_->_tmp5_;
              if (_data_->_tmp8_) {
                     _data_->_tmp4_ = TRUE;
              } else {
                     _data_->_tmp10_ = _data_->_data8_->search_type;
                     if (_data_->_tmp10_ == UNITY_SEARCH_TYPE_DEFAULT) {
                            _data_->_tmp11_ = _data_->self->priv->_view_type;
                            _data_->_tmp9_ = _data_->_tmp11_ != UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW;
                     } else {
                            _data_->_tmp9_ = FALSE;
                     }
                     _data_->_tmp12_ = _data_->_tmp9_;
                     _data_->_tmp4_ = _data_->_tmp12_;
              }
              _data_->_tmp13_ = _data_->_tmp4_;
              _data_->_tmp2_ = _data_->_tmp13_;
       } else {
              _data_->_tmp2_ = FALSE;
       }
       _data_->_tmp14_ = _data_->_tmp2_;
       _data_->waiting_needed = _data_->_tmp14_;
       _data_->_tmp15_ = _data_->self->priv->cancellable_arr;
       _data_->_tmp15__length1 = _data_->self->priv->cancellable_arr_length1;
       _data_->_tmp16_ = _data_->_data8_->search_type;
       _data_->_tmp17_ = _data_->_tmp15_[_data_->_tmp16_];
       if (_data_->_tmp17_ != NULL) {
              _data_->_tmp18_ = _data_->self->priv->cancellable_arr;
              _data_->_tmp18__length1 = _data_->self->priv->cancellable_arr_length1;
              _data_->_tmp19_ = _data_->_data8_->search_type;
              _data_->_tmp20_ = _data_->_tmp18_[_data_->_tmp19_];
              g_cancellable_cancel (_data_->_tmp20_);
       }
       _data_->_tmp21_ = g_cancellable_new ();
       _data_->cancellable = _data_->_tmp21_;
       _data_->_tmp22_ = _data_->self->priv->cancellable_arr;
       _data_->_tmp22__length1 = _data_->self->priv->cancellable_arr_length1;
       _data_->_tmp23_ = _data_->_data8_->search_type;
       _data_->_tmp24_ = _data_->cancellable;
       _data_->_tmp25_ = _g_object_ref0 (_data_->_tmp24_);
       _g_object_unref0 (_data_->_tmp22_[_data_->_tmp23_]);
       _data_->_tmp22_[_data_->_tmp23_] = _data_->_tmp25_;
       _data_->_tmp26_ = _data_->_tmp22_[_data_->_tmp23_];
       _data_->_tmp27_ = _data_->waiting_needed;
       if (_data_->_tmp27_) {
              _data_->_tmp28_ = 0UL;
              _data_->_tmp28_ = g_signal_connect_data ((GObject*) _data_->self, "notify::view-type", (GCallback) ____lambda5__g_object_notify, block8_data_ref (_data_->_data8_), (GClosureNotify) block8_data_unref, 0);
              _data_->view_sig_id = _data_->_tmp28_;
              _data_->_state_ = 1;
              return FALSE;
              _state_1:
              ;
              _data_->_tmp29_ = _data_->view_sig_id;
              g_signal_handler_disconnect (_data_->self, _data_->_tmp29_);
       }
       g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _unity_scope_impl_schedule_search_changed_co_gsource_func, _data_, NULL);
       _data_->_state_ = 2;
       return FALSE;
       _state_2:
       ;
       _data_->_tmp30_ = _data_->cancellable;
       _data_->_tmp31_ = FALSE;
       _data_->_tmp31_ = g_cancellable_is_cancelled (_data_->_tmp30_);
       if (_data_->_tmp31_) {
              _g_object_unref0 (_data_->cancellable);
              block8_data_unref (_data_->_data8_);
              _data_->_data8_ = NULL;
              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;
       }
       _data_->_tmp32_ = _data_->self->priv->_owner;
       _data_->_tmp33_ = _data_->search;
       _data_->_tmp34_ = _data_->_data8_->search_type;
       _data_->_tmp35_ = _data_->cancellable;
       g_signal_emit_by_name (_data_->_tmp32_, "search-changed", _data_->_tmp33_, _data_->_tmp34_, _data_->_tmp35_);
       _g_object_unref0 (_data_->cancellable);
       block8_data_unref (_data_->_data8_);
       _data_->_data8_ = NULL;
       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_impl_schedule_search_changed_data_free ( gpointer  _data) [static]

Definition at line 1808 of file unity-scope-private.c.

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

Here is the caller graph for this function:

void unity_scope_impl_schedule_search_changed_finish ( UnityScopeImpl *  self,
GAsyncResult *  _res_ 
)

Definition at line 1840 of file unity-scope-private.c.

                                                                                                 {
       UnityScopeImplScheduleSearchChangedData* _data_;
       _data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
}
static void unity_scope_impl_search_internal ( UnityScopeImpl *  self,
const gchar *  search_string,
GHashTable *  hints,
UnitySearchType  search_type,
GAsyncReadyCallback  _callback_,
gpointer  _user_data_ 
) [static]

Definition at line 2156 of file unity-scope-private.c.

                                                                                                                                                                                                      {
       UnityScopeImplSearchInternalData* _data_;
       UnityScopeImpl* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_;
       GHashTable* _tmp3_;
       GHashTable* _tmp4_;
       UnitySearchType _tmp5_;
       _data_ = g_slice_new0 (UnityScopeImplSearchInternalData);
       _data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, unity_scope_impl_search_internal);
       g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, unity_scope_impl_search_internal_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_;
       _tmp5_ = search_type;
       _data_->search_type = _tmp5_;
       unity_scope_impl_search_internal_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gboolean unity_scope_impl_search_internal_co ( UnityScopeImplSearchInternalData *  _data_) [static]

Definition at line 2325 of file unity-scope-private.c.

                                                                                               {
       switch (_data_->_state_) {
              case 0:
              goto _state_0;
              case 1:
              goto _state_1;
              default:
              g_assert_not_reached ();
       }
       _state_0:
       _data_->_data9_ = g_slice_new0 (Block9Data);
       _data_->_data9_->_ref_count_ = 1;
       _data_->_data9_->self = g_object_ref (_data_->self);
       _data_->_data9_->_async_data_ = _data_;
       _data_->_tmp0_ = g_str_hash;
       _data_->_tmp1_ = g_str_equal;
       _data_->_tmp2_ = g_hash_table_new_full (_data_->_tmp0_, _data_->_tmp1_, _g_free0_, _g_variant_unref0_);
       _data_->_data9_->_result_ = _data_->_tmp2_;
       _data_->_tmp3_ = _data_->search_type;
       _data_->is_global_search = _data_->_tmp3_ == UNITY_SEARCH_TYPE_GLOBAL;
       _data_->_tmp5_ = _data_->is_global_search;
       if (_data_->_tmp5_) {
              _data_->_tmp6_ = _data_->self->_global_results_model;
              _data_->_tmp4_ = _data_->_tmp6_;
       } else {
              _data_->_tmp7_ = _data_->self->_results_model;
              _data_->_tmp4_ = _data_->_tmp7_;
       }
       _data_->_tmp8_ = _data_->search_string;
       _data_->_tmp9_ = _data_->hints;
       _data_->_tmp10_ = _data_->_tmp4_;
       _data_->_tmp11_ = unity_lens_search_new (_data_->_tmp8_, _data_->_tmp9_, _data_->_tmp10_);
       g_object_ref_sink (_data_->_tmp11_);
       _data_->_data9_->s = _data_->_tmp11_;
       _data_->_tmp12_ = _data_->_data9_->s;
       _data_->_tmp13_ = 0UL;
       _data_->_tmp13_ = g_signal_connect_data (_data_->_tmp12_, "finished", (GCallback) ___lambda6__unity_lens_search_finished, block9_data_ref (_data_->_data9_), (GClosureNotify) block9_data_unref, 0);
       _data_->_data9_->sig_id = _data_->_tmp13_;
       _data_->last_search = NULL;
       _data_->ls_sig_id = (gulong) 0;
       _data_->_tmp14_ = _data_->_data9_->s;
       _data_->_tmp15_ = _data_->search_type;
       _data_->_tmp16_ = NULL;
       _data_->_tmp16_ = unity_scope_impl_get_search_key (_data_->self, _data_->_tmp14_, _data_->_tmp15_);
       _data_->search_key = _data_->_tmp16_;
       _data_->_tmp19_ = _data_->search_key;
       if (_data_->_tmp19_ != NULL) {
              _data_->_tmp20_ = _data_->search_key;
              _data_->_tmp21_ = _data_->self->priv->search_keys;
              _data_->_tmp21__length1 = _data_->self->priv->search_keys_length1;
              _data_->_tmp22_ = _data_->search_type;
              _data_->_tmp23_ = _data_->_tmp21_[_data_->_tmp22_];
              _data_->_tmp18_ = g_strcmp0 (_data_->_tmp20_, _data_->_tmp23_) != 0;
       } else {
              _data_->_tmp18_ = FALSE;
       }
       _data_->_tmp24_ = _data_->_tmp18_;
       if (_data_->_tmp24_) {
              _data_->_tmp17_ = TRUE;
       } else {
              _data_->_tmp26_ = _data_->search_key;
              if (_data_->_tmp26_ == NULL) {
                     _data_->_tmp27_ = _data_->_data9_->s;
                     _data_->_tmp28_ = _data_->self->priv->_owner;
                     _data_->_tmp29_ = _data_->search_type;
                     _data_->_tmp30_ = NULL;
                     _data_->_tmp30_ = unity_scope_get_last_search (_data_->_tmp28_, _data_->_tmp29_);
                     _data_->_tmp31_ = FALSE;
                     _data_->_tmp31_ = unity_lens_search_equals (_data_->_tmp27_, _data_->_tmp30_);
                     _data_->_tmp25_ = !_data_->_tmp31_;
              } else {
                     _data_->_tmp25_ = FALSE;
              }
              _data_->_tmp32_ = _data_->_tmp25_;
              _data_->_tmp17_ = _data_->_tmp32_;
       }
       _data_->_tmp33_ = _data_->_tmp17_;
       if (_data_->_tmp33_) {
              _data_->_tmp34_ = _data_->_data9_->s;
              _data_->_tmp35_ = _data_->search_type;
              unity_scope_impl_schedule_search_changed (_data_->self, _data_->_tmp34_, _data_->_tmp35_, FALSE, NULL, NULL);
              _data_->_tmp36_ = _data_->self->priv->search_keys;
              _data_->_tmp36__length1 = _data_->self->priv->search_keys_length1;
              _data_->_tmp37_ = _data_->search_type;
              _data_->_tmp38_ = _data_->search_key;
              _data_->_tmp39_ = g_strdup (_data_->_tmp38_);
              _g_free0 (_data_->_tmp36_[_data_->_tmp37_]);
              _data_->_tmp36_[_data_->_tmp37_] = _data_->_tmp39_;
              _data_->_tmp40_ = _data_->_tmp36_[_data_->_tmp37_];
              _data_->_tmp41_ = _data_->self->priv->_owner;
              _data_->_tmp42_ = _data_->_data9_->s;
              _data_->_tmp43_ = _data_->search_type;
              unity_scope_set_last_search (_data_->_tmp41_, _data_->_tmp42_, _data_->_tmp43_);
       } else {
              _data_->_tmp44_ = _data_->self->priv->_owner;
              _data_->_tmp45_ = _data_->search_type;
              _data_->_tmp46_ = NULL;
              _data_->_tmp46_ = unity_scope_get_last_search (_data_->_tmp44_, _data_->_tmp45_);
              _data_->_tmp47_ = _g_object_ref0 (_data_->_tmp46_);
              _g_object_unref0 (_data_->last_search);
              _data_->last_search = _data_->_tmp47_;
              _data_->_tmp49_ = _data_->last_search;
              if (_data_->_tmp49_ != NULL) {
                     _data_->_tmp50_ = _data_->last_search;
                     _data_->_tmp51_ = FALSE;
                     _data_->_tmp51_ = unity_lens_search_was_finished (_data_->_tmp50_);
                     _data_->_tmp48_ = !_data_->_tmp51_;
              } else {
                     _data_->_tmp48_ = FALSE;
              }
              _data_->_tmp52_ = _data_->_tmp48_;
              if (_data_->_tmp52_) {
                     _data_->_tmp53_ = _data_->last_search;
                     _data_->_tmp54_ = 0UL;
                     _data_->_tmp54_ = g_signal_connect_data (_data_->_tmp53_, "finished", (GCallback) _____lambda7__unity_lens_search_finished, block9_data_ref (_data_->_data9_), (GClosureNotify) block9_data_unref, 0);
                     _data_->ls_sig_id = _data_->_tmp54_;
                     _data_->_tmp56_ = _data_->is_global_search;
                     if (_data_->_tmp56_) {
                            _data_->_tmp55_ = UNITY_PROTOCOL_VIEW_TYPE_HOME_VIEW;
                     } else {
                            _data_->_tmp55_ = UNITY_PROTOCOL_VIEW_TYPE_LENS_VIEW;
                     }
                     _data_->_tmp57_ = _data_->_tmp55_;
                     _data_->current_view = _data_->_tmp57_;
                     _data_->_tmp58_ = _data_->self->priv->_view_type;
                     _data_->_tmp59_ = _data_->current_view;
                     if (_data_->_tmp58_ != _data_->_tmp59_) {
                            _data_->_tmp60_ = _data_->self->priv->_view_type;
                            _data_->old_view = _data_->_tmp60_;
                            _data_->_tmp61_ = _data_->current_view;
                            unity_protocol_scope_service_set_view_type ((UnityProtocolScopeService*) _data_->self, (guint) _data_->_tmp61_, NULL, NULL);
                            _data_->_tmp62_ = _data_->old_view;
                            unity_protocol_scope_service_set_view_type ((UnityProtocolScopeService*) _data_->self, (guint) _data_->_tmp62_, NULL, NULL);
                     }
              } else {
                     _data_->_tmp63_ = _data_->_data9_->_result_;
                     _data_->_tmp64_ = _g_hash_table_ref0 (_data_->_tmp63_);
                     _data_->result = _data_->_tmp64_;
                     _g_free0 (_data_->search_key);
                     _g_object_unref0 (_data_->last_search);
                     block9_data_unref (_data_->_data9_);
                     _data_->_data9_ = NULL;
                     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;
              }
       }
       _data_->_tmp65_ = _data_->self->priv->cancellable_arr;
       _data_->_tmp65__length1 = _data_->self->priv->cancellable_arr_length1;
       _data_->_tmp66_ = _data_->search_type;
       _data_->_tmp67_ = _data_->_tmp65_[_data_->_tmp66_];
       _data_->_tmp68_ = _g_object_ref0 (_data_->_tmp67_);
       _data_->cancellable = _data_->_tmp68_;
       _data_->_tmp69_ = _data_->cancellable;
       _data_->_tmp70_ = 0UL;
       _data_->_tmp70_ = g_cancellable_connect (_data_->_tmp69_, (GCallback) ___lambda8__gfunc, block9_data_ref (_data_->_data9_), block9_data_unref);
       _data_->canc_id = _data_->_tmp70_;
       _data_->_state_ = 1;
       return FALSE;
       _state_1:
       ;
       _data_->_tmp71_ = _data_->ls_sig_id;
       if (_data_->_tmp71_ != ((gulong) 0)) {
              _data_->_tmp72_ = _data_->last_search;
              _data_->_tmp73_ = _data_->ls_sig_id;
              g_signal_handler_disconnect (_data_->_tmp72_, _data_->_tmp73_);
       }
       _data_->_tmp74_ = _data_->_data9_->s;
       _data_->_tmp75_ = _data_->_data9_->sig_id;
       g_signal_handler_disconnect (_data_->_tmp74_, _data_->_tmp75_);
       _data_->_tmp76_ = _data_->cancellable;
       _data_->_tmp77_ = _data_->canc_id;
       g_cancellable_disconnect (_data_->_tmp76_, _data_->_tmp77_);
       _data_->_tmp78_ = _data_->cancellable;
       _data_->_tmp79_ = FALSE;
       _data_->_tmp79_ = g_cancellable_is_cancelled (_data_->_tmp78_);
       if (_data_->_tmp79_) {
              _data_->_tmp80_ = _data_->search_string;
              _data_->_tmp81_ = g_error_new (UNITY_PROTOCOL_SCOPE_ERROR, UNITY_PROTOCOL_SCOPE_ERROR_SEARCH_CANCELLED, "Search '%s' was cancelled", _data_->_tmp80_);
              _data_->_inner_error_ = _data_->_tmp81_;
              if (_data_->_inner_error_->domain == UNITY_PROTOCOL_SCOPE_ERROR) {
                     g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
                     g_error_free (_data_->_inner_error_);
                     _g_object_unref0 (_data_->cancellable);
                     _g_free0 (_data_->search_key);
                     _g_object_unref0 (_data_->last_search);
                     block9_data_unref (_data_->_data9_);
                     _data_->_data9_ = NULL;
                     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_object_unref0 (_data_->cancellable);
                     _g_free0 (_data_->search_key);
                     _g_object_unref0 (_data_->last_search);
                     block9_data_unref (_data_->_data9_);
                     _data_->_data9_ = 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_->_tmp82_ = _data_->_data9_->_result_;
       _data_->_tmp83_ = _g_hash_table_ref0 (_data_->_tmp82_);
       _data_->result = _data_->_tmp83_;
       _g_object_unref0 (_data_->cancellable);
       _g_free0 (_data_->search_key);
       _g_object_unref0 (_data_->last_search);
       block9_data_unref (_data_->_data9_);
       _data_->_data9_ = NULL;
       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_object_unref0 (_data_->cancellable);
       _g_free0 (_data_->search_key);
       _g_object_unref0 (_data_->last_search);
       block9_data_unref (_data_->_data9_);
       _data_->_data9_ = NULL;
       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_impl_search_internal_data_free ( gpointer  _data) [static]

Definition at line 2145 of file unity-scope-private.c.

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

Here is the caller graph for this function:

static GHashTable* unity_scope_impl_search_internal_finish ( UnityScopeImpl *  self,
GAsyncResult *  _res_,
GError **  error 
) [static]

Definition at line 2181 of file unity-scope-private.c.

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

Definition at line 2613 of file unity-scope-private.c.

                                                                                                              {
       UnityScopeImplSearchData* _data_;
       _data_ = _user_data_;
       _data_->_source_object_ = source_object;
       _data_->_res_ = _res_;
       unity_scope_impl_real_search_co (_data_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_scope_impl_set_owner ( UnityScopeImpl *  self,
UnityScope *  value 
) [static]

Definition at line 3091 of file unity-scope-private.c.

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

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_scope_impl_set_view_type ( UnityScopeImpl *  self,
UnityProtocolViewType  value 
)

Definition at line 3113 of file unity-scope-private.c.

                                                                                        {
       UnityProtocolViewType _tmp0_;
       g_return_if_fail (self != NULL);
       _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_impl_unity_protocol_scope_service_interface_init ( UnityProtocolScopeServiceIface *  iface) [static]

Definition at line 3182 of file unity-scope-private.c.

                                                                                                                  {
       unity_scope_impl_unity_protocol_scope_service_parent_iface = g_type_interface_peek_parent (iface);
       iface->info_request = (void (*)(UnityProtocolScopeService*, GError**)) unity_scope_impl_real_info_request;
       iface->info_request_finish = unity_scope_impl_real_info_request_finish;
       iface->activate = (void (*)(UnityProtocolScopeService*, const gchar*, guint, UnityProtocolActivationReplyRaw*, GError**)) unity_scope_impl_real_activate;
       iface->activate_finish = unity_scope_impl_real_activate_finish;
       iface->update_preview_property = (GHashTable* (*)(UnityProtocolScopeService*, const gchar*, GHashTable*, GError**)) unity_scope_impl_real_update_preview_property;
       iface->update_preview_property_finish = unity_scope_impl_real_update_preview_property_finish;
       iface->search = (GHashTable* (*)(UnityProtocolScopeService*, const gchar*, GHashTable*, GError**)) unity_scope_impl_real_search;
       iface->search_finish = unity_scope_impl_real_search_finish;
       iface->global_search = (GHashTable* (*)(UnityProtocolScopeService*, const gchar*, GHashTable*, GError**)) unity_scope_impl_real_global_search;
       iface->global_search_finish = unity_scope_impl_real_global_search_finish;
       iface->set_view_type = (void (*)(UnityProtocolScopeService*, guint, GError**)) unity_scope_impl_real_set_view_type;
       iface->set_view_type_finish = unity_scope_impl_real_set_view_type_finish;
       iface->set_active_sources = (void (*)(UnityProtocolScopeService*, gchar**, int, GError**)) unity_scope_impl_real_set_active_sources;
       iface->set_active_sources_finish = unity_scope_impl_real_set_active_sources_finish;
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_scope_impl_update_search_key ( UnityScopeImpl *  self,
UnityLensSearch *  ls,
UnitySearchType  search_type 
)

Definition at line 2052 of file unity-scope-private.c.

                                                                                                                 {
       UnitySearchType _tmp0_;
       UnityLensSearch* _tmp1_;
       UnitySearchType _tmp2_;
       gchar* _tmp3_ = NULL;
       gchar* search_key;
       gchar** _tmp4_;
       gint _tmp4__length1;
       UnitySearchType _tmp5_;
       gchar* _tmp6_;
       gchar* _tmp7_;
       UnityScope* _tmp8_;
       UnityLensSearch* _tmp9_;
       UnitySearchType _tmp10_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (ls != NULL);
       _tmp0_ = search_type;
       g_return_if_fail (_tmp0_ < UNITY_SEARCH_TYPE_N_TYPES);
       _tmp1_ = ls;
       _tmp2_ = search_type;
       _tmp3_ = unity_scope_impl_get_search_key (self, _tmp1_, _tmp2_);
       search_key = _tmp3_;
       _tmp4_ = self->priv->search_keys;
       _tmp4__length1 = self->priv->search_keys_length1;
       _tmp5_ = search_type;
       _tmp6_ = g_strdup (search_key);
       _g_free0 (_tmp4_[_tmp5_]);
       _tmp4_[_tmp5_] = _tmp6_;
       _tmp7_ = _tmp4_[_tmp5_];
       _tmp8_ = self->priv->_owner;
       _tmp9_ = ls;
       _tmp10_ = search_type;
       unity_scope_set_last_search (_tmp8_, _tmp9_, _tmp10_);
       _g_free0 (search_key);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

gpointer unity_scope_impl_parent_class = NULL [static]

Definition at line 470 of file unity-scope-private.c.

UnityProtocolScopeServiceIface* unity_scope_impl_unity_protocol_scope_service_parent_iface = NULL [static]

Definition at line 471 of file unity-scope-private.c.