summaryrefslogtreecommitdiff
path: root/src/Event.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-19 05:09:43 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-10-19 05:09:43 +0200
commit694c7e47ece2cd322b0d2b57b88933a22d2734db (patch)
treec098b2104f1b76db60dd1f50de060c4439437fd8 /src/Event.c
parent6824050190585821a13ce0f52d314986a25d6c2a (diff)
parentb076314018e4b53d745823754a26eb6fb73a2801 (diff)
Merge tag 'upstream/0.24.1'
Upstream version 0.24.1
Diffstat (limited to 'src/Event.c')
-rw-r--r--src/Event.c1902
1 files changed, 952 insertions, 950 deletions
diff --git a/src/Event.c b/src/Event.c
index a68abc5..0c3af9b 100644
--- a/src/Event.c
+++ b/src/Event.c
@@ -1,4 +1,4 @@
-/* Event.c generated by valac 0.32.1, the Vala compiler
+/* Event.c generated by valac 0.34.1, the Vala compiler
* generated from Event.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -4322,72 +4322,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gboolean _tmp2_ = FALSE;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = separator;
-#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp0_ == NULL) {
-#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
separator = "";
#line 4332 "Event.c"
}
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp3__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
#line 4342 "Event.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4_ = str_array;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
#line 4352 "Event.c"
}
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp2_) {
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
#line 4358 "Event.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp6_ = str_array;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp6__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
#line 4369 "Event.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp7_ = str_array;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp7__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp8_ = _tmp7_[0];
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
#line 4381 "Event.c"
} else {
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
#line 4385 "Event.c"
}
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
#line 4389 "Event.c"
}
-#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp1_) {
#line 4393 "Event.c"
gint i = 0;
@@ -4410,16 +4410,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp44_ = NULL;
void* _tmp45_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = (gsize) 1;
#line 4416 "Event.c"
{
gboolean _tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
i = 0;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = TRUE;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
while (TRUE) {
#line 4425 "Event.c"
gboolean _tmp11_ = FALSE;
@@ -4432,97 +4432,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gint _tmp23_ = 0;
const gchar* _tmp24_ = NULL;
gsize _tmp30_ = 0UL;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp9_) {
#line 4438 "Event.c"
gint _tmp10_ = 0;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp10_ = i;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
#line 4444 "Event.c"
}
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp13_ = str_array;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp13__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
#line 4454 "Event.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp14_ = i;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp15_ = str_array;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp15__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
#line 4466 "Event.c"
} else {
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 4470 "Event.c"
}
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp12_) {
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
#line 4476 "Event.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp17_ = str_array;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp17__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
#line 4487 "Event.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp18_ = str_array;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp18__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp19_ = i;
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp20_ = _tmp18_[_tmp19_];
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
#line 4502 "Event.c"
} else {
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
#line 4506 "Event.c"
}
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
#line 4510 "Event.c"
}
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp11_) {
-#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
break;
#line 4516 "Event.c"
}
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp22__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp23_ = i;
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp24_ = _tmp22_[_tmp23_];
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
#line 4528 "Event.c"
gchar** _tmp25_ = NULL;
@@ -4531,91 +4531,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp25_ = str_array;
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp25__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp26_ = i;
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp27_ = _tmp25_[_tmp26_];
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp28_ = strlen ((const gchar*) _tmp27_);
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp29_ = _tmp28_;
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
#line 4549 "Event.c"
} else {
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp21_ = 0;
#line 4553 "Event.c"
}
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp30_ = len;
-#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
#line 4559 "Event.c"
}
}
-#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp31_ = i;
-#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
#line 4566 "Event.c"
gchar* _tmp32_ = NULL;
-#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
-#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp32_;
-#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
#line 4574 "Event.c"
}
-#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp33_ = i;
-#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
str_array_length1 = _tmp33_;
-#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp34_ = str_array_length1;
-#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp35_ = len;
-#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp36_ = separator;
-#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp37_ = strlen ((const gchar*) _tmp36_);
-#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp38_ = _tmp37_;
-#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp39_ = i;
-#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
-#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp40_ = len;
-#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp41_ = g_malloc (_tmp40_);
-#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
res = _tmp41_;
-#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp42_ = res;
-#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp43_ = str_array;
-#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp43__length1 = str_array_length1;
-#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp44_ = _tmp43_[0];
-#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
-#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
ptr = _tmp45_;
#line 4612 "Event.c"
{
gboolean _tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
i = 1;
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp46_ = TRUE;
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
while (TRUE) {
#line 4621 "Event.c"
gint _tmp48_ = 0;
@@ -4631,94 +4631,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp56_ = NULL;
void* _tmp60_ = NULL;
void* _tmp61_ = NULL;
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!_tmp46_) {
#line 4637 "Event.c"
gint _tmp47_ = 0;
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp47_ = i;
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
#line 4643 "Event.c"
}
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp48_ = i;
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp49_ = str_array;
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp49__length1 = str_array_length1;
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (!(_tmp48_ < _tmp49__length1)) {
-#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
break;
#line 4657 "Event.c"
}
-#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
-#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp51_ = separator;
-#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
-#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
ptr = _tmp52_;
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp54_ = str_array;
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp54__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp55_ = i;
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp56_ = _tmp54_[_tmp55_];
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
#line 4677 "Event.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
const gchar* _tmp59_ = NULL;
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp57_ = str_array;
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp57__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp58_ = i;
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp59_ = _tmp57_[_tmp58_];
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
#line 4692 "Event.c"
} else {
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp53_ = "";
#line 4696 "Event.c"
}
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
-#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
ptr = _tmp61_;
#line 4704 "Event.c"
}
}
-#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp62_ = res;
-#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
res = NULL;
-#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = (gchar*) _tmp62_;
-#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
#line 4715 "Event.c"
} else {
gchar* _tmp63_ = NULL;
-#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp63_ = g_strdup ("");
-#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
result = _tmp63_;
-#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
#line 4724 "Event.c"
}
@@ -4898,13 +4898,13 @@ static const gchar* event_real_get_indexable_keywords (Indexable* base) {
static void g_time_local (time_t time, struct tm* result) {
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
+#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return;
#line 4910 "Event.c"
}
@@ -5017,43 +5017,45 @@ gboolean event_is_in_starting_day (Event* self, time_t time) {
#line 5018 "Event.c"
time_t _tmp19_ = 0;
#line 621 "/home/jens/Source/shotwell/src/Event.vala"
+ g_debug ("Event.vala:621: Hour before boundary, shifting back one day");
+#line 622 "/home/jens/Source/shotwell/src/Event.vala"
_tmp19_ = start_boundary;
-#line 621 "/home/jens/Source/shotwell/src/Event.vala"
+#line 622 "/home/jens/Source/shotwell/src/Event.vala"
start_boundary = _tmp19_ - EVENT_TIME_T_DAY;
-#line 5024 "Event.c"
+#line 5026 "Event.c"
}
-#line 623 "/home/jens/Source/shotwell/src/Event.vala"
+#line 625 "/home/jens/Source/shotwell/src/Event.vala"
_tmp20_ = start_boundary;
-#line 623 "/home/jens/Source/shotwell/src/Event.vala"
- end_boundary = (_tmp20_ + EVENT_TIME_T_DAY) - 1;
#line 625 "/home/jens/Source/shotwell/src/Event.vala"
+ end_boundary = (_tmp20_ + EVENT_TIME_T_DAY) - 1;
+#line 627 "/home/jens/Source/shotwell/src/Event.vala"
_tmp22_ = time;
-#line 625 "/home/jens/Source/shotwell/src/Event.vala"
+#line 627 "/home/jens/Source/shotwell/src/Event.vala"
_tmp23_ = start_boundary;
-#line 625 "/home/jens/Source/shotwell/src/Event.vala"
+#line 627 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp22_ >= _tmp23_) {
-#line 5036 "Event.c"
+#line 5038 "Event.c"
time_t _tmp24_ = 0;
time_t _tmp25_ = 0;
-#line 625 "/home/jens/Source/shotwell/src/Event.vala"
+#line 627 "/home/jens/Source/shotwell/src/Event.vala"
_tmp24_ = time;
-#line 625 "/home/jens/Source/shotwell/src/Event.vala"
+#line 627 "/home/jens/Source/shotwell/src/Event.vala"
_tmp25_ = end_boundary;
-#line 625 "/home/jens/Source/shotwell/src/Event.vala"
+#line 627 "/home/jens/Source/shotwell/src/Event.vala"
_tmp21_ = _tmp24_ <= _tmp25_;
-#line 5045 "Event.c"
+#line 5047 "Event.c"
} else {
-#line 625 "/home/jens/Source/shotwell/src/Event.vala"
+#line 627 "/home/jens/Source/shotwell/src/Event.vala"
_tmp21_ = FALSE;
-#line 5049 "Event.c"
+#line 5051 "Event.c"
}
-#line 625 "/home/jens/Source/shotwell/src/Event.vala"
+#line 627 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp21_;
-#line 625 "/home/jens/Source/shotwell/src/Event.vala"
+#line 627 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (earliest_media);
-#line 625 "/home/jens/Source/shotwell/src/Event.vala"
+#line 627 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5057 "Event.c"
+#line 5059 "Event.c"
}
@@ -5069,82 +5071,82 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s
ViewCollection* _tmp8_ = NULL;
gint _tmp9_ = 0;
GError * _inner_error_ = NULL;
-#line 631 "/home/jens/Source/shotwell/src/Event.vala"
+#line 633 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (IS_MEDIA_SOURCE (media), NULL);
-#line 631 "/home/jens/Source/shotwell/src/Event.vala"
- g_return_val_if_fail (IS_VIEW_COLLECTION (events_so_far), NULL);
#line 633 "/home/jens/Source/shotwell/src/Event.vala"
+ g_return_val_if_fail (IS_VIEW_COLLECTION (events_so_far), NULL);
+#line 635 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = media;
-#line 633 "/home/jens/Source/shotwell/src/Event.vala"
+#line 635 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = media_source_get_exposure_time (_tmp0_);
-#line 633 "/home/jens/Source/shotwell/src/Event.vala"
- exposure_time = _tmp1_;
#line 635 "/home/jens/Source/shotwell/src/Event.vala"
+ exposure_time = _tmp1_;
+#line 637 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = exposure_time;
-#line 635 "/home/jens/Source/shotwell/src/Event.vala"
+#line 637 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp3_ == ((time_t) 0)) {
-#line 5087 "Event.c"
+#line 5089 "Event.c"
const gchar* _tmp4_ = NULL;
-#line 635 "/home/jens/Source/shotwell/src/Event.vala"
+#line 637 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = event_name;
-#line 635 "/home/jens/Source/shotwell/src/Event.vala"
+#line 637 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = _tmp4_ == NULL;
-#line 5093 "Event.c"
+#line 5095 "Event.c"
} else {
-#line 635 "/home/jens/Source/shotwell/src/Event.vala"
+#line 637 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = FALSE;
-#line 5097 "Event.c"
+#line 5099 "Event.c"
}
-#line 635 "/home/jens/Source/shotwell/src/Event.vala"
+#line 637 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp2_) {
-#line 5101 "Event.c"
+#line 5103 "Event.c"
MediaSource* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 636 "/home/jens/Source/shotwell/src/Event.vala"
+#line 638 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = media;
-#line 636 "/home/jens/Source/shotwell/src/Event.vala"
+#line 638 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_OBJECT, DataObject));
-#line 636 "/home/jens/Source/shotwell/src/Event.vala"
+#line 638 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = _tmp6_;
-#line 636 "/home/jens/Source/shotwell/src/Event.vala"
- g_debug ("Event.vala:636: Skipping event assignment to %s: no exposure time and " \
+#line 638 "/home/jens/Source/shotwell/src/Event.vala"
+ g_debug ("Event.vala:638: Skipping event assignment to %s: no exposure time and " \
"no event name", _tmp7_);
-#line 636 "/home/jens/Source/shotwell/src/Event.vala"
+#line 638 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp7_);
-#line 637 "/home/jens/Source/shotwell/src/Event.vala"
- _vala_new_event = FALSE;
#line 639 "/home/jens/Source/shotwell/src/Event.vala"
+ _vala_new_event = FALSE;
+#line 641 "/home/jens/Source/shotwell/src/Event.vala"
result = NULL;
-#line 639 "/home/jens/Source/shotwell/src/Event.vala"
+#line 641 "/home/jens/Source/shotwell/src/Event.vala"
if (new_event) {
-#line 639 "/home/jens/Source/shotwell/src/Event.vala"
+#line 641 "/home/jens/Source/shotwell/src/Event.vala"
*new_event = _vala_new_event;
-#line 5123 "Event.c"
+#line 5125 "Event.c"
}
-#line 639 "/home/jens/Source/shotwell/src/Event.vala"
+#line 641 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5127 "Event.c"
+#line 5129 "Event.c"
}
-#line 642 "/home/jens/Source/shotwell/src/Event.vala"
+#line 644 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = events_so_far;
-#line 642 "/home/jens/Source/shotwell/src/Event.vala"
+#line 644 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_COLLECTION, DataCollection));
-#line 642 "/home/jens/Source/shotwell/src/Event.vala"
+#line 644 "/home/jens/Source/shotwell/src/Event.vala"
count = _tmp9_;
-#line 5135 "Event.c"
+#line 5137 "Event.c"
{
gint ctr = 0;
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
ctr = 0;
-#line 5140 "Event.c"
+#line 5142 "Event.c"
{
gboolean _tmp10_ = FALSE;
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = TRUE;
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
while (TRUE) {
-#line 5147 "Event.c"
+#line 5149 "Event.c"
gint _tmp12_ = 0;
gint _tmp13_ = 0;
Event* event = NULL;
@@ -5158,126 +5160,126 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s
gboolean _tmp21_ = FALSE;
gboolean _tmp22_ = FALSE;
const gchar* _tmp23_ = NULL;
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
if (!_tmp10_) {
-#line 5163 "Event.c"
+#line 5165 "Event.c"
gint _tmp11_ = 0;
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
_tmp11_ = ctr;
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
ctr = _tmp11_ + 1;
-#line 5169 "Event.c"
+#line 5171 "Event.c"
}
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = FALSE;
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
_tmp12_ = ctr;
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
_tmp13_ = count;
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
if (!(_tmp12_ < _tmp13_)) {
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
break;
-#line 5181 "Event.c"
+#line 5183 "Event.c"
}
-#line 644 "/home/jens/Source/shotwell/src/Event.vala"
+#line 646 "/home/jens/Source/shotwell/src/Event.vala"
_tmp14_ = events_so_far;
-#line 644 "/home/jens/Source/shotwell/src/Event.vala"
+#line 646 "/home/jens/Source/shotwell/src/Event.vala"
_tmp15_ = ctr;
-#line 644 "/home/jens/Source/shotwell/src/Event.vala"
+#line 646 "/home/jens/Source/shotwell/src/Event.vala"
_tmp16_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_COLLECTION, DataCollection), _tmp15_);
-#line 644 "/home/jens/Source/shotwell/src/Event.vala"
+#line 646 "/home/jens/Source/shotwell/src/Event.vala"
_tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_EVENT_VIEW, EventView);
-#line 644 "/home/jens/Source/shotwell/src/Event.vala"
+#line 646 "/home/jens/Source/shotwell/src/Event.vala"
_tmp18_ = data_view_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_DATA_VIEW, DataView));
-#line 644 "/home/jens/Source/shotwell/src/Event.vala"
+#line 646 "/home/jens/Source/shotwell/src/Event.vala"
_tmp19_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_EVENT, Event);
-#line 644 "/home/jens/Source/shotwell/src/Event.vala"
+#line 646 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp17_);
-#line 644 "/home/jens/Source/shotwell/src/Event.vala"
- event = _tmp19_;
#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+ event = _tmp19_;
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp23_ = event_name;
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp23_ != NULL) {
-#line 5203 "Event.c"
+#line 5205 "Event.c"
Event* _tmp24_ = NULL;
gboolean _tmp25_ = FALSE;
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp24_ = event;
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp25_ = event_has_name (_tmp24_);
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp22_ = _tmp25_;
-#line 5212 "Event.c"
+#line 5214 "Event.c"
} else {
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp22_ = FALSE;
-#line 5216 "Event.c"
+#line 5218 "Event.c"
}
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp22_) {
-#line 5220 "Event.c"
+#line 5222 "Event.c"
const gchar* _tmp26_ = NULL;
Event* _tmp27_ = NULL;
gchar* _tmp28_ = NULL;
gchar* _tmp29_ = NULL;
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp26_ = event_name;
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp27_ = event;
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp28_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_DATA_OBJECT, DataObject));
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp29_ = _tmp28_;
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp21_ = g_strcmp0 (_tmp26_, _tmp29_) == 0;
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp29_);
-#line 5237 "Event.c"
+#line 5239 "Event.c"
} else {
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp21_ = FALSE;
-#line 5241 "Event.c"
+#line 5243 "Event.c"
}
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp21_) {
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
+#line 648 "/home/jens/Source/shotwell/src/Event.vala"
_tmp20_ = TRUE;
-#line 5247 "Event.c"
+#line 5249 "Event.c"
} else {
Event* _tmp30_ = NULL;
time_t _tmp31_ = 0;
gboolean _tmp32_ = FALSE;
-#line 647 "/home/jens/Source/shotwell/src/Event.vala"
+#line 649 "/home/jens/Source/shotwell/src/Event.vala"
_tmp30_ = event;
-#line 647 "/home/jens/Source/shotwell/src/Event.vala"
+#line 649 "/home/jens/Source/shotwell/src/Event.vala"
_tmp31_ = exposure_time;
-#line 647 "/home/jens/Source/shotwell/src/Event.vala"
+#line 649 "/home/jens/Source/shotwell/src/Event.vala"
_tmp32_ = event_is_in_starting_day (_tmp30_, _tmp31_);
-#line 647 "/home/jens/Source/shotwell/src/Event.vala"
+#line 649 "/home/jens/Source/shotwell/src/Event.vala"
_tmp20_ = _tmp32_;
-#line 5260 "Event.c"
+#line 5262 "Event.c"
}
-#line 646 "/home/jens/Source/shotwell/src/Event.vala"
- if (_tmp20_) {
#line 648 "/home/jens/Source/shotwell/src/Event.vala"
- _vala_new_event = FALSE;
+ if (_tmp20_) {
#line 650 "/home/jens/Source/shotwell/src/Event.vala"
+ _vala_new_event = FALSE;
+#line 652 "/home/jens/Source/shotwell/src/Event.vala"
result = event;
-#line 650 "/home/jens/Source/shotwell/src/Event.vala"
+#line 652 "/home/jens/Source/shotwell/src/Event.vala"
if (new_event) {
-#line 650 "/home/jens/Source/shotwell/src/Event.vala"
+#line 652 "/home/jens/Source/shotwell/src/Event.vala"
*new_event = _vala_new_event;
-#line 5272 "Event.c"
+#line 5274 "Event.c"
}
-#line 650 "/home/jens/Source/shotwell/src/Event.vala"
+#line 652 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5276 "Event.c"
+#line 5278 "Event.c"
}
-#line 643 "/home/jens/Source/shotwell/src/Event.vala"
+#line 645 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (event);
-#line 5280 "Event.c"
+#line 5282 "Event.c"
}
}
}
@@ -5297,129 +5299,129 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s
Event* _tmp46_ = NULL;
EventView* _tmp47_ = NULL;
EventView* _tmp48_ = NULL;
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_tmp34_ = event_table_get_instance ();
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_tmp35_ = _tmp34_;
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_tmp36_ = media;
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_tmp37_ = data_source_get_source_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, TYPE_DATA_SOURCE, DataSource));
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_tmp38_ = _tmp37_;
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_tmp39_ = event_table_create (_tmp35_, _tmp38_, NULL, &_inner_error_);
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_tmp40_ = _tmp39_;
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp38_);
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_database_table_unref0 (_tmp35_);
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_tmp33_ = _tmp40_;
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
-#line 5324 "Event.c"
+#line 5326 "Event.c"
goto __catch429_database_error;
}
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.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);
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
g_clear_error (&_inner_error_);
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
return NULL;
-#line 5333 "Event.c"
+#line 5335 "Event.c"
}
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
_tmp41_ = event_new (_tmp33_, DATA_OBJECT_INVALID_OBJECT_ID);
-#line 656 "/home/jens/Source/shotwell/src/Event.vala"
+#line 658 "/home/jens/Source/shotwell/src/Event.vala"
event = _tmp41_;
-#line 657 "/home/jens/Source/shotwell/src/Event.vala"
+#line 659 "/home/jens/Source/shotwell/src/Event.vala"
_tmp42_ = event_name;
-#line 657 "/home/jens/Source/shotwell/src/Event.vala"
+#line 659 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp42_ != NULL) {
-#line 5343 "Event.c"
+#line 5345 "Event.c"
Event* _tmp43_ = NULL;
const gchar* _tmp44_ = NULL;
-#line 658 "/home/jens/Source/shotwell/src/Event.vala"
+#line 660 "/home/jens/Source/shotwell/src/Event.vala"
_tmp43_ = event;
-#line 658 "/home/jens/Source/shotwell/src/Event.vala"
+#line 660 "/home/jens/Source/shotwell/src/Event.vala"
_tmp44_ = event_name;
-#line 658 "/home/jens/Source/shotwell/src/Event.vala"
+#line 660 "/home/jens/Source/shotwell/src/Event.vala"
event_rename (_tmp43_, _tmp44_);
-#line 5352 "Event.c"
+#line 5354 "Event.c"
}
-#line 660 "/home/jens/Source/shotwell/src/Event.vala"
+#line 662 "/home/jens/Source/shotwell/src/Event.vala"
_tmp45_ = events_so_far;
-#line 660 "/home/jens/Source/shotwell/src/Event.vala"
+#line 662 "/home/jens/Source/shotwell/src/Event.vala"
_tmp46_ = event;
-#line 660 "/home/jens/Source/shotwell/src/Event.vala"
+#line 662 "/home/jens/Source/shotwell/src/Event.vala"
_tmp47_ = event_view_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, TYPE_EVENT_SOURCE, EventSource));
-#line 660 "/home/jens/Source/shotwell/src/Event.vala"
+#line 662 "/home/jens/Source/shotwell/src/Event.vala"
_tmp48_ = _tmp47_;
-#line 660 "/home/jens/Source/shotwell/src/Event.vala"
+#line 662 "/home/jens/Source/shotwell/src/Event.vala"
data_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_DATA_OBJECT, DataObject));
-#line 660 "/home/jens/Source/shotwell/src/Event.vala"
- _g_object_unref0 (_tmp48_);
#line 662 "/home/jens/Source/shotwell/src/Event.vala"
+ _g_object_unref0 (_tmp48_);
+#line 664 "/home/jens/Source/shotwell/src/Event.vala"
_vala_new_event = TRUE;
-#line 663 "/home/jens/Source/shotwell/src/Event.vala"
+#line 665 "/home/jens/Source/shotwell/src/Event.vala"
result = event;
-#line 663 "/home/jens/Source/shotwell/src/Event.vala"
+#line 665 "/home/jens/Source/shotwell/src/Event.vala"
_event_row_unref0 (_tmp33_);
-#line 663 "/home/jens/Source/shotwell/src/Event.vala"
+#line 665 "/home/jens/Source/shotwell/src/Event.vala"
if (new_event) {
-#line 663 "/home/jens/Source/shotwell/src/Event.vala"
+#line 665 "/home/jens/Source/shotwell/src/Event.vala"
*new_event = _vala_new_event;
-#line 5376 "Event.c"
+#line 5378 "Event.c"
}
-#line 663 "/home/jens/Source/shotwell/src/Event.vala"
+#line 665 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5380 "Event.c"
+#line 5382 "Event.c"
}
goto __finally429;
__catch429_database_error:
{
GError* err = NULL;
GError* _tmp49_ = NULL;
-#line 655 "/home/jens/Source/shotwell/src/Event.vala"
+#line 657 "/home/jens/Source/shotwell/src/Event.vala"
err = _inner_error_;
-#line 655 "/home/jens/Source/shotwell/src/Event.vala"
+#line 657 "/home/jens/Source/shotwell/src/Event.vala"
_inner_error_ = NULL;
-#line 665 "/home/jens/Source/shotwell/src/Event.vala"
+#line 667 "/home/jens/Source/shotwell/src/Event.vala"
_tmp49_ = err;
-#line 665 "/home/jens/Source/shotwell/src/Event.vala"
+#line 667 "/home/jens/Source/shotwell/src/Event.vala"
app_window_database_error (_tmp49_);
-#line 655 "/home/jens/Source/shotwell/src/Event.vala"
+#line 657 "/home/jens/Source/shotwell/src/Event.vala"
_g_error_free0 (err);
-#line 5397 "Event.c"
+#line 5399 "Event.c"
}
__finally429:
-#line 655 "/home/jens/Source/shotwell/src/Event.vala"
+#line 657 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 655 "/home/jens/Source/shotwell/src/Event.vala"
+#line 657 "/home/jens/Source/shotwell/src/Event.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 655 "/home/jens/Source/shotwell/src/Event.vala"
+#line 657 "/home/jens/Source/shotwell/src/Event.vala"
g_clear_error (&_inner_error_);
-#line 655 "/home/jens/Source/shotwell/src/Event.vala"
+#line 657 "/home/jens/Source/shotwell/src/Event.vala"
return NULL;
-#line 5408 "Event.c"
+#line 5410 "Event.c"
}
-#line 668 "/home/jens/Source/shotwell/src/Event.vala"
- _vala_new_event = FALSE;
#line 670 "/home/jens/Source/shotwell/src/Event.vala"
+ _vala_new_event = FALSE;
+#line 672 "/home/jens/Source/shotwell/src/Event.vala"
result = NULL;
-#line 670 "/home/jens/Source/shotwell/src/Event.vala"
+#line 672 "/home/jens/Source/shotwell/src/Event.vala"
if (new_event) {
-#line 670 "/home/jens/Source/shotwell/src/Event.vala"
+#line 672 "/home/jens/Source/shotwell/src/Event.vala"
*new_event = _vala_new_event;
-#line 5418 "Event.c"
+#line 5420 "Event.c"
}
-#line 670 "/home/jens/Source/shotwell/src/Event.vala"
+#line 672 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5422 "Event.c"
+#line 5424 "Event.c"
}
@@ -5439,72 +5441,72 @@ void event_generate_single_event (MediaSource* media, ViewCollection* events_so_
MediaSource* _tmp10_ = NULL;
Event* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
-#line 673 "/home/jens/Source/shotwell/src/Event.vala"
+#line 675 "/home/jens/Source/shotwell/src/Event.vala"
g_return_if_fail (IS_MEDIA_SOURCE (media));
-#line 673 "/home/jens/Source/shotwell/src/Event.vala"
+#line 675 "/home/jens/Source/shotwell/src/Event.vala"
g_return_if_fail (IS_VIEW_COLLECTION (events_so_far));
-#line 676 "/home/jens/Source/shotwell/src/Event.vala"
+#line 678 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = media;
-#line 676 "/home/jens/Source/shotwell/src/Event.vala"
+#line 678 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = media_source_get_event (_tmp0_);
-#line 676 "/home/jens/Source/shotwell/src/Event.vala"
+#line 678 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = _tmp1_;
-#line 676 "/home/jens/Source/shotwell/src/Event.vala"
+#line 678 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = _tmp2_ != NULL;
-#line 676 "/home/jens/Source/shotwell/src/Event.vala"
+#line 678 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp2_);
-#line 676 "/home/jens/Source/shotwell/src/Event.vala"
+#line 678 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp3_) {
-#line 677 "/home/jens/Source/shotwell/src/Event.vala"
+#line 679 "/home/jens/Source/shotwell/src/Event.vala"
return;
-#line 5460 "Event.c"
+#line 5462 "Event.c"
}
-#line 680 "/home/jens/Source/shotwell/src/Event.vala"
+#line 682 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = media;
-#line 680 "/home/jens/Source/shotwell/src/Event.vala"
+#line 682 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = events_so_far;
-#line 680 "/home/jens/Source/shotwell/src/Event.vala"
+#line 682 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = event_name;
-#line 680 "/home/jens/Source/shotwell/src/Event.vala"
+#line 682 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = event_generate_event (_tmp4_, _tmp5_, _tmp6_, &_tmp7_);
-#line 680 "/home/jens/Source/shotwell/src/Event.vala"
+#line 682 "/home/jens/Source/shotwell/src/Event.vala"
new_event = _tmp7_;
-#line 680 "/home/jens/Source/shotwell/src/Event.vala"
+#line 682 "/home/jens/Source/shotwell/src/Event.vala"
event = _tmp8_;
-#line 681 "/home/jens/Source/shotwell/src/Event.vala"
+#line 683 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = event;
-#line 681 "/home/jens/Source/shotwell/src/Event.vala"
+#line 683 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp9_ == NULL) {
-#line 682 "/home/jens/Source/shotwell/src/Event.vala"
+#line 684 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (event);
-#line 682 "/home/jens/Source/shotwell/src/Event.vala"
+#line 684 "/home/jens/Source/shotwell/src/Event.vala"
return;
-#line 5482 "Event.c"
+#line 5484 "Event.c"
}
-#line 684 "/home/jens/Source/shotwell/src/Event.vala"
+#line 686 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = media;
-#line 684 "/home/jens/Source/shotwell/src/Event.vala"
+#line 686 "/home/jens/Source/shotwell/src/Event.vala"
_tmp11_ = event;
-#line 684 "/home/jens/Source/shotwell/src/Event.vala"
- media_source_set_event (_tmp10_, _tmp11_);
#line 686 "/home/jens/Source/shotwell/src/Event.vala"
+ media_source_set_event (_tmp10_, _tmp11_);
+#line 688 "/home/jens/Source/shotwell/src/Event.vala"
_tmp12_ = new_event;
-#line 686 "/home/jens/Source/shotwell/src/Event.vala"
+#line 688 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp12_) {
-#line 5494 "Event.c"
+#line 5496 "Event.c"
EventSourceCollection* _tmp13_ = NULL;
Event* _tmp14_ = NULL;
-#line 687 "/home/jens/Source/shotwell/src/Event.vala"
+#line 689 "/home/jens/Source/shotwell/src/Event.vala"
_tmp13_ = event_global;
-#line 687 "/home/jens/Source/shotwell/src/Event.vala"
+#line 689 "/home/jens/Source/shotwell/src/Event.vala"
_tmp14_ = event;
-#line 687 "/home/jens/Source/shotwell/src/Event.vala"
+#line 689 "/home/jens/Source/shotwell/src/Event.vala"
data_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_OBJECT, DataObject));
-#line 5503 "Event.c"
+#line 5505 "Event.c"
}
-#line 673 "/home/jens/Source/shotwell/src/Event.vala"
+#line 675 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (event);
-#line 5507 "Event.c"
+#line 5509 "Event.c"
}
@@ -5514,28 +5516,28 @@ void event_generate_many_events (GeeCollection* sources, ViewCollection* events_
GeeCollection* _tmp21_ = NULL;
gint _tmp22_ = 0;
gint _tmp23_ = 0;
-#line 690 "/home/jens/Source/shotwell/src/Event.vala"
+#line 692 "/home/jens/Source/shotwell/src/Event.vala"
g_return_if_fail (GEE_IS_COLLECTION (sources));
-#line 690 "/home/jens/Source/shotwell/src/Event.vala"
+#line 692 "/home/jens/Source/shotwell/src/Event.vala"
g_return_if_fail (IS_VIEW_COLLECTION (events_so_far));
-#line 691 "/home/jens/Source/shotwell/src/Event.vala"
+#line 693 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = gee_array_list_new (TYPE_EVENT, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 691 "/home/jens/Source/shotwell/src/Event.vala"
+#line 693 "/home/jens/Source/shotwell/src/Event.vala"
to_add = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 5525 "Event.c"
+#line 5527 "Event.c"
{
GeeIterator* _media_it = NULL;
GeeCollection* _tmp1_ = NULL;
GeeIterator* _tmp2_ = NULL;
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = sources;
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
_media_it = _tmp2_;
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
while (TRUE) {
-#line 5538 "Event.c"
+#line 5540 "Event.c"
GeeIterator* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
MediaSource* media = NULL;
@@ -5555,135 +5557,135 @@ void event_generate_many_events (GeeCollection* sources, ViewCollection* events_
MediaSource* _tmp16_ = NULL;
Event* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = _media_it;
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = gee_iterator_next (_tmp3_);
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
if (!_tmp4_) {
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
break;
-#line 5566 "Event.c"
+#line 5568 "Event.c"
}
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = _media_it;
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = gee_iterator_get (_tmp5_);
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
- media = (MediaSource*) _tmp6_;
#line 694 "/home/jens/Source/shotwell/src/Event.vala"
+ media = (MediaSource*) _tmp6_;
+#line 696 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = media;
-#line 694 "/home/jens/Source/shotwell/src/Event.vala"
+#line 696 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = media_source_get_event (_tmp7_);
-#line 694 "/home/jens/Source/shotwell/src/Event.vala"
+#line 696 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = _tmp8_;
-#line 694 "/home/jens/Source/shotwell/src/Event.vala"
+#line 696 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = _tmp9_ != NULL;
-#line 694 "/home/jens/Source/shotwell/src/Event.vala"
+#line 696 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp9_);
-#line 694 "/home/jens/Source/shotwell/src/Event.vala"
+#line 696 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp10_) {
-#line 695 "/home/jens/Source/shotwell/src/Event.vala"
+#line 697 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (media);
-#line 695 "/home/jens/Source/shotwell/src/Event.vala"
+#line 697 "/home/jens/Source/shotwell/src/Event.vala"
continue;
-#line 5590 "Event.c"
+#line 5592 "Event.c"
}
-#line 698 "/home/jens/Source/shotwell/src/Event.vala"
+#line 700 "/home/jens/Source/shotwell/src/Event.vala"
_tmp11_ = media;
-#line 698 "/home/jens/Source/shotwell/src/Event.vala"
+#line 700 "/home/jens/Source/shotwell/src/Event.vala"
_tmp12_ = events_so_far;
-#line 698 "/home/jens/Source/shotwell/src/Event.vala"
+#line 700 "/home/jens/Source/shotwell/src/Event.vala"
_tmp14_ = event_generate_event (_tmp11_, _tmp12_, NULL, &_tmp13_);
-#line 698 "/home/jens/Source/shotwell/src/Event.vala"
+#line 700 "/home/jens/Source/shotwell/src/Event.vala"
new_event = _tmp13_;
-#line 698 "/home/jens/Source/shotwell/src/Event.vala"
+#line 700 "/home/jens/Source/shotwell/src/Event.vala"
event = _tmp14_;
-#line 699 "/home/jens/Source/shotwell/src/Event.vala"
+#line 701 "/home/jens/Source/shotwell/src/Event.vala"
_tmp15_ = event;
-#line 699 "/home/jens/Source/shotwell/src/Event.vala"
+#line 701 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp15_ == NULL) {
-#line 700 "/home/jens/Source/shotwell/src/Event.vala"
+#line 702 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (event);
-#line 700 "/home/jens/Source/shotwell/src/Event.vala"
+#line 702 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (media);
-#line 700 "/home/jens/Source/shotwell/src/Event.vala"
+#line 702 "/home/jens/Source/shotwell/src/Event.vala"
continue;
-#line 5612 "Event.c"
+#line 5614 "Event.c"
}
-#line 702 "/home/jens/Source/shotwell/src/Event.vala"
+#line 704 "/home/jens/Source/shotwell/src/Event.vala"
_tmp16_ = media;
-#line 702 "/home/jens/Source/shotwell/src/Event.vala"
+#line 704 "/home/jens/Source/shotwell/src/Event.vala"
_tmp17_ = event;
-#line 702 "/home/jens/Source/shotwell/src/Event.vala"
- media_source_set_event (_tmp16_, _tmp17_);
#line 704 "/home/jens/Source/shotwell/src/Event.vala"
+ media_source_set_event (_tmp16_, _tmp17_);
+#line 706 "/home/jens/Source/shotwell/src/Event.vala"
_tmp18_ = new_event;
-#line 704 "/home/jens/Source/shotwell/src/Event.vala"
+#line 706 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp18_) {
-#line 5624 "Event.c"
+#line 5626 "Event.c"
GeeCollection* _tmp19_ = NULL;
Event* _tmp20_ = NULL;
-#line 705 "/home/jens/Source/shotwell/src/Event.vala"
+#line 707 "/home/jens/Source/shotwell/src/Event.vala"
_tmp19_ = to_add;
-#line 705 "/home/jens/Source/shotwell/src/Event.vala"
+#line 707 "/home/jens/Source/shotwell/src/Event.vala"
_tmp20_ = event;
-#line 705 "/home/jens/Source/shotwell/src/Event.vala"
+#line 707 "/home/jens/Source/shotwell/src/Event.vala"
gee_collection_add (_tmp19_, _tmp20_);
-#line 5633 "Event.c"
+#line 5635 "Event.c"
}
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (event);
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (media);
-#line 5639 "Event.c"
+#line 5641 "Event.c"
}
-#line 692 "/home/jens/Source/shotwell/src/Event.vala"
+#line 694 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_media_it);
-#line 5643 "Event.c"
+#line 5645 "Event.c"
}
-#line 708 "/home/jens/Source/shotwell/src/Event.vala"
+#line 710 "/home/jens/Source/shotwell/src/Event.vala"
_tmp21_ = to_add;
-#line 708 "/home/jens/Source/shotwell/src/Event.vala"
+#line 710 "/home/jens/Source/shotwell/src/Event.vala"
_tmp22_ = gee_collection_get_size (_tmp21_);
-#line 708 "/home/jens/Source/shotwell/src/Event.vala"
+#line 710 "/home/jens/Source/shotwell/src/Event.vala"
_tmp23_ = _tmp22_;
-#line 708 "/home/jens/Source/shotwell/src/Event.vala"
+#line 710 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp23_ > 0) {
-#line 5653 "Event.c"
+#line 5655 "Event.c"
EventSourceCollection* _tmp24_ = NULL;
GeeCollection* _tmp25_ = NULL;
GeeCollection* _tmp26_ = NULL;
GeeCollection* _tmp27_ = NULL;
-#line 709 "/home/jens/Source/shotwell/src/Event.vala"
+#line 711 "/home/jens/Source/shotwell/src/Event.vala"
_tmp24_ = event_global;
-#line 709 "/home/jens/Source/shotwell/src/Event.vala"
+#line 711 "/home/jens/Source/shotwell/src/Event.vala"
_tmp25_ = to_add;
-#line 709 "/home/jens/Source/shotwell/src/Event.vala"
+#line 711 "/home/jens/Source/shotwell/src/Event.vala"
_tmp26_ = data_collection_add_many (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_COLLECTION, DataCollection), _tmp25_, NULL, NULL);
-#line 709 "/home/jens/Source/shotwell/src/Event.vala"
+#line 711 "/home/jens/Source/shotwell/src/Event.vala"
_tmp27_ = _tmp26_;
-#line 709 "/home/jens/Source/shotwell/src/Event.vala"
+#line 711 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp27_);
-#line 5668 "Event.c"
+#line 5670 "Event.c"
}
-#line 690 "/home/jens/Source/shotwell/src/Event.vala"
+#line 692 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (to_add);
-#line 5672 "Event.c"
+#line 5674 "Event.c"
}
void event_get_event_id (Event* self, EventID* result) {
EventID _tmp0_ = {0};
-#line 712 "/home/jens/Source/shotwell/src/Event.vala"
+#line 714 "/home/jens/Source/shotwell/src/Event.vala"
g_return_if_fail (IS_EVENT (self));
-#line 713 "/home/jens/Source/shotwell/src/Event.vala"
+#line 715 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->event_id;
-#line 713 "/home/jens/Source/shotwell/src/Event.vala"
+#line 715 "/home/jens/Source/shotwell/src/Event.vala"
*result = _tmp0_;
-#line 713 "/home/jens/Source/shotwell/src/Event.vala"
+#line 715 "/home/jens/Source/shotwell/src/Event.vala"
return;
-#line 5686 "Event.c"
+#line 5688 "Event.c"
}
@@ -5691,15 +5693,15 @@ static SourceSnapshot* event_real_save_snapshot (DataSource* base) {
Event * self;
SourceSnapshot* result = NULL;
EventEventSnapshot* _tmp0_ = NULL;
-#line 716 "/home/jens/Source/shotwell/src/Event.vala"
+#line 718 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 717 "/home/jens/Source/shotwell/src/Event.vala"
+#line 719 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = event_event_snapshot_new (self);
-#line 717 "/home/jens/Source/shotwell/src/Event.vala"
+#line 719 "/home/jens/Source/shotwell/src/Event.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SOURCE_SNAPSHOT, SourceSnapshot);
-#line 717 "/home/jens/Source/shotwell/src/Event.vala"
+#line 719 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5702 "Event.c"
+#line 5704 "Event.c"
}
@@ -5707,15 +5709,15 @@ static SourceProxy* event_real_get_proxy (Proxyable* base) {
Event * self;
SourceProxy* result = NULL;
EventEventProxy* _tmp0_ = NULL;
-#line 720 "/home/jens/Source/shotwell/src/Event.vala"
+#line 722 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 721 "/home/jens/Source/shotwell/src/Event.vala"
+#line 723 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = event_event_proxy_new (self);
-#line 721 "/home/jens/Source/shotwell/src/Event.vala"
+#line 723 "/home/jens/Source/shotwell/src/Event.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SOURCE_PROXY, SourceProxy);
-#line 721 "/home/jens/Source/shotwell/src/Event.vala"
+#line 723 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5718 "Event.c"
+#line 5720 "Event.c"
}
@@ -5728,58 +5730,58 @@ static gboolean event_real_equals (DataSource* base, DataSource* source) {
Event* _tmp2_ = NULL;
DataSource* _tmp9_ = NULL;
gboolean _tmp10_ = FALSE;
-#line 724 "/home/jens/Source/shotwell/src/Event.vala"
+#line 726 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 724 "/home/jens/Source/shotwell/src/Event.vala"
- g_return_val_if_fail ((source == NULL) || IS_DATA_SOURCE (source), FALSE);
#line 726 "/home/jens/Source/shotwell/src/Event.vala"
+ g_return_val_if_fail ((source == NULL) || IS_DATA_SOURCE (source), FALSE);
+#line 728 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = source;
-#line 726 "/home/jens/Source/shotwell/src/Event.vala"
+#line 728 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_EVENT) ? ((Event*) _tmp0_) : NULL);
-#line 726 "/home/jens/Source/shotwell/src/Event.vala"
+#line 728 "/home/jens/Source/shotwell/src/Event.vala"
event = _tmp1_;
-#line 727 "/home/jens/Source/shotwell/src/Event.vala"
+#line 729 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = event;
-#line 727 "/home/jens/Source/shotwell/src/Event.vala"
+#line 729 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp2_ != NULL) {
-#line 5745 "Event.c"
+#line 5747 "Event.c"
Event* _tmp3_ = NULL;
-#line 728 "/home/jens/Source/shotwell/src/Event.vala"
+#line 730 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = event;
-#line 728 "/home/jens/Source/shotwell/src/Event.vala"
+#line 730 "/home/jens/Source/shotwell/src/Event.vala"
if (self != _tmp3_) {
-#line 5751 "Event.c"
+#line 5753 "Event.c"
EventID _tmp4_ = {0};
gint64 _tmp5_ = 0LL;
Event* _tmp6_ = NULL;
EventID _tmp7_ = {0};
gint64 _tmp8_ = 0LL;
-#line 729 "/home/jens/Source/shotwell/src/Event.vala"
+#line 731 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = self->priv->event_id;
-#line 729 "/home/jens/Source/shotwell/src/Event.vala"
+#line 731 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = _tmp4_.id;
-#line 729 "/home/jens/Source/shotwell/src/Event.vala"
+#line 731 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = event;
-#line 729 "/home/jens/Source/shotwell/src/Event.vala"
+#line 731 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = _tmp6_->priv->event_id;
-#line 729 "/home/jens/Source/shotwell/src/Event.vala"
+#line 731 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = _tmp7_.id;
-#line 729 "/home/jens/Source/shotwell/src/Event.vala"
+#line 731 "/home/jens/Source/shotwell/src/Event.vala"
_vala_assert (_tmp5_ != _tmp8_, "event_id.id != event.event_id.id");
-#line 5769 "Event.c"
+#line 5771 "Event.c"
}
}
-#line 733 "/home/jens/Source/shotwell/src/Event.vala"
+#line 735 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = source;
-#line 733 "/home/jens/Source/shotwell/src/Event.vala"
+#line 735 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = DATA_SOURCE_CLASS (event_parent_class)->equals (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EVENT_SOURCE, EventSource), TYPE_DATA_SOURCE, DataSource), _tmp9_);
-#line 733 "/home/jens/Source/shotwell/src/Event.vala"
+#line 735 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp10_;
-#line 733 "/home/jens/Source/shotwell/src/Event.vala"
+#line 735 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (event);
-#line 733 "/home/jens/Source/shotwell/src/Event.vala"
+#line 735 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5782 "Event.c"
+#line 5784 "Event.c"
}
@@ -5797,41 +5799,41 @@ static gchar* event_real_to_string (DataObject* base) {
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
-#line 736 "/home/jens/Source/shotwell/src/Event.vala"
+#line 738 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->event_id;
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = _tmp0_.id;
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp1_);
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = _tmp2_;
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = data_object_get_object_id (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject));
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp4_);
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = _tmp5_;
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject));
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = _tmp7_;
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = g_strdup_printf ("Event [%s/%s] %s", _tmp3_, _tmp6_, _tmp8_);
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = _tmp9_;
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp8_);
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp6_);
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp3_);
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp10_;
-#line 737 "/home/jens/Source/shotwell/src/Event.vala"
+#line 739 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5834 "Event.c"
+#line 5836 "Event.c"
}
@@ -5839,35 +5841,35 @@ gboolean event_has_name (Event* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
const gchar* _tmp1_ = NULL;
-#line 740 "/home/jens/Source/shotwell/src/Event.vala"
+#line 742 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (IS_EVENT (self), FALSE);
-#line 741 "/home/jens/Source/shotwell/src/Event.vala"
+#line 743 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = self->priv->raw_name;
-#line 741 "/home/jens/Source/shotwell/src/Event.vala"
+#line 743 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp1_ != NULL) {
-#line 5848 "Event.c"
+#line 5850 "Event.c"
const gchar* _tmp2_ = NULL;
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 741 "/home/jens/Source/shotwell/src/Event.vala"
+#line 743 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = self->priv->raw_name;
-#line 741 "/home/jens/Source/shotwell/src/Event.vala"
+#line 743 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = strlen (_tmp2_);
-#line 741 "/home/jens/Source/shotwell/src/Event.vala"
+#line 743 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = _tmp3_;
-#line 741 "/home/jens/Source/shotwell/src/Event.vala"
+#line 743 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = _tmp4_ > 0;
-#line 5860 "Event.c"
+#line 5862 "Event.c"
} else {
-#line 741 "/home/jens/Source/shotwell/src/Event.vala"
+#line 743 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = FALSE;
-#line 5864 "Event.c"
+#line 5866 "Event.c"
}
-#line 741 "/home/jens/Source/shotwell/src/Event.vala"
+#line 743 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp0_;
-#line 741 "/home/jens/Source/shotwell/src/Event.vala"
+#line 743 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5870 "Event.c"
+#line 5872 "Event.c"
}
@@ -5880,44 +5882,44 @@ static gchar* event_real_get_name (DataObject* base) {
gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 744 "/home/jens/Source/shotwell/src/Event.vala"
+#line 746 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 745 "/home/jens/Source/shotwell/src/Event.vala"
+#line 747 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = event_has_name (self);
-#line 745 "/home/jens/Source/shotwell/src/Event.vala"
+#line 747 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp0_) {
-#line 5889 "Event.c"
+#line 5891 "Event.c"
gchar* _tmp1_ = NULL;
-#line 746 "/home/jens/Source/shotwell/src/Event.vala"
+#line 748 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = event_get_raw_name (self);
-#line 746 "/home/jens/Source/shotwell/src/Event.vala"
+#line 748 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp1_;
-#line 746 "/home/jens/Source/shotwell/src/Event.vala"
+#line 748 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5897 "Event.c"
+#line 5899 "Event.c"
}
-#line 749 "/home/jens/Source/shotwell/src/Event.vala"
+#line 751 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = event_get_formatted_daterange (self);
-#line 749 "/home/jens/Source/shotwell/src/Event.vala"
- datestring = _tmp2_;
#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+ datestring = _tmp2_;
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = datestring;
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = is_string_empty (_tmp4_);
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
if (!_tmp5_) {
-#line 5909 "Event.c"
+#line 5911 "Event.c"
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = datestring;
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = g_strdup (_tmp6_);
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp3_);
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = _tmp7_;
-#line 5920 "Event.c"
+#line 5922 "Event.c"
} else {
const gchar* _tmp8_ = NULL;
EventID _tmp9_ = {0};
@@ -5925,33 +5927,33 @@ static gchar* event_real_get_name (DataObject* base) {
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = _ ("Event %s");
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = self->priv->event_id;
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = _tmp9_.id;
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp11_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp10_);
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp12_ = _tmp11_;
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp13_ = g_strdup_printf (_tmp8_, _tmp12_);
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp3_);
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = _tmp13_;
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp12_);
-#line 5946 "Event.c"
+#line 5948 "Event.c"
}
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp3_;
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (datestring);
-#line 751 "/home/jens/Source/shotwell/src/Event.vala"
+#line 753 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 5954 "Event.c"
+#line 5956 "Event.c"
}
@@ -5980,169 +5982,169 @@ gchar* event_get_formatted_daterange (Event* self) {
struct tm _tmp32_ = {0};
struct tm _tmp33_ = {0};
gchar* _tmp34_ = NULL;
-#line 754 "/home/jens/Source/shotwell/src/Event.vala"
+#line 756 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (IS_EVENT (self), NULL);
-#line 755 "/home/jens/Source/shotwell/src/Event.vala"
+#line 757 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = event_source_get_start_time (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EVENT_SOURCE, EventSource));
-#line 755 "/home/jens/Source/shotwell/src/Event.vala"
+#line 757 "/home/jens/Source/shotwell/src/Event.vala"
start_time = _tmp0_;
-#line 756 "/home/jens/Source/shotwell/src/Event.vala"
+#line 758 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = event_source_get_end_time (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EVENT_SOURCE, EventSource));
-#line 756 "/home/jens/Source/shotwell/src/Event.vala"
- end_time = _tmp1_;
#line 758 "/home/jens/Source/shotwell/src/Event.vala"
+ end_time = _tmp1_;
+#line 760 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = end_time;
-#line 758 "/home/jens/Source/shotwell/src/Event.vala"
+#line 760 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp3_ == ((time_t) 0)) {
-#line 5997 "Event.c"
+#line 5999 "Event.c"
time_t _tmp4_ = 0;
-#line 758 "/home/jens/Source/shotwell/src/Event.vala"
+#line 760 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = start_time;
-#line 758 "/home/jens/Source/shotwell/src/Event.vala"
+#line 760 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = _tmp4_ == ((time_t) 0);
-#line 6003 "Event.c"
+#line 6005 "Event.c"
} else {
-#line 758 "/home/jens/Source/shotwell/src/Event.vala"
+#line 760 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = FALSE;
-#line 6007 "Event.c"
+#line 6009 "Event.c"
}
-#line 758 "/home/jens/Source/shotwell/src/Event.vala"
+#line 760 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp2_) {
-#line 759 "/home/jens/Source/shotwell/src/Event.vala"
+#line 761 "/home/jens/Source/shotwell/src/Event.vala"
result = NULL;
-#line 759 "/home/jens/Source/shotwell/src/Event.vala"
+#line 761 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6015 "Event.c"
+#line 6017 "Event.c"
}
-#line 761 "/home/jens/Source/shotwell/src/Event.vala"
+#line 763 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = end_time;
-#line 761 "/home/jens/Source/shotwell/src/Event.vala"
+#line 763 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp6_ == ((time_t) 0)) {
-#line 6021 "Event.c"
+#line 6023 "Event.c"
time_t _tmp7_ = 0;
-#line 761 "/home/jens/Source/shotwell/src/Event.vala"
+#line 763 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = start_time;
-#line 761 "/home/jens/Source/shotwell/src/Event.vala"
+#line 763 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = _tmp7_ != ((time_t) 0);
-#line 6027 "Event.c"
+#line 6029 "Event.c"
} else {
-#line 761 "/home/jens/Source/shotwell/src/Event.vala"
+#line 763 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = FALSE;
-#line 6031 "Event.c"
+#line 6033 "Event.c"
}
-#line 761 "/home/jens/Source/shotwell/src/Event.vala"
+#line 763 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp5_) {
-#line 6035 "Event.c"
+#line 6037 "Event.c"
time_t _tmp8_ = 0;
struct tm _tmp9_ = {0};
gchar* _tmp10_ = NULL;
-#line 762 "/home/jens/Source/shotwell/src/Event.vala"
+#line 764 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = start_time;
-#line 762 "/home/jens/Source/shotwell/src/Event.vala"
+#line 764 "/home/jens/Source/shotwell/src/Event.vala"
g_time_local (_tmp8_, &_tmp9_);
-#line 762 "/home/jens/Source/shotwell/src/Event.vala"
+#line 764 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = format_local_date (&_tmp9_);
-#line 762 "/home/jens/Source/shotwell/src/Event.vala"
+#line 764 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp10_;
-#line 762 "/home/jens/Source/shotwell/src/Event.vala"
+#line 764 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6049 "Event.c"
+#line 6051 "Event.c"
}
-#line 764 "/home/jens/Source/shotwell/src/Event.vala"
+#line 766 "/home/jens/Source/shotwell/src/Event.vala"
_tmp11_ = start_time;
-#line 764 "/home/jens/Source/shotwell/src/Event.vala"
+#line 766 "/home/jens/Source/shotwell/src/Event.vala"
g_time_local (_tmp11_, &_tmp12_);
-#line 764 "/home/jens/Source/shotwell/src/Event.vala"
+#line 766 "/home/jens/Source/shotwell/src/Event.vala"
start = _tmp12_;
-#line 765 "/home/jens/Source/shotwell/src/Event.vala"
+#line 767 "/home/jens/Source/shotwell/src/Event.vala"
_tmp13_ = end_time;
-#line 765 "/home/jens/Source/shotwell/src/Event.vala"
+#line 767 "/home/jens/Source/shotwell/src/Event.vala"
g_time_local (_tmp13_, &_tmp14_);
-#line 765 "/home/jens/Source/shotwell/src/Event.vala"
- end = _tmp14_;
#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+ end = _tmp14_;
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp17_ = start;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp18_ = _tmp17_.tm_mday;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp19_ = end;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp20_ = _tmp19_.tm_mday;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp18_ == _tmp20_) {
-#line 6073 "Event.c"
+#line 6075 "Event.c"
struct tm _tmp21_ = {0};
gint _tmp22_ = 0;
struct tm _tmp23_ = {0};
gint _tmp24_ = 0;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp21_ = start;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp22_ = _tmp21_.tm_mon;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp23_ = end;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp24_ = _tmp23_.tm_mon;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp16_ = _tmp22_ == _tmp24_;
-#line 6088 "Event.c"
+#line 6090 "Event.c"
} else {
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp16_ = FALSE;
-#line 6092 "Event.c"
+#line 6094 "Event.c"
}
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp16_) {
-#line 6096 "Event.c"
+#line 6098 "Event.c"
struct tm _tmp25_ = {0};
gint _tmp26_ = 0;
struct tm _tmp27_ = {0};
gint _tmp28_ = 0;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp25_ = start;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp26_ = _tmp25_.tm_mday;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp27_ = end;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp28_ = _tmp27_.tm_mday;
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp15_ = _tmp26_ == _tmp28_;
-#line 6111 "Event.c"
+#line 6113 "Event.c"
} else {
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
_tmp15_ = FALSE;
-#line 6115 "Event.c"
+#line 6117 "Event.c"
}
-#line 767 "/home/jens/Source/shotwell/src/Event.vala"
+#line 769 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp15_) {
-#line 6119 "Event.c"
+#line 6121 "Event.c"
time_t _tmp29_ = 0;
struct tm _tmp30_ = {0};
gchar* _tmp31_ = NULL;
-#line 768 "/home/jens/Source/shotwell/src/Event.vala"
+#line 770 "/home/jens/Source/shotwell/src/Event.vala"
_tmp29_ = start_time;
-#line 768 "/home/jens/Source/shotwell/src/Event.vala"
+#line 770 "/home/jens/Source/shotwell/src/Event.vala"
g_time_local (_tmp29_, &_tmp30_);
-#line 768 "/home/jens/Source/shotwell/src/Event.vala"
+#line 770 "/home/jens/Source/shotwell/src/Event.vala"
_tmp31_ = format_local_date (&_tmp30_);
-#line 768 "/home/jens/Source/shotwell/src/Event.vala"
+#line 770 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp31_;
-#line 768 "/home/jens/Source/shotwell/src/Event.vala"
+#line 770 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6133 "Event.c"
+#line 6135 "Event.c"
}
-#line 770 "/home/jens/Source/shotwell/src/Event.vala"
+#line 772 "/home/jens/Source/shotwell/src/Event.vala"
_tmp32_ = start;
-#line 770 "/home/jens/Source/shotwell/src/Event.vala"
+#line 772 "/home/jens/Source/shotwell/src/Event.vala"
_tmp33_ = end;
-#line 770 "/home/jens/Source/shotwell/src/Event.vala"
+#line 772 "/home/jens/Source/shotwell/src/Event.vala"
_tmp34_ = format_local_datespan (&_tmp32_, &_tmp33_);
-#line 770 "/home/jens/Source/shotwell/src/Event.vala"
+#line 772 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp34_;
-#line 770 "/home/jens/Source/shotwell/src/Event.vala"
+#line 772 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6145 "Event.c"
+#line 6147 "Event.c"
}
@@ -6150,17 +6152,17 @@ gchar* event_get_raw_name (Event* self) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 773 "/home/jens/Source/shotwell/src/Event.vala"
+#line 775 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (IS_EVENT (self), NULL);
-#line 774 "/home/jens/Source/shotwell/src/Event.vala"
+#line 776 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->raw_name;
-#line 774 "/home/jens/Source/shotwell/src/Event.vala"
+#line 776 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 774 "/home/jens/Source/shotwell/src/Event.vala"
+#line 776 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp1_;
-#line 774 "/home/jens/Source/shotwell/src/Event.vala"
+#line 776 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6163 "Event.c"
+#line 6165 "Event.c"
}
@@ -6169,17 +6171,17 @@ static gchar* event_real_get_comment (EventSource* base) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 777 "/home/jens/Source/shotwell/src/Event.vala"
+#line 779 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 778 "/home/jens/Source/shotwell/src/Event.vala"
+#line 780 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->comment;
-#line 778 "/home/jens/Source/shotwell/src/Event.vala"
+#line 780 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 778 "/home/jens/Source/shotwell/src/Event.vala"
+#line 780 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp1_;
-#line 778 "/home/jens/Source/shotwell/src/Event.vala"
+#line 780 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6182 "Event.c"
+#line 6184 "Event.c"
}
@@ -6198,82 +6200,82 @@ gboolean event_rename (Event* self, const gchar* name) {
const gchar* _tmp9_ = NULL;
gboolean _tmp10_ = FALSE;
gboolean _tmp11_ = FALSE;
-#line 781 "/home/jens/Source/shotwell/src/Event.vala"
+#line 783 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (IS_EVENT (self), FALSE);
-#line 782 "/home/jens/Source/shotwell/src/Event.vala"
+#line 784 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = name;
-#line 782 "/home/jens/Source/shotwell/src/Event.vala"
+#line 784 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = event_prep_event_name (_tmp0_);
-#line 782 "/home/jens/Source/shotwell/src/Event.vala"
+#line 784 "/home/jens/Source/shotwell/src/Event.vala"
new_name = _tmp1_;
-#line 785 "/home/jens/Source/shotwell/src/Event.vala"
+#line 787 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = new_name;
-#line 785 "/home/jens/Source/shotwell/src/Event.vala"
+#line 787 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = event_get_formatted_daterange (self);
-#line 785 "/home/jens/Source/shotwell/src/Event.vala"
+#line 787 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = _tmp3_;
-#line 785 "/home/jens/Source/shotwell/src/Event.vala"
+#line 787 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = g_strcmp0 (_tmp2_, _tmp4_) == 0;
-#line 785 "/home/jens/Source/shotwell/src/Event.vala"
+#line 787 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp4_);
-#line 785 "/home/jens/Source/shotwell/src/Event.vala"
+#line 787 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp5_) {
-#line 6221 "Event.c"
+#line 6223 "Event.c"
gchar* _tmp6_ = NULL;
-#line 786 "/home/jens/Source/shotwell/src/Event.vala"
+#line 788 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = g_strdup ("");
-#line 786 "/home/jens/Source/shotwell/src/Event.vala"
+#line 788 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (new_name);
-#line 786 "/home/jens/Source/shotwell/src/Event.vala"
+#line 788 "/home/jens/Source/shotwell/src/Event.vala"
new_name = _tmp6_;
-#line 6229 "Event.c"
+#line 6231 "Event.c"
}
-#line 789 "/home/jens/Source/shotwell/src/Event.vala"
+#line 791 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = event_event_table;
-#line 789 "/home/jens/Source/shotwell/src/Event.vala"
+#line 791 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = self->priv->event_id;
-#line 789 "/home/jens/Source/shotwell/src/Event.vala"
+#line 791 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = new_name;
-#line 789 "/home/jens/Source/shotwell/src/Event.vala"
+#line 791 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = event_table_rename (_tmp7_, &_tmp8_, _tmp9_);
-#line 789 "/home/jens/Source/shotwell/src/Event.vala"
+#line 791 "/home/jens/Source/shotwell/src/Event.vala"
renamed = _tmp10_;
-#line 790 "/home/jens/Source/shotwell/src/Event.vala"
+#line 792 "/home/jens/Source/shotwell/src/Event.vala"
_tmp11_ = renamed;
-#line 790 "/home/jens/Source/shotwell/src/Event.vala"
+#line 792 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp11_) {
-#line 6245 "Event.c"
+#line 6247 "Event.c"
const gchar* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
Alteration* _tmp14_ = NULL;
Alteration* _tmp15_ = NULL;
-#line 791 "/home/jens/Source/shotwell/src/Event.vala"
+#line 793 "/home/jens/Source/shotwell/src/Event.vala"
_tmp12_ = new_name;
-#line 791 "/home/jens/Source/shotwell/src/Event.vala"
+#line 793 "/home/jens/Source/shotwell/src/Event.vala"
_tmp13_ = g_strdup (_tmp12_);
-#line 791 "/home/jens/Source/shotwell/src/Event.vala"
+#line 793 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (self->priv->raw_name);
-#line 791 "/home/jens/Source/shotwell/src/Event.vala"
+#line 793 "/home/jens/Source/shotwell/src/Event.vala"
self->priv->raw_name = _tmp13_;
-#line 792 "/home/jens/Source/shotwell/src/Event.vala"
+#line 794 "/home/jens/Source/shotwell/src/Event.vala"
event_update_indexable_keywords (self);
-#line 793 "/home/jens/Source/shotwell/src/Event.vala"
+#line 795 "/home/jens/Source/shotwell/src/Event.vala"
_tmp14_ = alteration_new_from_list ("metadata:name, indexable:keywords");
-#line 793 "/home/jens/Source/shotwell/src/Event.vala"
+#line 795 "/home/jens/Source/shotwell/src/Event.vala"
_tmp15_ = _tmp14_;
-#line 793 "/home/jens/Source/shotwell/src/Event.vala"
+#line 795 "/home/jens/Source/shotwell/src/Event.vala"
data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp15_);
-#line 793 "/home/jens/Source/shotwell/src/Event.vala"
+#line 795 "/home/jens/Source/shotwell/src/Event.vala"
_alteration_unref0 (_tmp15_);
-#line 6268 "Event.c"
+#line 6270 "Event.c"
}
-#line 796 "/home/jens/Source/shotwell/src/Event.vala"
+#line 798 "/home/jens/Source/shotwell/src/Event.vala"
result = renamed;
-#line 796 "/home/jens/Source/shotwell/src/Event.vala"
+#line 798 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (new_name);
-#line 796 "/home/jens/Source/shotwell/src/Event.vala"
+#line 798 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6276 "Event.c"
+#line 6278 "Event.c"
}
@@ -6289,60 +6291,60 @@ static gboolean event_real_set_comment (EventSource* base, const gchar* comment)
const gchar* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
-#line 799 "/home/jens/Source/shotwell/src/Event.vala"
+#line 801 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 800 "/home/jens/Source/shotwell/src/Event.vala"
+#line 802 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = comment;
-#line 800 "/home/jens/Source/shotwell/src/Event.vala"
+#line 802 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = media_source_prep_comment (_tmp0_);
-#line 800 "/home/jens/Source/shotwell/src/Event.vala"
- new_comment = _tmp1_;
#line 802 "/home/jens/Source/shotwell/src/Event.vala"
+ new_comment = _tmp1_;
+#line 804 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = event_event_table;
-#line 802 "/home/jens/Source/shotwell/src/Event.vala"
+#line 804 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = self->priv->event_id;
-#line 802 "/home/jens/Source/shotwell/src/Event.vala"
+#line 804 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = new_comment;
-#line 802 "/home/jens/Source/shotwell/src/Event.vala"
+#line 804 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = event_table_set_comment (_tmp2_, &_tmp3_, _tmp4_);
-#line 802 "/home/jens/Source/shotwell/src/Event.vala"
+#line 804 "/home/jens/Source/shotwell/src/Event.vala"
committed = _tmp5_;
-#line 803 "/home/jens/Source/shotwell/src/Event.vala"
+#line 805 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = committed;
-#line 803 "/home/jens/Source/shotwell/src/Event.vala"
+#line 805 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp6_) {
-#line 6314 "Event.c"
+#line 6316 "Event.c"
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
Alteration* _tmp9_ = NULL;
Alteration* _tmp10_ = NULL;
-#line 804 "/home/jens/Source/shotwell/src/Event.vala"
+#line 806 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = new_comment;
-#line 804 "/home/jens/Source/shotwell/src/Event.vala"
+#line 806 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = g_strdup (_tmp7_);
-#line 804 "/home/jens/Source/shotwell/src/Event.vala"
+#line 806 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (self->priv->comment);
-#line 804 "/home/jens/Source/shotwell/src/Event.vala"
+#line 806 "/home/jens/Source/shotwell/src/Event.vala"
self->priv->comment = _tmp8_;
-#line 805 "/home/jens/Source/shotwell/src/Event.vala"
+#line 807 "/home/jens/Source/shotwell/src/Event.vala"
event_update_indexable_keywords (self);
-#line 806 "/home/jens/Source/shotwell/src/Event.vala"
+#line 808 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = alteration_new_from_list ("metadata:comment, indexable:keywords");
-#line 806 "/home/jens/Source/shotwell/src/Event.vala"
+#line 808 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = _tmp9_;
-#line 806 "/home/jens/Source/shotwell/src/Event.vala"
+#line 808 "/home/jens/Source/shotwell/src/Event.vala"
data_object_notify_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_DATA_OBJECT, DataObject), _tmp10_);
-#line 806 "/home/jens/Source/shotwell/src/Event.vala"
+#line 808 "/home/jens/Source/shotwell/src/Event.vala"
_alteration_unref0 (_tmp10_);
-#line 6337 "Event.c"
+#line 6339 "Event.c"
}
-#line 809 "/home/jens/Source/shotwell/src/Event.vala"
+#line 811 "/home/jens/Source/shotwell/src/Event.vala"
result = committed;
-#line 809 "/home/jens/Source/shotwell/src/Event.vala"
+#line 811 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (new_comment);
-#line 809 "/home/jens/Source/shotwell/src/Event.vala"
+#line 811 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6345 "Event.c"
+#line 6347 "Event.c"
}
@@ -6351,19 +6353,19 @@ time_t event_get_creation_time (Event* self) {
EventTable* _tmp0_ = NULL;
EventID _tmp1_ = {0};
time_t _tmp2_ = 0;
-#line 812 "/home/jens/Source/shotwell/src/Event.vala"
+#line 814 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (IS_EVENT (self), 0);
-#line 813 "/home/jens/Source/shotwell/src/Event.vala"
+#line 815 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = event_event_table;
-#line 813 "/home/jens/Source/shotwell/src/Event.vala"
+#line 815 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = self->priv->event_id;
-#line 813 "/home/jens/Source/shotwell/src/Event.vala"
+#line 815 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = event_table_get_time_created (_tmp0_, &_tmp1_);
-#line 813 "/home/jens/Source/shotwell/src/Event.vala"
+#line 815 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp2_;
-#line 813 "/home/jens/Source/shotwell/src/Event.vala"
+#line 815 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6366 "Event.c"
+#line 6368 "Event.c"
}
@@ -6373,27 +6375,27 @@ static time_t event_real_get_start_time (EventSource* base) {
gint count = 0;
ViewCollection* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 816 "/home/jens/Source/shotwell/src/Event.vala"
+#line 818 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 819 "/home/jens/Source/shotwell/src/Event.vala"
+#line 821 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->view;
-#line 819 "/home/jens/Source/shotwell/src/Event.vala"
+#line 821 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection));
-#line 819 "/home/jens/Source/shotwell/src/Event.vala"
+#line 821 "/home/jens/Source/shotwell/src/Event.vala"
count = _tmp1_;
-#line 6384 "Event.c"
+#line 6386 "Event.c"
{
gint i = 0;
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
i = 0;
-#line 6389 "Event.c"
+#line 6391 "Event.c"
{
gboolean _tmp2_ = FALSE;
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = TRUE;
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
while (TRUE) {
-#line 6396 "Event.c"
+#line 6398 "Event.c"
gint _tmp4_ = 0;
gint _tmp5_ = 0;
time_t time = 0;
@@ -6406,68 +6408,68 @@ static time_t event_real_get_start_time (EventSource* base) {
time_t _tmp12_ = 0;
time_t _tmp13_ = 0;
time_t _tmp14_ = 0;
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
if (!_tmp2_) {
-#line 6411 "Event.c"
+#line 6413 "Event.c"
gint _tmp3_ = 0;
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = i;
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
i = _tmp3_ + 1;
-#line 6417 "Event.c"
+#line 6419 "Event.c"
}
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = FALSE;
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = i;
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = count;
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
if (!(_tmp4_ < _tmp5_)) {
-#line 820 "/home/jens/Source/shotwell/src/Event.vala"
+#line 822 "/home/jens/Source/shotwell/src/Event.vala"
break;
-#line 6429 "Event.c"
+#line 6431 "Event.c"
}
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = self->priv->view;
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = i;
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection), _tmp7_);
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_VIEW, DataView);
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = data_view_get_source (_tmp9_);
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
_tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_MEDIA_SOURCE, MediaSource);
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
_tmp12_ = media_source_get_exposure_time (_tmp11_);
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
_tmp13_ = _tmp12_;
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp11_);
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp9_);
-#line 821 "/home/jens/Source/shotwell/src/Event.vala"
+#line 823 "/home/jens/Source/shotwell/src/Event.vala"
time = _tmp13_;
-#line 822 "/home/jens/Source/shotwell/src/Event.vala"
+#line 824 "/home/jens/Source/shotwell/src/Event.vala"
_tmp14_ = time;
-#line 822 "/home/jens/Source/shotwell/src/Event.vala"
+#line 824 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp14_ != ((time_t) 0)) {
-#line 823 "/home/jens/Source/shotwell/src/Event.vala"
+#line 825 "/home/jens/Source/shotwell/src/Event.vala"
result = time;
-#line 823 "/home/jens/Source/shotwell/src/Event.vala"
+#line 825 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6461 "Event.c"
+#line 6463 "Event.c"
}
}
}
}
-#line 826 "/home/jens/Source/shotwell/src/Event.vala"
+#line 828 "/home/jens/Source/shotwell/src/Event.vala"
result = (time_t) 0;
-#line 826 "/home/jens/Source/shotwell/src/Event.vala"
+#line 828 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6470 "Event.c"
+#line 6472 "Event.c"
}
@@ -6486,49 +6488,49 @@ static time_t event_real_get_end_time (EventSource* base) {
MediaSource* _tmp8_ = NULL;
time_t _tmp9_ = 0;
time_t _tmp10_ = 0;
-#line 829 "/home/jens/Source/shotwell/src/Event.vala"
+#line 831 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 830 "/home/jens/Source/shotwell/src/Event.vala"
+#line 832 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->view;
-#line 830 "/home/jens/Source/shotwell/src/Event.vala"
+#line 832 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection));
-#line 830 "/home/jens/Source/shotwell/src/Event.vala"
+#line 832 "/home/jens/Source/shotwell/src/Event.vala"
count = _tmp1_;
-#line 834 "/home/jens/Source/shotwell/src/Event.vala"
+#line 836 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = count;
-#line 834 "/home/jens/Source/shotwell/src/Event.vala"
+#line 836 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp2_ == 0) {
-#line 835 "/home/jens/Source/shotwell/src/Event.vala"
+#line 837 "/home/jens/Source/shotwell/src/Event.vala"
result = (time_t) 0;
-#line 835 "/home/jens/Source/shotwell/src/Event.vala"
+#line 837 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6505 "Event.c"
+#line 6507 "Event.c"
}
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = self->priv->view;
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = count;
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = data_collection_get_at (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), _tmp4_ - 1);
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_VIEW, DataView);
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = data_view_get_source (_tmp6_);
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_MEDIA_SOURCE, MediaSource);
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = media_source_get_exposure_time (_tmp8_);
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = _tmp9_;
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp8_);
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp6_);
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp10_;
-#line 837 "/home/jens/Source/shotwell/src/Event.vala"
+#line 839 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6531 "Event.c"
+#line 6533 "Event.c"
}
@@ -6536,32 +6538,32 @@ static guint64 event_real_get_total_filesize (EventSource* base) {
Event * self;
guint64 result = 0ULL;
guint64 total = 0ULL;
-#line 840 "/home/jens/Source/shotwell/src/Event.vala"
+#line 842 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 841 "/home/jens/Source/shotwell/src/Event.vala"
+#line 843 "/home/jens/Source/shotwell/src/Event.vala"
total = (guint64) 0;
-#line 6543 "Event.c"
+#line 6545 "Event.c"
{
GeeIterator* _current_source_it = NULL;
GeeCollection* _tmp0_ = NULL;
GeeCollection* _tmp1_ = NULL;
GeeIterator* _tmp2_ = NULL;
GeeIterator* _tmp3_ = NULL;
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = event_source_get_media (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EVENT_SOURCE, EventSource));
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = _tmp0_;
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = _tmp2_;
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp1_);
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_current_source_it = _tmp3_;
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
while (TRUE) {
-#line 6564 "Event.c"
+#line 6566 "Event.c"
GeeIterator* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
MediaSource* current_source = NULL;
@@ -6570,43 +6572,43 @@ static guint64 event_real_get_total_filesize (EventSource* base) {
guint64 _tmp8_ = 0ULL;
MediaSource* _tmp9_ = NULL;
guint64 _tmp10_ = 0ULL;
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = _current_source_it;
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = gee_iterator_next (_tmp4_);
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
if (!_tmp5_) {
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
break;
-#line 6581 "Event.c"
+#line 6583 "Event.c"
}
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = _current_source_it;
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = gee_iterator_get (_tmp6_);
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
current_source = (MediaSource*) _tmp7_;
-#line 843 "/home/jens/Source/shotwell/src/Event.vala"
+#line 845 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = total;
-#line 843 "/home/jens/Source/shotwell/src/Event.vala"
+#line 845 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = current_source;
-#line 843 "/home/jens/Source/shotwell/src/Event.vala"
+#line 845 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = media_source_get_filesize (_tmp9_);
-#line 843 "/home/jens/Source/shotwell/src/Event.vala"
+#line 845 "/home/jens/Source/shotwell/src/Event.vala"
total = _tmp8_ + _tmp10_;
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (current_source);
-#line 6599 "Event.c"
+#line 6601 "Event.c"
}
-#line 842 "/home/jens/Source/shotwell/src/Event.vala"
+#line 844 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_current_source_it);
-#line 6603 "Event.c"
+#line 6605 "Event.c"
}
-#line 846 "/home/jens/Source/shotwell/src/Event.vala"
+#line 848 "/home/jens/Source/shotwell/src/Event.vala"
result = total;
-#line 846 "/home/jens/Source/shotwell/src/Event.vala"
+#line 848 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6609 "Event.c"
+#line 6611 "Event.c"
}
@@ -6615,17 +6617,17 @@ static gint event_real_get_media_count (EventSource* base) {
gint result = 0;
ViewCollection* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 849 "/home/jens/Source/shotwell/src/Event.vala"
+#line 851 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 850 "/home/jens/Source/shotwell/src/Event.vala"
+#line 852 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->view;
-#line 850 "/home/jens/Source/shotwell/src/Event.vala"
+#line 852 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_COLLECTION, DataCollection));
-#line 850 "/home/jens/Source/shotwell/src/Event.vala"
+#line 852 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp1_;
-#line 850 "/home/jens/Source/shotwell/src/Event.vala"
+#line 852 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6628 "Event.c"
+#line 6630 "Event.c"
}
@@ -6634,17 +6636,17 @@ static GeeCollection* event_real_get_media (EventSource* base) {
GeeCollection* result = NULL;
ViewCollection* _tmp0_ = NULL;
GeeCollection* _tmp1_ = NULL;
-#line 853 "/home/jens/Source/shotwell/src/Event.vala"
+#line 855 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 854 "/home/jens/Source/shotwell/src/Event.vala"
+#line 856 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->view;
-#line 854 "/home/jens/Source/shotwell/src/Event.vala"
+#line 856 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = view_collection_get_sources (_tmp0_);
-#line 854 "/home/jens/Source/shotwell/src/Event.vala"
+#line 856 "/home/jens/Source/shotwell/src/Event.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 854 "/home/jens/Source/shotwell/src/Event.vala"
+#line 856 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6647 "Event.c"
+#line 6649 "Event.c"
}
@@ -6653,30 +6655,30 @@ void event_mirror_photos (Event* self, ViewCollection* view, CreateView mirrorin
ViewCollection* _tmp1_ = NULL;
CreateView _tmp2_ = NULL;
void* _tmp2__target = NULL;
-#line 857 "/home/jens/Source/shotwell/src/Event.vala"
+#line 859 "/home/jens/Source/shotwell/src/Event.vala"
g_return_if_fail (IS_EVENT (self));
-#line 857 "/home/jens/Source/shotwell/src/Event.vala"
+#line 859 "/home/jens/Source/shotwell/src/Event.vala"
g_return_if_fail (IS_VIEW_COLLECTION (view));
-#line 858 "/home/jens/Source/shotwell/src/Event.vala"
+#line 860 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = view;
-#line 858 "/home/jens/Source/shotwell/src/Event.vala"
+#line 860 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = self->priv->view;
-#line 858 "/home/jens/Source/shotwell/src/Event.vala"
+#line 860 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = mirroring_ctor;
-#line 858 "/home/jens/Source/shotwell/src/Event.vala"
+#line 860 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2__target = mirroring_ctor_target;
-#line 858 "/home/jens/Source/shotwell/src/Event.vala"
+#line 860 "/home/jens/Source/shotwell/src/Event.vala"
view_collection_mirror (_tmp0_, _tmp1_, _tmp2_, _tmp2__target, NULL, NULL);
-#line 6670 "Event.c"
+#line 6672 "Event.c"
}
static void event_on_primary_thumbnail_altered (Event* self) {
-#line 861 "/home/jens/Source/shotwell/src/Event.vala"
+#line 863 "/home/jens/Source/shotwell/src/Event.vala"
g_return_if_fail (IS_EVENT (self));
-#line 862 "/home/jens/Source/shotwell/src/Event.vala"
+#line 864 "/home/jens/Source/shotwell/src/Event.vala"
thumbnail_source_notify_thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource));
-#line 6679 "Event.c"
+#line 6681 "Event.c"
}
@@ -6684,17 +6686,17 @@ MediaSource* event_get_primary_source (Event* self) {
MediaSource* result = NULL;
MediaSource* _tmp0_ = NULL;
MediaSource* _tmp1_ = NULL;
-#line 865 "/home/jens/Source/shotwell/src/Event.vala"
+#line 867 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (IS_EVENT (self), NULL);
-#line 866 "/home/jens/Source/shotwell/src/Event.vala"
+#line 868 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->primary_source;
-#line 866 "/home/jens/Source/shotwell/src/Event.vala"
+#line 868 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 866 "/home/jens/Source/shotwell/src/Event.vala"
+#line 868 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp1_;
-#line 866 "/home/jens/Source/shotwell/src/Event.vala"
+#line 868 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6697 "Event.c"
+#line 6699 "Event.c"
}
@@ -6712,81 +6714,81 @@ gboolean event_set_primary_source (Event* self, MediaSource* source) {
gboolean _tmp8_ = FALSE;
gboolean _tmp9_ = FALSE;
gboolean _tmp10_ = FALSE;
-#line 869 "/home/jens/Source/shotwell/src/Event.vala"
+#line 871 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (IS_EVENT (self), FALSE);
-#line 869 "/home/jens/Source/shotwell/src/Event.vala"
+#line 871 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (IS_MEDIA_SOURCE (source), FALSE);
-#line 870 "/home/jens/Source/shotwell/src/Event.vala"
+#line 872 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->view;
-#line 870 "/home/jens/Source/shotwell/src/Event.vala"
+#line 872 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = source;
-#line 870 "/home/jens/Source/shotwell/src/Event.vala"
+#line 872 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = view_collection_has_view_for_source (_tmp0_, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_SOURCE, DataSource));
-#line 870 "/home/jens/Source/shotwell/src/Event.vala"
- _vala_assert (_tmp2_, "view.has_view_for_source(source)");
#line 872 "/home/jens/Source/shotwell/src/Event.vala"
+ _vala_assert (_tmp2_, "view.has_view_for_source(source)");
+#line 874 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = event_event_table;
-#line 872 "/home/jens/Source/shotwell/src/Event.vala"
+#line 874 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = self->priv->event_id;
-#line 872 "/home/jens/Source/shotwell/src/Event.vala"
+#line 874 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = source;
-#line 872 "/home/jens/Source/shotwell/src/Event.vala"
+#line 874 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = data_source_get_source_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_SOURCE, DataSource));
-#line 872 "/home/jens/Source/shotwell/src/Event.vala"
+#line 874 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = _tmp6_;
-#line 872 "/home/jens/Source/shotwell/src/Event.vala"
+#line 874 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = event_table_set_primary_source_id (_tmp3_, &_tmp4_, _tmp7_);
-#line 872 "/home/jens/Source/shotwell/src/Event.vala"
+#line 874 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = _tmp8_;
-#line 872 "/home/jens/Source/shotwell/src/Event.vala"
+#line 874 "/home/jens/Source/shotwell/src/Event.vala"
_g_free0 (_tmp7_);
-#line 872 "/home/jens/Source/shotwell/src/Event.vala"
+#line 874 "/home/jens/Source/shotwell/src/Event.vala"
committed = _tmp9_;
-#line 873 "/home/jens/Source/shotwell/src/Event.vala"
+#line 875 "/home/jens/Source/shotwell/src/Event.vala"
_tmp10_ = committed;
-#line 873 "/home/jens/Source/shotwell/src/Event.vala"
+#line 875 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp10_) {
-#line 6749 "Event.c"
+#line 6751 "Event.c"
MediaSource* _tmp11_ = NULL;
MediaSource* _tmp14_ = NULL;
MediaSource* _tmp15_ = NULL;
MediaSource* _tmp16_ = NULL;
-#line 875 "/home/jens/Source/shotwell/src/Event.vala"
+#line 877 "/home/jens/Source/shotwell/src/Event.vala"
_tmp11_ = self->priv->primary_source;
-#line 875 "/home/jens/Source/shotwell/src/Event.vala"
+#line 877 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp11_ != NULL) {
-#line 6758 "Event.c"
+#line 6760 "Event.c"
MediaSource* _tmp12_ = NULL;
guint _tmp13_ = 0U;
-#line 876 "/home/jens/Source/shotwell/src/Event.vala"
+#line 878 "/home/jens/Source/shotwell/src/Event.vala"
_tmp12_ = self->priv->primary_source;
-#line 876 "/home/jens/Source/shotwell/src/Event.vala"
+#line 878 "/home/jens/Source/shotwell/src/Event.vala"
g_signal_parse_name ("thumbnail-altered", TYPE_THUMBNAIL_SOURCE, &_tmp13_, NULL, FALSE);
-#line 876 "/home/jens/Source/shotwell/src/Event.vala"
+#line 878 "/home/jens/Source/shotwell/src/Event.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _event_on_primary_thumbnail_altered_thumbnail_source_thumbnail_altered, self);
-#line 6767 "Event.c"
+#line 6769 "Event.c"
}
-#line 878 "/home/jens/Source/shotwell/src/Event.vala"
+#line 880 "/home/jens/Source/shotwell/src/Event.vala"
_tmp14_ = source;
-#line 878 "/home/jens/Source/shotwell/src/Event.vala"
+#line 880 "/home/jens/Source/shotwell/src/Event.vala"
_tmp15_ = _g_object_ref0 (_tmp14_);
-#line 878 "/home/jens/Source/shotwell/src/Event.vala"
+#line 880 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (self->priv->primary_source);
-#line 878 "/home/jens/Source/shotwell/src/Event.vala"
+#line 880 "/home/jens/Source/shotwell/src/Event.vala"
self->priv->primary_source = _tmp15_;
-#line 879 "/home/jens/Source/shotwell/src/Event.vala"
+#line 881 "/home/jens/Source/shotwell/src/Event.vala"
_tmp16_ = self->priv->primary_source;
-#line 879 "/home/jens/Source/shotwell/src/Event.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), "thumbnail-altered", (GCallback) _event_on_primary_thumbnail_altered_thumbnail_source_thumbnail_altered, self, 0);
#line 881 "/home/jens/Source/shotwell/src/Event.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), "thumbnail-altered", (GCallback) _event_on_primary_thumbnail_altered_thumbnail_source_thumbnail_altered, self, 0);
+#line 883 "/home/jens/Source/shotwell/src/Event.vala"
thumbnail_source_notify_thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource));
-#line 6783 "Event.c"
+#line 6785 "Event.c"
}
-#line 884 "/home/jens/Source/shotwell/src/Event.vala"
+#line 886 "/home/jens/Source/shotwell/src/Event.vala"
result = committed;
-#line 884 "/home/jens/Source/shotwell/src/Event.vala"
+#line 886 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6789 "Event.c"
+#line 6791 "Event.c"
}
@@ -6794,27 +6796,27 @@ static void event_release_primary_source (Event* self) {
MediaSource* _tmp0_ = NULL;
MediaSource* _tmp1_ = NULL;
guint _tmp2_ = 0U;
-#line 887 "/home/jens/Source/shotwell/src/Event.vala"
+#line 889 "/home/jens/Source/shotwell/src/Event.vala"
g_return_if_fail (IS_EVENT (self));
-#line 888 "/home/jens/Source/shotwell/src/Event.vala"
+#line 890 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->primary_source;
-#line 888 "/home/jens/Source/shotwell/src/Event.vala"
+#line 890 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp0_ == NULL) {
-#line 889 "/home/jens/Source/shotwell/src/Event.vala"
+#line 891 "/home/jens/Source/shotwell/src/Event.vala"
return;
-#line 6805 "Event.c"
+#line 6807 "Event.c"
}
-#line 891 "/home/jens/Source/shotwell/src/Event.vala"
+#line 893 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = self->priv->primary_source;
-#line 891 "/home/jens/Source/shotwell/src/Event.vala"
+#line 893 "/home/jens/Source/shotwell/src/Event.vala"
g_signal_parse_name ("thumbnail-altered", TYPE_THUMBNAIL_SOURCE, &_tmp2_, NULL, FALSE);
-#line 891 "/home/jens/Source/shotwell/src/Event.vala"
+#line 893 "/home/jens/Source/shotwell/src/Event.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _event_on_primary_thumbnail_altered_thumbnail_source_thumbnail_altered, self);
-#line 892 "/home/jens/Source/shotwell/src/Event.vala"
+#line 894 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (self->priv->primary_source);
-#line 892 "/home/jens/Source/shotwell/src/Event.vala"
+#line 894 "/home/jens/Source/shotwell/src/Event.vala"
self->priv->primary_source = NULL;
-#line 6817 "Event.c"
+#line 6819 "Event.c"
}
@@ -6824,59 +6826,59 @@ static GdkPixbuf* event_real_get_thumbnail (ThumbnailSource* base, gint scale, G
GdkPixbuf* _tmp0_ = NULL;
MediaSource* _tmp1_ = NULL;
GError * _inner_error_ = NULL;
-#line 895 "/home/jens/Source/shotwell/src/Event.vala"
+#line 897 "/home/jens/Source/shotwell/src/Event.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = self->priv->primary_source;
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp1_ != NULL) {
-#line 6833 "Event.c"
+#line 6835 "Event.c"
MediaSource* _tmp2_ = NULL;
gint _tmp3_ = 0;
GdkPixbuf* _tmp4_ = NULL;
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = self->priv->primary_source;
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = scale;
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = thumbnail_source_get_thumbnail (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), _tmp3_, &_inner_error_);
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp0_);
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = _tmp4_;
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
g_propagate_error (error, _inner_error_);
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp0_);
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
return NULL;
-#line 6855 "Event.c"
+#line 6857 "Event.c"
}
} else {
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp0_);
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = NULL;
-#line 6862 "Event.c"
+#line 6864 "Event.c"
}
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp0_;
-#line 896 "/home/jens/Source/shotwell/src/Event.vala"
+#line 898 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6868 "Event.c"
+#line 6870 "Event.c"
}
GdkPixbuf* event_get_preview_pixbuf (Event* self, Scaling* scaling) {
GdkPixbuf* result = NULL;
GError * _inner_error_ = NULL;
-#line 899 "/home/jens/Source/shotwell/src/Event.vala"
+#line 901 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (IS_EVENT (self), NULL);
-#line 899 "/home/jens/Source/shotwell/src/Event.vala"
+#line 901 "/home/jens/Source/shotwell/src/Event.vala"
g_return_val_if_fail (scaling != NULL, NULL);
-#line 6879 "Event.c"
+#line 6881 "Event.c"
{
GdkPixbuf* _tmp0_ = NULL;
MediaSource* _tmp1_ = NULL;
@@ -6885,61 +6887,61 @@ GdkPixbuf* event_get_preview_pixbuf (Event* self, Scaling* scaling) {
GdkPixbuf* _tmp4_ = NULL;
GdkPixbuf* _tmp5_ = NULL;
GdkPixbuf* _tmp6_ = NULL;
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = event_get_primary_source (self);
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = _tmp1_;
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = *scaling;
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = media_source_get_preview_pixbuf (_tmp2_, &_tmp3_, &_inner_error_);
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = _tmp4_;
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp2_);
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = _tmp5_;
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 6904 "Event.c"
+#line 6906 "Event.c"
goto __catch430_g_error;
}
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = _tmp0_;
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = NULL;
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
result = _tmp6_;
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_tmp0_);
-#line 901 "/home/jens/Source/shotwell/src/Event.vala"
+#line 903 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6917 "Event.c"
+#line 6919 "Event.c"
}
goto __finally430;
__catch430_g_error:
{
GError* err = NULL;
-#line 900 "/home/jens/Source/shotwell/src/Event.vala"
+#line 902 "/home/jens/Source/shotwell/src/Event.vala"
err = _inner_error_;
-#line 900 "/home/jens/Source/shotwell/src/Event.vala"
+#line 902 "/home/jens/Source/shotwell/src/Event.vala"
_inner_error_ = NULL;
-#line 903 "/home/jens/Source/shotwell/src/Event.vala"
+#line 905 "/home/jens/Source/shotwell/src/Event.vala"
result = NULL;
-#line 903 "/home/jens/Source/shotwell/src/Event.vala"
+#line 905 "/home/jens/Source/shotwell/src/Event.vala"
_g_error_free0 (err);
-#line 903 "/home/jens/Source/shotwell/src/Event.vala"
+#line 905 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 6933 "Event.c"
+#line 6935 "Event.c"
}
__finally430:
-#line 900 "/home/jens/Source/shotwell/src/Event.vala"
+#line 902 "/home/jens/Source/shotwell/src/Event.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 900 "/home/jens/Source/shotwell/src/Event.vala"
+#line 902 "/home/jens/Source/shotwell/src/Event.vala"
g_clear_error (&_inner_error_);
-#line 900 "/home/jens/Source/shotwell/src/Event.vala"
+#line 902 "/home/jens/Source/shotwell/src/Event.vala"
return NULL;
-#line 6942 "Event.c"
+#line 6944 "Event.c"
}
@@ -6953,36 +6955,36 @@ static void event_real_destroy (DataSource* base) {
VideoTable* _tmp8_ = NULL;
EventID _tmp9_ = {0};
GError * _inner_error_ = NULL;
-#line 907 "/home/jens/Source/shotwell/src/Event.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
#line 909 "/home/jens/Source/shotwell/src/Event.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENT, Event);
+#line 911 "/home/jens/Source/shotwell/src/Event.vala"
_tmp0_ = self->priv->view;
-#line 909 "/home/jens/Source/shotwell/src/Event.vala"
+#line 911 "/home/jens/Source/shotwell/src/Event.vala"
view_collection_halt_all_monitoring (_tmp0_);
-#line 6962 "Event.c"
+#line 6964 "Event.c"
{
EventTable* _tmp1_ = NULL;
EventID _tmp2_ = {0};
-#line 913 "/home/jens/Source/shotwell/src/Event.vala"
+#line 915 "/home/jens/Source/shotwell/src/Event.vala"
_tmp1_ = event_event_table;
-#line 913 "/home/jens/Source/shotwell/src/Event.vala"
+#line 915 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = self->priv->event_id;
-#line 913 "/home/jens/Source/shotwell/src/Event.vala"
+#line 915 "/home/jens/Source/shotwell/src/Event.vala"
event_table_remove (_tmp1_, &_tmp2_, &_inner_error_);
-#line 913 "/home/jens/Source/shotwell/src/Event.vala"
+#line 915 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 913 "/home/jens/Source/shotwell/src/Event.vala"
+#line 915 "/home/jens/Source/shotwell/src/Event.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
-#line 6976 "Event.c"
+#line 6978 "Event.c"
goto __catch431_database_error;
}
-#line 913 "/home/jens/Source/shotwell/src/Event.vala"
+#line 915 "/home/jens/Source/shotwell/src/Event.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);
-#line 913 "/home/jens/Source/shotwell/src/Event.vala"
+#line 915 "/home/jens/Source/shotwell/src/Event.vala"
g_clear_error (&_inner_error_);
-#line 913 "/home/jens/Source/shotwell/src/Event.vala"
+#line 915 "/home/jens/Source/shotwell/src/Event.vala"
return;
-#line 6985 "Event.c"
+#line 6987 "Event.c"
}
}
goto __finally431;
@@ -6990,59 +6992,59 @@ static void event_real_destroy (DataSource* base) {
{
GError* err = NULL;
GError* _tmp3_ = NULL;
-#line 912 "/home/jens/Source/shotwell/src/Event.vala"
+#line 914 "/home/jens/Source/shotwell/src/Event.vala"
err = _inner_error_;
-#line 912 "/home/jens/Source/shotwell/src/Event.vala"
+#line 914 "/home/jens/Source/shotwell/src/Event.vala"
_inner_error_ = NULL;
-#line 915 "/home/jens/Source/shotwell/src/Event.vala"
+#line 917 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = err;
-#line 915 "/home/jens/Source/shotwell/src/Event.vala"
+#line 917 "/home/jens/Source/shotwell/src/Event.vala"
app_window_database_error (_tmp3_);
-#line 912 "/home/jens/Source/shotwell/src/Event.vala"
+#line 914 "/home/jens/Source/shotwell/src/Event.vala"
_g_error_free0 (err);
-#line 7003 "Event.c"
+#line 7005 "Event.c"
}
__finally431:
-#line 912 "/home/jens/Source/shotwell/src/Event.vala"
+#line 914 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 912 "/home/jens/Source/shotwell/src/Event.vala"
+#line 914 "/home/jens/Source/shotwell/src/Event.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 912 "/home/jens/Source/shotwell/src/Event.vala"
+#line 914 "/home/jens/Source/shotwell/src/Event.vala"
g_clear_error (&_inner_error_);
-#line 912 "/home/jens/Source/shotwell/src/Event.vala"
+#line 914 "/home/jens/Source/shotwell/src/Event.vala"
return;
-#line 7014 "Event.c"
+#line 7016 "Event.c"
}
-#line 919 "/home/jens/Source/shotwell/src/Event.vala"
+#line 921 "/home/jens/Source/shotwell/src/Event.vala"
_tmp4_ = photo_table_get_instance ();
-#line 919 "/home/jens/Source/shotwell/src/Event.vala"
+#line 921 "/home/jens/Source/shotwell/src/Event.vala"
_tmp5_ = _tmp4_;
-#line 919 "/home/jens/Source/shotwell/src/Event.vala"
+#line 921 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = self->priv->event_id;
-#line 919 "/home/jens/Source/shotwell/src/Event.vala"
+#line 921 "/home/jens/Source/shotwell/src/Event.vala"
photo_table_drop_event (_tmp5_, &_tmp6_);
-#line 919 "/home/jens/Source/shotwell/src/Event.vala"
+#line 921 "/home/jens/Source/shotwell/src/Event.vala"
_database_table_unref0 (_tmp5_);
-#line 920 "/home/jens/Source/shotwell/src/Event.vala"
+#line 922 "/home/jens/Source/shotwell/src/Event.vala"
_tmp7_ = video_table_get_instance ();
-#line 920 "/home/jens/Source/shotwell/src/Event.vala"
+#line 922 "/home/jens/Source/shotwell/src/Event.vala"
_tmp8_ = _tmp7_;
-#line 920 "/home/jens/Source/shotwell/src/Event.vala"
+#line 922 "/home/jens/Source/shotwell/src/Event.vala"
_tmp9_ = self->priv->event_id;
-#line 920 "/home/jens/Source/shotwell/src/Event.vala"
+#line 922 "/home/jens/Source/shotwell/src/Event.vala"
video_table_drop_event (_tmp8_, &_tmp9_);
-#line 920 "/home/jens/Source/shotwell/src/Event.vala"
- _database_table_unref0 (_tmp8_);
#line 922 "/home/jens/Source/shotwell/src/Event.vala"
+ _database_table_unref0 (_tmp8_);
+#line 924 "/home/jens/Source/shotwell/src/Event.vala"
DATA_SOURCE_CLASS (event_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EVENT_SOURCE, EventSource), TYPE_DATA_SOURCE, DataSource));
-#line 7038 "Event.c"
+#line 7040 "Event.c"
}
static void _event_event_snapshot_on_attached_source_destroyed_source_collection_item_destroyed (SourceCollection* _sender, DataSource* source, gpointer self) {
#line 126 "/home/jens/Source/shotwell/src/Event.vala"
event_event_snapshot_on_attached_source_destroyed ((EventEventSnapshot*) self, source);
-#line 7045 "Event.c"
+#line 7047 "Event.c"
}
@@ -7085,7 +7087,7 @@ static EventEventSnapshot* event_event_snapshot_construct (GType object_type, Ev
_g_object_unref0 (self->priv->primary_source);
#line 113 "/home/jens/Source/shotwell/src/Event.vala"
self->priv->primary_source = _tmp6_;
-#line 7088 "Event.c"
+#line 7090 "Event.c"
{
GeeIterator* _source_it = NULL;
Event* _tmp7_ = NULL;
@@ -7109,7 +7111,7 @@ static EventEventSnapshot* event_event_snapshot_construct (GType object_type, Ev
_source_it = _tmp11_;
#line 118 "/home/jens/Source/shotwell/src/Event.vala"
while (TRUE) {
-#line 7112 "Event.c"
+#line 7114 "Event.c"
GeeIterator* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
MediaSource* source = NULL;
@@ -7125,7 +7127,7 @@ static EventEventSnapshot* event_event_snapshot_construct (GType object_type, Ev
if (!_tmp13_) {
#line 118 "/home/jens/Source/shotwell/src/Event.vala"
break;
-#line 7128 "Event.c"
+#line 7130 "Event.c"
}
#line 118 "/home/jens/Source/shotwell/src/Event.vala"
_tmp14_ = _source_it;
@@ -7141,11 +7143,11 @@ static EventEventSnapshot* event_event_snapshot_construct (GType object_type, Ev
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp17_);
#line 118 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (source);
-#line 7144 "Event.c"
+#line 7146 "Event.c"
}
#line 118 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (_source_it);
-#line 7148 "Event.c"
+#line 7150 "Event.c"
}
#line 121 "/home/jens/Source/shotwell/src/Event.vala"
_tmp18_ = library_photo_global;
@@ -7157,21 +7159,21 @@ static EventEventSnapshot* event_event_snapshot_construct (GType object_type, Ev
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_SOURCE_COLLECTION, SourceCollection), "item-destroyed", (GCallback) _event_event_snapshot_on_attached_source_destroyed_source_collection_item_destroyed, self);
#line 110 "/home/jens/Source/shotwell/src/Event.vala"
return self;
-#line 7160 "Event.c"
+#line 7162 "Event.c"
}
static EventEventSnapshot* event_event_snapshot_new (Event* event) {
#line 110 "/home/jens/Source/shotwell/src/Event.vala"
return event_event_snapshot_construct (EVENT_TYPE_EVENT_SNAPSHOT, event);
-#line 7167 "Event.c"
+#line 7169 "Event.c"
}
static gpointer _event_row_ref0 (gpointer self) {
#line 131 "/home/jens/Source/shotwell/src/Event.vala"
return self ? event_row_ref (self) : NULL;
-#line 7174 "Event.c"
+#line 7176 "Event.c"
}
@@ -7189,7 +7191,7 @@ static EventRow* event_event_snapshot_get_row (EventEventSnapshot* self) {
result = _tmp1_;
#line 131 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 7192 "Event.c"
+#line 7194 "Event.c"
}
@@ -7215,7 +7217,7 @@ static void event_event_snapshot_real_notify_broken (SourceSnapshot* base) {
gee_abstract_collection_clear (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
#line 139 "/home/jens/Source/shotwell/src/Event.vala"
SOURCE_SNAPSHOT_CLASS (event_event_snapshot_parent_class)->notify_broken (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_SNAPSHOT, SourceSnapshot));
-#line 7218 "Event.c"
+#line 7220 "Event.c"
}
@@ -7239,7 +7241,7 @@ static void event_event_snapshot_on_attached_source_destroyed (EventEventSnapsho
_tmp3_ = media_source;
#line 146 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp3_ != NULL) {
-#line 7242 "Event.c"
+#line 7244 "Event.c"
MediaSource* _tmp4_ = NULL;
MediaSource* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
@@ -7251,17 +7253,17 @@ static void event_event_snapshot_on_attached_source_destroyed (EventEventSnapsho
_tmp6_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_SOURCE, DataSource));
#line 146 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = _tmp6_;
-#line 7254 "Event.c"
+#line 7256 "Event.c"
} else {
#line 146 "/home/jens/Source/shotwell/src/Event.vala"
_tmp2_ = FALSE;
-#line 7258 "Event.c"
+#line 7260 "Event.c"
}
#line 146 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp2_) {
#line 147 "/home/jens/Source/shotwell/src/Event.vala"
source_snapshot_notify_broken (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_SNAPSHOT, SourceSnapshot));
-#line 7264 "Event.c"
+#line 7266 "Event.c"
} else {
GeeArrayList* _tmp7_ = NULL;
MediaSource* _tmp8_ = NULL;
@@ -7276,12 +7278,12 @@ static void event_event_snapshot_on_attached_source_destroyed (EventEventSnapsho
if (_tmp9_) {
#line 149 "/home/jens/Source/shotwell/src/Event.vala"
source_snapshot_notify_broken (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SOURCE_SNAPSHOT, SourceSnapshot));
-#line 7279 "Event.c"
+#line 7281 "Event.c"
}
}
#line 142 "/home/jens/Source/shotwell/src/Event.vala"
_g_object_unref0 (media_source);
-#line 7284 "Event.c"
+#line 7286 "Event.c"
}
@@ -7294,7 +7296,7 @@ static void event_event_snapshot_class_init (EventEventSnapshotClass * klass) {
g_type_class_add_private (klass, sizeof (EventEventSnapshotPrivate));
#line 105 "/home/jens/Source/shotwell/src/Event.vala"
((SourceSnapshotClass *) klass)->notify_broken = event_event_snapshot_real_notify_broken;
-#line 7297 "Event.c"
+#line 7299 "Event.c"
}
@@ -7306,7 +7308,7 @@ static void event_event_snapshot_instance_init (EventEventSnapshot * self) {
_tmp0_ = gee_array_list_new (TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 108 "/home/jens/Source/shotwell/src/Event.vala"
self->priv->attached_sources = _tmp0_;
-#line 7309 "Event.c"
+#line 7311 "Event.c"
}
@@ -7338,7 +7340,7 @@ static void event_event_snapshot_finalize (SourceSnapshot* obj) {
_g_object_unref0 (self->priv->attached_sources);
#line 105 "/home/jens/Source/shotwell/src/Event.vala"
SOURCE_SNAPSHOT_CLASS (event_event_snapshot_parent_class)->finalize (obj);
-#line 7341 "Event.c"
+#line 7343 "Event.c"
}
@@ -7365,21 +7367,21 @@ static EventEventProxy* event_event_proxy_construct (GType object_type, Event* e
self = (EventEventProxy*) source_proxy_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DATA_SOURCE, DataSource));
#line 154 "/home/jens/Source/shotwell/src/Event.vala"
return self;
-#line 7368 "Event.c"
+#line 7370 "Event.c"
}
static EventEventProxy* event_event_proxy_new (Event* event) {
#line 154 "/home/jens/Source/shotwell/src/Event.vala"
return event_event_proxy_construct (EVENT_TYPE_EVENT_PROXY, event);
-#line 7375 "Event.c"
+#line 7377 "Event.c"
}
static gpointer _source_snapshot_ref0 (gpointer self) {
#line 159 "/home/jens/Source/shotwell/src/Event.vala"
return self ? source_snapshot_ref (self) : NULL;
-#line 7382 "Event.c"
+#line 7384 "Event.c"
}
@@ -7424,7 +7426,7 @@ static DataSource* event_event_proxy_real_reconstitute (SourceProxy* base, gint6
_source_snapshot_unref0 (event_snapshot);
#line 162 "/home/jens/Source/shotwell/src/Event.vala"
return result;
-#line 7427 "Event.c"
+#line 7429 "Event.c"
}
@@ -7433,7 +7435,7 @@ static void event_event_proxy_class_init (EventEventProxyClass * klass) {
event_event_proxy_parent_class = g_type_class_peek_parent (klass);
#line 153 "/home/jens/Source/shotwell/src/Event.vala"
((SourceProxyClass *) klass)->reconstitute = event_event_proxy_real_reconstitute;
-#line 7436 "Event.c"
+#line 7438 "Event.c"
}
@@ -7498,7 +7500,7 @@ static void event_class_init (EventClass * klass) {
((DataSourceClass *) klass)->destroy = event_real_destroy;
#line 94 "/home/jens/Source/shotwell/src/Event.vala"
G_OBJECT_CLASS (klass)->finalize = event_finalize;
-#line 7501 "Event.c"
+#line 7503 "Event.c"
}
@@ -7517,7 +7519,7 @@ static void event_container_source_interface_init (ContainerSourceIface * iface)
iface->establish_link = (void (*)(ContainerSource*, DataSource*)) event_real_establish_link;
#line 94 "/home/jens/Source/shotwell/src/Event.vala"
iface->establish_link_many = (void (*)(ContainerSource*, GeeCollection*)) event_real_establish_link_many;
-#line 7520 "Event.c"
+#line 7522 "Event.c"
}
@@ -7526,7 +7528,7 @@ static void event_proxyable_interface_init (ProxyableIface * iface) {
event_proxyable_parent_iface = g_type_interface_peek_parent (iface);
#line 94 "/home/jens/Source/shotwell/src/Event.vala"
iface->get_proxy = (SourceProxy* (*)(Proxyable*)) event_real_get_proxy;
-#line 7529 "Event.c"
+#line 7531 "Event.c"
}
@@ -7535,7 +7537,7 @@ static void event_indexable_interface_init (IndexableIface * iface) {
event_indexable_parent_iface = g_type_interface_peek_parent (iface);
#line 94 "/home/jens/Source/shotwell/src/Event.vala"
iface->get_indexable_keywords = (const gchar* (*)(Indexable*)) event_real_get_indexable_keywords;
-#line 7538 "Event.c"
+#line 7540 "Event.c"
}
@@ -7550,7 +7552,7 @@ static void event_instance_init (Event * self) {
self->priv->indexable_keywords = NULL;
#line 178 "/home/jens/Source/shotwell/src/Event.vala"
self->priv->comment = NULL;
-#line 7553 "Event.c"
+#line 7555 "Event.c"
}
@@ -7573,7 +7575,7 @@ static void event_finalize (GObject* obj) {
_tmp0_ = self->priv->primary_source;
#line 237 "/home/jens/Source/shotwell/src/Event.vala"
if (_tmp0_ != NULL) {
-#line 7576 "Event.c"
+#line 7578 "Event.c"
MediaSource* _tmp1_ = NULL;
guint _tmp2_ = 0U;
#line 238 "/home/jens/Source/shotwell/src/Event.vala"
@@ -7582,7 +7584,7 @@ static void event_finalize (GObject* obj) {
g_signal_parse_name ("thumbnail-altered", TYPE_THUMBNAIL_SOURCE, &_tmp2_, NULL, FALSE);
#line 238 "/home/jens/Source/shotwell/src/Event.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _event_on_primary_thumbnail_altered_thumbnail_source_thumbnail_altered, self);
-#line 7585 "Event.c"
+#line 7587 "Event.c"
}
#line 240 "/home/jens/Source/shotwell/src/Event.vala"
_tmp3_ = self->priv->view;
@@ -7626,7 +7628,7 @@ static void event_finalize (GObject* obj) {
_g_free0 (self->priv->comment);
#line 94 "/home/jens/Source/shotwell/src/Event.vala"
G_OBJECT_CLASS (event_parent_class)->finalize (obj);
-#line 7629 "Event.c"
+#line 7631 "Event.c"
}