Back to index

libunity  5.92.0
Classes | Defines | Typedefs | Enumerations | Functions | Variables
unity-lens-tools.c File Reference
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <dee.h>
#include <gee.h>
#include "unity.h"
#include <gobject/gvaluecollector.h>

Go to the source code of this file.

Classes

struct  _UnityTools
struct  _UnityToolsClass
struct  _UnityParamSpecTools
struct  _UnityFiltersSynchronizer
struct  _UnityFiltersSynchronizerClass
struct  _UnityFiltersSynchronizerPrivate
struct  _UnityResultsSynchronizer
struct  _UnityResultsSynchronizerClass
struct  _UnityResultsSynchronizerPrivate

Defines

#define UNITY_TYPE_TOOLS   (unity_tools_get_type ())
#define UNITY_TOOLS(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_TOOLS, UnityTools))
#define UNITY_TOOLS_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_TOOLS, UnityToolsClass))
#define UNITY_IS_TOOLS(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_TOOLS))
#define UNITY_IS_TOOLS_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_TOOLS))
#define UNITY_TOOLS_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_TOOLS, UnityToolsClass))
#define _g_variant_type_free0(var)   ((var == NULL) ? NULL : (var = (g_variant_type_free (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 _g_variant_builder_unref0(var)   ((var == NULL) ? NULL : (var = (g_variant_builder_unref (var), NULL)))
#define UNITY_TYPE_FILTERS_SYNCHRONIZER   (unity_filters_synchronizer_get_type ())
#define UNITY_FILTERS_SYNCHRONIZER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizer))
#define UNITY_FILTERS_SYNCHRONIZER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizerClass))
#define UNITY_IS_FILTERS_SYNCHRONIZER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_FILTERS_SYNCHRONIZER))
#define UNITY_IS_FILTERS_SYNCHRONIZER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_FILTERS_SYNCHRONIZER))
#define UNITY_FILTERS_SYNCHRONIZER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizerClass))
#define _g_object_unref0(var)   ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define UNITY_TYPE_FILTER_COLUMN   (unity_filter_column_get_type ())
#define UNITY_TYPE_RESULTS_SYNCHRONIZER   (unity_results_synchronizer_get_type ())
#define UNITY_RESULTS_SYNCHRONIZER(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizer))
#define UNITY_RESULTS_SYNCHRONIZER_CLASS(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizerClass))
#define UNITY_IS_RESULTS_SYNCHRONIZER(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_RESULTS_SYNCHRONIZER))
#define UNITY_IS_RESULTS_SYNCHRONIZER_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_RESULTS_SYNCHRONIZER))
#define UNITY_RESULTS_SYNCHRONIZER_GET_CLASS(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizerClass))
#define UNITY_FILTERS_SYNCHRONIZER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizerPrivate))
#define UNITY_RESULTS_SYNCHRONIZER_GET_PRIVATE(o)   (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizerPrivate))

Typedefs

typedef struct _UnityTools
typedef struct _UnityToolsClass
typedef struct _UnityToolsPrivate
typedef struct _UnityParamSpecTools
typedef struct _UnityFiltersSynchronizer
typedef struct _UnityFiltersSynchronizerClass
typedef struct _UnityFiltersSynchronizerPrivate
typedef struct _UnityResultsSynchronizer
typedef struct _UnityResultsSynchronizerClass
typedef struct _UnityResultsSynchronizerPrivate

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

gpointer unity_tools_ref (gpointer instance)
void unity_tools_unref (gpointer instance)
GParamSpec * unity_param_spec_tools (const gchar *name, const gchar *nick, const gchar *blurb, GType object_type, GParamFlags flags)
void unity_value_set_tools (GValue *value, gpointer v_object)
void unity_value_take_tools (GValue *value, gpointer v_object)
gpointer unity_value_get_tools (const GValue *value)
GType unity_tools_get_type (void)
GVariant * unity_tools_hash_table_to_asv (GHashTable *hash)
UnityTools * unity_tools_new (void)
UnityTools * unity_tools_construct (GType object_type)
static void unity_tools_finalize (UnityTools *obj)
GType unity_filters_synchronizer_get_type (void)
UnityFiltersSynchronizer * unity_filters_synchronizer_new (DeeModel *provider)
UnityFiltersSynchronizer * unity_filters_synchronizer_construct (GType object_type, DeeModel *provider)
void unity_filters_synchronizer_add_receiver (UnityFiltersSynchronizer *self, DeeModel *receiver)
DeeModel * unity_filters_synchronizer_get_provider (UnityFiltersSynchronizer *self)
static void unity_filters_synchronizer_add_row (UnityFiltersSynchronizer *self, DeeModelIter *iter, DeeModel *receiver)
void unity_filters_synchronizer_remove_receiver (UnityFiltersSynchronizer *self, DeeModel *receiver)
static void unity_filters_synchronizer_on_row_added (UnityFiltersSynchronizer *self, DeeModel *model, DeeModelIter *iter)
static void unity_filters_synchronizer_on_row_changed (UnityFiltersSynchronizer *self, DeeModel *model, DeeModelIter *iter)
GType unity_filter_column_get_type (void)
UnityResultsSynchronizer * unity_results_synchronizer_new (DeeModel *receiver)
UnityResultsSynchronizer * unity_results_synchronizer_construct (GType object_type, DeeModel *receiver)
static DeeModelIter * unity_results_synchronizer_real_merge_result (UnityMergeStrategy *base, DeeModel *target, GVariant **row, int row_length1)
void unity_results_synchronizer_add_provider (UnityResultsSynchronizer *self, DeeModel *provider, const gchar *uid)
static void unity_results_synchronizer_on_row_added (UnityResultsSynchronizer *self, DeeModel *provider, DeeModelIter *iter)
static void _unity_results_synchronizer_on_row_added_dee_model_row_added (DeeModel *_sender, DeeModelIter *iter, gpointer self)
static void unity_results_synchronizer_on_row_removed (UnityResultsSynchronizer *self, DeeModel *provider, DeeModelIter *iter)
static void _unity_results_synchronizer_on_row_removed_dee_model_row_removed (DeeModel *_sender, DeeModelIter *iter, gpointer self)
static void unity_results_synchronizer_on_row_changed (UnityResultsSynchronizer *self, DeeModel *provider, DeeModelIter *iter)
static void _unity_results_synchronizer_on_row_changed_dee_model_row_changed (DeeModel *_sender, DeeModelIter *iter, gpointer self)
static gchar * unity_results_synchronizer_externalize_uri (UnityResultsSynchronizer *self, DeeModel *provider, DeeModelIter *iter)
static void unity_results_synchronizer_prepare_row_buf (UnityResultsSynchronizer *self, DeeModel *provider, DeeModelIter *iter)
UnityMergeStrategy * unity_results_synchronizer_get_merge_strategy (UnityResultsSynchronizer *self)
DeeModel * unity_results_synchronizer_get_receiver (UnityResultsSynchronizer *self)
static void unity_results_synchronizer_set_receiver (UnityResultsSynchronizer *self, DeeModel *value)
void unity_results_synchronizer_set_merge_strategy (UnityResultsSynchronizer *self, UnityMergeStrategy *value)
static GObject * unity_results_synchronizer_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void unity_results_synchronizer_finalize (GObject *obj)
static void _vala_unity_results_synchronizer_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_results_synchronizer_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 gpointer _g_variant_ref0 (gpointer self)
static void unity_value_tools_init (GValue *value)
static void unity_value_tools_free_value (GValue *value)
static void unity_value_tools_copy_value (const GValue *src_value, GValue *dest_value)
static gpointer unity_value_tools_peek_pointer (const GValue *value)
static gchar * unity_value_tools_collect_value (GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static gchar * unity_value_tools_lcopy_value (const GValue *value, guint n_collect_values, GTypeCValue *collect_values, guint collect_flags)
static void unity_tools_class_init (UnityToolsClass *klass)
static void unity_tools_instance_init (UnityTools *self)
static gpointer _g_object_ref0 (gpointer self)
static void unity_filters_synchronizer_on_row_removed (UnityFiltersSynchronizer *self, DeeModel *model, DeeModelIter *iter)
static void unity_filters_synchronizer_set_provider (UnityFiltersSynchronizer *self, DeeModel *value)
static void _unity_filters_synchronizer_on_row_added_dee_model_row_added (DeeModel *_sender, DeeModelIter *iter, gpointer self)
static void _unity_filters_synchronizer_on_row_changed_dee_model_row_changed (DeeModel *_sender, DeeModelIter *iter, gpointer self)
static void _unity_filters_synchronizer_on_row_removed_dee_model_row_removed (DeeModel *_sender, DeeModelIter *iter, gpointer self)
static GObject * unity_filters_synchronizer_constructor (GType type, guint n_construct_properties, GObjectConstructParam *construct_properties)
static void unity_filters_synchronizer_class_init (UnityFiltersSynchronizerClass *klass)
static void unity_filters_synchronizer_instance_init (UnityFiltersSynchronizer *self)
static void unity_filters_synchronizer_finalize (GObject *obj)
static void _vala_unity_filters_synchronizer_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec)
static void _vala_unity_filters_synchronizer_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec)
static const gchar * string_to_string (const gchar *self)
static void unity_results_synchronizer_class_init (UnityResultsSynchronizerClass *klass)
static void unity_results_synchronizer_unity_merge_strategy_interface_init (UnityMergeStrategyIface *iface)
static void unity_results_synchronizer_instance_init (UnityResultsSynchronizer *self)
GType unity_results_synchronizer_get_type (void)

Variables

static gpointer unity_tools_parent_class = NULL
static gpointer unity_filters_synchronizer_parent_class = NULL
static gpointer unity_results_synchronizer_parent_class = NULL
static UnityMergeStrategyIface * unity_results_synchronizer_unity_merge_strategy_parent_iface = NULL

Class Documentation

struct _UnityTools

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

Class Members
GTypeInstance parent_instance
UnityToolsPrivate * priv
volatile int ref_count
struct _UnityParamSpecTools

Definition at line 86 of file unity-lens-tools.c.

Class Members
GParamSpec parent_instance
struct _UnityFiltersSynchronizer

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

Collaboration diagram for _UnityFiltersSynchronizer:
Class Members
GObject parent_instance
UnityFiltersSynchronizerPrivate * priv
struct _UnityFiltersSynchronizerClass

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

Class Members
GObjectClass parent_class
struct _UnityFiltersSynchronizerPrivate

Definition at line 99 of file unity-lens-tools.c.

Class Members
DeeModel * _provider
GeeArrayList * _receivers
struct _UnityResultsSynchronizer

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

Collaboration diagram for _UnityResultsSynchronizer:
Class Members
GObject parent_instance
UnityResultsSynchronizerPrivate * priv
struct _UnityResultsSynchronizerClass

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

Class Members
GObjectClass parent_class
struct _UnityResultsSynchronizerPrivate

Definition at line 124 of file unity-lens-tools.c.

Class Members
UnityMergeStrategy * _merge_strategy
GeeHashMap * _provider_tags
GeeArrayList * _providers
DeeModel * _receiver
gint _row_buf_size_
GVariant ** row_buf
gint row_buf_length1

Define Documentation

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

Definition at line 45 of file unity-lens-tools.c.

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

Definition at line 60 of file unity-lens-tools.c.

#define _g_variant_builder_unref0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_builder_unref (var), NULL)))

Definition at line 47 of file unity-lens-tools.c.

#define _g_variant_type_free0 (   var)    ((var == NULL) ? NULL : (var = (g_variant_type_free (var), NULL)))

Definition at line 44 of file unity-lens-tools.c.

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

Definition at line 46 of file unity-lens-tools.c.

#define UNITY_FILTERS_SYNCHRONIZER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizer))

Definition at line 51 of file unity-lens-tools.c.

#define UNITY_FILTERS_SYNCHRONIZER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizerClass))

Definition at line 52 of file unity-lens-tools.c.

#define UNITY_FILTERS_SYNCHRONIZER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizerClass))

Definition at line 55 of file unity-lens-tools.c.

#define UNITY_FILTERS_SYNCHRONIZER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizerPrivate))
#define UNITY_IS_FILTERS_SYNCHRONIZER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_FILTERS_SYNCHRONIZER))

Definition at line 53 of file unity-lens-tools.c.

#define UNITY_IS_FILTERS_SYNCHRONIZER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_FILTERS_SYNCHRONIZER))

Definition at line 54 of file unity-lens-tools.c.

#define UNITY_IS_RESULTS_SYNCHRONIZER (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_RESULTS_SYNCHRONIZER))

Definition at line 67 of file unity-lens-tools.c.

#define UNITY_IS_RESULTS_SYNCHRONIZER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_RESULTS_SYNCHRONIZER))

Definition at line 68 of file unity-lens-tools.c.

#define UNITY_IS_TOOLS (   obj)    (G_TYPE_CHECK_INSTANCE_TYPE ((obj), UNITY_TYPE_TOOLS))

Definition at line 37 of file unity-lens-tools.c.

#define UNITY_IS_TOOLS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_TYPE ((klass), UNITY_TYPE_TOOLS))

Definition at line 38 of file unity-lens-tools.c.

#define UNITY_RESULTS_SYNCHRONIZER (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizer))

Definition at line 65 of file unity-lens-tools.c.

#define UNITY_RESULTS_SYNCHRONIZER_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizerClass))

Definition at line 66 of file unity-lens-tools.c.

#define UNITY_RESULTS_SYNCHRONIZER_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizerClass))

Definition at line 69 of file unity-lens-tools.c.

#define UNITY_RESULTS_SYNCHRONIZER_GET_PRIVATE (   o)    (G_TYPE_INSTANCE_GET_PRIVATE ((o), UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizerPrivate))
#define UNITY_TOOLS (   obj)    (G_TYPE_CHECK_INSTANCE_CAST ((obj), UNITY_TYPE_TOOLS, UnityTools))

Definition at line 35 of file unity-lens-tools.c.

#define UNITY_TOOLS_CLASS (   klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), UNITY_TYPE_TOOLS, UnityToolsClass))

Definition at line 36 of file unity-lens-tools.c.

#define UNITY_TOOLS_GET_CLASS (   obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), UNITY_TYPE_TOOLS, UnityToolsClass))

Definition at line 39 of file unity-lens-tools.c.

Definition at line 62 of file unity-lens-tools.c.

Definition at line 50 of file unity-lens-tools.c.

Definition at line 64 of file unity-lens-tools.c.

Definition at line 34 of file unity-lens-tools.c.


Typedef Documentation

typedef struct _UnityFiltersSynchronizer

Definition at line 57 of file unity-lens-tools.c.

Definition at line 58 of file unity-lens-tools.c.

Definition at line 59 of file unity-lens-tools.c.

typedef struct _UnityParamSpecTools

Definition at line 48 of file unity-lens-tools.c.

typedef struct _UnityResultsSynchronizer

Definition at line 71 of file unity-lens-tools.c.

Definition at line 72 of file unity-lens-tools.c.

Definition at line 73 of file unity-lens-tools.c.

typedef struct _UnityTools

Definition at line 41 of file unity-lens-tools.c.

typedef struct _UnityToolsClass

Definition at line 42 of file unity-lens-tools.c.

typedef struct _UnityToolsPrivate

Definition at line 43 of file unity-lens-tools.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 104 of file unity-lens-tools.c.


Function Documentation

static gpointer _g_object_ref0 ( gpointer  self) [static]

Definition at line 547 of file unity-lens-tools.c.

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

Here is the caller graph for this function:

static gpointer _g_variant_ref0 ( gpointer  self) [static]

Definition at line 209 of file unity-lens-tools.c.

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

Here is the caller graph for this function:

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

Definition at line 856 of file unity-lens-tools.c.

                                                                                                                                {
       unity_filters_synchronizer_on_row_added (self, _sender, iter);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 861 of file unity-lens-tools.c.

                                                                                                                                    {
       unity_filters_synchronizer_on_row_changed (self, _sender, iter);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 866 of file unity-lens-tools.c.

                                                                                                                                    {
       unity_filters_synchronizer_on_row_removed (self, _sender, iter);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 992 of file unity-lens-tools.c.

                                                                                                                                {
       unity_results_synchronizer_on_row_added (self, _sender, iter);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1002 of file unity-lens-tools.c.

                                                                                                                                    {
       unity_results_synchronizer_on_row_changed (self, _sender, iter);
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 997 of file unity-lens-tools.c.

                                                                                                                                    {
       unity_results_synchronizer_on_row_removed (self, _sender, iter);
}

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 1492 of file unity-lens-tools.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 1504 of file unity-lens-tools.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 void _vala_unity_filters_synchronizer_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 931 of file unity-lens-tools.c.

                                                                                                                                    {
       UnityFiltersSynchronizer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizer);
       switch (property_id) {
              case UNITY_FILTERS_SYNCHRONIZER_PROVIDER:
              g_value_set_object (value, unity_filters_synchronizer_get_provider (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_filters_synchronizer_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 945 of file unity-lens-tools.c.

                                                                                                                                          {
       UnityFiltersSynchronizer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizer);
       switch (property_id) {
              case UNITY_FILTERS_SYNCHRONIZER_PROVIDER:
              unity_filters_synchronizer_set_provider (self, g_value_get_object (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 void _vala_unity_results_synchronizer_get_property ( GObject *  object,
guint  property_id,
GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1458 of file unity-lens-tools.c.

                                                                                                                                    {
       UnityResultsSynchronizer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizer);
       switch (property_id) {
              case UNITY_RESULTS_SYNCHRONIZER_RECEIVER:
              g_value_set_object (value, unity_results_synchronizer_get_receiver (self));
              break;
              case UNITY_RESULTS_SYNCHRONIZER_MERGE_STRATEGY:
              g_value_set_object (value, unity_results_synchronizer_get_merge_strategy (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_results_synchronizer_set_property ( GObject *  object,
guint  property_id,
const GValue *  value,
GParamSpec *  pspec 
) [static]

Definition at line 1475 of file unity-lens-tools.c.

                                                                                                                                          {
       UnityResultsSynchronizer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (object, UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizer);
       switch (property_id) {
              case UNITY_RESULTS_SYNCHRONIZER_RECEIVER:
              unity_results_synchronizer_set_receiver (self, g_value_get_object (value));
              break;
              case UNITY_RESULTS_SYNCHRONIZER_MERGE_STRATEGY:
              unity_results_synchronizer_set_merge_strategy (self, g_value_get_object (value));
              break;
              default:
              G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
              break;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 1222 of file unity-lens-tools.c.

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

Here is the caller graph for this function:

GType unity_filter_column_get_type ( void  )

Definition at line 168 of file unity-lens-tools.c.

      {
       UNITY_RESULTS_SYNCHRONIZER_DUMMY_PROPERTY,
       UNITY_RESULTS_SYNCHRONIZER_RECEIVER,
       UNITY_RESULTS_SYNCHRONIZER_MERGE_STRATEGY
};
void unity_filters_synchronizer_add_receiver ( UnityFiltersSynchronizer *  self,
DeeModel *  receiver 
)

Definition at line 457 of file unity-lens-tools.c.

                                                                                                  {
       GeeArrayList* _tmp0_;
       DeeModel* _tmp1_;
       gboolean _tmp2_ = FALSE;
       DeeModel* _tmp3_;
       GeeArrayList* _tmp15_;
       DeeModel* _tmp16_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (receiver != NULL);
       _tmp0_ = self->priv->_receivers;
       _tmp1_ = receiver;
       _tmp2_ = gee_abstract_collection_contains ((GeeAbstractCollection*) _tmp0_, _tmp1_);
       if (_tmp2_) {
              return;
       }
       _tmp3_ = receiver;
       dee_model_clear (_tmp3_);
       {
              gint i;
              i = 0;
              {
                     gboolean _tmp4_;
                     _tmp4_ = TRUE;
                     while (TRUE) {
                            gboolean _tmp5_;
                            gint _tmp7_;
                            DeeModel* _tmp8_;
                            guint _tmp9_ = 0U;
                            DeeModel* _tmp10_;
                            gint _tmp11_;
                            DeeModelIter* _tmp12_ = NULL;
                            DeeModelIter* iter;
                            DeeModelIter* _tmp13_;
                            DeeModel* _tmp14_;
                            _tmp5_ = _tmp4_;
                            if (!_tmp5_) {
                                   gint _tmp6_;
                                   _tmp6_ = i;
                                   i = _tmp6_ + 1;
                            }
                            _tmp4_ = FALSE;
                            _tmp7_ = i;
                            _tmp8_ = self->priv->_provider;
                            _tmp9_ = dee_model_get_n_rows (_tmp8_);
                            if (!(((guint) _tmp7_) < _tmp9_)) {
                                   break;
                            }
                            _tmp10_ = self->priv->_provider;
                            _tmp11_ = i;
                            _tmp12_ = dee_model_get_iter_at_row (_tmp10_, (guint) _tmp11_);
                            iter = _tmp12_;
                            _tmp13_ = iter;
                            _tmp14_ = receiver;
                            unity_filters_synchronizer_add_row (self, _tmp13_, _tmp14_);
                     }
              }
       }
       _tmp15_ = self->priv->_receivers;
       _tmp16_ = receiver;
       gee_abstract_collection_add ((GeeAbstractCollection*) _tmp15_, _tmp16_);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_filters_synchronizer_add_row ( UnityFiltersSynchronizer *  self,
DeeModelIter *  iter,
DeeModel *  receiver 
) [static]

Definition at line 776 of file unity-lens-tools.c.

                                                                                                                        {
       DeeModel* _tmp0_;
       DeeModel* _tmp1_;
       DeeModelIter* _tmp2_;
       const gchar* _tmp3_ = NULL;
       DeeModel* _tmp4_;
       DeeModelIter* _tmp5_;
       const gchar* _tmp6_ = NULL;
       DeeModel* _tmp7_;
       DeeModelIter* _tmp8_;
       const gchar* _tmp9_ = NULL;
       DeeModel* _tmp10_;
       DeeModelIter* _tmp11_;
       const gchar* _tmp12_ = NULL;
       DeeModel* _tmp13_;
       DeeModelIter* _tmp14_;
       GVariant* _tmp15_ = NULL;
       GVariant* _tmp16_;
       DeeModel* _tmp17_;
       DeeModelIter* _tmp18_;
       gboolean _tmp19_ = FALSE;
       DeeModel* _tmp20_;
       DeeModelIter* _tmp21_;
       gboolean _tmp22_ = FALSE;
       DeeModel* _tmp23_;
       DeeModelIter* _tmp24_;
       gboolean _tmp25_ = FALSE;
       g_return_if_fail (self != NULL);
       g_return_if_fail (iter != NULL);
       g_return_if_fail (receiver != NULL);
       _tmp0_ = receiver;
       _tmp1_ = self->priv->_provider;
       _tmp2_ = iter;
       _tmp3_ = dee_model_get_string (_tmp1_, _tmp2_, (guint) UNITY_FILTER_COLUMN_ID);
       _tmp4_ = self->priv->_provider;
       _tmp5_ = iter;
       _tmp6_ = dee_model_get_string (_tmp4_, _tmp5_, (guint) UNITY_FILTER_COLUMN_NAME);
       _tmp7_ = self->priv->_provider;
       _tmp8_ = iter;
       _tmp9_ = dee_model_get_string (_tmp7_, _tmp8_, (guint) UNITY_FILTER_COLUMN_ICON_HINT);
       _tmp10_ = self->priv->_provider;
       _tmp11_ = iter;
       _tmp12_ = dee_model_get_string (_tmp10_, _tmp11_, (guint) UNITY_FILTER_COLUMN_RENDERER_NAME);
       _tmp13_ = self->priv->_provider;
       _tmp14_ = iter;
       _tmp15_ = dee_model_get_value (_tmp13_, _tmp14_, (guint) UNITY_FILTER_COLUMN_RENDERER_STATE);
       _tmp16_ = _tmp15_;
       _tmp17_ = self->priv->_provider;
       _tmp18_ = iter;
       _tmp19_ = dee_model_get_bool (_tmp17_, _tmp18_, (guint) UNITY_FILTER_COLUMN_VISIBLE);
       _tmp20_ = self->priv->_provider;
       _tmp21_ = iter;
       _tmp22_ = dee_model_get_bool (_tmp20_, _tmp21_, (guint) UNITY_FILTER_COLUMN_COLLAPSED);
       _tmp23_ = self->priv->_provider;
       _tmp24_ = iter;
       _tmp25_ = dee_model_get_bool (_tmp23_, _tmp24_, (guint) UNITY_FILTER_COLUMN_FILTERING);
       dee_model_append (_tmp0_, _tmp3_, _tmp6_, _tmp9_, _tmp12_, _tmp16_, _tmp19_, _tmp22_, _tmp25_, NULL);
       _g_variant_unref0 (_tmp16_);
}

Here is the caller graph for this function:

static void unity_filters_synchronizer_class_init ( UnityFiltersSynchronizerClass *  klass) [static]

Definition at line 895 of file unity-lens-tools.c.

                                                                                          {
       unity_filters_synchronizer_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityFiltersSynchronizerPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_filters_synchronizer_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_filters_synchronizer_set_property;
       G_OBJECT_CLASS (klass)->constructor = unity_filters_synchronizer_constructor;
       G_OBJECT_CLASS (klass)->finalize = unity_filters_synchronizer_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_FILTERS_SYNCHRONIZER_PROVIDER, g_param_spec_object ("provider", "provider", "provider", dee_model_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityFiltersSynchronizer* unity_filters_synchronizer_construct ( GType  object_type,
DeeModel *  provider 
)

Definition at line 442 of file unity-lens-tools.c.

                                                                                                       {
       UnityFiltersSynchronizer * self = NULL;
       DeeModel* _tmp0_;
       g_return_val_if_fail (provider != NULL, NULL);
       _tmp0_ = provider;
       self = (UnityFiltersSynchronizer*) g_object_new (object_type, "provider", _tmp0_, NULL);
       return self;
}

Here is the caller graph for this function:

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

Definition at line 871 of file unity-lens-tools.c.

                                                                                                                                                 {
       GObject * obj;
       GObjectClass * parent_class;
       UnityFiltersSynchronizer * self;
       GeeArrayList* _tmp0_;
       DeeModel* _tmp1_;
       DeeModel* _tmp2_;
       DeeModel* _tmp3_;
       parent_class = G_OBJECT_CLASS (unity_filters_synchronizer_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizer);
       _tmp0_ = gee_array_list_new (dee_model_get_type (), NULL, NULL, NULL);
       _g_object_unref0 (self->priv->_receivers);
       self->priv->_receivers = _tmp0_;
       _tmp1_ = self->priv->_provider;
       g_signal_connect_object (_tmp1_, "row-added", (GCallback) _unity_filters_synchronizer_on_row_added_dee_model_row_added, self, 0);
       _tmp2_ = self->priv->_provider;
       g_signal_connect_object (_tmp2_, "row-changed", (GCallback) _unity_filters_synchronizer_on_row_changed_dee_model_row_changed, self, 0);
       _tmp3_ = self->priv->_provider;
       g_signal_connect_object (_tmp3_, "row-removed", (GCallback) _unity_filters_synchronizer_on_row_removed_dee_model_row_removed, self, 0);
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_filters_synchronizer_finalize ( GObject *  obj) [static]

Definition at line 911 of file unity-lens-tools.c.

                                                               {
       UnityFiltersSynchronizer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_FILTERS_SYNCHRONIZER, UnityFiltersSynchronizer);
       _g_object_unref0 (self->priv->_receivers);
       G_OBJECT_CLASS (unity_filters_synchronizer_parent_class)->finalize (obj);
}

Here is the caller graph for this function:

DeeModel* unity_filters_synchronizer_get_provider ( UnityFiltersSynchronizer *  self)

Definition at line 837 of file unity-lens-tools.c.

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

Here is the caller graph for this function:

Definition at line 154 of file unity-lens-tools.c.

      {
       UNITY_FILTERS_SYNCHRONIZER_DUMMY_PROPERTY,
       UNITY_FILTERS_SYNCHRONIZER_PROVIDER
};

Here is the call graph for this function:

static void unity_filters_synchronizer_instance_init ( UnityFiltersSynchronizer *  self) [static]

Definition at line 906 of file unity-lens-tools.c.

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

Here is the caller graph for this function:

UnityFiltersSynchronizer* unity_filters_synchronizer_new ( DeeModel *  provider)

Definition at line 452 of file unity-lens-tools.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_filters_synchronizer_on_row_added ( UnityFiltersSynchronizer *  self,
DeeModel *  model,
DeeModelIter *  iter 
) [static]

Definition at line 552 of file unity-lens-tools.c.

                                                                                                                          {
       g_return_if_fail (self != NULL);
       g_return_if_fail (model != NULL);
       g_return_if_fail (iter != NULL);
       {
              GeeArrayList* _tmp0_;
              GeeArrayList* _tmp1_;
              GeeArrayList* _receiver_list;
              GeeArrayList* _tmp2_;
              gint _tmp3_;
              gint _tmp4_;
              gint _receiver_size;
              gint _receiver_index;
              _tmp0_ = self->priv->_receivers;
              _tmp1_ = _g_object_ref0 (_tmp0_);
              _receiver_list = _tmp1_;
              _tmp2_ = _receiver_list;
              _tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
              _tmp4_ = _tmp3_;
              _receiver_size = _tmp4_;
              _receiver_index = -1;
              while (TRUE) {
                     gint _tmp5_;
                     gint _tmp6_;
                     gint _tmp7_;
                     GeeArrayList* _tmp8_;
                     gint _tmp9_;
                     gpointer _tmp10_ = NULL;
                     DeeModel* receiver;
                     DeeModelIter* _tmp11_;
                     DeeModel* _tmp12_;
                     _tmp5_ = _receiver_index;
                     _receiver_index = _tmp5_ + 1;
                     _tmp6_ = _receiver_index;
                     _tmp7_ = _receiver_size;
                     if (!(_tmp6_ < _tmp7_)) {
                            break;
                     }
                     _tmp8_ = _receiver_list;
                     _tmp9_ = _receiver_index;
                     _tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
                     receiver = (DeeModel*) _tmp10_;
                     _tmp11_ = iter;
                     _tmp12_ = receiver;
                     unity_filters_synchronizer_add_row (self, _tmp11_, _tmp12_);
              }
              _g_object_unref0 (_receiver_list);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_filters_synchronizer_on_row_changed ( UnityFiltersSynchronizer *  self,
DeeModel *  model,
DeeModelIter *  iter 
) [static]

Definition at line 603 of file unity-lens-tools.c.

                                                                                                                            {
       g_return_if_fail (self != NULL);
       g_return_if_fail (model != NULL);
       g_return_if_fail (iter != NULL);
       {
              GeeArrayList* _tmp0_;
              GeeArrayList* _tmp1_;
              GeeArrayList* _receiver_list;
              GeeArrayList* _tmp2_;
              gint _tmp3_;
              gint _tmp4_;
              gint _receiver_size;
              gint _receiver_index;
              _tmp0_ = self->priv->_receivers;
              _tmp1_ = _g_object_ref0 (_tmp0_);
              _receiver_list = _tmp1_;
              _tmp2_ = _receiver_list;
              _tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
              _tmp4_ = _tmp3_;
              _receiver_size = _tmp4_;
              _receiver_index = -1;
              while (TRUE) {
                     gint _tmp5_;
                     gint _tmp6_;
                     gint _tmp7_;
                     GeeArrayList* _tmp8_;
                     gint _tmp9_;
                     gpointer _tmp10_ = NULL;
                     DeeModel* receiver;
                     DeeModel* _tmp11_;
                     DeeModel* _tmp12_;
                     DeeModelIter* _tmp13_;
                     guint _tmp14_ = 0U;
                     DeeModelIter* _tmp15_ = NULL;
                     DeeModelIter* riter;
                     DeeModel* _tmp16_;
                     DeeModelIter* _tmp17_;
                     DeeModel* _tmp18_;
                     DeeModelIter* _tmp19_;
                     const gchar* _tmp20_ = NULL;
                     DeeModel* _tmp21_;
                     DeeModelIter* _tmp22_;
                     const gchar* _tmp23_ = NULL;
                     DeeModel* _tmp24_;
                     DeeModelIter* _tmp25_;
                     const gchar* _tmp26_ = NULL;
                     DeeModel* _tmp27_;
                     DeeModelIter* _tmp28_;
                     const gchar* _tmp29_ = NULL;
                     DeeModel* _tmp30_;
                     DeeModelIter* _tmp31_;
                     GVariant* _tmp32_ = NULL;
                     GVariant* _tmp33_;
                     DeeModel* _tmp34_;
                     DeeModelIter* _tmp35_;
                     gboolean _tmp36_ = FALSE;
                     DeeModel* _tmp37_;
                     DeeModelIter* _tmp38_;
                     gboolean _tmp39_ = FALSE;
                     DeeModel* _tmp40_;
                     DeeModelIter* _tmp41_;
                     gboolean _tmp42_ = FALSE;
                     _tmp5_ = _receiver_index;
                     _receiver_index = _tmp5_ + 1;
                     _tmp6_ = _receiver_index;
                     _tmp7_ = _receiver_size;
                     if (!(_tmp6_ < _tmp7_)) {
                            break;
                     }
                     _tmp8_ = _receiver_list;
                     _tmp9_ = _receiver_index;
                     _tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
                     receiver = (DeeModel*) _tmp10_;
                     _tmp11_ = receiver;
                     _tmp12_ = model;
                     _tmp13_ = iter;
                     _tmp14_ = dee_model_get_position (_tmp12_, _tmp13_);
                     _tmp15_ = dee_model_get_iter_at_row (_tmp11_, _tmp14_);
                     riter = _tmp15_;
                     _tmp16_ = receiver;
                     _tmp17_ = riter;
                     _tmp18_ = self->priv->_provider;
                     _tmp19_ = iter;
                     _tmp20_ = dee_model_get_string (_tmp18_, _tmp19_, (guint) UNITY_FILTER_COLUMN_ID);
                     _tmp21_ = self->priv->_provider;
                     _tmp22_ = iter;
                     _tmp23_ = dee_model_get_string (_tmp21_, _tmp22_, (guint) UNITY_FILTER_COLUMN_NAME);
                     _tmp24_ = self->priv->_provider;
                     _tmp25_ = iter;
                     _tmp26_ = dee_model_get_string (_tmp24_, _tmp25_, (guint) UNITY_FILTER_COLUMN_ICON_HINT);
                     _tmp27_ = self->priv->_provider;
                     _tmp28_ = iter;
                     _tmp29_ = dee_model_get_string (_tmp27_, _tmp28_, (guint) UNITY_FILTER_COLUMN_RENDERER_NAME);
                     _tmp30_ = self->priv->_provider;
                     _tmp31_ = iter;
                     _tmp32_ = dee_model_get_value (_tmp30_, _tmp31_, (guint) UNITY_FILTER_COLUMN_RENDERER_STATE);
                     _tmp33_ = _tmp32_;
                     _tmp34_ = self->priv->_provider;
                     _tmp35_ = iter;
                     _tmp36_ = dee_model_get_bool (_tmp34_, _tmp35_, (guint) UNITY_FILTER_COLUMN_VISIBLE);
                     _tmp37_ = self->priv->_provider;
                     _tmp38_ = iter;
                     _tmp39_ = dee_model_get_bool (_tmp37_, _tmp38_, (guint) UNITY_FILTER_COLUMN_COLLAPSED);
                     _tmp40_ = self->priv->_provider;
                     _tmp41_ = iter;
                     _tmp42_ = dee_model_get_bool (_tmp40_, _tmp41_, (guint) UNITY_FILTER_COLUMN_FILTERING);
                     dee_model_set (_tmp16_, _tmp17_, _tmp20_, _tmp23_, _tmp26_, _tmp29_, _tmp33_, _tmp36_, _tmp39_, _tmp42_, NULL);
                     _g_variant_unref0 (_tmp33_);
              }
              _g_object_unref0 (_receiver_list);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_filters_synchronizer_on_row_removed ( UnityFiltersSynchronizer *  self,
DeeModel *  model,
DeeModelIter *  iter 
) [static]

Definition at line 717 of file unity-lens-tools.c.

                                                                                                                            {
       g_return_if_fail (self != NULL);
       g_return_if_fail (model != NULL);
       g_return_if_fail (iter != NULL);
       {
              GeeArrayList* _tmp0_;
              GeeArrayList* _tmp1_;
              GeeArrayList* _receiver_list;
              GeeArrayList* _tmp2_;
              gint _tmp3_;
              gint _tmp4_;
              gint _receiver_size;
              gint _receiver_index;
              _tmp0_ = self->priv->_receivers;
              _tmp1_ = _g_object_ref0 (_tmp0_);
              _receiver_list = _tmp1_;
              _tmp2_ = _receiver_list;
              _tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
              _tmp4_ = _tmp3_;
              _receiver_size = _tmp4_;
              _receiver_index = -1;
              while (TRUE) {
                     gint _tmp5_;
                     gint _tmp6_;
                     gint _tmp7_;
                     GeeArrayList* _tmp8_;
                     gint _tmp9_;
                     gpointer _tmp10_ = NULL;
                     DeeModel* receiver;
                     DeeModel* _tmp11_;
                     DeeModel* _tmp12_;
                     DeeModel* _tmp13_;
                     DeeModelIter* _tmp14_;
                     guint _tmp15_ = 0U;
                     DeeModelIter* _tmp16_ = NULL;
                     _tmp5_ = _receiver_index;
                     _receiver_index = _tmp5_ + 1;
                     _tmp6_ = _receiver_index;
                     _tmp7_ = _receiver_size;
                     if (!(_tmp6_ < _tmp7_)) {
                            break;
                     }
                     _tmp8_ = _receiver_list;
                     _tmp9_ = _receiver_index;
                     _tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
                     receiver = (DeeModel*) _tmp10_;
                     _tmp11_ = receiver;
                     _tmp12_ = receiver;
                     _tmp13_ = model;
                     _tmp14_ = iter;
                     _tmp15_ = dee_model_get_position (_tmp13_, _tmp14_);
                     _tmp16_ = dee_model_get_iter_at_row (_tmp12_, _tmp15_);
                     dee_model_remove (_tmp11_, _tmp16_);
              }
              _g_object_unref0 (_receiver_list);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

void unity_filters_synchronizer_remove_receiver ( UnityFiltersSynchronizer *  self,
DeeModel *  receiver 
)

Definition at line 520 of file unity-lens-tools.c.

                                                                                                     {
       GeeArrayList* _tmp0_;
       DeeModel* _tmp1_;
       gint _tmp2_ = 0;
       gint index;
       gint _tmp3_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (receiver != NULL);
       _tmp0_ = self->priv->_receivers;
       _tmp1_ = receiver;
       _tmp2_ = gee_abstract_list_index_of ((GeeAbstractList*) _tmp0_, _tmp1_);
       index = _tmp2_;
       _tmp3_ = index;
       if (_tmp3_ >= 0) {
              GeeArrayList* _tmp4_;
              gint _tmp5_;
              _tmp4_ = self->priv->_receivers;
              _tmp5_ = index;
              gee_abstract_list_remove_at ((GeeAbstractList*) _tmp4_, _tmp5_);
       } else {
              DeeModel* _tmp6_;
              _tmp6_ = receiver;
              g_warning ("unity-lens-tools.vala:87: Receiver [%p] was not registered", _tmp6_);
       }
}

Here is the caller graph for this function:

static void unity_filters_synchronizer_set_provider ( UnityFiltersSynchronizer *  self,
DeeModel *  value 
) [static]

Definition at line 847 of file unity-lens-tools.c.

                                                                                                      {
       DeeModel* _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       self->priv->_provider = _tmp0_;
       g_object_notify ((GObject *) self, "provider");
}

Here is the caller graph for this function:

GParamSpec* unity_param_spec_tools ( const gchar *  name,
const gchar *  nick,
const gchar *  blurb,
GType  object_type,
GParamFlags  flags 
)

Definition at line 343 of file unity-lens-tools.c.

                                                                                                                                    {
       UnityParamSpecTools* spec;
       g_return_val_if_fail (g_type_is_a (object_type, UNITY_TYPE_TOOLS), NULL);
       spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
       G_PARAM_SPEC (spec)->value_type = object_type;
       return G_PARAM_SPEC (spec);
}
void unity_results_synchronizer_add_provider ( UnityResultsSynchronizer *  self,
DeeModel *  provider,
const gchar *  uid 
)

Definition at line 1007 of file unity-lens-tools.c.

                                                                                                                    {
       DeeModel* _tmp0_;
       const gchar* _tmp1_;
       gchar* _tmp2_ = NULL;
       GeeArrayList* _tmp3_;
       DeeModel* _tmp4_;
       GeeHashMap* _tmp5_;
       DeeModel* _tmp6_;
       DeeModel* _tmp7_;
       DeeModelTag* _tmp8_;
       DeeModel* _tmp9_;
       DeeModel* _tmp10_;
       DeeModel* _tmp11_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (provider != NULL);
       g_return_if_fail (uid != NULL);
       _tmp0_ = provider;
       _tmp1_ = uid;
       _tmp2_ = g_strdup_printf ("%s:", _tmp1_);
       g_object_set_data_full ((GObject*) _tmp0_, "uid", _tmp2_, g_free);
       _tmp3_ = self->priv->_providers;
       _tmp4_ = provider;
       gee_abstract_collection_add ((GeeAbstractCollection*) _tmp3_, _tmp4_);
       _tmp5_ = self->priv->_provider_tags;
       _tmp6_ = provider;
       _tmp7_ = provider;
       _tmp8_ = dee_model_register_tag (_tmp7_, NULL);
       gee_abstract_map_set ((GeeAbstractMap*) _tmp5_, _tmp6_, _tmp8_);
       _tmp9_ = provider;
       g_signal_connect_object (_tmp9_, "row-added", (GCallback) _unity_results_synchronizer_on_row_added_dee_model_row_added, self, 0);
       _tmp10_ = provider;
       g_signal_connect_object (_tmp10_, "row-removed", (GCallback) _unity_results_synchronizer_on_row_removed_dee_model_row_removed, self, 0);
       _tmp11_ = provider;
       g_signal_connect_object (_tmp11_, "row-changed", (GCallback) _unity_results_synchronizer_on_row_changed_dee_model_row_changed, self, 0);
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_results_synchronizer_class_init ( UnityResultsSynchronizerClass *  klass) [static]

Definition at line 1405 of file unity-lens-tools.c.

                                                                                          {
       unity_results_synchronizer_parent_class = g_type_class_peek_parent (klass);
       g_type_class_add_private (klass, sizeof (UnityResultsSynchronizerPrivate));
       G_OBJECT_CLASS (klass)->get_property = _vala_unity_results_synchronizer_get_property;
       G_OBJECT_CLASS (klass)->set_property = _vala_unity_results_synchronizer_set_property;
       G_OBJECT_CLASS (klass)->constructor = unity_results_synchronizer_constructor;
       G_OBJECT_CLASS (klass)->finalize = unity_results_synchronizer_finalize;
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_RESULTS_SYNCHRONIZER_RECEIVER, g_param_spec_object ("receiver", "receiver", "receiver", dee_model_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
       g_object_class_install_property (G_OBJECT_CLASS (klass), UNITY_RESULTS_SYNCHRONIZER_MERGE_STRATEGY, g_param_spec_object ("merge-strategy", "merge-strategy", "merge-strategy", UNITY_TYPE_MERGE_STRATEGY, 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:

UnityResultsSynchronizer* unity_results_synchronizer_construct ( GType  object_type,
DeeModel *  receiver 
)

Definition at line 959 of file unity-lens-tools.c.

                                                                                                       {
       UnityResultsSynchronizer * self = NULL;
       DeeModel* _tmp0_;
       g_return_val_if_fail (receiver != NULL, NULL);
       _tmp0_ = receiver;
       self = (UnityResultsSynchronizer*) g_object_new (object_type, "receiver", _tmp0_, NULL);
       return self;
}

Here is the caller graph for this function:

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

Definition at line 1385 of file unity-lens-tools.c.

                                                                                                                                                 {
       GObject * obj;
       GObjectClass * parent_class;
       UnityResultsSynchronizer * self;
       GeeArrayList* _tmp0_;
       GeeHashMap* _tmp1_;
       parent_class = G_OBJECT_CLASS (unity_results_synchronizer_parent_class);
       obj = parent_class->constructor (type, n_construct_properties, construct_properties);
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizer);
       _tmp0_ = gee_array_list_new (dee_model_get_type (), NULL, NULL, NULL);
       _g_object_unref0 (self->priv->_providers);
       self->priv->_providers = _tmp0_;
       _tmp1_ = gee_hash_map_new (dee_model_get_type (), NULL, NULL, G_TYPE_POINTER, NULL, NULL, NULL, NULL, NULL);
       _g_object_unref0 (self->priv->_provider_tags);
       self->priv->_provider_tags = _tmp1_;
       unity_results_synchronizer_set_merge_strategy (self, (UnityMergeStrategy*) self);
       return obj;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gchar * unity_results_synchronizer_externalize_uri ( UnityResultsSynchronizer *  self,
DeeModel *  provider,
DeeModelIter *  iter 
) [static]

Definition at line 1044 of file unity-lens-tools.c.

                                                                                                                                  {
       gchar* result = NULL;
       DeeModel* _tmp0_;
       gconstpointer _tmp1_ = NULL;
       DeeModel* _tmp2_;
       DeeModelIter* _tmp3_;
       const gchar* _tmp4_ = NULL;
       gchar* _tmp5_;
       g_return_val_if_fail (self != NULL, NULL);
       g_return_val_if_fail (provider != NULL, NULL);
       g_return_val_if_fail (iter != NULL, NULL);
       _tmp0_ = provider;
       _tmp1_ = g_object_get_data ((GObject*) _tmp0_, "uid");
       _tmp2_ = provider;
       _tmp3_ = iter;
       _tmp4_ = dee_model_get_string (_tmp2_, _tmp3_, (guint) 0);
       _tmp5_ = g_strconcat ((const gchar*) _tmp1_, _tmp4_, NULL);
       result = _tmp5_;
       return result;
}

Here is the caller graph for this function:

static void unity_results_synchronizer_finalize ( GObject *  obj) [static]

Definition at line 1433 of file unity-lens-tools.c.

                                                               {
       UnityResultsSynchronizer * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_RESULTS_SYNCHRONIZER, UnityResultsSynchronizer);
       _g_object_unref0 (self->priv->_merge_strategy);
       _g_object_unref0 (self->priv->_providers);
       _g_object_unref0 (self->priv->_provider_tags);
       self->priv->row_buf = (_vala_array_free (self->priv->row_buf, self->priv->row_buf_length1, (GDestroyNotify) g_variant_unref), NULL);
       G_OBJECT_CLASS (unity_results_synchronizer_parent_class)->finalize (obj);
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityMergeStrategy* unity_results_synchronizer_get_merge_strategy ( UnityResultsSynchronizer *  self)

Definition at line 1363 of file unity-lens-tools.c.

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

Here is the caller graph for this function:

DeeModel* unity_results_synchronizer_get_receiver ( UnityResultsSynchronizer *  self)

Definition at line 1344 of file unity-lens-tools.c.

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

Here is the caller graph for this function:

Definition at line 1444 of file unity-lens-tools.c.

                                                 {
       static volatile gsize unity_results_synchronizer_type_id__volatile = 0;
       if (g_once_init_enter (&unity_results_synchronizer_type_id__volatile)) {
              static const GTypeInfo g_define_type_info = { sizeof (UnityResultsSynchronizerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) unity_results_synchronizer_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (UnityResultsSynchronizer), 0, (GInstanceInitFunc) unity_results_synchronizer_instance_init, NULL };
              static const GInterfaceInfo unity_merge_strategy_info = { (GInterfaceInitFunc) unity_results_synchronizer_unity_merge_strategy_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
              GType unity_results_synchronizer_type_id;
              unity_results_synchronizer_type_id = g_type_register_static (G_TYPE_OBJECT, "UnityResultsSynchronizer", &g_define_type_info, 0);
              g_type_add_interface_static (unity_results_synchronizer_type_id, UNITY_TYPE_MERGE_STRATEGY, &unity_merge_strategy_info);
              g_once_init_leave (&unity_results_synchronizer_type_id__volatile, unity_results_synchronizer_type_id);
       }
       return unity_results_synchronizer_type_id__volatile;
}

Here is the call graph for this function:

static void unity_results_synchronizer_instance_init ( UnityResultsSynchronizer *  self) [static]

Definition at line 1423 of file unity-lens-tools.c.

                                                                                       {
       GVariant** _tmp0_ = NULL;
       self->priv = UNITY_RESULTS_SYNCHRONIZER_GET_PRIVATE (self);
       _tmp0_ = g_new0 (GVariant*, 7 + 1);
       self->priv->row_buf = _tmp0_;
       self->priv->row_buf_length1 = 7;
       self->priv->_row_buf_size_ = self->priv->row_buf_length1;
}

Here is the caller graph for this function:

UnityResultsSynchronizer* unity_results_synchronizer_new ( DeeModel *  receiver)

Definition at line 969 of file unity-lens-tools.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_results_synchronizer_on_row_added ( UnityResultsSynchronizer *  self,
DeeModel *  provider,
DeeModelIter *  iter 
) [static]

Definition at line 1177 of file unity-lens-tools.c.

                                                                                                                             {
       DeeModelIter* i = NULL;
       DeeModel* _tmp0_;
       DeeModelIter* _tmp1_;
       UnityMergeStrategy* _tmp2_;
       DeeModel* _tmp3_;
       GVariant** _tmp4_;
       gint _tmp4__length1;
       DeeModelIter* _tmp5_ = NULL;
       DeeModelIter* _tmp6_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (provider != NULL);
       g_return_if_fail (iter != NULL);
       _tmp0_ = provider;
       _tmp1_ = iter;
       unity_results_synchronizer_prepare_row_buf (self, _tmp0_, _tmp1_);
       _tmp2_ = self->priv->_merge_strategy;
       _tmp3_ = self->priv->_receiver;
       _tmp4_ = self->priv->row_buf;
       _tmp4__length1 = self->priv->row_buf_length1;
       _tmp5_ = unity_merge_strategy_merge_result (_tmp2_, _tmp3_, _tmp4_, _tmp4__length1);
       i = _tmp5_;
       _tmp6_ = i;
       if (_tmp6_ != NULL) {
              GeeHashMap* _tmp7_;
              DeeModel* _tmp8_;
              gpointer _tmp9_ = NULL;
              DeeModelTag* tag;
              DeeModelTag* _tmp10_;
              DeeModel* _tmp11_;
              DeeModelIter* _tmp12_;
              DeeModelIter* _tmp13_;
              _tmp7_ = self->priv->_provider_tags;
              _tmp8_ = provider;
              _tmp9_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp7_, _tmp8_);
              tag = (DeeModelTag*) _tmp9_;
              _tmp10_ = tag;
              _tmp11_ = provider;
              _tmp12_ = iter;
              _tmp13_ = i;
              dee_model_set_tag (_tmp11_, _tmp12_, _tmp10_, _tmp13_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_results_synchronizer_on_row_changed ( UnityResultsSynchronizer *  self,
DeeModel *  provider,
DeeModelIter *  iter 
) [static]

Definition at line 1286 of file unity-lens-tools.c.

                                                                                                                               {
       GeeHashMap* _tmp0_;
       DeeModel* _tmp1_;
       gpointer _tmp2_ = NULL;
       DeeModelTag* tag;
       DeeModelTag* _tmp3_;
       DeeModel* _tmp4_;
       DeeModelIter* _tmp5_;
       gconstpointer _tmp6_ = NULL;
       DeeModelIter* riter;
       DeeModelIter* _tmp7_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (provider != NULL);
       g_return_if_fail (iter != NULL);
       _tmp0_ = self->priv->_provider_tags;
       _tmp1_ = provider;
       _tmp2_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp0_, _tmp1_);
       tag = (DeeModelTag*) _tmp2_;
       _tmp3_ = tag;
       _tmp4_ = provider;
       _tmp5_ = iter;
       _tmp6_ = dee_model_get_tag (_tmp4_, _tmp5_, _tmp3_);
       riter = (DeeModelIter*) _tmp6_;
       _tmp7_ = riter;
       if (_tmp7_ != NULL) {
              DeeModel* _tmp8_;
              DeeModelIter* _tmp9_;
              DeeModel* _tmp10_;
              DeeModelIter* _tmp11_;
              GVariant** _tmp12_;
              gint _tmp12__length1;
              _tmp8_ = provider;
              _tmp9_ = iter;
              unity_results_synchronizer_prepare_row_buf (self, _tmp8_, _tmp9_);
              _tmp10_ = self->priv->_receiver;
              _tmp11_ = riter;
              _tmp12_ = self->priv->row_buf;
              _tmp12__length1 = self->priv->row_buf_length1;
              dee_model_set_row (_tmp10_, _tmp11_, _tmp12_);
       } else {
              DeeModel* _tmp13_;
              DeeModelIter* _tmp14_;
              const gchar* _tmp15_ = NULL;
              const gchar* _tmp16_ = NULL;
              gchar* _tmp17_ = NULL;
              gchar* _tmp18_;
              _tmp13_ = provider;
              _tmp14_ = iter;
              _tmp15_ = dee_model_get_string (_tmp13_, _tmp14_, (guint) 0);
              _tmp16_ = string_to_string (_tmp15_);
              _tmp17_ = g_strconcat ("Could not find row to change: ", _tmp16_, NULL);
              _tmp18_ = _tmp17_;
              g_warning ("unity-lens-tools.vala:244: %s", _tmp18_);
              _g_free0 (_tmp18_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_results_synchronizer_on_row_removed ( UnityResultsSynchronizer *  self,
DeeModel *  provider,
DeeModelIter *  iter 
) [static]

Definition at line 1230 of file unity-lens-tools.c.

                                                                                                                               {
       GeeHashMap* _tmp0_;
       DeeModel* _tmp1_;
       gpointer _tmp2_ = NULL;
       DeeModelTag* tag;
       DeeModelTag* _tmp3_;
       DeeModel* _tmp4_;
       DeeModelIter* _tmp5_;
       gconstpointer _tmp6_ = NULL;
       DeeModelIter* riter;
       DeeModelIter* _tmp7_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (provider != NULL);
       g_return_if_fail (iter != NULL);
       _tmp0_ = self->priv->_provider_tags;
       _tmp1_ = provider;
       _tmp2_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp0_, _tmp1_);
       tag = (DeeModelTag*) _tmp2_;
       _tmp3_ = tag;
       _tmp4_ = provider;
       _tmp5_ = iter;
       _tmp6_ = dee_model_get_tag (_tmp4_, _tmp5_, _tmp3_);
       riter = (DeeModelIter*) _tmp6_;
       _tmp7_ = riter;
       if (_tmp7_ != NULL) {
              DeeModel* _tmp8_;
              DeeModelIter* _tmp9_;
              DeeModelTag* _tmp10_;
              DeeModel* _tmp11_;
              DeeModelIter* _tmp12_;
              _tmp8_ = self->priv->_receiver;
              _tmp9_ = riter;
              dee_model_remove (_tmp8_, _tmp9_);
              _tmp10_ = tag;
              _tmp11_ = provider;
              _tmp12_ = iter;
              dee_model_clear_tag (_tmp11_, _tmp12_, _tmp10_);
       } else {
              DeeModel* _tmp13_;
              DeeModelIter* _tmp14_;
              const gchar* _tmp15_ = NULL;
              const gchar* _tmp16_ = NULL;
              gchar* _tmp17_ = NULL;
              gchar* _tmp18_;
              _tmp13_ = provider;
              _tmp14_ = iter;
              _tmp15_ = dee_model_get_string (_tmp13_, _tmp14_, (guint) 0);
              _tmp16_ = string_to_string (_tmp15_);
              _tmp17_ = g_strconcat ("Could not find row to remove: ", _tmp16_, NULL);
              _tmp18_ = _tmp17_;
              g_debug ("unity-lens-tools.vala:228: %s", _tmp18_);
              _g_free0 (_tmp18_);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_results_synchronizer_prepare_row_buf ( UnityResultsSynchronizer *  self,
DeeModel *  provider,
DeeModelIter *  iter 
) [static]

Definition at line 1066 of file unity-lens-tools.c.

                                                                                                                                {
       GVariant** _tmp0_;
       gint _tmp0__length1;
       DeeModel* _tmp1_;
       DeeModelIter* _tmp2_;
       gchar* _tmp3_ = NULL;
       gchar* _tmp4_;
       GVariant* _tmp5_;
       GVariant* _tmp6_;
       GVariant** _tmp7_;
       gint _tmp7__length1;
       DeeModel* _tmp8_;
       DeeModelIter* _tmp9_;
       GVariant* _tmp10_ = NULL;
       GVariant* _tmp11_;
       GVariant** _tmp12_;
       gint _tmp12__length1;
       DeeModel* _tmp13_;
       DeeModelIter* _tmp14_;
       GVariant* _tmp15_ = NULL;
       GVariant* _tmp16_;
       GVariant** _tmp17_;
       gint _tmp17__length1;
       DeeModel* _tmp18_;
       DeeModelIter* _tmp19_;
       GVariant* _tmp20_ = NULL;
       GVariant* _tmp21_;
       GVariant** _tmp22_;
       gint _tmp22__length1;
       DeeModel* _tmp23_;
       DeeModelIter* _tmp24_;
       GVariant* _tmp25_ = NULL;
       GVariant* _tmp26_;
       GVariant** _tmp27_;
       gint _tmp27__length1;
       DeeModel* _tmp28_;
       DeeModelIter* _tmp29_;
       GVariant* _tmp30_ = NULL;
       GVariant* _tmp31_;
       GVariant** _tmp32_;
       gint _tmp32__length1;
       DeeModel* _tmp33_;
       DeeModelIter* _tmp34_;
       GVariant* _tmp35_ = NULL;
       GVariant* _tmp36_;
       g_return_if_fail (self != NULL);
       g_return_if_fail (provider != NULL);
       g_return_if_fail (iter != NULL);
       _tmp0_ = self->priv->row_buf;
       _tmp0__length1 = self->priv->row_buf_length1;
       _tmp1_ = provider;
       _tmp2_ = iter;
       _tmp3_ = unity_results_synchronizer_externalize_uri (self, _tmp1_, _tmp2_);
       _tmp4_ = _tmp3_;
       _tmp5_ = g_variant_new_string (_tmp4_);
       g_variant_ref_sink (_tmp5_);
       _g_variant_unref0 (_tmp0_[0]);
       _tmp0_[0] = _tmp5_;
       _tmp6_ = _tmp0_[0];
       _g_free0 (_tmp4_);
       _tmp7_ = self->priv->row_buf;
       _tmp7__length1 = self->priv->row_buf_length1;
       _tmp8_ = provider;
       _tmp9_ = iter;
       _tmp10_ = dee_model_get_value (_tmp8_, _tmp9_, (guint) 1);
       _g_variant_unref0 (_tmp7_[1]);
       _tmp7_[1] = _tmp10_;
       _tmp11_ = _tmp7_[1];
       _tmp12_ = self->priv->row_buf;
       _tmp12__length1 = self->priv->row_buf_length1;
       _tmp13_ = provider;
       _tmp14_ = iter;
       _tmp15_ = dee_model_get_value (_tmp13_, _tmp14_, (guint) 2);
       _g_variant_unref0 (_tmp12_[2]);
       _tmp12_[2] = _tmp15_;
       _tmp16_ = _tmp12_[2];
       _tmp17_ = self->priv->row_buf;
       _tmp17__length1 = self->priv->row_buf_length1;
       _tmp18_ = provider;
       _tmp19_ = iter;
       _tmp20_ = dee_model_get_value (_tmp18_, _tmp19_, (guint) 3);
       _g_variant_unref0 (_tmp17_[3]);
       _tmp17_[3] = _tmp20_;
       _tmp21_ = _tmp17_[3];
       _tmp22_ = self->priv->row_buf;
       _tmp22__length1 = self->priv->row_buf_length1;
       _tmp23_ = provider;
       _tmp24_ = iter;
       _tmp25_ = dee_model_get_value (_tmp23_, _tmp24_, (guint) 4);
       _g_variant_unref0 (_tmp22_[4]);
       _tmp22_[4] = _tmp25_;
       _tmp26_ = _tmp22_[4];
       _tmp27_ = self->priv->row_buf;
       _tmp27__length1 = self->priv->row_buf_length1;
       _tmp28_ = provider;
       _tmp29_ = iter;
       _tmp30_ = dee_model_get_value (_tmp28_, _tmp29_, (guint) 5);
       _g_variant_unref0 (_tmp27_[5]);
       _tmp27_[5] = _tmp30_;
       _tmp31_ = _tmp27_[5];
       _tmp32_ = self->priv->row_buf;
       _tmp32__length1 = self->priv->row_buf_length1;
       _tmp33_ = provider;
       _tmp34_ = iter;
       _tmp35_ = dee_model_get_value (_tmp33_, _tmp34_, (guint) 6);
       _g_variant_unref0 (_tmp32_[6]);
       _tmp32_[6] = _tmp35_;
       _tmp36_ = _tmp32_[6];
}

Here is the call graph for this function:

Here is the caller graph for this function:

static DeeModelIter * unity_results_synchronizer_real_merge_result ( UnityMergeStrategy *  base,
DeeModel *  target,
GVariant **  row,
int  row_length1 
) [static]

Definition at line 974 of file unity-lens-tools.c.

                                                                                                                                                {
       UnityResultsSynchronizer * self;
       DeeModelIter* result = NULL;
       DeeModel* _tmp0_;
       GVariant** _tmp1_;
       gint _tmp1__length1;
       DeeModelIter* _tmp2_ = NULL;
       self = (UnityResultsSynchronizer*) base;
       g_return_val_if_fail (target != NULL, NULL);
       _tmp0_ = target;
       _tmp1_ = row;
       _tmp1__length1 = row_length1;
       _tmp2_ = dee_model_append_row (_tmp0_, _tmp1_);
       result = _tmp2_;
       return result;
}

Here is the caller graph for this function:

void unity_results_synchronizer_set_merge_strategy ( UnityResultsSynchronizer *  self,
UnityMergeStrategy *  value 
)

Definition at line 1373 of file unity-lens-tools.c.

                                                                                                               {
       UnityMergeStrategy* _tmp0_;
       UnityMergeStrategy* _tmp1_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       _tmp1_ = _g_object_ref0 (_tmp0_);
       _g_object_unref0 (self->priv->_merge_strategy);
       self->priv->_merge_strategy = _tmp1_;
       g_object_notify ((GObject *) self, "merge-strategy");
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_results_synchronizer_set_receiver ( UnityResultsSynchronizer *  self,
DeeModel *  value 
) [static]

Definition at line 1354 of file unity-lens-tools.c.

                                                                                                      {
       DeeModel* _tmp0_;
       g_return_if_fail (self != NULL);
       _tmp0_ = value;
       self->priv->_receiver = _tmp0_;
       g_object_notify ((GObject *) self, "receiver");
}

Here is the caller graph for this function:

static void unity_results_synchronizer_unity_merge_strategy_interface_init ( UnityMergeStrategyIface *  iface) [static]

Definition at line 1417 of file unity-lens-tools.c.

                                                                                                             {
       unity_results_synchronizer_unity_merge_strategy_parent_iface = g_type_interface_peek_parent (iface);
       iface->merge_result = (DeeModelIter* (*)(UnityMergeStrategy*, DeeModel*, GVariant**, int)) unity_results_synchronizer_real_merge_result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_tools_class_init ( UnityToolsClass *  klass) [static]

Definition at line 393 of file unity-lens-tools.c.

                                                             {
       unity_tools_parent_class = g_type_class_peek_parent (klass);
       UNITY_TOOLS_CLASS (klass)->finalize = unity_tools_finalize;
}

Here is the call graph for this function:

Here is the caller graph for this function:

UnityTools* unity_tools_construct ( GType  object_type)

Definition at line 271 of file unity-lens-tools.c.

                                                      {
       UnityTools* self = NULL;
       self = (UnityTools*) g_type_create_instance (object_type);
       return self;
}

Here is the caller graph for this function:

static void unity_tools_finalize ( UnityTools *  obj) [static]

Definition at line 404 of file unity-lens-tools.c.

                                                   {
       UnityTools * self;
       self = G_TYPE_CHECK_INSTANCE_CAST (obj, UNITY_TYPE_TOOLS, UnityTools);
}

Here is the caller graph for this function:

GType unity_tools_get_type ( void  )

Definition at line 146 of file unity-lens-tools.c.

      {
       UNITY_TOOLS_DUMMY_PROPERTY
};

Here is the call graph for this function:

GVariant* unity_tools_hash_table_to_asv ( GHashTable *  hash)

Definition at line 214 of file unity-lens-tools.c.

                                                           {
       GVariant* result = NULL;
       GVariantType* _tmp0_;
       GVariantType* _tmp1_;
       GVariantBuilder* _tmp2_;
       GVariantBuilder* _tmp3_;
       GVariantBuilder* b;
       GHashTable* _tmp4_;
       GHashTableIter iter = {0};
       gchar* key = NULL;
       GVariant* val = NULL;
       GVariantBuilder* _tmp13_;
       GVariant* _tmp14_ = NULL;
       g_return_val_if_fail (hash != NULL, NULL);
       _tmp0_ = g_variant_type_new ("a{sv}");
       _tmp1_ = _tmp0_;
       _tmp2_ = g_variant_builder_new (_tmp1_);
       _tmp3_ = _tmp2_;
       _g_variant_type_free0 (_tmp1_);
       b = _tmp3_;
       _tmp4_ = hash;
       g_hash_table_iter_init (&iter, _tmp4_);
       while (TRUE) {
              gconstpointer _tmp5_ = NULL;
              gconstpointer _tmp6_ = NULL;
              gboolean _tmp7_ = FALSE;
              gchar* _tmp8_;
              GVariant* _tmp9_;
              GVariantBuilder* _tmp10_;
              const gchar* _tmp11_;
              GVariant* _tmp12_;
              _tmp7_ = g_hash_table_iter_next (&iter, &_tmp5_, &_tmp6_);
              _g_free0 (key);
              _tmp8_ = g_strdup (_tmp5_);
              key = _tmp8_;
              _g_variant_unref0 (val);
              _tmp9_ = _g_variant_ref0 (_tmp6_);
              val = _tmp9_;
              if (!_tmp7_) {
                     break;
              }
              _tmp10_ = b;
              _tmp11_ = key;
              _tmp12_ = val;
              g_variant_builder_add (_tmp10_, "{sv}", _tmp11_, _tmp12_, NULL);
       }
       _tmp13_ = b;
       _tmp14_ = g_variant_builder_end (_tmp13_);
       g_variant_ref_sink (_tmp14_);
       result = _tmp14_;
       _g_variant_unref0 (val);
       _g_free0 (key);
       _g_variant_builder_unref0 (b);
       return result;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_tools_instance_init ( UnityTools *  self) [static]

Definition at line 399 of file unity-lens-tools.c.

                                                          {
       self->ref_count = 1;
}

Here is the caller graph for this function:

UnityTools* unity_tools_new ( void  )

Definition at line 278 of file unity-lens-tools.c.

Here is the call graph for this function:

gpointer unity_tools_ref ( gpointer  instance)

Definition at line 424 of file unity-lens-tools.c.

                                             {
       UnityTools* self;
       self = instance;
       g_atomic_int_inc (&self->ref_count);
       return instance;
}

Here is the caller graph for this function:

void unity_tools_unref ( gpointer  instance)

Definition at line 432 of file unity-lens-tools.c.

                                           {
       UnityTools* self;
       self = instance;
       if (g_atomic_int_dec_and_test (&self->ref_count)) {
              UNITY_TOOLS_GET_CLASS (self)->finalize (self);
              g_type_free_instance ((GTypeInstance *) self);
       }
}

Here is the caller graph for this function:

gpointer unity_value_get_tools ( const GValue *  value)

Definition at line 352 of file unity-lens-tools.c.

                                                     {
       g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TYPE_TOOLS), NULL);
       return value->data[0].v_pointer;
}
void unity_value_set_tools ( GValue *  value,
gpointer  v_object 
)

Definition at line 358 of file unity-lens-tools.c.

                                                              {
       UnityTools* old;
       g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TYPE_TOOLS));
       old = value->data[0].v_pointer;
       if (v_object) {
              g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, UNITY_TYPE_TOOLS));
              g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
              value->data[0].v_pointer = v_object;
              unity_tools_ref (value->data[0].v_pointer);
       } else {
              value->data[0].v_pointer = NULL;
       }
       if (old) {
              unity_tools_unref (old);
       }
}

Here is the call graph for this function:

void unity_value_take_tools ( GValue *  value,
gpointer  v_object 
)

Definition at line 376 of file unity-lens-tools.c.

                                                               {
       UnityTools* old;
       g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, UNITY_TYPE_TOOLS));
       old = value->data[0].v_pointer;
       if (v_object) {
              g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, UNITY_TYPE_TOOLS));
              g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
              value->data[0].v_pointer = v_object;
       } else {
              value->data[0].v_pointer = NULL;
       }
       if (old) {
              unity_tools_unref (old);
       }
}

Here is the call graph for this function:

static gchar* unity_value_tools_collect_value ( GValue *  value,
guint  n_collect_values,
GTypeCValue *  collect_values,
guint  collect_flags 
) [static]

Definition at line 309 of file unity-lens-tools.c.

                                                                                                                                        {
       if (collect_values[0].v_pointer) {
              UnityTools* object;
              object = collect_values[0].v_pointer;
              if (object->parent_instance.g_class == NULL) {
                     return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
              } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
                     return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
              }
              value->data[0].v_pointer = unity_tools_ref (object);
       } else {
              value->data[0].v_pointer = NULL;
       }
       return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_value_tools_copy_value ( const GValue *  src_value,
GValue *  dest_value 
) [static]

Definition at line 295 of file unity-lens-tools.c.

                                                                                       {
       if (src_value->data[0].v_pointer) {
              dest_value->data[0].v_pointer = unity_tools_ref (src_value->data[0].v_pointer);
       } else {
              dest_value->data[0].v_pointer = NULL;
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_value_tools_free_value ( GValue *  value) [static]

Definition at line 288 of file unity-lens-tools.c.

                                                         {
       if (value->data[0].v_pointer) {
              unity_tools_unref (value->data[0].v_pointer);
       }
}

Here is the call graph for this function:

Here is the caller graph for this function:

static void unity_value_tools_init ( GValue *  value) [static]

Definition at line 283 of file unity-lens-tools.c.

                                                   {
       value->data[0].v_pointer = NULL;
}

Here is the caller graph for this function:

static gchar* unity_value_tools_lcopy_value ( const GValue *  value,
guint  n_collect_values,
GTypeCValue *  collect_values,
guint  collect_flags 
) [static]

Definition at line 326 of file unity-lens-tools.c.

                                                                                                                                            {
       UnityTools** object_p;
       object_p = collect_values[0].v_pointer;
       if (!object_p) {
              return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
       }
       if (!value->data[0].v_pointer) {
              *object_p = NULL;
       } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
              *object_p = value->data[0].v_pointer;
       } else {
              *object_p = unity_tools_ref (value->data[0].v_pointer);
       }
       return NULL;
}

Here is the call graph for this function:

Here is the caller graph for this function:

static gpointer unity_value_tools_peek_pointer ( const GValue *  value) [static]

Definition at line 304 of file unity-lens-tools.c.

                                                                     {
       return value->data[0].v_pointer;
}

Here is the caller graph for this function:


Variable Documentation

gpointer unity_filters_synchronizer_parent_class = NULL [static]

Definition at line 136 of file unity-lens-tools.c.

gpointer unity_results_synchronizer_parent_class = NULL [static]

Definition at line 137 of file unity-lens-tools.c.

UnityMergeStrategyIface* unity_results_synchronizer_unity_merge_strategy_parent_iface = NULL [static]

Definition at line 138 of file unity-lens-tools.c.

gpointer unity_tools_parent_class = NULL [static]

Definition at line 135 of file unity-lens-tools.c.