From ab841afa5cb39058d9ab2cebb67cfe6369443f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 25 Jun 2018 20:55:59 +0200 Subject: New upstream version 0.28.3 --- src/core/Tracker.c | 1569 ++++++++++++++++++++++++++++------------------------ 1 file changed, 837 insertions(+), 732 deletions(-) (limited to 'src/core/Tracker.c') diff --git a/src/core/Tracker.c b/src/core/Tracker.c index ff1dc00..3e3aee8 100644 --- a/src/core/Tracker.c +++ b/src/core/Tracker.c @@ -1,4 +1,4 @@ -/* Tracker.c generated by valac 0.36.6, the Vala compiler +/* Tracker.c generated by valac 0.40.4, the Vala compiler * generated from Tracker.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -7,6 +7,7 @@ * (version 2.1 or later). See the COPYING file in this distribution. */ + #include #include #include @@ -67,9 +68,9 @@ typedef struct _DataCollectionClass DataCollectionClass; typedef struct _CoreParamSpecTracker CoreParamSpecTracker; enum { CORE_TRACKER_UPDATED_SIGNAL, - CORE_TRACKER_LAST_SIGNAL + CORE_TRACKER_NUM_SIGNALS }; -static guint core_tracker_signals[CORE_TRACKER_LAST_SIGNAL] = {0}; +static guint core_tracker_signals[CORE_TRACKER_NUM_SIGNALS] = {0}; #define CORE_TYPE_VIEW_TRACKER (core_view_tracker_get_type ()) #define CORE_VIEW_TRACKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CORE_TYPE_VIEW_TRACKER, CoreViewTracker)) @@ -112,6 +113,11 @@ typedef struct _ViewCollectionClass ViewCollectionClass; typedef struct _DataView DataView; typedef struct _DataViewClass DataViewClass; typedef struct _CoreViewTrackerMuxPrivate CoreViewTrackerMuxPrivate; +enum { + CORE_VIEW_TRACKER_MUX_0_PROPERTY, + CORE_VIEW_TRACKER_MUX_NUM_PROPERTIES +}; +static GParamSpec* core_view_tracker_mux_properties[CORE_VIEW_TRACKER_MUX_NUM_PROPERTIES]; #define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg); #define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; } #define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; } @@ -181,123 +187,193 @@ static CoreTrackerAccumulatorIface * core_view_tracker_mux_core_tracker_accumula GType data_object_get_type (void) G_GNUC_CONST; gpointer alteration_ref (gpointer instance); void alteration_unref (gpointer instance); -GParamSpec* param_spec_alteration (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); -void value_set_alteration (GValue* value, gpointer v_object); -void value_take_alteration (GValue* value, gpointer v_object); +GParamSpec* param_spec_alteration (const gchar* name, + const gchar* nick, + const gchar* blurb, + GType object_type, + GParamFlags flags); +void value_set_alteration (GValue* value, + gpointer v_object); +void value_take_alteration (GValue* value, + gpointer v_object); gpointer value_get_alteration (const GValue* value); GType alteration_get_type (void) G_GNUC_CONST; GType core_tracker_accumulator_get_type (void) G_GNUC_CONST; -gboolean core_tracker_accumulator_include (CoreTrackerAccumulator* self, DataObject* object); -gboolean core_tracker_accumulator_uninclude (CoreTrackerAccumulator* self, DataObject* object); -gboolean core_tracker_accumulator_altered (CoreTrackerAccumulator* self, DataObject* object, Alteration* alteration); +gboolean core_tracker_accumulator_include (CoreTrackerAccumulator* self, + DataObject* object); +gboolean core_tracker_accumulator_uninclude (CoreTrackerAccumulator* self, + DataObject* object); +gboolean core_tracker_accumulator_altered (CoreTrackerAccumulator* self, + DataObject* object, + Alteration* alteration); gpointer core_tracker_ref (gpointer instance); void core_tracker_unref (gpointer instance); -GParamSpec* core_param_spec_tracker (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); -void core_value_set_tracker (GValue* value, gpointer v_object); -void core_value_take_tracker (GValue* value, gpointer v_object); +GParamSpec* core_param_spec_tracker (const gchar* name, + const gchar* nick, + const gchar* blurb, + GType object_type, + GParamFlags flags); +void core_value_set_tracker (GValue* value, + gpointer v_object); +void core_value_take_tracker (GValue* value, + gpointer v_object); gpointer core_value_get_tracker (const GValue* value); GType core_tracker_get_type (void) G_GNUC_CONST; gpointer data_collection_ref (gpointer instance); void data_collection_unref (gpointer instance); -GParamSpec* param_spec_data_collection (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags); -void value_set_data_collection (GValue* value, gpointer v_object); -void value_take_data_collection (GValue* value, gpointer v_object); +GParamSpec* param_spec_data_collection (const gchar* name, + const gchar* nick, + const gchar* blurb, + GType object_type, + GParamFlags flags); +void value_set_data_collection (GValue* value, + gpointer v_object); +void value_take_data_collection (GValue* value, + gpointer v_object); gpointer value_get_data_collection (const GValue* value); GType data_collection_get_type (void) G_GNUC_CONST; #define CORE_TRACKER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), CORE_TYPE_TRACKER, CoreTrackerPrivate)) -enum { - CORE_TRACKER_DUMMY_PROPERTY -}; -static void core_tracker_on_items_added (CoreTracker* self, GeeIterable* added); -static void _core_tracker_on_items_added_data_collection_items_added (DataCollection* _sender, GeeIterable* added, gpointer self); -static void core_tracker_on_items_removed (CoreTracker* self, GeeIterable* removed); -static void _core_tracker_on_items_removed_data_collection_items_removed (DataCollection* _sender, GeeIterable* removed, gpointer self); -static void core_tracker_on_items_altered (CoreTracker* self, GeeMap* map); -static void _core_tracker_on_items_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self); -CoreTracker* core_tracker_new (DataCollection* collection, GeeCollection* initial); -CoreTracker* core_tracker_construct (GType object_type, DataCollection* collection, GeeCollection* initial); -void core_tracker_start (CoreTracker* self, CoreTrackerAccumulator* acc); +static void core_tracker_on_items_added (CoreTracker* self, + GeeIterable* added); +static void _core_tracker_on_items_added_data_collection_items_added (DataCollection* _sender, + GeeIterable* added, + gpointer self); +static void core_tracker_on_items_removed (CoreTracker* self, + GeeIterable* removed); +static void _core_tracker_on_items_removed_data_collection_items_removed (DataCollection* _sender, + GeeIterable* removed, + gpointer self); +static void core_tracker_on_items_altered (CoreTracker* self, + GeeMap* map); +static void _core_tracker_on_items_altered_data_collection_items_altered (DataCollection* _sender, + GeeMap* items, + gpointer self); +CoreTracker* core_tracker_new (DataCollection* collection, + GeeCollection* initial); +CoreTracker* core_tracker_construct (GType object_type, + DataCollection* collection, + GeeCollection* initial); +void core_tracker_start (CoreTracker* self, + CoreTrackerAccumulator* acc); GeeCollection* data_collection_get_all (DataCollection* self); DataCollection* core_tracker_get_collection (CoreTracker* self); -void core_tracker_include_uninclude (CoreTracker* self, GeeIterable* objects, CoreTrackerIncludeUnincludeObject cb, void* cb_target); -static gboolean _core_tracker_accumulator_include_core_tracker_include_uninclude_object (DataObject* object, gpointer self); -static gboolean _core_tracker_accumulator_uninclude_core_tracker_include_uninclude_object (DataObject* object, gpointer self); +void core_tracker_include_uninclude (CoreTracker* self, + GeeIterable* objects, + CoreTrackerIncludeUnincludeObject cb, + void* cb_target); +static gboolean _core_tracker_accumulator_include_core_tracker_include_uninclude_object (DataObject* object, + gpointer self); +static gboolean _core_tracker_accumulator_uninclude_core_tracker_include_uninclude_object (DataObject* object, + gpointer self); static void core_tracker_real_updated (CoreTracker* self); static void core_tracker_finalize (CoreTracker * obj); GType core_view_tracker_get_type (void) G_GNUC_CONST; static GType core_view_tracker_mux_get_type (void) G_GNUC_CONST G_GNUC_UNUSED; #define CORE_VIEW_TRACKER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), CORE_TYPE_VIEW_TRACKER, CoreViewTrackerPrivate)) -enum { - CORE_VIEW_TRACKER_DUMMY_PROPERTY -}; GType view_collection_get_type (void) G_GNUC_CONST; GType data_view_get_type (void) G_GNUC_CONST; -static void core_view_tracker_on_items_shown (CoreViewTracker* self, GeeCollection* shown); -static void _core_view_tracker_on_items_shown_view_collection_items_shown (ViewCollection* _sender, GeeCollection* visible, gpointer self); -static void core_view_tracker_on_items_hidden (CoreViewTracker* self, GeeCollection* hidden); -static void _core_view_tracker_on_items_hidden_view_collection_items_hidden (ViewCollection* _sender, GeeCollection* hidden, gpointer self); -static void core_view_tracker_on_items_selected (CoreViewTracker* self, GeeIterable* selected); -static void _core_view_tracker_on_items_selected_view_collection_items_selected (ViewCollection* _sender, GeeIterable* selected, gpointer self); -static void core_view_tracker_on_items_unselected (CoreViewTracker* self, GeeIterable* unselected); -static void _core_view_tracker_on_items_unselected_view_collection_items_unselected (ViewCollection* _sender, GeeIterable* unselected, gpointer self); +static void core_view_tracker_on_items_shown (CoreViewTracker* self, + GeeCollection* shown); +static void _core_view_tracker_on_items_shown_view_collection_items_shown (ViewCollection* _sender, + GeeCollection* visible, + gpointer self); +static void core_view_tracker_on_items_hidden (CoreViewTracker* self, + GeeCollection* hidden); +static void _core_view_tracker_on_items_hidden_view_collection_items_hidden (ViewCollection* _sender, + GeeCollection* hidden, + gpointer self); +static void core_view_tracker_on_items_selected (CoreViewTracker* self, + GeeIterable* selected); +static void _core_view_tracker_on_items_selected_view_collection_items_selected (ViewCollection* _sender, + GeeIterable* selected, + gpointer self); +static void core_view_tracker_on_items_unselected (CoreViewTracker* self, + GeeIterable* unselected); +static void _core_view_tracker_on_items_unselected_view_collection_items_unselected (ViewCollection* _sender, + GeeIterable* unselected, + gpointer self); CoreViewTracker* core_view_tracker_new (ViewCollection* collection); -CoreViewTracker* core_view_tracker_construct (GType object_type, ViewCollection* collection); +CoreViewTracker* core_view_tracker_construct (GType object_type, + ViewCollection* collection); GeeCollection* view_collection_get_all_unfiltered (ViewCollection* self); -void core_view_tracker_start (CoreViewTracker* self, CoreTrackerAccumulator* all, CoreTrackerAccumulator* visible, CoreTrackerAccumulator* selected); -static CoreViewTrackerMux* core_view_tracker_mux_new (CoreTrackerAccumulator* all, CoreTrackerAccumulator* visible, CoreTrackerAccumulator* selected); -static CoreViewTrackerMux* core_view_tracker_mux_construct (GType object_type, CoreTrackerAccumulator* all, CoreTrackerAccumulator* visible, CoreTrackerAccumulator* selected); -enum { - CORE_VIEW_TRACKER_MUX_DUMMY_PROPERTY -}; -static gboolean core_view_tracker_mux_real_include (CoreTrackerAccumulator* base, DataObject* object); +void core_view_tracker_start (CoreViewTracker* self, + CoreTrackerAccumulator* all, + CoreTrackerAccumulator* visible, + CoreTrackerAccumulator* selected); +static CoreViewTrackerMux* core_view_tracker_mux_new (CoreTrackerAccumulator* all, + CoreTrackerAccumulator* visible, + CoreTrackerAccumulator* selected); +static CoreViewTrackerMux* core_view_tracker_mux_construct (GType object_type, + CoreTrackerAccumulator* all, + CoreTrackerAccumulator* visible, + CoreTrackerAccumulator* selected); +static gboolean core_view_tracker_mux_real_include (CoreTrackerAccumulator* base, + DataObject* object); gboolean data_view_is_visible (DataView* self); gboolean data_view_is_selected (DataView* self); -static gboolean core_view_tracker_mux_real_uninclude (CoreTrackerAccumulator* base, DataObject* object); -static gboolean core_view_tracker_mux_real_altered (CoreTrackerAccumulator* base, DataObject* object, Alteration* alteration); +static gboolean core_view_tracker_mux_real_uninclude (CoreTrackerAccumulator* base, + DataObject* object); +static gboolean core_view_tracker_mux_real_altered (CoreTrackerAccumulator* base, + DataObject* object, + Alteration* alteration); static void core_view_tracker_mux_finalize (GObject * obj); static void core_view_tracker_finalize (CoreTracker * obj); -gboolean core_tracker_accumulator_include (CoreTrackerAccumulator* self, DataObject* object) { +gboolean +core_tracker_accumulator_include (CoreTrackerAccumulator* self, + DataObject* object) +{ #line 13 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail (CORE_IS_TRACKER_ACCUMULATOR (self), FALSE); #line 13 "/home/jens/Source/shotwell/src/core/Tracker.vala" return CORE_TRACKER_ACCUMULATOR_GET_INTERFACE (self)->include (self, object); -#line 267 "Tracker.c" +#line 332 "Tracker.c" } -gboolean core_tracker_accumulator_uninclude (CoreTrackerAccumulator* self, DataObject* object) { +gboolean +core_tracker_accumulator_uninclude (CoreTrackerAccumulator* self, + DataObject* object) +{ #line 15 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail (CORE_IS_TRACKER_ACCUMULATOR (self), FALSE); #line 15 "/home/jens/Source/shotwell/src/core/Tracker.vala" return CORE_TRACKER_ACCUMULATOR_GET_INTERFACE (self)->uninclude (self, object); -#line 276 "Tracker.c" +#line 344 "Tracker.c" } -gboolean core_tracker_accumulator_altered (CoreTrackerAccumulator* self, DataObject* object, Alteration* alteration) { +gboolean +core_tracker_accumulator_altered (CoreTrackerAccumulator* self, + DataObject* object, + Alteration* alteration) +{ #line 17 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail (CORE_IS_TRACKER_ACCUMULATOR (self), FALSE); #line 17 "/home/jens/Source/shotwell/src/core/Tracker.vala" return CORE_TRACKER_ACCUMULATOR_GET_INTERFACE (self)->altered (self, object, alteration); -#line 285 "Tracker.c" +#line 357 "Tracker.c" } -static void core_tracker_accumulator_base_init (CoreTrackerAccumulatorIface * iface) { +static void +core_tracker_accumulator_base_init (CoreTrackerAccumulatorIface * iface) +{ #line 12 "/home/jens/Source/shotwell/src/core/Tracker.vala" static gboolean initialized = FALSE; #line 12 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (!initialized) { #line 12 "/home/jens/Source/shotwell/src/core/Tracker.vala" initialized = TRUE; -#line 296 "Tracker.c" +#line 370 "Tracker.c" } } -GType core_tracker_accumulator_get_type (void) { +GType +core_tracker_accumulator_get_type (void) +{ static volatile gsize core_tracker_accumulator_type_id__volatile = 0; if (g_once_init_enter (&core_tracker_accumulator_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (CoreTrackerAccumulatorIface), (GBaseInitFunc) core_tracker_accumulator_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL }; @@ -310,47 +386,65 @@ GType core_tracker_accumulator_get_type (void) { } -static void _core_tracker_on_items_added_data_collection_items_added (DataCollection* _sender, GeeIterable* added, gpointer self) { +static void +_core_tracker_on_items_added_data_collection_items_added (DataCollection* _sender, + GeeIterable* added, + gpointer self) +{ #line 40 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_tracker_on_items_added ((CoreTracker*) self, added); -#line 317 "Tracker.c" +#line 397 "Tracker.c" } -static void _core_tracker_on_items_removed_data_collection_items_removed (DataCollection* _sender, GeeIterable* removed, gpointer self) { +static void +_core_tracker_on_items_removed_data_collection_items_removed (DataCollection* _sender, + GeeIterable* removed, + gpointer self) +{ #line 41 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_tracker_on_items_removed ((CoreTracker*) self, removed); -#line 324 "Tracker.c" +#line 408 "Tracker.c" } -static void _core_tracker_on_items_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) { +static void +_core_tracker_on_items_altered_data_collection_items_altered (DataCollection* _sender, + GeeMap* items, + gpointer self) +{ #line 42 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_tracker_on_items_altered ((CoreTracker*) self, items); -#line 331 "Tracker.c" +#line 419 "Tracker.c" } -static gpointer _data_collection_ref0 (gpointer self) { +static gpointer +_data_collection_ref0 (gpointer self) +{ #line 34 "/home/jens/Source/shotwell/src/core/Tracker.vala" return self ? data_collection_ref (self) : NULL; -#line 338 "Tracker.c" +#line 428 "Tracker.c" } -static gpointer _g_object_ref0 (gpointer self) { +static gpointer +_g_object_ref0 (gpointer self) +{ #line 35 "/home/jens/Source/shotwell/src/core/Tracker.vala" return self ? g_object_ref (self) : NULL; -#line 345 "Tracker.c" +#line 437 "Tracker.c" } -CoreTracker* core_tracker_construct (GType object_type, DataCollection* collection, GeeCollection* initial) { +CoreTracker* +core_tracker_construct (GType object_type, + DataCollection* collection, + GeeCollection* initial) +{ CoreTracker* self = NULL; DataCollection* _tmp0_; - DataCollection* _tmp1_; - GeeCollection* _tmp2_; - GeeCollection* _tmp3_; + GeeCollection* _tmp1_; #line 33 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail (IS_DATA_COLLECTION (collection), NULL); #line 33 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -358,43 +452,44 @@ CoreTracker* core_tracker_construct (GType object_type, DataCollection* collecti #line 33 "/home/jens/Source/shotwell/src/core/Tracker.vala" self = (CoreTracker*) g_type_create_instance (object_type); #line 34 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp0_ = collection; -#line 34 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = _data_collection_ref0 (_tmp0_); + _tmp0_ = _data_collection_ref0 (collection); #line 34 "/home/jens/Source/shotwell/src/core/Tracker.vala" _data_collection_unref0 (self->priv->collection); #line 34 "/home/jens/Source/shotwell/src/core/Tracker.vala" - self->priv->collection = _tmp1_; -#line 35 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = initial; + self->priv->collection = _tmp0_; #line 35 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = _g_object_ref0 (_tmp2_); + _tmp1_ = _g_object_ref0 (initial); #line 35 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (self->priv->initial); #line 35 "/home/jens/Source/shotwell/src/core/Tracker.vala" - self->priv->initial = _tmp3_; + self->priv->initial = _tmp1_; #line 33 "/home/jens/Source/shotwell/src/core/Tracker.vala" return self; -#line 379 "Tracker.c" +#line 469 "Tracker.c" } -CoreTracker* core_tracker_new (DataCollection* collection, GeeCollection* initial) { +CoreTracker* +core_tracker_new (DataCollection* collection, + GeeCollection* initial) +{ #line 33 "/home/jens/Source/shotwell/src/core/Tracker.vala" return core_tracker_construct (CORE_TYPE_TRACKER, collection, initial); -#line 386 "Tracker.c" +#line 479 "Tracker.c" } -void core_tracker_start (CoreTracker* self, CoreTrackerAccumulator* acc) { +void +core_tracker_start (CoreTracker* self, + CoreTrackerAccumulator* acc) +{ CoreTrackerAccumulator* _tmp0_; CoreTrackerAccumulator* _tmp1_; - CoreTrackerAccumulator* _tmp2_; + DataCollection* _tmp2_; DataCollection* _tmp3_; DataCollection* _tmp4_; - DataCollection* _tmp5_; - gboolean _tmp6_ = FALSE; - GeeCollection* _tmp7_; + gboolean _tmp5_ = FALSE; + GeeCollection* _tmp6_; #line 46 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (CORE_IS_TRACKER (self)); #line 46 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -404,88 +499,88 @@ void core_tracker_start (CoreTracker* self, CoreTrackerAccumulator* acc) { #line 48 "/home/jens/Source/shotwell/src/core/Tracker.vala" _vala_assert (_tmp0_ == NULL, "this.acc == null"); #line 50 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = acc; -#line 50 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = _g_object_ref0 (_tmp1_); + _tmp1_ = _g_object_ref0 (acc); #line 50 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (self->priv->acc); #line 50 "/home/jens/Source/shotwell/src/core/Tracker.vala" - self->priv->acc = _tmp2_; + self->priv->acc = _tmp1_; #line 52 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = self->priv->collection; + _tmp2_ = self->priv->collection; #line 52 "/home/jens/Source/shotwell/src/core/Tracker.vala" - g_signal_connect (_tmp3_, "items-added", (GCallback) _core_tracker_on_items_added_data_collection_items_added, self); + g_signal_connect (_tmp2_, "items-added", (GCallback) _core_tracker_on_items_added_data_collection_items_added, self); #line 53 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = self->priv->collection; + _tmp3_ = self->priv->collection; #line 53 "/home/jens/Source/shotwell/src/core/Tracker.vala" - g_signal_connect (_tmp4_, "items-removed", (GCallback) _core_tracker_on_items_removed_data_collection_items_removed, self); + g_signal_connect (_tmp3_, "items-removed", (GCallback) _core_tracker_on_items_removed_data_collection_items_removed, self); #line 54 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp5_ = self->priv->collection; + _tmp4_ = self->priv->collection; #line 54 "/home/jens/Source/shotwell/src/core/Tracker.vala" - g_signal_connect (_tmp5_, "items-altered", (GCallback) _core_tracker_on_items_altered_data_collection_items_altered, self); + g_signal_connect (_tmp4_, "items-altered", (GCallback) _core_tracker_on_items_altered_data_collection_items_altered, self); #line 56 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp7_ = self->priv->initial; + _tmp6_ = self->priv->initial; #line 56 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp7_ != NULL) { -#line 431 "Tracker.c" - GeeCollection* _tmp8_; + if (_tmp6_ != NULL) { +#line 524 "Tracker.c" + GeeCollection* _tmp7_; + gint _tmp8_; gint _tmp9_; - gint _tmp10_; #line 56 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp8_ = self->priv->initial; + _tmp7_ = self->priv->initial; #line 56 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp9_ = gee_collection_get_size (_tmp8_); + _tmp8_ = gee_collection_get_size (_tmp7_); #line 56 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp10_ = _tmp9_; + _tmp9_ = _tmp8_; #line 56 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp6_ = _tmp10_ > 0; -#line 443 "Tracker.c" + _tmp5_ = _tmp9_ > 0; +#line 536 "Tracker.c" } else { #line 56 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp6_ = FALSE; -#line 447 "Tracker.c" + _tmp5_ = FALSE; +#line 540 "Tracker.c" } #line 56 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp6_) { -#line 451 "Tracker.c" - GeeCollection* _tmp11_; + if (_tmp5_) { +#line 544 "Tracker.c" + GeeCollection* _tmp10_; #line 57 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp11_ = self->priv->initial; + _tmp10_ = self->priv->initial; #line 57 "/home/jens/Source/shotwell/src/core/Tracker.vala" - core_tracker_on_items_added (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 457 "Tracker.c" + core_tracker_on_items_added (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ITERABLE, GeeIterable)); +#line 550 "Tracker.c" } else { - GeeCollection* _tmp12_; + GeeCollection* _tmp11_; #line 58 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp12_ = self->priv->initial; + _tmp11_ = self->priv->initial; #line 58 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp12_ == NULL) { -#line 464 "Tracker.c" - DataCollection* _tmp13_; + if (_tmp11_ == NULL) { +#line 557 "Tracker.c" + DataCollection* _tmp12_; + GeeCollection* _tmp13_; GeeCollection* _tmp14_; - GeeCollection* _tmp15_; #line 59 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp13_ = self->priv->collection; + _tmp12_ = self->priv->collection; #line 59 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp14_ = data_collection_get_all (_tmp13_); + _tmp13_ = data_collection_get_all (_tmp12_); #line 59 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp15_ = _tmp14_; + _tmp14_ = _tmp13_; #line 59 "/home/jens/Source/shotwell/src/core/Tracker.vala" - core_tracker_on_items_added (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GEE_TYPE_ITERABLE, GeeIterable)); + core_tracker_on_items_added (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_ITERABLE, GeeIterable)); #line 59 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _g_object_unref0 (_tmp15_); -#line 478 "Tracker.c" + _g_object_unref0 (_tmp14_); +#line 571 "Tracker.c" } } #line 61 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (self->priv->initial); #line 61 "/home/jens/Source/shotwell/src/core/Tracker.vala" self->priv->initial = NULL; -#line 485 "Tracker.c" +#line 578 "Tracker.c" } -DataCollection* core_tracker_get_collection (CoreTracker* self) { +DataCollection* +core_tracker_get_collection (CoreTracker* self) +{ DataCollection* result = NULL; DataCollection* _tmp0_; DataCollection* _tmp1_; @@ -499,374 +594,388 @@ DataCollection* core_tracker_get_collection (CoreTracker* self) { result = _tmp1_; #line 65 "/home/jens/Source/shotwell/src/core/Tracker.vala" return result; -#line 503 "Tracker.c" +#line 598 "Tracker.c" } -static gboolean _core_tracker_accumulator_include_core_tracker_include_uninclude_object (DataObject* object, gpointer self) { +static gboolean +_core_tracker_accumulator_include_core_tracker_include_uninclude_object (DataObject* object, + gpointer self) +{ gboolean result; result = core_tracker_accumulator_include ((CoreTrackerAccumulator*) self, object); #line 69 "/home/jens/Source/shotwell/src/core/Tracker.vala" return result; -#line 512 "Tracker.c" +#line 610 "Tracker.c" } -static void core_tracker_on_items_added (CoreTracker* self, GeeIterable* added) { - GeeIterable* _tmp0_; - CoreTrackerAccumulator* _tmp1_; +static void +core_tracker_on_items_added (CoreTracker* self, + GeeIterable* added) +{ + CoreTrackerAccumulator* _tmp0_; #line 68 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (CORE_IS_TRACKER (self)); #line 68 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (GEE_IS_ITERABLE (added)); #line 69 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp0_ = added; -#line 69 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = self->priv->acc; + _tmp0_ = self->priv->acc; #line 69 "/home/jens/Source/shotwell/src/core/Tracker.vala" - core_tracker_include_uninclude (self, _tmp0_, _core_tracker_accumulator_include_core_tracker_include_uninclude_object, _tmp1_); -#line 529 "Tracker.c" + core_tracker_include_uninclude (self, added, _core_tracker_accumulator_include_core_tracker_include_uninclude_object, _tmp0_); +#line 627 "Tracker.c" } -static gboolean _core_tracker_accumulator_uninclude_core_tracker_include_uninclude_object (DataObject* object, gpointer self) { +static gboolean +_core_tracker_accumulator_uninclude_core_tracker_include_uninclude_object (DataObject* object, + gpointer self) +{ gboolean result; result = core_tracker_accumulator_uninclude ((CoreTrackerAccumulator*) self, object); #line 73 "/home/jens/Source/shotwell/src/core/Tracker.vala" return result; -#line 538 "Tracker.c" +#line 639 "Tracker.c" } -static void core_tracker_on_items_removed (CoreTracker* self, GeeIterable* removed) { - GeeIterable* _tmp0_; - CoreTrackerAccumulator* _tmp1_; +static void +core_tracker_on_items_removed (CoreTracker* self, + GeeIterable* removed) +{ + CoreTrackerAccumulator* _tmp0_; #line 72 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (CORE_IS_TRACKER (self)); #line 72 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (GEE_IS_ITERABLE (removed)); #line 73 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp0_ = removed; -#line 73 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = self->priv->acc; + _tmp0_ = self->priv->acc; #line 73 "/home/jens/Source/shotwell/src/core/Tracker.vala" - core_tracker_include_uninclude (self, _tmp0_, _core_tracker_accumulator_uninclude_core_tracker_include_uninclude_object, _tmp1_); -#line 555 "Tracker.c" + core_tracker_include_uninclude (self, removed, _core_tracker_accumulator_uninclude_core_tracker_include_uninclude_object, _tmp0_); +#line 656 "Tracker.c" } -void core_tracker_include_uninclude (CoreTracker* self, GeeIterable* objects, CoreTrackerIncludeUnincludeObject cb, void* cb_target) { +void +core_tracker_include_uninclude (CoreTracker* self, + GeeIterable* objects, + CoreTrackerIncludeUnincludeObject cb, + void* cb_target) +{ gboolean fire_updated = FALSE; - gboolean _tmp11_; + gboolean _tmp7_; #line 77 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (CORE_IS_TRACKER (self)); #line 77 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (GEE_IS_ITERABLE (objects)); #line 78 "/home/jens/Source/shotwell/src/core/Tracker.vala" fire_updated = FALSE; -#line 568 "Tracker.c" +#line 674 "Tracker.c" { GeeIterator* _object_it = NULL; - GeeIterable* _tmp0_; - GeeIterator* _tmp1_; -#line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp0_ = objects; + GeeIterator* _tmp0_; #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = gee_iterable_iterator (_tmp0_); + _tmp0_ = gee_iterable_iterator (objects); #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _object_it = _tmp1_; + _object_it = _tmp0_; #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" while (TRUE) { -#line 581 "Tracker.c" - GeeIterator* _tmp2_; - gboolean _tmp3_; +#line 684 "Tracker.c" + GeeIterator* _tmp1_; DataObject* object = NULL; - GeeIterator* _tmp4_; - gpointer _tmp5_; - gboolean _tmp6_ = FALSE; - CoreTrackerIncludeUnincludeObject _tmp7_; - void* _tmp7__target; - DataObject* _tmp8_; - gboolean _tmp9_; -#line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = _object_it; + GeeIterator* _tmp2_; + gpointer _tmp3_; + gboolean _tmp4_ = FALSE; + DataObject* _tmp5_; #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = gee_iterator_next (_tmp2_); + _tmp1_ = _object_it; #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (!_tmp3_) { + if (!gee_iterator_next (_tmp1_)) { #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" break; -#line 600 "Tracker.c" +#line 697 "Tracker.c" } #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = _object_it; + _tmp2_ = _object_it; #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp5_ = gee_iterator_get (_tmp4_); + _tmp3_ = gee_iterator_get (_tmp2_); #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" - object = (DataObject*) _tmp5_; -#line 80 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp7_ = cb; -#line 80 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp7__target = cb_target; + object = (DataObject*) _tmp3_; #line 80 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp8_ = object; + _tmp5_ = object; #line 80 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp9_ = _tmp7_ (_tmp8_, _tmp7__target); + if (cb (_tmp5_, cb_target)) { #line 80 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp9_) { -#line 80 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp6_ = TRUE; -#line 620 "Tracker.c" + _tmp4_ = TRUE; +#line 711 "Tracker.c" } else { - gboolean _tmp10_; + gboolean _tmp6_; #line 80 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp10_ = fire_updated; + _tmp6_ = fire_updated; #line 80 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp6_ = _tmp10_; -#line 627 "Tracker.c" + _tmp4_ = _tmp6_; +#line 718 "Tracker.c" } #line 80 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp6_; + fire_updated = _tmp4_; #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (object); -#line 633 "Tracker.c" +#line 724 "Tracker.c" } #line 79 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (_object_it); -#line 637 "Tracker.c" +#line 728 "Tracker.c" } #line 82 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp11_ = fire_updated; + _tmp7_ = fire_updated; #line 82 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp11_) { + if (_tmp7_) { #line 83 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_signal_emit (self, core_tracker_signals[CORE_TRACKER_UPDATED_SIGNAL], 0); -#line 645 "Tracker.c" +#line 736 "Tracker.c" } } -static void core_tracker_on_items_altered (CoreTracker* self, GeeMap* map) { +static void +core_tracker_on_items_altered (CoreTracker* self, + GeeMap* map) +{ gboolean fire_updated = FALSE; - gboolean _tmp20_; + gboolean _tmp16_; #line 86 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (CORE_IS_TRACKER (self)); #line 86 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (GEE_IS_MAP (map)); #line 87 "/home/jens/Source/shotwell/src/core/Tracker.vala" fire_updated = FALSE; -#line 659 "Tracker.c" +#line 753 "Tracker.c" { GeeIterator* _object_it = NULL; - GeeMap* _tmp0_; + GeeSet* _tmp0_; GeeSet* _tmp1_; GeeSet* _tmp2_; - GeeSet* _tmp3_; + GeeIterator* _tmp3_; GeeIterator* _tmp4_; - GeeIterator* _tmp5_; #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp0_ = map; + _tmp0_ = gee_map_get_keys (map); #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = gee_map_get_keys (_tmp0_); + _tmp1_ = _tmp0_; #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" _tmp2_ = _tmp1_; #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = _tmp2_; -#line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable)); + _tmp3_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ITERABLE, GeeIterable)); #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp5_ = _tmp4_; + _tmp4_ = _tmp3_; #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _g_object_unref0 (_tmp3_); + _g_object_unref0 (_tmp2_); #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _object_it = _tmp5_; + _object_it = _tmp4_; #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" while (TRUE) { -#line 686 "Tracker.c" - GeeIterator* _tmp6_; - gboolean _tmp7_; +#line 777 "Tracker.c" + GeeIterator* _tmp5_; DataObject* object = NULL; - GeeIterator* _tmp8_; - gpointer _tmp9_; - gboolean _tmp10_ = FALSE; - CoreTrackerAccumulator* _tmp11_; - DataObject* _tmp12_; - GeeMap* _tmp13_; - DataObject* _tmp14_; - gpointer _tmp15_; - Alteration* _tmp16_; - gboolean _tmp17_; - gboolean _tmp18_; -#line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp6_ = _object_it; + GeeIterator* _tmp6_; + gpointer _tmp7_; + gboolean _tmp8_ = FALSE; + CoreTrackerAccumulator* _tmp9_; + DataObject* _tmp10_; + DataObject* _tmp11_; + gpointer _tmp12_; + Alteration* _tmp13_; + gboolean _tmp14_; #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp7_ = gee_iterator_next (_tmp6_); + _tmp5_ = _object_it; #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (!_tmp7_) { + if (!gee_iterator_next (_tmp5_)) { #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" break; -#line 709 "Tracker.c" +#line 795 "Tracker.c" } #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp8_ = _object_it; + _tmp6_ = _object_it; #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp9_ = gee_iterator_get (_tmp8_); + _tmp7_ = gee_iterator_get (_tmp6_); #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" - object = (DataObject*) _tmp9_; -#line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp11_ = self->priv->acc; + object = (DataObject*) _tmp7_; #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp12_ = object; + _tmp9_ = self->priv->acc; #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp13_ = map; + _tmp10_ = object; #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp14_ = object; + _tmp11_ = object; #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp15_ = gee_map_get (_tmp13_, _tmp14_); + _tmp12_ = gee_map_get (map, _tmp11_); #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp16_ = (Alteration*) _tmp15_; + _tmp13_ = (Alteration*) _tmp12_; #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp17_ = core_tracker_accumulator_altered (_tmp11_, _tmp12_, _tmp16_); + _tmp14_ = core_tracker_accumulator_altered (_tmp9_, _tmp10_, _tmp13_); #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp18_ = _tmp17_; + _alteration_unref0 (_tmp13_); #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _alteration_unref0 (_tmp16_); + if (_tmp14_) { #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp18_) { -#line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp10_ = TRUE; -#line 739 "Tracker.c" + _tmp8_ = TRUE; +#line 821 "Tracker.c" } else { - gboolean _tmp19_; + gboolean _tmp15_; #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp19_ = fire_updated; + _tmp15_ = fire_updated; #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp10_ = _tmp19_; -#line 746 "Tracker.c" + _tmp8_ = _tmp15_; +#line 828 "Tracker.c" } #line 89 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp10_; + fire_updated = _tmp8_; #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (object); -#line 752 "Tracker.c" +#line 834 "Tracker.c" } #line 88 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (_object_it); -#line 756 "Tracker.c" +#line 838 "Tracker.c" } #line 91 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp20_ = fire_updated; + _tmp16_ = fire_updated; #line 91 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp20_) { + if (_tmp16_) { #line 92 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_signal_emit (self, core_tracker_signals[CORE_TRACKER_UPDATED_SIGNAL], 0); -#line 764 "Tracker.c" +#line 846 "Tracker.c" } } -static void core_tracker_real_updated (CoreTracker* self) { +static void +core_tracker_real_updated (CoreTracker* self) +{ } -static void core_value_tracker_init (GValue* value) { +static void +core_value_tracker_init (GValue* value) +{ #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" value->data[0].v_pointer = NULL; -#line 776 "Tracker.c" +#line 862 "Tracker.c" } -static void core_value_tracker_free_value (GValue* value) { +static void +core_value_tracker_free_value (GValue* value) +{ #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (value->data[0].v_pointer) { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_tracker_unref (value->data[0].v_pointer); -#line 785 "Tracker.c" +#line 873 "Tracker.c" } } -static void core_value_tracker_copy_value (const GValue* src_value, GValue* dest_value) { +static void +core_value_tracker_copy_value (const GValue* src_value, + GValue* dest_value) +{ #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (src_value->data[0].v_pointer) { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" dest_value->data[0].v_pointer = core_tracker_ref (src_value->data[0].v_pointer); -#line 795 "Tracker.c" +#line 886 "Tracker.c" } else { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" dest_value->data[0].v_pointer = NULL; -#line 799 "Tracker.c" +#line 890 "Tracker.c" } } -static gpointer core_value_tracker_peek_pointer (const GValue* value) { +static gpointer +core_value_tracker_peek_pointer (const GValue* value) +{ #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" return value->data[0].v_pointer; -#line 807 "Tracker.c" +#line 900 "Tracker.c" } -static gchar* core_value_tracker_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { +static gchar* +core_value_tracker_collect_value (GValue* value, + guint n_collect_values, + GTypeCValue* collect_values, + guint collect_flags) +{ #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (collect_values[0].v_pointer) { -#line 814 "Tracker.c" +#line 912 "Tracker.c" CoreTracker * object; object = collect_values[0].v_pointer; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (object->parent_instance.g_class == NULL) { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 821 "Tracker.c" +#line 919 "Tracker.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 825 "Tracker.c" +#line 923 "Tracker.c" } #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" value->data[0].v_pointer = core_tracker_ref (object); -#line 829 "Tracker.c" +#line 927 "Tracker.c" } else { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" value->data[0].v_pointer = NULL; -#line 833 "Tracker.c" +#line 931 "Tracker.c" } #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" return NULL; -#line 837 "Tracker.c" +#line 935 "Tracker.c" } -static gchar* core_value_tracker_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { +static gchar* +core_value_tracker_lcopy_value (const GValue* value, + guint n_collect_values, + GTypeCValue* collect_values, + guint collect_flags) +{ CoreTracker ** object_p; object_p = collect_values[0].v_pointer; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (!object_p) { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 848 "Tracker.c" +#line 951 "Tracker.c" } #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (!value->data[0].v_pointer) { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" *object_p = NULL; -#line 854 "Tracker.c" +#line 957 "Tracker.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" *object_p = value->data[0].v_pointer; -#line 858 "Tracker.c" +#line 961 "Tracker.c" } else { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" *object_p = core_tracker_ref (value->data[0].v_pointer); -#line 862 "Tracker.c" +#line 965 "Tracker.c" } #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" return NULL; -#line 866 "Tracker.c" +#line 969 "Tracker.c" } -GParamSpec* core_param_spec_tracker (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { +GParamSpec* +core_param_spec_tracker (const gchar* name, + const gchar* nick, + const gchar* blurb, + GType object_type, + GParamFlags flags) +{ CoreParamSpecTracker* spec; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail (g_type_is_a (object_type, CORE_TYPE_TRACKER), NULL); @@ -876,20 +985,25 @@ GParamSpec* core_param_spec_tracker (const gchar* name, const gchar* nick, const G_PARAM_SPEC (spec)->value_type = object_type; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" return G_PARAM_SPEC (spec); -#line 880 "Tracker.c" +#line 989 "Tracker.c" } -gpointer core_value_get_tracker (const GValue* value) { +gpointer +core_value_get_tracker (const GValue* value) +{ #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, CORE_TYPE_TRACKER), NULL); #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" return value->data[0].v_pointer; -#line 889 "Tracker.c" +#line 1000 "Tracker.c" } -void core_value_set_tracker (GValue* value, gpointer v_object) { +void +core_value_set_tracker (GValue* value, + gpointer v_object) +{ CoreTracker * old; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, CORE_TYPE_TRACKER)); @@ -905,22 +1019,25 @@ void core_value_set_tracker (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_tracker_ref (value->data[0].v_pointer); -#line 909 "Tracker.c" +#line 1023 "Tracker.c" } else { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" value->data[0].v_pointer = NULL; -#line 913 "Tracker.c" +#line 1027 "Tracker.c" } #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (old) { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_tracker_unref (old); -#line 919 "Tracker.c" +#line 1033 "Tracker.c" } } -void core_value_take_tracker (GValue* value, gpointer v_object) { +void +core_value_take_tracker (GValue* value, + gpointer v_object) +{ CoreTracker * old; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, CORE_TYPE_TRACKER)); @@ -934,22 +1051,24 @@ void core_value_take_tracker (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" value->data[0].v_pointer = v_object; -#line 938 "Tracker.c" +#line 1055 "Tracker.c" } else { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" value->data[0].v_pointer = NULL; -#line 942 "Tracker.c" +#line 1059 "Tracker.c" } #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (old) { #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_tracker_unref (old); -#line 948 "Tracker.c" +#line 1065 "Tracker.c" } } -static void core_tracker_class_init (CoreTrackerClass * klass) { +static void +core_tracker_class_init (CoreTrackerClass * klass) +{ #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_tracker_parent_class = g_type_class_peek_parent (klass); #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -960,22 +1079,26 @@ static void core_tracker_class_init (CoreTrackerClass * klass) { ((CoreTrackerClass *) klass)->updated = core_tracker_real_updated; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_tracker_signals[CORE_TRACKER_UPDATED_SIGNAL] = g_signal_new ("updated", CORE_TYPE_TRACKER, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (CoreTrackerClass, updated), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 964 "Tracker.c" +#line 1083 "Tracker.c" } -static void core_tracker_instance_init (CoreTracker * self) { +static void +core_tracker_instance_init (CoreTracker * self) +{ #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" self->priv = CORE_TRACKER_GET_PRIVATE (self); #line 28 "/home/jens/Source/shotwell/src/core/Tracker.vala" self->priv->acc = NULL; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" self->ref_count = 1; -#line 975 "Tracker.c" +#line 1096 "Tracker.c" } -static void core_tracker_finalize (CoreTracker * obj) { +static void +core_tracker_finalize (CoreTracker * obj) +{ CoreTracker * self; CoreTrackerAccumulator* _tmp0_; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -986,7 +1109,7 @@ static void core_tracker_finalize (CoreTracker * obj) { _tmp0_ = self->priv->acc; #line 39 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (_tmp0_ != NULL) { -#line 990 "Tracker.c" +#line 1113 "Tracker.c" DataCollection* _tmp1_; guint _tmp2_; DataCollection* _tmp3_; @@ -1011,7 +1134,7 @@ static void core_tracker_finalize (CoreTracker * obj) { g_signal_parse_name ("items-altered", TYPE_DATA_COLLECTION, &_tmp6_, NULL, FALSE); #line 42 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_signal_handlers_disconnect_matched (_tmp5_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _core_tracker_on_items_altered_data_collection_items_altered, self); -#line 1015 "Tracker.c" +#line 1138 "Tracker.c" } #line 26 "/home/jens/Source/shotwell/src/core/Tracker.vala" _data_collection_unref0 (self->priv->collection); @@ -1019,11 +1142,13 @@ static void core_tracker_finalize (CoreTracker * obj) { _g_object_unref0 (self->priv->initial); #line 28 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (self->priv->acc); -#line 1023 "Tracker.c" +#line 1146 "Tracker.c" } -GType core_tracker_get_type (void) { +GType +core_tracker_get_type (void) +{ static volatile gsize core_tracker_type_id__volatile = 0; if (g_once_init_enter (&core_tracker_type_id__volatile)) { static const GTypeValueTable g_define_type_value_table = { core_value_tracker_init, core_value_tracker_free_value, core_value_tracker_copy_value, core_value_tracker_peek_pointer, "p", core_value_tracker_collect_value, "p", core_value_tracker_lcopy_value }; @@ -1037,18 +1162,22 @@ GType core_tracker_get_type (void) { } -gpointer core_tracker_ref (gpointer instance) { +gpointer +core_tracker_ref (gpointer instance) +{ CoreTracker * self; self = instance; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_atomic_int_inc (&self->ref_count); #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" return instance; -#line 1048 "Tracker.c" +#line 1175 "Tracker.c" } -void core_tracker_unref (gpointer instance) { +void +core_tracker_unref (gpointer instance) +{ CoreTracker * self; self = instance; #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1057,82 +1186,99 @@ void core_tracker_unref (gpointer instance) { CORE_TRACKER_GET_CLASS (self)->finalize (self); #line 23 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_type_free_instance ((GTypeInstance *) self); -#line 1061 "Tracker.c" +#line 1190 "Tracker.c" } } -static void _core_view_tracker_on_items_shown_view_collection_items_shown (ViewCollection* _sender, GeeCollection* visible, gpointer self) { +static void +_core_view_tracker_on_items_shown_view_collection_items_shown (ViewCollection* _sender, + GeeCollection* visible, + gpointer self) +{ #line 173 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_view_tracker_on_items_shown ((CoreViewTracker*) self, visible); -#line 1069 "Tracker.c" +#line 1202 "Tracker.c" } -static void _core_view_tracker_on_items_hidden_view_collection_items_hidden (ViewCollection* _sender, GeeCollection* hidden, gpointer self) { +static void +_core_view_tracker_on_items_hidden_view_collection_items_hidden (ViewCollection* _sender, + GeeCollection* hidden, + gpointer self) +{ #line 174 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_view_tracker_on_items_hidden ((CoreViewTracker*) self, hidden); -#line 1076 "Tracker.c" +#line 1213 "Tracker.c" } -static void _core_view_tracker_on_items_selected_view_collection_items_selected (ViewCollection* _sender, GeeIterable* selected, gpointer self) { +static void +_core_view_tracker_on_items_selected_view_collection_items_selected (ViewCollection* _sender, + GeeIterable* selected, + gpointer self) +{ #line 175 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_view_tracker_on_items_selected ((CoreViewTracker*) self, selected); -#line 1083 "Tracker.c" +#line 1224 "Tracker.c" } -static void _core_view_tracker_on_items_unselected_view_collection_items_unselected (ViewCollection* _sender, GeeIterable* unselected, gpointer self) { +static void +_core_view_tracker_on_items_unselected_view_collection_items_unselected (ViewCollection* _sender, + GeeIterable* unselected, + gpointer self) +{ #line 176 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_view_tracker_on_items_unselected ((CoreViewTracker*) self, unselected); -#line 1090 "Tracker.c" +#line 1235 "Tracker.c" } -CoreViewTracker* core_view_tracker_construct (GType object_type, ViewCollection* collection) { +CoreViewTracker* +core_view_tracker_construct (GType object_type, + ViewCollection* collection) +{ CoreViewTracker* self = NULL; - ViewCollection* _tmp0_; - ViewCollection* _tmp1_; - GeeCollection* _tmp2_; - GeeCollection* _tmp3_; + GeeCollection* _tmp0_; + GeeCollection* _tmp1_; #line 165 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail (IS_VIEW_COLLECTION (collection), NULL); #line 166 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp0_ = collection; -#line 166 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = collection; -#line 166 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = view_collection_get_all_unfiltered (_tmp1_); + _tmp0_ = view_collection_get_all_unfiltered (collection); #line 166 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = _tmp2_; + _tmp1_ = _tmp0_; #line 166 "/home/jens/Source/shotwell/src/core/Tracker.vala" - self = (CoreViewTracker*) core_tracker_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection), _tmp3_); + self = (CoreViewTracker*) core_tracker_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (collection, TYPE_DATA_COLLECTION, DataCollection), _tmp1_); #line 166 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _g_object_unref0 (_tmp3_); + _g_object_unref0 (_tmp1_); #line 165 "/home/jens/Source/shotwell/src/core/Tracker.vala" return self; -#line 1116 "Tracker.c" +#line 1258 "Tracker.c" } -CoreViewTracker* core_view_tracker_new (ViewCollection* collection) { +CoreViewTracker* +core_view_tracker_new (ViewCollection* collection) +{ #line 165 "/home/jens/Source/shotwell/src/core/Tracker.vala" return core_view_tracker_construct (CORE_TYPE_VIEW_TRACKER, collection); -#line 1123 "Tracker.c" +#line 1267 "Tracker.c" } -void core_view_tracker_start (CoreViewTracker* self, CoreTrackerAccumulator* all, CoreTrackerAccumulator* visible, CoreTrackerAccumulator* selected) { +void +core_view_tracker_start (CoreViewTracker* self, + CoreTrackerAccumulator* all, + CoreTrackerAccumulator* visible, + CoreTrackerAccumulator* selected) +{ CoreViewTrackerMux* _tmp0_; - CoreTrackerAccumulator* _tmp1_; - CoreTrackerAccumulator* _tmp2_; - CoreTrackerAccumulator* _tmp3_; - CoreViewTrackerMux* _tmp4_; + CoreViewTrackerMux* _tmp1_; ViewCollection* collection = NULL; - DataCollection* _tmp5_; - ViewCollection* _tmp6_; - CoreViewTrackerMux* _tmp7_; + DataCollection* _tmp2_; + ViewCollection* _tmp3_; + CoreViewTrackerMux* _tmp4_; #line 180 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_if_fail (CORE_IS_VIEW_TRACKER (self)); #line 180 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1146,29 +1292,23 @@ void core_view_tracker_start (CoreViewTracker* self, CoreTrackerAccumulator* all #line 181 "/home/jens/Source/shotwell/src/core/Tracker.vala" _vala_assert (_tmp0_ == NULL, "mux == null"); #line 183 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = all; -#line 183 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = visible; -#line 183 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = selected; -#line 183 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = core_view_tracker_mux_new (_tmp1_, _tmp2_, _tmp3_); + _tmp1_ = core_view_tracker_mux_new (all, visible, selected); #line 183 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (self->priv->mux); #line 183 "/home/jens/Source/shotwell/src/core/Tracker.vala" - self->priv->mux = _tmp4_; + self->priv->mux = _tmp1_; #line 185 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp5_ = core_tracker_get_collection (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker)); + _tmp2_ = core_tracker_get_collection (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker)); #line 185 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp6_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, TYPE_VIEW_COLLECTION) ? ((ViewCollection*) _tmp5_) : NULL; + _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, TYPE_VIEW_COLLECTION) ? ((ViewCollection*) _tmp2_) : NULL; #line 185 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp6_ == NULL) { + if (_tmp3_ == NULL) { #line 185 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _data_collection_unref0 (_tmp5_); -#line 1169 "Tracker.c" + _data_collection_unref0 (_tmp2_); +#line 1309 "Tracker.c" } #line 185 "/home/jens/Source/shotwell/src/core/Tracker.vala" - collection = _tmp6_; + collection = _tmp3_; #line 186 "/home/jens/Source/shotwell/src/core/Tracker.vala" _vala_assert (collection != NULL, "collection != null"); #line 187 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1180,16 +1320,19 @@ void core_view_tracker_start (CoreViewTracker* self, CoreTrackerAccumulator* all #line 190 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_signal_connect (collection, "items-unselected", (GCallback) _core_view_tracker_on_items_unselected_view_collection_items_unselected, self); #line 192 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp7_ = self->priv->mux; + _tmp4_ = self->priv->mux; #line 192 "/home/jens/Source/shotwell/src/core/Tracker.vala" - core_tracker_start (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, CORE_TYPE_TRACKER_ACCUMULATOR, CoreTrackerAccumulator)); + core_tracker_start (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, CORE_TYPE_TRACKER_ACCUMULATOR, CoreTrackerAccumulator)); #line 180 "/home/jens/Source/shotwell/src/core/Tracker.vala" _data_collection_unref0 (collection); -#line 1189 "Tracker.c" +#line 1329 "Tracker.c" } -static void core_view_tracker_on_items_shown (CoreViewTracker* self, GeeCollection* shown) { +static void +core_view_tracker_on_items_shown (CoreViewTracker* self, + GeeCollection* shown) +{ CoreViewTrackerMux* _tmp0_; CoreTrackerAccumulator* _tmp1_; #line 195 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1202,24 +1345,24 @@ static void core_view_tracker_on_items_shown (CoreViewTracker* self, GeeCollecti _tmp1_ = _tmp0_->visible; #line 196 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (_tmp1_ != NULL) { -#line 1206 "Tracker.c" - GeeCollection* _tmp2_; - CoreViewTrackerMux* _tmp3_; - CoreTrackerAccumulator* _tmp4_; +#line 1349 "Tracker.c" + CoreViewTrackerMux* _tmp2_; + CoreTrackerAccumulator* _tmp3_; #line 197 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = shown; + _tmp2_ = self->priv->mux; #line 197 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = self->priv->mux; + _tmp3_ = _tmp2_->visible; #line 197 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = _tmp3_->visible; -#line 197 "/home/jens/Source/shotwell/src/core/Tracker.vala" - core_tracker_include_uninclude (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ITERABLE, GeeIterable), _core_tracker_accumulator_include_core_tracker_include_uninclude_object, _tmp4_); -#line 1218 "Tracker.c" + core_tracker_include_uninclude (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker), G_TYPE_CHECK_INSTANCE_CAST (shown, GEE_TYPE_ITERABLE, GeeIterable), _core_tracker_accumulator_include_core_tracker_include_uninclude_object, _tmp3_); +#line 1358 "Tracker.c" } } -static void core_view_tracker_on_items_hidden (CoreViewTracker* self, GeeCollection* hidden) { +static void +core_view_tracker_on_items_hidden (CoreViewTracker* self, + GeeCollection* hidden) +{ CoreViewTrackerMux* _tmp0_; CoreTrackerAccumulator* _tmp1_; #line 200 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1232,24 +1375,24 @@ static void core_view_tracker_on_items_hidden (CoreViewTracker* self, GeeCollect _tmp1_ = _tmp0_->visible; #line 201 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (_tmp1_ != NULL) { -#line 1236 "Tracker.c" - GeeCollection* _tmp2_; - CoreViewTrackerMux* _tmp3_; - CoreTrackerAccumulator* _tmp4_; -#line 202 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = hidden; +#line 1379 "Tracker.c" + CoreViewTrackerMux* _tmp2_; + CoreTrackerAccumulator* _tmp3_; #line 202 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = self->priv->mux; + _tmp2_ = self->priv->mux; #line 202 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = _tmp3_->visible; + _tmp3_ = _tmp2_->visible; #line 202 "/home/jens/Source/shotwell/src/core/Tracker.vala" - core_tracker_include_uninclude (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ITERABLE, GeeIterable), _core_tracker_accumulator_uninclude_core_tracker_include_uninclude_object, _tmp4_); -#line 1248 "Tracker.c" + core_tracker_include_uninclude (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker), G_TYPE_CHECK_INSTANCE_CAST (hidden, GEE_TYPE_ITERABLE, GeeIterable), _core_tracker_accumulator_uninclude_core_tracker_include_uninclude_object, _tmp3_); +#line 1388 "Tracker.c" } } -static void core_view_tracker_on_items_selected (CoreViewTracker* self, GeeIterable* selected) { +static void +core_view_tracker_on_items_selected (CoreViewTracker* self, + GeeIterable* selected) +{ CoreViewTrackerMux* _tmp0_; CoreTrackerAccumulator* _tmp1_; #line 205 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1262,24 +1405,24 @@ static void core_view_tracker_on_items_selected (CoreViewTracker* self, GeeItera _tmp1_ = _tmp0_->selected; #line 206 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (_tmp1_ != NULL) { -#line 1266 "Tracker.c" - GeeIterable* _tmp2_; - CoreViewTrackerMux* _tmp3_; - CoreTrackerAccumulator* _tmp4_; -#line 207 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = selected; +#line 1409 "Tracker.c" + CoreViewTrackerMux* _tmp2_; + CoreTrackerAccumulator* _tmp3_; #line 207 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = self->priv->mux; + _tmp2_ = self->priv->mux; #line 207 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = _tmp3_->selected; + _tmp3_ = _tmp2_->selected; #line 207 "/home/jens/Source/shotwell/src/core/Tracker.vala" - core_tracker_include_uninclude (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker), _tmp2_, _core_tracker_accumulator_include_core_tracker_include_uninclude_object, _tmp4_); -#line 1278 "Tracker.c" + core_tracker_include_uninclude (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker), selected, _core_tracker_accumulator_include_core_tracker_include_uninclude_object, _tmp3_); +#line 1418 "Tracker.c" } } -static void core_view_tracker_on_items_unselected (CoreViewTracker* self, GeeIterable* unselected) { +static void +core_view_tracker_on_items_unselected (CoreViewTracker* self, + GeeIterable* unselected) +{ CoreViewTrackerMux* _tmp0_; CoreTrackerAccumulator* _tmp1_; #line 210 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1292,31 +1435,30 @@ static void core_view_tracker_on_items_unselected (CoreViewTracker* self, GeeIte _tmp1_ = _tmp0_->selected; #line 211 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (_tmp1_ != NULL) { -#line 1296 "Tracker.c" - GeeIterable* _tmp2_; - CoreViewTrackerMux* _tmp3_; - CoreTrackerAccumulator* _tmp4_; -#line 212 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = unselected; +#line 1439 "Tracker.c" + CoreViewTrackerMux* _tmp2_; + CoreTrackerAccumulator* _tmp3_; #line 212 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = self->priv->mux; + _tmp2_ = self->priv->mux; #line 212 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = _tmp3_->selected; + _tmp3_ = _tmp2_->selected; #line 212 "/home/jens/Source/shotwell/src/core/Tracker.vala" - core_tracker_include_uninclude (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker), _tmp2_, _core_tracker_accumulator_uninclude_core_tracker_include_uninclude_object, _tmp4_); -#line 1308 "Tracker.c" + core_tracker_include_uninclude (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_TRACKER, CoreTracker), unselected, _core_tracker_accumulator_uninclude_core_tracker_include_uninclude_object, _tmp3_); +#line 1448 "Tracker.c" } } -static CoreViewTrackerMux* core_view_tracker_mux_construct (GType object_type, CoreTrackerAccumulator* all, CoreTrackerAccumulator* visible, CoreTrackerAccumulator* selected) { +static CoreViewTrackerMux* +core_view_tracker_mux_construct (GType object_type, + CoreTrackerAccumulator* all, + CoreTrackerAccumulator* visible, + CoreTrackerAccumulator* selected) +{ CoreViewTrackerMux * self = NULL; CoreTrackerAccumulator* _tmp0_; CoreTrackerAccumulator* _tmp1_; CoreTrackerAccumulator* _tmp2_; - CoreTrackerAccumulator* _tmp3_; - CoreTrackerAccumulator* _tmp4_; - CoreTrackerAccumulator* _tmp5_; #line 105 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail ((all == NULL) || CORE_IS_TRACKER_ACCUMULATOR (all), NULL); #line 105 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1326,195 +1468,178 @@ static CoreViewTrackerMux* core_view_tracker_mux_construct (GType object_type, C #line 105 "/home/jens/Source/shotwell/src/core/Tracker.vala" self = (CoreViewTrackerMux*) g_object_new (object_type, NULL); #line 106 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp0_ = all; -#line 106 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = _g_object_ref0 (_tmp0_); + _tmp0_ = _g_object_ref0 (all); #line 106 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (self->all); #line 106 "/home/jens/Source/shotwell/src/core/Tracker.vala" - self->all = _tmp1_; + self->all = _tmp0_; #line 107 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = visible; -#line 107 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = _g_object_ref0 (_tmp2_); + _tmp1_ = _g_object_ref0 (visible); #line 107 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (self->visible); #line 107 "/home/jens/Source/shotwell/src/core/Tracker.vala" - self->visible = _tmp3_; -#line 108 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = selected; + self->visible = _tmp1_; #line 108 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp5_ = _g_object_ref0 (_tmp4_); + _tmp2_ = _g_object_ref0 (selected); #line 108 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (self->selected); #line 108 "/home/jens/Source/shotwell/src/core/Tracker.vala" - self->selected = _tmp5_; + self->selected = _tmp2_; #line 105 "/home/jens/Source/shotwell/src/core/Tracker.vala" return self; -#line 1355 "Tracker.c" +#line 1491 "Tracker.c" } -static CoreViewTrackerMux* core_view_tracker_mux_new (CoreTrackerAccumulator* all, CoreTrackerAccumulator* visible, CoreTrackerAccumulator* selected) { +static CoreViewTrackerMux* +core_view_tracker_mux_new (CoreTrackerAccumulator* all, + CoreTrackerAccumulator* visible, + CoreTrackerAccumulator* selected) +{ #line 105 "/home/jens/Source/shotwell/src/core/Tracker.vala" return core_view_tracker_mux_construct (CORE_VIEW_TRACKER_TYPE_MUX, all, visible, selected); -#line 1362 "Tracker.c" +#line 1502 "Tracker.c" } -static gboolean core_view_tracker_mux_real_include (CoreTrackerAccumulator* base, DataObject* object) { +static gboolean +core_view_tracker_mux_real_include (CoreTrackerAccumulator* base, + DataObject* object) +{ CoreViewTrackerMux * self; gboolean result = FALSE; DataView* view = NULL; - DataObject* _tmp0_; - DataView* _tmp1_; + DataView* _tmp0_; gboolean fire_updated = FALSE; - CoreTrackerAccumulator* _tmp2_; - gboolean _tmp8_ = FALSE; - CoreTrackerAccumulator* _tmp9_; - gboolean _tmp17_ = FALSE; - CoreTrackerAccumulator* _tmp18_; + CoreTrackerAccumulator* _tmp1_; + gboolean _tmp6_ = FALSE; + CoreTrackerAccumulator* _tmp7_; + gboolean _tmp13_ = FALSE; + CoreTrackerAccumulator* _tmp14_; #line 111 "/home/jens/Source/shotwell/src/core/Tracker.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, CORE_VIEW_TRACKER_TYPE_MUX, CoreViewTrackerMux); #line 111 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail (IS_DATA_OBJECT (object), FALSE); #line 112 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp0_ = object; + _tmp0_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_DATA_VIEW, DataView)); #line 112 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_VIEW, DataView)); -#line 112 "/home/jens/Source/shotwell/src/core/Tracker.vala" - view = _tmp1_; + view = _tmp0_; #line 114 "/home/jens/Source/shotwell/src/core/Tracker.vala" fire_updated = FALSE; #line 116 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = self->all; + _tmp1_ = self->all; #line 116 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp2_ != NULL) { -#line 1394 "Tracker.c" - gboolean _tmp3_ = FALSE; - CoreTrackerAccumulator* _tmp4_; - DataView* _tmp5_; - gboolean _tmp6_; -#line 117 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = self->all; + if (_tmp1_ != NULL) { +#line 1534 "Tracker.c" + gboolean _tmp2_ = FALSE; + CoreTrackerAccumulator* _tmp3_; + DataView* _tmp4_; #line 117 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp5_ = view; + _tmp3_ = self->all; #line 117 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp6_ = core_tracker_accumulator_include (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_OBJECT, DataObject)); + _tmp4_ = view; #line 117 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp6_) { + if (core_tracker_accumulator_include (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_OBJECT, DataObject))) { #line 117 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = TRUE; -#line 1409 "Tracker.c" + _tmp2_ = TRUE; +#line 1546 "Tracker.c" } else { - gboolean _tmp7_; + gboolean _tmp5_; #line 117 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp7_ = fire_updated; + _tmp5_ = fire_updated; #line 117 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = _tmp7_; -#line 1416 "Tracker.c" + _tmp2_ = _tmp5_; +#line 1553 "Tracker.c" } #line 117 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp3_; -#line 1420 "Tracker.c" + fire_updated = _tmp2_; +#line 1557 "Tracker.c" } #line 119 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp9_ = self->visible; -#line 119 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp9_ != NULL) { -#line 1426 "Tracker.c" - DataView* _tmp10_; - gboolean _tmp11_; + _tmp7_ = self->visible; #line 119 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp10_ = view; + if (_tmp7_ != NULL) { +#line 1563 "Tracker.c" + DataView* _tmp8_; #line 119 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp11_ = data_view_is_visible (_tmp10_); + _tmp8_ = view; #line 119 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp8_ = _tmp11_; -#line 1435 "Tracker.c" + _tmp6_ = data_view_is_visible (_tmp8_); +#line 1569 "Tracker.c" } else { #line 119 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp8_ = FALSE; -#line 1439 "Tracker.c" + _tmp6_ = FALSE; +#line 1573 "Tracker.c" } #line 119 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp8_) { -#line 1443 "Tracker.c" - gboolean _tmp12_ = FALSE; - CoreTrackerAccumulator* _tmp13_; - DataView* _tmp14_; - gboolean _tmp15_; -#line 120 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp13_ = self->visible; + if (_tmp6_) { +#line 1577 "Tracker.c" + gboolean _tmp9_ = FALSE; + CoreTrackerAccumulator* _tmp10_; + DataView* _tmp11_; #line 120 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp14_ = view; + _tmp10_ = self->visible; #line 120 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp15_ = core_tracker_accumulator_include (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_OBJECT, DataObject)); + _tmp11_ = view; #line 120 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp15_) { + if (core_tracker_accumulator_include (_tmp10_, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_OBJECT, DataObject))) { #line 120 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp12_ = TRUE; -#line 1458 "Tracker.c" + _tmp9_ = TRUE; +#line 1589 "Tracker.c" } else { - gboolean _tmp16_; + gboolean _tmp12_; #line 120 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp16_ = fire_updated; + _tmp12_ = fire_updated; #line 120 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp12_ = _tmp16_; -#line 1465 "Tracker.c" + _tmp9_ = _tmp12_; +#line 1596 "Tracker.c" } #line 120 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp12_; -#line 1469 "Tracker.c" + fire_updated = _tmp9_; +#line 1600 "Tracker.c" } #line 122 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp18_ = self->selected; + _tmp14_ = self->selected; #line 122 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp18_ != NULL) { -#line 1475 "Tracker.c" - DataView* _tmp19_; - gboolean _tmp20_; -#line 122 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp19_ = view; + if (_tmp14_ != NULL) { +#line 1606 "Tracker.c" + DataView* _tmp15_; #line 122 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp20_ = data_view_is_selected (_tmp19_); + _tmp15_ = view; #line 122 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp17_ = _tmp20_; -#line 1484 "Tracker.c" + _tmp13_ = data_view_is_selected (_tmp15_); +#line 1612 "Tracker.c" } else { #line 122 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp17_ = FALSE; -#line 1488 "Tracker.c" + _tmp13_ = FALSE; +#line 1616 "Tracker.c" } #line 122 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp17_) { -#line 1492 "Tracker.c" - gboolean _tmp21_ = FALSE; - CoreTrackerAccumulator* _tmp22_; - DataView* _tmp23_; - gboolean _tmp24_; -#line 123 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp22_ = self->selected; + if (_tmp13_) { +#line 1620 "Tracker.c" + gboolean _tmp16_ = FALSE; + CoreTrackerAccumulator* _tmp17_; + DataView* _tmp18_; #line 123 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp23_ = view; + _tmp17_ = self->selected; #line 123 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp24_ = core_tracker_accumulator_include (_tmp22_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_DATA_OBJECT, DataObject)); + _tmp18_ = view; #line 123 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp24_) { + if (core_tracker_accumulator_include (_tmp17_, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_OBJECT, DataObject))) { #line 123 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp21_ = TRUE; -#line 1507 "Tracker.c" + _tmp16_ = TRUE; +#line 1632 "Tracker.c" } else { - gboolean _tmp25_; + gboolean _tmp19_; #line 123 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp25_ = fire_updated; + _tmp19_ = fire_updated; #line 123 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp21_ = _tmp25_; -#line 1514 "Tracker.c" + _tmp16_ = _tmp19_; +#line 1639 "Tracker.c" } #line 123 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp21_; -#line 1518 "Tracker.c" + fire_updated = _tmp16_; +#line 1643 "Tracker.c" } #line 125 "/home/jens/Source/shotwell/src/core/Tracker.vala" result = fire_updated; @@ -1522,163 +1647,148 @@ static gboolean core_view_tracker_mux_real_include (CoreTrackerAccumulator* base _g_object_unref0 (view); #line 125 "/home/jens/Source/shotwell/src/core/Tracker.vala" return result; -#line 1526 "Tracker.c" +#line 1651 "Tracker.c" } -static gboolean core_view_tracker_mux_real_uninclude (CoreTrackerAccumulator* base, DataObject* object) { +static gboolean +core_view_tracker_mux_real_uninclude (CoreTrackerAccumulator* base, + DataObject* object) +{ CoreViewTrackerMux * self; gboolean result = FALSE; DataView* view = NULL; - DataObject* _tmp0_; - DataView* _tmp1_; + DataView* _tmp0_; gboolean fire_updated = FALSE; - CoreTrackerAccumulator* _tmp2_; - gboolean _tmp8_ = FALSE; - CoreTrackerAccumulator* _tmp9_; - gboolean _tmp17_ = FALSE; - CoreTrackerAccumulator* _tmp18_; + CoreTrackerAccumulator* _tmp1_; + gboolean _tmp6_ = FALSE; + CoreTrackerAccumulator* _tmp7_; + gboolean _tmp13_ = FALSE; + CoreTrackerAccumulator* _tmp14_; #line 128 "/home/jens/Source/shotwell/src/core/Tracker.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, CORE_VIEW_TRACKER_TYPE_MUX, CoreViewTrackerMux); #line 128 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail (IS_DATA_OBJECT (object), FALSE); #line 129 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp0_ = object; -#line 129 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_VIEW, DataView)); + _tmp0_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_DATA_VIEW, DataView)); #line 129 "/home/jens/Source/shotwell/src/core/Tracker.vala" - view = _tmp1_; + view = _tmp0_; #line 131 "/home/jens/Source/shotwell/src/core/Tracker.vala" fire_updated = FALSE; #line 133 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = self->all; + _tmp1_ = self->all; #line 133 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp2_ != NULL) { -#line 1558 "Tracker.c" - gboolean _tmp3_ = FALSE; - CoreTrackerAccumulator* _tmp4_; - DataView* _tmp5_; - gboolean _tmp6_; -#line 134 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = self->all; + if (_tmp1_ != NULL) { +#line 1683 "Tracker.c" + gboolean _tmp2_ = FALSE; + CoreTrackerAccumulator* _tmp3_; + DataView* _tmp4_; #line 134 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp5_ = view; + _tmp3_ = self->all; #line 134 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp6_ = core_tracker_accumulator_uninclude (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_OBJECT, DataObject)); + _tmp4_ = view; #line 134 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp6_) { + if (core_tracker_accumulator_uninclude (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_OBJECT, DataObject))) { #line 134 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = TRUE; -#line 1573 "Tracker.c" + _tmp2_ = TRUE; +#line 1695 "Tracker.c" } else { - gboolean _tmp7_; + gboolean _tmp5_; #line 134 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp7_ = fire_updated; + _tmp5_ = fire_updated; #line 134 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = _tmp7_; -#line 1580 "Tracker.c" + _tmp2_ = _tmp5_; +#line 1702 "Tracker.c" } #line 134 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp3_; -#line 1584 "Tracker.c" + fire_updated = _tmp2_; +#line 1706 "Tracker.c" } #line 136 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp9_ = self->visible; + _tmp7_ = self->visible; #line 136 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp9_ != NULL) { -#line 1590 "Tracker.c" - DataView* _tmp10_; - gboolean _tmp11_; -#line 136 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp10_ = view; + if (_tmp7_ != NULL) { +#line 1712 "Tracker.c" + DataView* _tmp8_; #line 136 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp11_ = data_view_is_visible (_tmp10_); + _tmp8_ = view; #line 136 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp8_ = _tmp11_; -#line 1599 "Tracker.c" + _tmp6_ = data_view_is_visible (_tmp8_); +#line 1718 "Tracker.c" } else { #line 136 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp8_ = FALSE; -#line 1603 "Tracker.c" + _tmp6_ = FALSE; +#line 1722 "Tracker.c" } #line 136 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp8_) { -#line 1607 "Tracker.c" - gboolean _tmp12_ = FALSE; - CoreTrackerAccumulator* _tmp13_; - DataView* _tmp14_; - gboolean _tmp15_; -#line 137 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp13_ = self->visible; + if (_tmp6_) { +#line 1726 "Tracker.c" + gboolean _tmp9_ = FALSE; + CoreTrackerAccumulator* _tmp10_; + DataView* _tmp11_; #line 137 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp14_ = view; + _tmp10_ = self->visible; #line 137 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp15_ = core_tracker_accumulator_uninclude (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_OBJECT, DataObject)); + _tmp11_ = view; #line 137 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp15_) { + if (core_tracker_accumulator_uninclude (_tmp10_, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_OBJECT, DataObject))) { #line 137 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp12_ = TRUE; -#line 1622 "Tracker.c" + _tmp9_ = TRUE; +#line 1738 "Tracker.c" } else { - gboolean _tmp16_; + gboolean _tmp12_; #line 137 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp16_ = fire_updated; + _tmp12_ = fire_updated; #line 137 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp12_ = _tmp16_; -#line 1629 "Tracker.c" + _tmp9_ = _tmp12_; +#line 1745 "Tracker.c" } #line 137 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp12_; -#line 1633 "Tracker.c" + fire_updated = _tmp9_; +#line 1749 "Tracker.c" } #line 139 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp18_ = self->selected; -#line 139 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp18_ != NULL) { -#line 1639 "Tracker.c" - DataView* _tmp19_; - gboolean _tmp20_; + _tmp14_ = self->selected; #line 139 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp19_ = view; + if (_tmp14_ != NULL) { +#line 1755 "Tracker.c" + DataView* _tmp15_; #line 139 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp20_ = data_view_is_selected (_tmp19_); + _tmp15_ = view; #line 139 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp17_ = _tmp20_; -#line 1648 "Tracker.c" + _tmp13_ = data_view_is_selected (_tmp15_); +#line 1761 "Tracker.c" } else { #line 139 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp17_ = FALSE; -#line 1652 "Tracker.c" + _tmp13_ = FALSE; +#line 1765 "Tracker.c" } #line 139 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp17_) { -#line 1656 "Tracker.c" - gboolean _tmp21_ = FALSE; - CoreTrackerAccumulator* _tmp22_; - DataView* _tmp23_; - gboolean _tmp24_; + if (_tmp13_) { +#line 1769 "Tracker.c" + gboolean _tmp16_ = FALSE; + CoreTrackerAccumulator* _tmp17_; + DataView* _tmp18_; #line 140 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp22_ = self->selected; + _tmp17_ = self->selected; #line 140 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp23_ = view; + _tmp18_ = view; #line 140 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp24_ = core_tracker_accumulator_uninclude (_tmp22_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_DATA_OBJECT, DataObject)); + if (core_tracker_accumulator_uninclude (_tmp17_, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_OBJECT, DataObject))) { #line 140 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp24_) { -#line 140 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp21_ = TRUE; -#line 1671 "Tracker.c" + _tmp16_ = TRUE; +#line 1781 "Tracker.c" } else { - gboolean _tmp25_; + gboolean _tmp19_; #line 140 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp25_ = fire_updated; + _tmp19_ = fire_updated; #line 140 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp21_ = _tmp25_; -#line 1678 "Tracker.c" + _tmp16_ = _tmp19_; +#line 1788 "Tracker.c" } #line 140 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp21_; -#line 1682 "Tracker.c" + fire_updated = _tmp16_; +#line 1792 "Tracker.c" } #line 142 "/home/jens/Source/shotwell/src/core/Tracker.vala" result = fire_updated; @@ -1686,22 +1796,25 @@ static gboolean core_view_tracker_mux_real_uninclude (CoreTrackerAccumulator* ba _g_object_unref0 (view); #line 142 "/home/jens/Source/shotwell/src/core/Tracker.vala" return result; -#line 1690 "Tracker.c" +#line 1800 "Tracker.c" } -static gboolean core_view_tracker_mux_real_altered (CoreTrackerAccumulator* base, DataObject* object, Alteration* alteration) { +static gboolean +core_view_tracker_mux_real_altered (CoreTrackerAccumulator* base, + DataObject* object, + Alteration* alteration) +{ CoreViewTrackerMux * self; gboolean result = FALSE; DataView* view = NULL; - DataObject* _tmp0_; - DataView* _tmp1_; + DataView* _tmp0_; gboolean fire_updated = FALSE; - CoreTrackerAccumulator* _tmp2_; - gboolean _tmp9_ = FALSE; - CoreTrackerAccumulator* _tmp10_; - gboolean _tmp19_ = FALSE; - CoreTrackerAccumulator* _tmp20_; + CoreTrackerAccumulator* _tmp1_; + gboolean _tmp6_ = FALSE; + CoreTrackerAccumulator* _tmp7_; + gboolean _tmp13_ = FALSE; + CoreTrackerAccumulator* _tmp14_; #line 145 "/home/jens/Source/shotwell/src/core/Tracker.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, CORE_VIEW_TRACKER_TYPE_MUX, CoreViewTrackerMux); #line 145 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1709,151 +1822,125 @@ static gboolean core_view_tracker_mux_real_altered (CoreTrackerAccumulator* base #line 145 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_return_val_if_fail (IS_ALTERATION (alteration), FALSE); #line 146 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp0_ = object; -#line 146 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_VIEW, DataView)); + _tmp0_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_DATA_VIEW, DataView)); #line 146 "/home/jens/Source/shotwell/src/core/Tracker.vala" - view = _tmp1_; + view = _tmp0_; #line 148 "/home/jens/Source/shotwell/src/core/Tracker.vala" fire_updated = FALSE; #line 150 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp2_ = self->all; + _tmp1_ = self->all; #line 150 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp2_ != NULL) { -#line 1724 "Tracker.c" - gboolean _tmp3_ = FALSE; - CoreTrackerAccumulator* _tmp4_; - DataView* _tmp5_; - Alteration* _tmp6_; - gboolean _tmp7_; -#line 151 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp4_ = self->all; -#line 151 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp5_ = view; + if (_tmp1_ != NULL) { +#line 1835 "Tracker.c" + gboolean _tmp2_ = FALSE; + CoreTrackerAccumulator* _tmp3_; + DataView* _tmp4_; #line 151 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp6_ = alteration; + _tmp3_ = self->all; #line 151 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp7_ = core_tracker_accumulator_altered (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_OBJECT, DataObject), _tmp6_); + _tmp4_ = view; #line 151 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp7_) { + if (core_tracker_accumulator_altered (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_OBJECT, DataObject), alteration)) { #line 151 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = TRUE; -#line 1742 "Tracker.c" + _tmp2_ = TRUE; +#line 1847 "Tracker.c" } else { - gboolean _tmp8_; + gboolean _tmp5_; #line 151 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp8_ = fire_updated; + _tmp5_ = fire_updated; #line 151 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp3_ = _tmp8_; -#line 1749 "Tracker.c" + _tmp2_ = _tmp5_; +#line 1854 "Tracker.c" } #line 151 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp3_; -#line 1753 "Tracker.c" + fire_updated = _tmp2_; +#line 1858 "Tracker.c" } #line 153 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp10_ = self->visible; -#line 153 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp10_ != NULL) { -#line 1759 "Tracker.c" - DataView* _tmp11_; - gboolean _tmp12_; + _tmp7_ = self->visible; #line 153 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp11_ = view; + if (_tmp7_ != NULL) { +#line 1864 "Tracker.c" + DataView* _tmp8_; #line 153 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp12_ = data_view_is_visible (_tmp11_); + _tmp8_ = view; #line 153 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp9_ = _tmp12_; -#line 1768 "Tracker.c" + _tmp6_ = data_view_is_visible (_tmp8_); +#line 1870 "Tracker.c" } else { #line 153 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp9_ = FALSE; -#line 1772 "Tracker.c" + _tmp6_ = FALSE; +#line 1874 "Tracker.c" } #line 153 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp9_) { -#line 1776 "Tracker.c" - gboolean _tmp13_ = FALSE; - CoreTrackerAccumulator* _tmp14_; - DataView* _tmp15_; - Alteration* _tmp16_; - gboolean _tmp17_; -#line 154 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp14_ = self->visible; -#line 154 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp15_ = view; + if (_tmp6_) { +#line 1878 "Tracker.c" + gboolean _tmp9_ = FALSE; + CoreTrackerAccumulator* _tmp10_; + DataView* _tmp11_; #line 154 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp16_ = alteration; + _tmp10_ = self->visible; #line 154 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp17_ = core_tracker_accumulator_altered (_tmp14_, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_DATA_OBJECT, DataObject), _tmp16_); + _tmp11_ = view; #line 154 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp17_) { + if (core_tracker_accumulator_altered (_tmp10_, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_OBJECT, DataObject), alteration)) { #line 154 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp13_ = TRUE; -#line 1794 "Tracker.c" + _tmp9_ = TRUE; +#line 1890 "Tracker.c" } else { - gboolean _tmp18_; + gboolean _tmp12_; #line 154 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp18_ = fire_updated; + _tmp12_ = fire_updated; #line 154 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp13_ = _tmp18_; -#line 1801 "Tracker.c" + _tmp9_ = _tmp12_; +#line 1897 "Tracker.c" } #line 154 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp13_; -#line 1805 "Tracker.c" + fire_updated = _tmp9_; +#line 1901 "Tracker.c" } #line 156 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp20_ = self->selected; -#line 156 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp20_ != NULL) { -#line 1811 "Tracker.c" - DataView* _tmp21_; - gboolean _tmp22_; + _tmp14_ = self->selected; #line 156 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp21_ = view; + if (_tmp14_ != NULL) { +#line 1907 "Tracker.c" + DataView* _tmp15_; #line 156 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp22_ = data_view_is_selected (_tmp21_); + _tmp15_ = view; #line 156 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp19_ = _tmp22_; -#line 1820 "Tracker.c" + _tmp13_ = data_view_is_selected (_tmp15_); +#line 1913 "Tracker.c" } else { #line 156 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp19_ = FALSE; -#line 1824 "Tracker.c" + _tmp13_ = FALSE; +#line 1917 "Tracker.c" } #line 156 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp19_) { -#line 1828 "Tracker.c" - gboolean _tmp23_ = FALSE; - CoreTrackerAccumulator* _tmp24_; - DataView* _tmp25_; - Alteration* _tmp26_; - gboolean _tmp27_; + if (_tmp13_) { +#line 1921 "Tracker.c" + gboolean _tmp16_ = FALSE; + CoreTrackerAccumulator* _tmp17_; + DataView* _tmp18_; #line 157 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp24_ = self->selected; + _tmp17_ = self->selected; #line 157 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp25_ = view; + _tmp18_ = view; #line 157 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp26_ = alteration; + if (core_tracker_accumulator_altered (_tmp17_, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_OBJECT, DataObject), alteration)) { #line 157 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp27_ = core_tracker_accumulator_altered (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_DATA_OBJECT, DataObject), _tmp26_); -#line 157 "/home/jens/Source/shotwell/src/core/Tracker.vala" - if (_tmp27_) { -#line 157 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp23_ = TRUE; -#line 1846 "Tracker.c" + _tmp16_ = TRUE; +#line 1933 "Tracker.c" } else { - gboolean _tmp28_; + gboolean _tmp19_; #line 157 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp28_ = fire_updated; + _tmp19_ = fire_updated; #line 157 "/home/jens/Source/shotwell/src/core/Tracker.vala" - _tmp23_ = _tmp28_; -#line 1853 "Tracker.c" + _tmp16_ = _tmp19_; +#line 1940 "Tracker.c" } #line 157 "/home/jens/Source/shotwell/src/core/Tracker.vala" - fire_updated = _tmp23_; -#line 1857 "Tracker.c" + fire_updated = _tmp16_; +#line 1944 "Tracker.c" } #line 159 "/home/jens/Source/shotwell/src/core/Tracker.vala" result = fire_updated; @@ -1861,20 +1948,24 @@ static gboolean core_view_tracker_mux_real_altered (CoreTrackerAccumulator* base _g_object_unref0 (view); #line 159 "/home/jens/Source/shotwell/src/core/Tracker.vala" return result; -#line 1865 "Tracker.c" +#line 1952 "Tracker.c" } -static void core_view_tracker_mux_class_init (CoreViewTrackerMuxClass * klass) { +static void +core_view_tracker_mux_class_init (CoreViewTrackerMuxClass * klass) +{ #line 100 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_view_tracker_mux_parent_class = g_type_class_peek_parent (klass); #line 100 "/home/jens/Source/shotwell/src/core/Tracker.vala" G_OBJECT_CLASS (klass)->finalize = core_view_tracker_mux_finalize; -#line 1874 "Tracker.c" +#line 1963 "Tracker.c" } -static void core_view_tracker_mux_core_tracker_accumulator_interface_init (CoreTrackerAccumulatorIface * iface) { +static void +core_view_tracker_mux_core_tracker_accumulator_interface_init (CoreTrackerAccumulatorIface * iface) +{ #line 100 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_view_tracker_mux_core_tracker_accumulator_parent_iface = g_type_interface_peek_parent (iface); #line 100 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1883,15 +1974,19 @@ static void core_view_tracker_mux_core_tracker_accumulator_interface_init (CoreT iface->uninclude = (gboolean (*) (CoreTrackerAccumulator *, DataObject*)) core_view_tracker_mux_real_uninclude; #line 100 "/home/jens/Source/shotwell/src/core/Tracker.vala" iface->altered = (gboolean (*) (CoreTrackerAccumulator *, DataObject*, Alteration*)) core_view_tracker_mux_real_altered; -#line 1887 "Tracker.c" +#line 1978 "Tracker.c" } -static void core_view_tracker_mux_instance_init (CoreViewTrackerMux * self) { +static void +core_view_tracker_mux_instance_init (CoreViewTrackerMux * self) +{ } -static void core_view_tracker_mux_finalize (GObject * obj) { +static void +core_view_tracker_mux_finalize (GObject * obj) +{ CoreViewTrackerMux * self; #line 100 "/home/jens/Source/shotwell/src/core/Tracker.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, CORE_VIEW_TRACKER_TYPE_MUX, CoreViewTrackerMux); @@ -1903,11 +1998,13 @@ static void core_view_tracker_mux_finalize (GObject * obj) { _g_object_unref0 (self->selected); #line 100 "/home/jens/Source/shotwell/src/core/Tracker.vala" G_OBJECT_CLASS (core_view_tracker_mux_parent_class)->finalize (obj); -#line 1907 "Tracker.c" +#line 2002 "Tracker.c" } -static GType core_view_tracker_mux_get_type (void) { +static GType +core_view_tracker_mux_get_type (void) +{ static volatile gsize core_view_tracker_mux_type_id__volatile = 0; if (g_once_init_enter (&core_view_tracker_mux_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (CoreViewTrackerMuxClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) core_view_tracker_mux_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (CoreViewTrackerMux), 0, (GInstanceInitFunc) core_view_tracker_mux_instance_init, NULL }; @@ -1921,27 +2018,33 @@ static GType core_view_tracker_mux_get_type (void) { } -static void core_view_tracker_class_init (CoreViewTrackerClass * klass) { +static void +core_view_tracker_class_init (CoreViewTrackerClass * klass) +{ #line 99 "/home/jens/Source/shotwell/src/core/Tracker.vala" core_view_tracker_parent_class = g_type_class_peek_parent (klass); #line 99 "/home/jens/Source/shotwell/src/core/Tracker.vala" ((CoreTrackerClass *) klass)->finalize = core_view_tracker_finalize; #line 99 "/home/jens/Source/shotwell/src/core/Tracker.vala" g_type_class_add_private (klass, sizeof (CoreViewTrackerPrivate)); -#line 1932 "Tracker.c" +#line 2031 "Tracker.c" } -static void core_view_tracker_instance_init (CoreViewTracker * self) { +static void +core_view_tracker_instance_init (CoreViewTracker * self) +{ #line 99 "/home/jens/Source/shotwell/src/core/Tracker.vala" self->priv = CORE_VIEW_TRACKER_GET_PRIVATE (self); #line 163 "/home/jens/Source/shotwell/src/core/Tracker.vala" self->priv->mux = NULL; -#line 1941 "Tracker.c" +#line 2042 "Tracker.c" } -static void core_view_tracker_finalize (CoreTracker * obj) { +static void +core_view_tracker_finalize (CoreTracker * obj) +{ CoreViewTracker * self; CoreViewTrackerMux* _tmp0_; #line 99 "/home/jens/Source/shotwell/src/core/Tracker.vala" @@ -1950,7 +2053,7 @@ static void core_view_tracker_finalize (CoreTracker * obj) { _tmp0_ = self->priv->mux; #line 170 "/home/jens/Source/shotwell/src/core/Tracker.vala" if (_tmp0_ != NULL) { -#line 1954 "Tracker.c" +#line 2057 "Tracker.c" ViewCollection* collection = NULL; DataCollection* _tmp1_; ViewCollection* _tmp2_; @@ -1971,7 +2074,7 @@ static void core_view_tracker_finalize (CoreTracker * obj) { if (_tmp2_ == NULL) { #line 171 "/home/jens/Source/shotwell/src/core/Tracker.vala" _data_collection_unref0 (_tmp1_); -#line 1975 "Tracker.c" +#line 2078 "Tracker.c" } #line 171 "/home/jens/Source/shotwell/src/core/Tracker.vala" collection = _tmp2_; @@ -2005,17 +2108,19 @@ static void core_view_tracker_finalize (CoreTracker * obj) { g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _core_view_tracker_on_items_unselected_view_collection_items_unselected, self); #line 170 "/home/jens/Source/shotwell/src/core/Tracker.vala" _data_collection_unref0 (collection); -#line 2009 "Tracker.c" +#line 2112 "Tracker.c" } #line 163 "/home/jens/Source/shotwell/src/core/Tracker.vala" _g_object_unref0 (self->priv->mux); #line 99 "/home/jens/Source/shotwell/src/core/Tracker.vala" CORE_TRACKER_CLASS (core_view_tracker_parent_class)->finalize (obj); -#line 2015 "Tracker.c" +#line 2118 "Tracker.c" } -GType core_view_tracker_get_type (void) { +GType +core_view_tracker_get_type (void) +{ static volatile gsize core_view_tracker_type_id__volatile = 0; if (g_once_init_enter (&core_view_tracker_type_id__volatile)) { static const GTypeInfo g_define_type_info = { sizeof (CoreViewTrackerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) core_view_tracker_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (CoreViewTracker), 0, (GInstanceInitFunc) core_view_tracker_instance_init, NULL }; -- cgit v1.2.3