summaryrefslogtreecommitdiff
path: root/src/Tag.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-12 15:53:58 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-12 15:53:58 +0100
commit2492891f112caac6076ce49721d9d5d78a152c3a (patch)
tree36dd11a60bd963e6bd44e2e312b6e4b57d1849ea /src/Tag.c
parent3c829c50a8f705402bdc759946d49ae7caebd003 (diff)
New upstream version 0.26.4upstream/0.26.4
Diffstat (limited to 'src/Tag.c')
-rw-r--r--src/Tag.c3465
1 files changed, 1731 insertions, 1734 deletions
diff --git a/src/Tag.c b/src/Tag.c
index 000dd2d..5f27dfc 100644
--- a/src/Tag.c
+++ b/src/Tag.c
@@ -1,4 +1,4 @@
-/* Tag.c generated by valac 0.34.7, the Vala compiler
+/* Tag.c generated by valac 0.36.6, the Vala compiler
* generated from Tag.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -707,9 +707,9 @@ extern TagSourceCollection* tag_global;
TagSourceCollection* tag_global = NULL;
static gpointer tag_tag_snapshot_parent_class = NULL;
static gpointer tag_tag_proxy_parent_class = NULL;
-static ContainerSourceIface* tag_container_source_parent_iface = NULL;
-static ProxyableIface* tag_proxyable_parent_iface = NULL;
-static IndexableIface* tag_indexable_parent_iface = NULL;
+static ContainerSourceIface * tag_container_source_parent_iface = NULL;
+static ProxyableIface * tag_proxyable_parent_iface = NULL;
+static IndexableIface * tag_indexable_parent_iface = NULL;
gpointer data_collection_ref (gpointer instance);
void data_collection_unref (gpointer instance);
@@ -818,7 +818,7 @@ static gint _tag_compare_names_gcompare_data_func (gconstpointer a, gconstpointe
void container_source_collection_notify_container_contents_added (ContainerSourceCollection* self, ContainerSource* container, GeeCollection* added, gboolean relinked);
static void tag_source_collection_real_notify_container_contents_removed (ContainerSourceCollection* base, ContainerSource* container, GeeCollection* removed, gboolean unlinking);
void container_source_collection_notify_container_contents_removed (ContainerSourceCollection* self, ContainerSource* container, GeeCollection* removed, gboolean unlinked);
-static void tag_source_collection_finalize (DataCollection* obj);
+static void tag_source_collection_finalize (DataCollection * obj);
gpointer source_holding_tank_ref (gpointer instance);
void source_holding_tank_unref (gpointer instance);
GParamSpec* param_spec_source_holding_tank (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
@@ -923,7 +923,7 @@ GType prepare_input_text_options_get_type (void) G_GNUC_CONST;
gchar* prepare_input_text (const gchar* text, PrepareInputTextOptions options, gint dest_length);
#define DEFAULT_USER_TEXT_INPUT_LENGTH 1024
gchar** tag_prep_tag_names (gchar** names, int names_length1, int* result_length1);
-static void _vala_array_add127 (gchar*** array, int* length, int* size, gchar* value);
+static void _vala_array_add127 (gchar** * array, int* length, int* size, gchar* value);
static void tag_set_raw_flat_name (Tag* self, const gchar* name);
void tag_table_rename (TagTable* self, TagID* tag_id, const gchar* new_name, GError** error);
void data_object_notify_altered (DataObject* self, Alteration* alteration);
@@ -997,13 +997,13 @@ static void tag_tag_snapshot_real_notify_broken (SourceSnapshot* base);
TagRow* tag_row_new (void);
TagRow* tag_row_construct (GType object_type);
void source_snapshot_notify_broken (SourceSnapshot* self);
-static void tag_tag_snapshot_finalize (SourceSnapshot* obj);
+static void tag_tag_snapshot_finalize (SourceSnapshot * obj);
enum {
TAG_TAG_PROXY_DUMMY_PROPERTY
};
SourceProxy* source_proxy_construct (GType object_type, DataSource* source);
static DataSource* tag_tag_proxy_real_reconstitute (SourceProxy* base, gint64 object_id, SourceSnapshot* snapshot);
-static void tag_finalize (GObject* obj);
+static void tag_finalize (GObject * obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
@@ -1044,9 +1044,9 @@ static gint64 _tag_source_collection_get_tag_key_get_source_database_key (DataSo
TagSourceCollection* tag_source_collection_construct (GType object_type) {
TagSourceCollection* self = NULL;
- LibraryPhotoSourceCollection* _tmp0_ = NULL;
- VideoSourceCollection* _tmp1_ = NULL;
- LibraryPhotoSourceCollection* _tmp2_ = NULL;
+ LibraryPhotoSourceCollection* _tmp0_;
+ VideoSourceCollection* _tmp1_;
+ LibraryPhotoSourceCollection* _tmp2_;
#line 16 "/home/jens/Source/shotwell/src/Tag.vala"
self = (TagSourceCollection*) container_source_collection_construct (object_type, TAG_TYPENAME, "TagSourceCollection", _tag_source_collection_get_tag_key_get_source_database_key, NULL);
#line 18 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1077,7 +1077,7 @@ TagSourceCollection* tag_source_collection_new (void) {
static gboolean tag_source_collection_real_holds_type_of_source (SourceCollection* base, DataSource* source) {
TagSourceCollection * self;
gboolean result = FALSE;
- DataSource* _tmp0_ = NULL;
+ DataSource* _tmp0_;
#line 29 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG_SOURCE_COLLECTION, TagSourceCollection);
#line 29 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1094,8 +1094,8 @@ static gboolean tag_source_collection_real_holds_type_of_source (SourceCollectio
static gint64 tag_source_collection_get_tag_key (DataSource* source) {
gint64 result = 0LL;
- DataSource* _tmp0_ = NULL;
- gint64 _tmp1_ = 0LL;
+ DataSource* _tmp0_;
+ gint64 _tmp1_;
#line 33 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_DATA_SOURCE (source), 0LL);
#line 34 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1113,8 +1113,8 @@ static gint64 tag_source_collection_get_tag_key (DataSource* source) {
static GeeCollection* tag_source_collection_real_get_containers_holding_source (ContainerSourceCollection* base, DataSource* source) {
TagSourceCollection * self;
GeeCollection* result = NULL;
- DataSource* _tmp0_ = NULL;
- GeeList* _tmp1_ = NULL;
+ DataSource* _tmp0_;
+ GeeList* _tmp1_;
#line 37 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG_SOURCE_COLLECTION, TagSourceCollection);
#line 37 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1142,15 +1142,15 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
TagSourceCollection * self;
ContainerSource* result = NULL;
TagID tag_id = {0};
- SourceBacklink* _tmp0_ = NULL;
- gint64 _tmp1_ = 0LL;
- gint64 _tmp2_ = 0LL;
+ SourceBacklink* _tmp0_;
+ gint64 _tmp1_;
+ gint64 _tmp2_;
Tag* _result_ = NULL;
Tag* tag = NULL;
- TagID _tmp3_ = {0};
- Tag* _tmp4_ = NULL;
- Tag* _tmp5_ = NULL;
- Tag* _tmp25_ = NULL;
+ TagID _tmp3_;
+ Tag* _tmp4_;
+ Tag* _tmp5_;
+ Tag* _tmp25_;
#line 41 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG_SOURCE_COLLECTION, TagSourceCollection);
#line 41 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1176,8 +1176,8 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
#line 47 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp5_ != NULL) {
#line 1179 "Tag.c"
- Tag* _tmp6_ = NULL;
- Tag* _tmp7_ = NULL;
+ Tag* _tmp6_;
+ Tag* _tmp7_;
#line 48 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_ = tag;
#line 48 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1190,10 +1190,10 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
} else {
{
GeeIterator* _container_it = NULL;
- GeeCollection* _tmp8_ = NULL;
- GeeCollection* _tmp9_ = NULL;
- GeeIterator* _tmp10_ = NULL;
- GeeIterator* _tmp11_ = NULL;
+ GeeCollection* _tmp8_;
+ GeeCollection* _tmp9_;
+ GeeIterator* _tmp10_;
+ GeeIterator* _tmp11_;
#line 51 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp8_ = container_source_collection_get_holding_tank (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollection));
#line 51 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1209,18 +1209,18 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
#line 51 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 1212 "Tag.c"
- GeeIterator* _tmp12_ = NULL;
- gboolean _tmp13_ = FALSE;
+ GeeIterator* _tmp12_;
+ gboolean _tmp13_;
ContainerSource* container = NULL;
- GeeIterator* _tmp14_ = NULL;
- gpointer _tmp15_ = NULL;
- ContainerSource* _tmp16_ = NULL;
- Tag* _tmp17_ = NULL;
- Tag* _tmp18_ = NULL;
+ GeeIterator* _tmp14_;
+ gpointer _tmp15_;
+ ContainerSource* _tmp16_;
+ Tag* _tmp17_;
+ Tag* _tmp18_;
TagID _tmp19_ = {0};
- gint64 _tmp20_ = 0LL;
- TagID _tmp21_ = {0};
- gint64 _tmp22_ = 0LL;
+ gint64 _tmp20_;
+ TagID _tmp21_;
+ gint64 _tmp22_;
#line 51 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp12_ = _container_it;
#line 51 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1258,8 +1258,8 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
#line 53 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp20_ == _tmp22_) {
#line 1261 "Tag.c"
- Tag* _tmp23_ = NULL;
- Tag* _tmp24_ = NULL;
+ Tag* _tmp23_;
+ Tag* _tmp24_;
#line 54 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp23_ = tag;
#line 54 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1289,11 +1289,11 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
if (_tmp25_ != NULL) {
#line 1291 "Tag.c"
gboolean _tmp26_ = FALSE;
- Tag* _tmp27_ = NULL;
- gchar* _tmp28_ = NULL;
- gchar* _tmp29_ = NULL;
- gboolean _tmp30_ = FALSE;
- gboolean _tmp31_ = FALSE;
+ Tag* _tmp27_;
+ gchar* _tmp28_;
+ gchar* _tmp29_;
+ gboolean _tmp30_;
+ gboolean _tmp31_;
#line 64 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp27_ = _result_;
#line 64 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1309,13 +1309,13 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
#line 64 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp31_) {
#line 1312 "Tag.c"
- Tag* _tmp32_ = NULL;
- gchar* _tmp33_ = NULL;
- gchar* _tmp34_ = NULL;
- GeeList* _tmp35_ = NULL;
- GeeList* _tmp36_ = NULL;
- gint _tmp37_ = 0;
- gint _tmp38_ = 0;
+ Tag* _tmp32_;
+ gchar* _tmp33_;
+ gchar* _tmp34_;
+ GeeList* _tmp35_;
+ GeeList* _tmp36_;
+ gint _tmp37_;
+ gint _tmp38_;
#line 65 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp32_ = _result_;
#line 65 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1346,16 +1346,16 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
if (_tmp26_) {
#line 1348 "Tag.c"
gchar* top_level_with_prefix_path = NULL;
- Tag* _tmp39_ = NULL;
- gchar* _tmp40_ = NULL;
- gchar* _tmp41_ = NULL;
- GeeList* _tmp42_ = NULL;
- GeeList* _tmp43_ = NULL;
- gpointer _tmp44_ = NULL;
- gchar* _tmp45_ = NULL;
+ Tag* _tmp39_;
+ gchar* _tmp40_;
+ gchar* _tmp41_;
+ GeeList* _tmp42_;
+ GeeList* _tmp43_;
+ gpointer _tmp44_;
+ gchar* _tmp45_;
gchar* top_level_no_prefix_path = NULL;
- const gchar* _tmp46_ = NULL;
- gchar* _tmp47_ = NULL;
+ const gchar* _tmp46_;
+ gchar* _tmp47_;
#line 66 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp39_ = _result_;
#line 66 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1385,10 +1385,10 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
#line 1386 "Tag.c"
{
GeeIterator* _container_it = NULL;
- GeeCollection* _tmp48_ = NULL;
- GeeCollection* _tmp49_ = NULL;
- GeeIterator* _tmp50_ = NULL;
- GeeIterator* _tmp51_ = NULL;
+ GeeCollection* _tmp48_;
+ GeeCollection* _tmp49_;
+ GeeIterator* _tmp50_;
+ GeeIterator* _tmp51_;
#line 71 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp48_ = container_source_collection_get_holding_tank (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollection));
#line 71 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1404,19 +1404,19 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
#line 71 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 1407 "Tag.c"
- GeeIterator* _tmp52_ = NULL;
- gboolean _tmp53_ = FALSE;
+ GeeIterator* _tmp52_;
+ gboolean _tmp53_;
ContainerSource* container = NULL;
- GeeIterator* _tmp54_ = NULL;
- gpointer _tmp55_ = NULL;
+ GeeIterator* _tmp54_;
+ gpointer _tmp55_;
Tag* parent_candidate = NULL;
- ContainerSource* _tmp56_ = NULL;
- Tag* _tmp57_ = NULL;
- Tag* _tmp58_ = NULL;
- gchar* _tmp59_ = NULL;
- gchar* _tmp60_ = NULL;
- const gchar* _tmp61_ = NULL;
- gboolean _tmp62_ = FALSE;
+ ContainerSource* _tmp56_;
+ Tag* _tmp57_;
+ Tag* _tmp58_;
+ gchar* _tmp59_;
+ gchar* _tmp60_;
+ const gchar* _tmp61_;
+ gboolean _tmp62_;
#line 71 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp52_ = _container_it;
#line 71 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1454,7 +1454,7 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
#line 73 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp62_) {
#line 1457 "Tag.c"
- Tag* _tmp63_ = NULL;
+ Tag* _tmp63_;
#line 74 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp63_ = parent_candidate;
#line 74 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1490,9 +1490,9 @@ static ContainerSource* tag_source_collection_real_convert_backlink_to_container
Tag* tag_source_collection_fetch (TagSourceCollection* self, TagID* tag_id) {
Tag* result = NULL;
- TagID _tmp0_ = {0};
- gint64 _tmp1_ = 0LL;
- DataSource* _tmp2_ = NULL;
+ TagID _tmp0_;
+ gint64 _tmp1_;
+ DataSource* _tmp2_;
#line 82 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG_SOURCE_COLLECTION (self), NULL);
#line 82 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1513,11 +1513,11 @@ Tag* tag_source_collection_fetch (TagSourceCollection* self, TagID* tag_id) {
gboolean tag_source_collection_exists (TagSourceCollection* self, const gchar* name, gboolean treat_htags_as_root) {
gboolean result = FALSE;
- const gchar* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- Tag* _tmp2_ = NULL;
- Tag* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+ const gchar* _tmp0_;
+ gboolean _tmp1_;
+ Tag* _tmp2_;
+ Tag* _tmp3_;
+ gboolean _tmp4_;
#line 86 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG_SOURCE_COLLECTION (self), FALSE);
#line 86 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1544,9 +1544,9 @@ gboolean tag_source_collection_exists (TagSourceCollection* self, const gchar* n
GeeCollection* tag_source_collection_get_all_names (TagSourceCollection* self) {
GeeCollection* result = NULL;
- GeeHashMap* _tmp0_ = NULL;
- GeeSet* _tmp1_ = NULL;
- GeeSet* _tmp2_ = NULL;
+ GeeHashMap* _tmp0_;
+ GeeSet* _tmp1_;
+ GeeSet* _tmp2_;
#line 90 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG_SOURCE_COLLECTION (self), NULL);
#line 91 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1565,9 +1565,9 @@ GeeCollection* tag_source_collection_get_all_names (TagSourceCollection* self) {
GeeList* tag_source_collection_fetch_for_source (TagSourceCollection* self, MediaSource* source) {
GeeList* result = NULL;
- GeeHashMap* _tmp0_ = NULL;
- MediaSource* _tmp1_ = NULL;
- gpointer _tmp2_ = NULL;
+ GeeHashMap* _tmp0_;
+ MediaSource* _tmp1_;
+ gpointer _tmp2_;
#line 98 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG_SOURCE_COLLECTION (self), NULL);
#line 98 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1588,9 +1588,9 @@ GeeList* tag_source_collection_fetch_for_source (TagSourceCollection* self, Medi
GeeSortedSet* tag_source_collection_fetch_sorted_for_source (TagSourceCollection* self, MediaSource* photo) {
GeeSortedSet* result = NULL;
- GeeHashMap* _tmp0_ = NULL;
- MediaSource* _tmp1_ = NULL;
- gpointer _tmp2_ = NULL;
+ GeeHashMap* _tmp0_;
+ MediaSource* _tmp1_;
+ gpointer _tmp2_;
#line 106 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG_SOURCE_COLLECTION (self), NULL);
#line 106 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1611,10 +1611,10 @@ GeeSortedSet* tag_source_collection_fetch_sorted_for_source (TagSourceCollection
Tag* tag_source_collection_fetch_by_name (TagSourceCollection* self, const gchar* name, gboolean treat_htags_as_root) {
Tag* result = NULL;
- gboolean _tmp0_ = FALSE;
- GeeHashMap* _tmp23_ = NULL;
- const gchar* _tmp24_ = NULL;
- gpointer _tmp25_ = NULL;
+ gboolean _tmp0_;
+ GeeHashMap* _tmp23_;
+ const gchar* _tmp24_;
+ gpointer _tmp25_;
#line 112 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG_SOURCE_COLLECTION (self), NULL);
#line 112 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1624,8 +1624,8 @@ Tag* tag_source_collection_fetch_by_name (TagSourceCollection* self, const gchar
#line 113 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp0_) {
#line 1627 "Tag.c"
- const gchar* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
+ const gchar* _tmp1_;
+ gboolean _tmp2_;
#line 114 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp1_ = name;
#line 114 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1633,12 +1633,12 @@ Tag* tag_source_collection_fetch_by_name (TagSourceCollection* self, const gchar
#line 114 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp2_) {
#line 1636 "Tag.c"
- const gchar* _tmp3_ = NULL;
- GeeList* _tmp4_ = NULL;
- GeeList* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gboolean _tmp8_ = FALSE;
+ const gchar* _tmp3_;
+ GeeList* _tmp4_;
+ GeeList* _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ gboolean _tmp8_;
#line 115 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp3_ = name;
#line 115 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1657,13 +1657,13 @@ Tag* tag_source_collection_fetch_by_name (TagSourceCollection* self, const gchar
if (_tmp8_) {
#line 1659 "Tag.c"
Tag* tag = NULL;
- GeeHashMap* _tmp9_ = NULL;
- const gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- gpointer _tmp13_ = NULL;
- Tag* _tmp14_ = NULL;
- Tag* _tmp15_ = NULL;
+ GeeHashMap* _tmp9_;
+ const gchar* _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
+ gpointer _tmp13_;
+ Tag* _tmp14_;
+ Tag* _tmp15_;
#line 116 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp9_ = self->priv->name_map;
#line 116 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1696,13 +1696,13 @@ Tag* tag_source_collection_fetch_by_name (TagSourceCollection* self, const gchar
}
} else {
Tag* tag = NULL;
- GeeHashMap* _tmp16_ = NULL;
- const gchar* _tmp17_ = NULL;
- gchar* _tmp18_ = NULL;
- gchar* _tmp19_ = NULL;
- gpointer _tmp20_ = NULL;
- Tag* _tmp21_ = NULL;
- Tag* _tmp22_ = NULL;
+ GeeHashMap* _tmp16_;
+ const gchar* _tmp17_;
+ gchar* _tmp18_;
+ gchar* _tmp19_;
+ gpointer _tmp20_;
+ Tag* _tmp21_;
+ Tag* _tmp22_;
#line 121 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp16_ = self->priv->name_map;
#line 121 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1751,7 +1751,7 @@ Tag* tag_source_collection_fetch_by_name (TagSourceCollection* self, const gchar
Tag* tag_source_collection_restore_tag_from_holding_tank (TagSourceCollection* self, const gchar* name) {
Tag* result = NULL;
Tag* found = NULL;
- Tag* _tmp17_ = NULL;
+ Tag* _tmp17_;
#line 130 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG_SOURCE_COLLECTION (self), NULL);
#line 130 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1761,10 +1761,10 @@ Tag* tag_source_collection_restore_tag_from_holding_tank (TagSourceCollection* s
#line 1762 "Tag.c"
{
GeeIterator* _container_it = NULL;
- GeeCollection* _tmp0_ = NULL;
- GeeCollection* _tmp1_ = NULL;
- GeeIterator* _tmp2_ = NULL;
- GeeIterator* _tmp3_ = NULL;
+ GeeCollection* _tmp0_;
+ GeeCollection* _tmp1_;
+ GeeIterator* _tmp2_;
+ GeeIterator* _tmp3_;
#line 132 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = container_source_collection_get_holding_tank (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollection));
#line 132 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1780,19 +1780,19 @@ Tag* tag_source_collection_restore_tag_from_holding_tank (TagSourceCollection* s
#line 132 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 1783 "Tag.c"
- GeeIterator* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+ GeeIterator* _tmp4_;
+ gboolean _tmp5_;
ContainerSource* container = NULL;
- GeeIterator* _tmp6_ = NULL;
- gpointer _tmp7_ = NULL;
+ GeeIterator* _tmp6_;
+ gpointer _tmp7_;
Tag* tag = NULL;
- ContainerSource* _tmp8_ = NULL;
- Tag* _tmp9_ = NULL;
- Tag* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
- gboolean _tmp14_ = FALSE;
+ ContainerSource* _tmp8_;
+ Tag* _tmp9_;
+ Tag* _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
+ const gchar* _tmp13_;
+ gboolean _tmp14_;
#line 132 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp4_ = _container_it;
#line 132 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1830,8 +1830,8 @@ Tag* tag_source_collection_restore_tag_from_holding_tank (TagSourceCollection* s
#line 134 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp14_) {
#line 1833 "Tag.c"
- Tag* _tmp15_ = NULL;
- Tag* _tmp16_ = NULL;
+ Tag* _tmp15_;
+ Tag* _tmp16_;
#line 135 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp15_ = tag;
#line 135 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1864,9 +1864,9 @@ Tag* tag_source_collection_restore_tag_from_holding_tank (TagSourceCollection* s
if (_tmp17_ != NULL) {
#line 1866 "Tag.c"
gboolean relinked = FALSE;
- Tag* _tmp18_ = NULL;
- gboolean _tmp19_ = FALSE;
- gboolean _tmp20_ = FALSE;
+ Tag* _tmp18_;
+ gboolean _tmp19_;
+ gboolean _tmp20_;
#line 142 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp18_ = found;
#line 142 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1889,7 +1889,7 @@ Tag* tag_source_collection_restore_tag_from_holding_tank (TagSourceCollection* s
static void tag_source_collection_real_notify_items_added (DataCollection* base, GeeIterable* added) {
TagSourceCollection * self;
- GeeIterable* _tmp18_ = NULL;
+ GeeIterable* _tmp18_;
#line 149 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG_SOURCE_COLLECTION, TagSourceCollection);
#line 149 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1897,8 +1897,8 @@ static void tag_source_collection_real_notify_items_added (DataCollection* base,
#line 1898 "Tag.c"
{
GeeIterator* _object_it = NULL;
- GeeIterable* _tmp0_ = NULL;
- GeeIterator* _tmp1_ = NULL;
+ GeeIterable* _tmp0_;
+ GeeIterator* _tmp1_;
#line 150 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = added;
#line 150 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1908,24 +1908,24 @@ static void tag_source_collection_real_notify_items_added (DataCollection* base,
#line 150 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 1911 "Tag.c"
- GeeIterator* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
+ GeeIterator* _tmp2_;
+ gboolean _tmp3_;
DataObject* object = NULL;
- GeeIterator* _tmp4_ = NULL;
- gpointer _tmp5_ = NULL;
+ GeeIterator* _tmp4_;
+ gpointer _tmp5_;
Tag* tag = NULL;
- DataObject* _tmp6_ = NULL;
- Tag* _tmp7_ = NULL;
- GeeHashMap* _tmp8_ = NULL;
- Tag* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gboolean _tmp12_ = FALSE;
- GeeHashMap* _tmp13_ = NULL;
- Tag* _tmp14_ = NULL;
- gchar* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
- Tag* _tmp17_ = NULL;
+ DataObject* _tmp6_;
+ Tag* _tmp7_;
+ GeeHashMap* _tmp8_;
+ Tag* _tmp9_;
+ gchar* _tmp10_;
+ gchar* _tmp11_;
+ gboolean _tmp12_;
+ GeeHashMap* _tmp13_;
+ Tag* _tmp14_;
+ gchar* _tmp15_;
+ gchar* _tmp16_;
+ Tag* _tmp17_;
#line 150 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp2_ = _object_it;
#line 150 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -1996,7 +1996,7 @@ static void tag_source_collection_real_notify_items_added (DataCollection* base,
static void tag_source_collection_real_notify_items_removed (DataCollection* base, GeeIterable* removed) {
TagSourceCollection * self;
- GeeIterable* _tmp29_ = NULL;
+ GeeIterable* _tmp29_;
#line 160 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG_SOURCE_COLLECTION, TagSourceCollection);
#line 160 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2004,8 +2004,8 @@ static void tag_source_collection_real_notify_items_removed (DataCollection* bas
#line 2005 "Tag.c"
{
GeeIterator* _object_it = NULL;
- GeeIterable* _tmp0_ = NULL;
- GeeIterator* _tmp1_ = NULL;
+ GeeIterable* _tmp0_;
+ GeeIterator* _tmp1_;
#line 161 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = removed;
#line 161 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2015,27 +2015,27 @@ static void tag_source_collection_real_notify_items_removed (DataCollection* bas
#line 161 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 2018 "Tag.c"
- GeeIterator* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
+ GeeIterator* _tmp2_;
+ gboolean _tmp3_;
DataObject* object = NULL;
- GeeIterator* _tmp4_ = NULL;
- gpointer _tmp5_ = NULL;
+ GeeIterator* _tmp4_;
+ gpointer _tmp5_;
Tag* tag = NULL;
- DataObject* _tmp6_ = NULL;
- Tag* _tmp7_ = NULL;
+ DataObject* _tmp6_;
+ Tag* _tmp7_;
gboolean unset = FALSE;
- GeeHashMap* _tmp8_ = NULL;
- Tag* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gboolean _tmp12_ = FALSE;
- gboolean _tmp13_ = FALSE;
- gboolean _tmp14_ = FALSE;
+ GeeHashMap* _tmp8_;
+ Tag* _tmp9_;
+ gchar* _tmp10_;
+ gchar* _tmp11_;
+ gboolean _tmp12_;
+ gboolean _tmp13_;
+ gboolean _tmp14_;
Tag* parent = NULL;
- Tag* _tmp15_ = NULL;
- Tag* _tmp16_ = NULL;
+ Tag* _tmp15_;
+ Tag* _tmp16_;
gboolean _tmp17_ = FALSE;
- Tag* _tmp18_ = NULL;
+ Tag* _tmp18_;
#line 161 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp2_ = _object_it;
#line 161 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2089,9 +2089,9 @@ static void tag_source_collection_real_notify_items_removed (DataCollection* bas
#line 170 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp18_ != NULL) {
#line 2092 "Tag.c"
- Tag* _tmp19_ = NULL;
- Tag* _tmp20_ = NULL;
- Tag* _tmp21_ = NULL;
+ Tag* _tmp19_;
+ Tag* _tmp20_;
+ Tag* _tmp21_;
#line 170 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp19_ = parent;
#line 170 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2111,12 +2111,12 @@ static void tag_source_collection_real_notify_items_removed (DataCollection* bas
#line 170 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp17_) {
#line 2114 "Tag.c"
- Tag* _tmp22_ = NULL;
- GeeList* _tmp23_ = NULL;
- GeeList* _tmp24_ = NULL;
- gint _tmp25_ = 0;
- gint _tmp26_ = 0;
- gboolean _tmp27_ = FALSE;
+ Tag* _tmp22_;
+ GeeList* _tmp23_;
+ GeeList* _tmp24_;
+ gint _tmp25_;
+ gint _tmp26_;
+ gboolean _tmp27_;
#line 171 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp22_ = parent;
#line 171 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2134,7 +2134,7 @@ static void tag_source_collection_real_notify_items_removed (DataCollection* bas
#line 171 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp27_) {
#line 2137 "Tag.c"
- Tag* _tmp28_ = NULL;
+ Tag* _tmp28_;
#line 172 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp28_ = parent;
#line 172 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2164,7 +2164,7 @@ static void tag_source_collection_real_notify_items_removed (DataCollection* bas
static void tag_source_collection_real_notify_items_altered (DataCollection* base, GeeMap* map) {
TagSourceCollection * self;
- GeeMap* _tmp37_ = NULL;
+ GeeMap* _tmp37_;
#line 179 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG_SOURCE_COLLECTION, TagSourceCollection);
#line 179 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2172,12 +2172,12 @@ static void tag_source_collection_real_notify_items_altered (DataCollection* bas
#line 2173 "Tag.c"
{
GeeIterator* _object_it = NULL;
- GeeMap* _tmp0_ = NULL;
- GeeSet* _tmp1_ = NULL;
- GeeSet* _tmp2_ = NULL;
- GeeSet* _tmp3_ = NULL;
- GeeIterator* _tmp4_ = NULL;
- GeeIterator* _tmp5_ = NULL;
+ GeeMap* _tmp0_;
+ GeeSet* _tmp1_;
+ GeeSet* _tmp2_;
+ GeeSet* _tmp3_;
+ GeeIterator* _tmp4_;
+ GeeIterator* _tmp5_;
#line 180 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = map;
#line 180 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2197,24 +2197,24 @@ static void tag_source_collection_real_notify_items_altered (DataCollection* bas
#line 180 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 2200 "Tag.c"
- GeeIterator* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
+ GeeIterator* _tmp6_;
+ gboolean _tmp7_;
DataObject* object = NULL;
- GeeIterator* _tmp8_ = NULL;
- gpointer _tmp9_ = NULL;
+ GeeIterator* _tmp8_;
+ gpointer _tmp9_;
Tag* tag = NULL;
- DataObject* _tmp10_ = NULL;
- Tag* _tmp11_ = NULL;
+ DataObject* _tmp10_;
+ Tag* _tmp11_;
gchar* old_name = NULL;
GeeMapIterator* iter = NULL;
- GeeHashMap* _tmp12_ = NULL;
- GeeMapIterator* _tmp13_ = NULL;
- const gchar* _tmp24_ = NULL;
- Tag* _tmp25_ = NULL;
- gchar* _tmp26_ = NULL;
- gchar* _tmp27_ = NULL;
- const gchar* _tmp28_ = NULL;
- gboolean _tmp29_ = FALSE;
+ GeeHashMap* _tmp12_;
+ GeeMapIterator* _tmp13_;
+ const gchar* _tmp24_;
+ Tag* _tmp25_;
+ gchar* _tmp26_;
+ gchar* _tmp27_;
+ const gchar* _tmp28_;
+ gboolean _tmp29_;
#line 180 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_ = _object_it;
#line 180 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2248,16 +2248,16 @@ static void tag_source_collection_real_notify_items_altered (DataCollection* bas
#line 187 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 2251 "Tag.c"
- GeeMapIterator* _tmp14_ = NULL;
- gboolean _tmp15_ = FALSE;
- GeeMapIterator* _tmp16_ = NULL;
- gpointer _tmp17_ = NULL;
- Tag* _tmp18_ = NULL;
- Tag* _tmp19_ = NULL;
- gboolean _tmp20_ = FALSE;
- gboolean _tmp21_ = FALSE;
- GeeMapIterator* _tmp22_ = NULL;
- gpointer _tmp23_ = NULL;
+ GeeMapIterator* _tmp14_;
+ gboolean _tmp15_;
+ GeeMapIterator* _tmp16_;
+ gpointer _tmp17_;
+ Tag* _tmp18_;
+ Tag* _tmp19_;
+ gboolean _tmp20_;
+ gboolean _tmp21_;
+ GeeMapIterator* _tmp22_;
+ gpointer _tmp23_;
#line 187 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp14_ = iter;
#line 187 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2319,13 +2319,13 @@ static void tag_source_collection_real_notify_items_altered (DataCollection* bas
#line 198 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp29_) {
#line 2322 "Tag.c"
- GeeHashMap* _tmp30_ = NULL;
- const gchar* _tmp31_ = NULL;
- GeeHashMap* _tmp32_ = NULL;
- Tag* _tmp33_ = NULL;
- gchar* _tmp34_ = NULL;
- gchar* _tmp35_ = NULL;
- Tag* _tmp36_ = NULL;
+ GeeHashMap* _tmp30_;
+ const gchar* _tmp31_;
+ GeeHashMap* _tmp32_;
+ Tag* _tmp33_;
+ gchar* _tmp34_;
+ gchar* _tmp35_;
+ Tag* _tmp36_;
#line 199 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp30_ = self->priv->name_map;
#line 199 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2382,14 +2382,14 @@ static gint _tag_compare_names_gcompare_data_func (gconstpointer a, gconstpointe
static void tag_source_collection_real_notify_container_contents_added (ContainerSourceCollection* base, ContainerSource* container, GeeCollection* added, gboolean relinking) {
TagSourceCollection * self;
Tag* tag = NULL;
- ContainerSource* _tmp0_ = NULL;
- Tag* _tmp1_ = NULL;
+ ContainerSource* _tmp0_;
+ Tag* _tmp1_;
GeeCollection* sources = NULL;
- GeeCollection* _tmp2_ = NULL;
- GeeCollection* _tmp3_ = NULL;
- ContainerSource* _tmp34_ = NULL;
- GeeCollection* _tmp35_ = NULL;
- gboolean _tmp36_ = FALSE;
+ GeeCollection* _tmp2_;
+ GeeCollection* _tmp3_;
+ ContainerSource* _tmp34_;
+ GeeCollection* _tmp35_;
+ gboolean _tmp36_;
#line 207 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG_SOURCE_COLLECTION, TagSourceCollection);
#line 207 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2411,8 +2411,8 @@ static void tag_source_collection_real_notify_container_contents_added (Containe
#line 2412 "Tag.c"
{
GeeIterator* _source_it = NULL;
- GeeCollection* _tmp4_ = NULL;
- GeeIterator* _tmp5_ = NULL;
+ GeeCollection* _tmp4_;
+ GeeIterator* _tmp5_;
#line 212 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp4_ = sources;
#line 212 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2422,30 +2422,30 @@ static void tag_source_collection_real_notify_container_contents_added (Containe
#line 212 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 2425 "Tag.c"
- GeeIterator* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
+ GeeIterator* _tmp6_;
+ gboolean _tmp7_;
MediaSource* source = NULL;
- GeeIterator* _tmp8_ = NULL;
- gpointer _tmp9_ = NULL;
+ GeeIterator* _tmp8_;
+ gpointer _tmp9_;
GeeList* tags = NULL;
- GeeHashMap* _tmp10_ = NULL;
- MediaSource* _tmp11_ = NULL;
- gpointer _tmp12_ = NULL;
- GeeList* _tmp13_ = NULL;
+ GeeHashMap* _tmp10_;
+ MediaSource* _tmp11_;
+ gpointer _tmp12_;
+ GeeList* _tmp13_;
gboolean is_added = FALSE;
- GeeList* _tmp18_ = NULL;
- Tag* _tmp19_ = NULL;
- gboolean _tmp20_ = FALSE;
- gboolean _tmp21_ = FALSE;
+ GeeList* _tmp18_;
+ Tag* _tmp19_;
+ gboolean _tmp20_;
+ gboolean _tmp21_;
GeeSortedSet* sorted_tags = NULL;
- GeeHashMap* _tmp22_ = NULL;
- MediaSource* _tmp23_ = NULL;
- gpointer _tmp24_ = NULL;
- GeeSortedSet* _tmp25_ = NULL;
- GeeSortedSet* _tmp30_ = NULL;
- Tag* _tmp31_ = NULL;
- gboolean _tmp32_ = FALSE;
- gboolean _tmp33_ = FALSE;
+ GeeHashMap* _tmp22_;
+ MediaSource* _tmp23_;
+ gpointer _tmp24_;
+ GeeSortedSet* _tmp25_;
+ GeeSortedSet* _tmp30_;
+ Tag* _tmp31_;
+ gboolean _tmp32_;
+ gboolean _tmp33_;
#line 212 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_ = _source_it;
#line 212 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2475,10 +2475,10 @@ static void tag_source_collection_real_notify_container_contents_added (Containe
#line 214 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp13_ == NULL) {
#line 2478 "Tag.c"
- GeeArrayList* _tmp14_ = NULL;
- GeeHashMap* _tmp15_ = NULL;
- MediaSource* _tmp16_ = NULL;
- GeeList* _tmp17_ = NULL;
+ GeeArrayList* _tmp14_;
+ GeeHashMap* _tmp15_;
+ MediaSource* _tmp16_;
+ GeeList* _tmp17_;
#line 215 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp14_ = gee_array_list_new (TYPE_TAG, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 215 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2520,10 +2520,10 @@ static void tag_source_collection_real_notify_container_contents_added (Containe
#line 223 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp25_ == NULL) {
#line 2523 "Tag.c"
- GeeTreeSet* _tmp26_ = NULL;
- GeeHashMap* _tmp27_ = NULL;
- MediaSource* _tmp28_ = NULL;
- GeeSortedSet* _tmp29_ = NULL;
+ GeeTreeSet* _tmp26_;
+ GeeHashMap* _tmp27_;
+ MediaSource* _tmp28_;
+ GeeSortedSet* _tmp29_;
#line 224 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp26_ = gee_tree_set_new (TYPE_TAG, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _tag_compare_names_gcompare_data_func, NULL, NULL);
#line 224 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2583,14 +2583,14 @@ static void tag_source_collection_real_notify_container_contents_added (Containe
static void tag_source_collection_real_notify_container_contents_removed (ContainerSourceCollection* base, ContainerSource* container, GeeCollection* removed, gboolean unlinking) {
TagSourceCollection * self;
Tag* tag = NULL;
- ContainerSource* _tmp0_ = NULL;
- Tag* _tmp1_ = NULL;
+ ContainerSource* _tmp0_;
+ Tag* _tmp1_;
GeeCollection* sources = NULL;
- GeeCollection* _tmp2_ = NULL;
- GeeCollection* _tmp3_ = NULL;
- ContainerSource* _tmp36_ = NULL;
- GeeCollection* _tmp37_ = NULL;
- gboolean _tmp38_ = FALSE;
+ GeeCollection* _tmp2_;
+ GeeCollection* _tmp3_;
+ ContainerSource* _tmp36_;
+ GeeCollection* _tmp37_;
+ gboolean _tmp38_;
#line 235 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG_SOURCE_COLLECTION, TagSourceCollection);
#line 235 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2612,8 +2612,8 @@ static void tag_source_collection_real_notify_container_contents_removed (Contai
#line 2613 "Tag.c"
{
GeeIterator* _source_it = NULL;
- GeeCollection* _tmp4_ = NULL;
- GeeIterator* _tmp5_ = NULL;
+ GeeCollection* _tmp4_;
+ GeeIterator* _tmp5_;
#line 240 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp4_ = sources;
#line 240 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2623,36 +2623,36 @@ static void tag_source_collection_real_notify_container_contents_removed (Contai
#line 240 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 2626 "Tag.c"
- GeeIterator* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
+ GeeIterator* _tmp6_;
+ gboolean _tmp7_;
MediaSource* source = NULL;
- GeeIterator* _tmp8_ = NULL;
- gpointer _tmp9_ = NULL;
+ GeeIterator* _tmp8_;
+ gpointer _tmp9_;
GeeList* tags = NULL;
- GeeHashMap* _tmp10_ = NULL;
- MediaSource* _tmp11_ = NULL;
- gpointer _tmp12_ = NULL;
- GeeList* _tmp13_ = NULL;
+ GeeHashMap* _tmp10_;
+ MediaSource* _tmp11_;
+ gpointer _tmp12_;
+ GeeList* _tmp13_;
gboolean is_removed = FALSE;
- GeeList* _tmp14_ = NULL;
- Tag* _tmp15_ = NULL;
- gboolean _tmp16_ = FALSE;
- gboolean _tmp17_ = FALSE;
- GeeList* _tmp18_ = NULL;
- gint _tmp19_ = 0;
- gint _tmp20_ = 0;
+ GeeList* _tmp14_;
+ Tag* _tmp15_;
+ gboolean _tmp16_;
+ gboolean _tmp17_;
+ GeeList* _tmp18_;
+ gint _tmp19_;
+ gint _tmp20_;
GeeSortedSet* sorted_tags = NULL;
- GeeHashMap* _tmp23_ = NULL;
- MediaSource* _tmp24_ = NULL;
- gpointer _tmp25_ = NULL;
- GeeSortedSet* _tmp26_ = NULL;
- GeeSortedSet* _tmp27_ = NULL;
- Tag* _tmp28_ = NULL;
- gboolean _tmp29_ = FALSE;
- gboolean _tmp30_ = FALSE;
- GeeSortedSet* _tmp31_ = NULL;
- gint _tmp32_ = 0;
- gint _tmp33_ = 0;
+ GeeHashMap* _tmp23_;
+ MediaSource* _tmp24_;
+ gpointer _tmp25_;
+ GeeSortedSet* _tmp26_;
+ GeeSortedSet* _tmp27_;
+ Tag* _tmp28_;
+ gboolean _tmp29_;
+ gboolean _tmp30_;
+ GeeSortedSet* _tmp31_;
+ gint _tmp32_;
+ gint _tmp33_;
#line 240 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_ = _source_it;
#line 240 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2702,8 +2702,8 @@ static void tag_source_collection_real_notify_container_contents_removed (Contai
#line 247 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp20_ == 0) {
#line 2705 "Tag.c"
- GeeHashMap* _tmp21_ = NULL;
- MediaSource* _tmp22_ = NULL;
+ GeeHashMap* _tmp21_;
+ MediaSource* _tmp22_;
#line 248 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp21_ = self->priv->source_map;
#line 248 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2745,8 +2745,8 @@ static void tag_source_collection_real_notify_container_contents_removed (Contai
#line 256 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp33_ == 0) {
#line 2748 "Tag.c"
- GeeHashMap* _tmp34_ = NULL;
- MediaSource* _tmp35_ = NULL;
+ GeeHashMap* _tmp34_;
+ MediaSource* _tmp35_;
#line 257 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp34_ = self->priv->sorted_source_map;
#line 257 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2802,29 +2802,29 @@ static void tag_source_collection_class_init (TagSourceCollectionClass * klass)
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
g_type_class_add_private (klass, sizeof (TagSourceCollectionPrivate));
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
- ((SourceCollectionClass *) klass)->holds_type_of_source = (gboolean (*)(SourceCollection*, DataSource*)) tag_source_collection_real_holds_type_of_source;
+ ((SourceCollectionClass *) klass)->holds_type_of_source = (gboolean (*) (SourceCollection *, DataSource*)) tag_source_collection_real_holds_type_of_source;
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
- ((ContainerSourceCollectionClass *) klass)->get_containers_holding_source = (GeeCollection* (*)(ContainerSourceCollection*, DataSource*)) tag_source_collection_real_get_containers_holding_source;
+ ((ContainerSourceCollectionClass *) klass)->get_containers_holding_source = (GeeCollection* (*) (ContainerSourceCollection *, DataSource*)) tag_source_collection_real_get_containers_holding_source;
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
- ((ContainerSourceCollectionClass *) klass)->convert_backlink_to_container = (ContainerSource* (*)(ContainerSourceCollection*, SourceBacklink*)) tag_source_collection_real_convert_backlink_to_container;
+ ((ContainerSourceCollectionClass *) klass)->convert_backlink_to_container = (ContainerSource* (*) (ContainerSourceCollection *, SourceBacklink*)) tag_source_collection_real_convert_backlink_to_container;
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
- ((DataCollectionClass *) klass)->notify_items_added = (void (*)(DataCollection*, GeeIterable*)) tag_source_collection_real_notify_items_added;
+ ((DataCollectionClass *) klass)->notify_items_added = (void (*) (DataCollection *, GeeIterable*)) tag_source_collection_real_notify_items_added;
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
- ((DataCollectionClass *) klass)->notify_items_removed = (void (*)(DataCollection*, GeeIterable*)) tag_source_collection_real_notify_items_removed;
+ ((DataCollectionClass *) klass)->notify_items_removed = (void (*) (DataCollection *, GeeIterable*)) tag_source_collection_real_notify_items_removed;
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
- ((DataCollectionClass *) klass)->notify_items_altered = (void (*)(DataCollection*, GeeMap*)) tag_source_collection_real_notify_items_altered;
+ ((DataCollectionClass *) klass)->notify_items_altered = (void (*) (DataCollection *, GeeMap*)) tag_source_collection_real_notify_items_altered;
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
- ((ContainerSourceCollectionClass *) klass)->notify_container_contents_added = (void (*)(ContainerSourceCollection*, ContainerSource*, GeeCollection*, gboolean)) tag_source_collection_real_notify_container_contents_added;
+ ((ContainerSourceCollectionClass *) klass)->notify_container_contents_added = (void (*) (ContainerSourceCollection *, ContainerSource*, GeeCollection*, gboolean)) tag_source_collection_real_notify_container_contents_added;
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
- ((ContainerSourceCollectionClass *) klass)->notify_container_contents_removed = (void (*)(ContainerSourceCollection*, ContainerSource*, GeeCollection*, gboolean)) tag_source_collection_real_notify_container_contents_removed;
+ ((ContainerSourceCollectionClass *) klass)->notify_container_contents_removed = (void (*) (ContainerSourceCollection *, ContainerSource*, GeeCollection*, gboolean)) tag_source_collection_real_notify_container_contents_removed;
#line 2821 "Tag.c"
}
static void tag_source_collection_instance_init (TagSourceCollection * self) {
- GeeHashMap* _tmp0_ = NULL;
- GeeHashMap* _tmp1_ = NULL;
- GeeHashMap* _tmp2_ = NULL;
+ GeeHashMap* _tmp0_;
+ GeeHashMap* _tmp1_;
+ GeeHashMap* _tmp2_;
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
self->priv = TAG_SOURCE_COLLECTION_GET_PRIVATE (self);
#line 8 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2843,10 +2843,10 @@ static void tag_source_collection_instance_init (TagSourceCollection * self) {
}
-static void tag_source_collection_finalize (DataCollection* obj) {
+static void tag_source_collection_finalize (DataCollection * obj) {
TagSourceCollection * self;
- LibraryPhotoSourceCollection* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
+ LibraryPhotoSourceCollection* _tmp0_;
+ guint _tmp1_;
#line 7 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TAG_SOURCE_COLLECTION, TagSourceCollection);
#line 26 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2902,37 +2902,37 @@ static gpointer _tag_row_ref0 (gpointer self) {
static Tag* tag_construct (GType object_type, TagRow* row, gint64 object_id) {
Tag * self = NULL;
- gint64 _tmp0_ = 0LL;
- TagRow* _tmp1_ = NULL;
- TagRow* _tmp2_ = NULL;
- TagRow* _tmp3_ = NULL;
- TagRow* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
+ gint64 _tmp0_;
+ TagRow* _tmp1_;
+ TagRow* _tmp2_;
+ TagRow* _tmp3_;
+ TagRow* _tmp4_;
+ const gchar* _tmp5_;
+ gchar* _tmp6_;
GeeArrayList* source_list = NULL;
- GeeArrayList* _tmp7_ = NULL;
+ GeeArrayList* _tmp7_;
GeeArrayList* thumbnail_views = NULL;
- GeeArrayList* _tmp8_ = NULL;
- TagRow* _tmp9_ = NULL;
- GeeSet* _tmp10_ = NULL;
- TagRow* _tmp32_ = NULL;
- TagID _tmp33_ = {0};
- gint64 _tmp34_ = 0LL;
- gchar* _tmp35_ = NULL;
- gchar* _tmp36_ = NULL;
- gchar* _tmp37_ = NULL;
- gchar* _tmp38_ = NULL;
- ViewCollection* _tmp39_ = NULL;
- ViewCollection* _tmp40_ = NULL;
- GeeArrayList* _tmp41_ = NULL;
- GeeCollection* _tmp42_ = NULL;
- GeeCollection* _tmp43_ = NULL;
- GeeArrayList* _tmp44_ = NULL;
- gint _tmp45_ = 0;
- gint _tmp46_ = 0;
- ViewCollection* _tmp51_ = NULL;
- LibraryPhotoSourceCollection* _tmp52_ = NULL;
- VideoSourceCollection* _tmp53_ = NULL;
+ GeeArrayList* _tmp8_;
+ TagRow* _tmp9_;
+ GeeSet* _tmp10_;
+ TagRow* _tmp32_;
+ TagID _tmp33_;
+ gint64 _tmp34_;
+ gchar* _tmp35_;
+ gchar* _tmp36_;
+ gchar* _tmp37_;
+ gchar* _tmp38_;
+ ViewCollection* _tmp39_;
+ ViewCollection* _tmp40_;
+ GeeArrayList* _tmp41_;
+ GeeCollection* _tmp42_;
+ GeeCollection* _tmp43_;
+ GeeArrayList* _tmp44_;
+ gint _tmp45_;
+ gint _tmp46_;
+ ViewCollection* _tmp51_;
+ LibraryPhotoSourceCollection* _tmp52_;
+ VideoSourceCollection* _tmp53_;
#line 332 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG_ROW (row), NULL);
#line 333 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2976,9 +2976,9 @@ static Tag* tag_construct (GType object_type, TagRow* row, gint64 object_id) {
#line 2977 "Tag.c"
{
GeeIterator* _source_id_it = NULL;
- TagRow* _tmp11_ = NULL;
- GeeSet* _tmp12_ = NULL;
- GeeIterator* _tmp13_ = NULL;
+ TagRow* _tmp11_;
+ GeeSet* _tmp12_;
+ GeeIterator* _tmp13_;
#line 344 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp11_ = self->priv->row;
#line 344 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -2990,24 +2990,24 @@ static Tag* tag_construct (GType object_type, TagRow* row, gint64 object_id) {
#line 344 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 2993 "Tag.c"
- GeeIterator* _tmp14_ = NULL;
- gboolean _tmp15_ = FALSE;
+ GeeIterator* _tmp14_;
+ gboolean _tmp15_;
gchar* source_id = NULL;
- GeeIterator* _tmp16_ = NULL;
- gpointer _tmp17_ = NULL;
+ GeeIterator* _tmp16_;
+ gpointer _tmp17_;
MediaSource* current_source = NULL;
- MediaCollectionRegistry* _tmp18_ = NULL;
- MediaCollectionRegistry* _tmp19_ = NULL;
- const gchar* _tmp20_ = NULL;
- MediaSource* _tmp21_ = NULL;
- MediaSource* _tmp22_ = NULL;
- MediaSource* _tmp23_ = NULL;
- GeeArrayList* _tmp24_ = NULL;
- MediaSource* _tmp25_ = NULL;
- GeeArrayList* _tmp26_ = NULL;
- MediaSource* _tmp27_ = NULL;
- ThumbnailView* _tmp28_ = NULL;
- ThumbnailView* _tmp29_ = NULL;
+ MediaCollectionRegistry* _tmp18_;
+ MediaCollectionRegistry* _tmp19_;
+ const gchar* _tmp20_;
+ MediaSource* _tmp21_;
+ MediaSource* _tmp22_;
+ MediaSource* _tmp23_;
+ GeeArrayList* _tmp24_;
+ MediaSource* _tmp25_;
+ GeeArrayList* _tmp26_;
+ MediaSource* _tmp27_;
+ ThumbnailView* _tmp28_;
+ ThumbnailView* _tmp29_;
#line 344 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp14_ = _source_id_it;
#line 344 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3079,8 +3079,8 @@ static Tag* tag_construct (GType object_type, TagRow* row, gint64 object_id) {
#line 3080 "Tag.c"
}
} else {
- TagRow* _tmp30_ = NULL;
- GeeHashSet* _tmp31_ = NULL;
+ TagRow* _tmp30_;
+ GeeHashSet* _tmp31_;
#line 355 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp30_ = self->priv->row;
#line 355 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3134,10 +3134,10 @@ static Tag* tag_construct (GType object_type, TagRow* row, gint64 object_id) {
#line 364 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp46_ > 0) {
#line 3137 "Tag.c"
- TagSourceCollection* _tmp47_ = NULL;
- GeeArrayList* _tmp48_ = NULL;
- TagSourceCollection* _tmp49_ = NULL;
- GeeArrayList* _tmp50_ = NULL;
+ TagSourceCollection* _tmp47_;
+ GeeArrayList* _tmp48_;
+ TagSourceCollection* _tmp49_;
+ GeeArrayList* _tmp50_;
#line 365 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp47_ = tag_global;
#line 365 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3184,28 +3184,28 @@ static Tag* tag_new (TagRow* row, gint64 object_id) {
void tag_init (ProgressMonitor monitor, void* monitor_target) {
- TagSourceCollection* _tmp0_ = NULL;
+ TagSourceCollection* _tmp0_;
GeeList* rows = NULL;
GeeTreeMap* ancestry_dictionary = NULL;
- GeeTreeMap* _tmp8_ = NULL;
+ GeeTreeMap* _tmp8_;
GeeArrayList* unlinked = NULL;
- GeeArrayList* _tmp9_ = NULL;
+ GeeArrayList* _tmp9_;
gint count = 0;
- GeeList* _tmp10_ = NULL;
- gint _tmp11_ = 0;
- gint _tmp12_ = 0;
+ GeeList* _tmp10_;
+ gint _tmp11_;
+ gint _tmp12_;
GeeSet* victim_set = NULL;
- GeeHashSet* _tmp54_ = NULL;
- GeeSet* _tmp110_ = NULL;
- TagSourceCollection* _tmp171_ = NULL;
- GeeTreeMap* _tmp172_ = NULL;
- GeeCollection* _tmp173_ = NULL;
- GeeCollection* _tmp174_ = NULL;
- GeeCollection* _tmp175_ = NULL;
- GeeCollection* _tmp176_ = NULL;
- GeeCollection* _tmp177_ = NULL;
- TagSourceCollection* _tmp178_ = NULL;
- GeeArrayList* _tmp179_ = NULL;
+ GeeHashSet* _tmp54_;
+ GeeSet* _tmp110_;
+ TagSourceCollection* _tmp171_;
+ GeeTreeMap* _tmp172_;
+ GeeCollection* _tmp173_;
+ GeeCollection* _tmp174_;
+ GeeCollection* _tmp175_;
+ GeeCollection* _tmp176_;
+ GeeCollection* _tmp177_;
+ TagSourceCollection* _tmp178_;
+ GeeArrayList* _tmp179_;
GError * _inner_error_ = NULL;
#line 388 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = tag_source_collection_new ();
@@ -3218,11 +3218,11 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 3219 "Tag.c"
{
GeeList* _tmp1_ = NULL;
- TagTable* _tmp2_ = NULL;
- TagTable* _tmp3_ = NULL;
- GeeList* _tmp4_ = NULL;
- GeeList* _tmp5_ = NULL;
- GeeList* _tmp6_ = NULL;
+ TagTable* _tmp2_;
+ TagTable* _tmp3_;
+ GeeList* _tmp4_;
+ GeeList* _tmp5_;
+ GeeList* _tmp6_;
#line 393 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp2_ = tag_table_get_instance ();
#line 393 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3240,7 +3240,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 393 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 3243 "Tag.c"
- goto __catch470_database_error;
+ goto __catch471_database_error;
}
#line 393 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (rows);
@@ -3264,11 +3264,11 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
_g_object_unref0 (_tmp1_);
#line 3266 "Tag.c"
}
- goto __finally470;
- __catch470_database_error:
+ goto __finally471;
+ __catch471_database_error:
{
GError* err = NULL;
- GError* _tmp7_ = NULL;
+ GError* _tmp7_;
#line 392 "/home/jens/Source/shotwell/src/Tag.vala"
err = _inner_error_;
#line 392 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3281,7 +3281,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
_g_error_free0 (err);
#line 3283 "Tag.c"
}
- __finally470:
+ __finally471:
#line 392 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 392 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3323,36 +3323,36 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 408 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 3326 "Tag.c"
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
+ gint _tmp15_;
+ gint _tmp16_;
TagRow* row = NULL;
- GeeList* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- gpointer _tmp19_ = NULL;
+ GeeList* _tmp17_;
+ gint _tmp18_;
+ gpointer _tmp19_;
gchar* name = NULL;
- TagRow* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
- gchar* _tmp22_ = NULL;
- const gchar* _tmp23_ = NULL;
- TagRow* _tmp34_ = NULL;
- const gchar* _tmp35_ = NULL;
- gchar* _tmp36_ = NULL;
+ TagRow* _tmp20_;
+ const gchar* _tmp21_;
+ gchar* _tmp22_;
+ const gchar* _tmp23_;
+ TagRow* _tmp34_;
+ const gchar* _tmp35_;
+ gchar* _tmp36_;
Tag* tag = NULL;
- TagRow* _tmp37_ = NULL;
- Tag* _tmp38_ = NULL;
- ProgressMonitor _tmp39_ = NULL;
- void* _tmp39__target = NULL;
- GeeTreeMap* _tmp43_ = NULL;
- Tag* _tmp44_ = NULL;
- gchar* _tmp45_ = NULL;
- gchar* _tmp46_ = NULL;
- Tag* _tmp47_ = NULL;
- Tag* _tmp48_ = NULL;
- gboolean _tmp49_ = FALSE;
+ TagRow* _tmp37_;
+ Tag* _tmp38_;
+ ProgressMonitor _tmp39_;
+ void* _tmp39__target;
+ GeeTreeMap* _tmp43_;
+ Tag* _tmp44_;
+ gchar* _tmp45_;
+ gchar* _tmp46_;
+ Tag* _tmp47_;
+ Tag* _tmp48_;
+ gboolean _tmp49_;
#line 408 "/home/jens/Source/shotwell/src/Tag.vala"
if (!_tmp13_) {
#line 3355 "Tag.c"
- gint _tmp14_ = 0;
+ gint _tmp14_;
#line 408 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp14_ = ctr;
#line 408 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3392,8 +3392,8 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 413 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp23_ == NULL) {
#line 3395 "Tag.c"
- TagRow* _tmp24_ = NULL;
- const gchar* _tmp25_ = NULL;
+ TagRow* _tmp24_;
+ const gchar* _tmp25_;
#line 416 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp24_ = row;
#line 416 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3402,10 +3402,10 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
g_warning ("Tag.vala:416: Invalid tag name \"%s\": removing from database", _tmp25_);
#line 3404 "Tag.c"
{
- TagTable* _tmp26_ = NULL;
- TagTable* _tmp27_ = NULL;
- TagRow* _tmp28_ = NULL;
- TagID _tmp29_ = {0};
+ TagTable* _tmp26_;
+ TagTable* _tmp27_;
+ TagRow* _tmp28_;
+ TagID _tmp29_;
#line 418 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp26_ = tag_table_get_instance ();
#line 418 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3423,7 +3423,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 418 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 3426 "Tag.c"
- goto __catch471_database_error;
+ goto __catch472_database_error;
}
#line 418 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (name);
@@ -3444,14 +3444,14 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 3445 "Tag.c"
}
}
- goto __finally471;
- __catch471_database_error:
+ goto __finally472;
+ __catch472_database_error:
{
GError* err = NULL;
- TagRow* _tmp30_ = NULL;
- const gchar* _tmp31_ = NULL;
- GError* _tmp32_ = NULL;
- const gchar* _tmp33_ = NULL;
+ TagRow* _tmp30_;
+ const gchar* _tmp31_;
+ GError* _tmp32_;
+ const gchar* _tmp33_;
#line 417 "/home/jens/Source/shotwell/src/Tag.vala"
err = _inner_error_;
#line 417 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3470,7 +3470,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
_g_error_free0 (err);
#line 3472 "Tag.c"
}
- __finally471:
+ __finally472:
#line 417 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 417 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3522,10 +3522,10 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 429 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp39_ != NULL) {
#line 3525 "Tag.c"
- ProgressMonitor _tmp40_ = NULL;
- void* _tmp40__target = NULL;
- gint _tmp41_ = 0;
- gint _tmp42_ = 0;
+ ProgressMonitor _tmp40_;
+ void* _tmp40__target;
+ gint _tmp41_;
+ gint _tmp42_;
#line 430 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp40_ = monitor;
#line 430 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3559,10 +3559,10 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 434 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp49_) {
#line 3562 "Tag.c"
- Tag* _tmp50_ = NULL;
- TagSourceCollection* _tmp51_ = NULL;
- GeeArrayList* _tmp52_ = NULL;
- Tag* _tmp53_ = NULL;
+ Tag* _tmp50_;
+ TagSourceCollection* _tmp51_;
+ GeeArrayList* _tmp52_;
+ Tag* _tmp53_;
#line 435 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp50_ = tag;
#line 435 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3594,12 +3594,12 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 3595 "Tag.c"
{
GeeIterator* _fq_tag_path_it = NULL;
- GeeTreeMap* _tmp55_ = NULL;
- GeeSet* _tmp56_ = NULL;
- GeeSet* _tmp57_ = NULL;
- GeeSet* _tmp58_ = NULL;
- GeeIterator* _tmp59_ = NULL;
- GeeIterator* _tmp60_ = NULL;
+ GeeTreeMap* _tmp55_;
+ GeeSet* _tmp56_;
+ GeeSet* _tmp57_;
+ GeeSet* _tmp58_;
+ GeeIterator* _tmp59_;
+ GeeIterator* _tmp60_;
#line 445 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp55_ = ancestry_dictionary;
#line 445 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3619,17 +3619,17 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 445 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 3622 "Tag.c"
- GeeIterator* _tmp61_ = NULL;
- gboolean _tmp62_ = FALSE;
+ GeeIterator* _tmp61_;
+ gboolean _tmp62_;
gchar* fq_tag_path = NULL;
- GeeIterator* _tmp63_ = NULL;
- gpointer _tmp64_ = NULL;
- const gchar* _tmp65_ = NULL;
- GeeList* _tmp66_ = NULL;
- GeeList* _tmp67_ = NULL;
- gint _tmp68_ = 0;
- gint _tmp69_ = 0;
- gboolean _tmp70_ = FALSE;
+ GeeIterator* _tmp63_;
+ gpointer _tmp64_;
+ const gchar* _tmp65_;
+ GeeList* _tmp66_;
+ GeeList* _tmp67_;
+ gint _tmp68_;
+ gint _tmp69_;
+ gboolean _tmp70_;
#line 445 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp61_ = _fq_tag_path_it;
#line 445 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3664,8 +3664,8 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
if (_tmp70_) {
#line 3666 "Tag.c"
gboolean _tmp71_ = FALSE;
- const gchar* _tmp72_ = NULL;
- gboolean _tmp73_ = FALSE;
+ const gchar* _tmp72_;
+ gboolean _tmp73_;
#line 447 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp72_ = fq_tag_path;
#line 447 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3673,11 +3673,11 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 447 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp73_) {
#line 3676 "Tag.c"
- GeeTreeMap* _tmp74_ = NULL;
- const gchar* _tmp75_ = NULL;
- gchar* _tmp76_ = NULL;
- gchar* _tmp77_ = NULL;
- gboolean _tmp78_ = FALSE;
+ GeeTreeMap* _tmp74_;
+ const gchar* _tmp75_;
+ gchar* _tmp76_;
+ gchar* _tmp77_;
+ gboolean _tmp78_;
#line 448 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp74_ = ancestry_dictionary;
#line 448 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3701,11 +3701,11 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 447 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp71_) {
#line 3704 "Tag.c"
- GeeSet* _tmp79_ = NULL;
- GeeTreeMap* _tmp80_ = NULL;
- const gchar* _tmp81_ = NULL;
- gpointer _tmp82_ = NULL;
- Tag* _tmp83_ = NULL;
+ GeeSet* _tmp79_;
+ GeeTreeMap* _tmp80_;
+ const gchar* _tmp81_;
+ gpointer _tmp82_;
+ Tag* _tmp83_;
#line 449 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp79_ = victim_set;
#line 449 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3733,8 +3733,8 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
}
{
GeeIterator* _tag_it = NULL;
- GeeSet* _tmp84_ = NULL;
- GeeIterator* _tmp85_ = NULL;
+ GeeSet* _tmp84_;
+ GeeIterator* _tmp85_;
#line 454 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp84_ = victim_set;
#line 454 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3744,33 +3744,33 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 454 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 3747 "Tag.c"
- GeeIterator* _tmp86_ = NULL;
- gboolean _tmp87_ = FALSE;
+ GeeIterator* _tmp86_;
+ gboolean _tmp87_;
Tag* tag = NULL;
- GeeIterator* _tmp88_ = NULL;
- gpointer _tmp89_ = NULL;
+ GeeIterator* _tmp88_;
+ gpointer _tmp89_;
GeeCollection* source_collection = NULL;
- Tag* _tmp90_ = NULL;
- GeeCollection* _tmp91_ = NULL;
+ Tag* _tmp90_;
+ GeeCollection* _tmp91_;
gchar* flat_version = NULL;
- Tag* _tmp92_ = NULL;
- gchar* _tmp93_ = NULL;
- TagSourceCollection* _tmp94_ = NULL;
- const gchar* _tmp95_ = NULL;
- Tag* _tmp96_ = NULL;
- Tag* _tmp97_ = NULL;
- GeeCollection* _tmp98_ = NULL;
- GeeTreeMap* _tmp99_ = NULL;
- Tag* _tmp100_ = NULL;
- gchar* _tmp101_ = NULL;
- gchar* _tmp102_ = NULL;
- Tag* _tmp103_ = NULL;
- Tag* _tmp104_ = NULL;
- GeeCollection* _tmp105_ = NULL;
- GeeCollection* _tmp106_ = NULL;
- GeeMultiMap* _tmp107_ = NULL;
- GeeMultiMap* _tmp108_ = NULL;
- Tag* _tmp109_ = NULL;
+ Tag* _tmp92_;
+ gchar* _tmp93_;
+ TagSourceCollection* _tmp94_;
+ const gchar* _tmp95_;
+ Tag* _tmp96_;
+ Tag* _tmp97_;
+ GeeCollection* _tmp98_;
+ GeeTreeMap* _tmp99_;
+ Tag* _tmp100_;
+ gchar* _tmp101_;
+ gchar* _tmp102_;
+ Tag* _tmp103_;
+ Tag* _tmp104_;
+ GeeCollection* _tmp105_;
+ GeeCollection* _tmp106_;
+ GeeMultiMap* _tmp107_;
+ GeeMultiMap* _tmp108_;
+ Tag* _tmp109_;
#line 454 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp86_ = _tag_it;
#line 454 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3864,12 +3864,12 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 3865 "Tag.c"
{
GeeIterator* _fq_tag_path_it = NULL;
- GeeTreeMap* _tmp111_ = NULL;
- GeeSet* _tmp112_ = NULL;
- GeeSet* _tmp113_ = NULL;
- GeeSet* _tmp114_ = NULL;
- GeeIterator* _tmp115_ = NULL;
- GeeIterator* _tmp116_ = NULL;
+ GeeTreeMap* _tmp111_;
+ GeeSet* _tmp112_;
+ GeeSet* _tmp113_;
+ GeeSet* _tmp114_;
+ GeeIterator* _tmp115_;
+ GeeIterator* _tmp116_;
#line 470 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp111_ = ancestry_dictionary;
#line 470 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3889,18 +3889,18 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 470 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 3892 "Tag.c"
- GeeIterator* _tmp117_ = NULL;
- gboolean _tmp118_ = FALSE;
+ GeeIterator* _tmp117_;
+ gboolean _tmp118_;
gchar* fq_tag_path = NULL;
- GeeIterator* _tmp119_ = NULL;
- gpointer _tmp120_ = NULL;
+ GeeIterator* _tmp119_;
+ gpointer _tmp120_;
GeeList* parents_to_search = NULL;
- const gchar* _tmp121_ = NULL;
- GeeList* _tmp122_ = NULL;
+ const gchar* _tmp121_;
+ GeeList* _tmp122_;
Tag* curr_child = NULL;
- GeeTreeMap* _tmp123_ = NULL;
- const gchar* _tmp124_ = NULL;
- gpointer _tmp125_ = NULL;
+ GeeTreeMap* _tmp123_;
+ const gchar* _tmp124_;
+ gpointer _tmp125_;
#line 470 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp117_ = _fq_tag_path_it;
#line 470 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3934,12 +3934,12 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 3935 "Tag.c"
{
GeeList* _parent_path_list = NULL;
- GeeList* _tmp126_ = NULL;
- GeeList* _tmp127_ = NULL;
+ GeeList* _tmp126_;
+ GeeList* _tmp127_;
gint _parent_path_size = 0;
- GeeList* _tmp128_ = NULL;
- gint _tmp129_ = 0;
- gint _tmp130_ = 0;
+ GeeList* _tmp128_;
+ gint _tmp129_;
+ gint _tmp130_;
gint _parent_path_index = 0;
#line 476 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp126_ = parents_to_search;
@@ -3960,29 +3960,29 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 476 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 3963 "Tag.c"
- gint _tmp131_ = 0;
- gint _tmp132_ = 0;
- gint _tmp133_ = 0;
+ gint _tmp131_;
+ gint _tmp132_;
+ gint _tmp133_;
gchar* parent_path = NULL;
- GeeList* _tmp134_ = NULL;
- gint _tmp135_ = 0;
- gpointer _tmp136_ = NULL;
+ GeeList* _tmp134_;
+ gint _tmp135_;
+ gpointer _tmp136_;
gint child_ref_count = 0;
- Tag* _tmp137_ = NULL;
- gint _tmp138_ = 0;
+ Tag* _tmp137_;
+ gint _tmp138_;
gint parent_ref_count = 0;
- GeeTreeMap* _tmp139_ = NULL;
- const gchar* _tmp140_ = NULL;
- gboolean _tmp141_ = FALSE;
- gint _tmp147_ = 0;
- gint _tmp148_ = 0;
- GeeSet* _tmp151_ = NULL;
- GeeTreeMap* _tmp152_ = NULL;
- const gchar* _tmp153_ = NULL;
- gpointer _tmp154_ = NULL;
- Tag* _tmp155_ = NULL;
- gboolean _tmp156_ = FALSE;
- gboolean _tmp157_ = FALSE;
+ GeeTreeMap* _tmp139_;
+ const gchar* _tmp140_;
+ gboolean _tmp141_;
+ gint _tmp147_;
+ gint _tmp148_;
+ GeeSet* _tmp151_;
+ GeeTreeMap* _tmp152_;
+ const gchar* _tmp153_;
+ gpointer _tmp154_;
+ Tag* _tmp155_;
+ gboolean _tmp156_;
+ gboolean _tmp157_;
#line 476 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp131_ = _parent_path_index;
#line 476 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4022,11 +4022,11 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 483 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp141_) {
#line 4025 "Tag.c"
- GeeTreeMap* _tmp142_ = NULL;
- const gchar* _tmp143_ = NULL;
- gpointer _tmp144_ = NULL;
- Tag* _tmp145_ = NULL;
- gint _tmp146_ = 0;
+ GeeTreeMap* _tmp142_;
+ const gchar* _tmp143_;
+ gpointer _tmp144_;
+ Tag* _tmp145_;
+ gint _tmp146_;
#line 485 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp142_ = ancestry_dictionary;
#line 485 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4050,8 +4050,8 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 489 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp147_ > _tmp148_) {
#line 4053 "Tag.c"
- GeeSet* _tmp149_ = NULL;
- Tag* _tmp150_ = NULL;
+ GeeSet* _tmp149_;
+ Tag* _tmp150_;
#line 493 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp149_ = victim_set;
#line 493 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4083,8 +4083,8 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 501 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp157_) {
#line 4086 "Tag.c"
- GeeSet* _tmp158_ = NULL;
- Tag* _tmp159_ = NULL;
+ GeeSet* _tmp158_;
+ Tag* _tmp159_;
#line 503 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp158_ = victim_set;
#line 503 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4119,8 +4119,8 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
}
{
GeeIterator* _t_it = NULL;
- GeeSet* _tmp160_ = NULL;
- GeeIterator* _tmp161_ = NULL;
+ GeeSet* _tmp160_;
+ GeeIterator* _tmp161_;
#line 510 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp160_ = victim_set;
#line 510 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4130,16 +4130,16 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 510 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 4133 "Tag.c"
- GeeIterator* _tmp162_ = NULL;
- gboolean _tmp163_ = FALSE;
+ GeeIterator* _tmp162_;
+ gboolean _tmp163_;
Tag* t = NULL;
- GeeIterator* _tmp164_ = NULL;
- gpointer _tmp165_ = NULL;
- GeeTreeMap* _tmp166_ = NULL;
- Tag* _tmp167_ = NULL;
- gchar* _tmp168_ = NULL;
- gchar* _tmp169_ = NULL;
- Tag* _tmp170_ = NULL;
+ GeeIterator* _tmp164_;
+ gpointer _tmp165_;
+ GeeTreeMap* _tmp166_;
+ Tag* _tmp167_;
+ gchar* _tmp168_;
+ gchar* _tmp169_;
+ Tag* _tmp170_;
#line 510 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp162_ = _t_it;
#line 510 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4207,12 +4207,12 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 4208 "Tag.c"
{
GeeIterator* _t_it = NULL;
- GeeTreeMap* _tmp180_ = NULL;
- GeeCollection* _tmp181_ = NULL;
- GeeCollection* _tmp182_ = NULL;
- GeeCollection* _tmp183_ = NULL;
- GeeIterator* _tmp184_ = NULL;
- GeeIterator* _tmp185_ = NULL;
+ GeeTreeMap* _tmp180_;
+ GeeCollection* _tmp181_;
+ GeeCollection* _tmp182_;
+ GeeCollection* _tmp183_;
+ GeeIterator* _tmp184_;
+ GeeIterator* _tmp185_;
#line 521 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp180_ = ancestry_dictionary;
#line 521 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4232,18 +4232,18 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 521 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 4235 "Tag.c"
- GeeIterator* _tmp186_ = NULL;
- gboolean _tmp187_ = FALSE;
+ GeeIterator* _tmp186_;
+ gboolean _tmp187_;
Tag* t = NULL;
- GeeIterator* _tmp188_ = NULL;
- gpointer _tmp189_ = NULL;
+ GeeIterator* _tmp188_;
+ gpointer _tmp189_;
gboolean _tmp190_ = FALSE;
- Tag* _tmp191_ = NULL;
- GeeList* _tmp192_ = NULL;
- GeeList* _tmp193_ = NULL;
- gint _tmp194_ = 0;
- gint _tmp195_ = 0;
- gboolean _tmp196_ = FALSE;
+ Tag* _tmp191_;
+ GeeList* _tmp192_;
+ GeeList* _tmp193_;
+ gint _tmp194_;
+ gint _tmp195_;
+ gboolean _tmp196_;
#line 521 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp186_ = _t_it;
#line 521 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4277,9 +4277,9 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 523 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp196_) {
#line 4280 "Tag.c"
- Tag* _tmp197_ = NULL;
- Tag* _tmp198_ = NULL;
- Tag* _tmp199_ = NULL;
+ Tag* _tmp197_;
+ Tag* _tmp198_;
+ Tag* _tmp199_;
#line 523 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp197_ = t;
#line 523 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4299,7 +4299,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 523 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp190_) {
#line 4302 "Tag.c"
- Tag* _tmp200_ = NULL;
+ Tag* _tmp200_;
#line 525 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp200_ = t;
#line 525 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4332,20 +4332,20 @@ void tag_terminate (void) {
gint tag_compare_names (Tag* a, Tag* b) {
gint result = 0;
- Tag* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- Tag* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- Tag* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- Tag* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+ Tag* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
+ Tag* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ Tag* _tmp6_;
+ gchar* _tmp7_;
+ gchar* _tmp8_;
+ Tag* _tmp9_;
+ gchar* _tmp10_;
+ gchar* _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
#line 533 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (a), 0);
#line 533 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4396,20 +4396,20 @@ gint tag_compare_names (Tag* a, Tag* b) {
gint tag_compare_user_visible_names (Tag* a, Tag* b) {
gint result = 0;
- Tag* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- Tag* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- Tag* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- Tag* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+ Tag* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
+ Tag* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ Tag* _tmp6_;
+ gchar* _tmp7_;
+ gchar* _tmp8_;
+ Tag* _tmp9_;
+ gchar* _tmp10_;
+ gchar* _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
#line 538 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (a), 0);
#line 538 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4460,8 +4460,8 @@ gint tag_compare_user_visible_names (Tag* a, Tag* b) {
guint tag_hash_name_string (const gchar* a) {
guint result = 0U;
- const gchar* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
+ const gchar* _tmp0_;
+ guint _tmp1_;
#line 543 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (a != NULL, 0U);
#line 544 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4478,9 +4478,9 @@ guint tag_hash_name_string (const gchar* a) {
gboolean tag_equal_name_strings (const gchar* a, const gchar* b) {
gboolean result = FALSE;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gboolean _tmp2_;
#line 547 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (a != NULL, FALSE);
#line 547 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4502,13 +4502,13 @@ gboolean tag_equal_name_strings (const gchar* a, const gchar* b) {
Tag* tag_for_path (const gchar* name) {
Tag* result = NULL;
Tag* tag = NULL;
- TagSourceCollection* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- Tag* _tmp2_ = NULL;
- Tag* _tmp3_ = NULL;
- Tag* _tmp7_ = NULL;
- TagSourceCollection* _tmp16_ = NULL;
- Tag* _tmp17_ = NULL;
+ TagSourceCollection* _tmp0_;
+ const gchar* _tmp1_;
+ Tag* _tmp2_;
+ Tag* _tmp3_;
+ Tag* _tmp7_;
+ TagSourceCollection* _tmp16_;
+ Tag* _tmp17_;
GError * _inner_error_ = NULL;
#line 553 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (name != NULL, NULL);
@@ -4525,9 +4525,9 @@ Tag* tag_for_path (const gchar* name) {
#line 555 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp3_ == NULL) {
#line 4528 "Tag.c"
- TagSourceCollection* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
- Tag* _tmp6_ = NULL;
+ TagSourceCollection* _tmp4_;
+ const gchar* _tmp5_;
+ Tag* _tmp6_;
#line 556 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp4_ = tag_global;
#line 556 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4552,12 +4552,12 @@ Tag* tag_for_path (const gchar* name) {
}
{
TagRow* _tmp8_ = NULL;
- TagTable* _tmp9_ = NULL;
- TagTable* _tmp10_ = NULL;
- const gchar* _tmp11_ = NULL;
- TagRow* _tmp12_ = NULL;
- TagRow* _tmp13_ = NULL;
- Tag* _tmp14_ = NULL;
+ TagTable* _tmp9_;
+ TagTable* _tmp10_;
+ const gchar* _tmp11_;
+ TagRow* _tmp12_;
+ TagRow* _tmp13_;
+ Tag* _tmp14_;
#line 563 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp9_ = tag_table_get_instance ();
#line 563 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4577,7 +4577,7 @@ Tag* tag_for_path (const gchar* name) {
#line 563 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 4580 "Tag.c"
- goto __catch472_database_error;
+ goto __catch473_database_error;
}
#line 563 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (tag);
@@ -4599,11 +4599,11 @@ Tag* tag_for_path (const gchar* name) {
_tag_row_unref0 (_tmp8_);
#line 4601 "Tag.c"
}
- goto __finally472;
- __catch472_database_error:
+ goto __finally473;
+ __catch473_database_error:
{
GError* err = NULL;
- GError* _tmp15_ = NULL;
+ GError* _tmp15_;
#line 562 "/home/jens/Source/shotwell/src/Tag.vala"
err = _inner_error_;
#line 562 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4616,7 +4616,7 @@ Tag* tag_for_path (const gchar* name) {
_g_error_free0 (err);
#line 4618 "Tag.c"
}
- __finally472:
+ __finally473:
#line 562 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 562 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4646,9 +4646,9 @@ Tag* tag_for_path (const gchar* name) {
GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
GeeCollection* result = NULL;
GeeSet* result_paths = NULL;
- GeeHashSet* _tmp0_ = NULL;
+ GeeHashSet* _tmp0_;
GeeArrayList* _result_ = NULL;
- GeeArrayList* _tmp38_ = NULL;
+ GeeArrayList* _tmp38_;
#line 573 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (GEE_IS_COLLECTION (tags), NULL);
#line 574 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4658,8 +4658,8 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
#line 4659 "Tag.c"
{
GeeIterator* _tag_it = NULL;
- GeeCollection* _tmp1_ = NULL;
- GeeIterator* _tmp2_ = NULL;
+ GeeCollection* _tmp1_;
+ GeeIterator* _tmp2_;
#line 576 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp1_ = tags;
#line 576 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4669,24 +4669,24 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
#line 576 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 4672 "Tag.c"
- GeeIterator* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+ GeeIterator* _tmp3_;
+ gboolean _tmp4_;
Tag* tag = NULL;
- GeeIterator* _tmp5_ = NULL;
- gpointer _tmp6_ = NULL;
- Tag* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- gboolean _tmp10_ = FALSE;
- gboolean _tmp11_ = FALSE;
- Tag* _tmp16_ = NULL;
- Tag* _tmp17_ = NULL;
- Tag* _tmp18_ = NULL;
- gboolean _tmp19_ = FALSE;
- GeeSet* _tmp34_ = NULL;
- Tag* _tmp35_ = NULL;
- gchar* _tmp36_ = NULL;
- gchar* _tmp37_ = NULL;
+ GeeIterator* _tmp5_;
+ gpointer _tmp6_;
+ Tag* _tmp7_;
+ gchar* _tmp8_;
+ gchar* _tmp9_;
+ gboolean _tmp10_;
+ gboolean _tmp11_;
+ Tag* _tmp16_;
+ Tag* _tmp17_;
+ Tag* _tmp18_;
+ gboolean _tmp19_;
+ GeeSet* _tmp34_;
+ Tag* _tmp35_;
+ gchar* _tmp36_;
+ gchar* _tmp37_;
#line 576 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp3_ = _tag_it;
#line 576 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4718,10 +4718,10 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
#line 578 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp11_) {
#line 4721 "Tag.c"
- GeeSet* _tmp12_ = NULL;
- Tag* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
- gchar* _tmp15_ = NULL;
+ GeeSet* _tmp12_;
+ Tag* _tmp13_;
+ gchar* _tmp14_;
+ gchar* _tmp15_;
#line 579 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp12_ = result_paths;
#line 579 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4753,14 +4753,14 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
#line 586 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp19_) {
#line 4756 "Tag.c"
- GeeSet* _tmp20_ = NULL;
- Tag* _tmp21_ = NULL;
- Tag* _tmp22_ = NULL;
- Tag* _tmp23_ = NULL;
- gchar* _tmp24_ = NULL;
- gchar* _tmp25_ = NULL;
- gboolean _tmp26_ = FALSE;
- gboolean _tmp27_ = FALSE;
+ GeeSet* _tmp20_;
+ Tag* _tmp21_;
+ Tag* _tmp22_;
+ Tag* _tmp23_;
+ gchar* _tmp24_;
+ gchar* _tmp25_;
+ gboolean _tmp26_;
+ gboolean _tmp27_;
#line 589 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp20_ = result_paths;
#line 589 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4784,12 +4784,12 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
#line 589 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp27_) {
#line 4787 "Tag.c"
- GeeSet* _tmp28_ = NULL;
- Tag* _tmp29_ = NULL;
- Tag* _tmp30_ = NULL;
- Tag* _tmp31_ = NULL;
- gchar* _tmp32_ = NULL;
- gchar* _tmp33_ = NULL;
+ GeeSet* _tmp28_;
+ Tag* _tmp29_;
+ Tag* _tmp30_;
+ Tag* _tmp31_;
+ gchar* _tmp32_;
+ gchar* _tmp33_;
#line 590 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp28_ = result_paths;
#line 590 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4838,8 +4838,8 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
#line 4839 "Tag.c"
{
GeeIterator* _path_it = NULL;
- GeeSet* _tmp39_ = NULL;
- GeeIterator* _tmp40_ = NULL;
+ GeeSet* _tmp39_;
+ GeeIterator* _tmp40_;
#line 597 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp39_ = result_paths;
#line 597 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4849,14 +4849,14 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
#line 597 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 4852 "Tag.c"
- GeeIterator* _tmp41_ = NULL;
- gboolean _tmp42_ = FALSE;
+ GeeIterator* _tmp41_;
+ gboolean _tmp42_;
gchar* path = NULL;
- GeeIterator* _tmp43_ = NULL;
- gpointer _tmp44_ = NULL;
- TagSourceCollection* _tmp45_ = NULL;
- const gchar* _tmp46_ = NULL;
- gboolean _tmp47_ = FALSE;
+ GeeIterator* _tmp43_;
+ gpointer _tmp44_;
+ TagSourceCollection* _tmp45_;
+ const gchar* _tmp46_;
+ gboolean _tmp47_;
#line 597 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp41_ = _path_it;
#line 597 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4882,10 +4882,10 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
#line 598 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp47_) {
#line 4885 "Tag.c"
- GeeArrayList* _tmp48_ = NULL;
- const gchar* _tmp49_ = NULL;
- Tag* _tmp50_ = NULL;
- Tag* _tmp51_ = NULL;
+ GeeArrayList* _tmp48_;
+ const gchar* _tmp49_;
+ Tag* _tmp50_;
+ Tag* _tmp51_;
#line 599 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp48_ = _result_;
#line 599 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4902,8 +4902,8 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
} else {
{
GeeIterator* _probed_tag_it = NULL;
- GeeCollection* _tmp52_ = NULL;
- GeeIterator* _tmp53_ = NULL;
+ GeeCollection* _tmp52_;
+ GeeIterator* _tmp53_;
#line 601 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp52_ = tags;
#line 601 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4913,16 +4913,16 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
#line 601 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 4916 "Tag.c"
- GeeIterator* _tmp54_ = NULL;
- gboolean _tmp55_ = FALSE;
+ GeeIterator* _tmp54_;
+ gboolean _tmp55_;
Tag* probed_tag = NULL;
- GeeIterator* _tmp56_ = NULL;
- gpointer _tmp57_ = NULL;
- Tag* _tmp58_ = NULL;
- gchar* _tmp59_ = NULL;
- gchar* _tmp60_ = NULL;
- const gchar* _tmp61_ = NULL;
- gboolean _tmp62_ = FALSE;
+ GeeIterator* _tmp56_;
+ gpointer _tmp57_;
+ Tag* _tmp58_;
+ gchar* _tmp59_;
+ gchar* _tmp60_;
+ const gchar* _tmp61_;
+ gboolean _tmp62_;
#line 601 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp54_ = _probed_tag_it;
#line 601 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4954,8 +4954,8 @@ GeeCollection* tag_get_terminal_tags (GeeCollection* tags) {
#line 602 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp62_) {
#line 4957 "Tag.c"
- GeeArrayList* _tmp63_ = NULL;
- Tag* _tmp64_ = NULL;
+ GeeArrayList* _tmp63_;
+ Tag* _tmp64_;
#line 603 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp63_ = _result_;
#line 603 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5003,13 +5003,13 @@ static gint _tag_compare_user_visible_names_gcompare_data_func (gconstpointer a,
GeeList* tag_make_user_visible_tag_list (GeeCollection* tags) {
GeeList* result = NULL;
GeeHashSet* seen_tags = NULL;
- GeeHashSet* _tmp0_ = NULL;
+ GeeHashSet* _tmp0_;
GeeCollection* terminal_tags = NULL;
- GeeCollection* _tmp1_ = NULL;
- GeeCollection* _tmp2_ = NULL;
+ GeeCollection* _tmp1_;
+ GeeCollection* _tmp2_;
GeeArrayList* sorted_tags = NULL;
- GeeArrayList* _tmp3_ = NULL;
- GeeArrayList* _tmp19_ = NULL;
+ GeeArrayList* _tmp3_;
+ GeeArrayList* _tmp19_;
#line 612 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (GEE_IS_COLLECTION (tags), NULL);
#line 613 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5029,8 +5029,8 @@ GeeList* tag_make_user_visible_tag_list (GeeCollection* tags) {
#line 5030 "Tag.c"
{
GeeIterator* _tag_it = NULL;
- GeeCollection* _tmp4_ = NULL;
- GeeIterator* _tmp5_ = NULL;
+ GeeCollection* _tmp4_;
+ GeeIterator* _tmp5_;
#line 616 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp4_ = terminal_tags;
#line 616 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5040,17 +5040,17 @@ GeeList* tag_make_user_visible_tag_list (GeeCollection* tags) {
#line 616 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 5043 "Tag.c"
- GeeIterator* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
+ GeeIterator* _tmp6_;
+ gboolean _tmp7_;
Tag* tag = NULL;
- GeeIterator* _tmp8_ = NULL;
- gpointer _tmp9_ = NULL;
+ GeeIterator* _tmp8_;
+ gpointer _tmp9_;
gchar* user_visible_name = NULL;
- Tag* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- GeeHashSet* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
- gboolean _tmp14_ = FALSE;
+ Tag* _tmp10_;
+ gchar* _tmp11_;
+ GeeHashSet* _tmp12_;
+ const gchar* _tmp13_;
+ gboolean _tmp14_;
#line 616 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_ = _tag_it;
#line 616 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5082,10 +5082,10 @@ GeeList* tag_make_user_visible_tag_list (GeeCollection* tags) {
#line 618 "/home/jens/Source/shotwell/src/Tag.vala"
if (!_tmp14_) {
#line 5085 "Tag.c"
- GeeArrayList* _tmp15_ = NULL;
- Tag* _tmp16_ = NULL;
- GeeHashSet* _tmp17_ = NULL;
- const gchar* _tmp18_ = NULL;
+ GeeArrayList* _tmp15_;
+ Tag* _tmp16_;
+ GeeHashSet* _tmp17_;
+ const gchar* _tmp18_;
#line 619 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp15_ = sorted_tags;
#line 619 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5129,14 +5129,14 @@ GeeList* tag_make_user_visible_tag_list (GeeCollection* tags) {
gchar* tag_make_tag_markup_string (GeeList* tags, gint highlight_index) {
gchar* result = NULL;
GString* builder = NULL;
- GString* _tmp0_ = NULL;
+ GString* _tmp0_;
gint i = 0;
gboolean first = FALSE;
- GString* _tmp27_ = NULL;
+ GString* _tmp27_;
gchar* built = NULL;
- GString* _tmp28_ = NULL;
- const gchar* _tmp29_ = NULL;
- gchar* _tmp30_ = NULL;
+ GString* _tmp28_;
+ const gchar* _tmp29_;
+ gchar* _tmp30_;
#line 627 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (GEE_IS_LIST (tags), NULL);
#line 628 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5150,12 +5150,12 @@ gchar* tag_make_tag_markup_string (GeeList* tags, gint highlight_index) {
#line 5151 "Tag.c"
{
GeeList* _tag_list = NULL;
- GeeList* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
+ GeeList* _tmp1_;
+ GeeList* _tmp2_;
gint _tag_size = 0;
- GeeList* _tmp3_ = NULL;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
+ GeeList* _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
gint _tag_index = 0;
#line 631 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp1_ = tags;
@@ -5176,27 +5176,27 @@ gchar* tag_make_tag_markup_string (GeeList* tags, gint highlight_index) {
#line 631 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 5179 "Tag.c"
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
+ gint _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
Tag* tag = NULL;
- GeeList* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- gpointer _tmp11_ = NULL;
+ GeeList* _tmp9_;
+ gint _tmp10_;
+ gpointer _tmp11_;
gchar* tag_name = NULL;
- Tag* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
+ Tag* _tmp12_;
+ gchar* _tmp13_;
gchar* esc_tag_name = NULL;
- const gchar* _tmp14_ = NULL;
- gchar* _tmp15_ = NULL;
- gboolean _tmp16_ = FALSE;
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
- GString* _tmp21_ = NULL;
- const gchar* _tmp22_ = NULL;
- gint _tmp23_ = 0;
- gint _tmp24_ = 0;
- gint _tmp26_ = 0;
+ const gchar* _tmp14_;
+ gchar* _tmp15_;
+ gboolean _tmp16_;
+ gint _tmp18_;
+ gint _tmp19_;
+ GString* _tmp21_;
+ const gchar* _tmp22_;
+ gint _tmp23_;
+ gint _tmp24_;
+ gint _tmp26_;
#line 631 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_ = _tag_index;
#line 631 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5239,7 +5239,7 @@ gchar* tag_make_tag_markup_string (GeeList* tags, gint highlight_index) {
first = FALSE;
#line 5241 "Tag.c"
} else {
- GString* _tmp17_ = NULL;
+ GString* _tmp17_;
#line 637 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp17_ = builder;
#line 637 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5253,7 +5253,7 @@ gchar* tag_make_tag_markup_string (GeeList* tags, gint highlight_index) {
#line 638 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp18_ == _tmp19_) {
#line 5256 "Tag.c"
- GString* _tmp20_ = NULL;
+ GString* _tmp20_;
#line 639 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp20_ = builder;
#line 639 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5273,7 +5273,7 @@ gchar* tag_make_tag_markup_string (GeeList* tags, gint highlight_index) {
#line 641 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp23_ == _tmp24_) {
#line 5276 "Tag.c"
- GString* _tmp25_ = NULL;
+ GString* _tmp25_;
#line 642 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp25_ = builder;
#line 642 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5320,8 +5320,8 @@ gchar* tag_make_tag_markup_string (GeeList* tags, gint highlight_index) {
gchar* tag_prep_tag_name (const gchar* name) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 653 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 654 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5336,7 +5336,7 @@ gchar* tag_prep_tag_name (const gchar* name) {
}
-static void _vala_array_add127 (gchar*** array, int* length, int* size, gchar* value) {
+static void _vala_array_add127 (gchar** * array, int* length, int* size, gchar* value) {
#line 665 "/home/jens/Source/shotwell/src/Tag.vala"
if ((*length) == (*size)) {
#line 665 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5356,11 +5356,11 @@ static void _vala_array_add127 (gchar*** array, int* length, int* size, gchar* v
gchar** tag_prep_tag_names (gchar** names, int names_length1, int* result_length1) {
gchar** result = NULL;
gchar** _result_ = NULL;
- gchar** _tmp0_ = NULL;
- gint _result__length1 = 0;
- gint __result__size_ = 0;
- gchar** _tmp13_ = NULL;
- gint _tmp13__length1 = 0;
+ gchar** _tmp0_;
+ gint _result__length1;
+ gint __result__size_;
+ gchar** _tmp13_;
+ gint _tmp13__length1;
#line 660 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = g_new0 (gchar*, 0 + 1);
#line 660 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5382,20 +5382,20 @@ gchar** tag_prep_tag_names (gchar** names, int names_length1, int* result_length
#line 662 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 5385 "Tag.c"
- gint _tmp3_ = 0;
- gchar** _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
+ gint _tmp3_;
+ gchar** _tmp4_;
+ gint _tmp4__length1;
gchar* new_name = NULL;
- gchar** _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- gint _tmp6_ = 0;
- const gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- const gchar* _tmp9_ = NULL;
+ gchar** _tmp5_;
+ gint _tmp5__length1;
+ gint _tmp6_;
+ const gchar* _tmp7_;
+ gchar* _tmp8_;
+ const gchar* _tmp9_;
#line 662 "/home/jens/Source/shotwell/src/Tag.vala"
if (!_tmp1_) {
#line 5398 "Tag.c"
- gint _tmp2_ = 0;
+ gint _tmp2_;
#line 662 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp2_ = ctr;
#line 662 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5433,10 +5433,10 @@ gchar** tag_prep_tag_names (gchar** names, int names_length1, int* result_length
#line 664 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp9_ != NULL) {
#line 5436 "Tag.c"
- gchar** _tmp10_ = NULL;
- gint _tmp10__length1 = 0;
- const gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
+ gchar** _tmp10_;
+ gint _tmp10__length1;
+ const gchar* _tmp11_;
+ gchar* _tmp12_;
#line 665 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp10_ = _result_;
#line 665 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5475,16 +5475,16 @@ gchar** tag_prep_tag_names (gchar** names, int names_length1, int* result_length
static void tag_set_raw_flat_name (Tag* self, const gchar* name) {
gchar* prepped_name = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- TagRow* _tmp11_ = NULL;
- const gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- Alteration* _tmp14_ = NULL;
- Alteration* _tmp15_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+ const gchar* _tmp2_;
+ const gchar* _tmp3_;
+ gboolean _tmp4_;
+ TagRow* _tmp11_;
+ const gchar* _tmp12_;
+ gchar* _tmp13_;
+ Alteration* _tmp14_;
+ Alteration* _tmp15_;
GError * _inner_error_ = NULL;
#line 671 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
@@ -5508,11 +5508,11 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) {
_vala_assert (!_tmp4_, "!prepped_name.has_prefix(Tag.PATH_SEPARATOR_STRING)");
#line 5510 "Tag.c"
{
- TagTable* _tmp5_ = NULL;
- TagTable* _tmp6_ = NULL;
- TagRow* _tmp7_ = NULL;
- TagID _tmp8_ = {0};
- const gchar* _tmp9_ = NULL;
+ TagTable* _tmp5_;
+ TagTable* _tmp6_;
+ TagRow* _tmp7_;
+ TagID _tmp8_;
+ const gchar* _tmp9_;
#line 678 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp5_ = tag_table_get_instance ();
#line 678 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5532,7 +5532,7 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) {
#line 678 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5535 "Tag.c"
- goto __catch473_database_error;
+ goto __catch474_database_error;
}
#line 678 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (prepped_name);
@@ -5545,11 +5545,11 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) {
#line 5546 "Tag.c"
}
}
- goto __finally473;
- __catch473_database_error:
+ goto __finally474;
+ __catch474_database_error:
{
GError* err = NULL;
- GError* _tmp10_ = NULL;
+ GError* _tmp10_;
#line 677 "/home/jens/Source/shotwell/src/Tag.vala"
err = _inner_error_;
#line 677 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5566,7 +5566,7 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) {
return;
#line 5568 "Tag.c"
}
- __finally473:
+ __finally474:
#line 677 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 677 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5611,18 +5611,18 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) {
static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_notify) {
gchar* prepped_path = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- TagSourceCollection* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
- TagRow* _tmp14_ = NULL;
- const gchar* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
- gboolean _tmp17_ = FALSE;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+ const gchar* _tmp2_;
+ const gchar* _tmp3_;
+ gboolean _tmp4_;
+ TagSourceCollection* _tmp5_;
+ const gchar* _tmp6_;
+ gboolean _tmp7_;
+ TagRow* _tmp14_;
+ const gchar* _tmp15_;
+ gchar* _tmp16_;
+ gboolean _tmp17_;
GError * _inner_error_ = NULL;
#line 692 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
@@ -5654,11 +5654,11 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no
_vala_assert (!_tmp7_, "!Tag.global.exists(prepped_path)");
#line 5656 "Tag.c"
{
- TagTable* _tmp8_ = NULL;
- TagTable* _tmp9_ = NULL;
- TagRow* _tmp10_ = NULL;
- TagID _tmp11_ = {0};
- const gchar* _tmp12_ = NULL;
+ TagTable* _tmp8_;
+ TagTable* _tmp9_;
+ TagRow* _tmp10_;
+ TagID _tmp11_;
+ const gchar* _tmp12_;
#line 700 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp8_ = tag_table_get_instance ();
#line 700 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5678,7 +5678,7 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no
#line 700 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5681 "Tag.c"
- goto __catch474_database_error;
+ goto __catch475_database_error;
}
#line 700 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (prepped_path);
@@ -5691,11 +5691,11 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no
#line 5692 "Tag.c"
}
}
- goto __finally474;
- __catch474_database_error:
+ goto __finally475;
+ __catch475_database_error:
{
GError* err = NULL;
- GError* _tmp13_ = NULL;
+ GError* _tmp13_;
#line 699 "/home/jens/Source/shotwell/src/Tag.vala"
err = _inner_error_;
#line 699 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5712,7 +5712,7 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no
return;
#line 5714 "Tag.c"
}
- __finally474:
+ __finally475:
#line 699 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 699 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5744,8 +5744,8 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no
#line 709 "/home/jens/Source/shotwell/src/Tag.vala"
if (!_tmp17_) {
#line 5747 "Tag.c"
- Alteration* _tmp18_ = NULL;
- Alteration* _tmp19_ = NULL;
+ Alteration* _tmp18_;
+ Alteration* _tmp19_;
#line 710 "/home/jens/Source/shotwell/src/Tag.vala"
tag_update_indexable_keywords (self);
#line 711 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5767,7 +5767,7 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no
static gchar* tag_real_get_typename (DataSource* base) {
Tag * self;
gchar* result = NULL;
- gchar* _tmp0_ = NULL;
+ gchar* _tmp0_;
#line 715 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 716 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5784,7 +5784,7 @@ static gint64 tag_real_get_instance_id (DataSource* base) {
Tag * self;
gint64 result = 0LL;
TagID _tmp0_ = {0};
- gint64 _tmp1_ = 0LL;
+ gint64 _tmp1_;
#line 719 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 720 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5802,9 +5802,9 @@ static gint64 tag_real_get_instance_id (DataSource* base) {
static gchar* tag_real_get_name (DataObject* base) {
Tag * self;
gchar* result = NULL;
- TagRow* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ TagRow* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 723 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 724 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5823,7 +5823,7 @@ static gchar* tag_real_get_name (DataObject* base) {
gchar* tag_get_path (Tag* self) {
gchar* result = NULL;
- gchar* _tmp0_ = NULL;
+ gchar* _tmp0_;
#line 727 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), NULL);
#line 728 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5838,10 +5838,10 @@ gchar* tag_get_path (Tag* self) {
gchar* tag_get_user_visible_name (Tag* self) {
gchar* result = NULL;
- gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ gchar* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
#line 731 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), NULL);
#line 732 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5865,13 +5865,13 @@ gchar* tag_get_user_visible_name (Tag* self) {
gchar* tag_get_searchable_name (Tag* self) {
gchar* result = NULL;
gchar* istring = NULL;
- gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
+ gchar* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
#line 735 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), NULL);
#line 736 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5905,10 +5905,10 @@ gchar* tag_get_searchable_name (Tag* self) {
void tag_flatten (Tag* self) {
- Tag* _tmp0_ = NULL;
- Tag* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ Tag* _tmp0_;
+ Tag* _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
#line 740 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
#line 741 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5932,14 +5932,14 @@ void tag_flatten (Tag* self) {
void tag_promote (Tag* self) {
- gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- gboolean _tmp3_ = FALSE;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
+ gchar* _tmp0_;
+ gchar* _tmp1_;
+ gboolean _tmp2_;
+ gboolean _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+ gchar* _tmp7_;
#line 746 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
#line 747 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5978,26 +5978,26 @@ void tag_promote (Tag* self) {
Tag* tag_get_hierarchical_parent (Tag* self) {
Tag* result = NULL;
- gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- gboolean _tmp3_ = FALSE;
+ gchar* _tmp0_;
+ gchar* _tmp1_;
+ gboolean _tmp2_;
+ gboolean _tmp3_;
GeeList* components = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- GeeList* _tmp6_ = NULL;
- GeeList* _tmp7_ = NULL;
- GeeList* _tmp8_ = NULL;
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
- GeeList* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ GeeList* _tmp6_;
+ GeeList* _tmp7_;
+ GeeList* _tmp8_;
+ gint _tmp9_;
+ gint _tmp10_;
+ GeeList* _tmp11_;
+ gint _tmp12_;
+ gint _tmp13_;
gchar* parent_path = NULL;
- gchar* _tmp14_ = NULL;
- TagSourceCollection* _tmp29_ = NULL;
- const gchar* _tmp30_ = NULL;
- gboolean _tmp31_ = FALSE;
+ gchar* _tmp14_;
+ TagSourceCollection* _tmp29_;
+ const gchar* _tmp30_;
+ gboolean _tmp31_;
#line 753 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), NULL);
#line 755 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6071,22 +6071,22 @@ Tag* tag_get_hierarchical_parent (Tag* self) {
#line 768 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 6074 "Tag.c"
- gint _tmp17_ = 0;
- GeeList* _tmp18_ = NULL;
- gint _tmp19_ = 0;
- gint _tmp20_ = 0;
- const gchar* _tmp21_ = NULL;
- GeeList* _tmp22_ = NULL;
- gint _tmp23_ = 0;
- gpointer _tmp24_ = NULL;
- gchar* _tmp25_ = NULL;
- gchar* _tmp26_ = NULL;
- gchar* _tmp27_ = NULL;
- gchar* _tmp28_ = NULL;
+ gint _tmp17_;
+ GeeList* _tmp18_;
+ gint _tmp19_;
+ gint _tmp20_;
+ const gchar* _tmp21_;
+ GeeList* _tmp22_;
+ gint _tmp23_;
+ gpointer _tmp24_;
+ gchar* _tmp25_;
+ gchar* _tmp26_;
+ gchar* _tmp27_;
+ gchar* _tmp28_;
#line 768 "/home/jens/Source/shotwell/src/Tag.vala"
if (!_tmp15_) {
#line 6089 "Tag.c"
- gint _tmp16_ = 0;
+ gint _tmp16_;
#line 768 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp16_ = i;
#line 768 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6146,8 +6146,8 @@ Tag* tag_get_hierarchical_parent (Tag* self) {
#line 771 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp31_) {
#line 6149 "Tag.c"
- const gchar* _tmp32_ = NULL;
- Tag* _tmp33_ = NULL;
+ const gchar* _tmp32_;
+ Tag* _tmp33_;
#line 772 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp32_ = parent_path;
#line 772 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6182,8 +6182,8 @@ Tag* tag_get_hierarchical_parent (Tag* self) {
gint tag_get_attachment_count (Tag* self, MediaSource* source) {
gint result = 0;
- MediaSource* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ MediaSource* _tmp0_;
+ gboolean _tmp1_;
gint _result_ = 0;
#line 777 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), 0);
@@ -6206,11 +6206,11 @@ gint tag_get_attachment_count (Tag* self, MediaSource* source) {
#line 6207 "Tag.c"
{
GeeList* _child_list = NULL;
- GeeList* _tmp2_ = NULL;
+ GeeList* _tmp2_;
gint _child_size = 0;
- GeeList* _tmp3_ = NULL;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
+ GeeList* _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
gint _child_index = 0;
#line 786 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp2_ = tag_get_hierarchical_children (self);
@@ -6229,16 +6229,16 @@ gint tag_get_attachment_count (Tag* self, MediaSource* source) {
#line 786 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 6232 "Tag.c"
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
+ gint _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
Tag* child = NULL;
- GeeList* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- gpointer _tmp11_ = NULL;
- Tag* _tmp12_ = NULL;
- MediaSource* _tmp13_ = NULL;
- gboolean _tmp14_ = FALSE;
+ GeeList* _tmp9_;
+ gint _tmp10_;
+ gpointer _tmp11_;
+ Tag* _tmp12_;
+ MediaSource* _tmp13_;
+ gboolean _tmp14_;
#line 786 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_ = _child_index;
#line 786 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6270,7 +6270,7 @@ gint tag_get_attachment_count (Tag* self, MediaSource* source) {
#line 787 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp14_) {
#line 6273 "Tag.c"
- gint _tmp15_ = 0;
+ gint _tmp15_;
#line 788 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp15_ = _result_;
#line 788 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6300,20 +6300,20 @@ gint tag_get_attachment_count (Tag* self, MediaSource* source) {
GeeList* tag_get_hierarchical_children (Tag* self) {
GeeList* result = NULL;
GeeArrayList* _result_ = NULL;
- GeeArrayList* _tmp0_ = NULL;
+ GeeArrayList* _tmp0_;
GeeArrayList* result_reversed = NULL;
- GeeArrayList* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- gboolean _tmp5_ = FALSE;
+ GeeArrayList* _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ gboolean _tmp4_;
+ gboolean _tmp5_;
GeeTreeSet* forward_sorted_paths = NULL;
- GeeTreeSet* _tmp6_ = NULL;
+ GeeTreeSet* _tmp6_;
gchar* target_path = NULL;
- gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
+ gchar* _tmp7_;
+ gchar* _tmp8_;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
#line 797 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), NULL);
#line 798 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6363,11 +6363,11 @@ GeeList* tag_get_hierarchical_children (Tag* self) {
#line 6364 "Tag.c"
{
GeeIterator* _path_it = NULL;
- TagSourceCollection* _tmp11_ = NULL;
- GeeCollection* _tmp12_ = NULL;
- GeeCollection* _tmp13_ = NULL;
- GeeIterator* _tmp14_ = NULL;
- GeeIterator* _tmp15_ = NULL;
+ TagSourceCollection* _tmp11_;
+ GeeCollection* _tmp12_;
+ GeeCollection* _tmp13_;
+ GeeIterator* _tmp14_;
+ GeeIterator* _tmp15_;
#line 810 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp11_ = tag_global;
#line 810 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6385,14 +6385,14 @@ GeeList* tag_get_hierarchical_children (Tag* self) {
#line 810 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 6388 "Tag.c"
- GeeIterator* _tmp16_ = NULL;
- gboolean _tmp17_ = FALSE;
+ GeeIterator* _tmp16_;
+ gboolean _tmp17_;
gchar* path = NULL;
- GeeIterator* _tmp18_ = NULL;
- gpointer _tmp19_ = NULL;
- const gchar* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
- gboolean _tmp22_ = FALSE;
+ GeeIterator* _tmp18_;
+ gpointer _tmp19_;
+ const gchar* _tmp20_;
+ const gchar* _tmp21_;
+ gboolean _tmp22_;
#line 810 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp16_ = _path_it;
#line 810 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6418,8 +6418,8 @@ GeeList* tag_get_hierarchical_children (Tag* self) {
#line 811 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp22_) {
#line 6421 "Tag.c"
- GeeTreeSet* _tmp23_ = NULL;
- const gchar* _tmp24_ = NULL;
+ GeeTreeSet* _tmp23_;
+ const gchar* _tmp24_;
#line 812 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp23_ = forward_sorted_paths;
#line 812 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6438,8 +6438,8 @@ GeeList* tag_get_hierarchical_children (Tag* self) {
}
{
GeeIterator* _tmp_it = NULL;
- GeeTreeSet* _tmp25_ = NULL;
- GeeIterator* _tmp26_ = NULL;
+ GeeTreeSet* _tmp25_;
+ GeeIterator* _tmp26_;
#line 815 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp25_ = forward_sorted_paths;
#line 815 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6449,15 +6449,15 @@ GeeList* tag_get_hierarchical_children (Tag* self) {
#line 815 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 6452 "Tag.c"
- GeeIterator* _tmp27_ = NULL;
- gboolean _tmp28_ = FALSE;
+ GeeIterator* _tmp27_;
+ gboolean _tmp28_;
gchar* tmp = NULL;
- GeeIterator* _tmp29_ = NULL;
- gpointer _tmp30_ = NULL;
- GeeArrayList* _tmp31_ = NULL;
- const gchar* _tmp32_ = NULL;
- Tag* _tmp33_ = NULL;
- Tag* _tmp34_ = NULL;
+ GeeIterator* _tmp29_;
+ gpointer _tmp30_;
+ GeeArrayList* _tmp31_;
+ const gchar* _tmp32_;
+ Tag* _tmp33_;
+ Tag* _tmp34_;
#line 815 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp27_ = _tmp_it;
#line 815 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6496,9 +6496,9 @@ GeeList* tag_get_hierarchical_children (Tag* self) {
}
{
gint index = 0;
- GeeArrayList* _tmp35_ = NULL;
- gint _tmp36_ = 0;
- gint _tmp37_ = 0;
+ GeeArrayList* _tmp35_;
+ gint _tmp36_;
+ gint _tmp37_;
#line 819 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp35_ = result_reversed;
#line 819 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6515,16 +6515,16 @@ GeeList* tag_get_hierarchical_children (Tag* self) {
#line 819 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
#line 6518 "Tag.c"
- gint _tmp40_ = 0;
- GeeArrayList* _tmp41_ = NULL;
- GeeArrayList* _tmp42_ = NULL;
- gint _tmp43_ = 0;
- gpointer _tmp44_ = NULL;
- Tag* _tmp45_ = NULL;
+ gint _tmp40_;
+ GeeArrayList* _tmp41_;
+ GeeArrayList* _tmp42_;
+ gint _tmp43_;
+ gpointer _tmp44_;
+ Tag* _tmp45_;
#line 819 "/home/jens/Source/shotwell/src/Tag.vala"
if (!_tmp38_) {
#line 6527 "Tag.c"
- gint _tmp39_ = 0;
+ gint _tmp39_;
#line 819 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp39_ = index;
#line 819 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6576,156 +6576,153 @@ GeeList* tag_get_hierarchical_children (Tag* self) {
static gchar* tag_get_next_untitled_tag_name (const gchar* _prefix) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
+ const gchar* _tmp1_;
gchar* prefix = NULL;
- gchar* _tmp3_ = NULL;
+ gchar* _tmp3_;
gchar* candidate_name = NULL;
- const gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
+ gchar* _tmp4_;
guint64 counter = 0ULL;
#line 829 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp1_ = _prefix;
#line 829 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp1_ != NULL) {
-#line 6591 "Tag.c"
- const gchar* _tmp2_ = NULL;
+#line 6590 "Tag.c"
+ const gchar* _tmp2_;
#line 829 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp2_ = _prefix;
#line 829 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = _tmp2_;
-#line 6597 "Tag.c"
+#line 6596 "Tag.c"
} else {
#line 829 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = "";
-#line 6601 "Tag.c"
+#line 6600 "Tag.c"
}
#line 829 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp3_ = g_strdup (_tmp0_);
#line 829 "/home/jens/Source/shotwell/src/Tag.vala"
prefix = _tmp3_;
#line 830 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp4_ = _ ("untitled");
-#line 830 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp5_ = g_strdup (_tmp4_);
+ _tmp4_ = g_strdup (_ ("untitled"));
#line 830 "/home/jens/Source/shotwell/src/Tag.vala"
- candidate_name = _tmp5_;
+ candidate_name = _tmp4_;
#line 831 "/home/jens/Source/shotwell/src/Tag.vala"
counter = (guint64) 0;
-#line 6615 "Tag.c"
+#line 6612 "Tag.c"
{
- gboolean _tmp6_ = FALSE;
+ gboolean _tmp5_ = FALSE;
#line 832 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp6_ = TRUE;
+ _tmp5_ = TRUE;
#line 832 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 6622 "Tag.c"
- gchar* _tmp8_ = NULL;
- guint64 _tmp9_ = 0ULL;
+#line 6619 "Tag.c"
+ gchar* _tmp7_ = NULL;
+ guint64 _tmp8_;
gchar* path_candidate = NULL;
- const gchar* _tmp15_ = NULL;
- const gchar* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
- gchar* _tmp18_ = NULL;
- gchar* _tmp19_ = NULL;
- gchar* _tmp20_ = NULL;
- TagSourceCollection* _tmp21_ = NULL;
- const gchar* _tmp22_ = NULL;
- gboolean _tmp23_ = FALSE;
- guint64 _tmp24_ = 0ULL;
+ const gchar* _tmp14_;
+ const gchar* _tmp15_;
+ gchar* _tmp16_;
+ gchar* _tmp17_;
+ gchar* _tmp18_;
+ gchar* _tmp19_;
+ TagSourceCollection* _tmp20_;
+ const gchar* _tmp21_;
+ gboolean _tmp22_;
+ guint64 _tmp23_;
#line 832 "/home/jens/Source/shotwell/src/Tag.vala"
- if (!_tmp6_) {
-#line 6638 "Tag.c"
- guint64 _tmp7_ = 0ULL;
+ if (!_tmp5_) {
+#line 6635 "Tag.c"
+ guint64 _tmp6_;
#line 840 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp7_ = counter;
+ _tmp6_ = counter;
#line 840 "/home/jens/Source/shotwell/src/Tag.vala"
- if (!(_tmp7_ < G_MAXUINT64)) {
+ if (!(_tmp6_ < G_MAXUINT64)) {
#line 840 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 6646 "Tag.c"
+#line 6643 "Tag.c"
}
}
#line 832 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp6_ = FALSE;
+ _tmp5_ = FALSE;
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp9_ = counter;
+ _tmp8_ = counter;
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- if (_tmp9_ == ((guint64) 0)) {
-#line 6655 "Tag.c"
- gchar* _tmp10_ = NULL;
+ if (_tmp8_ == ((guint64) 0)) {
+#line 6652 "Tag.c"
+ gchar* _tmp9_;
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp10_ = g_strdup ("");
+ _tmp9_ = g_strdup ("");
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _g_free0 (_tmp8_);
+ _g_free0 (_tmp7_);
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp8_ = _tmp10_;
-#line 6663 "Tag.c"
+ _tmp7_ = _tmp9_;
+#line 6660 "Tag.c"
} else {
- guint64 _tmp11_ = 0ULL;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
+ guint64 _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
+ gchar* _tmp13_;
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp11_ = counter;
+ _tmp10_ = counter;
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp12_ = g_strdup_printf ("%" G_GUINT64_FORMAT, _tmp11_);
+ _tmp11_ = g_strdup_printf ("%" G_GUINT64_FORMAT, _tmp10_);
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp13_ = _tmp12_;
+ _tmp12_ = _tmp11_;
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp14_ = g_strconcat (" ", _tmp13_, NULL);
+ _tmp13_ = g_strconcat (" ", _tmp12_, NULL);
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _g_free0 (_tmp8_);
+ _g_free0 (_tmp7_);
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp8_ = _tmp14_;
+ _tmp7_ = _tmp13_;
#line 834 "/home/jens/Source/shotwell/src/Tag.vala"
- _g_free0 (_tmp13_);
-#line 6683 "Tag.c"
+ _g_free0 (_tmp12_);
+#line 6680 "Tag.c"
}
#line 833 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp15_ = prefix;
+ _tmp14_ = prefix;
#line 833 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp16_ = candidate_name;
+ _tmp15_ = candidate_name;
#line 833 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp17_ = g_strconcat (_tmp15_, _tmp16_, NULL);
+ _tmp16_ = g_strconcat (_tmp14_, _tmp15_, NULL);
#line 833 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp18_ = _tmp17_;
+ _tmp17_ = _tmp16_;
#line 833 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp19_ = g_strconcat (_tmp18_, _tmp8_, NULL);
+ _tmp18_ = g_strconcat (_tmp17_, _tmp7_, NULL);
#line 833 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp20_ = _tmp19_;
+ _tmp19_ = _tmp18_;
#line 833 "/home/jens/Source/shotwell/src/Tag.vala"
- _g_free0 (_tmp18_);
+ _g_free0 (_tmp17_);
#line 833 "/home/jens/Source/shotwell/src/Tag.vala"
- path_candidate = _tmp20_;
+ path_candidate = _tmp19_;
#line 836 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp21_ = tag_global;
+ _tmp20_ = tag_global;
#line 836 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp22_ = path_candidate;
+ _tmp21_ = path_candidate;
#line 836 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp23_ = tag_source_collection_exists (_tmp21_, _tmp22_, FALSE);
+ _tmp22_ = tag_source_collection_exists (_tmp20_, _tmp21_, FALSE);
#line 836 "/home/jens/Source/shotwell/src/Tag.vala"
- if (!_tmp23_) {
+ if (!_tmp22_) {
#line 837 "/home/jens/Source/shotwell/src/Tag.vala"
result = path_candidate;
#line 837 "/home/jens/Source/shotwell/src/Tag.vala"
- _g_free0 (_tmp8_);
+ _g_free0 (_tmp7_);
#line 837 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (candidate_name);
#line 837 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (prefix);
#line 837 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 6719 "Tag.c"
+#line 6716 "Tag.c"
}
#line 839 "/home/jens/Source/shotwell/src/Tag.vala"
- _tmp24_ = counter;
+ _tmp23_ = counter;
#line 839 "/home/jens/Source/shotwell/src/Tag.vala"
- counter = _tmp24_ + 1;
+ counter = _tmp23_ + 1;
#line 832 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (path_candidate);
#line 832 "/home/jens/Source/shotwell/src/Tag.vala"
- _g_free0 (_tmp8_);
-#line 6729 "Tag.c"
+ _g_free0 (_tmp7_);
+#line 6726 "Tag.c"
}
}
#line 843 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6734,23 +6731,23 @@ static gchar* tag_get_next_untitled_tag_name (const gchar* _prefix) {
_g_free0 (candidate_name);
#line 828 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (prefix);
-#line 6738 "Tag.c"
+#line 6735 "Tag.c"
}
Tag* tag_create_new_child (Tag* self) {
Tag* result = NULL;
gchar* path_prefix = NULL;
- gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- const gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- Tag* _tmp13_ = NULL;
- Tag* _tmp14_ = NULL;
+ gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gboolean _tmp2_;
+ const gchar* _tmp8_;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
+ Tag* _tmp13_;
+ Tag* _tmp14_;
#line 846 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), NULL);
#line 847 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6763,12 +6760,12 @@ Tag* tag_create_new_child (Tag* self) {
_tmp2_ = g_str_has_prefix (_tmp1_, TAG_PATH_SEPARATOR_STRING);
#line 849 "/home/jens/Source/shotwell/src/Tag.vala"
if (!_tmp2_) {
-#line 6767 "Tag.c"
- gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
+#line 6764 "Tag.c"
+ gchar* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+ gchar* _tmp7_;
#line 850 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp3_ = tag_get_path (self);
#line 850 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6789,7 +6786,7 @@ Tag* tag_create_new_child (Tag* self) {
_g_free0 (path_prefix);
#line 852 "/home/jens/Source/shotwell/src/Tag.vala"
path_prefix = _tmp7_;
-#line 6793 "Tag.c"
+#line 6790 "Tag.c"
}
#line 855 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp8_ = path_prefix;
@@ -6815,16 +6812,16 @@ Tag* tag_create_new_child (Tag* self) {
_g_free0 (path_prefix);
#line 855 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 6819 "Tag.c"
+#line 6816 "Tag.c"
}
Tag* tag_create_new_root (void) {
Tag* result = NULL;
- gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- Tag* _tmp2_ = NULL;
- Tag* _tmp3_ = NULL;
+ gchar* _tmp0_;
+ gchar* _tmp1_;
+ Tag* _tmp2_;
+ Tag* _tmp3_;
#line 859 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = tag_get_next_untitled_tag_name (NULL);
#line 859 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6839,25 +6836,25 @@ Tag* tag_create_new_root (void) {
result = _tmp3_;
#line 859 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 6843 "Tag.c"
+#line 6840 "Tag.c"
}
gchar* tag_get_name_collation_key (Tag* self) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp4_;
+ gchar* _tmp5_;
#line 862 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), NULL);
#line 863 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = self->priv->name_collation_key;
#line 863 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp0_ == NULL) {
-#line 6858 "Tag.c"
- TagRow* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+#line 6855 "Tag.c"
+ TagRow* _tmp1_;
+ const gchar* _tmp2_;
+ gchar* _tmp3_;
#line 864 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp1_ = self->priv->row;
#line 864 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6868,7 +6865,7 @@ gchar* tag_get_name_collation_key (Tag* self) {
_g_free0 (self->priv->name_collation_key);
#line 864 "/home/jens/Source/shotwell/src/Tag.vala"
self->priv->name_collation_key = _tmp3_;
-#line 6872 "Tag.c"
+#line 6869 "Tag.c"
}
#line 866 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp4_ = self->priv->name_collation_key;
@@ -6878,18 +6875,18 @@ gchar* tag_get_name_collation_key (Tag* self) {
result = _tmp5_;
#line 866 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 6882 "Tag.c"
+#line 6879 "Tag.c"
}
static gchar* tag_real_to_string (DataObject* base) {
Tag * self;
gchar* result = NULL;
- TagRow* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- ViewCollection* _tmp2_ = NULL;
- gint _tmp3_ = 0;
- gchar* _tmp4_ = NULL;
+ TagRow* _tmp0_;
+ const gchar* _tmp1_;
+ ViewCollection* _tmp2_;
+ gint _tmp3_;
+ gchar* _tmp4_;
#line 869 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 870 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6906,7 +6903,7 @@ static gchar* tag_real_to_string (DataObject* base) {
result = _tmp4_;
#line 870 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 6910 "Tag.c"
+#line 6907 "Tag.c"
}
@@ -6914,11 +6911,11 @@ static gboolean tag_real_equals (DataSource* base, DataSource* source) {
Tag * self;
gboolean result = FALSE;
Tag* tag = NULL;
- DataSource* _tmp0_ = NULL;
- Tag* _tmp1_ = NULL;
- Tag* _tmp2_ = NULL;
- DataSource* _tmp11_ = NULL;
- gboolean _tmp12_ = FALSE;
+ DataSource* _tmp0_;
+ Tag* _tmp1_;
+ Tag* _tmp2_;
+ DataSource* _tmp11_;
+ gboolean _tmp12_;
#line 873 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 873 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6933,20 +6930,20 @@ static gboolean tag_real_equals (DataSource* base, DataSource* source) {
_tmp2_ = tag;
#line 876 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp2_ != NULL) {
-#line 6937 "Tag.c"
- Tag* _tmp3_ = NULL;
+#line 6934 "Tag.c"
+ Tag* _tmp3_;
#line 877 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp3_ = tag;
#line 877 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp3_ != self) {
-#line 6943 "Tag.c"
- Tag* _tmp4_ = NULL;
- TagRow* _tmp5_ = NULL;
- TagID _tmp6_ = {0};
- gint64 _tmp7_ = 0LL;
- TagRow* _tmp8_ = NULL;
- TagID _tmp9_ = {0};
- gint64 _tmp10_ = 0LL;
+#line 6940 "Tag.c"
+ Tag* _tmp4_;
+ TagRow* _tmp5_;
+ TagID _tmp6_;
+ gint64 _tmp7_;
+ TagRow* _tmp8_;
+ TagID _tmp9_;
+ gint64 _tmp10_;
#line 878 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp4_ = tag;
#line 878 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6963,7 +6960,7 @@ static gboolean tag_real_equals (DataSource* base, DataSource* source) {
_tmp10_ = _tmp9_.id;
#line 878 "/home/jens/Source/shotwell/src/Tag.vala"
_vala_assert (_tmp7_ != _tmp10_, "tag.row.tag_id.id != row.tag_id.id");
-#line 6967 "Tag.c"
+#line 6964 "Tag.c"
}
}
#line 882 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6976,13 +6973,13 @@ static gboolean tag_real_equals (DataSource* base, DataSource* source) {
_g_object_unref0 (tag);
#line 882 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 6980 "Tag.c"
+#line 6977 "Tag.c"
}
void tag_get_tag_id (Tag* self, TagID* result) {
- TagRow* _tmp0_ = NULL;
- TagID _tmp1_ = {0};
+ TagRow* _tmp0_;
+ TagID _tmp1_;
#line 885 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
#line 886 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -6993,14 +6990,14 @@ void tag_get_tag_id (Tag* self, TagID* result) {
*result = _tmp1_;
#line 886 "/home/jens/Source/shotwell/src/Tag.vala"
return;
-#line 6997 "Tag.c"
+#line 6994 "Tag.c"
}
static SourceSnapshot* tag_real_save_snapshot (DataSource* base) {
Tag * self;
SourceSnapshot* result = NULL;
- TagTagSnapshot* _tmp0_ = NULL;
+ TagTagSnapshot* _tmp0_;
#line 889 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 890 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7009,14 +7006,14 @@ static SourceSnapshot* tag_real_save_snapshot (DataSource* base) {
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SOURCE_SNAPSHOT, SourceSnapshot);
#line 890 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 7013 "Tag.c"
+#line 7010 "Tag.c"
}
static SourceProxy* tag_real_get_proxy (Proxyable* base) {
Tag * self;
SourceProxy* result = NULL;
- TagTagProxy* _tmp0_ = NULL;
+ TagTagProxy* _tmp0_;
#line 893 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 894 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7025,31 +7022,31 @@ static SourceProxy* tag_real_get_proxy (Proxyable* base) {
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SOURCE_PROXY, SourceProxy);
#line 894 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 7029 "Tag.c"
+#line 7026 "Tag.c"
}
Tag* tag_reconstitute (gint64 object_id, TagRow* row) {
Tag* result = NULL;
Tag* tag = NULL;
- TagRow* _tmp8_ = NULL;
- gint64 _tmp9_ = 0LL;
- Tag* _tmp10_ = NULL;
- TagSourceCollection* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
+ TagRow* _tmp8_;
+ gint64 _tmp9_;
+ Tag* _tmp10_;
+ TagSourceCollection* _tmp11_;
+ gchar* _tmp12_;
+ gchar* _tmp13_;
GError * _inner_error_ = NULL;
#line 897 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG_ROW (row), NULL);
-#line 7045 "Tag.c"
+#line 7042 "Tag.c"
{
TagID _tmp0_ = {0};
- TagTable* _tmp1_ = NULL;
- TagTable* _tmp2_ = NULL;
- TagRow* _tmp3_ = NULL;
+ TagTable* _tmp1_;
+ TagTable* _tmp2_;
+ TagRow* _tmp3_;
TagID _tmp4_ = {0};
- TagID _tmp5_ = {0};
- TagRow* _tmp6_ = NULL;
+ TagID _tmp5_;
+ TagRow* _tmp6_;
#line 900 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp1_ = tag_table_get_instance ();
#line 900 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7068,8 +7065,8 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) {
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 900 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
-#line 7072 "Tag.c"
- goto __catch475_database_error;
+#line 7069 "Tag.c"
+ goto __catch476_database_error;
}
#line 900 "/home/jens/Source/shotwell/src/Tag.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -7077,19 +7074,19 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) {
g_clear_error (&_inner_error_);
#line 900 "/home/jens/Source/shotwell/src/Tag.vala"
return NULL;
-#line 7081 "Tag.c"
+#line 7078 "Tag.c"
}
#line 900 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_ = row;
#line 900 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_->tag_id = _tmp0_;
-#line 7087 "Tag.c"
+#line 7084 "Tag.c"
}
- goto __finally475;
- __catch475_database_error:
+ goto __finally476;
+ __catch476_database_error:
{
GError* err = NULL;
- GError* _tmp7_ = NULL;
+ GError* _tmp7_;
#line 899 "/home/jens/Source/shotwell/src/Tag.vala"
err = _inner_error_;
#line 899 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7100,9 +7097,9 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) {
app_window_database_error (_tmp7_);
#line 899 "/home/jens/Source/shotwell/src/Tag.vala"
_g_error_free0 (err);
-#line 7104 "Tag.c"
+#line 7101 "Tag.c"
}
- __finally475:
+ __finally476:
#line 899 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 899 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7111,7 +7108,7 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) {
g_clear_error (&_inner_error_);
#line 899 "/home/jens/Source/shotwell/src/Tag.vala"
return NULL;
-#line 7115 "Tag.c"
+#line 7112 "Tag.c"
}
#line 905 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp8_ = row;
@@ -7137,18 +7134,18 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) {
result = tag;
#line 910 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 7141 "Tag.c"
+#line 7138 "Tag.c"
}
static gboolean tag_real_has_links (ContainerSource* base) {
Tag * self;
gboolean result = FALSE;
- LibraryPhotoSourceCollection* _tmp0_ = NULL;
- SourceBacklink* _tmp1_ = NULL;
- SourceBacklink* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- gboolean _tmp4_ = FALSE;
+ LibraryPhotoSourceCollection* _tmp0_;
+ SourceBacklink* _tmp1_;
+ SourceBacklink* _tmp2_;
+ gboolean _tmp3_;
+ gboolean _tmp4_;
#line 913 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 914 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7167,14 +7164,14 @@ static gboolean tag_real_has_links (ContainerSource* base) {
result = _tmp4_;
#line 914 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 7171 "Tag.c"
+#line 7168 "Tag.c"
}
static SourceBacklink* tag_real_get_backlink (ContainerSource* base) {
Tag * self;
SourceBacklink* result = NULL;
- SourceBacklink* _tmp0_ = NULL;
+ SourceBacklink* _tmp0_;
#line 917 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 918 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7183,15 +7180,15 @@ static SourceBacklink* tag_real_get_backlink (ContainerSource* base) {
result = _tmp0_;
#line 918 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 7187 "Tag.c"
+#line 7184 "Tag.c"
}
static void tag_real_break_link (ContainerSource* base, DataSource* source) {
Tag * self;
- DataSource* _tmp0_ = NULL;
- GeeList* _tmp1_ = NULL;
- GeeList* _tmp2_ = NULL;
+ DataSource* _tmp0_;
+ GeeList* _tmp1_;
+ GeeList* _tmp2_;
#line 921 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 921 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7208,15 +7205,15 @@ static void tag_real_break_link (ContainerSource* base, DataSource* source) {
_g_object_unref0 (_tmp2_);
#line 926 "/home/jens/Source/shotwell/src/Tag.vala"
self->priv->unlinking = FALSE;
-#line 7212 "Tag.c"
+#line 7209 "Tag.c"
}
static void tag_real_break_link_many (ContainerSource* base, GeeCollection* sources) {
Tag * self;
- GeeCollection* _tmp0_ = NULL;
- GeeMultiMap* _tmp1_ = NULL;
- GeeMultiMap* _tmp2_ = NULL;
+ GeeCollection* _tmp0_;
+ GeeMultiMap* _tmp1_;
+ GeeMultiMap* _tmp2_;
#line 929 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 929 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7233,13 +7230,13 @@ static void tag_real_break_link_many (ContainerSource* base, GeeCollection* sour
_g_object_unref0 (_tmp2_);
#line 934 "/home/jens/Source/shotwell/src/Tag.vala"
self->priv->unlinking = FALSE;
-#line 7237 "Tag.c"
+#line 7234 "Tag.c"
}
static void tag_real_establish_link (ContainerSource* base, DataSource* source) {
Tag * self;
- DataSource* _tmp0_ = NULL;
+ DataSource* _tmp0_;
#line 937 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 937 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7252,13 +7249,13 @@ static void tag_real_establish_link (ContainerSource* base, DataSource* source)
tag_attach (self, G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_LIBRARY_PHOTO, LibraryPhoto), TYPE_MEDIA_SOURCE, MediaSource));
#line 942 "/home/jens/Source/shotwell/src/Tag.vala"
self->priv->relinking = FALSE;
-#line 7256 "Tag.c"
+#line 7253 "Tag.c"
}
static void tag_real_establish_link_many (ContainerSource* base, GeeCollection* sources) {
Tag * self;
- GeeCollection* _tmp0_ = NULL;
+ GeeCollection* _tmp0_;
#line 945 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 945 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7271,14 +7268,14 @@ static void tag_real_establish_link_many (ContainerSource* base, GeeCollection*
tag_attach_many (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection));
#line 950 "/home/jens/Source/shotwell/src/Tag.vala"
self->priv->relinking = FALSE;
-#line 7275 "Tag.c"
+#line 7272 "Tag.c"
}
static void tag_update_indexable_keywords (Tag* self) {
- gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ gchar* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
#line 953 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
#line 954 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7293,14 +7290,14 @@ static void tag_update_indexable_keywords (Tag* self) {
self->priv->indexable_keywords = _tmp2_;
#line 954 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (_tmp1_);
-#line 7297 "Tag.c"
+#line 7294 "Tag.c"
}
static const gchar* tag_real_get_indexable_keywords (Indexable* base) {
Tag * self;
const gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
+ const gchar* _tmp0_;
#line 957 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
#line 958 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7309,13 +7306,13 @@ static const gchar* tag_real_get_indexable_keywords (Indexable* base) {
result = _tmp0_;
#line 958 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 7313 "Tag.c"
+#line 7310 "Tag.c"
}
void tag_attach (Tag* self, MediaSource* source) {
Tag* attach_to = NULL;
- Tag* _tmp0_ = NULL;
+ Tag* _tmp0_;
#line 961 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
#line 961 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7326,21 +7323,21 @@ void tag_attach (Tag* self, MediaSource* source) {
attach_to = _tmp0_;
#line 963 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 7330 "Tag.c"
- Tag* _tmp1_ = NULL;
- Tag* _tmp2_ = NULL;
- ViewCollection* _tmp3_ = NULL;
- MediaSource* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
- Tag* _tmp11_ = NULL;
- Tag* _tmp12_ = NULL;
+#line 7327 "Tag.c"
+ Tag* _tmp1_;
+ Tag* _tmp2_;
+ ViewCollection* _tmp3_;
+ MediaSource* _tmp4_;
+ gboolean _tmp5_;
+ Tag* _tmp11_;
+ Tag* _tmp12_;
#line 963 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp1_ = attach_to;
#line 963 "/home/jens/Source/shotwell/src/Tag.vala"
if (!(_tmp1_ != NULL)) {
#line 963 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 7344 "Tag.c"
+#line 7341 "Tag.c"
}
#line 964 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp2_ = attach_to;
@@ -7352,12 +7349,12 @@ void tag_attach (Tag* self, MediaSource* source) {
_tmp5_ = view_collection_has_view_for_source (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_SOURCE, DataSource));
#line 964 "/home/jens/Source/shotwell/src/Tag.vala"
if (!_tmp5_) {
-#line 7356 "Tag.c"
- Tag* _tmp6_ = NULL;
- ViewCollection* _tmp7_ = NULL;
- MediaSource* _tmp8_ = NULL;
- ThumbnailView* _tmp9_ = NULL;
- ThumbnailView* _tmp10_ = NULL;
+#line 7353 "Tag.c"
+ Tag* _tmp6_;
+ ViewCollection* _tmp7_;
+ MediaSource* _tmp8_;
+ ThumbnailView* _tmp9_;
+ ThumbnailView* _tmp10_;
#line 965 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_ = attach_to;
#line 965 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7372,7 +7369,7 @@ void tag_attach (Tag* self, MediaSource* source) {
data_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_OBJECT, DataObject));
#line 965 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_tmp10_);
-#line 7376 "Tag.c"
+#line 7373 "Tag.c"
}
#line 968 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp11_ = attach_to;
@@ -7382,17 +7379,17 @@ void tag_attach (Tag* self, MediaSource* source) {
_g_object_unref0 (attach_to);
#line 968 "/home/jens/Source/shotwell/src/Tag.vala"
attach_to = _tmp12_;
-#line 7386 "Tag.c"
+#line 7383 "Tag.c"
}
#line 961 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (attach_to);
-#line 7390 "Tag.c"
+#line 7387 "Tag.c"
}
void tag_attach_many (Tag* self, GeeCollection* sources) {
Tag* attach_to = NULL;
- Tag* _tmp0_ = NULL;
+ Tag* _tmp0_;
#line 972 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
#line 972 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7403,32 +7400,32 @@ void tag_attach_many (Tag* self, GeeCollection* sources) {
attach_to = _tmp0_;
#line 974 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 7407 "Tag.c"
- Tag* _tmp1_ = NULL;
+#line 7404 "Tag.c"
+ Tag* _tmp1_;
GeeArrayList* view_list = NULL;
- GeeArrayList* _tmp2_ = NULL;
- GeeArrayList* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
- Tag* _tmp25_ = NULL;
- Tag* _tmp26_ = NULL;
+ GeeArrayList* _tmp2_;
+ GeeArrayList* _tmp17_;
+ gint _tmp18_;
+ gint _tmp19_;
+ Tag* _tmp25_;
+ Tag* _tmp26_;
#line 974 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp1_ = attach_to;
#line 974 "/home/jens/Source/shotwell/src/Tag.vala"
if (!(_tmp1_ != NULL)) {
#line 974 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 7422 "Tag.c"
+#line 7419 "Tag.c"
}
#line 975 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp2_ = gee_array_list_new (TYPE_THUMBNAIL_VIEW, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 975 "/home/jens/Source/shotwell/src/Tag.vala"
view_list = _tmp2_;
-#line 7428 "Tag.c"
+#line 7425 "Tag.c"
{
GeeIterator* _source_it = NULL;
- GeeCollection* _tmp3_ = NULL;
- GeeIterator* _tmp4_ = NULL;
+ GeeCollection* _tmp3_;
+ GeeIterator* _tmp4_;
#line 976 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp3_ = sources;
#line 976 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7437,16 +7434,16 @@ void tag_attach_many (Tag* self, GeeCollection* sources) {
_source_it = _tmp4_;
#line 976 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 7441 "Tag.c"
- GeeIterator* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+#line 7438 "Tag.c"
+ GeeIterator* _tmp5_;
+ gboolean _tmp6_;
MediaSource* source = NULL;
- GeeIterator* _tmp7_ = NULL;
- gpointer _tmp8_ = NULL;
- Tag* _tmp9_ = NULL;
- ViewCollection* _tmp10_ = NULL;
- MediaSource* _tmp11_ = NULL;
- gboolean _tmp12_ = FALSE;
+ GeeIterator* _tmp7_;
+ gpointer _tmp8_;
+ Tag* _tmp9_;
+ ViewCollection* _tmp10_;
+ MediaSource* _tmp11_;
+ gboolean _tmp12_;
#line 976 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp5_ = _source_it;
#line 976 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7455,7 +7452,7 @@ void tag_attach_many (Tag* self, GeeCollection* sources) {
if (!_tmp6_) {
#line 976 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 7459 "Tag.c"
+#line 7456 "Tag.c"
}
#line 976 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp7_ = _source_it;
@@ -7473,11 +7470,11 @@ void tag_attach_many (Tag* self, GeeCollection* sources) {
_tmp12_ = view_collection_has_view_for_source (_tmp10_, G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_SOURCE, DataSource));
#line 977 "/home/jens/Source/shotwell/src/Tag.vala"
if (!_tmp12_) {
-#line 7477 "Tag.c"
- GeeArrayList* _tmp13_ = NULL;
- MediaSource* _tmp14_ = NULL;
- ThumbnailView* _tmp15_ = NULL;
- ThumbnailView* _tmp16_ = NULL;
+#line 7474 "Tag.c"
+ GeeArrayList* _tmp13_;
+ MediaSource* _tmp14_;
+ ThumbnailView* _tmp15_;
+ ThumbnailView* _tmp16_;
#line 978 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp13_ = view_list;
#line 978 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7490,15 +7487,15 @@ void tag_attach_many (Tag* self, GeeCollection* sources) {
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp16_);
#line 978 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_tmp16_);
-#line 7494 "Tag.c"
+#line 7491 "Tag.c"
}
#line 976 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (source);
-#line 7498 "Tag.c"
+#line 7495 "Tag.c"
}
#line 976 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_source_it);
-#line 7502 "Tag.c"
+#line 7499 "Tag.c"
}
#line 981 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp17_ = view_list;
@@ -7508,12 +7505,12 @@ void tag_attach_many (Tag* self, GeeCollection* sources) {
_tmp19_ = _tmp18_;
#line 981 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp19_ > 0) {
-#line 7512 "Tag.c"
- Tag* _tmp20_ = NULL;
- ViewCollection* _tmp21_ = NULL;
- GeeArrayList* _tmp22_ = NULL;
- GeeCollection* _tmp23_ = NULL;
- GeeCollection* _tmp24_ = NULL;
+#line 7509 "Tag.c"
+ Tag* _tmp20_;
+ ViewCollection* _tmp21_;
+ GeeArrayList* _tmp22_;
+ GeeCollection* _tmp23_;
+ GeeCollection* _tmp24_;
#line 982 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp20_ = attach_to;
#line 982 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7526,7 +7523,7 @@ void tag_attach_many (Tag* self, GeeCollection* sources) {
_tmp24_ = _tmp23_;
#line 982 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_tmp24_);
-#line 7530 "Tag.c"
+#line 7527 "Tag.c"
}
#line 984 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp25_ = attach_to;
@@ -7538,29 +7535,29 @@ void tag_attach_many (Tag* self, GeeCollection* sources) {
attach_to = _tmp26_;
#line 974 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (view_list);
-#line 7542 "Tag.c"
+#line 7539 "Tag.c"
}
#line 972 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (attach_to);
-#line 7546 "Tag.c"
+#line 7543 "Tag.c"
}
GeeList* tag_detach (Tag* self, MediaSource* source) {
GeeList* result = NULL;
DataView* this_view = NULL;
- ViewCollection* _tmp0_ = NULL;
- MediaSource* _tmp1_ = NULL;
- DataView* _tmp2_ = NULL;
- DataView* _tmp3_ = NULL;
+ ViewCollection* _tmp0_;
+ MediaSource* _tmp1_;
+ DataView* _tmp2_;
+ DataView* _tmp3_;
GeeList* detached_from = NULL;
- GeeArrayList* _tmp4_ = NULL;
- ViewCollection* _tmp29_ = NULL;
- ViewCollection* _tmp30_ = NULL;
- DataView* _tmp31_ = NULL;
- Marker* _tmp32_ = NULL;
- Marker* _tmp33_ = NULL;
- GeeList* _tmp34_ = NULL;
+ GeeArrayList* _tmp4_;
+ ViewCollection* _tmp29_;
+ ViewCollection* _tmp30_;
+ DataView* _tmp31_;
+ Marker* _tmp32_;
+ Marker* _tmp33_;
+ GeeList* _tmp34_;
#line 991 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), NULL);
#line 991 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7583,20 +7580,20 @@ GeeList* tag_detach (Tag* self, MediaSource* source) {
_g_object_unref0 (this_view);
#line 994 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 7587 "Tag.c"
+#line 7584 "Tag.c"
}
#line 996 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp4_ = gee_array_list_new (TYPE_TAG, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 996 "/home/jens/Source/shotwell/src/Tag.vala"
detached_from = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_LIST, GeeList);
-#line 7593 "Tag.c"
+#line 7590 "Tag.c"
{
GeeList* _child_tag_list = NULL;
- GeeList* _tmp5_ = NULL;
+ GeeList* _tmp5_;
gint _child_tag_size = 0;
- GeeList* _tmp6_ = NULL;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
+ GeeList* _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
gint _child_tag_index = 0;
#line 998 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp5_ = tag_get_hierarchical_children (self);
@@ -7614,20 +7611,20 @@ GeeList* tag_detach (Tag* self, MediaSource* source) {
_child_tag_index = -1;
#line 998 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 7618 "Tag.c"
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
+#line 7615 "Tag.c"
+ gint _tmp9_;
+ gint _tmp10_;
+ gint _tmp11_;
Tag* child_tag = NULL;
- GeeList* _tmp12_ = NULL;
- gint _tmp13_ = 0;
- gpointer _tmp14_ = NULL;
+ GeeList* _tmp12_;
+ gint _tmp13_;
+ gpointer _tmp14_;
DataView* child_view = NULL;
- Tag* _tmp15_ = NULL;
- ViewCollection* _tmp16_ = NULL;
- MediaSource* _tmp17_ = NULL;
- DataView* _tmp18_ = NULL;
- DataView* _tmp19_ = NULL;
+ Tag* _tmp15_;
+ ViewCollection* _tmp16_;
+ MediaSource* _tmp17_;
+ DataView* _tmp18_;
+ DataView* _tmp19_;
#line 998 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp9_ = _child_tag_index;
#line 998 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7640,7 +7637,7 @@ GeeList* tag_detach (Tag* self, MediaSource* source) {
if (!(_tmp10_ < _tmp11_)) {
#line 998 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 7644 "Tag.c"
+#line 7641 "Tag.c"
}
#line 998 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp12_ = _child_tag_list;
@@ -7664,16 +7661,16 @@ GeeList* tag_detach (Tag* self, MediaSource* source) {
_tmp19_ = child_view;
#line 1000 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp19_ != NULL) {
-#line 7668 "Tag.c"
- Tag* _tmp20_ = NULL;
- ViewCollection* _tmp21_ = NULL;
- Tag* _tmp22_ = NULL;
- ViewCollection* _tmp23_ = NULL;
- DataView* _tmp24_ = NULL;
- Marker* _tmp25_ = NULL;
- Marker* _tmp26_ = NULL;
- GeeList* _tmp27_ = NULL;
- Tag* _tmp28_ = NULL;
+#line 7665 "Tag.c"
+ Tag* _tmp20_;
+ ViewCollection* _tmp21_;
+ Tag* _tmp22_;
+ ViewCollection* _tmp23_;
+ DataView* _tmp24_;
+ Marker* _tmp25_;
+ Marker* _tmp26_;
+ GeeList* _tmp27_;
+ Tag* _tmp28_;
#line 1001 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp20_ = child_tag;
#line 1001 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7698,17 +7695,17 @@ GeeList* tag_detach (Tag* self, MediaSource* source) {
_tmp28_ = child_tag;
#line 1002 "/home/jens/Source/shotwell/src/Tag.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_COLLECTION, GeeCollection), _tmp28_);
-#line 7702 "Tag.c"
+#line 7699 "Tag.c"
}
#line 998 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (child_view);
#line 998 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (child_tag);
-#line 7708 "Tag.c"
+#line 7705 "Tag.c"
}
#line 998 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_child_tag_list);
-#line 7712 "Tag.c"
+#line 7709 "Tag.c"
}
#line 1006 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp29_ = self->priv->media_views;
@@ -7734,24 +7731,24 @@ GeeList* tag_detach (Tag* self, MediaSource* source) {
_g_object_unref0 (this_view);
#line 1009 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 7738 "Tag.c"
+#line 7735 "Tag.c"
}
GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
GeeMultiMap* result = NULL;
GeeMultiMap* detached_from = NULL;
- GeeHashMultiMap* _tmp0_ = NULL;
+ GeeHashMultiMap* _tmp0_;
Marker* marker = NULL;
- ViewCollection* _tmp1_ = NULL;
- Marker* _tmp2_ = NULL;
- ViewCollection* _tmp42_ = NULL;
- Marker* _tmp43_ = NULL;
+ ViewCollection* _tmp1_;
+ Marker* _tmp2_;
+ ViewCollection* _tmp42_;
+ Marker* _tmp43_;
GeeMultiMap* _tmp44_ = NULL;
- GeeMultiMap* _tmp45_ = NULL;
- gint _tmp46_ = 0;
- gint _tmp47_ = 0;
- GeeMultiMap* _tmp49_ = NULL;
+ GeeMultiMap* _tmp45_;
+ gint _tmp46_;
+ gint _tmp47_;
+ GeeMultiMap* _tmp49_;
#line 1015 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), NULL);
#line 1015 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7766,11 +7763,11 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
_tmp2_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
#line 1018 "/home/jens/Source/shotwell/src/Tag.vala"
marker = _tmp2_;
-#line 7770 "Tag.c"
+#line 7767 "Tag.c"
{
GeeIterator* _source_it = NULL;
- GeeCollection* _tmp3_ = NULL;
- GeeIterator* _tmp4_ = NULL;
+ GeeCollection* _tmp3_;
+ GeeIterator* _tmp4_;
#line 1019 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp3_ = sources;
#line 1019 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7779,21 +7776,21 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
_source_it = _tmp4_;
#line 1019 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 7783 "Tag.c"
- GeeIterator* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+#line 7780 "Tag.c"
+ GeeIterator* _tmp5_;
+ gboolean _tmp6_;
MediaSource* source = NULL;
- GeeIterator* _tmp7_ = NULL;
- gpointer _tmp8_ = NULL;
+ GeeIterator* _tmp7_;
+ gpointer _tmp8_;
DataView* view = NULL;
- ViewCollection* _tmp9_ = NULL;
- MediaSource* _tmp10_ = NULL;
- DataView* _tmp11_ = NULL;
- DataView* _tmp12_ = NULL;
- Marker* _tmp38_ = NULL;
- DataView* _tmp39_ = NULL;
- GeeMultiMap* _tmp40_ = NULL;
- MediaSource* _tmp41_ = NULL;
+ ViewCollection* _tmp9_;
+ MediaSource* _tmp10_;
+ DataView* _tmp11_;
+ DataView* _tmp12_;
+ Marker* _tmp38_;
+ DataView* _tmp39_;
+ GeeMultiMap* _tmp40_;
+ MediaSource* _tmp41_;
#line 1019 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp5_ = _source_it;
#line 1019 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7802,7 +7799,7 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
if (!_tmp6_) {
#line 1019 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 7806 "Tag.c"
+#line 7803 "Tag.c"
}
#line 1019 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp7_ = _source_it;
@@ -7828,15 +7825,15 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
_g_object_unref0 (source);
#line 1022 "/home/jens/Source/shotwell/src/Tag.vala"
continue;
-#line 7832 "Tag.c"
+#line 7829 "Tag.c"
}
{
GeeList* _child_tag_list = NULL;
- GeeList* _tmp13_ = NULL;
+ GeeList* _tmp13_;
gint _child_tag_size = 0;
- GeeList* _tmp14_ = NULL;
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
+ GeeList* _tmp14_;
+ gint _tmp15_;
+ gint _tmp16_;
gint _child_tag_index = 0;
#line 1024 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp13_ = tag_get_hierarchical_children (self);
@@ -7854,20 +7851,20 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
_child_tag_index = -1;
#line 1024 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 7858 "Tag.c"
- gint _tmp17_ = 0;
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
+#line 7855 "Tag.c"
+ gint _tmp17_;
+ gint _tmp18_;
+ gint _tmp19_;
Tag* child_tag = NULL;
- GeeList* _tmp20_ = NULL;
- gint _tmp21_ = 0;
- gpointer _tmp22_ = NULL;
+ GeeList* _tmp20_;
+ gint _tmp21_;
+ gpointer _tmp22_;
DataView* child_view = NULL;
- Tag* _tmp23_ = NULL;
- ViewCollection* _tmp24_ = NULL;
- MediaSource* _tmp25_ = NULL;
- DataView* _tmp26_ = NULL;
- DataView* _tmp27_ = NULL;
+ Tag* _tmp23_;
+ ViewCollection* _tmp24_;
+ MediaSource* _tmp25_;
+ DataView* _tmp26_;
+ DataView* _tmp27_;
#line 1024 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp17_ = _child_tag_index;
#line 1024 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7880,7 +7877,7 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
if (!(_tmp18_ < _tmp19_)) {
#line 1024 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 7884 "Tag.c"
+#line 7881 "Tag.c"
}
#line 1024 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp20_ = _child_tag_list;
@@ -7904,17 +7901,17 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
_tmp27_ = child_view;
#line 1026 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp27_ != NULL) {
-#line 7908 "Tag.c"
- Tag* _tmp28_ = NULL;
- ViewCollection* _tmp29_ = NULL;
- Tag* _tmp30_ = NULL;
- ViewCollection* _tmp31_ = NULL;
- DataView* _tmp32_ = NULL;
- Marker* _tmp33_ = NULL;
- Marker* _tmp34_ = NULL;
- GeeMultiMap* _tmp35_ = NULL;
- Tag* _tmp36_ = NULL;
- MediaSource* _tmp37_ = NULL;
+#line 7905 "Tag.c"
+ Tag* _tmp28_;
+ ViewCollection* _tmp29_;
+ Tag* _tmp30_;
+ ViewCollection* _tmp31_;
+ DataView* _tmp32_;
+ Marker* _tmp33_;
+ Marker* _tmp34_;
+ GeeMultiMap* _tmp35_;
+ Tag* _tmp36_;
+ MediaSource* _tmp37_;
#line 1027 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp28_ = child_tag;
#line 1027 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7941,17 +7938,17 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
_tmp37_ = source;
#line 1028 "/home/jens/Source/shotwell/src/Tag.vala"
gee_multi_map_set (_tmp35_, _tmp36_, _tmp37_);
-#line 7945 "Tag.c"
+#line 7942 "Tag.c"
}
#line 1024 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (child_view);
#line 1024 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (child_tag);
-#line 7951 "Tag.c"
+#line 7948 "Tag.c"
}
#line 1024 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_child_tag_list);
-#line 7955 "Tag.c"
+#line 7952 "Tag.c"
}
#line 1032 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp38_ = marker;
@@ -7969,11 +7966,11 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
_g_object_unref0 (view);
#line 1019 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (source);
-#line 7973 "Tag.c"
+#line 7970 "Tag.c"
}
#line 1019 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_source_it);
-#line 7977 "Tag.c"
+#line 7974 "Tag.c"
}
#line 1036 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp42_ = self->priv->media_views;
@@ -7989,17 +7986,17 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
_tmp47_ = _tmp46_;
#line 1038 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp47_ > 0) {
-#line 7993 "Tag.c"
- GeeMultiMap* _tmp48_ = NULL;
+#line 7990 "Tag.c"
+ GeeMultiMap* _tmp48_;
#line 1038 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp48_ = detached_from;
#line 1038 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp44_ = _tmp48_;
-#line 7999 "Tag.c"
+#line 7996 "Tag.c"
} else {
#line 1038 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp44_ = NULL;
-#line 8003 "Tag.c"
+#line 8000 "Tag.c"
}
#line 1038 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp49_ = _g_object_ref0 (_tmp44_);
@@ -8011,48 +8008,48 @@ GeeMultiMap* tag_detach_many (Tag* self, GeeCollection* sources) {
_g_object_unref0 (detached_from);
#line 1038 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 8015 "Tag.c"
+#line 8012 "Tag.c"
}
static gint string_index_of (const gchar* self, const gchar* needle, gint start_index) {
gint result = 0;
gchar* _result_ = NULL;
- gint _tmp0_ = 0;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
-#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gint _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+#line 1011 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1011 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, 0);
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1012 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1012 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = needle;
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1012 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_);
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1012 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1014 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1014 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 8042 "Tag.c"
- gchar* _tmp4_ = NULL;
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 8039 "Tag.c"
+ gchar* _tmp4_;
+#line 1015 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1015 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1015 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 8050 "Tag.c"
+#line 8047 "Tag.c"
} else {
-#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1017 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = -1;
-#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1017 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 8056 "Tag.c"
+#line 8053 "Tag.c"
}
}
@@ -8060,43 +8057,43 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_
static glong string_strnlen (gchar* str, glong maxlen) {
glong result = 0L;
gchar* end = NULL;
- gchar* _tmp0_ = NULL;
- glong _tmp1_ = 0L;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gchar* _tmp0_;
+ glong _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
-#line 8080 "Tag.c"
- glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 8077 "Tag.c"
+ glong _tmp4_;
+#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 8088 "Tag.c"
+#line 8085 "Tag.c"
} else {
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 8100 "Tag.c"
+#line 8097 "Tag.c"
}
}
@@ -8105,140 +8102,140 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
gchar* result = NULL;
glong string_length = 0L;
gboolean _tmp0_ = FALSE;
- glong _tmp1_ = 0L;
- glong _tmp8_ = 0L;
- glong _tmp14_ = 0L;
- glong _tmp17_ = 0L;
- glong _tmp18_ = 0L;
- glong _tmp19_ = 0L;
- glong _tmp20_ = 0L;
- glong _tmp21_ = 0L;
- gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ glong _tmp1_;
+ glong _tmp8_;
+ glong _tmp14_;
+ glong _tmp17_;
+ glong _tmp18_;
+ glong _tmp19_;
+ glong _tmp20_;
+ glong _tmp21_;
+ gchar* _tmp22_;
+#line 1333 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
-#line 8124 "Tag.c"
- glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 8121 "Tag.c"
+ glong _tmp2_;
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
-#line 8130 "Tag.c"
+#line 8127 "Tag.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
-#line 8134 "Tag.c"
+#line 8131 "Tag.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp0_) {
-#line 8138 "Tag.c"
- glong _tmp3_ = 0L;
- glong _tmp4_ = 0L;
- glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 8135 "Tag.c"
+ glong _tmp3_;
+ glong _tmp4_;
+ glong _tmp5_;
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
string_length = _tmp5_;
-#line 8150 "Tag.c"
+#line 8147 "Tag.c"
} else {
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gint _tmp6_;
+ gint _tmp7_;
+#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
-#line 8160 "Tag.c"
+#line 8157 "Tag.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
-#line 8166 "Tag.c"
- glong _tmp9_ = 0L;
- glong _tmp10_ = 0L;
- glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 8163 "Tag.c"
+ glong _tmp9_;
+ glong _tmp10_;
+ glong _tmp11_;
+#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
-#line 8180 "Tag.c"
+#line 8177 "Tag.c"
} else {
- glong _tmp12_ = 0L;
- glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ glong _tmp12_;
+ glong _tmp13_;
+#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
-#line 8190 "Tag.c"
+#line 8187 "Tag.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
-#line 8196 "Tag.c"
- glong _tmp15_ = 0L;
- glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 8193 "Tag.c"
+ glong _tmp15_;
+ glong _tmp16_;
+#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
-#line 8205 "Tag.c"
+#line 8202 "Tag.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 8225 "Tag.c"
+#line 8222 "Tag.c"
}
gboolean tag_rename (Tag* self, const gchar* name) {
gboolean result = FALSE;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
+ gboolean _tmp3_;
gchar* new_name = NULL;
- const gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
- gboolean _tmp10_ = FALSE;
+ const gchar* _tmp4_;
+ gchar* _tmp5_;
+ const gchar* _tmp6_;
+ gchar* _tmp7_;
+ gchar* _tmp8_;
+ gboolean _tmp9_;
+ gboolean _tmp10_;
#line 1042 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), FALSE);
#line 1042 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8259,7 +8256,7 @@ gboolean tag_rename (Tag* self, const gchar* name) {
result = TRUE;
#line 1044 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 8263 "Tag.c"
+#line 8260 "Tag.c"
}
#line 1046 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp4_ = name;
@@ -8277,7 +8274,7 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_g_free0 (new_name);
#line 1048 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 8281 "Tag.c"
+#line 8278 "Tag.c"
}
#line 1051 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp7_ = tag_get_path (self);
@@ -8291,23 +8288,23 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_g_free0 (_tmp8_);
#line 1051 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp10_) {
-#line 8295 "Tag.c"
+#line 8292 "Tag.c"
gchar* new_path = NULL;
- const gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
+ const gchar* _tmp11_;
+ gchar* _tmp12_;
gchar* old_path = NULL;
- gchar* _tmp13_ = NULL;
+ gchar* _tmp13_;
Tag* parent = NULL;
- Tag* _tmp14_ = NULL;
- Tag* _tmp15_ = NULL;
- TagSourceCollection* _tmp25_ = NULL;
- const gchar* _tmp26_ = NULL;
- gboolean _tmp27_ = FALSE;
+ Tag* _tmp14_;
+ Tag* _tmp15_;
+ TagSourceCollection* _tmp25_;
+ const gchar* _tmp26_;
+ gboolean _tmp27_;
GeeCollection* children = NULL;
- GeeList* _tmp28_ = NULL;
- const gchar* _tmp29_ = NULL;
- Alteration* _tmp53_ = NULL;
- Alteration* _tmp54_ = NULL;
+ GeeList* _tmp28_;
+ const gchar* _tmp29_;
+ Alteration* _tmp53_;
+ Alteration* _tmp54_;
#line 1052 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp11_ = new_name;
#line 1052 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8326,14 +8323,14 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_tmp15_ = parent;
#line 1056 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp15_ != NULL) {
-#line 8330 "Tag.c"
- Tag* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
- gchar* _tmp18_ = NULL;
- gchar* _tmp19_ = NULL;
- gchar* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
- gchar* _tmp22_ = NULL;
+#line 8327 "Tag.c"
+ Tag* _tmp16_;
+ gchar* _tmp17_;
+ gchar* _tmp18_;
+ gchar* _tmp19_;
+ gchar* _tmp20_;
+ const gchar* _tmp21_;
+ gchar* _tmp22_;
#line 1057 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp16_ = parent;
#line 1057 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8356,10 +8353,10 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_g_free0 (_tmp20_);
#line 1057 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (_tmp18_);
-#line 8360 "Tag.c"
+#line 8357 "Tag.c"
} else {
- const gchar* _tmp23_ = NULL;
- gchar* _tmp24_ = NULL;
+ const gchar* _tmp23_;
+ gchar* _tmp24_;
#line 1059 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp23_ = new_path;
#line 1059 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8368,7 +8365,7 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_g_free0 (new_path);
#line 1059 "/home/jens/Source/shotwell/src/Tag.vala"
new_path = _tmp24_;
-#line 8372 "Tag.c"
+#line 8369 "Tag.c"
}
#line 1062 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp25_ = tag_global;
@@ -8390,7 +8387,7 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_g_free0 (new_name);
#line 1063 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 8394 "Tag.c"
+#line 8391 "Tag.c"
}
#line 1065 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp28_ = tag_get_hierarchical_children (self);
@@ -8400,11 +8397,11 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_tmp29_ = new_path;
#line 1067 "/home/jens/Source/shotwell/src/Tag.vala"
tag_set_raw_path (self, _tmp29_, TRUE);
-#line 8404 "Tag.c"
+#line 8401 "Tag.c"
{
GeeIterator* _child_it = NULL;
- GeeCollection* _tmp30_ = NULL;
- GeeIterator* _tmp31_ = NULL;
+ GeeCollection* _tmp30_;
+ GeeIterator* _tmp31_;
#line 1069 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp30_ = children;
#line 1069 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8413,33 +8410,33 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_child_it = _tmp31_;
#line 1069 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 8417 "Tag.c"
- GeeIterator* _tmp32_ = NULL;
- gboolean _tmp33_ = FALSE;
+#line 8414 "Tag.c"
+ GeeIterator* _tmp32_;
+ gboolean _tmp33_;
Tag* child = NULL;
- GeeIterator* _tmp34_ = NULL;
- gpointer _tmp35_ = NULL;
+ GeeIterator* _tmp34_;
+ gpointer _tmp35_;
gchar* old_child_path = NULL;
- Tag* _tmp36_ = NULL;
- gchar* _tmp37_ = NULL;
+ Tag* _tmp36_;
+ gchar* _tmp37_;
gint old_path_index = 0;
- const gchar* _tmp38_ = NULL;
- const gchar* _tmp39_ = NULL;
- gint _tmp40_ = 0;
- gint _tmp41_ = 0;
+ const gchar* _tmp38_;
+ const gchar* _tmp39_;
+ gint _tmp40_;
+ gint _tmp41_;
gchar* child_subpath = NULL;
- const gchar* _tmp42_ = NULL;
- gint _tmp43_ = 0;
- const gchar* _tmp44_ = NULL;
- gint _tmp45_ = 0;
- gint _tmp46_ = 0;
- gchar* _tmp47_ = NULL;
+ const gchar* _tmp42_;
+ gint _tmp43_;
+ const gchar* _tmp44_;
+ gint _tmp45_;
+ gint _tmp46_;
+ gchar* _tmp47_;
gchar* new_child_path = NULL;
- const gchar* _tmp48_ = NULL;
- const gchar* _tmp49_ = NULL;
- gchar* _tmp50_ = NULL;
- Tag* _tmp51_ = NULL;
- const gchar* _tmp52_ = NULL;
+ const gchar* _tmp48_;
+ const gchar* _tmp49_;
+ gchar* _tmp50_;
+ Tag* _tmp51_;
+ const gchar* _tmp52_;
#line 1069 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp32_ = _child_it;
#line 1069 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8448,7 +8445,7 @@ gboolean tag_rename (Tag* self, const gchar* name) {
if (!_tmp33_) {
#line 1069 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 8452 "Tag.c"
+#line 8449 "Tag.c"
}
#line 1069 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp34_ = _child_it;
@@ -8510,11 +8507,11 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_g_free0 (old_child_path);
#line 1069 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (child);
-#line 8514 "Tag.c"
+#line 8511 "Tag.c"
}
#line 1069 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_child_it);
-#line 8518 "Tag.c"
+#line 8515 "Tag.c"
}
#line 1086 "/home/jens/Source/shotwell/src/Tag.vala"
tag_update_indexable_keywords (self);
@@ -8526,11 +8523,11 @@ gboolean tag_rename (Tag* self, const gchar* name) {
data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp54_);
#line 1087 "/home/jens/Source/shotwell/src/Tag.vala"
_alteration_unref0 (_tmp54_);
-#line 8530 "Tag.c"
+#line 8527 "Tag.c"
{
GeeIterator* _child_it = NULL;
- GeeCollection* _tmp55_ = NULL;
- GeeIterator* _tmp56_ = NULL;
+ GeeCollection* _tmp55_;
+ GeeIterator* _tmp56_;
#line 1088 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp55_ = children;
#line 1088 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8539,15 +8536,15 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_child_it = _tmp56_;
#line 1088 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 8543 "Tag.c"
- GeeIterator* _tmp57_ = NULL;
- gboolean _tmp58_ = FALSE;
+#line 8540 "Tag.c"
+ GeeIterator* _tmp57_;
+ gboolean _tmp58_;
Tag* child = NULL;
- GeeIterator* _tmp59_ = NULL;
- gpointer _tmp60_ = NULL;
- Tag* _tmp61_ = NULL;
- Alteration* _tmp62_ = NULL;
- Alteration* _tmp63_ = NULL;
+ GeeIterator* _tmp59_;
+ gpointer _tmp60_;
+ Tag* _tmp61_;
+ Alteration* _tmp62_;
+ Alteration* _tmp63_;
#line 1088 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp57_ = _child_it;
#line 1088 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8556,7 +8553,7 @@ gboolean tag_rename (Tag* self, const gchar* name) {
if (!_tmp58_) {
#line 1088 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 8560 "Tag.c"
+#line 8557 "Tag.c"
}
#line 1088 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp59_ = _child_it;
@@ -8576,11 +8573,11 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_alteration_unref0 (_tmp63_);
#line 1088 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (child);
-#line 8580 "Tag.c"
+#line 8577 "Tag.c"
}
#line 1088 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_child_it);
-#line 8584 "Tag.c"
+#line 8581 "Tag.c"
}
#line 1051 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (children);
@@ -8590,12 +8587,12 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_g_free0 (old_path);
#line 1051 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (new_path);
-#line 8594 "Tag.c"
+#line 8591 "Tag.c"
} else {
- TagSourceCollection* _tmp64_ = NULL;
- const gchar* _tmp65_ = NULL;
- gboolean _tmp66_ = FALSE;
- const gchar* _tmp67_ = NULL;
+ TagSourceCollection* _tmp64_;
+ const gchar* _tmp65_;
+ gboolean _tmp66_;
+ const gchar* _tmp67_;
#line 1093 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp64_ = tag_global;
#line 1093 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8610,13 +8607,13 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_g_free0 (new_name);
#line 1094 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 8614 "Tag.c"
+#line 8611 "Tag.c"
}
#line 1096 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp67_ = new_name;
#line 1096 "/home/jens/Source/shotwell/src/Tag.vala"
tag_set_raw_flat_name (self, _tmp67_);
-#line 8620 "Tag.c"
+#line 8617 "Tag.c"
}
#line 1099 "/home/jens/Source/shotwell/src/Tag.vala"
result = TRUE;
@@ -8624,15 +8621,15 @@ gboolean tag_rename (Tag* self, const gchar* name) {
_g_free0 (new_name);
#line 1099 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 8628 "Tag.c"
+#line 8625 "Tag.c"
}
gboolean tag_contains (Tag* self, MediaSource* source) {
gboolean result = FALSE;
- ViewCollection* _tmp0_ = NULL;
- MediaSource* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
+ ViewCollection* _tmp0_;
+ MediaSource* _tmp1_;
+ gboolean _tmp2_;
#line 1102 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), FALSE);
#line 1102 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8647,14 +8644,14 @@ gboolean tag_contains (Tag* self, MediaSource* source) {
result = _tmp2_;
#line 1103 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 8651 "Tag.c"
+#line 8648 "Tag.c"
}
gint tag_get_sources_count (Tag* self) {
gint result = 0;
- ViewCollection* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ ViewCollection* _tmp0_;
+ gint _tmp1_;
#line 1106 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), 0);
#line 1107 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8665,14 +8662,14 @@ gint tag_get_sources_count (Tag* self) {
result = _tmp1_;
#line 1107 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 8669 "Tag.c"
+#line 8666 "Tag.c"
}
GeeCollection* tag_get_sources (Tag* self) {
GeeCollection* result = NULL;
- ViewCollection* _tmp0_ = NULL;
- GeeCollection* _tmp1_ = NULL;
+ ViewCollection* _tmp0_;
+ GeeCollection* _tmp1_;
#line 1110 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (self), NULL);
#line 1111 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8683,15 +8680,15 @@ GeeCollection* tag_get_sources (Tag* self) {
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection);
#line 1111 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 8687 "Tag.c"
+#line 8684 "Tag.c"
}
void tag_mirror_sources (Tag* self, ViewCollection* view, CreateView mirroring_ctor, void* mirroring_ctor_target) {
- ViewCollection* _tmp0_ = NULL;
- ViewCollection* _tmp1_ = NULL;
- CreateView _tmp2_ = NULL;
- void* _tmp2__target = NULL;
+ ViewCollection* _tmp0_;
+ ViewCollection* _tmp1_;
+ CreateView _tmp2_;
+ void* _tmp2__target;
#line 1114 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
#line 1114 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8706,19 +8703,19 @@ void tag_mirror_sources (Tag* self, ViewCollection* view, CreateView mirroring_c
_tmp2__target = mirroring_ctor_target;
#line 1115 "/home/jens/Source/shotwell/src/Tag.vala"
view_collection_mirror (_tmp0_, _tmp1_, _tmp2_, _tmp2__target, NULL, NULL);
-#line 8710 "Tag.c"
+#line 8707 "Tag.c"
}
static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added, GeeIterable* removed) {
GeeCollection* added_sources = NULL;
- GeeIterable* _tmp0_ = NULL;
+ GeeIterable* _tmp0_;
GeeCollection* removed_sources = NULL;
- GeeIterable* _tmp29_ = NULL;
- GeeCollection* _tmp58_ = NULL;
- GeeCollection* _tmp62_ = NULL;
+ GeeIterable* _tmp29_;
+ GeeCollection* _tmp58_;
+ GeeCollection* _tmp62_;
gboolean _tmp66_ = FALSE;
- GeeCollection* _tmp67_ = NULL;
+ GeeCollection* _tmp67_;
GError * _inner_error_ = NULL;
#line 1118 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
@@ -8732,19 +8729,19 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_tmp0_ = added;
#line 1121 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp0_ != NULL) {
-#line 8736 "Tag.c"
- GeeArrayList* _tmp1_ = NULL;
+#line 8733 "Tag.c"
+ GeeArrayList* _tmp1_;
#line 1122 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp1_ = gee_array_list_new (TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 1122 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (added_sources);
#line 1122 "/home/jens/Source/shotwell/src/Tag.vala"
added_sources = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 8744 "Tag.c"
+#line 8741 "Tag.c"
{
GeeIterator* _view_it = NULL;
- GeeIterable* _tmp2_ = NULL;
- GeeIterator* _tmp3_ = NULL;
+ GeeIterable* _tmp2_;
+ GeeIterator* _tmp3_;
#line 1123 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp2_ = added;
#line 1123 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8753,27 +8750,27 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_view_it = _tmp3_;
#line 1123 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 8757 "Tag.c"
- GeeIterator* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+#line 8754 "Tag.c"
+ GeeIterator* _tmp4_;
+ gboolean _tmp5_;
DataView* view = NULL;
- GeeIterator* _tmp6_ = NULL;
- gpointer _tmp7_ = NULL;
+ GeeIterator* _tmp6_;
+ gpointer _tmp7_;
MediaSource* source = NULL;
- DataView* _tmp8_ = NULL;
- DataSource* _tmp9_ = NULL;
- TagRow* _tmp10_ = NULL;
- GeeSet* _tmp11_ = NULL;
- MediaSource* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
- gboolean _tmp15_ = FALSE;
- gboolean _tmp16_ = FALSE;
+ DataView* _tmp8_;
+ DataSource* _tmp9_;
+ TagRow* _tmp10_;
+ GeeSet* _tmp11_;
+ MediaSource* _tmp12_;
+ gchar* _tmp13_;
+ gchar* _tmp14_;
+ gboolean _tmp15_;
+ gboolean _tmp16_;
gboolean is_added = FALSE;
- GeeCollection* _tmp25_ = NULL;
- MediaSource* _tmp26_ = NULL;
- gboolean _tmp27_ = FALSE;
- gboolean _tmp28_ = FALSE;
+ GeeCollection* _tmp25_;
+ MediaSource* _tmp26_;
+ gboolean _tmp27_;
+ gboolean _tmp28_;
#line 1123 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp4_ = _view_it;
#line 1123 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8782,7 +8779,7 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
if (!_tmp5_) {
#line 1123 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 8786 "Tag.c"
+#line 8783 "Tag.c"
}
#line 1123 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp6_ = _view_it;
@@ -8814,16 +8811,16 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_g_free0 (_tmp14_);
#line 1128 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp16_) {
-#line 8818 "Tag.c"
+#line 8815 "Tag.c"
gboolean is_added = FALSE;
- TagRow* _tmp17_ = NULL;
- GeeSet* _tmp18_ = NULL;
- MediaSource* _tmp19_ = NULL;
- gchar* _tmp20_ = NULL;
- gchar* _tmp21_ = NULL;
- gboolean _tmp22_ = FALSE;
- gboolean _tmp23_ = FALSE;
- gboolean _tmp24_ = FALSE;
+ TagRow* _tmp17_;
+ GeeSet* _tmp18_;
+ MediaSource* _tmp19_;
+ gchar* _tmp20_;
+ gchar* _tmp21_;
+ gboolean _tmp22_;
+ gboolean _tmp23_;
+ gboolean _tmp24_;
#line 1129 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp17_ = self->priv->row;
#line 1129 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8846,7 +8843,7 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_tmp24_ = is_added;
#line 1130 "/home/jens/Source/shotwell/src/Tag.vala"
_vala_assert (_tmp24_, "is_added");
-#line 8850 "Tag.c"
+#line 8847 "Tag.c"
}
#line 1133 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp25_ = added_sources;
@@ -8864,11 +8861,11 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_g_object_unref0 (source);
#line 1123 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (view);
-#line 8868 "Tag.c"
+#line 8865 "Tag.c"
}
#line 1123 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_view_it);
-#line 8872 "Tag.c"
+#line 8869 "Tag.c"
}
}
#line 1138 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8877,19 +8874,19 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_tmp29_ = removed;
#line 1139 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp29_ != NULL) {
-#line 8881 "Tag.c"
- GeeArrayList* _tmp30_ = NULL;
+#line 8878 "Tag.c"
+ GeeArrayList* _tmp30_;
#line 1140 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp30_ = gee_array_list_new (TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
#line 1140 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (removed_sources);
#line 1140 "/home/jens/Source/shotwell/src/Tag.vala"
removed_sources = G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 8889 "Tag.c"
+#line 8886 "Tag.c"
{
GeeIterator* _view_it = NULL;
- GeeIterable* _tmp31_ = NULL;
- GeeIterator* _tmp32_ = NULL;
+ GeeIterable* _tmp31_;
+ GeeIterator* _tmp32_;
#line 1141 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp31_ = removed;
#line 1141 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8898,29 +8895,29 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_view_it = _tmp32_;
#line 1141 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 8902 "Tag.c"
- GeeIterator* _tmp33_ = NULL;
- gboolean _tmp34_ = FALSE;
+#line 8899 "Tag.c"
+ GeeIterator* _tmp33_;
+ gboolean _tmp34_;
DataView* view = NULL;
- GeeIterator* _tmp35_ = NULL;
- gpointer _tmp36_ = NULL;
+ GeeIterator* _tmp35_;
+ gpointer _tmp36_;
MediaSource* source = NULL;
- DataView* _tmp37_ = NULL;
- DataSource* _tmp38_ = NULL;
+ DataView* _tmp37_;
+ DataSource* _tmp38_;
gboolean is_removed = FALSE;
- TagRow* _tmp39_ = NULL;
- GeeSet* _tmp40_ = NULL;
- MediaSource* _tmp41_ = NULL;
- gchar* _tmp42_ = NULL;
- gchar* _tmp43_ = NULL;
- gboolean _tmp44_ = FALSE;
- gboolean _tmp45_ = FALSE;
- gboolean _tmp46_ = FALSE;
+ TagRow* _tmp39_;
+ GeeSet* _tmp40_;
+ MediaSource* _tmp41_;
+ gchar* _tmp42_;
+ gchar* _tmp43_;
+ gboolean _tmp44_;
+ gboolean _tmp45_;
+ gboolean _tmp46_;
gboolean is_added = FALSE;
- GeeCollection* _tmp47_ = NULL;
- MediaSource* _tmp48_ = NULL;
- gboolean _tmp49_ = FALSE;
- gboolean _tmp50_ = FALSE;
+ GeeCollection* _tmp47_;
+ MediaSource* _tmp48_;
+ gboolean _tmp49_;
+ gboolean _tmp50_;
#line 1141 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp33_ = _view_it;
#line 1141 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8929,7 +8926,7 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
if (!_tmp34_) {
#line 1141 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 8933 "Tag.c"
+#line 8930 "Tag.c"
}
#line 1141 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp35_ = _view_it;
@@ -8981,20 +8978,20 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_g_object_unref0 (source);
#line 1141 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (view);
-#line 8985 "Tag.c"
+#line 8982 "Tag.c"
}
#line 1141 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_view_it);
-#line 8989 "Tag.c"
+#line 8986 "Tag.c"
}
}
{
- TagTable* _tmp51_ = NULL;
- TagTable* _tmp52_ = NULL;
- TagRow* _tmp53_ = NULL;
- TagID _tmp54_ = {0};
- TagRow* _tmp55_ = NULL;
- GeeSet* _tmp56_ = NULL;
+ TagTable* _tmp51_;
+ TagTable* _tmp52_;
+ TagRow* _tmp53_;
+ TagID _tmp54_;
+ TagRow* _tmp55_;
+ GeeSet* _tmp56_;
#line 1153 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp51_ = tag_table_get_instance ();
#line 1153 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9015,8 +9012,8 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1153 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
-#line 9019 "Tag.c"
- goto __catch476_database_error;
+#line 9016 "Tag.c"
+ goto __catch477_database_error;
}
#line 1153 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (removed_sources);
@@ -9028,14 +9025,14 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
g_clear_error (&_inner_error_);
#line 1153 "/home/jens/Source/shotwell/src/Tag.vala"
return;
-#line 9032 "Tag.c"
+#line 9029 "Tag.c"
}
}
- goto __finally476;
- __catch476_database_error:
+ goto __finally477;
+ __catch477_database_error:
{
GError* err = NULL;
- GError* _tmp57_ = NULL;
+ GError* _tmp57_;
#line 1152 "/home/jens/Source/shotwell/src/Tag.vala"
err = _inner_error_;
#line 1152 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9046,9 +9043,9 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
app_window_database_error (_tmp57_);
#line 1152 "/home/jens/Source/shotwell/src/Tag.vala"
_g_error_free0 (err);
-#line 9050 "Tag.c"
+#line 9047 "Tag.c"
}
- __finally476:
+ __finally477:
#line 1152 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1152 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9061,16 +9058,16 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
g_clear_error (&_inner_error_);
#line 1152 "/home/jens/Source/shotwell/src/Tag.vala"
return;
-#line 9065 "Tag.c"
+#line 9062 "Tag.c"
}
#line 1159 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp58_ = added_sources;
#line 1159 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp58_ != NULL) {
-#line 9071 "Tag.c"
- TagSourceCollection* _tmp59_ = NULL;
- GeeCollection* _tmp60_ = NULL;
- gboolean _tmp61_ = FALSE;
+#line 9068 "Tag.c"
+ TagSourceCollection* _tmp59_;
+ GeeCollection* _tmp60_;
+ gboolean _tmp61_;
#line 1160 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp59_ = tag_global;
#line 1160 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9079,16 +9076,16 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_tmp61_ = self->priv->relinking;
#line 1160 "/home/jens/Source/shotwell/src/Tag.vala"
container_source_collection_notify_container_contents_added (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONTAINER_SOURCE, ContainerSource), _tmp60_, _tmp61_);
-#line 9083 "Tag.c"
+#line 9080 "Tag.c"
}
#line 1162 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp62_ = removed_sources;
#line 1162 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp62_ != NULL) {
-#line 9089 "Tag.c"
- TagSourceCollection* _tmp63_ = NULL;
- GeeCollection* _tmp64_ = NULL;
- gboolean _tmp65_ = FALSE;
+#line 9086 "Tag.c"
+ TagSourceCollection* _tmp63_;
+ GeeCollection* _tmp64_;
+ gboolean _tmp65_;
#line 1163 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp63_ = tag_global;
#line 1163 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9097,7 +9094,7 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_tmp65_ = self->priv->unlinking;
#line 1163 "/home/jens/Source/shotwell/src/Tag.vala"
container_source_collection_notify_container_contents_removed (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONTAINER_SOURCE, ContainerSource), _tmp64_, _tmp65_);
-#line 9101 "Tag.c"
+#line 9098 "Tag.c"
}
#line 1165 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp67_ = added_sources;
@@ -9105,23 +9102,23 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
if (_tmp67_ != NULL) {
#line 1165 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp66_ = TRUE;
-#line 9109 "Tag.c"
+#line 9106 "Tag.c"
} else {
- GeeCollection* _tmp68_ = NULL;
+ GeeCollection* _tmp68_;
#line 1165 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp68_ = removed_sources;
#line 1165 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp66_ = _tmp68_ != NULL;
-#line 9116 "Tag.c"
+#line 9113 "Tag.c"
}
#line 1165 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp66_) {
-#line 9120 "Tag.c"
- TagSourceCollection* _tmp69_ = NULL;
- GeeCollection* _tmp70_ = NULL;
- gboolean _tmp71_ = FALSE;
- GeeCollection* _tmp72_ = NULL;
- gboolean _tmp73_ = FALSE;
+#line 9117 "Tag.c"
+ TagSourceCollection* _tmp69_;
+ GeeCollection* _tmp70_;
+ gboolean _tmp71_;
+ GeeCollection* _tmp72_;
+ gboolean _tmp73_;
#line 1166 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp69_ = tag_global;
#line 1166 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9134,20 +9131,20 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_tmp73_ = self->priv->unlinking;
#line 1166 "/home/jens/Source/shotwell/src/Tag.vala"
container_source_collection_notify_container_contents_altered (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, TYPE_CONTAINER_SOURCE_COLLECTION, ContainerSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONTAINER_SOURCE, ContainerSource), _tmp70_, _tmp71_, _tmp72_, _tmp73_);
-#line 9138 "Tag.c"
+#line 9135 "Tag.c"
}
#line 1118 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (removed_sources);
#line 1118 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (added_sources);
-#line 9144 "Tag.c"
+#line 9141 "Tag.c"
}
static void tag_on_sources_destroyed (Tag* self, GeeCollection* sources) {
- GeeCollection* _tmp0_ = NULL;
- GeeMultiMap* _tmp1_ = NULL;
- GeeMultiMap* _tmp2_ = NULL;
+ GeeCollection* _tmp0_;
+ GeeMultiMap* _tmp1_;
+ GeeMultiMap* _tmp2_;
#line 1171 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (IS_TAG (self));
#line 1171 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9160,14 +9157,14 @@ static void tag_on_sources_destroyed (Tag* self, GeeCollection* sources) {
_tmp2_ = _tmp1_;
#line 1172 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_tmp2_);
-#line 9164 "Tag.c"
+#line 9161 "Tag.c"
}
static void tag_real_destroy (DataSource* base) {
Tag * self;
- ViewCollection* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ ViewCollection* _tmp0_;
+ gint _tmp1_;
GError * _inner_error_ = NULL;
#line 1175 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_TAG, Tag);
@@ -9177,21 +9174,21 @@ static void tag_real_destroy (DataSource* base) {
_tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection));
#line 1179 "/home/jens/Source/shotwell/src/Tag.vala"
if (_tmp1_ > 0) {
-#line 9181 "Tag.c"
- ViewCollection* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
+#line 9178 "Tag.c"
+ ViewCollection* _tmp2_;
+ guint _tmp3_;
GeeArrayList* removed = NULL;
- GeeArrayList* _tmp4_ = NULL;
- GeeArrayList* _tmp5_ = NULL;
- ViewCollection* _tmp6_ = NULL;
- GeeCollection* _tmp7_ = NULL;
- GeeCollection* _tmp8_ = NULL;
- ViewCollection* _tmp9_ = NULL;
- TagSourceCollection* _tmp10_ = NULL;
- GeeArrayList* _tmp11_ = NULL;
- TagSourceCollection* _tmp12_ = NULL;
- GeeArrayList* _tmp13_ = NULL;
- ViewCollection* _tmp14_ = NULL;
+ GeeArrayList* _tmp4_;
+ GeeArrayList* _tmp5_;
+ ViewCollection* _tmp6_;
+ GeeCollection* _tmp7_;
+ GeeCollection* _tmp8_;
+ ViewCollection* _tmp9_;
+ TagSourceCollection* _tmp10_;
+ GeeArrayList* _tmp11_;
+ TagSourceCollection* _tmp12_;
+ GeeArrayList* _tmp13_;
+ ViewCollection* _tmp14_;
#line 1180 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp2_ = self->priv->media_views;
#line 1180 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9236,13 +9233,13 @@ static void tag_real_destroy (DataSource* base) {
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _tag_on_media_views_contents_altered_data_collection_contents_altered, self, 0);
#line 1179 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (removed);
-#line 9240 "Tag.c"
+#line 9237 "Tag.c"
}
{
- TagTable* _tmp15_ = NULL;
- TagTable* _tmp16_ = NULL;
- TagRow* _tmp17_ = NULL;
- TagID _tmp18_ = {0};
+ TagTable* _tmp15_;
+ TagTable* _tmp16_;
+ TagRow* _tmp17_;
+ TagID _tmp18_;
#line 1194 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp15_ = tag_table_get_instance ();
#line 1194 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9259,8 +9256,8 @@ static void tag_real_destroy (DataSource* base) {
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1194 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
-#line 9263 "Tag.c"
- goto __catch477_database_error;
+#line 9260 "Tag.c"
+ goto __catch478_database_error;
}
#line 1194 "/home/jens/Source/shotwell/src/Tag.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -9268,14 +9265,14 @@ static void tag_real_destroy (DataSource* base) {
g_clear_error (&_inner_error_);
#line 1194 "/home/jens/Source/shotwell/src/Tag.vala"
return;
-#line 9272 "Tag.c"
+#line 9269 "Tag.c"
}
}
- goto __finally477;
- __catch477_database_error:
+ goto __finally478;
+ __catch478_database_error:
{
GError* err = NULL;
- GError* _tmp19_ = NULL;
+ GError* _tmp19_;
#line 1193 "/home/jens/Source/shotwell/src/Tag.vala"
err = _inner_error_;
#line 1193 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9286,9 +9283,9 @@ static void tag_real_destroy (DataSource* base) {
app_window_database_error (_tmp19_);
#line 1193 "/home/jens/Source/shotwell/src/Tag.vala"
_g_error_free0 (err);
-#line 9290 "Tag.c"
+#line 9287 "Tag.c"
}
- __finally477:
+ __finally478:
#line 1193 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1193 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9297,28 +9294,28 @@ static void tag_real_destroy (DataSource* base) {
g_clear_error (&_inner_error_);
#line 1193 "/home/jens/Source/shotwell/src/Tag.vala"
return;
-#line 9301 "Tag.c"
+#line 9298 "Tag.c"
}
#line 1199 "/home/jens/Source/shotwell/src/Tag.vala"
DATA_SOURCE_CLASS (tag_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_SOURCE, DataSource));
-#line 9305 "Tag.c"
+#line 9302 "Tag.c"
}
static void _tag_tag_snapshot_on_source_destroyed_source_collection_item_destroyed (SourceCollection* _sender, DataSource* source, gpointer self) {
#line 292 "/home/jens/Source/shotwell/src/Tag.vala"
tag_tag_snapshot_on_source_destroyed ((TagTagSnapshot*) self, source);
-#line 9312 "Tag.c"
+#line 9309 "Tag.c"
}
static TagTagSnapshot* tag_tag_snapshot_construct (GType object_type, Tag* tag) {
TagTagSnapshot* self = NULL;
- Tag* _tmp0_ = NULL;
- TagRow* _tmp1_ = NULL;
- TagRow* _tmp2_ = NULL;
- LibraryPhotoSourceCollection* _tmp14_ = NULL;
- VideoSourceCollection* _tmp15_ = NULL;
+ Tag* _tmp0_;
+ TagRow* _tmp1_;
+ TagRow* _tmp2_;
+ LibraryPhotoSourceCollection* _tmp14_;
+ VideoSourceCollection* _tmp15_;
#line 278 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (tag), NULL);
#line 278 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9333,14 +9330,14 @@ static TagTagSnapshot* tag_tag_snapshot_construct (GType object_type, Tag* tag)
_tag_row_unref0 (self->priv->row);
#line 280 "/home/jens/Source/shotwell/src/Tag.vala"
self->priv->row = _tmp2_;
-#line 9337 "Tag.c"
+#line 9334 "Tag.c"
{
GeeIterator* _source_it = NULL;
- Tag* _tmp3_ = NULL;
- GeeCollection* _tmp4_ = NULL;
- GeeCollection* _tmp5_ = NULL;
- GeeIterator* _tmp6_ = NULL;
- GeeIterator* _tmp7_ = NULL;
+ Tag* _tmp3_;
+ GeeCollection* _tmp4_;
+ GeeCollection* _tmp5_;
+ GeeIterator* _tmp6_;
+ GeeIterator* _tmp7_;
#line 284 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp3_ = tag;
#line 284 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9357,14 +9354,14 @@ static TagTagSnapshot* tag_tag_snapshot_construct (GType object_type, Tag* tag)
_source_it = _tmp7_;
#line 284 "/home/jens/Source/shotwell/src/Tag.vala"
while (TRUE) {
-#line 9361 "Tag.c"
- GeeIterator* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
+#line 9358 "Tag.c"
+ GeeIterator* _tmp8_;
+ gboolean _tmp9_;
MediaSource* source = NULL;
- GeeIterator* _tmp10_ = NULL;
- gpointer _tmp11_ = NULL;
- GeeHashSet* _tmp12_ = NULL;
- MediaSource* _tmp13_ = NULL;
+ GeeIterator* _tmp10_;
+ gpointer _tmp11_;
+ GeeHashSet* _tmp12_;
+ MediaSource* _tmp13_;
#line 284 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp8_ = _source_it;
#line 284 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9373,7 +9370,7 @@ static TagTagSnapshot* tag_tag_snapshot_construct (GType object_type, Tag* tag)
if (!_tmp9_) {
#line 284 "/home/jens/Source/shotwell/src/Tag.vala"
break;
-#line 9377 "Tag.c"
+#line 9374 "Tag.c"
}
#line 284 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp10_ = _source_it;
@@ -9389,11 +9386,11 @@ static TagTagSnapshot* tag_tag_snapshot_construct (GType object_type, Tag* tag)
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp13_);
#line 284 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (source);
-#line 9393 "Tag.c"
+#line 9390 "Tag.c"
}
#line 284 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (_source_it);
-#line 9397 "Tag.c"
+#line 9394 "Tag.c"
}
#line 287 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp14_ = library_photo_global;
@@ -9405,21 +9402,21 @@ static TagTagSnapshot* tag_tag_snapshot_construct (GType object_type, Tag* tag)
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_SOURCE_COLLECTION, SourceCollection), "item-destroyed", (GCallback) _tag_tag_snapshot_on_source_destroyed_source_collection_item_destroyed, self);
#line 278 "/home/jens/Source/shotwell/src/Tag.vala"
return self;
-#line 9409 "Tag.c"
+#line 9406 "Tag.c"
}
static TagTagSnapshot* tag_tag_snapshot_new (Tag* tag) {
#line 278 "/home/jens/Source/shotwell/src/Tag.vala"
return tag_tag_snapshot_construct (TAG_TYPE_TAG_SNAPSHOT, tag);
-#line 9416 "Tag.c"
+#line 9413 "Tag.c"
}
static TagRow* tag_tag_snapshot_get_row (TagTagSnapshot* self) {
TagRow* result = NULL;
- TagRow* _tmp0_ = NULL;
- TagRow* _tmp1_ = NULL;
+ TagRow* _tmp0_;
+ TagRow* _tmp1_;
#line 296 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (TAG_IS_TAG_SNAPSHOT (self), NULL);
#line 297 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9430,14 +9427,14 @@ static TagRow* tag_tag_snapshot_get_row (TagTagSnapshot* self) {
result = _tmp1_;
#line 297 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 9434 "Tag.c"
+#line 9431 "Tag.c"
}
static void tag_tag_snapshot_real_notify_broken (SourceSnapshot* base) {
TagTagSnapshot * self;
- TagRow* _tmp0_ = NULL;
- GeeHashSet* _tmp1_ = NULL;
+ TagRow* _tmp0_;
+ GeeHashSet* _tmp1_;
#line 300 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TAG_TYPE_TAG_SNAPSHOT, TagTagSnapshot);
#line 301 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9452,14 +9449,14 @@ static void tag_tag_snapshot_real_notify_broken (SourceSnapshot* base) {
gee_abstract_collection_clear (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 304 "/home/jens/Source/shotwell/src/Tag.vala"
SOURCE_SNAPSHOT_CLASS (tag_tag_snapshot_parent_class)->notify_broken (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_SNAPSHOT, SourceSnapshot));
-#line 9456 "Tag.c"
+#line 9453 "Tag.c"
}
static void tag_tag_snapshot_on_source_destroyed (TagTagSnapshot* self, DataSource* source) {
- GeeHashSet* _tmp0_ = NULL;
- DataSource* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
+ GeeHashSet* _tmp0_;
+ DataSource* _tmp1_;
+ gboolean _tmp2_;
#line 307 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_if_fail (TAG_IS_TAG_SNAPSHOT (self));
#line 307 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9474,7 +9471,7 @@ static void tag_tag_snapshot_on_source_destroyed (TagTagSnapshot* self, DataSour
if (_tmp2_) {
#line 309 "/home/jens/Source/shotwell/src/Tag.vala"
source_snapshot_notify_broken (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_SNAPSHOT, SourceSnapshot));
-#line 9478 "Tag.c"
+#line 9475 "Tag.c"
}
}
@@ -9487,29 +9484,29 @@ static void tag_tag_snapshot_class_init (TagTagSnapshotClass * klass) {
#line 274 "/home/jens/Source/shotwell/src/Tag.vala"
g_type_class_add_private (klass, sizeof (TagTagSnapshotPrivate));
#line 274 "/home/jens/Source/shotwell/src/Tag.vala"
- ((SourceSnapshotClass *) klass)->notify_broken = (void (*)(SourceSnapshot*)) tag_tag_snapshot_real_notify_broken;
-#line 9492 "Tag.c"
+ ((SourceSnapshotClass *) klass)->notify_broken = (void (*) (SourceSnapshot *)) tag_tag_snapshot_real_notify_broken;
+#line 9489 "Tag.c"
}
static void tag_tag_snapshot_instance_init (TagTagSnapshot * self) {
- GeeHashSet* _tmp0_ = NULL;
+ GeeHashSet* _tmp0_;
#line 274 "/home/jens/Source/shotwell/src/Tag.vala"
self->priv = TAG_TAG_SNAPSHOT_GET_PRIVATE (self);
#line 276 "/home/jens/Source/shotwell/src/Tag.vala"
_tmp0_ = gee_hash_set_new (TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL);
#line 276 "/home/jens/Source/shotwell/src/Tag.vala"
self->priv->sources = _tmp0_;
-#line 9504 "Tag.c"
+#line 9501 "Tag.c"
}
-static void tag_tag_snapshot_finalize (SourceSnapshot* obj) {
+static void tag_tag_snapshot_finalize (SourceSnapshot * obj) {
TagTagSnapshot * self;
- LibraryPhotoSourceCollection* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- VideoSourceCollection* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
+ LibraryPhotoSourceCollection* _tmp0_;
+ guint _tmp1_;
+ VideoSourceCollection* _tmp2_;
+ guint _tmp3_;
#line 274 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TAG_TYPE_TAG_SNAPSHOT, TagTagSnapshot);
#line 292 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9530,7 +9527,7 @@ static void tag_tag_snapshot_finalize (SourceSnapshot* obj) {
_g_object_unref0 (self->priv->sources);
#line 274 "/home/jens/Source/shotwell/src/Tag.vala"
SOURCE_SNAPSHOT_CLASS (tag_tag_snapshot_parent_class)->finalize (obj);
-#line 9534 "Tag.c"
+#line 9531 "Tag.c"
}
@@ -9548,7 +9545,7 @@ static GType tag_tag_snapshot_get_type (void) {
static TagTagProxy* tag_tag_proxy_construct (GType object_type, Tag* tag) {
TagTagProxy* self = NULL;
- Tag* _tmp0_ = NULL;
+ Tag* _tmp0_;
#line 314 "/home/jens/Source/shotwell/src/Tag.vala"
g_return_val_if_fail (IS_TAG (tag), NULL);
#line 315 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9557,26 +9554,26 @@ static TagTagProxy* tag_tag_proxy_construct (GType object_type, Tag* tag) {
self = (TagTagProxy*) source_proxy_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_SOURCE, DataSource));
#line 314 "/home/jens/Source/shotwell/src/Tag.vala"
return self;
-#line 9561 "Tag.c"
+#line 9558 "Tag.c"
}
static TagTagProxy* tag_tag_proxy_new (Tag* tag) {
#line 314 "/home/jens/Source/shotwell/src/Tag.vala"
return tag_tag_proxy_construct (TAG_TYPE_TAG_PROXY, tag);
-#line 9568 "Tag.c"
+#line 9565 "Tag.c"
}
static DataSource* tag_tag_proxy_real_reconstitute (SourceProxy* base, gint64 object_id, SourceSnapshot* snapshot) {
TagTagProxy * self;
DataSource* result = NULL;
- gint64 _tmp0_ = 0LL;
- SourceSnapshot* _tmp1_ = NULL;
- TagRow* _tmp2_ = NULL;
- TagRow* _tmp3_ = NULL;
- Tag* _tmp4_ = NULL;
- DataSource* _tmp5_ = NULL;
+ gint64 _tmp0_;
+ SourceSnapshot* _tmp1_;
+ TagRow* _tmp2_;
+ TagRow* _tmp3_;
+ Tag* _tmp4_;
+ DataSource* _tmp5_;
#line 318 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TAG_TYPE_TAG_PROXY, TagTagProxy);
#line 318 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9599,7 +9596,7 @@ static DataSource* tag_tag_proxy_real_reconstitute (SourceProxy* base, gint64 ob
result = _tmp5_;
#line 319 "/home/jens/Source/shotwell/src/Tag.vala"
return result;
-#line 9603 "Tag.c"
+#line 9600 "Tag.c"
}
@@ -9607,8 +9604,8 @@ static void tag_tag_proxy_class_init (TagTagProxyClass * klass) {
#line 313 "/home/jens/Source/shotwell/src/Tag.vala"
tag_tag_proxy_parent_class = g_type_class_peek_parent (klass);
#line 313 "/home/jens/Source/shotwell/src/Tag.vala"
- ((SourceProxyClass *) klass)->reconstitute = (DataSource* (*)(SourceProxy*, gint64, SourceSnapshot*)) tag_tag_proxy_real_reconstitute;
-#line 9612 "Tag.c"
+ ((SourceProxyClass *) klass)->reconstitute = (DataSource* (*) (SourceProxy *, gint64, SourceSnapshot*)) tag_tag_proxy_real_reconstitute;
+#line 9609 "Tag.c"
}
@@ -9634,22 +9631,22 @@ static void tag_class_init (TagClass * klass) {
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
g_type_class_add_private (klass, sizeof (TagPrivate));
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- ((DataSourceClass *) klass)->get_typename = (gchar* (*)(DataSource*)) tag_real_get_typename;
+ ((DataSourceClass *) klass)->get_typename = (gchar* (*) (DataSource *)) tag_real_get_typename;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- ((DataSourceClass *) klass)->get_instance_id = (gint64 (*)(DataSource*)) tag_real_get_instance_id;
+ ((DataSourceClass *) klass)->get_instance_id = (gint64 (*) (DataSource *)) tag_real_get_instance_id;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- ((DataObjectClass *) klass)->get_name = (gchar* (*)(DataObject*)) tag_real_get_name;
+ ((DataObjectClass *) klass)->get_name = (gchar* (*) (DataObject *)) tag_real_get_name;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- ((DataObjectClass *) klass)->to_string = (gchar* (*)(DataObject*)) tag_real_to_string;
+ ((DataObjectClass *) klass)->to_string = (gchar* (*) (DataObject *)) tag_real_to_string;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- ((DataSourceClass *) klass)->equals = (gboolean (*)(DataSource*, DataSource*)) tag_real_equals;
+ ((DataSourceClass *) klass)->equals = (gboolean (*) (DataSource *, DataSource*)) tag_real_equals;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- ((DataSourceClass *) klass)->save_snapshot = (SourceSnapshot* (*)(DataSource*)) tag_real_save_snapshot;
+ ((DataSourceClass *) klass)->save_snapshot = (SourceSnapshot* (*) (DataSource *)) tag_real_save_snapshot;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- ((DataSourceClass *) klass)->destroy = (void (*)(DataSource*)) tag_real_destroy;
+ ((DataSourceClass *) klass)->destroy = (void (*) (DataSource *)) tag_real_destroy;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
G_OBJECT_CLASS (klass)->finalize = tag_finalize;
-#line 9653 "Tag.c"
+#line 9650 "Tag.c"
}
@@ -9657,18 +9654,18 @@ static void tag_container_source_interface_init (ContainerSourceIface * iface) {
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
tag_container_source_parent_iface = g_type_interface_peek_parent (iface);
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- iface->has_links = (gboolean (*)(ContainerSource*)) tag_real_has_links;
+ iface->has_links = (gboolean (*) (ContainerSource *)) tag_real_has_links;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- iface->get_backlink = (SourceBacklink* (*)(ContainerSource*)) tag_real_get_backlink;
+ iface->get_backlink = (SourceBacklink* (*) (ContainerSource *)) tag_real_get_backlink;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- iface->break_link = (void (*)(ContainerSource*, DataSource*)) tag_real_break_link;
+ iface->break_link = (void (*) (ContainerSource *, DataSource*)) tag_real_break_link;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- iface->break_link_many = (void (*)(ContainerSource*, GeeCollection*)) tag_real_break_link_many;
+ iface->break_link_many = (void (*) (ContainerSource *, GeeCollection*)) tag_real_break_link_many;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- iface->establish_link = (void (*)(ContainerSource*, DataSource*)) tag_real_establish_link;
+ iface->establish_link = (void (*) (ContainerSource *, DataSource*)) tag_real_establish_link;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- iface->establish_link_many = (void (*)(ContainerSource*, GeeCollection*)) tag_real_establish_link_many;
-#line 9672 "Tag.c"
+ iface->establish_link_many = (void (*) (ContainerSource *, GeeCollection*)) tag_real_establish_link_many;
+#line 9669 "Tag.c"
}
@@ -9676,8 +9673,8 @@ static void tag_proxyable_interface_init (ProxyableIface * iface) {
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
tag_proxyable_parent_iface = g_type_interface_peek_parent (iface);
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- iface->get_proxy = (SourceProxy* (*)(Proxyable*)) tag_real_get_proxy;
-#line 9681 "Tag.c"
+ iface->get_proxy = (SourceProxy* (*) (Proxyable *)) tag_real_get_proxy;
+#line 9678 "Tag.c"
}
@@ -9685,8 +9682,8 @@ static void tag_indexable_interface_init (IndexableIface * iface) {
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
tag_indexable_parent_iface = g_type_interface_peek_parent (iface);
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
- iface->get_indexable_keywords = (const gchar* (*)(Indexable*)) tag_real_get_indexable_keywords;
-#line 9690 "Tag.c"
+ iface->get_indexable_keywords = (const gchar* (*) (Indexable *)) tag_real_get_indexable_keywords;
+#line 9687 "Tag.c"
}
@@ -9701,18 +9698,18 @@ static void tag_instance_init (Tag * self) {
self->priv->relinking = FALSE;
#line 330 "/home/jens/Source/shotwell/src/Tag.vala"
self->priv->indexable_keywords = NULL;
-#line 9705 "Tag.c"
+#line 9702 "Tag.c"
}
-static void tag_finalize (GObject* obj) {
+static void tag_finalize (GObject * obj) {
Tag * self;
- ViewCollection* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- LibraryPhotoSourceCollection* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- VideoSourceCollection* _tmp4_ = NULL;
- guint _tmp5_ = 0U;
+ ViewCollection* _tmp0_;
+ guint _tmp1_;
+ LibraryPhotoSourceCollection* _tmp2_;
+ guint _tmp3_;
+ VideoSourceCollection* _tmp4_;
+ guint _tmp5_;
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TAG, Tag);
#line 382 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9743,7 +9740,7 @@ static void tag_finalize (GObject* obj) {
_g_free0 (self->priv->indexable_keywords);
#line 269 "/home/jens/Source/shotwell/src/Tag.vala"
G_OBJECT_CLASS (tag_parent_class)->finalize (obj);
-#line 9747 "Tag.c"
+#line 9744 "Tag.c"
}