summaryrefslogtreecommitdiff
path: root/src/core/ViewCollection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ViewCollection.c')
-rw-r--r--src/core/ViewCollection.c2542
1 files changed, 1271 insertions, 1271 deletions
diff --git a/src/core/ViewCollection.c b/src/core/ViewCollection.c
index 597091c..7c35370 100644
--- a/src/core/ViewCollection.c
+++ b/src/core/ViewCollection.c
@@ -1,4 +1,4 @@
-/* ViewCollection.c generated by valac 0.32.1, the Vala compiler
+/* ViewCollection.c generated by valac 0.34.1, the Vala compiler
* generated from ViewCollection.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -4128,27 +4128,27 @@ static void view_collection_real_items_altered (DataCollection* base, GeeMap* ma
GeeMap* _tmp0_ = NULL;
GeeSet* _tmp1_ = NULL;
GeeSet* _tmp2_ = NULL;
- GeeSet* _tmp3_ = NULL;
+ GeeCollection* _tmp3_ = NULL;
GeeMap* _tmp4_ = NULL;
#line 648 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
#line 648 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (GEE_IS_MAP (map));
-#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = map;
-#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = gee_map_get_keys (_tmp0_);
-#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = _tmp1_;
-#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- _tmp3_ = _tmp2_;
-#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view_collection_filter_altered_items (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 649 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
+#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view_collection_filter_altered_items (self, _tmp3_);
+#line 650 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp3_);
-#line 651 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 652 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = map;
-#line 651 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 652 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
DATA_COLLECTION_CLASS (view_collection_parent_class)->items_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp4_);
#line 4153 "ViewCollection.c"
}
@@ -4166,23 +4166,23 @@ static void view_collection_real_set_comparator (DataCollection* base, Comparato
void* _tmp7__target = NULL;
ComparatorPredicate _tmp8_ = NULL;
void* _tmp8__target = NULL;
-#line 654 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
+#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->selected;
-#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = comparator;
-#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1__target = comparator_target;
-#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = predicate;
-#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2__target = predicate_target;
-#line 655 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- data_set_set_comparator (_tmp0_, _tmp1_, _tmp1__target, _tmp2_, _tmp2__target);
#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ data_set_set_comparator (_tmp0_, _tmp1_, _tmp1__target, _tmp2_, _tmp2__target);
+#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = self->priv->visible;
-#line 656 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp3_ != NULL) {
#line 4187 "ViewCollection.c"
DataSet* _tmp4_ = NULL;
@@ -4190,29 +4190,29 @@ static void view_collection_real_set_comparator (DataCollection* base, Comparato
void* _tmp5__target = NULL;
ComparatorPredicate _tmp6_ = NULL;
void* _tmp6__target = NULL;
-#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = self->priv->visible;
-#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = comparator;
-#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5__target = comparator_target;
-#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = predicate;
-#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6__target = predicate_target;
-#line 657 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 658 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
data_set_set_comparator (_tmp4_, _tmp5_, _tmp5__target, _tmp6_, _tmp6__target);
#line 4205 "ViewCollection.c"
}
-#line 659 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 660 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = comparator;
-#line 659 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 660 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7__target = comparator_target;
-#line 659 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 660 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = predicate;
-#line 659 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 660 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8__target = predicate_target;
-#line 659 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 660 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
DATA_COLLECTION_CLASS (view_collection_parent_class)->set_comparator (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp7_, _tmp7__target, _tmp8_, _tmp8__target);
#line 4217 "ViewCollection.c"
}
@@ -4222,25 +4222,25 @@ static void view_collection_real_reset_comparator (DataCollection* base) {
ViewCollection * self;
DataSet* _tmp0_ = NULL;
DataSet* _tmp1_ = NULL;
-#line 662 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
#line 663 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
+#line 664 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->selected;
-#line 663 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- data_set_reset_comparator (_tmp0_);
#line 664 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ data_set_reset_comparator (_tmp0_);
+#line 665 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = self->priv->visible;
-#line 664 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 665 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp1_ != NULL) {
#line 4235 "ViewCollection.c"
DataSet* _tmp2_ = NULL;
-#line 665 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 666 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = self->priv->visible;
-#line 665 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 666 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
data_set_reset_comparator (_tmp2_);
#line 4241 "ViewCollection.c"
}
-#line 667 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 668 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
DATA_COLLECTION_CLASS (view_collection_parent_class)->reset_comparator (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
#line 4245 "ViewCollection.c"
}
@@ -4251,37 +4251,37 @@ static GeeCollection* view_collection_real_get_all (DataCollection* base) {
GeeCollection* result = NULL;
GeeCollection* _tmp0_ = NULL;
DataSet* _tmp1_ = NULL;
-#line 670 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = self->priv->visible;
-#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp1_ != NULL) {
#line 4260 "ViewCollection.c"
DataSet* _tmp2_ = NULL;
GeeList* _tmp3_ = NULL;
-#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = self->priv->visible;
-#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = data_set_get_all (_tmp2_);
-#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp0_);
-#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
#line 4271 "ViewCollection.c"
} else {
GeeCollection* _tmp4_ = NULL;
-#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp0_);
-#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = _tmp4_;
#line 4280 "ViewCollection.c"
}
-#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp0_;
-#line 671 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 672 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4286 "ViewCollection.c"
}
@@ -4290,13 +4290,13 @@ static GeeCollection* view_collection_real_get_all (DataCollection* base) {
GeeCollection* view_collection_get_all_unfiltered (ViewCollection* self) {
GeeCollection* result = NULL;
GeeCollection* _tmp0_ = NULL;
-#line 674 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
#line 675 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
+#line 676 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 675 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 676 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp0_;
-#line 675 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 676 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4301 "ViewCollection.c"
}
@@ -4307,33 +4307,33 @@ static gint view_collection_real_get_count (DataCollection* base) {
gint result = 0;
gint _tmp0_ = 0;
DataSet* _tmp1_ = NULL;
-#line 678 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
+#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = self->priv->visible;
-#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp1_ != NULL) {
#line 4316 "ViewCollection.c"
DataSet* _tmp2_ = NULL;
gint _tmp3_ = 0;
-#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = self->priv->visible;
-#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = data_set_get_count (_tmp2_);
-#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = _tmp3_;
#line 4325 "ViewCollection.c"
} else {
gint _tmp4_ = 0;
-#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = _tmp4_;
#line 4332 "ViewCollection.c"
}
-#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp0_;
-#line 679 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 680 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4338 "ViewCollection.c"
}
@@ -4342,13 +4342,13 @@ static gint view_collection_real_get_count (DataCollection* base) {
gint view_collection_get_unfiltered_count (ViewCollection* self) {
gint result = 0;
gint _tmp0_ = 0;
-#line 682 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0);
#line 683 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0);
+#line 684 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 683 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 684 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp0_;
-#line 683 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 684 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4353 "ViewCollection.c"
}
@@ -4359,43 +4359,43 @@ static DataObject* view_collection_real_get_at (DataCollection* base, gint index
DataObject* result = NULL;
DataObject* _tmp0_ = NULL;
DataSet* _tmp1_ = NULL;
-#line 686 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = self->priv->visible;
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp1_ != NULL) {
#line 4368 "ViewCollection.c"
DataSet* _tmp2_ = NULL;
gint _tmp3_ = 0;
DataObject* _tmp4_ = NULL;
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = self->priv->visible;
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = index;
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = data_set_get_at (_tmp2_, _tmp3_);
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp0_);
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = _tmp4_;
#line 4382 "ViewCollection.c"
} else {
gint _tmp5_ = 0;
DataObject* _tmp6_ = NULL;
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = index;
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_at (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp5_);
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp0_);
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = _tmp6_;
#line 4394 "ViewCollection.c"
}
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp0_;
-#line 687 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 688 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4400 "ViewCollection.c"
}
@@ -4406,41 +4406,41 @@ static gint view_collection_real_index_of (DataCollection* base, DataObject* obj
gint result = 0;
gint _tmp0_ = 0;
DataSet* _tmp1_ = NULL;
-#line 690 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
-#line 690 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_DATA_OBJECT (object), 0);
#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_DATA_OBJECT (object), 0);
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = self->priv->visible;
-#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp1_ != NULL) {
#line 4417 "ViewCollection.c"
DataSet* _tmp2_ = NULL;
DataObject* _tmp3_ = NULL;
gint _tmp4_ = 0;
-#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = self->priv->visible;
-#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = object;
-#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = data_set_index_of (_tmp2_, _tmp3_);
-#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = _tmp4_;
#line 4429 "ViewCollection.c"
} else {
DataObject* _tmp5_ = NULL;
gint _tmp6_ = 0;
-#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = object;
-#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->index_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp5_);
-#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = _tmp6_;
#line 4439 "ViewCollection.c"
}
-#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp0_;
-#line 691 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 692 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4445 "ViewCollection.c"
}
@@ -4453,29 +4453,29 @@ static gboolean view_collection_real_contains (DataCollection* base, DataObject*
gboolean _tmp1_ = FALSE;
DataObject* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 694 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 695 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
-#line 694 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 695 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_DATA_OBJECT (object), FALSE);
-#line 697 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 698 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = object;
-#line 697 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 698 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->contains (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp0_);
-#line 697 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (!_tmp1_) {
#line 698 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (!_tmp1_) {
+#line 699 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = FALSE;
-#line 698 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 699 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4470 "ViewCollection.c"
}
-#line 701 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 702 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = object;
-#line 701 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 702 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = view_collection_is_visible (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_VIEW, DataView));
-#line 701 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 702 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp3_;
-#line 701 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 702 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4480 "ViewCollection.c"
}
@@ -4485,38 +4485,38 @@ static DataView* view_collection_real_get_first (ViewCollection* self) {
DataView* result = NULL;
DataView* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp1_ > 0) {
#line 4492 "ViewCollection.c"
DataObject* _tmp2_ = NULL;
-#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), 0);
-#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp0_);
-#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_VIEW, DataView);
#line 4500 "ViewCollection.c"
} else {
-#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp0_);
-#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = NULL;
#line 4506 "ViewCollection.c"
}
-#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp0_;
-#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 706 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4512 "ViewCollection.c"
}
DataView* view_collection_get_first (ViewCollection* self) {
-#line 704 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
-#line 704 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 705 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return VIEW_COLLECTION_GET_CLASS (self)->get_first (self);
#line 4521 "ViewCollection.c"
}
@@ -4540,25 +4540,25 @@ static DataView* view_collection_real_get_first_unrejected (ViewCollection* self
gint num_views = 0;
gint _tmp2_ = 0;
DataView* _tmp17_ = NULL;
-#line 720 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 721 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 720 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp0_ < 1) {
#line 721 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp0_ < 1) {
+#line 722 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = NULL;
-#line 721 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 722 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4551 "ViewCollection.c"
}
-#line 724 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 725 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = view_collection_get_first (self);
-#line 724 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- dv = _tmp1_;
#line 725 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ dv = _tmp1_;
+#line 726 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 725 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 726 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
num_views = _tmp2_;
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 4563 "ViewCollection.c"
gboolean _tmp3_ = FALSE;
@@ -4569,109 +4569,109 @@ static DataView* view_collection_real_get_first_unrejected (ViewCollection* self
MediaSource* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
MediaSource* _tmp12_ = NULL;
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = dv;
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp4_ != NULL) {
#line 4576 "ViewCollection.c"
DataView* _tmp5_ = NULL;
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = dv;
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = data_collection_index_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_OBJECT, DataObject));
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = num_views;
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _tmp6_ < (_tmp7_ - 1);
#line 4588 "ViewCollection.c"
} else {
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = FALSE;
#line 4592 "ViewCollection.c"
}
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp3_) {
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 4598 "ViewCollection.c"
}
-#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = dv;
-#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = data_view_get_source (_tmp8_);
-#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, TYPE_MEDIA_SOURCE) ? ((MediaSource*) _tmp9_) : NULL;
-#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp10_ == NULL) {
-#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp9_);
#line 4610 "ViewCollection.c"
}
-#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 729 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
tmp = _tmp10_;
-#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = tmp;
-#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp12_ != NULL) {
#line 4618 "ViewCollection.c"
MediaSource* _tmp13_ = NULL;
Rating _tmp14_ = 0;
-#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = tmp;
-#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = media_source_get_rating (_tmp13_);
-#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = _tmp14_ != RATING_REJECTED;
#line 4627 "ViewCollection.c"
} else {
-#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = FALSE;
#line 4631 "ViewCollection.c"
}
-#line 730 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 731 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp11_) {
-#line 732 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 733 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = dv;
-#line 732 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 733 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (tmp);
-#line 732 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 733 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4641 "ViewCollection.c"
} else {
DataView* _tmp15_ = NULL;
DataView* _tmp16_ = NULL;
-#line 734 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 735 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = dv;
-#line 734 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 735 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp16_ = view_collection_get_next (self, _tmp15_);
-#line 734 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 735 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (dv);
-#line 734 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 735 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
dv = _tmp16_;
#line 4653 "ViewCollection.c"
}
-#line 727 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 728 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (tmp);
#line 4657 "ViewCollection.c"
}
-#line 740 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 741 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp17_ = view_collection_get_first (self);
-#line 740 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 741 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp17_;
-#line 740 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 741 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (dv);
-#line 740 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 741 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4667 "ViewCollection.c"
}
DataView* view_collection_get_first_unrejected (ViewCollection* self) {
-#line 718 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 719 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
-#line 718 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 719 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return VIEW_COLLECTION_GET_CLASS (self)->get_first_unrejected (self);
#line 4676 "ViewCollection.c"
}
@@ -4681,41 +4681,41 @@ static DataView* view_collection_real_get_last (ViewCollection* self) {
DataView* result = NULL;
DataView* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp1_ > 0) {
#line 4688 "ViewCollection.c"
gint _tmp2_ = 0;
DataObject* _tmp3_ = NULL;
-#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp2_ - 1);
-#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp0_);
-#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_VIEW, DataView);
#line 4699 "ViewCollection.c"
} else {
-#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp0_);
-#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = NULL;
#line 4705 "ViewCollection.c"
}
-#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp0_;
-#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 745 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4711 "ViewCollection.c"
}
DataView* view_collection_get_last (ViewCollection* self) {
-#line 743 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
-#line 743 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 744 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return VIEW_COLLECTION_GET_CLASS (self)->get_last (self);
#line 4720 "ViewCollection.c"
}
@@ -4733,64 +4733,64 @@ static DataView* view_collection_real_get_next (ViewCollection* self, DataView*
gint _tmp6_ = 0;
gint _tmp7_ = 0;
DataObject* _tmp8_ = NULL;
-#line 747 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_DATA_VIEW (view), NULL);
#line 748 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_DATA_VIEW (view), NULL);
+#line 749 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 748 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp0_ == 0) {
#line 749 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp0_ == 0) {
+#line 750 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = NULL;
-#line 749 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 750 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4746 "ViewCollection.c"
}
-#line 751 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 752 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = view;
-#line 751 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 752 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_collection_index_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_OBJECT, DataObject));
-#line 751 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- index = _tmp2_;
#line 752 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ index = _tmp2_;
+#line 753 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = index;
-#line 752 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp3_ < 0) {
#line 753 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp3_ < 0) {
+#line 754 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = NULL;
-#line 753 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 754 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4762 "ViewCollection.c"
}
-#line 755 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 756 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = index;
-#line 755 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- index = _tmp4_ + 1;
#line 756 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ index = _tmp4_ + 1;
+#line 757 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = index;
-#line 756 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 757 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 756 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp5_ >= _tmp6_) {
#line 757 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp5_ >= _tmp6_) {
+#line 758 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
index = 0;
#line 4776 "ViewCollection.c"
}
-#line 759 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 760 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = index;
-#line 759 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 760 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp7_);
-#line 759 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 760 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_VIEW, DataView);
-#line 759 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 760 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4786 "ViewCollection.c"
}
DataView* view_collection_get_next (ViewCollection* self, DataView* view) {
-#line 747 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 748 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
-#line 747 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 748 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return VIEW_COLLECTION_GET_CLASS (self)->get_next (self, view);
#line 4795 "ViewCollection.c"
}
@@ -4807,66 +4807,66 @@ static DataView* view_collection_real_get_previous (ViewCollection* self, DataVi
gint _tmp5_ = 0;
gint _tmp7_ = 0;
DataObject* _tmp8_ = NULL;
-#line 762 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_DATA_VIEW (view), NULL);
#line 763 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_DATA_VIEW (view), NULL);
+#line 764 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 763 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp0_ == 0) {
#line 764 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp0_ == 0) {
+#line 765 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = NULL;
-#line 764 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 765 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4820 "ViewCollection.c"
}
-#line 766 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 767 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = view;
-#line 766 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 767 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_collection_index_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_OBJECT, DataObject));
-#line 766 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- index = _tmp2_;
#line 767 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ index = _tmp2_;
+#line 768 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = index;
-#line 767 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp3_ < 0) {
#line 768 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp3_ < 0) {
+#line 769 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = NULL;
-#line 768 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 769 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4836 "ViewCollection.c"
}
-#line 770 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 771 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = index;
-#line 770 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- index = _tmp4_ - 1;
#line 771 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ index = _tmp4_ - 1;
+#line 772 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = index;
-#line 771 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 772 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp5_ < 0) {
#line 4846 "ViewCollection.c"
gint _tmp6_ = 0;
-#line 772 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 773 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 772 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 773 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
index = _tmp6_ - 1;
#line 4852 "ViewCollection.c"
}
-#line 774 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 775 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = index;
-#line 774 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 775 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp7_);
-#line 774 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 775 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_VIEW, DataView);
-#line 774 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 775 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4862 "ViewCollection.c"
}
DataView* view_collection_get_previous (ViewCollection* self, DataView* view) {
-#line 762 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 763 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
-#line 762 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 763 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return VIEW_COLLECTION_GET_CLASS (self)->get_previous (self, view);
#line 4871 "ViewCollection.c"
}
@@ -4886,63 +4886,63 @@ gboolean view_collection_get_immediate_neighbors (ViewCollection* self, DataSour
DataView* prev_view = NULL;
DataView* _tmp19_ = NULL;
DataView* _tmp20_ = NULL;
-#line 777 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 778 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
-#line 777 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 778 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_DATA_SOURCE (home), FALSE);
-#line 779 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 780 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_vala_next);
-#line 779 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- _vala_next = NULL;
#line 780 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ _vala_next = NULL;
+#line 781 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_vala_prev);
-#line 780 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 781 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_prev = NULL;
-#line 782 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 783 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = home;
-#line 782 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 783 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = view_collection_get_view_for_source (self, _tmp0_);
-#line 782 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- home_view = _tmp1_;
#line 783 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ home_view = _tmp1_;
+#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = home_view;
-#line 783 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp2_ == NULL) {
#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp2_ == NULL) {
+#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = FALSE;
-#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (home_view);
-#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (next) {
-#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
*next = _vala_next;
#line 4919 "ViewCollection.c"
} else {
-#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_vala_next);
#line 4923 "ViewCollection.c"
}
-#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (prev) {
-#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
*prev = _vala_prev;
#line 4929 "ViewCollection.c"
} else {
-#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_vala_prev);
#line 4933 "ViewCollection.c"
}
-#line 784 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 785 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 4937 "ViewCollection.c"
}
-#line 786 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = home_view;
-#line 786 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = view_collection_get_next (self, _tmp3_);
-#line 786 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- next_view = _tmp4_;
#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ next_view = _tmp4_;
+#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 4947 "ViewCollection.c"
DataView* _tmp5_ = NULL;
@@ -4951,21 +4951,21 @@ gboolean view_collection_get_immediate_neighbors (ViewCollection* self, DataSour
const gchar* _tmp8_ = NULL;
DataView* _tmp17_ = NULL;
DataView* _tmp18_ = NULL;
-#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = next_view;
-#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = home_view;
-#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!(_tmp5_ != _tmp6_)) {
-#line 787 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 4962 "ViewCollection.c"
}
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = type_selector;
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp8_ == NULL) {
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = TRUE;
#line 4970 "ViewCollection.c"
} else {
@@ -4975,60 +4975,60 @@ gboolean view_collection_get_immediate_neighbors (ViewCollection* self, DataSour
gchar* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = next_view;
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = data_view_get_source (_tmp9_);
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = _tmp10_;
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = data_source_get_typename (_tmp11_);
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = _tmp12_;
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = type_selector;
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = g_strcmp0 (_tmp13_, _tmp14_) == 0;
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_free0 (_tmp13_);
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp11_);
#line 4996 "ViewCollection.c"
}
-#line 788 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp7_) {
#line 5000 "ViewCollection.c"
DataView* _tmp15_ = NULL;
DataSource* _tmp16_ = NULL;
-#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 790 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = next_view;
-#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 790 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp16_ = data_view_get_source (_tmp15_);
-#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 790 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_vala_next);
-#line 789 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- _vala_next = _tmp16_;
#line 790 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ _vala_next = _tmp16_;
+#line 791 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 5013 "ViewCollection.c"
}
-#line 792 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 793 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp17_ = next_view;
-#line 792 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 793 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp18_ = view_collection_get_next (self, _tmp17_);
-#line 792 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 793 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next_view);
-#line 792 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 793 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
next_view = _tmp18_;
#line 5023 "ViewCollection.c"
}
-#line 795 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp19_ = home_view;
-#line 795 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp20_ = view_collection_get_previous (self, _tmp19_);
-#line 795 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- prev_view = _tmp20_;
#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ prev_view = _tmp20_;
+#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 5033 "ViewCollection.c"
DataView* _tmp21_ = NULL;
@@ -5037,21 +5037,21 @@ gboolean view_collection_get_immediate_neighbors (ViewCollection* self, DataSour
const gchar* _tmp24_ = NULL;
DataView* _tmp33_ = NULL;
DataView* _tmp34_ = NULL;
-#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp21_ = prev_view;
-#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp22_ = home_view;
-#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!(_tmp21_ != _tmp22_)) {
-#line 796 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 5048 "ViewCollection.c"
}
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp24_ = type_selector;
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp24_ == NULL) {
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp23_ = TRUE;
#line 5056 "ViewCollection.c"
} else {
@@ -5061,82 +5061,82 @@ gboolean view_collection_get_immediate_neighbors (ViewCollection* self, DataSour
gchar* _tmp28_ = NULL;
gchar* _tmp29_ = NULL;
const gchar* _tmp30_ = NULL;
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp25_ = prev_view;
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp26_ = data_view_get_source (_tmp25_);
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp27_ = _tmp26_;
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp28_ = data_source_get_typename (_tmp27_);
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp29_ = _tmp28_;
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp30_ = type_selector;
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp23_ = g_strcmp0 (_tmp29_, _tmp30_) == 0;
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_free0 (_tmp29_);
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp27_);
#line 5082 "ViewCollection.c"
}
-#line 797 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp23_) {
#line 5086 "ViewCollection.c"
DataView* _tmp31_ = NULL;
DataSource* _tmp32_ = NULL;
-#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 799 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp31_ = prev_view;
-#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 799 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp32_ = data_view_get_source (_tmp31_);
-#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 799 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_vala_prev);
-#line 798 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- _vala_prev = _tmp32_;
#line 799 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ _vala_prev = _tmp32_;
+#line 800 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 5099 "ViewCollection.c"
}
-#line 801 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 802 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp33_ = prev_view;
-#line 801 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 802 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp34_ = view_collection_get_previous (self, _tmp33_);
-#line 801 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 802 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (prev_view);
-#line 801 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 802 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
prev_view = _tmp34_;
#line 5109 "ViewCollection.c"
}
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = TRUE;
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (prev_view);
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next_view);
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (home_view);
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (next) {
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
*next = _vala_next;
#line 5123 "ViewCollection.c"
} else {
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_vala_next);
#line 5127 "ViewCollection.c"
}
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (prev) {
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
*prev = _vala_prev;
#line 5133 "ViewCollection.c"
} else {
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_vala_prev);
#line 5137 "ViewCollection.c"
}
-#line 804 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 805 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 5141 "ViewCollection.c"
}
@@ -5157,43 +5157,43 @@ GeeSet* view_collection_get_extended_neighbors (ViewCollection* self, DataSource
DataSource* _tmp16_ = NULL;
GeeSet* _tmp26_ = NULL;
DataSource* _tmp27_ = NULL;
-#line 808 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 809 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
-#line 808 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 809 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_DATA_SOURCE (home), NULL);
-#line 810 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 811 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = gee_hash_set_new (TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL);
-#line 810 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 811 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
neighbors = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_SET, GeeSet);
-#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = home;
-#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = typename;
-#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = view_collection_get_immediate_neighbors (self, _tmp1_, &_tmp3_, &_tmp4_, _tmp2_);
-#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next);
-#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
next = _tmp3_;
-#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (prev);
-#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
prev = _tmp4_;
-#line 814 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (!_tmp5_) {
#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (!_tmp5_) {
+#line 816 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = neighbors;
-#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 816 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (prev);
-#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 816 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next);
-#line 815 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 816 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 5192 "ViewCollection.c"
}
-#line 818 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = next;
-#line 818 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp6_ != NULL) {
#line 5198 "ViewCollection.c"
GeeSet* _tmp7_ = NULL;
@@ -5205,50 +5205,50 @@ GeeSet* view_collection_get_extended_neighbors (ViewCollection* self, DataSource
DataSource* _tmp11_ = NULL;
DataSource* _tmp12_ = NULL;
DataSource* _tmp13_ = NULL;
-#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 820 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = neighbors;
-#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 820 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = next;
-#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 820 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection), _tmp8_);
-#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = next;
-#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = typename;
-#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_get_immediate_neighbors (self, _tmp9_, &_tmp11_, &_tmp12_, _tmp10_);
-#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next_next);
-#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
next_next = _tmp11_;
-#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next_prev);
-#line 822 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 823 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
next_prev = _tmp12_;
-#line 825 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 826 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = next_next;
-#line 825 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 826 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp13_ != NULL) {
#line 5232 "ViewCollection.c"
GeeSet* _tmp14_ = NULL;
DataSource* _tmp15_ = NULL;
-#line 826 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 827 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = neighbors;
-#line 826 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 827 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = next_next;
-#line 826 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 827 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection), _tmp15_);
#line 5241 "ViewCollection.c"
}
-#line 818 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next_prev);
-#line 818 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 819 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next_next);
#line 5247 "ViewCollection.c"
}
-#line 830 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp16_ = prev;
-#line 830 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp16_ != NULL) {
#line 5253 "ViewCollection.c"
GeeSet* _tmp17_ = NULL;
@@ -5260,60 +5260,60 @@ GeeSet* view_collection_get_extended_neighbors (ViewCollection* self, DataSource
DataSource* _tmp21_ = NULL;
DataSource* _tmp22_ = NULL;
DataSource* _tmp23_ = NULL;
-#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 832 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp17_ = neighbors;
-#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 832 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp18_ = prev;
-#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 832 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection), _tmp18_);
-#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp19_ = prev;
-#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp20_ = typename;
-#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_get_immediate_neighbors (self, _tmp19_, &_tmp21_, &_tmp22_, _tmp20_);
-#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next_prev);
-#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
next_prev = _tmp21_;
-#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (prev_prev);
-#line 834 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 835 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
prev_prev = _tmp22_;
-#line 837 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 838 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp23_ = prev_prev;
-#line 837 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 838 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp23_ != NULL) {
#line 5287 "ViewCollection.c"
GeeSet* _tmp24_ = NULL;
DataSource* _tmp25_ = NULL;
-#line 838 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 839 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp24_ = neighbors;
-#line 838 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 839 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp25_ = prev_prev;
-#line 838 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 839 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection), _tmp25_);
#line 5296 "ViewCollection.c"
}
-#line 830 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (prev_prev);
-#line 830 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 831 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next_prev);
#line 5302 "ViewCollection.c"
}
-#line 842 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 843 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp26_ = neighbors;
-#line 842 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 843 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp27_ = home;
-#line 842 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 843 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GEE_TYPE_COLLECTION, GeeCollection), _tmp27_);
-#line 844 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 845 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = neighbors;
-#line 844 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 845 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (prev);
-#line 844 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 845 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (next);
-#line 844 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 845 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 5318 "ViewCollection.c"
}
@@ -5328,19 +5328,19 @@ static void view_collection_add_many_selected (ViewCollection* self, GeeCollecti
GeeCollection* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
gboolean _tmp14_ = FALSE;
-#line 849 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 850 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 849 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (GEE_IS_COLLECTION (views));
#line 850 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (GEE_IS_COLLECTION (views));
+#line 851 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = views;
-#line 850 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 851 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = gee_collection_get_size (_tmp0_);
-#line 850 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 851 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = _tmp1_;
-#line 850 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp2_ == 0) {
#line 851 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp2_ == 0) {
+#line 852 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return;
#line 5345 "ViewCollection.c"
}
@@ -5348,13 +5348,13 @@ static void view_collection_add_many_selected (ViewCollection* self, GeeCollecti
GeeIterator* _view_it = NULL;
GeeCollection* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = views;
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_view_it = _tmp4_;
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 5359 "ViewCollection.c"
GeeIterator* _tmp5_ = NULL;
@@ -5364,47 +5364,47 @@ static void view_collection_add_many_selected (ViewCollection* self, GeeCollecti
gpointer _tmp8_ = NULL;
DataView* _tmp9_ = NULL;
gboolean _tmp10_ = FALSE;
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _view_it;
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = gee_iterator_next (_tmp5_);
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp6_) {
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 5375 "ViewCollection.c"
}
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = _view_it;
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = gee_iterator_get (_tmp7_);
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view = (DataView*) _tmp8_;
#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view = (DataView*) _tmp8_;
+#line 855 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = view;
-#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 855 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = data_view_is_visible (_tmp9_);
-#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 855 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (_tmp10_, "view.is_visible()");
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
#line 5391 "ViewCollection.c"
}
-#line 853 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 854 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_view_it);
#line 5395 "ViewCollection.c"
}
-#line 856 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 857 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = self->priv->selected;
-#line 856 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 857 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = views;
-#line 856 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 857 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = data_set_add_many (_tmp11_, _tmp12_);
-#line 856 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- added = _tmp13_;
#line 857 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ added = _tmp13_;
+#line 858 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = added;
-#line 857 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 858 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (_tmp14_, "added");
#line 5409 "ViewCollection.c"
}
@@ -5419,33 +5419,33 @@ static void view_collection_remove_many_selected (ViewCollection* self, GeeColle
GeeCollection* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
-#line 860 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 861 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 860 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (GEE_IS_COLLECTION (views));
#line 861 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (GEE_IS_COLLECTION (views));
+#line 862 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = views;
-#line 861 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 862 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = gee_collection_get_size (_tmp0_);
-#line 861 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 862 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = _tmp1_;
-#line 861 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp2_ == 0) {
#line 862 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp2_ == 0) {
+#line 863 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return;
#line 5436 "ViewCollection.c"
}
-#line 864 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 865 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = self->priv->selected;
-#line 864 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 865 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = views;
-#line 864 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 865 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = data_set_remove_many (_tmp3_, _tmp4_);
-#line 864 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- removed = _tmp5_;
#line 865 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ removed = _tmp5_;
+#line 866 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = removed;
-#line 865 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 866 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (_tmp6_, "removed");
#line 5450 "ViewCollection.c"
}
@@ -5454,7 +5454,7 @@ static void view_collection_remove_many_selected (ViewCollection* self, GeeColle
static gboolean _view_collection_select_item_marked_action (DataObject* object, GObject* user, gpointer self) {
gboolean result;
result = view_collection_select_item ((ViewCollection*) self, object, user);
-#line 871 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 872 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 5459 "ViewCollection.c"
}
@@ -5468,42 +5468,42 @@ void view_collection_select_marked (ViewCollection* self, Marker* marker) {
GeeArrayList* _tmp3_ = NULL;
gint _tmp4_ = 0;
gint _tmp5_ = 0;
-#line 869 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 870 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 869 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (IS_MARKER (marker));
#line 870 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (IS_MARKER (marker));
+#line 871 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 870 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- selected = _tmp0_;
#line 871 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ selected = _tmp0_;
+#line 872 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = marker;
-#line 871 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 872 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = selected;
-#line 871 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 872 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
data_collection_act_on_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp1_, _view_collection_select_item_marked_action, self, NULL, NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, G_TYPE_OBJECT, GObject));
-#line 873 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = selected;
-#line 873 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 873 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _tmp4_;
-#line 873 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp5_ > 0) {
#line 5493 "ViewCollection.c"
GeeArrayList* _tmp6_ = NULL;
GeeArrayList* _tmp7_ = NULL;
-#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 875 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = selected;
-#line 874 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
#line 875 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 876 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = selected;
-#line 875 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 876 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_items_selected_unselected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection), NULL);
#line 5504 "ViewCollection.c"
}
-#line 869 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 870 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (selected);
#line 5508 "ViewCollection.c"
}
@@ -5512,17 +5512,17 @@ void view_collection_select_marked (ViewCollection* self, Marker* marker) {
void view_collection_select_all (ViewCollection* self) {
Marker* marker = NULL;
Marker* _tmp0_ = NULL;
-#line 880 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (IS_VIEW_COLLECTION (self));
#line 881 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (IS_VIEW_COLLECTION (self));
+#line 882 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 881 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- marker = _tmp0_;
#line 882 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- marker_mark_all (marker);
+ marker = _tmp0_;
#line 883 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ marker_mark_all (marker);
+#line 884 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_select_marked (self, marker);
-#line 880 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 881 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (marker);
#line 5527 "ViewCollection.c"
}
@@ -5538,81 +5538,81 @@ static gboolean view_collection_select_item (ViewCollection* self, DataObject* o
DataView* _tmp9_ = NULL;
DataView* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 886 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 887 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
-#line 886 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 887 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_DATA_OBJECT (object), FALSE);
-#line 886 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE);
#line 887 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE);
+#line 888 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = object;
-#line 887 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 888 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_VIEW, DataView));
-#line 887 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view = _tmp1_;
#line 888 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view = _tmp1_;
+#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = view;
-#line 888 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = data_view_is_selected (_tmp2_);
-#line 888 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp3_) {
#line 5559 "ViewCollection.c"
DataView* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = view;
-#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = data_view_is_visible (_tmp4_);
-#line 889 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp5_) {
#line 5568 "ViewCollection.c"
DataSet* _tmp6_ = NULL;
DataView* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 891 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = self->priv->selected;
-#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 891 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = view;
-#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 891 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = data_set_contains (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_OBJECT, DataObject));
-#line 890 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 891 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (_tmp8_, "selected.contains(view)");
#line 5580 "ViewCollection.c"
}
-#line 892 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 893 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = TRUE;
-#line 892 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 893 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
-#line 892 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 893 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 5588 "ViewCollection.c"
}
-#line 895 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 896 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = view;
-#line 895 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 896 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
data_view_internal_set_selected (_tmp9_, TRUE);
-#line 899 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = view;
-#line 899 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = data_view_is_visible (_tmp10_);
-#line 899 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp11_) {
#line 5600 "ViewCollection.c"
GObject* _tmp12_ = NULL;
DataView* _tmp13_ = NULL;
-#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 901 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = user;
-#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 901 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = view;
-#line 900 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 901 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ARRAY_LIST, GeeArrayList), GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp13_);
#line 5609 "ViewCollection.c"
}
-#line 902 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 903 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = TRUE;
-#line 902 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 903 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
-#line 902 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 903 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 5617 "ViewCollection.c"
}
@@ -5621,7 +5621,7 @@ static gboolean view_collection_select_item (ViewCollection* self, DataObject* o
static gboolean _view_collection_unselect_item_marked_action (DataObject* object, GObject* user, gpointer self) {
gboolean result;
result = view_collection_unselect_item ((ViewCollection*) self, object, user);
-#line 908 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 909 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 5626 "ViewCollection.c"
}
@@ -5635,42 +5635,42 @@ void view_collection_unselect_marked (ViewCollection* self, Marker* marker) {
GeeArrayList* _tmp3_ = NULL;
gint _tmp4_ = 0;
gint _tmp5_ = 0;
-#line 906 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 907 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 906 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (IS_MARKER (marker));
#line 907 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (IS_MARKER (marker));
+#line 908 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 907 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- unselected = _tmp0_;
#line 908 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ unselected = _tmp0_;
+#line 909 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = marker;
-#line 908 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 909 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = unselected;
-#line 908 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 909 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
data_collection_act_on_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp1_, _view_collection_unselect_item_marked_action, self, NULL, NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, G_TYPE_OBJECT, GObject));
-#line 910 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = unselected;
-#line 910 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 910 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _tmp4_;
-#line 910 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp5_ > 0) {
#line 5660 "ViewCollection.c"
GeeArrayList* _tmp6_ = NULL;
GeeArrayList* _tmp7_ = NULL;
-#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 912 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = unselected;
-#line 911 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view_collection_remove_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
#line 912 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view_collection_remove_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 913 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = unselected;
-#line 912 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 913 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_items_selected_unselected (self, NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection));
#line 5671 "ViewCollection.c"
}
-#line 906 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 907 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (unselected);
#line 5675 "ViewCollection.c"
}
@@ -5685,37 +5685,37 @@ void view_collection_unselect_all (ViewCollection* self) {
GeeList* _tmp4_ = NULL;
GeeList* _tmp5_ = NULL;
Marker* _tmp6_ = NULL;
-#line 917 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (IS_VIEW_COLLECTION (self));
#line 918 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (IS_VIEW_COLLECTION (self));
+#line 919 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->selected;
-#line 918 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 919 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = data_set_get_count (_tmp0_);
-#line 918 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp1_ == 0) {
#line 919 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp1_ == 0) {
+#line 920 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return;
#line 5698 "ViewCollection.c"
}
-#line 921 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 921 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- marker = _tmp2_;
#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ marker = _tmp2_;
+#line 923 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = marker;
-#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 923 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = view_collection_get_selected (self);
-#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 923 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _tmp4_;
-#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 923 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
marker_mark_many (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 922 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 923 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp5_);
-#line 924 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 925 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = marker;
-#line 924 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 925 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_unselect_marked (self, _tmp6_);
-#line 917 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 918 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (marker);
#line 5720 "ViewCollection.c"
}
@@ -5725,13 +5725,13 @@ void view_collection_unselect_all_but (ViewCollection* self, DataView* exception
Marker* marker = NULL;
Marker* _tmp0_ = NULL;
Marker* _tmp15_ = NULL;
-#line 928 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 929 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 928 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (IS_DATA_VIEW (exception));
#line 929 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (IS_DATA_VIEW (exception));
+#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 929 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
marker = _tmp0_;
#line 5736 "ViewCollection.c"
{
@@ -5740,19 +5740,19 @@ void view_collection_unselect_all_but (ViewCollection* self, DataView* exception
GeeCollection* _tmp2_ = NULL;
GeeIterator* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = _tmp1_;
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = _tmp3_;
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp2_);
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_object_it = _tmp4_;
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 5757 "ViewCollection.c"
GeeIterator* _tmp5_ = NULL;
@@ -5765,60 +5765,60 @@ void view_collection_unselect_all_but (ViewCollection* self, DataView* exception
DataView* _tmp10_ = NULL;
DataView* _tmp11_ = NULL;
DataView* _tmp12_ = NULL;
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _object_it;
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = gee_iterator_next (_tmp5_);
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp6_) {
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 5776 "ViewCollection.c"
}
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = _object_it;
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = gee_iterator_get (_tmp7_);
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- object = (DataObject*) _tmp8_;
#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ object = (DataObject*) _tmp8_;
+#line 932 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = object;
-#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 932 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_VIEW, DataView));
-#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view = _tmp10_;
#line 932 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view = _tmp10_;
+#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = view;
-#line 932 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = exception;
-#line 932 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp11_ != _tmp12_) {
#line 5796 "ViewCollection.c"
Marker* _tmp13_ = NULL;
DataView* _tmp14_ = NULL;
-#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 934 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = marker;
-#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 934 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = view;
-#line 933 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 934 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
marker_mark (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_OBJECT, DataObject));
#line 5805 "ViewCollection.c"
}
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (object);
#line 5811 "ViewCollection.c"
}
-#line 930 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 931 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_object_it);
#line 5815 "ViewCollection.c"
}
-#line 936 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 937 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = marker;
-#line 936 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 937 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_unselect_marked (self, _tmp15_);
-#line 928 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 929 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (marker);
#line 5823 "ViewCollection.c"
}
@@ -5834,59 +5834,59 @@ static gboolean view_collection_unselect_item (ViewCollection* self, DataObject*
DataView* _tmp7_ = NULL;
GObject* _tmp8_ = NULL;
DataView* _tmp9_ = NULL;
-#line 939 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 940 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
-#line 939 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 940 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_DATA_OBJECT (object), FALSE);
-#line 939 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE);
#line 940 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE);
+#line 941 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = object;
-#line 940 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 941 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_VIEW, DataView));
-#line 940 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view = _tmp1_;
#line 941 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view = _tmp1_;
+#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = view;
-#line 941 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = data_view_is_selected (_tmp2_);
-#line 941 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp3_) {
#line 5855 "ViewCollection.c"
DataSet* _tmp4_ = NULL;
DataView* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 943 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = self->priv->selected;
-#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 943 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = view;
-#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 943 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = data_set_contains (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_OBJECT, DataObject));
-#line 942 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 943 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (!_tmp6_, "!selected.contains(view)");
-#line 944 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 945 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = TRUE;
-#line 944 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 945 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
-#line 944 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 945 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 5873 "ViewCollection.c"
}
-#line 947 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 948 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = view;
-#line 947 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- data_view_internal_set_selected (_tmp7_, FALSE);
#line 948 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ data_view_internal_set_selected (_tmp7_, FALSE);
+#line 949 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = user;
-#line 948 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 949 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = view;
-#line 948 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 949 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ARRAY_LIST, GeeArrayList), GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp9_);
-#line 950 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 951 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = TRUE;
-#line 950 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 951 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
-#line 950 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 951 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 5891 "ViewCollection.c"
}
@@ -5899,37 +5899,37 @@ void view_collection_unselect_and_select_marked (ViewCollection* self, Marker* u
GeeArrayList* selected = NULL;
GeeArrayList* _tmp2_ = NULL;
Marker* _tmp3_ = NULL;
-#line 954 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 954 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_MARKER (unselect));
-#line 954 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (IS_MARKER (select));
#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (IS_MARKER (select));
+#line 956 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- unselected = _tmp0_;
#line 956 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ unselected = _tmp0_;
+#line 957 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = unselect;
-#line 956 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 957 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
data_collection_act_on_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp1_, _view_collection_unselect_item_marked_action, self, NULL, NULL, G_TYPE_CHECK_INSTANCE_CAST (unselected, G_TYPE_OBJECT, GObject));
-#line 958 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 959 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_remove_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (unselected, GEE_TYPE_COLLECTION, GeeCollection));
-#line 960 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 961 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 960 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- selected = _tmp2_;
#line 961 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ selected = _tmp2_;
+#line 962 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = select;
-#line 961 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 962 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
data_collection_act_on_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp3_, _view_collection_select_item_marked_action, self, NULL, NULL, G_TYPE_CHECK_INSTANCE_CAST (selected, G_TYPE_OBJECT, GObject));
-#line 963 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 964 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (selected, GEE_TYPE_COLLECTION, GeeCollection));
-#line 965 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 966 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_items_selected_unselected (self, G_TYPE_CHECK_INSTANCE_CAST (selected, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (unselected, GEE_TYPE_COLLECTION, GeeCollection));
-#line 954 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (selected);
-#line 954 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 955 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (unselected);
#line 5934 "ViewCollection.c"
}
@@ -5938,7 +5938,7 @@ void view_collection_unselect_and_select_marked (ViewCollection* self, Marker* u
static gboolean _view_collection_toggle_item_marked_action (DataObject* object, GObject* user, gpointer self) {
gboolean result;
result = view_collection_toggle_item ((ViewCollection*) self, object, user);
-#line 972 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 973 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 5943 "ViewCollection.c"
}
@@ -5952,33 +5952,33 @@ void view_collection_toggle_marked (ViewCollection* self, Marker* marker) {
GeeArrayList* _tmp3_ = NULL;
GeeArrayList* _tmp4_ = NULL;
GeeArrayList* _tmp5_ = NULL;
-#line 970 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 971 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 970 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (IS_MARKER (marker));
#line 971 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (IS_MARKER (marker));
+#line 972 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = view_collection_toggle_lists_new ();
-#line 971 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- lists = _tmp0_;
#line 972 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ lists = _tmp0_;
+#line 973 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = marker;
-#line 972 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 973 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
data_collection_act_on_marked (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), _tmp1_, _view_collection_toggle_item_marked_action, self, NULL, NULL, G_TYPE_CHECK_INSTANCE_CAST (lists, G_TYPE_OBJECT, GObject));
-#line 975 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 976 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = lists->selected;
-#line 975 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection));
#line 976 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 977 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = lists->unselected;
-#line 976 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 977 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_remove_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 978 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 979 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = lists->selected;
-#line 978 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 979 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = lists->unselected;
-#line 978 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 979 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_items_selected_unselected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 970 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 971 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (lists);
#line 5983 "ViewCollection.c"
}
@@ -5994,50 +5994,50 @@ static gboolean view_collection_toggle_item (ViewCollection* self, DataObject* o
ViewCollectionToggleLists* _tmp3_ = NULL;
DataView* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 981 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 982 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
-#line 981 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 982 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_DATA_OBJECT (object), FALSE);
-#line 981 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE);
#line 982 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail ((user == NULL) || G_IS_OBJECT (user), FALSE);
+#line 983 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = object;
-#line 982 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 983 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_VIEW, DataView));
-#line 982 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view = _tmp1_;
#line 983 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view = _tmp1_;
+#line 984 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = user;
-#line 983 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 984 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, VIEW_COLLECTION_TYPE_TOGGLE_LISTS, ViewCollectionToggleLists));
-#line 983 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 984 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
lists = _tmp3_;
-#line 989 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = view;
-#line 989 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = data_view_internal_toggle (_tmp4_);
-#line 989 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp5_) {
#line 6021 "ViewCollection.c"
DataView* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = view;
-#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = data_view_is_visible (_tmp6_);
-#line 990 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp7_) {
#line 6030 "ViewCollection.c"
ViewCollectionToggleLists* _tmp8_ = NULL;
GeeArrayList* _tmp9_ = NULL;
DataView* _tmp10_ = NULL;
-#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 992 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = lists;
-#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 992 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = _tmp8_->selected;
-#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 992 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = view;
-#line 991 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 992 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp10_);
#line 6042 "ViewCollection.c"
}
@@ -6045,23 +6045,23 @@ static gboolean view_collection_toggle_item (ViewCollection* self, DataObject* o
ViewCollectionToggleLists* _tmp11_ = NULL;
GeeArrayList* _tmp12_ = NULL;
DataView* _tmp13_ = NULL;
-#line 993 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 994 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = lists;
-#line 993 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 994 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = _tmp11_->unselected;
-#line 993 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 994 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = view;
-#line 993 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 994 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp13_);
#line 6056 "ViewCollection.c"
}
-#line 996 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 997 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = TRUE;
-#line 996 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 997 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (lists);
-#line 996 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 997 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
-#line 996 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 997 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6066 "ViewCollection.c"
}
@@ -6071,15 +6071,15 @@ gint view_collection_get_selected_count (ViewCollection* self) {
gint result = 0;
DataSet* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 999 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0);
#line 1000 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0);
+#line 1001 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->selected;
-#line 1000 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1001 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = data_set_get_count (_tmp0_);
-#line 1000 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1001 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp1_;
-#line 1000 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1001 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6084 "ViewCollection.c"
}
@@ -6089,15 +6089,15 @@ GeeList* view_collection_get_selected (ViewCollection* self) {
GeeList* result = NULL;
DataSet* _tmp0_ = NULL;
GeeList* _tmp1_ = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
#line 1004 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
+#line 1005 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->selected;
-#line 1004 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1005 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = data_set_get_all (_tmp0_);
-#line 1004 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1005 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_LIST, GeeList);
-#line 1004 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1005 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6102 "ViewCollection.c"
}
@@ -6108,17 +6108,17 @@ DataView* view_collection_get_selected_at (ViewCollection* self, gint index) {
DataSet* _tmp0_ = NULL;
gint _tmp1_ = 0;
DataObject* _tmp2_ = NULL;
-#line 1007 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
#line 1008 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
+#line 1009 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->selected;
-#line 1008 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1009 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = index;
-#line 1008 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1009 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_set_get_at (_tmp0_, _tmp1_);
-#line 1008 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1009 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_VIEW, DataView);
-#line 1008 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1009 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6123 "ViewCollection.c"
}
@@ -6128,35 +6128,35 @@ static gboolean view_collection_is_visible (ViewCollection* self, DataView* view
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
DataSet* _tmp1_ = NULL;
-#line 1011 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
-#line 1011 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_DATA_VIEW (view), FALSE);
#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_DATA_VIEW (view), FALSE);
+#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = self->priv->visible;
-#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp1_ != NULL) {
#line 6139 "ViewCollection.c"
DataSet* _tmp2_ = NULL;
DataView* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = self->priv->visible;
-#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = view;
-#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = data_set_contains (_tmp2_, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject));
-#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = _tmp4_;
#line 6151 "ViewCollection.c"
} else {
-#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = TRUE;
#line 6155 "ViewCollection.c"
}
-#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp0_;
-#line 1012 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1013 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6161 "ViewCollection.c"
}
@@ -6171,51 +6171,51 @@ static gboolean view_collection_add_many_visible (ViewCollection* self, GeeColle
DataSet* _tmp4_ = NULL;
gint _tmp5_ = 0;
gint _tmp6_ = 0;
-#line 1015 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1016 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
-#line 1015 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (GEE_IS_COLLECTION (many), FALSE);
#line 1016 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (GEE_IS_COLLECTION (many), FALSE);
+#line 1017 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->visible;
-#line 1016 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp0_ == NULL) {
#line 1017 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp0_ == NULL) {
+#line 1018 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = TRUE;
-#line 1017 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1018 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6186 "ViewCollection.c"
}
-#line 1019 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1020 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = self->priv->visible;
-#line 1019 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1020 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = many;
-#line 1019 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1020 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = data_set_add_many (_tmp1_, _tmp2_);
-#line 1019 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (!_tmp3_) {
#line 1020 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (!_tmp3_) {
+#line 1021 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = FALSE;
-#line 1020 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1021 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6200 "ViewCollection.c"
}
-#line 1023 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1024 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = self->priv->visible;
-#line 1023 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1024 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = data_set_get_count (_tmp4_);
-#line 1023 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1024 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 1023 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp5_ == _tmp6_) {
#line 1024 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp5_ == _tmp6_) {
+#line 1025 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_data_set_unref0 (self->priv->visible);
-#line 1024 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1025 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self->priv->visible = NULL;
#line 6214 "ViewCollection.c"
}
-#line 1026 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1027 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = TRUE;
-#line 1026 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1027 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6220 "ViewCollection.c"
}
@@ -6241,33 +6241,33 @@ static void view_collection_hide_items (ViewCollection* self, GeeList* to_hide)
GeeList* _tmp33_ = NULL;
gint _tmp34_ = 0;
gint _tmp35_ = 0;
-#line 1030 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1031 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 1030 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (GEE_IS_LIST (to_hide));
#line 1031 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (GEE_IS_LIST (to_hide));
+#line 1032 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 1031 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1032 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
unselected = _tmp0_;
-#line 1033 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = to_hide;
-#line 1033 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1033 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _tmp2_;
-#line 1033 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
count = _tmp3_;
#line 6260 "ViewCollection.c"
{
gint ctr = 0;
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
ctr = 0;
#line 6265 "ViewCollection.c"
{
gboolean _tmp4_ = FALSE;
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = TRUE;
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 6272 "ViewCollection.c"
gint _tmp6_ = 0;
@@ -6281,155 +6281,155 @@ static void view_collection_hide_items (ViewCollection* self, GeeList* to_hide)
DataView* _tmp13_ = NULL;
gboolean _tmp14_ = FALSE;
DataView* _tmp21_ = NULL;
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp4_) {
#line 6286 "ViewCollection.c"
gint _tmp5_ = 0;
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = ctr;
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
ctr = _tmp5_ + 1;
#line 6292 "ViewCollection.c"
}
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = FALSE;
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = ctr;
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = count;
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!(_tmp6_ < _tmp7_)) {
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 6304 "ViewCollection.c"
}
-#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = to_hide;
-#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = ctr;
-#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = gee_list_get (_tmp8_, _tmp9_);
-#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view = (DataView*) _tmp10_;
#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view = (DataView*) _tmp10_;
+#line 1037 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = view;
-#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1037 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = data_view_is_visible (_tmp11_);
-#line 1036 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1037 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (_tmp12_, "view.is_visible()");
-#line 1038 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1039 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = view;
-#line 1038 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1039 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = data_view_is_selected (_tmp13_);
-#line 1038 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1039 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp14_) {
#line 6326 "ViewCollection.c"
DataView* _tmp15_ = NULL;
GeeArrayList* _tmp16_ = NULL;
DataView* _tmp17_ = NULL;
-#line 1039 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1040 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = view;
-#line 1039 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- data_view_internal_set_selected (_tmp15_, FALSE);
#line 1040 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ data_view_internal_set_selected (_tmp15_, FALSE);
+#line 1041 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp16_ = unselected;
-#line 1040 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1041 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp17_ = view;
-#line 1040 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1041 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp17_);
#line 6340 "ViewCollection.c"
} else {
DataSet* _tmp18_ = NULL;
DataView* _tmp19_ = NULL;
gboolean _tmp20_ = FALSE;
-#line 1042 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1043 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp18_ = self->priv->selected;
-#line 1042 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1043 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp19_ = view;
-#line 1042 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1043 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp20_ = data_set_contains (_tmp18_, G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_DATA_OBJECT, DataObject));
-#line 1042 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1043 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (!_tmp20_, "!selected.contains(view)");
#line 6353 "ViewCollection.c"
}
-#line 1045 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1046 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp21_ = view;
-#line 1045 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1046 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
data_view_internal_set_visible (_tmp21_, FALSE);
-#line 1034 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1035 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
#line 6361 "ViewCollection.c"
}
}
}
-#line 1048 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1049 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp22_ = self->priv->visible;
-#line 1048 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1049 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp22_ == NULL) {
#line 6369 "ViewCollection.c"
DataSet* _tmp23_ = NULL;
-#line 1050 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1051 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp23_ = data_collection_get_dataset_copy (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 1050 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1051 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_data_set_unref0 (self->priv->visible);
-#line 1050 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1051 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self->priv->visible = _tmp23_;
#line 6377 "ViewCollection.c"
}
-#line 1053 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1054 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp24_ = self->priv->visible;
-#line 1053 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1054 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp25_ = to_hide;
-#line 1053 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1054 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp26_ = data_set_remove_many (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1053 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- removed = _tmp26_;
#line 1054 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ removed = _tmp26_;
+#line 1055 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp27_ = removed;
-#line 1054 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1055 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (_tmp27_, "removed");
-#line 1056 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1057 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp28_ = unselected;
-#line 1056 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1057 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_remove_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1058 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp29_ = unselected;
-#line 1058 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp30_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1058 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp31_ = _tmp30_;
-#line 1058 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp31_ > 0) {
#line 6403 "ViewCollection.c"
GeeArrayList* _tmp32_ = NULL;
-#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1060 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp32_ = unselected;
-#line 1059 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1060 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_items_selected_unselected (self, NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, GEE_TYPE_COLLECTION, GeeCollection));
#line 6409 "ViewCollection.c"
}
-#line 1061 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp33_ = to_hide;
-#line 1061 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp34_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1061 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp35_ = _tmp34_;
-#line 1061 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp35_ > 0) {
#line 6419 "ViewCollection.c"
GeeList* _tmp36_ = NULL;
GeeList* _tmp37_ = NULL;
-#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1063 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp36_ = to_hide;
-#line 1062 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view_collection_notify_items_hidden (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_COLLECTION, GeeCollection));
#line 1063 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view_collection_notify_items_hidden (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 1064 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp37_ = to_hide;
-#line 1063 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1064 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_items_visibility_changed (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, GEE_TYPE_COLLECTION, GeeCollection));
#line 6430 "ViewCollection.c"
}
-#line 1030 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1031 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (unselected);
#line 6434 "ViewCollection.c"
}
@@ -6450,33 +6450,33 @@ static void view_collection_show_items (ViewCollection* self, GeeList* to_show)
GeeList* _tmp25_ = NULL;
gint _tmp26_ = 0;
gint _tmp27_ = 0;
-#line 1068 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1069 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 1068 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (GEE_IS_LIST (to_show));
#line 1069 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (GEE_IS_LIST (to_show));
+#line 1070 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 1069 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1070 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
added_selected = _tmp0_;
-#line 1071 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = to_show;
-#line 1071 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1071 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _tmp2_;
-#line 1071 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
count = _tmp3_;
#line 6469 "ViewCollection.c"
{
gint ctr = 0;
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
ctr = 0;
#line 6474 "ViewCollection.c"
{
gboolean _tmp4_ = FALSE;
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = TRUE;
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 6481 "ViewCollection.c"
gint _tmp6_ = 0;
@@ -6490,51 +6490,51 @@ static void view_collection_show_items (ViewCollection* self, GeeList* to_show)
DataView* _tmp13_ = NULL;
DataView* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp4_) {
#line 6495 "ViewCollection.c"
gint _tmp5_ = 0;
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = ctr;
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
ctr = _tmp5_ + 1;
#line 6501 "ViewCollection.c"
}
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = FALSE;
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = ctr;
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = count;
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!(_tmp6_ < _tmp7_)) {
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 6513 "ViewCollection.c"
}
-#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = to_show;
-#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = ctr;
-#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = gee_list_get (_tmp8_, _tmp9_);
-#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view = (DataView*) _tmp10_;
#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view = (DataView*) _tmp10_;
+#line 1075 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = view;
-#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1075 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = data_view_is_visible (_tmp11_);
-#line 1074 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1075 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (!_tmp12_, "!view.is_visible()");
-#line 1076 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1077 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = view;
-#line 1076 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1077 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
data_view_internal_set_visible (_tmp13_, TRUE);
-#line 1079 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = view;
-#line 1079 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = data_view_is_selected (_tmp14_);
-#line 1079 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp15_) {
#line 6539 "ViewCollection.c"
DataSet* _tmp16_ = NULL;
@@ -6542,64 +6542,64 @@ static void view_collection_show_items (ViewCollection* self, GeeList* to_show)
gboolean _tmp18_ = FALSE;
GeeArrayList* _tmp19_ = NULL;
DataView* _tmp20_ = NULL;
-#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp16_ = self->priv->selected;
-#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp17_ = view;
-#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp18_ = data_set_contains (_tmp16_, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_DATA_OBJECT, DataObject));
-#line 1080 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- _vala_assert (!_tmp18_, "!selected.contains(view)");
#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ _vala_assert (!_tmp18_, "!selected.contains(view)");
+#line 1082 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp19_ = added_selected;
-#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1082 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp20_ = view;
-#line 1081 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1082 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp20_);
#line 6559 "ViewCollection.c"
}
-#line 1072 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1073 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
#line 6563 "ViewCollection.c"
}
}
}
-#line 1085 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1086 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp21_ = to_show;
-#line 1085 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1086 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp22_ = view_collection_add_many_visible (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1085 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- added = _tmp22_;
#line 1086 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ added = _tmp22_;
+#line 1087 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp23_ = added;
-#line 1086 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1087 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (_tmp23_, "added");
-#line 1088 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1089 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp24_ = added_selected;
-#line 1088 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1089 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_add_many_selected (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1090 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp25_ = to_show;
-#line 1090 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp26_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1090 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp27_ = _tmp26_;
-#line 1090 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp27_ > 0) {
#line 6589 "ViewCollection.c"
GeeList* _tmp28_ = NULL;
GeeList* _tmp29_ = NULL;
-#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1092 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp28_ = to_show;
-#line 1091 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view_collection_notify_items_shown (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection));
#line 1092 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view_collection_notify_items_shown (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 1093 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp29_ = to_show;
-#line 1092 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1093 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_items_visibility_changed (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_COLLECTION, GeeCollection));
#line 6600 "ViewCollection.c"
}
-#line 1068 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1069 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (added_selected);
#line 6604 "ViewCollection.c"
}
@@ -6611,23 +6611,23 @@ gboolean view_collection_has_view_for_source (ViewCollection* self, DataSource*
DataView* _tmp1_ = NULL;
DataView* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 1097 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
-#line 1097 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE);
#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE);
+#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = source;
-#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = view_collection_get_view_for_source (self, _tmp0_);
-#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = _tmp1_;
-#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _tmp2_ != NULL;
-#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp2_);
-#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp3_;
-#line 1098 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1099 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6632 "ViewCollection.c"
}
@@ -6638,19 +6638,19 @@ DataView* view_collection_get_view_for_source (ViewCollection* self, DataSource*
GeeHashMap* _tmp0_ = NULL;
DataSource* _tmp1_ = NULL;
gpointer _tmp2_ = NULL;
-#line 1102 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
-#line 1102 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_DATA_SOURCE (source), NULL);
#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_DATA_SOURCE (source), NULL);
+#line 1104 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->source_map;
-#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1104 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = source;
-#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1104 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_);
-#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1104 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = (DataView*) _tmp2_;
-#line 1103 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1104 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6655 "ViewCollection.c"
}
@@ -6662,23 +6662,23 @@ gboolean view_collection_has_view_for_source_with_filtered (ViewCollection* self
DataView* _tmp1_ = NULL;
DataView* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 1107 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
-#line 1107 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE);
#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE);
+#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = source;
-#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = view_collection_get_view_for_source_filtered (self, _tmp0_);
-#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = _tmp1_;
-#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _tmp2_ != NULL;
-#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp2_);
-#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp3_;
-#line 1108 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1109 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6683 "ViewCollection.c"
}
@@ -6692,50 +6692,50 @@ DataView* view_collection_get_view_for_source_filtered (ViewCollection* self, Da
gpointer _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
DataView* _tmp4_ = NULL;
-#line 1112 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1113 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
-#line 1112 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_DATA_SOURCE (source), NULL);
#line 1113 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_DATA_SOURCE (source), NULL);
+#line 1114 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->source_map;
-#line 1113 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1114 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = source;
-#line 1113 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1114 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_);
-#line 1113 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1114 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view = (DataView*) _tmp2_;
-#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = view;
-#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp4_ != NULL) {
#line 6711 "ViewCollection.c"
DataView* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = view;
-#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = view_collection_is_in_filter (self, _tmp5_);
-#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = !_tmp6_;
#line 6720 "ViewCollection.c"
} else {
-#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = FALSE;
#line 6724 "ViewCollection.c"
}
-#line 1115 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp3_) {
#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp3_) {
+#line 1117 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = NULL;
-#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1117 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
-#line 1116 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1117 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6734 "ViewCollection.c"
}
-#line 1117 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1118 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = view;
-#line 1117 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1118 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6740 "ViewCollection.c"
}
@@ -6750,27 +6750,27 @@ GeeCollection* view_collection_get_sources (ViewCollection* self) {
GeeSet* _tmp4_ = NULL;
GeeSet* _tmp5_ = NULL;
GeeCollection* _tmp6_ = NULL;
-#line 1121 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
+#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->source_map;
-#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_MAP, GeeMap));
-#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = _tmp1_;
-#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _tmp2_;
-#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = gee_set_get_read_only_view (_tmp3_);
-#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _tmp4_;
-#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp3_);
-#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp6_;
-#line 1122 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1123 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6775 "ViewCollection.c"
}
@@ -6780,13 +6780,13 @@ gboolean view_collection_has_source_of_type (ViewCollection* self, GType t) {
gboolean result = FALSE;
GType _tmp0_ = 0UL;
gboolean _tmp1_ = FALSE;
-#line 1126 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
#line 1127 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
+#line 1128 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = t;
-#line 1127 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1128 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = g_type_is_a (_tmp0_, TYPE_DATA_SOURCE);
-#line 1127 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1128 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (_tmp1_, "t.is_a(typeof(DataSource))");
#line 6791 "ViewCollection.c"
{
@@ -6797,23 +6797,23 @@ gboolean view_collection_has_source_of_type (ViewCollection* self, GType t) {
GeeSet* _tmp5_ = NULL;
GeeIterator* _tmp6_ = NULL;
GeeIterator* _tmp7_ = NULL;
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = self->priv->source_map;
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_MAP, GeeMap));
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = _tmp3_;
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _tmp4_;
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = _tmp6_;
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp5_);
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_source_it = _tmp7_;
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 6818 "ViewCollection.c"
GeeIterator* _tmp8_ = NULL;
@@ -6825,53 +6825,53 @@ gboolean view_collection_has_source_of_type (ViewCollection* self, GType t) {
GType _tmp13_ = 0UL;
GType _tmp14_ = 0UL;
gboolean _tmp15_ = FALSE;
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = _source_it;
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = gee_iterator_next (_tmp8_);
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp9_) {
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 6836 "ViewCollection.c"
}
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = _source_it;
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = gee_iterator_get (_tmp10_);
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- source = (DataSource*) _tmp11_;
#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ source = (DataSource*) _tmp11_;
+#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = source;
-#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, G_TYPE_OBJECT, GObject));
-#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = t;
-#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = g_type_is_a (_tmp13_, _tmp14_);
-#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- if (_tmp15_) {
#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ if (_tmp15_) {
+#line 1132 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = TRUE;
-#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1132 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (source);
-#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1132 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_source_it);
-#line 1131 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1132 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6862 "ViewCollection.c"
}
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (source);
#line 6866 "ViewCollection.c"
}
-#line 1129 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1130 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_source_it);
#line 6870 "ViewCollection.c"
}
-#line 1134 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1135 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = FALSE;
-#line 1134 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1135 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6876 "ViewCollection.c"
}
@@ -6882,15 +6882,15 @@ gint view_collection_get_sources_of_type_count (ViewCollection* self, GType t) {
GType _tmp0_ = 0UL;
gboolean _tmp1_ = FALSE;
gint count = 0;
-#line 1137 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0);
#line 1138 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0);
+#line 1139 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = t;
-#line 1138 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1139 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = g_type_is_a (_tmp0_, TYPE_DATA_SOURCE);
-#line 1138 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1139 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (_tmp1_, "t.is_a(typeof(DataSource))");
-#line 1140 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
count = 0;
#line 6895 "ViewCollection.c"
{
@@ -6899,19 +6899,19 @@ gint view_collection_get_sources_of_type_count (ViewCollection* self, GType t) {
GeeCollection* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _tmp2_;
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _tmp4_;
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp3_);
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_object_it = _tmp5_;
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 6916 "ViewCollection.c"
GeeIterator* _tmp6_ = NULL;
@@ -6926,59 +6926,59 @@ gint view_collection_get_sources_of_type_count (ViewCollection* self, GType t) {
GType _tmp14_ = 0UL;
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = _object_it;
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = gee_iterator_next (_tmp6_);
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp7_) {
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 6937 "ViewCollection.c"
}
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = _object_it;
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = gee_iterator_get (_tmp8_);
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- object = (DataObject*) _tmp9_;
#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ object = (DataObject*) _tmp9_;
+#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = object;
-#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = data_view_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView));
-#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = _tmp11_;
-#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, G_TYPE_OBJECT, GObject));
-#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = t;
-#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = g_type_is_a (_tmp13_, _tmp14_);
-#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp16_ = _tmp15_;
-#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp12_);
-#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp16_) {
#line 6963 "ViewCollection.c"
gint _tmp17_ = 0;
-#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1144 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp17_ = count;
-#line 1143 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1144 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
count = _tmp17_ + 1;
#line 6969 "ViewCollection.c"
}
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (object);
#line 6973 "ViewCollection.c"
}
-#line 1141 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1142 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_object_it);
#line 6977 "ViewCollection.c"
}
-#line 1146 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1147 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = count;
-#line 1146 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1147 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 6983 "ViewCollection.c"
}
@@ -6989,15 +6989,15 @@ GeeList* view_collection_get_sources_of_type (ViewCollection* self, GType t) {
GType _tmp0_ = 0UL;
gboolean _tmp1_ = FALSE;
GeeList* sources = NULL;
-#line 1149 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
#line 1150 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
+#line 1151 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = t;
-#line 1150 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1151 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = g_type_is_a (_tmp0_, TYPE_DATA_SOURCE);
-#line 1150 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1151 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_vala_assert (_tmp1_, "t.is_a(typeof(DataSource))");
-#line 1152 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
sources = NULL;
#line 7002 "ViewCollection.c"
{
@@ -7006,19 +7006,19 @@ GeeList* view_collection_get_sources_of_type (ViewCollection* self, GType t) {
GeeCollection* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _tmp2_;
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _tmp4_;
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp3_);
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_object_it = _tmp5_;
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 7023 "ViewCollection.c"
GeeIterator* _tmp6_ = NULL;
@@ -7033,77 +7033,77 @@ GeeList* view_collection_get_sources_of_type (ViewCollection* self, GType t) {
GType _tmp13_ = 0UL;
GType _tmp14_ = 0UL;
gboolean _tmp15_ = FALSE;
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = _object_it;
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = gee_iterator_next (_tmp6_);
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp7_) {
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 7044 "ViewCollection.c"
}
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = _object_it;
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = gee_iterator_get (_tmp8_);
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- object = (DataObject*) _tmp9_;
#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ object = (DataObject*) _tmp9_;
+#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = object;
-#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = data_view_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView));
-#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- source = _tmp11_;
#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ source = _tmp11_;
+#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = source;
-#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, G_TYPE_OBJECT, GObject));
-#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = t;
-#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = g_type_is_a (_tmp13_, _tmp14_);
-#line 1155 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp15_) {
#line 7068 "ViewCollection.c"
GeeList* _tmp16_ = NULL;
GeeList* _tmp18_ = NULL;
DataSource* _tmp19_ = NULL;
-#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1157 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp16_ = sources;
-#line 1156 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1157 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp16_ == NULL) {
#line 7076 "ViewCollection.c"
GeeArrayList* _tmp17_ = NULL;
-#line 1157 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1158 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp17_ = gee_array_list_new (TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 1157 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1158 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (sources);
-#line 1157 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1158 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
sources = G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_LIST, GeeList);
#line 7084 "ViewCollection.c"
}
-#line 1159 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1160 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp18_ = sources;
-#line 1159 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1160 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp19_ = source;
-#line 1159 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1160 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection), _tmp19_);
#line 7092 "ViewCollection.c"
}
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (source);
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (object);
#line 7098 "ViewCollection.c"
}
-#line 1153 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1154 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_object_it);
#line 7102 "ViewCollection.c"
}
-#line 1163 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1164 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = sources;
-#line 1163 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1164 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 7108 "ViewCollection.c"
}
@@ -7116,29 +7116,29 @@ GeeList* view_collection_get_selected_sources (ViewCollection* self) {
gint count = 0;
DataSet* _tmp1_ = NULL;
gint _tmp2_ = 0;
-#line 1166 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
#line 1167 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
+#line 1168 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = gee_array_list_new (TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 1167 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1168 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
sources = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_LIST, GeeList);
-#line 1169 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = self->priv->selected;
-#line 1169 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_set_get_count (_tmp1_);
-#line 1169 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
count = _tmp2_;
#line 7131 "ViewCollection.c"
{
gint ctr = 0;
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
ctr = 0;
#line 7136 "ViewCollection.c"
{
gboolean _tmp3_ = FALSE;
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = TRUE;
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 7143 "ViewCollection.c"
gint _tmp5_ = 0;
@@ -7150,55 +7150,55 @@ GeeList* view_collection_get_selected_sources (ViewCollection* self) {
DataView* _tmp11_ = NULL;
DataSource* _tmp12_ = NULL;
DataSource* _tmp13_ = NULL;
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp3_) {
#line 7155 "ViewCollection.c"
gint _tmp4_ = 0;
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = ctr;
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
ctr = _tmp4_ + 1;
#line 7161 "ViewCollection.c"
}
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = FALSE;
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = ctr;
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = count;
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!(_tmp5_ < _tmp6_)) {
-#line 1170 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 7173 "ViewCollection.c"
}
-#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = sources;
-#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = self->priv->selected;
-#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = ctr;
-#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = data_set_get_at (_tmp8_, _tmp9_);
-#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView);
-#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = data_view_get_source (_tmp11_);
-#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = _tmp12_;
-#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection), _tmp13_);
-#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp13_);
-#line 1171 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1172 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp11_);
#line 7195 "ViewCollection.c"
}
}
}
-#line 1173 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1174 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = sources;
-#line 1173 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1174 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 7203 "ViewCollection.c"
}
@@ -7212,44 +7212,44 @@ DataSource* view_collection_get_selected_source_at (ViewCollection* self, gint i
DataObject* _tmp2_ = NULL;
DataSource* _tmp3_ = NULL;
DataObject* _tmp4_ = NULL;
-#line 1176 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
#line 1177 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
+#line 1178 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->selected;
-#line 1177 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1178 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = index;
-#line 1177 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1178 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = data_set_get_at (_tmp0_, _tmp1_);
-#line 1177 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1178 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
object = _tmp2_;
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = object;
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp4_ != NULL) {
#line 7229 "ViewCollection.c"
DataObject* _tmp5_ = NULL;
DataSource* _tmp6_ = NULL;
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = object;
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = data_view_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_VIEW, DataView));
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp3_);
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _tmp6_;
#line 7240 "ViewCollection.c"
} else {
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp3_);
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = NULL;
#line 7246 "ViewCollection.c"
}
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp3_;
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (object);
-#line 1179 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1180 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 7254 "ViewCollection.c"
}
@@ -7258,9 +7258,9 @@ DataSource* view_collection_get_selected_source_at (ViewCollection* self, gint i
GeeList* view_collection_get_selected_sources_of_type (ViewCollection* self, GType t) {
GeeList* result = NULL;
GeeList* sources = NULL;
-#line 1182 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
#line 1183 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), NULL);
+#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
sources = NULL;
#line 7265 "ViewCollection.c"
{
@@ -7271,21 +7271,21 @@ GeeList* view_collection_get_selected_sources_of_type (ViewCollection* self, GTy
gint _tmp2_ = 0;
gint _tmp3_ = 0;
gint _view_index = 0;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = view_collection_get_selected (self);
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_view_list = _tmp0_;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = _view_list;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _tmp2_;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_view_size = _tmp3_;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_view_index = -1;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 7290 "ViewCollection.c"
gint _tmp4_ = 0;
@@ -7302,83 +7302,83 @@ GeeList* view_collection_get_selected_sources_of_type (ViewCollection* self, GTy
GType _tmp13_ = 0UL;
GType _tmp14_ = 0UL;
gboolean _tmp15_ = FALSE;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = _view_index;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_view_index = _tmp4_ + 1;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _view_index;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = _view_size;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!(_tmp5_ < _tmp6_)) {
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 7317 "ViewCollection.c"
}
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = _view_list;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = _view_index;
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = gee_list_get (_tmp7_, _tmp8_);
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view = (DataView*) _tmp9_;
#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view = (DataView*) _tmp9_;
+#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = view;
-#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = data_view_get_source (_tmp10_);
-#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- source = _tmp11_;
#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ source = _tmp11_;
+#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = source;
-#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, G_TYPE_OBJECT, GObject));
-#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = t;
-#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = g_type_is_a (_tmp13_, _tmp14_);
-#line 1186 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp15_) {
#line 7343 "ViewCollection.c"
GeeList* _tmp16_ = NULL;
GeeList* _tmp18_ = NULL;
DataSource* _tmp19_ = NULL;
-#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1188 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp16_ = sources;
-#line 1187 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1188 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp16_ == NULL) {
#line 7351 "ViewCollection.c"
GeeArrayList* _tmp17_ = NULL;
-#line 1188 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1189 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp17_ = gee_array_list_new (TYPE_DATA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 1188 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1189 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (sources);
-#line 1188 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1189 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
sources = G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_LIST, GeeList);
#line 7359 "ViewCollection.c"
}
-#line 1190 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1191 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp18_ = sources;
-#line 1190 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1191 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp19_ = source;
-#line 1190 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1191 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection), _tmp19_);
#line 7367 "ViewCollection.c"
}
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (source);
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
#line 7373 "ViewCollection.c"
}
-#line 1184 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1185 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_view_list);
#line 7377 "ViewCollection.c"
}
-#line 1194 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1195 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = sources;
-#line 1194 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1195 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 7383 "ViewCollection.c"
}
@@ -7391,40 +7391,40 @@ gint view_collection_index_of_source (ViewCollection* self, DataSource* source)
DataView* _tmp1_ = NULL;
gint _tmp2_ = 0;
DataView* _tmp3_ = NULL;
-#line 1198 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1199 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_COLLECTION (self), 0);
-#line 1198 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_DATA_SOURCE (source), 0);
#line 1199 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_DATA_SOURCE (source), 0);
+#line 1200 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = source;
-#line 1199 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1200 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = view_collection_get_view_for_source (self, _tmp0_);
-#line 1199 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1200 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view = _tmp1_;
-#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = view;
-#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp3_ != NULL) {
#line 7408 "ViewCollection.c"
DataView* _tmp4_ = NULL;
gint _tmp5_ = 0;
-#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = view;
-#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = data_collection_index_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_OBJECT, DataObject));
-#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = _tmp5_;
#line 7417 "ViewCollection.c"
} else {
-#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = -1;
#line 7421 "ViewCollection.c"
}
-#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp2_;
-#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
-#line 1201 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1202 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 7429 "ViewCollection.c"
}
@@ -7432,57 +7432,57 @@ gint view_collection_index_of_source (ViewCollection* self, DataSource* source)
void view_collection_internal_notify_view_altered (ViewCollection* self, DataView* view) {
gboolean _tmp0_ = FALSE;
-#line 1205 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1206 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 1205 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (IS_DATA_VIEW (view));
#line 1206 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (IS_DATA_VIEW (view));
+#line 1207 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = data_collection_are_notifications_frozen (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 1206 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1207 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp0_) {
#line 7443 "ViewCollection.c"
DataView* _tmp1_ = NULL;
DataView* _tmp2_ = NULL;
GeeCollection* _tmp3_ = NULL;
GeeCollection* _tmp4_ = NULL;
-#line 1207 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = view;
-#line 1207 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view_collection_notify_item_view_altered (self, _tmp1_);
#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view_collection_notify_item_view_altered (self, _tmp1_);
+#line 1209 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = view;
-#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1209 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = data_collection_get_singleton (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_OBJECT, DataObject));
-#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1209 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1209 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_views_altered (self, _tmp4_);
-#line 1208 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1209 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp4_);
#line 7462 "ViewCollection.c"
} else {
GeeHashSet* _tmp5_ = NULL;
GeeHashSet* _tmp7_ = NULL;
DataView* _tmp8_ = NULL;
-#line 1210 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1211 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = self->priv->frozen_views_altered;
-#line 1210 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1211 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp5_ == NULL) {
#line 7471 "ViewCollection.c"
GeeHashSet* _tmp6_ = NULL;
-#line 1211 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = gee_hash_set_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL);
-#line 1211 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (self->priv->frozen_views_altered);
-#line 1211 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self->priv->frozen_views_altered = _tmp6_;
#line 7479 "ViewCollection.c"
}
-#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1213 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = self->priv->frozen_views_altered;
-#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1213 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = view;
-#line 1212 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1213 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp8_);
#line 7487 "ViewCollection.c"
}
@@ -7491,57 +7491,57 @@ void view_collection_internal_notify_view_altered (ViewCollection* self, DataVie
void view_collection_internal_notify_geometry_altered (ViewCollection* self, DataView* view) {
gboolean _tmp0_ = FALSE;
-#line 1217 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1218 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (IS_VIEW_COLLECTION (self));
-#line 1217 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_if_fail (IS_DATA_VIEW (view));
#line 1218 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_if_fail (IS_DATA_VIEW (view));
+#line 1219 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = data_collection_are_notifications_frozen (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 1218 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1219 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp0_) {
#line 7502 "ViewCollection.c"
DataView* _tmp1_ = NULL;
DataView* _tmp2_ = NULL;
GeeCollection* _tmp3_ = NULL;
GeeCollection* _tmp4_ = NULL;
-#line 1219 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = view;
-#line 1219 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view_collection_notify_item_geometry_altered (self, _tmp1_);
#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view_collection_notify_item_geometry_altered (self, _tmp1_);
+#line 1221 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = view;
-#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1221 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = data_collection_get_singleton (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_OBJECT, DataObject));
-#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1221 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1221 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_geometries_altered (self, _tmp4_);
-#line 1220 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1221 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_tmp4_);
#line 7521 "ViewCollection.c"
} else {
GeeHashSet* _tmp5_ = NULL;
GeeHashSet* _tmp7_ = NULL;
DataView* _tmp8_ = NULL;
-#line 1222 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1223 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = self->priv->frozen_geometries_altered;
-#line 1222 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1223 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp5_ == NULL) {
#line 7530 "ViewCollection.c"
GeeHashSet* _tmp6_ = NULL;
-#line 1223 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = gee_hash_set_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL);
-#line 1223 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (self->priv->frozen_geometries_altered);
-#line 1223 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self->priv->frozen_geometries_altered = _tmp6_;
#line 7538 "ViewCollection.c"
}
-#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1225 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = self->priv->frozen_geometries_altered;
-#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1225 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = view;
-#line 1224 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1225 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp8_);
#line 7546 "ViewCollection.c"
}
@@ -7552,11 +7552,11 @@ static void view_collection_real_notify_thawed (DataCollection* base) {
ViewCollection * self;
GeeHashSet* _tmp0_ = NULL;
GeeHashSet* _tmp9_ = NULL;
-#line 1228 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
#line 1229 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_VIEW_COLLECTION, ViewCollection);
+#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = self->priv->frozen_views_altered;
-#line 1229 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp0_ != NULL) {
#line 7561 "ViewCollection.c"
GeeHashSet* _tmp8_ = NULL;
@@ -7564,13 +7564,13 @@ static void view_collection_real_notify_thawed (DataCollection* base) {
GeeIterator* _view_it = NULL;
GeeHashSet* _tmp1_ = NULL;
GeeIterator* _tmp2_ = NULL;
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = self->priv->frozen_views_altered;
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp2_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_view_it = _tmp2_;
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 7575 "ViewCollection.c"
GeeIterator* _tmp3_ = NULL;
@@ -7579,47 +7579,47 @@ static void view_collection_real_notify_thawed (DataCollection* base) {
GeeIterator* _tmp5_ = NULL;
gpointer _tmp6_ = NULL;
DataView* _tmp7_ = NULL;
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp3_ = _view_it;
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp4_ = gee_iterator_next (_tmp3_);
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp4_) {
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 7590 "ViewCollection.c"
}
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp5_ = _view_it;
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp6_ = gee_iterator_get (_tmp5_);
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view = (DataView*) _tmp6_;
#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view = (DataView*) _tmp6_;
+#line 1232 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp7_ = view;
-#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1232 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_item_view_altered (self, _tmp7_);
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
#line 7604 "ViewCollection.c"
}
-#line 1230 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1231 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_view_it);
#line 7608 "ViewCollection.c"
}
-#line 1232 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1233 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp8_ = self->priv->frozen_views_altered;
-#line 1232 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view_collection_notify_views_altered (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection));
#line 1233 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view_collection_notify_views_altered (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 1234 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (self->priv->frozen_views_altered);
-#line 1233 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1234 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self->priv->frozen_views_altered = NULL;
#line 7618 "ViewCollection.c"
}
-#line 1236 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp9_ = self->priv->frozen_geometries_altered;
-#line 1236 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (_tmp9_ != NULL) {
#line 7624 "ViewCollection.c"
GeeHashSet* _tmp17_ = NULL;
@@ -7627,13 +7627,13 @@ static void view_collection_real_notify_thawed (DataCollection* base) {
GeeIterator* _view_it = NULL;
GeeHashSet* _tmp10_ = NULL;
GeeIterator* _tmp11_ = NULL;
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp10_ = self->priv->frozen_geometries_altered;
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp11_ = gee_abstract_collection_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_view_it = _tmp11_;
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
while (TRUE) {
#line 7638 "ViewCollection.c"
GeeIterator* _tmp12_ = NULL;
@@ -7642,45 +7642,45 @@ static void view_collection_real_notify_thawed (DataCollection* base) {
GeeIterator* _tmp14_ = NULL;
gpointer _tmp15_ = NULL;
DataView* _tmp16_ = NULL;
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp12_ = _view_it;
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp13_ = gee_iterator_next (_tmp12_);
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!_tmp13_) {
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
break;
#line 7653 "ViewCollection.c"
}
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp14_ = _view_it;
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp15_ = gee_iterator_get (_tmp14_);
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view = (DataView*) _tmp15_;
#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view = (DataView*) _tmp15_;
+#line 1239 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp16_ = view;
-#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1239 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_collection_notify_item_geometry_altered (self, _tmp16_);
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (view);
#line 7667 "ViewCollection.c"
}
-#line 1237 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1238 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (_view_it);
#line 7671 "ViewCollection.c"
}
-#line 1239 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1240 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp17_ = self->priv->frozen_geometries_altered;
-#line 1239 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- view_collection_notify_geometries_altered (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection));
#line 1240 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ view_collection_notify_geometries_altered (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 1241 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_g_object_unref0 (self->priv->frozen_geometries_altered);
-#line 1240 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1241 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self->priv->frozen_geometries_altered = NULL;
#line 7681 "ViewCollection.c"
}
-#line 1243 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1244 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
DATA_COLLECTION_CLASS (view_collection_parent_class)->notify_thawed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
#line 7685 "ViewCollection.c"
}
@@ -7690,15 +7690,15 @@ gboolean view_collection_are_items_filtered_out (ViewCollection* self) {
gboolean result = FALSE;
gint _tmp0_ = 0;
gint _tmp1_ = 0;
-#line 1246 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
#line 1247 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (self), FALSE);
+#line 1248 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp0_ = DATA_COLLECTION_CLASS (view_collection_parent_class)->get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 1247 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1248 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
_tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_COLLECTION, DataCollection));
-#line 1247 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1248 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = _tmp0_ != _tmp1_;
-#line 1247 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1248 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 7703 "ViewCollection.c"
}
@@ -8558,38 +8558,38 @@ GType view_collection_get_type (void) {
static gboolean view_manager_real_include_in_view (ViewManager* self, DataSource* source) {
gboolean result = FALSE;
-#line 1257 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
- g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE);
#line 1258 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+ g_return_val_if_fail (IS_DATA_SOURCE (source), FALSE);
+#line 1259 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
result = TRUE;
-#line 1258 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1259 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return result;
#line 8567 "ViewCollection.c"
}
gboolean view_manager_include_in_view (ViewManager* self, DataSource* source) {
-#line 1257 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1258 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_MANAGER (self), FALSE);
-#line 1257 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1258 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return VIEW_MANAGER_GET_CLASS (self)->include_in_view (self, source);
#line 8576 "ViewCollection.c"
}
static DataView* view_manager_real_create_view (ViewManager* self, DataSource* source) {
-#line 1263 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1264 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_critical ("Type `%s' does not implement abstract method `view_manager_create_view'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 1263 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1264 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return NULL;
#line 8585 "ViewCollection.c"
}
DataView* view_manager_create_view (ViewManager* self, DataSource* source) {
-#line 1263 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1264 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_MANAGER (self), NULL);
-#line 1263 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1264 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return VIEW_MANAGER_GET_CLASS (self)->create_view (self, source);
#line 8594 "ViewCollection.c"
}
@@ -8597,25 +8597,25 @@ DataView* view_manager_create_view (ViewManager* self, DataSource* source) {
ViewManager* view_manager_construct (GType object_type) {
ViewManager* self = NULL;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self = (ViewManager*) g_type_create_instance (object_type);
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return self;
#line 8604 "ViewCollection.c"
}
static void value_view_manager_init (GValue* value) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = NULL;
#line 8611 "ViewCollection.c"
}
static void value_view_manager_free_value (GValue* value) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (value->data[0].v_pointer) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_manager_unref (value->data[0].v_pointer);
#line 8620 "ViewCollection.c"
}
@@ -8623,13 +8623,13 @@ static void value_view_manager_free_value (GValue* value) {
static void value_view_manager_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (src_value->data[0].v_pointer) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
dest_value->data[0].v_pointer = view_manager_ref (src_value->data[0].v_pointer);
#line 8630 "ViewCollection.c"
} else {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
dest_value->data[0].v_pointer = NULL;
#line 8634 "ViewCollection.c"
}
@@ -8637,37 +8637,37 @@ static void value_view_manager_copy_value (const GValue* src_value, GValue* dest
static gpointer value_view_manager_peek_pointer (const GValue* value) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return value->data[0].v_pointer;
#line 8642 "ViewCollection.c"
}
static gchar* value_view_manager_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (collect_values[0].v_pointer) {
#line 8649 "ViewCollection.c"
ViewManager* object;
object = collect_values[0].v_pointer;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (object->parent_instance.g_class == NULL) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 8656 "ViewCollection.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.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 8660 "ViewCollection.c"
}
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = view_manager_ref (object);
#line 8664 "ViewCollection.c"
} else {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = NULL;
#line 8668 "ViewCollection.c"
}
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return NULL;
#line 8672 "ViewCollection.c"
}
@@ -8676,27 +8676,27 @@ static gchar* value_view_manager_collect_value (GValue* value, guint n_collect_v
static gchar* value_view_manager_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
ViewManager** object_p;
object_p = collect_values[0].v_pointer;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!object_p) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 8683 "ViewCollection.c"
}
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!value->data[0].v_pointer) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
*object_p = NULL;
#line 8689 "ViewCollection.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
*object_p = value->data[0].v_pointer;
#line 8693 "ViewCollection.c"
} else {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
*object_p = view_manager_ref (value->data[0].v_pointer);
#line 8697 "ViewCollection.c"
}
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return NULL;
#line 8701 "ViewCollection.c"
}
@@ -8704,22 +8704,22 @@ static gchar* value_view_manager_lcopy_value (const GValue* value, guint n_colle
GParamSpec* param_spec_view_manager (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecViewManager* spec;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_VIEW_MANAGER), NULL);
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return G_PARAM_SPEC (spec);
#line 8715 "ViewCollection.c"
}
gpointer value_get_view_manager (const GValue* value) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_MANAGER), NULL);
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return value->data[0].v_pointer;
#line 8724 "ViewCollection.c"
}
@@ -8727,29 +8727,29 @@ gpointer value_get_view_manager (const GValue* value) {
void value_set_view_manager (GValue* value, gpointer v_object) {
ViewManager* old;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_MANAGER));
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
old = value->data[0].v_pointer;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (v_object) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_VIEW_MANAGER));
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = v_object;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_manager_ref (value->data[0].v_pointer);
#line 8744 "ViewCollection.c"
} else {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = NULL;
#line 8748 "ViewCollection.c"
}
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (old) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_manager_unref (old);
#line 8754 "ViewCollection.c"
}
@@ -8758,27 +8758,27 @@ void value_set_view_manager (GValue* value, gpointer v_object) {
void value_take_view_manager (GValue* value, gpointer v_object) {
ViewManager* old;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_MANAGER));
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
old = value->data[0].v_pointer;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (v_object) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_VIEW_MANAGER));
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = v_object;
#line 8773 "ViewCollection.c"
} else {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = NULL;
#line 8777 "ViewCollection.c"
}
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (old) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_manager_unref (old);
#line 8783 "ViewCollection.c"
}
@@ -8786,20 +8786,20 @@ void value_take_view_manager (GValue* value, gpointer v_object) {
static void view_manager_class_init (ViewManagerClass * klass) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_manager_parent_class = g_type_class_peek_parent (klass);
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
((ViewManagerClass *) klass)->finalize = view_manager_finalize;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
((ViewManagerClass *) klass)->include_in_view = view_manager_real_include_in_view;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
((ViewManagerClass *) klass)->create_view = view_manager_real_create_view;
#line 8797 "ViewCollection.c"
}
static void view_manager_instance_init (ViewManager * self) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self->ref_count = 1;
#line 8804 "ViewCollection.c"
}
@@ -8807,9 +8807,9 @@ static void view_manager_instance_init (ViewManager * self) {
static void view_manager_finalize (ViewManager* obj) {
ViewManager * self;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_VIEW_MANAGER, ViewManager);
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_signal_handlers_destroy (self);
#line 8814 "ViewCollection.c"
}
@@ -8832,9 +8832,9 @@ GType view_manager_get_type (void) {
gpointer view_manager_ref (gpointer instance) {
ViewManager* self;
self = instance;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_atomic_int_inc (&self->ref_count);
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return instance;
#line 8839 "ViewCollection.c"
}
@@ -8843,11 +8843,11 @@ gpointer view_manager_ref (gpointer instance) {
void view_manager_unref (gpointer instance) {
ViewManager* self;
self = instance;
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
VIEW_MANAGER_GET_CLASS (self)->finalize (self);
-#line 1253 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1254 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_type_free_instance ((GTypeInstance *) self);
#line 8852 "ViewCollection.c"
}
@@ -8855,18 +8855,18 @@ void view_manager_unref (gpointer instance) {
static gboolean view_filter_real_predicate (ViewFilter* self, DataView* view) {
-#line 1285 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1286 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_critical ("Type `%s' does not implement abstract method `view_filter_predicate'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 1285 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1286 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return FALSE;
#line 8862 "ViewCollection.c"
}
gboolean view_filter_predicate (ViewFilter* self, DataView* view) {
-#line 1285 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1286 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (IS_VIEW_FILTER (self), FALSE);
-#line 1285 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1286 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return VIEW_FILTER_GET_CLASS (self)->predicate (self, view);
#line 8871 "ViewCollection.c"
}
@@ -8874,9 +8874,9 @@ gboolean view_filter_predicate (ViewFilter* self, DataView* view) {
ViewFilter* view_filter_construct (GType object_type) {
ViewFilter* self = NULL;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self = (ViewFilter*) g_type_create_instance (object_type);
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return self;
#line 8881 "ViewCollection.c"
}
@@ -8887,16 +8887,16 @@ static void view_filter_real_refresh (ViewFilter* self) {
static void value_view_filter_init (GValue* value) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = NULL;
#line 8892 "ViewCollection.c"
}
static void value_view_filter_free_value (GValue* value) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (value->data[0].v_pointer) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_filter_unref (value->data[0].v_pointer);
#line 8901 "ViewCollection.c"
}
@@ -8904,13 +8904,13 @@ static void value_view_filter_free_value (GValue* value) {
static void value_view_filter_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (src_value->data[0].v_pointer) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
dest_value->data[0].v_pointer = view_filter_ref (src_value->data[0].v_pointer);
#line 8911 "ViewCollection.c"
} else {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
dest_value->data[0].v_pointer = NULL;
#line 8915 "ViewCollection.c"
}
@@ -8918,37 +8918,37 @@ static void value_view_filter_copy_value (const GValue* src_value, GValue* dest_
static gpointer value_view_filter_peek_pointer (const GValue* value) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return value->data[0].v_pointer;
#line 8923 "ViewCollection.c"
}
static gchar* value_view_filter_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (collect_values[0].v_pointer) {
#line 8930 "ViewCollection.c"
ViewFilter* object;
object = collect_values[0].v_pointer;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (object->parent_instance.g_class == NULL) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 8937 "ViewCollection.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.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 8941 "ViewCollection.c"
}
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = view_filter_ref (object);
#line 8945 "ViewCollection.c"
} else {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = NULL;
#line 8949 "ViewCollection.c"
}
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return NULL;
#line 8953 "ViewCollection.c"
}
@@ -8957,27 +8957,27 @@ static gchar* value_view_filter_collect_value (GValue* value, guint n_collect_va
static gchar* value_view_filter_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
ViewFilter** object_p;
object_p = collect_values[0].v_pointer;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!object_p) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 8964 "ViewCollection.c"
}
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (!value->data[0].v_pointer) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
*object_p = NULL;
#line 8970 "ViewCollection.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
*object_p = value->data[0].v_pointer;
#line 8974 "ViewCollection.c"
} else {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
*object_p = view_filter_ref (value->data[0].v_pointer);
#line 8978 "ViewCollection.c"
}
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return NULL;
#line 8982 "ViewCollection.c"
}
@@ -8985,22 +8985,22 @@ static gchar* value_view_filter_lcopy_value (const GValue* value, guint n_collec
GParamSpec* param_spec_view_filter (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecViewFilter* spec;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_VIEW_FILTER), NULL);
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return G_PARAM_SPEC (spec);
#line 8996 "ViewCollection.c"
}
gpointer value_get_view_filter (const GValue* value) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_FILTER), NULL);
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return value->data[0].v_pointer;
#line 9005 "ViewCollection.c"
}
@@ -9008,29 +9008,29 @@ gpointer value_get_view_filter (const GValue* value) {
void value_set_view_filter (GValue* value, gpointer v_object) {
ViewFilter* old;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_FILTER));
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
old = value->data[0].v_pointer;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (v_object) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_VIEW_FILTER));
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = v_object;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_filter_ref (value->data[0].v_pointer);
#line 9025 "ViewCollection.c"
} else {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = NULL;
#line 9029 "ViewCollection.c"
}
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (old) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_filter_unref (old);
#line 9035 "ViewCollection.c"
}
@@ -9039,27 +9039,27 @@ void value_set_view_filter (GValue* value, gpointer v_object) {
void value_take_view_filter (GValue* value, gpointer v_object) {
ViewFilter* old;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_VIEW_FILTER));
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
old = value->data[0].v_pointer;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (v_object) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_VIEW_FILTER));
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = v_object;
#line 9054 "ViewCollection.c"
} else {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
value->data[0].v_pointer = NULL;
#line 9058 "ViewCollection.c"
}
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (old) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_filter_unref (old);
#line 9064 "ViewCollection.c"
}
@@ -9067,22 +9067,22 @@ void value_take_view_filter (GValue* value, gpointer v_object) {
static void view_filter_class_init (ViewFilterClass * klass) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
view_filter_parent_class = g_type_class_peek_parent (klass);
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
((ViewFilterClass *) klass)->finalize = view_filter_finalize;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
((ViewFilterClass *) klass)->predicate = view_filter_real_predicate;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
((ViewFilterClass *) klass)->refresh = view_filter_real_refresh;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_signal_new ("refresh", TYPE_VIEW_FILTER, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ViewFilterClass, refresh), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 9080 "ViewCollection.c"
}
static void view_filter_instance_init (ViewFilter * self) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self->ref_count = 1;
#line 9087 "ViewCollection.c"
}
@@ -9090,9 +9090,9 @@ static void view_filter_instance_init (ViewFilter * self) {
static void view_filter_finalize (ViewFilter* obj) {
ViewFilter * self;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_VIEW_FILTER, ViewFilter);
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_signal_handlers_destroy (self);
#line 9097 "ViewCollection.c"
}
@@ -9115,9 +9115,9 @@ GType view_filter_get_type (void) {
gpointer view_filter_ref (gpointer instance) {
ViewFilter* self;
self = instance;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_atomic_int_inc (&self->ref_count);
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
return instance;
#line 9122 "ViewCollection.c"
}
@@ -9126,11 +9126,11 @@ gpointer view_filter_ref (gpointer instance) {
void view_filter_unref (gpointer instance) {
ViewFilter* self;
self = instance;
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
VIEW_FILTER_GET_CLASS (self)->finalize (self);
-#line 1278 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
+#line 1279 "/home/jens/Source/shotwell/src/core/ViewCollection.vala"
g_type_free_instance ((GTypeInstance *) self);
#line 9135 "ViewCollection.c"
}