summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/BatchImport.c12
-rw-r--r--src/DesktopIntegration.c228
-rw-r--r--src/DesktopIntegration.vala6
-rw-r--r--src/DirectoryMonitor.c7488
-rw-r--r--src/DirectoryMonitor.vala24
-rw-r--r--src/Page.c8535
-rw-r--r--src/Page.vala1
-rw-r--r--src/SearchFilter.c2
-rw-r--r--src/SearchFilter.vala2
-rw-r--r--src/camera/GPhoto.c964
-rw-r--r--src/camera/GPhoto.vala4
-rw-r--r--src/data_imports/DataImportsPluginHost.c12
-rw-r--r--src/data_imports/DataImportsUI.c677
-rw-r--r--src/data_imports/DataImportsUI.vala4
-rw-r--r--src/direct/DirectPhotoPage.c56
-rw-r--r--src/events/Branch.c112
-rw-r--r--src/photos/PhotoFileFormat.c24
-rw-r--r--src/photos/PhotoMetadata.c2922
-rw-r--r--src/photos/PhotoMetadata.vala7
-rw-r--r--src/publishing/PublishingUI.c2307
-rw-r--r--src/publishing/PublishingUI.vala2
-rw-r--r--src/searches/Branch.c2
-rw-r--r--src/searches/Branch.vala2
-rw-r--r--src/searches/SavedSearchDialog.c84
-rw-r--r--src/searches/SearchBoolean.c12
25 files changed, 11857 insertions, 11632 deletions
diff --git a/src/BatchImport.c b/src/BatchImport.c
index 382a63c..0f80e48 100644
--- a/src/BatchImport.c
+++ b/src/BatchImport.c
@@ -2124,9 +2124,9 @@ enum {
};
static void work_sniffer_real_execute (BackgroundJob* base);
static void work_sniffer_sniff_job (WorkSniffer* self, BatchImportJob* job, GError** error);
-static gint __lambda10_ (WorkSniffer* self, FileToPrepare* a, FileToPrepare* b);
+static gint __lambda11_ (WorkSniffer* self, FileToPrepare* a, FileToPrepare* b);
gint utf8_cs_compare (void* a, void* b);
-static gint ___lambda10__gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self);
+static gint ___lambda11__gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self);
void disassemble_filename (const gchar* basename, gchar** name, gchar** ext);
gboolean is_string_empty (const gchar* s);
gpointer photo_file_format_properties_ref (gpointer instance);
@@ -11771,7 +11771,7 @@ WorkSniffer* work_sniffer_new (BatchImport* owner, GeeIterable* jobs, Completion
}
-static gint __lambda10_ (WorkSniffer* self, FileToPrepare* a, FileToPrepare* b) {
+static gint __lambda11_ (WorkSniffer* self, FileToPrepare* a, FileToPrepare* b) {
gint result = 0;
FileToPrepare* file_a = NULL;
FileToPrepare* _tmp0_ = NULL;
@@ -11826,9 +11826,9 @@ static gint __lambda10_ (WorkSniffer* self, FileToPrepare* a, FileToPrepare* b)
}
-static gint ___lambda10__gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self) {
+static gint ___lambda11__gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self) {
gint result;
- result = __lambda10_ ((WorkSniffer*) self, (FileToPrepare*) a, (FileToPrepare*) b);
+ result = __lambda11_ ((WorkSniffer*) self, (FileToPrepare*) a, (FileToPrepare*) b);
#line 1483 "/home/jens/Source/shotwell/src/BatchImport.vala"
return result;
#line 11828 "BatchImport.c"
@@ -12106,7 +12106,7 @@ static void work_sniffer_real_execute (BackgroundJob* base) {
#line 1483 "/home/jens/Source/shotwell/src/BatchImport.vala"
_tmp42_ = sorted;
#line 1483 "/home/jens/Source/shotwell/src/BatchImport.vala"
- gee_list_sort (_tmp42_, ___lambda10__gcompare_data_func, background_job_ref (self), background_job_unref);
+ gee_list_sort (_tmp42_, ___lambda11__gcompare_data_func, background_job_ref (self), background_job_unref);
#line 12104 "BatchImport.c"
{
gint i = 0;
diff --git a/src/DesktopIntegration.c b/src/DesktopIntegration.c
index a93aaa1..6354479 100644
--- a/src/DesktopIntegration.c
+++ b/src/DesktopIntegration.c
@@ -1839,13 +1839,17 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
- GDataOutputStream* _tmp11_ = NULL;
- GFile* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
+ gchar* _tmp11_ = NULL;
+ gchar* _tmp12_ = NULL;
+ GDataOutputStream* _tmp13_ = NULL;
+ GFile* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
- GDataOutputStream* _tmp17_ = NULL;
+ gchar* _tmp17_ = NULL;
+ gchar* _tmp18_ = NULL;
+ gchar* _tmp19_ = NULL;
+ gchar* _tmp20_ = NULL;
+ GDataOutputStream* _tmp21_ = NULL;
GError * _inner_error_ = NULL;
#line 215 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
g_return_if_fail (DESKTOP_INTEGRATION_IS_BACKGROUND_SLIDESHOW_XML_BUILDER (self));
@@ -1863,7 +1867,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio
g_propagate_error (error, _inner_error_);
#line 216 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 1867 "DesktopIntegration.c"
+#line 1871 "DesktopIntegration.c"
}
#line 217 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp1_ = self->priv->outs;
@@ -1883,7 +1887,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio
g_propagate_error (error, _inner_error_);
#line 217 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 1887 "DesktopIntegration.c"
+#line 1891 "DesktopIntegration.c"
}
#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp5_ = self->priv->outs;
@@ -1894,11 +1898,17 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio
#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp8_ = _tmp7_;
#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp9_ = g_strdup_printf (" <from>%s</from>\n", _tmp8_);
+ _tmp9_ = g_markup_escape_text (_tmp8_, (gssize) -1);
#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp10_ = _tmp9_;
#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- g_data_output_stream_put_string (_tmp5_, _tmp10_, NULL, &_inner_error_);
+ _tmp11_ = g_strdup_printf (" <from>%s</from>\n", _tmp10_);
+#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
+ _tmp12_ = _tmp11_;
+#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
+ g_data_output_stream_put_string (_tmp5_, _tmp12_, NULL, &_inner_error_);
+#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
+ _g_free0 (_tmp12_);
#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_free0 (_tmp10_);
#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -1909,45 +1919,51 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio
g_propagate_error (error, _inner_error_);
#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 1913 "DesktopIntegration.c"
+#line 1923 "DesktopIntegration.c"
}
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp11_ = self->priv->outs;
+ _tmp13_ = self->priv->outs;
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp12_ = to;
+ _tmp14_ = to;
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp13_ = g_file_get_path (_tmp12_);
+ _tmp15_ = g_file_get_path (_tmp14_);
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp14_ = _tmp13_;
+ _tmp16_ = _tmp15_;
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp15_ = g_strdup_printf (" <to>%s</to>\n", _tmp14_);
+ _tmp17_ = g_markup_escape_text (_tmp16_, (gssize) -1);
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp16_ = _tmp15_;
+ _tmp18_ = _tmp17_;
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- g_data_output_stream_put_string (_tmp11_, _tmp16_, NULL, &_inner_error_);
+ _tmp19_ = g_strdup_printf (" <to>%s</to>\n", _tmp18_);
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _g_free0 (_tmp16_);
+ _tmp20_ = _tmp19_;
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _g_free0 (_tmp14_);
+ g_data_output_stream_put_string (_tmp13_, _tmp20_, NULL, &_inner_error_);
+#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
+ _g_free0 (_tmp20_);
+#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
+ _g_free0 (_tmp18_);
+#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
+ _g_free0 (_tmp16_);
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
g_propagate_error (error, _inner_error_);
#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 1939 "DesktopIntegration.c"
+#line 1955 "DesktopIntegration.c"
}
#line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp17_ = self->priv->outs;
+ _tmp21_ = self->priv->outs;
#line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- g_data_output_stream_put_string (_tmp17_, " </transition>\n", NULL, &_inner_error_);
+ g_data_output_stream_put_string (_tmp21_, " </transition>\n", NULL, &_inner_error_);
#line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
g_propagate_error (error, _inner_error_);
#line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 1951 "DesktopIntegration.c"
+#line 1967 "DesktopIntegration.c"
}
}
@@ -1964,7 +1980,9 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
- GDataOutputStream* _tmp11_ = NULL;
+ gchar* _tmp11_ = NULL;
+ gchar* _tmp12_ = NULL;
+ GDataOutputStream* _tmp13_ = NULL;
GError * _inner_error_ = NULL;
#line 223 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
g_return_if_fail (DESKTOP_INTEGRATION_IS_BACKGROUND_SLIDESHOW_XML_BUILDER (self));
@@ -1980,7 +1998,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D
g_propagate_error (error, _inner_error_);
#line 224 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 1984 "DesktopIntegration.c"
+#line 2002 "DesktopIntegration.c"
}
#line 225 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp1_ = self->priv->outs;
@@ -2000,7 +2018,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D
g_propagate_error (error, _inner_error_);
#line 225 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 2004 "DesktopIntegration.c"
+#line 2022 "DesktopIntegration.c"
}
#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp5_ = self->priv->outs;
@@ -2011,11 +2029,17 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D
#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp8_ = _tmp7_;
#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp9_ = g_strdup_printf (" <file>%s</file>\n", _tmp8_);
+ _tmp9_ = g_markup_escape_text (_tmp8_, (gssize) -1);
#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp10_ = _tmp9_;
#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- g_data_output_stream_put_string (_tmp5_, _tmp10_, NULL, &_inner_error_);
+ _tmp11_ = g_strdup_printf (" <file>%s</file>\n", _tmp10_);
+#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
+ _tmp12_ = _tmp11_;
+#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
+ g_data_output_stream_put_string (_tmp5_, _tmp12_, NULL, &_inner_error_);
+#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
+ _g_free0 (_tmp12_);
#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_free0 (_tmp10_);
#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2026,19 +2050,19 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D
g_propagate_error (error, _inner_error_);
#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 2030 "DesktopIntegration.c"
+#line 2054 "DesktopIntegration.c"
}
#line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp11_ = self->priv->outs;
+ _tmp13_ = self->priv->outs;
#line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- g_data_output_stream_put_string (_tmp11_, " </static>\n", NULL, &_inner_error_);
+ g_data_output_stream_put_string (_tmp13_, " </static>\n", NULL, &_inner_error_);
#line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
g_propagate_error (error, _inner_error_);
#line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 2042 "DesktopIntegration.c"
+#line 2066 "DesktopIntegration.c"
}
}
@@ -2063,7 +2087,7 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte
_tmp1_ = self->priv->first_file;
#line 233 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (_tmp1_ == NULL) {
-#line 2067 "DesktopIntegration.c"
+#line 2091 "DesktopIntegration.c"
GFile* _tmp2_ = NULL;
GFile* _tmp3_ = NULL;
#line 234 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2074,13 +2098,13 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte
_g_object_unref0 (self->priv->first_file);
#line 234 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
self->priv->first_file = _tmp3_;
-#line 2078 "DesktopIntegration.c"
+#line 2102 "DesktopIntegration.c"
}
#line 236 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp4_ = self->priv->last_file;
#line 236 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (_tmp4_ != NULL) {
-#line 2084 "DesktopIntegration.c"
+#line 2108 "DesktopIntegration.c"
GFile* _tmp5_ = NULL;
GFile* _tmp6_ = NULL;
#line 237 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2095,7 +2119,7 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte
g_propagate_error (error, _inner_error_);
#line 237 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 2099 "DesktopIntegration.c"
+#line 2123 "DesktopIntegration.c"
}
}
#line 239 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2108,7 +2132,7 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte
g_propagate_error (error, _inner_error_);
#line 239 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 2112 "DesktopIntegration.c"
+#line 2136 "DesktopIntegration.c"
}
#line 241 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp8_ = file;
@@ -2118,7 +2142,7 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte
_g_object_unref0 (self->priv->last_file);
#line 241 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
self->priv->last_file = _tmp9_;
-#line 2122 "DesktopIntegration.c"
+#line 2146 "DesktopIntegration.c"
}
@@ -2147,27 +2171,27 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr
result = NULL;
#line 246 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return result;
-#line 2151 "DesktopIntegration.c"
+#line 2175 "DesktopIntegration.c"
}
#line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp2_ = self->priv->first_file;
#line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (_tmp2_ != NULL) {
-#line 2157 "DesktopIntegration.c"
+#line 2181 "DesktopIntegration.c"
GFile* _tmp3_ = NULL;
#line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp3_ = self->priv->last_file;
#line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp1_ = _tmp3_ != NULL;
-#line 2163 "DesktopIntegration.c"
+#line 2187 "DesktopIntegration.c"
} else {
#line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp1_ = FALSE;
-#line 2167 "DesktopIntegration.c"
+#line 2191 "DesktopIntegration.c"
}
#line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (_tmp1_) {
-#line 2171 "DesktopIntegration.c"
+#line 2195 "DesktopIntegration.c"
GFile* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
#line 250 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2182,7 +2206,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr
g_propagate_error (error, _inner_error_);
#line 250 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return NULL;
-#line 2186 "DesktopIntegration.c"
+#line 2210 "DesktopIntegration.c"
}
}
#line 252 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2195,7 +2219,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr
g_propagate_error (error, _inner_error_);
#line 252 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return NULL;
-#line 2199 "DesktopIntegration.c"
+#line 2223 "DesktopIntegration.c"
}
#line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp7_ = self->priv->outs;
@@ -2207,7 +2231,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr
g_propagate_error (error, _inner_error_);
#line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return NULL;
-#line 2211 "DesktopIntegration.c"
+#line 2235 "DesktopIntegration.c"
}
#line 255 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_object_unref0 (self->priv->outs);
@@ -2225,7 +2249,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr
g_propagate_error (error, _inner_error_);
#line 258 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return NULL;
-#line 2229 "DesktopIntegration.c"
+#line 2253 "DesktopIntegration.c"
}
#line 259 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp10_ = self->priv->destination;
@@ -2245,14 +2269,14 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr
result = _tmp14_;
#line 261 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return result;
-#line 2249 "DesktopIntegration.c"
+#line 2273 "DesktopIntegration.c"
}
static void desktop_integration_value_background_slideshow_xml_builder_init (GValue* value) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
value->data[0].v_pointer = NULL;
-#line 2256 "DesktopIntegration.c"
+#line 2280 "DesktopIntegration.c"
}
@@ -2261,7 +2285,7 @@ static void desktop_integration_value_background_slideshow_xml_builder_free_valu
if (value->data[0].v_pointer) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
desktop_integration_background_slideshow_xml_builder_unref (value->data[0].v_pointer);
-#line 2265 "DesktopIntegration.c"
+#line 2289 "DesktopIntegration.c"
}
}
@@ -2271,11 +2295,11 @@ static void desktop_integration_value_background_slideshow_xml_builder_copy_valu
if (src_value->data[0].v_pointer) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
dest_value->data[0].v_pointer = desktop_integration_background_slideshow_xml_builder_ref (src_value->data[0].v_pointer);
-#line 2275 "DesktopIntegration.c"
+#line 2299 "DesktopIntegration.c"
} else {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
dest_value->data[0].v_pointer = NULL;
-#line 2279 "DesktopIntegration.c"
+#line 2303 "DesktopIntegration.c"
}
}
@@ -2283,37 +2307,37 @@ static void desktop_integration_value_background_slideshow_xml_builder_copy_valu
static gpointer desktop_integration_value_background_slideshow_xml_builder_peek_pointer (const GValue* value) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return value->data[0].v_pointer;
-#line 2287 "DesktopIntegration.c"
+#line 2311 "DesktopIntegration.c"
}
static gchar* desktop_integration_value_background_slideshow_xml_builder_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (collect_values[0].v_pointer) {
-#line 2294 "DesktopIntegration.c"
+#line 2318 "DesktopIntegration.c"
DesktopIntegrationBackgroundSlideshowXMLBuilder* object;
object = collect_values[0].v_pointer;
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (object->parent_instance.g_class == NULL) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2301 "DesktopIntegration.c"
+#line 2325 "DesktopIntegration.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2305 "DesktopIntegration.c"
+#line 2329 "DesktopIntegration.c"
}
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
value->data[0].v_pointer = desktop_integration_background_slideshow_xml_builder_ref (object);
-#line 2309 "DesktopIntegration.c"
+#line 2333 "DesktopIntegration.c"
} else {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
value->data[0].v_pointer = NULL;
-#line 2313 "DesktopIntegration.c"
+#line 2337 "DesktopIntegration.c"
}
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return NULL;
-#line 2317 "DesktopIntegration.c"
+#line 2341 "DesktopIntegration.c"
}
@@ -2324,25 +2348,25 @@ static gchar* desktop_integration_value_background_slideshow_xml_builder_lcopy_v
if (!object_p) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 2328 "DesktopIntegration.c"
+#line 2352 "DesktopIntegration.c"
}
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (!value->data[0].v_pointer) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
*object_p = NULL;
-#line 2334 "DesktopIntegration.c"
+#line 2358 "DesktopIntegration.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
*object_p = value->data[0].v_pointer;
-#line 2338 "DesktopIntegration.c"
+#line 2362 "DesktopIntegration.c"
} else {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
*object_p = desktop_integration_background_slideshow_xml_builder_ref (value->data[0].v_pointer);
-#line 2342 "DesktopIntegration.c"
+#line 2366 "DesktopIntegration.c"
}
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return NULL;
-#line 2346 "DesktopIntegration.c"
+#line 2370 "DesktopIntegration.c"
}
@@ -2356,7 +2380,7 @@ GParamSpec* desktop_integration_param_spec_background_slideshow_xml_builder (con
G_PARAM_SPEC (spec)->value_type = object_type;
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return G_PARAM_SPEC (spec);
-#line 2360 "DesktopIntegration.c"
+#line 2384 "DesktopIntegration.c"
}
@@ -2365,7 +2389,7 @@ gpointer desktop_integration_value_get_background_slideshow_xml_builder (const G
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, DESKTOP_INTEGRATION_TYPE_BACKGROUND_SLIDESHOW_XML_BUILDER), NULL);
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return value->data[0].v_pointer;
-#line 2369 "DesktopIntegration.c"
+#line 2393 "DesktopIntegration.c"
}
@@ -2385,17 +2409,17 @@ void desktop_integration_value_set_background_slideshow_xml_builder (GValue* val
value->data[0].v_pointer = v_object;
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
desktop_integration_background_slideshow_xml_builder_ref (value->data[0].v_pointer);
-#line 2389 "DesktopIntegration.c"
+#line 2413 "DesktopIntegration.c"
} else {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
value->data[0].v_pointer = NULL;
-#line 2393 "DesktopIntegration.c"
+#line 2417 "DesktopIntegration.c"
}
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (old) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
desktop_integration_background_slideshow_xml_builder_unref (old);
-#line 2399 "DesktopIntegration.c"
+#line 2423 "DesktopIntegration.c"
}
}
@@ -2414,17 +2438,17 @@ void desktop_integration_value_take_background_slideshow_xml_builder (GValue* va
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
value->data[0].v_pointer = v_object;
-#line 2418 "DesktopIntegration.c"
+#line 2442 "DesktopIntegration.c"
} else {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
value->data[0].v_pointer = NULL;
-#line 2422 "DesktopIntegration.c"
+#line 2446 "DesktopIntegration.c"
}
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (old) {
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
desktop_integration_background_slideshow_xml_builder_unref (old);
-#line 2428 "DesktopIntegration.c"
+#line 2452 "DesktopIntegration.c"
}
}
@@ -2436,7 +2460,7 @@ static void desktop_integration_background_slideshow_xml_builder_class_init (Des
((DesktopIntegrationBackgroundSlideshowXMLBuilderClass *) klass)->finalize = desktop_integration_background_slideshow_xml_builder_finalize;
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
g_type_class_add_private (klass, sizeof (DesktopIntegrationBackgroundSlideshowXMLBuilderPrivate));
-#line 2440 "DesktopIntegration.c"
+#line 2464 "DesktopIntegration.c"
}
@@ -2451,7 +2475,7 @@ static void desktop_integration_background_slideshow_xml_builder_instance_init (
self->priv->last_file = NULL;
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
self->ref_count = 1;
-#line 2455 "DesktopIntegration.c"
+#line 2479 "DesktopIntegration.c"
}
@@ -2471,7 +2495,7 @@ static void desktop_integration_background_slideshow_xml_builder_finalize (Deskt
_g_object_unref0 (self->priv->first_file);
#line 200 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_object_unref0 (self->priv->last_file);
-#line 2475 "DesktopIntegration.c"
+#line 2499 "DesktopIntegration.c"
}
@@ -2496,7 +2520,7 @@ gpointer desktop_integration_background_slideshow_xml_builder_ref (gpointer inst
g_atomic_int_inc (&self->ref_count);
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return instance;
-#line 2500 "DesktopIntegration.c"
+#line 2524 "DesktopIntegration.c"
}
@@ -2509,7 +2533,7 @@ void desktop_integration_background_slideshow_xml_builder_unref (gpointer instan
DESKTOP_INTEGRATION_BACKGROUND_SLIDESHOW_XML_BUILDER_GET_CLASS (self)->finalize (self);
#line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 2513 "DesktopIntegration.c"
+#line 2537 "DesktopIntegration.c"
}
}
@@ -2517,7 +2541,7 @@ void desktop_integration_background_slideshow_xml_builder_unref (gpointer instan
static void _desktop_integration_on_desktop_slideshow_exported_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) {
#line 290 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
desktop_integration_on_desktop_slideshow_exported (exporter, is_cancelled);
-#line 2521 "DesktopIntegration.c"
+#line 2545 "DesktopIntegration.c"
}
@@ -2553,7 +2577,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl
if (_tmp0_ != NULL) {
#line 268 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 2557 "DesktopIntegration.c"
+#line 2581 "DesktopIntegration.c"
}
#line 270 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp1_ = desktop_background;
@@ -2575,7 +2599,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl
_tmp5_ = exceptions;
#line 276 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection), DESKTOP_INTEGRATION_DESKTOP_SLIDESHOW_XML_FILENAME);
-#line 2579 "DesktopIntegration.c"
+#line 2603 "DesktopIntegration.c"
{
GFile* _tmp6_ = NULL;
GeeSet* _tmp7_ = NULL;
@@ -2587,7 +2611,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl
delete_all_files (_tmp6_, _tmp7_, NULL, NULL, (guint64) 0, NULL, &_inner_error_);
#line 278 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2591 "DesktopIntegration.c"
+#line 2615 "DesktopIntegration.c"
goto __catch568_g_error;
}
}
@@ -2610,7 +2634,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl
"tory: %s", _tmp9_);
#line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_error_free0 (err);
-#line 2613 "DesktopIntegration.c"
+#line 2637 "DesktopIntegration.c"
}
__finally568:
#line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2625,7 +2649,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl
g_clear_error (&_inner_error_);
#line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 2628 "DesktopIntegration.c"
+#line 2652 "DesktopIntegration.c"
}
#line 283 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp10_ = duration;
@@ -2673,7 +2697,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl
_g_object_unref0 (exceptions);
#line 265 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_object_unref0 (wallpaper_dir);
-#line 2676 "DesktopIntegration.c"
+#line 2700 "DesktopIntegration.c"
}
@@ -2704,7 +2728,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
if (_tmp0_) {
#line 297 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 2707 "DesktopIntegration.c"
+#line 2731 "DesktopIntegration.c"
}
#line 299 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
xml_file = NULL;
@@ -2730,7 +2754,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
_g_object_unref0 (_tmp2_);
#line 300 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
xml_builder = _tmp8_;
-#line 2733 "DesktopIntegration.c"
+#line 2757 "DesktopIntegration.c"
{
DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp9_ = NULL;
Exporter* _tmp10_ = NULL;
@@ -2746,14 +2770,14 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
desktop_integration_background_slideshow_xml_builder_open (_tmp9_, &_inner_error_);
#line 304 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2749 "DesktopIntegration.c"
+#line 2773 "DesktopIntegration.c"
goto __catch569_g_error;
}
#line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp10_ = exporter;
#line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp12_ = exporter_get_exported_files (_tmp10_, &_tmp11_);
-#line 2756 "DesktopIntegration.c"
+#line 2780 "DesktopIntegration.c"
{
GFile** file_collection = NULL;
gint file_collection_length1 = 0;
@@ -2765,14 +2789,14 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
file_collection_length1 = _tmp11_;
#line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
for (file_it = 0; file_it < _tmp11_; file_it = file_it + 1) {
-#line 2768 "DesktopIntegration.c"
+#line 2792 "DesktopIntegration.c"
GFile* _tmp13_ = NULL;
GFile* file = NULL;
#line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp13_ = _g_object_ref0 (file_collection[file_it]);
#line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
file = _tmp13_;
-#line 2775 "DesktopIntegration.c"
+#line 2799 "DesktopIntegration.c"
{
DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp14_ = NULL;
GFile* _tmp15_ = NULL;
@@ -2788,17 +2812,17 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
_g_object_unref0 (file);
#line 307 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
file_collection = (_vala_array_free (file_collection, file_collection_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 2791 "DesktopIntegration.c"
+#line 2815 "DesktopIntegration.c"
goto __catch569_g_error;
}
#line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_object_unref0 (file);
-#line 2796 "DesktopIntegration.c"
+#line 2820 "DesktopIntegration.c"
}
}
#line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
file_collection = (_vala_array_free (file_collection, file_collection_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 2801 "DesktopIntegration.c"
+#line 2825 "DesktopIntegration.c"
}
#line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp17_ = xml_builder;
@@ -2808,7 +2832,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
_tmp16_ = _tmp18_;
#line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2811 "DesktopIntegration.c"
+#line 2835 "DesktopIntegration.c"
goto __catch569_g_error;
}
#line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2821,7 +2845,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
xml_file = _tmp19_;
#line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_object_unref0 (_tmp16_);
-#line 2824 "DesktopIntegration.c"
+#line 2848 "DesktopIntegration.c"
}
goto __finally569;
__catch569_g_error:
@@ -2858,7 +2882,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
_g_object_unref0 (xml_file);
#line 314 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 2861 "DesktopIntegration.c"
+#line 2885 "DesktopIntegration.c"
}
__finally569:
#line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2873,13 +2897,13 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
g_clear_error (&_inner_error_);
#line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
return;
-#line 2876 "DesktopIntegration.c"
+#line 2900 "DesktopIntegration.c"
}
#line 317 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp25_ = desktop_integration_set_desktop_background;
#line 317 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (_tmp25_) {
-#line 2882 "DesktopIntegration.c"
+#line 2906 "DesktopIntegration.c"
ConfigFacade* _tmp26_ = NULL;
ConfigFacade* _tmp27_ = NULL;
GFile* _tmp28_ = NULL;
@@ -2901,13 +2925,13 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
_g_free0 (_tmp30_);
#line 318 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_object_unref0 (_tmp27_);
-#line 2904 "DesktopIntegration.c"
+#line 2928 "DesktopIntegration.c"
}
#line 320 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp31_ = desktop_integration_set_screensaver;
#line 320 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (_tmp31_) {
-#line 2910 "DesktopIntegration.c"
+#line 2934 "DesktopIntegration.c"
ConfigFacade* _tmp32_ = NULL;
ConfigFacade* _tmp33_ = NULL;
GFile* _tmp34_ = NULL;
@@ -2929,13 +2953,13 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
_g_free0 (_tmp36_);
#line 321 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_object_unref0 (_tmp33_);
-#line 2932 "DesktopIntegration.c"
+#line 2956 "DesktopIntegration.c"
}
#line 293 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_desktop_integration_background_slideshow_xml_builder_unref0 (xml_builder);
#line 293 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_object_unref0 (xml_file);
-#line 2938 "DesktopIntegration.c"
+#line 2962 "DesktopIntegration.c"
}
diff --git a/src/DesktopIntegration.vala b/src/DesktopIntegration.vala
index 89ff556..80e8b2e 100644
--- a/src/DesktopIntegration.vala
+++ b/src/DesktopIntegration.vala
@@ -215,15 +215,15 @@ private class BackgroundSlideshowXMLBuilder {
private void write_transition(File from, File to) throws Error {
outs.put_string(" <transition>\n");
outs.put_string(" <duration>%2.2f</duration>\n".printf(transition));
- outs.put_string(" <from>%s</from>\n".printf(from.get_path()));
- outs.put_string(" <to>%s</to>\n".printf(to.get_path()));
+ outs.put_string(" <from>%s</from>\n".printf(Markup.escape_text(from.get_path())));
+ outs.put_string(" <to>%s</to>\n".printf(Markup.escape_text(to.get_path())));
outs.put_string(" </transition>\n");
}
private void write_static(File file) throws Error {
outs.put_string(" <static>\n");
outs.put_string(" <duration>%2.2f</duration>\n".printf(duration));
- outs.put_string(" <file>%s</file>\n".printf(file.get_path()));
+ outs.put_string(" <file>%s</file>\n".printf(Markup.escape_text(file.get_path())));
outs.put_string(" </static>\n");
}
diff --git a/src/DirectoryMonitor.c b/src/DirectoryMonitor.c
index 6467ece..045e3ec 100644
--- a/src/DirectoryMonitor.c
+++ b/src/DirectoryMonitor.c
@@ -395,10 +395,10 @@ struct _DirectoryMonitorExploreAsyncData {
gchar* _tmp29_;
gchar* _tmp30_;
gboolean _tmp31_;
- GFile* _tmp32_;
- gchar* _tmp33_;
+ GFileInfo* _tmp32_;
+ GFile* _tmp33_;
gchar* _tmp34_;
- gboolean _tmp35_;
+ gchar* _tmp35_;
GFileInfo* _tmp36_;
GFileType _tmp37_;
const gchar* _tmp38_;
@@ -429,83 +429,91 @@ struct _DirectoryMonitorExploreAsyncData {
GFileInfo* _tmp57_;
GFileInfo* info;
GFileInfo* _tmp58_;
- gboolean _tmp59_;
- GFile* _tmp60_;
- GFileInfo* _tmp61_;
- const gchar* _tmp62_;
+ gchar* _tmp59_;
+ gchar* _tmp60_;
+ gboolean _tmp61_;
+ GFileInfo* _tmp62_;
GFile* _tmp63_;
- GFile* _tmp64_;
+ gchar* _tmp64_;
gchar* _tmp65_;
- gchar* _tmp66_;
- GFileInfo* _tmp67_;
- gboolean _tmp68_;
+ GFileInfo* _tmp66_;
+ gboolean _tmp67_;
+ GFile* _tmp68_;
GFileInfo* _tmp69_;
- GFileType _tmp70_;
- GeeHashMap* _tmp71_;
- GeeHashMap* _tmp72_;
- GeeHashMap* _tmp73_;
- GFile* _tmp74_;
+ const gchar* _tmp70_;
+ GFile* _tmp71_;
+ GFile* _tmp72_;
+ gchar* _tmp73_;
+ gchar* _tmp74_;
GFileInfo* _tmp75_;
- const gchar* _tmp76_;
- GFile* _tmp77_;
- GFile* _tmp78_;
- GFileInfo* _tmp79_;
+ gboolean _tmp76_;
+ GFileInfo* _tmp77_;
+ GFileType _tmp78_;
+ GeeHashMap* _tmp79_;
GeeHashMap* _tmp80_;
GeeHashMap* _tmp81_;
- GeeHashMap* _tmp82_;
- GFile* _tmp83_;
- GFileInfo* _tmp84_;
- const gchar* _tmp85_;
+ GFile* _tmp82_;
+ GFileInfo* _tmp83_;
+ const gchar* _tmp84_;
+ GFile* _tmp85_;
GFile* _tmp86_;
- GFile* _tmp87_;
- GFileInfo* _tmp88_;
- GError* err2;
- GFile* _tmp89_;
- gchar* _tmp90_;
- gchar* _tmp91_;
- GError* _tmp92_;
+ GFileInfo* _tmp87_;
+ GeeHashMap* _tmp88_;
+ GeeHashMap* _tmp89_;
+ GeeHashMap* _tmp90_;
+ GFile* _tmp91_;
+ GFileInfo* _tmp92_;
const gchar* _tmp93_;
- gboolean _tmp94_;
- gboolean _tmp95_;
- GFile* _tmp96_;
- GFileInfo* _tmp97_;
- GFile* _tmp98_;
- GFileInfo* _tmp99_;
- GFile* _tmp100_;
- GFileInfo* _tmp101_;
- GeeHashMap* _tmp102_;
- GeeHashMap* _tmp103_;
- gboolean _tmp104_;
- gboolean _tmp105_;
- gboolean _tmp106_;
- GeeHashMap* _tmp107_;
+ GFile* _tmp94_;
+ GFile* _tmp95_;
+ GFileInfo* _tmp96_;
+ GError* err2;
+ GFile* _tmp97_;
+ gchar* _tmp98_;
+ gchar* _tmp99_;
+ GError* _tmp100_;
+ const gchar* _tmp101_;
+ gboolean _tmp102_;
+ gboolean _tmp103_;
+ GFile* _tmp104_;
+ GFileInfo* _tmp105_;
+ GFile* _tmp106_;
+ GFileInfo* _tmp107_;
+ GFile* _tmp108_;
+ GFileInfo* _tmp109_;
+ GeeHashMap* _tmp110_;
+ GeeHashMap* _tmp111_;
+ gboolean _tmp112_;
+ gboolean _tmp113_;
+ gboolean _tmp114_;
+ GeeHashMap* _tmp115_;
GeeIterator* _subdir_it;
- GeeHashMap* _tmp108_;
- GeeSet* _tmp109_;
- GeeSet* _tmp110_;
- GeeSet* _tmp111_;
- GeeIterator* _tmp112_;
- GeeIterator* _tmp113_;
- GeeIterator* _tmp114_;
- gboolean _tmp115_;
+ GeeHashMap* _tmp116_;
+ GeeSet* _tmp117_;
+ GeeSet* _tmp118_;
+ GeeSet* _tmp119_;
+ GeeIterator* _tmp120_;
+ GeeIterator* _tmp121_;
+ GeeIterator* _tmp122_;
+ gboolean _tmp123_;
GFile* subdir;
- GeeIterator* _tmp116_;
- gpointer _tmp117_;
- gint _tmp118_;
- gint _tmp119_;
- GFile* _tmp120_;
- GeeHashMap* _tmp121_;
- GFile* _tmp122_;
- gpointer _tmp123_;
- GFileInfo* _tmp124_;
- gboolean _tmp125_;
- GFile* _tmp126_;
- GeeHashMap* _tmp127_;
+ GeeIterator* _tmp124_;
+ gpointer _tmp125_;
+ gint _tmp126_;
+ gint _tmp127_;
GFile* _tmp128_;
- gpointer _tmp129_;
- GFileInfo* _tmp130_;
- gboolean _tmp131_;
- gboolean _tmp132_;
+ GeeHashMap* _tmp129_;
+ GFile* _tmp130_;
+ gpointer _tmp131_;
+ GFileInfo* _tmp132_;
+ gboolean _tmp133_;
+ GFile* _tmp134_;
+ GeeHashMap* _tmp135_;
+ GFile* _tmp136_;
+ gpointer _tmp137_;
+ GFileInfo* _tmp138_;
+ gboolean _tmp139_;
+ gboolean _tmp140_;
GError * _inner_error_;
};
@@ -796,9 +804,9 @@ static GType directory_monitor_ftype_get_type (void) {
static gpointer _g_object_ref0 (gpointer self) {
-#line 459 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 465 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return self ? g_object_ref (self) : NULL;
-#line 802 "DirectoryMonitor.c"
+#line 810 "DirectoryMonitor.c"
}
@@ -808,73 +816,73 @@ DirectoryMonitor* directory_monitor_construct (GType object_type, GFile* root, g
GFile* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
-#line 458 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 464 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (root), NULL);
-#line 458 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 464 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self = (DirectoryMonitor*) g_object_new (object_type, NULL);
-#line 459 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 465 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = root;
-#line 459 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 465 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 459 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 465 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (self->priv->root);
-#line 459 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 465 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->root = _tmp1_;
-#line 460 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 466 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = recurse;
-#line 460 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 466 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->recurse = _tmp2_;
-#line 461 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 467 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = monitoring;
-#line 461 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 467 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->monitoring = _tmp3_;
-#line 458 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 464 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return self;
-#line 834 "DirectoryMonitor.c"
+#line 842 "DirectoryMonitor.c"
}
DirectoryMonitor* directory_monitor_new (GFile* root, gboolean recurse, gboolean monitoring) {
-#line 458 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 464 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return directory_monitor_construct (TYPE_DIRECTORY_MONITOR, root, recurse, monitoring);
-#line 841 "DirectoryMonitor.c"
+#line 849 "DirectoryMonitor.c"
}
void directory_monitor_mdbg (const gchar* msg) {
-#line 464 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 470 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (msg != NULL);
-#line 848 "DirectoryMonitor.c"
+#line 856 "DirectoryMonitor.c"
}
gboolean directory_monitor_is_recursive (DirectoryMonitor* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 470 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 476 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), FALSE);
-#line 471 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 477 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->recurse;
-#line 471 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 477 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = _tmp0_;
-#line 471 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 477 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 863 "DirectoryMonitor.c"
+#line 871 "DirectoryMonitor.c"
}
gboolean directory_monitor_is_monitoring (DirectoryMonitor* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 474 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 480 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), FALSE);
-#line 475 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 481 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->monitoring;
-#line 475 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 481 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = _tmp0_;
-#line 475 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 481 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 878 "DirectoryMonitor.c"
+#line 886 "DirectoryMonitor.c"
}
@@ -883,32 +891,32 @@ static void directory_monitor_real_notify_root_deleted (DirectoryMonitor* self,
GFile* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
GFile* _tmp3_ = NULL;
-#line 478 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 484 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (root));
-#line 479 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 485 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->root;
-#line 479 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 485 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = root;
-#line 479 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 485 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = g_file_equal (_tmp0_, _tmp1_);
-#line 479 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 485 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp2_, "this.root.equal(root)");
-#line 481 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 487 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg ("root deleted");
-#line 482 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 488 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = root;
-#line 482 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 488 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "root-deleted", _tmp3_);
-#line 903 "DirectoryMonitor.c"
+#line 911 "DirectoryMonitor.c"
}
void directory_monitor_notify_root_deleted (DirectoryMonitor* self, GFile* root) {
-#line 478 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 484 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 478 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 484 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_root_deleted (self, root);
-#line 912 "DirectoryMonitor.c"
+#line 920 "DirectoryMonitor.c"
}
@@ -927,53 +935,53 @@ static void directory_monitor_internal_notify_root_moved (DirectoryMonitor* self
GFile* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
GFileInfo* _tmp11_ = NULL;
-#line 485 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 491 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 485 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 491 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (old_root));
-#line 485 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 491 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (new_root));
-#line 485 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 491 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (new_root_info));
-#line 486 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 492 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 486 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 492 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = old_root;
-#line 486 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 492 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = directory_monitor_file_info_map_remove (_tmp0_, _tmp1_, NULL);
-#line 486 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 492 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
removed = _tmp2_;
-#line 487 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 493 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (removed, "removed");
-#line 489 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 495 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = self->priv->files;
-#line 489 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 495 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = new_root;
-#line 489 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 495 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = new_root_info;
-#line 489 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 495 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = directory_monitor_file_info_map_update (_tmp3_, _tmp4_, _tmp5_);
-#line 489 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 495 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
updated = _tmp6_;
-#line 490 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 496 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (updated, "updated");
-#line 492 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 498 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = new_root;
-#line 492 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 498 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = _g_object_ref0 (_tmp7_);
-#line 492 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 498 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (self->priv->root);
-#line 492 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 498 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->root = _tmp8_;
-#line 494 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = old_root;
-#line 494 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = new_root;
-#line 494 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = new_root_info;
-#line 494 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_root_moved (self, _tmp9_, _tmp10_, _tmp11_);
-#line 977 "DirectoryMonitor.c"
+#line 985 "DirectoryMonitor.c"
}
@@ -992,80 +1000,80 @@ static void directory_monitor_real_notify_root_moved (DirectoryMonitor* self, GF
GFile* _tmp11_ = NULL;
GFile* _tmp12_ = NULL;
GFileInfo* _tmp13_ = NULL;
-#line 497 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 503 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (old_root));
-#line 497 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 503 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (new_root));
-#line 497 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 503 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (new_root_info));
-#line 498 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 504 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->root;
-#line 498 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 504 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = old_root;
-#line 498 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 504 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = g_file_equal (_tmp0_, _tmp1_);
-#line 498 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 504 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp2_, "this.root.equal(old_root)");
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = old_root;
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = g_file_get_path (_tmp3_);
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = _tmp4_;
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = new_root;
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = g_file_get_path (_tmp6_);
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = _tmp7_;
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = g_strdup_printf ("root moved: %s -> %s", _tmp5_, _tmp8_);
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = _tmp9_;
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp10_);
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp10_);
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp8_);
-#line 500 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp5_);
-#line 501 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 507 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = old_root;
-#line 501 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 507 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = new_root;
-#line 501 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 507 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = new_root_info;
-#line 501 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 507 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "root-moved", _tmp11_, _tmp12_, _tmp13_);
-#line 1042 "DirectoryMonitor.c"
+#line 1050 "DirectoryMonitor.c"
}
void directory_monitor_notify_root_moved (DirectoryMonitor* self, GFile* old_root, GFile* new_root, GFileInfo* new_root_info) {
-#line 497 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 503 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 497 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 503 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_root_moved (self, old_root, new_root, new_root_info);
-#line 1051 "DirectoryMonitor.c"
+#line 1059 "DirectoryMonitor.c"
}
static void directory_monitor_real_notify_discovery_started (DirectoryMonitor* self) {
-#line 505 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 511 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg ("discovery started");
-#line 506 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 512 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "discovery-started");
-#line 1060 "DirectoryMonitor.c"
+#line 1068 "DirectoryMonitor.c"
}
void directory_monitor_notify_discovery_started (DirectoryMonitor* self) {
-#line 504 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 510 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 504 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 510 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_discovery_started (self);
-#line 1069 "DirectoryMonitor.c"
+#line 1077 "DirectoryMonitor.c"
}
@@ -1076,55 +1084,55 @@ static void directory_monitor_real_internal_notify_file_discovered (DirectoryMon
gboolean _tmp3_ = FALSE;
GFile* _tmp7_ = NULL;
GFileInfo* _tmp8_ = NULL;
-#line 509 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 515 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 509 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 515 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 510 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 516 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 510 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 516 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = file;
-#line 510 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 516 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = info;
-#line 510 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 516 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = directory_monitor_file_info_map_update (_tmp0_, _tmp1_, _tmp2_);
-#line 510 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 516 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp3_) {
-#line 1094 "DirectoryMonitor.c"
+#line 1102 "DirectoryMonitor.c"
GFile* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 511 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 517 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = file;
-#line 511 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 517 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = g_file_get_path (_tmp4_);
-#line 511 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 517 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = _tmp5_;
-#line 511 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_debug ("DirectoryMonitor.vala:511: DirectoryMonitor.internal_notify_file_disco" \
+#line 517 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_debug ("DirectoryMonitor.vala:517: DirectoryMonitor.internal_notify_file_disco" \
"vered: %s discovered but not added to file map", _tmp6_);
-#line 511 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 517 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp6_);
-#line 514 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 520 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return;
-#line 1110 "DirectoryMonitor.c"
+#line 1118 "DirectoryMonitor.c"
}
-#line 517 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 523 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = file;
-#line 517 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 523 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = info;
-#line 517 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 523 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_file_discovered (self, _tmp7_, _tmp8_);
-#line 1118 "DirectoryMonitor.c"
+#line 1126 "DirectoryMonitor.c"
}
void directory_monitor_internal_notify_file_discovered (DirectoryMonitor* self, GFile* file, GFileInfo* info) {
-#line 509 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 515 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 509 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 515 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->internal_notify_file_discovered (self, file, info);
-#line 1127 "DirectoryMonitor.c"
+#line 1135 "DirectoryMonitor.c"
}
@@ -1136,42 +1144,42 @@ static void directory_monitor_real_notify_file_discovered (DirectoryMonitor* sel
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
GFileInfo* _tmp6_ = NULL;
-#line 520 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 526 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 520 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 526 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 521 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 527 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 521 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 527 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 521 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 527 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 521 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 527 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("file discovered: %s", _tmp2_);
-#line 521 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 527 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 521 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 527 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 521 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 527 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 521 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 527 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 522 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 528 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = file;
-#line 522 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 528 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = info;
-#line 522 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 528 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "file-discovered", _tmp5_, _tmp6_);
-#line 1165 "DirectoryMonitor.c"
+#line 1173 "DirectoryMonitor.c"
}
void directory_monitor_notify_file_discovered (DirectoryMonitor* self, GFile* file, GFileInfo* info) {
-#line 520 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 526 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 520 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 526 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_file_discovered (self, file, info);
-#line 1174 "DirectoryMonitor.c"
+#line 1182 "DirectoryMonitor.c"
}
@@ -1183,38 +1191,38 @@ static void directory_monitor_real_internal_notify_directory_discovered (Directo
gboolean _tmp3_ = FALSE;
GFile* _tmp4_ = NULL;
GFileInfo* _tmp5_ = NULL;
-#line 525 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 531 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 525 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 531 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 526 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 532 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 526 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 532 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = dir;
-#line 526 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 532 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = info;
-#line 526 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 532 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = directory_monitor_file_info_map_update (_tmp0_, _tmp1_, _tmp2_);
-#line 526 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 532 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
updated = _tmp3_;
-#line 527 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 533 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (updated, "updated");
-#line 529 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 535 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = dir;
-#line 529 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 535 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = info;
-#line 529 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 535 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_directory_discovered (self, _tmp4_, _tmp5_);
-#line 1208 "DirectoryMonitor.c"
+#line 1216 "DirectoryMonitor.c"
}
void directory_monitor_internal_notify_directory_discovered (DirectoryMonitor* self, GFile* dir, GFileInfo* info) {
-#line 525 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 531 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 525 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 531 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->internal_notify_directory_discovered (self, dir, info);
-#line 1217 "DirectoryMonitor.c"
+#line 1225 "DirectoryMonitor.c"
}
@@ -1226,84 +1234,84 @@ static void directory_monitor_real_notify_directory_discovered (DirectoryMonitor
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
GFileInfo* _tmp6_ = NULL;
-#line 532 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 538 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 532 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 538 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 533 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 539 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = dir;
-#line 533 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 539 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 533 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 539 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 533 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 539 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("directory discovered: %s", _tmp2_);
-#line 533 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 539 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 533 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 539 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 533 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 539 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 533 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 539 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 534 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 540 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = dir;
-#line 534 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 540 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = info;
-#line 534 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 540 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "directory-discovered", _tmp5_, _tmp6_);
-#line 1255 "DirectoryMonitor.c"
+#line 1263 "DirectoryMonitor.c"
}
void directory_monitor_notify_directory_discovered (DirectoryMonitor* self, GFile* dir, GFileInfo* info) {
-#line 532 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 538 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 532 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 538 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_directory_discovered (self, dir, info);
-#line 1264 "DirectoryMonitor.c"
+#line 1272 "DirectoryMonitor.c"
}
static void directory_monitor_real_notify_discovery_failed (DirectoryMonitor* self, const gchar* reason) {
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 537 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 543 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (reason != NULL);
-#line 538 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 544 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = reason;
-#line 538 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:538: discovery failed: %s", _tmp0_);
-#line 539 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 544 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:544: discovery failed: %s", _tmp0_);
+#line 545 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = reason;
-#line 539 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 545 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "discovery-failed", _tmp1_);
-#line 1281 "DirectoryMonitor.c"
+#line 1289 "DirectoryMonitor.c"
}
void directory_monitor_notify_discovery_failed (DirectoryMonitor* self, const gchar* reason) {
-#line 537 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 543 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 537 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 543 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_discovery_failed (self, reason);
-#line 1290 "DirectoryMonitor.c"
+#line 1298 "DirectoryMonitor.c"
}
static void directory_monitor_real_notify_discovery_completed (DirectoryMonitor* self) {
-#line 543 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 549 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "discovery-completed");
-#line 1297 "DirectoryMonitor.c"
+#line 1305 "DirectoryMonitor.c"
}
void directory_monitor_notify_discovery_completed (DirectoryMonitor* self) {
-#line 542 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 548 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 542 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 548 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_discovery_completed (self);
-#line 1306 "DirectoryMonitor.c"
+#line 1314 "DirectoryMonitor.c"
}
@@ -1315,41 +1323,41 @@ static void directory_monitor_internal_notify_file_created (DirectoryMonitor* se
GFile* _tmp2_ = NULL;
GFileInfo* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 546 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 552 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 546 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 552 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 546 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 552 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 549 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 549 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = info;
-#line 549 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = directory_monitor_is_file_create_move (self, _tmp0_, _tmp1_, &_tmp2_, &_tmp3_);
-#line 549 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (old_file);
-#line 549 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
old_file = _tmp2_;
-#line 549 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (old_file_info);
-#line 549 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
old_file_info = _tmp3_;
-#line 549 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp4_) {
-#line 1340 "DirectoryMonitor.c"
+#line 1348 "DirectoryMonitor.c"
GFile* _tmp5_ = NULL;
GFile* _tmp6_ = NULL;
GFileInfo* _tmp7_ = NULL;
-#line 550 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 556 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = old_file;
-#line 550 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 556 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = file;
-#line 550 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 556 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = info;
-#line 550 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 556 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_file_moved (self, _tmp5_, _tmp6_, _tmp7_);
-#line 1352 "DirectoryMonitor.c"
+#line 1360 "DirectoryMonitor.c"
} else {
gboolean updated = FALSE;
DirectoryMonitorFileInfoMap* _tmp8_ = NULL;
@@ -1359,33 +1367,33 @@ static void directory_monitor_internal_notify_file_created (DirectoryMonitor* se
gboolean _tmp12_ = FALSE;
GFile* _tmp13_ = NULL;
GFileInfo* _tmp14_ = NULL;
-#line 552 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 558 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = self->priv->files;
-#line 552 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 558 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = file;
-#line 552 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 558 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = info;
-#line 552 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 558 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = directory_monitor_file_info_map_update (_tmp8_, _tmp9_, _tmp10_);
-#line 552 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 558 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
updated = _tmp11_;
-#line 553 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 559 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = updated;
-#line 553 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 559 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp12_, "updated");
-#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 561 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = file;
-#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 561 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = info;
-#line 555 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 561 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_file_created (self, _tmp13_, _tmp14_);
-#line 1382 "DirectoryMonitor.c"
+#line 1390 "DirectoryMonitor.c"
}
-#line 546 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 552 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (old_file_info);
-#line 546 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 552 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (old_file);
-#line 1388 "DirectoryMonitor.c"
+#line 1396 "DirectoryMonitor.c"
}
@@ -1397,42 +1405,42 @@ static void directory_monitor_real_notify_file_created (DirectoryMonitor* self,
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
GFileInfo* _tmp6_ = NULL;
-#line 559 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 565 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 559 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 565 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 560 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 566 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 560 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 566 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 560 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 566 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 560 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 566 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("file created: %s", _tmp2_);
-#line 560 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 566 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 560 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 566 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 560 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 566 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 560 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 566 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 561 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 567 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = file;
-#line 561 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 567 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = info;
-#line 561 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 567 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "file-created", _tmp5_, _tmp6_);
-#line 1426 "DirectoryMonitor.c"
+#line 1434 "DirectoryMonitor.c"
}
void directory_monitor_notify_file_created (DirectoryMonitor* self, GFile* file, GFileInfo* info) {
-#line 559 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 565 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 559 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 565 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_file_created (self, file, info);
-#line 1435 "DirectoryMonitor.c"
+#line 1443 "DirectoryMonitor.c"
}
@@ -1447,41 +1455,41 @@ static void directory_monitor_internal_notify_file_moved (DirectoryMonitor* self
GFile* _tmp6_ = NULL;
GFile* _tmp7_ = NULL;
GFileInfo* _tmp8_ = NULL;
-#line 564 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 570 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 564 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 570 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (old_file));
-#line 564 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 570 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (new_file));
-#line 564 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 570 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (new_file_info));
-#line 567 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 573 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 567 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 573 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = old_file;
-#line 567 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 573 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_remove (_tmp0_, _tmp1_, NULL);
-#line 569 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 575 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = self->priv->files;
-#line 569 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 575 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = new_file;
-#line 569 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 575 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = new_file_info;
-#line 569 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 575 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = directory_monitor_file_info_map_update (_tmp2_, _tmp3_, _tmp4_);
-#line 569 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 575 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
updated = _tmp5_;
-#line 570 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (updated, "updated");
-#line 572 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 578 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = old_file;
-#line 572 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 578 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = new_file;
-#line 572 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 578 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = new_file_info;
-#line 572 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 578 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_file_moved (self, _tmp6_, _tmp7_, _tmp8_);
-#line 1484 "DirectoryMonitor.c"
+#line 1492 "DirectoryMonitor.c"
}
@@ -1497,54 +1505,54 @@ static void directory_monitor_real_notify_file_moved (DirectoryMonitor* self, GF
GFile* _tmp8_ = NULL;
GFile* _tmp9_ = NULL;
GFileInfo* _tmp10_ = NULL;
-#line 575 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (old_file));
-#line 575 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (new_file));
-#line 575 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (new_file_info));
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = old_file;
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = new_file;
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = g_file_get_path (_tmp3_);
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = _tmp4_;
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = g_strdup_printf ("file moved: %s -> %s", _tmp2_, _tmp5_);
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = _tmp6_;
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp7_);
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp7_);
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp5_);
-#line 576 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 577 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 583 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = old_file;
-#line 577 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 583 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = new_file;
-#line 577 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 583 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = new_file_info;
-#line 577 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 583 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "file-moved", _tmp8_, _tmp9_, _tmp10_);
-#line 1538 "DirectoryMonitor.c"
+#line 1546 "DirectoryMonitor.c"
}
void directory_monitor_notify_file_moved (DirectoryMonitor* self, GFile* old_file, GFile* new_file, GFileInfo* new_file_info) {
-#line 575 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 575 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_file_moved (self, old_file, new_file, new_file_info);
-#line 1547 "DirectoryMonitor.c"
+#line 1555 "DirectoryMonitor.c"
}
@@ -1555,38 +1563,38 @@ static void directory_monitor_real_notify_file_altered (DirectoryMonitor* self,
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
-#line 580 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 586 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 587 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 587 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 587 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 587 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("file altered: %s", _tmp2_);
-#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 587 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 587 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 587 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 581 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 587 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 588 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = file;
-#line 582 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 588 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "file-altered", _tmp5_);
-#line 1580 "DirectoryMonitor.c"
+#line 1588 "DirectoryMonitor.c"
}
void directory_monitor_notify_file_altered (DirectoryMonitor* self, GFile* file) {
-#line 580 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 586 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 580 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 586 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_file_altered (self, file);
-#line 1589 "DirectoryMonitor.c"
+#line 1597 "DirectoryMonitor.c"
}
@@ -1598,31 +1606,31 @@ static void directory_monitor_internal_notify_file_alteration_completed (Directo
gboolean _tmp3_ = FALSE;
GFile* _tmp4_ = NULL;
GFileInfo* _tmp5_ = NULL;
-#line 585 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 591 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 585 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 591 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 585 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 591 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 586 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 592 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 586 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 592 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = file;
-#line 586 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 592 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = info;
-#line 586 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 592 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = directory_monitor_file_info_map_update (_tmp0_, _tmp1_, _tmp2_);
-#line 586 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 592 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
updated = _tmp3_;
-#line 587 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 593 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (updated, "updated");
-#line 589 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 595 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = file;
-#line 589 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 595 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = info;
-#line 589 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 595 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_file_alteration_completed (self, _tmp4_, _tmp5_);
-#line 1625 "DirectoryMonitor.c"
+#line 1633 "DirectoryMonitor.c"
}
@@ -1634,42 +1642,42 @@ static void directory_monitor_real_notify_file_alteration_completed (DirectoryMo
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
GFileInfo* _tmp6_ = NULL;
-#line 592 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 592 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 593 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 599 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 593 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 599 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 593 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 599 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 593 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 599 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("file alteration completed: %s", _tmp2_);
-#line 593 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 599 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 593 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 599 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 593 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 599 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 593 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 599 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 594 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 600 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = file;
-#line 594 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 600 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = info;
-#line 594 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 600 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "file-alteration-completed", _tmp5_, _tmp6_);
-#line 1663 "DirectoryMonitor.c"
+#line 1671 "DirectoryMonitor.c"
}
void directory_monitor_notify_file_alteration_completed (DirectoryMonitor* self, GFile* file, GFileInfo* info) {
-#line 592 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 592 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_file_alteration_completed (self, file, info);
-#line 1672 "DirectoryMonitor.c"
+#line 1680 "DirectoryMonitor.c"
}
@@ -1680,38 +1688,38 @@ static void directory_monitor_real_notify_file_attributes_altered (DirectoryMoni
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
-#line 597 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 603 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 604 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 604 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 604 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 604 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("file attributes altered: %s", _tmp2_);
-#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 604 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 604 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 604 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 598 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 604 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 599 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 605 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = file;
-#line 599 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 605 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "file-attributes-altered", _tmp5_);
-#line 1705 "DirectoryMonitor.c"
+#line 1713 "DirectoryMonitor.c"
}
void directory_monitor_notify_file_attributes_altered (DirectoryMonitor* self, GFile* file) {
-#line 597 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 603 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 597 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 603 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_file_attributes_altered (self, file);
-#line 1714 "DirectoryMonitor.c"
+#line 1722 "DirectoryMonitor.c"
}
@@ -1721,25 +1729,25 @@ static void directory_monitor_internal_notify_file_deleted (DirectoryMonitor* se
GFile* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
GFile* _tmp3_ = NULL;
-#line 602 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 608 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 602 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 608 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 603 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 609 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 603 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 609 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = file;
-#line 603 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 609 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = directory_monitor_file_info_map_remove (_tmp0_, _tmp1_, NULL);
-#line 603 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 609 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
removed = _tmp2_;
-#line 604 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 610 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (removed, "removed");
-#line 606 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 612 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = file;
-#line 606 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 612 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_file_deleted (self, _tmp3_);
-#line 1742 "DirectoryMonitor.c"
+#line 1750 "DirectoryMonitor.c"
}
@@ -1750,38 +1758,38 @@ static void directory_monitor_real_notify_file_deleted (DirectoryMonitor* self,
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
-#line 609 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 615 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 610 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 616 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 610 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 616 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 610 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 616 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 610 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 616 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("file deleted: %s", _tmp2_);
-#line 610 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 616 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 610 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 616 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 610 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 616 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 610 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 616 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 611 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 617 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = file;
-#line 611 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 617 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "file-deleted", _tmp5_);
-#line 1775 "DirectoryMonitor.c"
+#line 1783 "DirectoryMonitor.c"
}
void directory_monitor_notify_file_deleted (DirectoryMonitor* self, GFile* file) {
-#line 609 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 615 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 609 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 615 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_file_deleted (self, file);
-#line 1784 "DirectoryMonitor.c"
+#line 1792 "DirectoryMonitor.c"
}
@@ -1793,29 +1801,29 @@ static void directory_monitor_internal_notify_directory_created (DirectoryMonito
GFile* _tmp2_ = NULL;
GFileInfo* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 614 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 620 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 614 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 620 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 614 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 620 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 617 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = dir;
-#line 617 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = info;
-#line 617 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = directory_monitor_is_file_create_move (self, _tmp0_, _tmp1_, &_tmp2_, &_tmp3_);
-#line 617 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (old_dir);
-#line 617 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
old_dir = _tmp2_;
-#line 617 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (old_dir_info);
-#line 617 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
old_dir_info = _tmp3_;
-#line 617 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp4_) {
-#line 1818 "DirectoryMonitor.c"
+#line 1826 "DirectoryMonitor.c"
DirectoryMonitorFileInfoMap* _tmp5_ = NULL;
GFile* _tmp6_ = NULL;
DirectoryMonitorFileInfoMap* _tmp7_ = NULL;
@@ -1823,25 +1831,25 @@ static void directory_monitor_internal_notify_directory_created (DirectoryMonito
GFileInfo* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
GFileInfo* _tmp11_ = NULL;
-#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 629 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = self->priv->files;
-#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 629 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = old_dir;
-#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 629 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = self->priv->parent_moved;
-#line 623 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 629 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_remove_descendents (_tmp5_, _tmp6_, _tmp7_);
-#line 625 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 631 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = old_dir;
-#line 625 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 631 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = old_dir_info;
-#line 625 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 631 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = dir;
-#line 625 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 631 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = info;
-#line 625 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 631 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_directory_moved (self, _tmp8_, _tmp9_, _tmp10_, _tmp11_);
-#line 1844 "DirectoryMonitor.c"
+#line 1852 "DirectoryMonitor.c"
} else {
gboolean updated = FALSE;
DirectoryMonitorFileInfoMap* _tmp12_ = NULL;
@@ -1851,33 +1859,33 @@ static void directory_monitor_internal_notify_directory_created (DirectoryMonito
gboolean _tmp16_ = FALSE;
GFile* _tmp17_ = NULL;
GFileInfo* _tmp18_ = NULL;
-#line 627 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 633 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = self->priv->files;
-#line 627 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 633 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = dir;
-#line 627 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 633 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = info;
-#line 627 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 633 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = directory_monitor_file_info_map_update (_tmp12_, _tmp13_, _tmp14_);
-#line 627 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 633 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
updated = _tmp15_;
-#line 628 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 634 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = updated;
-#line 628 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 634 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp16_, "updated");
-#line 630 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 636 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = dir;
-#line 630 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 636 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = info;
-#line 630 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 636 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_directory_created (self, _tmp17_, _tmp18_);
-#line 1874 "DirectoryMonitor.c"
+#line 1882 "DirectoryMonitor.c"
}
-#line 614 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 620 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (old_dir_info);
-#line 614 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 620 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (old_dir);
-#line 1880 "DirectoryMonitor.c"
+#line 1888 "DirectoryMonitor.c"
}
@@ -1889,42 +1897,42 @@ static void directory_monitor_real_notify_directory_created (DirectoryMonitor* s
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
GFileInfo* _tmp6_ = NULL;
-#line 634 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 640 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 634 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 640 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 635 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = dir;
-#line 635 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 635 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 635 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("directory created: %s", _tmp2_);
-#line 635 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 635 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 635 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 635 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 636 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 642 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = dir;
-#line 636 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 642 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = info;
-#line 636 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 642 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "directory-created", _tmp5_, _tmp6_);
-#line 1918 "DirectoryMonitor.c"
+#line 1926 "DirectoryMonitor.c"
}
void directory_monitor_notify_directory_created (DirectoryMonitor* self, GFile* dir, GFileInfo* info) {
-#line 634 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 640 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 634 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 640 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_directory_created (self, dir, info);
-#line 1927 "DirectoryMonitor.c"
+#line 1935 "DirectoryMonitor.c"
}
@@ -1933,27 +1941,27 @@ static void directory_monitor_internal_notify_directory_moved (DirectoryMonitor*
GFileInfo* _tmp1_ = NULL;
GFile* _tmp2_ = NULL;
GFileInfo* _tmp3_ = NULL;
-#line 639 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 645 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 639 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 645 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (old_dir));
-#line 639 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 645 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (old_dir_info));
-#line 639 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 645 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (new_dir));
-#line 639 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 645 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (new_dir_info));
-#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = old_dir;
-#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = old_dir_info;
-#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = new_dir;
-#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = new_dir_info;
-#line 641 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_async_internal_notify_directory_moved (self, _tmp0_, _tmp1_, _tmp2_, _tmp3_, NULL, NULL);
-#line 1956 "DirectoryMonitor.c"
+#line 1964 "DirectoryMonitor.c"
}
@@ -1972,7 +1980,7 @@ static void directory_monitor_async_internal_notify_directory_moved_data_free (g
_g_object_unref0 (_data_->self);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_slice_free (DirectoryMonitorAsyncInternalNotifyDirectoryMovedData, _data_);
-#line 1975 "DirectoryMonitor.c"
+#line 1983 "DirectoryMonitor.c"
}
@@ -2031,7 +2039,7 @@ static void directory_monitor_async_internal_notify_directory_moved (DirectoryMo
_data_->new_dir_info = _tmp8_;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_async_internal_notify_directory_moved_co (_data_);
-#line 2034 "DirectoryMonitor.c"
+#line 2042 "DirectoryMonitor.c"
}
@@ -2039,521 +2047,521 @@ static void directory_monitor_async_internal_notify_directory_moved_finish (Dire
DirectoryMonitorAsyncInternalNotifyDirectoryMovedData* _data_;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
-#line 2042 "DirectoryMonitor.c"
+#line 2050 "DirectoryMonitor.c"
}
static gboolean _file_equal_gee_equal_data_func (gconstpointer a, gconstpointer b, gpointer self) {
gboolean result;
result = file_equal ((GFile*) a, (GFile*) b);
-#line 646 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 652 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 2051 "DirectoryMonitor.c"
+#line 2059 "DirectoryMonitor.c"
}
static void directory_monitor_async_internal_notify_directory_moved_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
DirectoryMonitorAsyncInternalNotifyDirectoryMovedData* _data_;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_ = _user_data_;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_source_object_ = source_object;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_res_ = _res_;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_async_internal_notify_directory_moved_co (_data_);
-#line 2065 "DirectoryMonitor.c"
+#line 2073 "DirectoryMonitor.c"
}
static gboolean _directory_monitor_async_internal_notify_directory_moved_co_gsource_func (gpointer self) {
gboolean result;
result = directory_monitor_async_internal_notify_directory_moved_co (self);
-#line 677 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 683 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 2074 "DirectoryMonitor.c"
+#line 2082 "DirectoryMonitor.c"
}
static gboolean directory_monitor_async_internal_notify_directory_moved_co (DirectoryMonitorAsyncInternalNotifyDirectoryMovedData* _data_) {
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_data_->_state_) {
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 0:
-#line 2083 "DirectoryMonitor.c"
+#line 2091 "DirectoryMonitor.c"
goto _state_0;
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 1:
-#line 2087 "DirectoryMonitor.c"
+#line 2095 "DirectoryMonitor.c"
goto _state_1;
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 2:
-#line 2091 "DirectoryMonitor.c"
+#line 2099 "DirectoryMonitor.c"
goto _state_2;
default:
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_assert_not_reached ();
-#line 2096 "DirectoryMonitor.c"
+#line 2104 "DirectoryMonitor.c"
}
_state_0:
-#line 646 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 652 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp0_ = NULL;
-#line 646 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 652 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp0_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
-#line 646 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 652 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->file_children = _data_->_tmp0_;
-#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp1_ = NULL;
-#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp1_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
-#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->dir_children = _data_->_tmp1_;
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp2_ = NULL;
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp2_ = _data_->self->priv->files;
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp3_ = NULL;
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp3_ = _data_->old_dir;
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp4_ = NULL;
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp4_ = _data_->file_children;
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp5_ = NULL;
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp5_ = _data_->dir_children;
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp6_ = 0;
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp6_ = directory_monitor_file_info_map_get_children (_data_->_tmp2_, _data_->_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp4_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp5_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->count = _data_->_tmp6_;
-#line 649 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 655 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp7_ = 0;
-#line 649 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 655 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp7_ = _data_->count;
-#line 649 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 655 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp7_ > 0) {
-#line 2139 "DirectoryMonitor.c"
+#line 2147 "DirectoryMonitor.c"
{
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp8_ = NULL;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp8_ = _data_->dir_children;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp9_ = NULL;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp9_ = _g_object_ref0 (_data_->_tmp8_);
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_dir_child_list = _data_->_tmp9_;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp10_ = NULL;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp10_ = _data_->_dir_child_list;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp11_ = 0;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp11_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp10_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp12_ = 0;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp12_ = _data_->_tmp11_;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_dir_child_size = _data_->_tmp12_;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_dir_child_index = -1;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp13_ = 0;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp13_ = _data_->_dir_child_index;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_dir_child_index = _data_->_tmp13_ + 1;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp14_ = 0;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp14_ = _data_->_dir_child_index;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp15_ = 0;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp15_ = _data_->_dir_child_size;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!(_data_->_tmp14_ < _data_->_tmp15_)) {
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 2187 "DirectoryMonitor.c"
+#line 2195 "DirectoryMonitor.c"
}
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp16_ = NULL;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp16_ = _data_->_dir_child_list;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp17_ = 0;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp17_ = _data_->_dir_child_index;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp18_ = NULL;
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp18_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp16_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _data_->_tmp17_);
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->dir_child = (GFile*) _data_->_tmp18_;
-#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 660 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp19_ = NULL;
-#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 660 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp19_ = _data_->self->priv->files;
-#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 660 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp20_ = NULL;
-#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 660 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp20_ = _data_->dir_child;
-#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 660 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp21_ = NULL;
-#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 660 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp21_ = directory_monitor_file_info_map_get_info (_data_->_tmp19_, _data_->_tmp20_);
-#line 654 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 660 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->dir_info = _data_->_tmp21_;
-#line 655 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp22_ = NULL;
-#line 655 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp22_ = _data_->dir_info;
-#line 655 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp22_ == NULL) {
-#line 656 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 662 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp23_ = NULL;
-#line 656 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 662 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp23_ = _data_->dir_child;
-#line 656 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 662 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp24_ = NULL;
-#line 656 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 662 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp24_ = g_file_get_path (_data_->_tmp23_);
-#line 656 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 662 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp25_ = NULL;
-#line 656 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 662 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp25_ = _data_->_tmp24_;
-#line 656 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:656: Unable to retrieve directory-moved info for" \
+#line 662 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:662: Unable to retrieve directory-moved info for" \
" %s", _data_->_tmp25_);
-#line 656 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 662 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_data_->_tmp25_);
-#line 658 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 664 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_info);
-#line 658 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 664 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_child);
-#line 658 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 664 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 2245 "DirectoryMonitor.c"
+#line 2253 "DirectoryMonitor.c"
}
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp26_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp26_ = _data_->dir_child;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp27_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp27_ = _data_->dir_info;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp28_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp28_ = _data_->new_dir;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp29_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp29_ = _data_->dir_child;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp30_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp30_ = g_file_get_basename (_data_->_tmp29_);
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp31_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp31_ = _data_->_tmp30_;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp32_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp32_ = g_file_get_child (_data_->_tmp28_, _data_->_tmp31_);
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp33_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp33_ = _data_->_tmp32_;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp34_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp34_ = _data_->dir_info;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_state_ = 1;
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_async_internal_notify_directory_moved (_data_->self, _data_->_tmp26_, _data_->_tmp27_, _data_->_tmp33_, _data_->_tmp34_, directory_monitor_async_internal_notify_directory_moved_ready, _data_);
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 2289 "DirectoryMonitor.c"
+#line 2297 "DirectoryMonitor.c"
_state_1:
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_async_internal_notify_directory_moved_finish (_data_->self, _data_->_res_);
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_tmp33_);
-#line 661 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_data_->_tmp31_);
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_info);
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_child);
-#line 2301 "DirectoryMonitor.c"
+#line 2309 "DirectoryMonitor.c"
}
-#line 653 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 659 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_dir_child_list);
-#line 2305 "DirectoryMonitor.c"
+#line 2313 "DirectoryMonitor.c"
}
{
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp35_ = NULL;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp35_ = _data_->file_children;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp36_ = NULL;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp36_ = _g_object_ref0 (_data_->_tmp35_);
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_file_child_list = _data_->_tmp36_;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp37_ = NULL;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp37_ = _data_->_file_child_list;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp38_ = 0;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp38_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp37_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp39_ = 0;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp39_ = _data_->_tmp38_;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_file_child_size = _data_->_tmp39_;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_file_child_index = -1;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp40_ = 0;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp40_ = _data_->_file_child_index;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_file_child_index = _data_->_tmp40_ + 1;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp41_ = 0;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp41_ = _data_->_file_child_index;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp42_ = 0;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp42_ = _data_->_file_child_size;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!(_data_->_tmp41_ < _data_->_tmp42_)) {
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 2354 "DirectoryMonitor.c"
+#line 2362 "DirectoryMonitor.c"
}
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp43_ = NULL;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp43_ = _data_->_file_child_list;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp44_ = 0;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp44_ = _data_->_file_child_index;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp45_ = NULL;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp45_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp43_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _data_->_tmp44_);
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->file_child = (GFile*) _data_->_tmp45_;
-#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 673 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp46_ = NULL;
-#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 673 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp46_ = _data_->self->priv->files;
-#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 673 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp47_ = NULL;
-#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 673 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp47_ = _data_->file_child;
-#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 673 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp48_ = NULL;
-#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 673 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp48_ = directory_monitor_file_info_map_get_info (_data_->_tmp46_, _data_->_tmp47_);
-#line 667 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 673 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->file_info = _data_->_tmp48_;
-#line 668 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp49_ = NULL;
-#line 668 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp49_ = _data_->file_info;
-#line 668 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp49_ == NULL) {
-#line 669 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 675 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp50_ = NULL;
-#line 669 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 675 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp50_ = _data_->file_child;
-#line 669 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 675 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp51_ = NULL;
-#line 669 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 675 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp51_ = g_file_get_path (_data_->_tmp50_);
-#line 669 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 675 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp52_ = NULL;
-#line 669 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 675 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp52_ = _data_->_tmp51_;
-#line 669 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:669: Unable to retrieve directory-moved info for" \
+#line 675 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:675: Unable to retrieve directory-moved info for" \
" %s", _data_->_tmp52_);
-#line 669 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 675 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_data_->_tmp52_);
-#line 671 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 677 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_info);
-#line 671 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 677 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_child);
-#line 671 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 677 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 2412 "DirectoryMonitor.c"
+#line 2420 "DirectoryMonitor.c"
}
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp53_ = NULL;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp53_ = _data_->file_child;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp54_ = NULL;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp54_ = _data_->new_dir;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp55_ = NULL;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp55_ = _data_->file_child;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp56_ = NULL;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp56_ = g_file_get_basename (_data_->_tmp55_);
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp57_ = NULL;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp57_ = _data_->_tmp56_;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp58_ = NULL;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp58_ = g_file_get_child (_data_->_tmp54_, _data_->_tmp57_);
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp59_ = NULL;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp59_ = _data_->_tmp58_;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp60_ = NULL;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp60_ = _data_->file_info;
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_file_moved (_data_->self, _data_->_tmp53_, _data_->_tmp59_, _data_->_tmp60_);
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_tmp59_);
-#line 674 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 680 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_data_->_tmp57_);
-#line 677 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 683 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_idle_add_full (DIRECTORY_MONITOR_DEFAULT_PRIORITY, _directory_monitor_async_internal_notify_directory_moved_co_gsource_func, _data_, NULL);
-#line 678 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 684 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_state_ = 2;
-#line 678 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 684 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 2458 "DirectoryMonitor.c"
+#line 2466 "DirectoryMonitor.c"
_state_2:
;
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_info);
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_child);
-#line 2465 "DirectoryMonitor.c"
+#line 2473 "DirectoryMonitor.c"
}
-#line 666 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 672 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_file_child_list);
-#line 2469 "DirectoryMonitor.c"
+#line 2477 "DirectoryMonitor.c"
}
}
-#line 684 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 690 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp61_ = NULL;
-#line 684 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 690 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp61_ = _data_->self->priv->files;
-#line 684 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 690 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp62_ = NULL;
-#line 684 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 690 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp62_ = _data_->old_dir;
-#line 684 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 690 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_remove (_data_->_tmp61_, _data_->_tmp62_, NULL);
-#line 686 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 692 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp63_ = NULL;
-#line 686 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 692 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp63_ = _data_->self->priv->files;
-#line 686 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 692 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp64_ = NULL;
-#line 686 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 692 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp64_ = _data_->new_dir;
-#line 686 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 692 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp65_ = NULL;
-#line 686 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 692 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp65_ = _data_->new_dir_info;
-#line 686 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 692 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp66_ = FALSE;
-#line 686 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 692 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp66_ = directory_monitor_file_info_map_update (_data_->_tmp63_, _data_->_tmp64_, _data_->_tmp65_);
-#line 686 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 692 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->updated = _data_->_tmp66_;
-#line 687 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 693 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_data_->updated, "updated");
-#line 690 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 696 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp67_ = NULL;
-#line 690 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 696 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp67_ = _data_->old_dir;
-#line 690 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 696 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp68_ = NULL;
-#line 690 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 696 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp68_ = _data_->old_dir_info;
-#line 690 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 696 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_remove_monitor (_data_->self, _data_->_tmp67_, _data_->_tmp68_);
-#line 691 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp69_ = NULL;
-#line 691 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp69_ = _data_->new_dir;
-#line 691 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp70_ = NULL;
-#line 691 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp70_ = _data_->new_dir_info;
-#line 691 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_add_monitor (_data_->self, _data_->_tmp69_, _data_->_tmp70_);
-#line 693 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 699 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp71_ = NULL;
-#line 693 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 699 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp71_ = _data_->old_dir;
-#line 693 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 699 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp72_ = NULL;
-#line 693 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 699 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp72_ = _data_->new_dir;
-#line 693 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 699 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp73_ = NULL;
-#line 693 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 699 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp73_ = _data_->new_dir_info;
-#line 693 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 699 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_directory_moved (_data_->self, _data_->_tmp71_, _data_->_tmp72_, _data_->_tmp73_);
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_children);
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_children);
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_state_ == 0) {
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete_in_idle (_data_->_async_result);
-#line 2544 "DirectoryMonitor.c"
+#line 2552 "DirectoryMonitor.c"
} else {
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete (_data_->_async_result);
-#line 2548 "DirectoryMonitor.c"
+#line 2556 "DirectoryMonitor.c"
}
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_object_unref (_data_->_async_result);
-#line 644 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 650 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 2554 "DirectoryMonitor.c"
+#line 2562 "DirectoryMonitor.c"
}
@@ -2572,75 +2580,75 @@ static void directory_monitor_real_notify_directory_moved (DirectoryMonitor* sel
GFile* _tmp11_ = NULL;
GFile* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
-#line 696 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 702 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (old_dir));
-#line 696 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 702 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (new_dir));
-#line 696 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 702 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (new_dir_info));
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = old_dir;
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = new_dir;
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = g_file_get_path (_tmp3_);
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = _tmp4_;
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = g_strdup_printf ("directory moved: %s -> %s", _tmp2_, _tmp5_);
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = _tmp6_;
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp7_);
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp7_);
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp5_);
-#line 697 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 703 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 698 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 704 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = old_dir;
-#line 698 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 704 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = new_dir;
-#line 698 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 704 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = new_dir_info;
-#line 698 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 704 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "directory-moved", _tmp8_, _tmp9_, _tmp10_);
-#line 700 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 706 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = old_dir;
-#line 700 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 706 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = self->priv->root;
-#line 700 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 706 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = g_file_equal (_tmp11_, _tmp12_);
-#line 700 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 706 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp13_) {
-#line 2619 "DirectoryMonitor.c"
+#line 2627 "DirectoryMonitor.c"
GFile* _tmp14_ = NULL;
GFile* _tmp15_ = NULL;
GFileInfo* _tmp16_ = NULL;
-#line 701 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 707 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = old_dir;
-#line 701 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 707 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = new_dir;
-#line 701 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 707 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = new_dir_info;
-#line 701 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 707 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_root_moved (self, _tmp14_, _tmp15_, _tmp16_);
-#line 2631 "DirectoryMonitor.c"
+#line 2639 "DirectoryMonitor.c"
}
}
void directory_monitor_notify_directory_moved (DirectoryMonitor* self, GFile* old_dir, GFile* new_dir, GFileInfo* new_dir_info) {
-#line 696 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 702 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 696 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 702 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_directory_moved (self, old_dir, new_dir, new_dir_info);
-#line 2641 "DirectoryMonitor.c"
+#line 2649 "DirectoryMonitor.c"
}
@@ -2651,38 +2659,38 @@ static void directory_monitor_real_notify_directory_altered (DirectoryMonitor* s
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
-#line 704 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 710 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 705 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 711 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = dir;
-#line 705 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 711 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 705 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 711 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 705 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 711 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("directory altered: %s", _tmp2_);
-#line 705 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 711 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 705 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 711 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 705 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 711 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 705 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 711 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 706 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 712 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = dir;
-#line 706 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 712 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "directory-altered", _tmp5_);
-#line 2674 "DirectoryMonitor.c"
+#line 2682 "DirectoryMonitor.c"
}
void directory_monitor_notify_directory_altered (DirectoryMonitor* self, GFile* dir) {
-#line 704 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 710 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 704 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 710 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_directory_altered (self, dir);
-#line 2683 "DirectoryMonitor.c"
+#line 2691 "DirectoryMonitor.c"
}
@@ -2694,31 +2702,31 @@ static void directory_monitor_internal_notify_directory_alteration_completed (Di
gboolean _tmp3_ = FALSE;
GFile* _tmp4_ = NULL;
GFileInfo* _tmp5_ = NULL;
-#line 709 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 715 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 709 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 715 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 709 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 715 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 710 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 716 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 710 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 716 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = dir;
-#line 710 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 716 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = info;
-#line 710 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 716 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = directory_monitor_file_info_map_update (_tmp0_, _tmp1_, _tmp2_);
-#line 710 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 716 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
updated = _tmp3_;
-#line 711 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 717 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (updated, "updated");
-#line 713 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 719 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = dir;
-#line 713 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 719 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = info;
-#line 713 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 719 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_directory_alteration_completed (self, _tmp4_, _tmp5_);
-#line 2719 "DirectoryMonitor.c"
+#line 2727 "DirectoryMonitor.c"
}
@@ -2730,42 +2738,42 @@ static void directory_monitor_real_notify_directory_alteration_completed (Direct
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
GFileInfo* _tmp6_ = NULL;
-#line 716 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 716 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 717 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 723 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = dir;
-#line 717 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 723 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 717 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 723 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 717 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 723 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("directory alteration completed: %s", _tmp2_);
-#line 717 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 723 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 717 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 723 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 717 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 723 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 717 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 723 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 718 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 724 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = dir;
-#line 718 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 724 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = info;
-#line 718 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 724 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "directory-alteration-completed", _tmp5_, _tmp6_);
-#line 2757 "DirectoryMonitor.c"
+#line 2765 "DirectoryMonitor.c"
}
void directory_monitor_notify_directory_alteration_completed (DirectoryMonitor* self, GFile* dir, GFileInfo* info) {
-#line 716 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 716 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_directory_alteration_completed (self, dir, info);
-#line 2766 "DirectoryMonitor.c"
+#line 2774 "DirectoryMonitor.c"
}
@@ -2776,38 +2784,38 @@ static void directory_monitor_real_notify_directory_attributes_altered (Director
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
-#line 721 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 727 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 728 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = dir;
-#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 728 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 728 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 728 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("directory attributes altered: %s", _tmp2_);
-#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 728 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 728 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 728 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 722 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 728 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 723 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 729 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = dir;
-#line 723 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 729 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "directory-attributes-altered", _tmp5_);
-#line 2799 "DirectoryMonitor.c"
+#line 2807 "DirectoryMonitor.c"
}
void directory_monitor_notify_directory_attributes_altered (DirectoryMonitor* self, GFile* dir) {
-#line 721 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 727 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 721 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 727 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_directory_attributes_altered (self, dir);
-#line 2808 "DirectoryMonitor.c"
+#line 2816 "DirectoryMonitor.c"
}
@@ -2818,31 +2826,31 @@ static void directory_monitor_internal_notify_directory_deleted (DirectoryMonito
GFileInfo* _tmp2_ = NULL;
GFile* _tmp3_ = NULL;
GFile* _tmp4_ = NULL;
-#line 726 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 732 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 726 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 732 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 727 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 733 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 727 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 733 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = dir;
-#line 727 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 733 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = directory_monitor_file_info_map_get_info (_tmp0_, _tmp1_);
-#line 727 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 733 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
info = _tmp2_;
-#line 728 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 734 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (info != NULL, "info != null");
-#line 731 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 737 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = dir;
-#line 731 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 737 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_remove_monitor (self, _tmp3_, info);
-#line 733 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 739 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = dir;
-#line 733 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 739 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_async_notify_directory_deleted (self, _tmp4_, FALSE, NULL, NULL);
-#line 726 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 732 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 2843 "DirectoryMonitor.c"
+#line 2851 "DirectoryMonitor.c"
}
@@ -2855,7 +2863,7 @@ static void directory_monitor_async_notify_directory_deleted_data_free (gpointer
_g_object_unref0 (_data_->self);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_slice_free (DirectoryMonitorAsyncNotifyDirectoryDeletedData, _data_);
-#line 2856 "DirectoryMonitor.c"
+#line 2864 "DirectoryMonitor.c"
}
@@ -2889,7 +2897,7 @@ static void directory_monitor_async_notify_directory_deleted (DirectoryMonitor*
_data_->already_removed = _tmp3_;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_async_notify_directory_deleted_co (_data_);
-#line 2890 "DirectoryMonitor.c"
+#line 2898 "DirectoryMonitor.c"
}
@@ -2897,320 +2905,320 @@ static void directory_monitor_async_notify_directory_deleted_finish (DirectoryMo
DirectoryMonitorAsyncNotifyDirectoryDeletedData* _data_;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
-#line 2898 "DirectoryMonitor.c"
+#line 2906 "DirectoryMonitor.c"
}
static void directory_monitor_async_notify_directory_deleted_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
DirectoryMonitorAsyncNotifyDirectoryDeletedData* _data_;
-#line 756 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 762 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_ = _user_data_;
-#line 756 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 762 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_source_object_ = source_object;
-#line 756 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 762 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_res_ = _res_;
-#line 756 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 762 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_async_notify_directory_deleted_co (_data_);
-#line 2912 "DirectoryMonitor.c"
+#line 2920 "DirectoryMonitor.c"
}
static gboolean _directory_monitor_async_notify_directory_deleted_co_gsource_func (gpointer self) {
gboolean result;
result = directory_monitor_async_notify_directory_deleted_co (self);
-#line 765 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 771 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 2921 "DirectoryMonitor.c"
+#line 2929 "DirectoryMonitor.c"
}
static gboolean directory_monitor_async_notify_directory_deleted_co (DirectoryMonitorAsyncNotifyDirectoryDeletedData* _data_) {
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_data_->_state_) {
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 0:
-#line 2930 "DirectoryMonitor.c"
+#line 2938 "DirectoryMonitor.c"
goto _state_0;
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 1:
-#line 2934 "DirectoryMonitor.c"
+#line 2942 "DirectoryMonitor.c"
goto _state_1;
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 2:
-#line 2938 "DirectoryMonitor.c"
+#line 2946 "DirectoryMonitor.c"
goto _state_2;
default:
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_assert_not_reached ();
-#line 2943 "DirectoryMonitor.c"
+#line 2951 "DirectoryMonitor.c"
}
_state_0:
-#line 744 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 750 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp0_ = NULL;
-#line 744 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 750 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp0_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
-#line 744 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 750 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->file_children = _data_->_tmp0_;
-#line 745 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 751 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp1_ = NULL;
-#line 745 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 751 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp1_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
-#line 745 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 751 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->dir_children = _data_->_tmp1_;
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp2_ = NULL;
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp2_ = _data_->self->priv->files;
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp3_ = NULL;
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp3_ = _data_->dir;
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp4_ = NULL;
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp4_ = _data_->file_children;
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp5_ = NULL;
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp5_ = _data_->dir_children;
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp6_ = 0;
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp6_ = directory_monitor_file_info_map_get_children (_data_->_tmp2_, _data_->_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp4_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp5_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 752 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->count = _data_->_tmp6_;
-#line 747 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 753 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp7_ = 0;
-#line 747 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 753 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp7_ = _data_->count;
-#line 747 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 753 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp7_ > 0) {
-#line 2986 "DirectoryMonitor.c"
+#line 2994 "DirectoryMonitor.c"
{
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp8_ = NULL;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp8_ = _data_->dir_children;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp9_ = NULL;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp9_ = _g_object_ref0 (_data_->_tmp8_);
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_dir_child_list = _data_->_tmp9_;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp10_ = NULL;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp10_ = _data_->_dir_child_list;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp11_ = 0;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp11_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp10_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp12_ = 0;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp12_ = _data_->_tmp11_;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_dir_child_size = _data_->_tmp12_;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_dir_child_index = -1;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp13_ = 0;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp13_ = _data_->_dir_child_index;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_dir_child_index = _data_->_tmp13_ + 1;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp14_ = 0;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp14_ = _data_->_dir_child_index;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp15_ = 0;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp15_ = _data_->_dir_child_size;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!(_data_->_tmp14_ < _data_->_tmp15_)) {
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 3034 "DirectoryMonitor.c"
+#line 3042 "DirectoryMonitor.c"
}
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp16_ = NULL;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp16_ = _data_->_dir_child_list;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp17_ = 0;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp17_ = _data_->_dir_child_index;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp18_ = NULL;
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp18_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp16_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _data_->_tmp17_);
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->dir_child = (GFile*) _data_->_tmp18_;
-#line 756 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 762 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp19_ = NULL;
-#line 756 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 762 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp19_ = _data_->dir_child;
-#line 756 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 762 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_state_ = 1;
-#line 756 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 762 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_async_notify_directory_deleted (_data_->self, _data_->_tmp19_, FALSE, directory_monitor_async_notify_directory_deleted_ready, _data_);
-#line 756 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 762 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 3060 "DirectoryMonitor.c"
+#line 3068 "DirectoryMonitor.c"
_state_1:
-#line 756 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 762 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_async_notify_directory_deleted_finish (_data_->self, _data_->_res_);
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_child);
-#line 3066 "DirectoryMonitor.c"
+#line 3074 "DirectoryMonitor.c"
}
-#line 755 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_dir_child_list);
-#line 3070 "DirectoryMonitor.c"
+#line 3078 "DirectoryMonitor.c"
}
{
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp20_ = NULL;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp20_ = _data_->file_children;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp21_ = NULL;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp21_ = _g_object_ref0 (_data_->_tmp20_);
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_file_child_list = _data_->_tmp21_;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp22_ = NULL;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp22_ = _data_->_file_child_list;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp23_ = 0;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp23_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp22_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp24_ = 0;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp24_ = _data_->_tmp23_;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_file_child_size = _data_->_tmp24_;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_file_child_index = -1;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp25_ = 0;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp25_ = _data_->_file_child_index;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_file_child_index = _data_->_tmp25_ + 1;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp26_ = 0;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp26_ = _data_->_file_child_index;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp27_ = 0;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp27_ = _data_->_file_child_size;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!(_data_->_tmp26_ < _data_->_tmp27_)) {
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 3119 "DirectoryMonitor.c"
+#line 3127 "DirectoryMonitor.c"
}
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp28_ = NULL;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp28_ = _data_->_file_child_list;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp29_ = 0;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp29_ = _data_->_file_child_index;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp30_ = NULL;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp30_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp28_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _data_->_tmp29_);
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->file_child = (GFile*) _data_->_tmp30_;
-#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 767 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp31_ = NULL;
-#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 767 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp31_ = _data_->self->priv->files;
-#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 767 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp32_ = NULL;
-#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 767 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp32_ = _data_->file_child;
-#line 761 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 767 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_remove (_data_->_tmp31_, _data_->_tmp32_, NULL);
-#line 763 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 769 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp33_ = NULL;
-#line 763 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 769 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp33_ = _data_->file_child;
-#line 763 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 769 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_file_deleted (_data_->self, _data_->_tmp33_);
-#line 765 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 771 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_idle_add_full (DIRECTORY_MONITOR_DEFAULT_PRIORITY, _directory_monitor_async_notify_directory_deleted_co_gsource_func, _data_, NULL);
-#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 772 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_state_ = 2;
-#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 772 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 3157 "DirectoryMonitor.c"
+#line 3165 "DirectoryMonitor.c"
_state_2:
;
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_child);
-#line 3162 "DirectoryMonitor.c"
+#line 3170 "DirectoryMonitor.c"
}
-#line 760 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 766 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_file_child_list);
-#line 3166 "DirectoryMonitor.c"
+#line 3174 "DirectoryMonitor.c"
}
}
-#line 770 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 776 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp34_ = FALSE;
-#line 770 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 776 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp34_ = _data_->already_removed;
-#line 770 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 776 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_data_->_tmp34_) {
-#line 771 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp35_ = NULL;
-#line 771 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp35_ = _data_->self->priv->files;
-#line 771 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp36_ = NULL;
-#line 771 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp36_ = _data_->dir;
-#line 771 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_remove (_data_->_tmp35_, _data_->_tmp36_, NULL);
-#line 3185 "DirectoryMonitor.c"
+#line 3193 "DirectoryMonitor.c"
}
-#line 773 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 779 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp37_ = NULL;
-#line 773 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 779 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp37_ = _data_->dir;
-#line 773 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 779 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_directory_deleted (_data_->self, _data_->_tmp37_);
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_children);
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_children);
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_state_ == 0) {
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete_in_idle (_data_->_async_result);
-#line 3201 "DirectoryMonitor.c"
+#line 3209 "DirectoryMonitor.c"
} else {
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete (_data_->_async_result);
-#line 3205 "DirectoryMonitor.c"
+#line 3213 "DirectoryMonitor.c"
}
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_object_unref (_data_->_async_result);
-#line 736 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 742 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 3211 "DirectoryMonitor.c"
+#line 3219 "DirectoryMonitor.c"
}
@@ -3224,53 +3232,53 @@ static void directory_monitor_real_notify_directory_deleted (DirectoryMonitor* s
GFile* _tmp6_ = NULL;
GFile* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 776 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 782 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 783 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = dir;
-#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 783 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 783 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 783 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("directory deleted: %s", _tmp2_);
-#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 783 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 783 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 783 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 777 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 783 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 778 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 784 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = dir;
-#line 778 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 784 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "directory-deleted", _tmp5_);
-#line 780 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 786 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = dir;
-#line 780 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 786 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = self->priv->root;
-#line 780 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 786 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = g_file_equal (_tmp6_, _tmp7_);
-#line 780 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 786 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp8_) {
-#line 3255 "DirectoryMonitor.c"
+#line 3263 "DirectoryMonitor.c"
GFile* _tmp9_ = NULL;
-#line 781 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 787 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = dir;
-#line 781 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 787 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_root_deleted (self, _tmp9_);
-#line 3261 "DirectoryMonitor.c"
+#line 3269 "DirectoryMonitor.c"
}
}
void directory_monitor_notify_directory_deleted (DirectoryMonitor* self, GFile* dir) {
-#line 776 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 782 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 776 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 782 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_directory_deleted (self, dir);
-#line 3271 "DirectoryMonitor.c"
+#line 3279 "DirectoryMonitor.c"
}
@@ -3280,34 +3288,34 @@ static void directory_monitor_real_notify_closed (DirectoryMonitor* self) {
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 785 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 791 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->root;
-#line 785 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 791 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_get_path (_tmp0_);
-#line 785 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 791 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 785 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 791 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_strdup_printf ("monitoring of %s closed", _tmp2_);
-#line 785 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 791 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 785 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 791 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp4_);
-#line 785 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 791 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp4_);
-#line 785 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 791 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp2_);
-#line 786 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 792 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_emit_by_name (self, "closed");
-#line 3299 "DirectoryMonitor.c"
+#line 3307 "DirectoryMonitor.c"
}
void directory_monitor_notify_closed (DirectoryMonitor* self) {
-#line 784 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 790 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 784 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 790 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->notify_closed (self);
-#line 3308 "DirectoryMonitor.c"
+#line 3316 "DirectoryMonitor.c"
}
@@ -3315,17 +3323,17 @@ GFile* directory_monitor_get_root (DirectoryMonitor* self) {
GFile* result = NULL;
GFile* _tmp0_ = NULL;
GFile* _tmp1_ = NULL;
-#line 789 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 795 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), NULL);
-#line 790 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 796 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->root;
-#line 790 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 796 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 790 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 796 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = _tmp1_;
-#line 790 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 796 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 3326 "DirectoryMonitor.c"
+#line 3334 "DirectoryMonitor.c"
}
@@ -3334,72 +3342,72 @@ gboolean directory_monitor_is_in_root (DirectoryMonitor* self, GFile* file) {
GFile* _tmp0_ = NULL;
GFile* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
-#line 793 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 799 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), FALSE);
-#line 793 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 799 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), FALSE);
-#line 794 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 800 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 794 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 800 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = self->priv->root;
-#line 794 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 800 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = g_file_has_prefix (_tmp0_, _tmp1_);
-#line 794 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 800 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = _tmp2_;
-#line 794 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 800 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 3349 "DirectoryMonitor.c"
+#line 3357 "DirectoryMonitor.c"
}
gboolean directory_monitor_has_started (DirectoryMonitor* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 797 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 803 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), FALSE);
-#line 798 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 804 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->started;
-#line 798 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 804 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = _tmp0_;
-#line 798 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 804 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 3364 "DirectoryMonitor.c"
+#line 3372 "DirectoryMonitor.c"
}
void directory_monitor_start_discovery (DirectoryMonitor* self) {
gboolean _tmp0_ = FALSE;
GFile* _tmp1_ = NULL;
-#line 801 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 807 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 802 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 808 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->started;
-#line 802 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 808 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (!_tmp0_, "!started");
-#line 804 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 810 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->has_discovery_started = TRUE;
-#line 805 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 811 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->started = TRUE;
-#line 807 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 813 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_discovery_started (self);
-#line 810 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 816 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->outstanding_exploration_dirs = 1;
-#line 811 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 817 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = self->priv->root;
-#line 811 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 817 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_explore_async (self, _tmp1_, NULL, TRUE, NULL, NULL);
-#line 3389 "DirectoryMonitor.c"
+#line 3397 "DirectoryMonitor.c"
}
static void directory_monitor_real_close (DirectoryMonitor* self) {
GCancellable* _tmp0_ = NULL;
GeeHashMap* _tmp12_ = NULL;
-#line 818 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 824 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->cancellable;
-#line 818 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 824 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_cancellable_cancel (_tmp0_);
-#line 3400 "DirectoryMonitor.c"
+#line 3408 "DirectoryMonitor.c"
{
GeeIterator* _monitor_it = NULL;
GeeHashMap* _tmp1_ = NULL;
@@ -3408,75 +3416,75 @@ static void directory_monitor_real_close (DirectoryMonitor* self) {
GeeCollection* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
GeeIterator* _tmp6_ = NULL;
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = self->priv->monitors;
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = gee_abstract_map_get_values (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = _tmp2_;
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_;
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = _tmp5_;
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp4_);
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_monitor_it = _tmp6_;
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 3427 "DirectoryMonitor.c"
+#line 3435 "DirectoryMonitor.c"
GeeIterator* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
GFileMonitor* monitor = NULL;
GeeIterator* _tmp9_ = NULL;
gpointer _tmp10_ = NULL;
GFileMonitor* _tmp11_ = NULL;
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = _monitor_it;
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = gee_iterator_next (_tmp7_);
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp8_) {
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 3442 "DirectoryMonitor.c"
+#line 3450 "DirectoryMonitor.c"
}
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = _monitor_it;
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = gee_iterator_get (_tmp9_);
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
monitor = (GFileMonitor*) _tmp10_;
-#line 822 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 828 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = monitor;
-#line 822 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 828 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_cancel_monitor (self, _tmp11_);
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (monitor);
-#line 3456 "DirectoryMonitor.c"
+#line 3464 "DirectoryMonitor.c"
}
-#line 821 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 827 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_monitor_it);
-#line 3460 "DirectoryMonitor.c"
+#line 3468 "DirectoryMonitor.c"
}
-#line 824 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 830 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = self->priv->monitors;
-#line 824 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 830 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_abstract_map_clear (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
-#line 826 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 832 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_closed (self);
-#line 3468 "DirectoryMonitor.c"
+#line 3476 "DirectoryMonitor.c"
}
void directory_monitor_close (DirectoryMonitor* self) {
-#line 816 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 822 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 816 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 822 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_GET_CLASS (self)->close (self);
-#line 3477 "DirectoryMonitor.c"
+#line 3485 "DirectoryMonitor.c"
}
@@ -3486,37 +3494,37 @@ static DirectoryMonitorFType directory_monitor_get_ftype (GFileInfo* info) {
GFileInfo* _tmp0_ = NULL;
GFileType _tmp1_ = 0;
GFileType _tmp2_ = 0;
-#line 829 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 835 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE_INFO (info), 0);
-#line 830 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 836 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = info;
-#line 830 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 836 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_info_get_file_type (_tmp0_);
-#line 830 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 836 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
file_type = _tmp1_;
-#line 831 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 837 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = file_type;
-#line 831 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 837 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp2_) {
-#line 831 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 837 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_TYPE_REGULAR:
-#line 3501 "DirectoryMonitor.c"
+#line 3509 "DirectoryMonitor.c"
{
-#line 833 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 839 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = DIRECTORY_MONITOR_FTYPE_FILE;
-#line 833 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 839 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 3507 "DirectoryMonitor.c"
+#line 3515 "DirectoryMonitor.c"
}
-#line 831 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 837 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_TYPE_DIRECTORY:
-#line 3511 "DirectoryMonitor.c"
+#line 3519 "DirectoryMonitor.c"
{
-#line 836 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 842 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = DIRECTORY_MONITOR_FTYPE_DIRECTORY;
-#line 836 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 842 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 3517 "DirectoryMonitor.c"
+#line 3525 "DirectoryMonitor.c"
}
default:
{
@@ -3524,23 +3532,23 @@ static DirectoryMonitorFType directory_monitor_get_ftype (GFileInfo* info) {
GEnumValue* _tmp4_;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 839 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = file_type;
-#line 839 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = g_enum_get_value (g_type_class_ref (g_file_type_get_type ()), _tmp3_);
-#line 839 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = g_strdup_printf ("query_ftype: Unknown file type %s", (_tmp4_ != NULL) ? _tmp4_->value_name : NULL);
-#line 839 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = _tmp5_;
-#line 839 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp6_);
-#line 839 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp6_);
-#line 840 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 846 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = DIRECTORY_MONITOR_FTYPE_UNSUPPORTED;
-#line 840 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 846 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 3541 "DirectoryMonitor.c"
+#line 3549 "DirectoryMonitor.c"
}
}
}
@@ -3557,7 +3565,7 @@ static void directory_monitor_explore_async_data_free (gpointer _data) {
_g_object_unref0 (_data_->self);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_slice_free (DirectoryMonitorExploreAsyncData, _data_);
-#line 3558 "DirectoryMonitor.c"
+#line 3566 "DirectoryMonitor.c"
}
@@ -3601,7 +3609,7 @@ static void directory_monitor_explore_async (DirectoryMonitor* self, GFile* dir,
_data_->in_discovery = _tmp5_;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_explore_async_co (_data_);
-#line 3602 "DirectoryMonitor.c"
+#line 3610 "DirectoryMonitor.c"
}
@@ -3609,1104 +3617,1128 @@ static void directory_monitor_explore_finish (DirectoryMonitor* self, GAsyncResu
DirectoryMonitorExploreAsyncData* _data_;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
-#line 3610 "DirectoryMonitor.c"
+#line 3618 "DirectoryMonitor.c"
}
static void directory_monitor_explore_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
DirectoryMonitorExploreAsyncData* _data_;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_ = _user_data_;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_source_object_ = source_object;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_res_ = _res_;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_explore_async_co (_data_);
-#line 3624 "DirectoryMonitor.c"
+#line 3632 "DirectoryMonitor.c"
}
static void _g_object_unref0_ (gpointer var) {
-#line 911 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
-#line 3631 "DirectoryMonitor.c"
+#line 3639 "DirectoryMonitor.c"
}
static void _g_list_free__g_object_unref0_ (GList* self) {
-#line 911 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
-#line 911 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_list_free (self);
-#line 3640 "DirectoryMonitor.c"
+#line 3648 "DirectoryMonitor.c"
}
static guint _file_hash_gee_hash_data_func (gconstpointer v, gpointer self) {
guint result;
result = file_hash ((GFile*) v);
-#line 929 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 935 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 3649 "DirectoryMonitor.c"
+#line 3657 "DirectoryMonitor.c"
}
static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsyncData* _data_) {
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_data_->_state_) {
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 0:
-#line 3658 "DirectoryMonitor.c"
+#line 3666 "DirectoryMonitor.c"
goto _state_0;
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 1:
-#line 3662 "DirectoryMonitor.c"
+#line 3670 "DirectoryMonitor.c"
goto _state_1;
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 2:
-#line 3666 "DirectoryMonitor.c"
+#line 3674 "DirectoryMonitor.c"
goto _state_2;
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 3:
-#line 3670 "DirectoryMonitor.c"
+#line 3678 "DirectoryMonitor.c"
goto _state_3;
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 4:
-#line 3674 "DirectoryMonitor.c"
+#line 3682 "DirectoryMonitor.c"
goto _state_4;
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 5:
-#line 3678 "DirectoryMonitor.c"
+#line 3686 "DirectoryMonitor.c"
goto _state_5;
default:
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_assert_not_reached ();
-#line 3683 "DirectoryMonitor.c"
+#line 3691 "DirectoryMonitor.c"
}
_state_0:
-#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 851 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp0_ = NULL;
-#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 851 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp0_ = _data_->self->priv->files;
-#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 851 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp1_ = NULL;
-#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 851 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp1_ = _data_->dir;
-#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 851 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp2_ = NULL;
-#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 851 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp2_ = _data_->dir_info;
-#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 851 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp3_ = FALSE;
-#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 851 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp3_ = directory_monitor_file_info_map_contains (_data_->_tmp0_, _data_->_tmp1_, _data_->_tmp2_);
-#line 845 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 851 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp3_) {
-#line 846 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 852 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp4_ = NULL;
-#line 846 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 852 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp4_ = _data_->dir;
-#line 846 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 852 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp5_ = NULL;
-#line 846 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 852 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp5_ = g_file_get_path (_data_->_tmp4_);
-#line 846 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 852 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp6_ = NULL;
-#line 846 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 852 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp6_ = _data_->_tmp5_;
-#line 846 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:846: Directory loop detected at %s, not explorin" \
+#line 852 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:852: Directory loop detected at %s, not explorin" \
"g", _data_->_tmp6_);
-#line 846 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 852 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_data_->_tmp6_);
-#line 848 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 854 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp7_ = FALSE;
-#line 848 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 854 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp7_ = _data_->in_discovery;
-#line 848 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 854 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_explore_directory_completed (_data_->self, _data_->_tmp7_);
-#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_state_ == 0) {
-#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete_in_idle (_data_->_async_result);
-#line 3730 "DirectoryMonitor.c"
+#line 3738 "DirectoryMonitor.c"
} else {
-#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete (_data_->_async_result);
-#line 3734 "DirectoryMonitor.c"
+#line 3742 "DirectoryMonitor.c"
}
-#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_object_unref (_data_->_async_result);
-#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 3740 "DirectoryMonitor.c"
+#line 3748 "DirectoryMonitor.c"
}
-#line 854 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp8_ = NULL;
-#line 854 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp8_ = _data_->dir_info;
-#line 854 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp9_ = NULL;
-#line 854 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp9_ = _g_object_ref0 (_data_->_tmp8_);
-#line 854 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->local_dir_info = _data_->_tmp9_;
-#line 855 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 861 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp10_ = NULL;
-#line 855 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 861 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp10_ = _data_->local_dir_info;
-#line 855 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 861 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp10_ == NULL) {
-#line 3758 "DirectoryMonitor.c"
+#line 3766 "DirectoryMonitor.c"
{
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp12_ = NULL;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp12_ = _data_->dir;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp13_ = NULL;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp13_ = _data_->self->priv->cancellable;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_state_ = 1;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_file_query_info_async (_data_->_tmp12_, DIRECTORY_MONITOR_SUPPLIED_ATTRIBUTES, DIRECTORY_MONITOR_DIR_INFO_FLAGS, DIRECTORY_MONITOR_DEFAULT_PRIORITY, _data_->_tmp13_, directory_monitor_explore_async_ready, _data_);
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 3774 "DirectoryMonitor.c"
+#line 3782 "DirectoryMonitor.c"
_state_1:
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp14_ = NULL;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp14_ = g_file_query_info_finish (_data_->_tmp12_, _data_->_res_, &_data_->_inner_error_);
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp11_ = _data_->_tmp14_;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
-#line 3784 "DirectoryMonitor.c"
+#line 3792 "DirectoryMonitor.c"
goto __catch480_g_error;
}
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp15_ = NULL;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp15_ = _data_->_tmp11_;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp11_ = NULL;
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->local_dir_info);
-#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 863 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->local_dir_info = _data_->_tmp15_;
-#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_tmp11_);
-#line 3799 "DirectoryMonitor.c"
+#line 3807 "DirectoryMonitor.c"
}
goto __finally480;
__catch480_g_error:
{
-#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->err = _data_->_inner_error_;
-#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_inner_error_ = NULL;
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp16_ = NULL;
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp16_ = _data_->dir;
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp17_ = NULL;
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp17_ = g_file_get_path (_data_->_tmp16_);
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp18_ = NULL;
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp18_ = _data_->_tmp17_;
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp19_ = NULL;
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp19_ = _data_->err;
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp20_ = NULL;
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp20_ = _data_->_tmp19_->message;
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:860: Unable to retrieve info on %s: %s", _data_->_tmp18_, _data_->_tmp20_);
-#line 860 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:866: Unable to retrieve info on %s: %s", _data_->_tmp18_, _data_->_tmp20_);
+#line 866 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_data_->_tmp18_);
-#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 868 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp21_ = FALSE;
-#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 868 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp21_ = _data_->in_discovery;
-#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 868 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_explore_directory_completed (_data_->self, _data_->_tmp21_);
-#line 864 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 870 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_error_free0 (_data_->err);
-#line 864 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 870 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->local_dir_info);
-#line 864 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 870 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_state_ == 0) {
-#line 864 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 870 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete_in_idle (_data_->_async_result);
-#line 3846 "DirectoryMonitor.c"
+#line 3854 "DirectoryMonitor.c"
} else {
-#line 864 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 870 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete (_data_->_async_result);
-#line 3850 "DirectoryMonitor.c"
+#line 3858 "DirectoryMonitor.c"
}
-#line 864 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 870 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_object_unref (_data_->_async_result);
-#line 864 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 870 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 3856 "DirectoryMonitor.c"
+#line 3864 "DirectoryMonitor.c"
}
__finally480:
-#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
-#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->local_dir_info);
-#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
-#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_clear_error (&_data_->_inner_error_);
-#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 862 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 3869 "DirectoryMonitor.c"
+#line 3877 "DirectoryMonitor.c"
}
}
-#line 868 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 874 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp22_ = NULL;
-#line 868 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 874 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp22_ = _data_->local_dir_info;
-#line 868 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 874 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp23_ = FALSE;
-#line 868 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 874 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp23_ = g_file_info_get_is_hidden (_data_->_tmp22_);
-#line 868 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 874 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp23_) {
-#line 869 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 875 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp24_ = NULL;
-#line 869 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 875 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp24_ = _data_->dir;
-#line 869 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 875 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp25_ = NULL;
-#line 869 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 875 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp25_ = g_file_get_path (_data_->_tmp24_);
-#line 869 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 875 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp26_ = NULL;
-#line 869 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 875 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp26_ = _data_->_tmp25_;
-#line 869 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:869: Ignoring hidden directory %s", _data_->_tmp26_);
-#line 869 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 875 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:875: Ignoring hidden directory %s", _data_->_tmp26_);
+#line 875 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_data_->_tmp26_);
-#line 871 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 877 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp27_ = FALSE;
-#line 871 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 877 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp27_ = _data_->in_discovery;
-#line 871 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 877 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_explore_directory_completed (_data_->self, _data_->_tmp27_);
-#line 873 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->local_dir_info);
-#line 873 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_state_ == 0) {
-#line 873 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete_in_idle (_data_->_async_result);
-#line 3910 "DirectoryMonitor.c"
+#line 3918 "DirectoryMonitor.c"
} else {
-#line 873 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete (_data_->_async_result);
-#line 3914 "DirectoryMonitor.c"
+#line 3922 "DirectoryMonitor.c"
}
-#line 873 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_object_unref (_data_->_async_result);
-#line 873 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 3920 "DirectoryMonitor.c"
+#line 3928 "DirectoryMonitor.c"
}
-#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp28_ = NULL;
-#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp28_ = _data_->local_dir_info;
-#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp29_ = NULL;
-#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp29_ = get_file_info_id (_data_->_tmp28_);
-#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp30_ = NULL;
-#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp30_ = _data_->_tmp29_;
-#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp31_ = FALSE;
-#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp31_ = _data_->_tmp30_ == NULL;
-#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_data_->_tmp30_);
-#line 879 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp31_) {
-#line 880 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 885 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp32_ = NULL;
-#line 880 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp32_ = _data_->dir;
-#line 880 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 885 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp32_ = _data_->local_dir_info;
+#line 885 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp33_ = NULL;
-#line 880 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp33_ = g_file_get_path (_data_->_tmp32_);
-#line 880 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 885 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp33_ = _data_->dir;
+#line 885 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp34_ = NULL;
-#line 880 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp34_ = _data_->_tmp33_;
-#line 880 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:880: Unable to retrieve file ID on %s: skipping", _data_->_tmp34_);
-#line 880 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_free0 (_data_->_tmp34_);
-#line 882 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp35_ = FALSE;
-#line 882 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp35_ = _data_->in_discovery;
-#line 882 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_explore_directory_completed (_data_->self, _data_->_tmp35_);
-#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (_data_->local_dir_info);
-#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_data_->_state_ == 0) {
-#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_simple_async_result_complete_in_idle (_data_->_async_result);
+#line 885 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp34_ = g_file_get_uri (_data_->_tmp33_);
+#line 885 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp35_ = NULL;
+#line 885 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp35_ = _data_->_tmp34_;
+#line 885 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_file_info_set_attribute_string (_data_->_tmp32_, G_FILE_ATTRIBUTE_ID_FILE, _data_->_tmp35_);
+#line 885 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_free0 (_data_->_tmp35_);
#line 3970 "DirectoryMonitor.c"
- } else {
-#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_simple_async_result_complete (_data_->_async_result);
-#line 3974 "DirectoryMonitor.c"
- }
-#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_object_unref (_data_->_async_result);
-#line 884 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- return FALSE;
-#line 3980 "DirectoryMonitor.c"
}
-#line 888 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 890 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp36_ = NULL;
-#line 888 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 890 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp36_ = _data_->local_dir_info;
-#line 888 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 890 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp37_ = 0;
-#line 888 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 890 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp37_ = g_file_info_get_file_type (_data_->_tmp36_);
-#line 888 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 890 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp37_ != G_FILE_TYPE_DIRECTORY) {
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp38_ = NULL;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp38_ = _ ("Unable to monitor %s: Not a directory (%s)");
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp39_ = NULL;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp39_ = _data_->dir;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp40_ = NULL;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp40_ = g_file_get_path (_data_->_tmp39_);
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp41_ = NULL;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp41_ = _data_->_tmp40_;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp42_ = NULL;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp42_ = _data_->local_dir_info;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp43_ = 0;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp43_ = g_file_info_get_file_type (_data_->_tmp42_);
-#line 890 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 892 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
memset (&_data_->_tmp44_, 0, sizeof (GEnumValue*));
-#line 890 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 892 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp44_ = g_enum_get_value (g_type_class_ref (g_file_type_get_type ()), _data_->_tmp43_);
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp45_ = NULL;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp45_ = g_strdup_printf (_data_->_tmp38_, _data_->_tmp41_, (_data_->_tmp44_ != NULL) ? _data_->_tmp44_->value_name : NULL);
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp46_ = NULL;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp46_ = _data_->_tmp45_;
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_discovery_failed (_data_->self, _data_->_tmp46_);
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_data_->_tmp46_);
-#line 889 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 891 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_data_->_tmp41_);
-#line 892 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 894 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp47_ = FALSE;
-#line 892 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 894 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp47_ = _data_->in_discovery;
-#line 892 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_explore_directory_completed (_data_->self, _data_->_tmp47_);
#line 894 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ directory_monitor_explore_directory_completed (_data_->self, _data_->_tmp47_);
+#line 896 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->local_dir_info);
-#line 894 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 896 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_state_ == 0) {
-#line 894 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 896 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete_in_idle (_data_->_async_result);
-#line 4046 "DirectoryMonitor.c"
+#line 4036 "DirectoryMonitor.c"
} else {
-#line 894 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 896 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete (_data_->_async_result);
-#line 4050 "DirectoryMonitor.c"
+#line 4040 "DirectoryMonitor.c"
}
-#line 894 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 896 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_object_unref (_data_->_async_result);
-#line 894 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 896 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 4056 "DirectoryMonitor.c"
+#line 4046 "DirectoryMonitor.c"
}
-#line 901 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 903 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->dir_map = NULL;
-#line 902 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->file_map = NULL;
-#line 4062 "DirectoryMonitor.c"
+#line 4052 "DirectoryMonitor.c"
{
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp48_ = NULL;
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp48_ = _data_->dir;
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp49_ = NULL;
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp49_ = _data_->self->priv->cancellable;
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_state_ = 2;
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_file_enumerate_children_async (_data_->_tmp48_, DIRECTORY_MONITOR_SUPPLIED_ATTRIBUTES, DIRECTORY_MONITOR_UNKNOWN_INFO_FLAGS, DIRECTORY_MONITOR_DEFAULT_PRIORITY, _data_->_tmp49_, directory_monitor_explore_async_ready, _data_);
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 4078 "DirectoryMonitor.c"
+#line 4068 "DirectoryMonitor.c"
_state_2:
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp50_ = NULL;
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp50_ = g_file_enumerate_children_finish (_data_->_tmp48_, _data_->_res_, &_data_->_inner_error_);
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->enumerator = _data_->_tmp50_;
-#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
-#line 4088 "DirectoryMonitor.c"
+#line 4078 "DirectoryMonitor.c"
goto __catch481_g_error;
}
{
-#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 909 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp51_ = TRUE;
-#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 909 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 909 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_data_->_tmp51_) {
-#line 4098 "DirectoryMonitor.c"
+#line 4088 "DirectoryMonitor.c"
}
-#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 909 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp51_ = FALSE;
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp52_ = NULL;
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp52_ = _data_->enumerator;
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp53_ = NULL;
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp53_ = _data_->self->priv->cancellable;
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_state_ = 3;
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_file_enumerator_next_files_async (_data_->_tmp52_, 10, DIRECTORY_MONITOR_DEFAULT_PRIORITY, _data_->_tmp53_, directory_monitor_explore_async_ready, _data_);
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 4116 "DirectoryMonitor.c"
+#line 4106 "DirectoryMonitor.c"
_state_3:
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp54_ = NULL;
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp54_ = g_file_enumerator_next_files_finish (_data_->_tmp52_, _data_->_res_, &_data_->_inner_error_);
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->infos = _data_->_tmp54_;
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
-#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->enumerator);
-#line 4128 "DirectoryMonitor.c"
+#line 4118 "DirectoryMonitor.c"
goto __catch481_g_error;
}
-#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 912 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp55_ = NULL;
-#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 912 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp55_ = _data_->infos;
-#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 912 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp55_ == NULL) {
-#line 911 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
__g_list_free__g_object_unref0_0 (_data_->infos);
-#line 911 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 4141 "DirectoryMonitor.c"
+#line 4131 "DirectoryMonitor.c"
}
-#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp56_ = NULL;
-#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp56_ = _data_->infos;
-#line 4147 "DirectoryMonitor.c"
+#line 4137 "DirectoryMonitor.c"
{
-#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->info_collection = _data_->_tmp56_;
-#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
for (_data_->info_it = _data_->info_collection; _data_->info_it != NULL; _data_->info_it = _data_->info_it->next) {
-#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp57_ = NULL;
-#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp57_ = _g_object_ref0 ((GFileInfo*) _data_->info_it->data);
-#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->info = _data_->_tmp57_;
-#line 4159 "DirectoryMonitor.c"
+#line 4149 "DirectoryMonitor.c"
{
-#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp58_ = NULL;
-#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp58_ = _data_->info;
-#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp59_ = FALSE;
-#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp59_ = g_file_info_get_is_hidden (_data_->_tmp58_);
-#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_data_->_tmp59_) {
#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp60_ = NULL;
+ _data_->_tmp58_ = _data_->info;
#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp60_ = _data_->dir;
+ _data_->_tmp59_ = NULL;
#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp61_ = NULL;
+ _data_->_tmp59_ = get_file_info_id (_data_->_tmp58_);
#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp61_ = _data_->info;
+ _data_->_tmp60_ = NULL;
#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp62_ = NULL;
+ _data_->_tmp60_ = _data_->_tmp59_;
#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp62_ = g_file_info_get_name (_data_->_tmp61_);
+ _data_->_tmp61_ = FALSE;
#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp63_ = NULL;
+ _data_->_tmp61_ = _data_->_tmp60_ == NULL;
#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp63_ = g_file_get_child (_data_->_tmp60_, _data_->_tmp62_);
+ _g_free0 (_data_->_tmp60_);
#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (_data_->_tmp61_) {
+#line 917 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp62_ = NULL;
+#line 917 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp62_ = _data_->info;
+#line 917 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp63_ = NULL;
+#line 917 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp63_ = _data_->dir;
+#line 917 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp64_ = NULL;
-#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp64_ = _data_->_tmp63_;
-#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 917 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp64_ = g_file_get_uri (_data_->_tmp63_);
+#line 917 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp65_ = NULL;
-#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp65_ = g_file_get_path (_data_->_tmp64_);
-#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp66_ = NULL;
-#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp66_ = _data_->_tmp65_;
-#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:916: Skipping hidden file/directory %s", _data_->_tmp66_);
-#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_free0 (_data_->_tmp66_);
-#line 916 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (_data_->_tmp64_);
-#line 919 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (_data_->info);
-#line 919 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- continue;
-#line 4209 "DirectoryMonitor.c"
+#line 917 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp65_ = _data_->_tmp64_;
+#line 917 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_file_info_set_attribute_string (_data_->_tmp62_, G_FILE_ATTRIBUTE_ID_FILE, _data_->_tmp65_);
+#line 917 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_free0 (_data_->_tmp65_);
+#line 4191 "DirectoryMonitor.c"
}
-#line 923 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp67_ = NULL;
-#line 923 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp67_ = _data_->info;
-#line 923 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp68_ = FALSE;
-#line 923 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp68_ = directory_monitor_is_file_symlink_supported (_data_->_tmp67_);
-#line 923 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (!_data_->_tmp68_) {
-#line 924 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 921 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp66_ = NULL;
+#line 921 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp66_ = _data_->info;
+#line 921 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp67_ = FALSE;
+#line 921 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp67_ = g_file_info_get_is_hidden (_data_->_tmp66_);
+#line 921 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (_data_->_tmp67_) {
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp68_ = NULL;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp68_ = _data_->dir;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp69_ = NULL;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp69_ = _data_->info;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp70_ = NULL;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp70_ = g_file_info_get_name (_data_->_tmp69_);
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp71_ = NULL;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp71_ = g_file_get_child (_data_->_tmp68_, _data_->_tmp70_);
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp72_ = NULL;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp72_ = _data_->_tmp71_;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp73_ = NULL;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp73_ = g_file_get_path (_data_->_tmp72_);
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp74_ = NULL;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp74_ = _data_->_tmp73_;
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:922: Skipping hidden file/directory %s", _data_->_tmp74_);
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_free0 (_data_->_tmp74_);
+#line 922 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_object_unref0 (_data_->_tmp72_);
+#line 925 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->info);
-#line 924 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 925 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 4225 "DirectoryMonitor.c"
+#line 4241 "DirectoryMonitor.c"
}
-#line 926 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp69_ = NULL;
-#line 926 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp69_ = _data_->info;
-#line 926 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp70_ = 0;
-#line 926 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp70_ = g_file_info_get_file_type (_data_->_tmp69_);
-#line 926 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- switch (_data_->_tmp70_) {
-#line 926 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- case G_FILE_TYPE_REGULAR:
-#line 4239 "DirectoryMonitor.c"
- {
-#line 928 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp71_ = NULL;
-#line 928 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp71_ = _data_->file_map;
-#line 928 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_data_->_tmp71_ == NULL) {
#line 929 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp72_ = NULL;
+ _data_->_tmp75_ = NULL;
#line 929 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp72_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _data_->_tmp75_ = _data_->info;
#line 929 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (_data_->file_map);
+ _data_->_tmp76_ = FALSE;
#line 929 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->file_map = _data_->_tmp72_;
-#line 4255 "DirectoryMonitor.c"
- }
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp73_ = NULL;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp73_ = _data_->file_map;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp74_ = NULL;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp74_ = _data_->dir;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp75_ = NULL;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp75_ = _data_->info;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp76_ = NULL;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp76_ = g_file_info_get_name (_data_->_tmp75_);
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp77_ = NULL;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp77_ = g_file_get_child (_data_->_tmp74_, _data_->_tmp76_);
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp78_ = NULL;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp78_ = _data_->_tmp77_;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp79_ = NULL;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp79_ = _data_->info;
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp73_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _data_->_tmp78_, _data_->_tmp79_);
-#line 931 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (_data_->_tmp78_);
+ _data_->_tmp76_ = directory_monitor_is_file_symlink_supported (_data_->_tmp75_);
+#line 929 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (!_data_->_tmp76_) {
+#line 930 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_object_unref0 (_data_->info);
+#line 930 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ continue;
+#line 4257 "DirectoryMonitor.c"
+ }
#line 932 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- break;
-#line 4291 "DirectoryMonitor.c"
- }
-#line 926 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- case G_FILE_TYPE_DIRECTORY:
-#line 4295 "DirectoryMonitor.c"
+ _data_->_tmp77_ = NULL;
+#line 932 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp77_ = _data_->info;
+#line 932 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp78_ = 0;
+#line 932 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp78_ = g_file_info_get_file_type (_data_->_tmp77_);
+#line 932 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ switch (_data_->_tmp78_) {
+#line 932 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ case G_FILE_TYPE_REGULAR:
+#line 4271 "DirectoryMonitor.c"
{
+#line 934 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp79_ = NULL;
+#line 934 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp79_ = _data_->file_map;
+#line 934 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (_data_->_tmp79_ == NULL) {
#line 935 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp80_ = NULL;
+ _data_->_tmp80_ = NULL;
#line 935 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp80_ = _data_->dir_map;
+ _data_->_tmp80_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 935 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_data_->_tmp80_ == NULL) {
-#line 936 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp81_ = NULL;
-#line 936 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp81_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
-#line 936 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (_data_->dir_map);
-#line 936 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->dir_map = _data_->_tmp81_;
-#line 4311 "DirectoryMonitor.c"
+ _g_object_unref0 (_data_->file_map);
+#line 935 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->file_map = _data_->_tmp80_;
+#line 4287 "DirectoryMonitor.c"
}
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp81_ = NULL;
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp81_ = _data_->file_map;
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp82_ = NULL;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp82_ = _data_->dir_map;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp82_ = _data_->dir;
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp83_ = NULL;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp83_ = _data_->dir;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp83_ = _data_->info;
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp84_ = NULL;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp84_ = _data_->info;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp84_ = g_file_info_get_name (_data_->_tmp83_);
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp85_ = NULL;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp85_ = g_file_info_get_name (_data_->_tmp84_);
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp85_ = g_file_get_child (_data_->_tmp82_, _data_->_tmp84_);
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp86_ = NULL;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp86_ = g_file_get_child (_data_->_tmp83_, _data_->_tmp85_);
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp86_ = _data_->_tmp85_;
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp87_ = NULL;
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp87_ = _data_->info;
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp81_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _data_->_tmp86_, _data_->_tmp87_);
+#line 937 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_object_unref0 (_data_->_tmp86_);
#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp87_ = _data_->_tmp86_;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ break;
+#line 4323 "DirectoryMonitor.c"
+ }
+#line 932 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ case G_FILE_TYPE_DIRECTORY:
+#line 4327 "DirectoryMonitor.c"
+ {
+#line 941 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp88_ = NULL;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp88_ = _data_->info;
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp82_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _data_->_tmp87_, _data_->_tmp88_);
-#line 938 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (_data_->_tmp87_);
-#line 939 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 941 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp88_ = _data_->dir_map;
+#line 941 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (_data_->_tmp88_ == NULL) {
+#line 942 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp89_ = NULL;
+#line 942 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp89_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+#line 942 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_object_unref0 (_data_->dir_map);
+#line 942 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->dir_map = _data_->_tmp89_;
+#line 4343 "DirectoryMonitor.c"
+ }
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp90_ = NULL;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp90_ = _data_->dir_map;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp91_ = NULL;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp91_ = _data_->dir;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp92_ = NULL;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp92_ = _data_->info;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp93_ = NULL;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp93_ = g_file_info_get_name (_data_->_tmp92_);
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp94_ = NULL;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp94_ = g_file_get_child (_data_->_tmp91_, _data_->_tmp93_);
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp95_ = NULL;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp95_ = _data_->_tmp94_;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp96_ = NULL;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp96_ = _data_->info;
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp90_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _data_->_tmp95_, _data_->_tmp96_);
+#line 944 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_object_unref0 (_data_->_tmp95_);
+#line 945 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 4347 "DirectoryMonitor.c"
+#line 4379 "DirectoryMonitor.c"
}
default:
{
-#line 943 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 949 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 4353 "DirectoryMonitor.c"
+#line 4385 "DirectoryMonitor.c"
}
}
-#line 913 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 915 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->info);
-#line 4358 "DirectoryMonitor.c"
+#line 4390 "DirectoryMonitor.c"
}
}
}
-#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 909 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
__g_list_free__g_object_unref0_0 (_data_->infos);
-#line 4364 "DirectoryMonitor.c"
+#line 4396 "DirectoryMonitor.c"
}
}
-#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 906 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->enumerator);
-#line 4369 "DirectoryMonitor.c"
+#line 4401 "DirectoryMonitor.c"
}
goto __finally481;
__catch481_g_error:
{
-#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 906 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->err2 = _data_->_inner_error_;
-#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 906 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_inner_error_ = NULL;
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp89_ = NULL;
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp89_ = _data_->dir;
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp90_ = NULL;
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp90_ = g_file_get_path (_data_->_tmp89_);
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp91_ = NULL;
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp91_ = _data_->_tmp90_;
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp92_ = NULL;
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp92_ = _data_->err2;
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp93_ = NULL;
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp93_ = _data_->_tmp92_->message;
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:948: Aborted directory traversal of %s: %s", _data_->_tmp91_, _data_->_tmp93_);
-#line 948 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_free0 (_data_->_tmp91_);
-#line 950 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp94_ = FALSE;
-#line 950 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp94_ = _data_->in_discovery;
-#line 950 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_explore_directory_completed (_data_->self, _data_->_tmp94_);
-#line 952 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp97_ = NULL;
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp97_ = _data_->dir;
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp98_ = NULL;
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp98_ = g_file_get_path (_data_->_tmp97_);
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp99_ = NULL;
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp99_ = _data_->_tmp98_;
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp100_ = NULL;
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp100_ = _data_->err2;
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp101_ = NULL;
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp101_ = _data_->_tmp100_->message;
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:954: Aborted directory traversal of %s: %s", _data_->_tmp99_, _data_->_tmp101_);
+#line 954 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_free0 (_data_->_tmp99_);
+#line 956 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp102_ = FALSE;
+#line 956 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp102_ = _data_->in_discovery;
+#line 956 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ directory_monitor_explore_directory_completed (_data_->self, _data_->_tmp102_);
+#line 958 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_error_free0 (_data_->err2);
-#line 952 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 958 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_map);
-#line 952 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 958 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_map);
-#line 952 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 958 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->local_dir_info);
-#line 952 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 958 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_state_ == 0) {
-#line 952 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 958 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete_in_idle (_data_->_async_result);
-#line 4420 "DirectoryMonitor.c"
+#line 4452 "DirectoryMonitor.c"
} else {
-#line 952 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 958 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete (_data_->_async_result);
-#line 4424 "DirectoryMonitor.c"
+#line 4456 "DirectoryMonitor.c"
}
-#line 952 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 958 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_object_unref (_data_->_async_result);
-#line 952 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 958 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 4430 "DirectoryMonitor.c"
+#line 4462 "DirectoryMonitor.c"
}
__finally481:
-#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 906 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
-#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 906 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_map);
-#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 906 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_map);
-#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 906 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->local_dir_info);
-#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 906 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
-#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 906 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_clear_error (&_data_->_inner_error_);
-#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 906 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 4447 "DirectoryMonitor.c"
- }
-#line 956 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp95_ = FALSE;
-#line 956 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp95_ = _data_->in_discovery;
-#line 956 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_data_->_tmp95_) {
-#line 957 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp96_ = NULL;
-#line 957 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp96_ = _data_->dir;
-#line 957 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp97_ = NULL;
-#line 957 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp97_ = _data_->local_dir_info;
-#line 957 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_internal_notify_directory_discovered (_data_->self, _data_->_tmp96_, _data_->_tmp97_);
-#line 4465 "DirectoryMonitor.c"
- } else {
-#line 959 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp98_ = NULL;
-#line 959 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp98_ = _data_->dir;
-#line 959 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp99_ = NULL;
-#line 959 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp99_ = _data_->local_dir_info;
-#line 959 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_internal_notify_directory_created (_data_->self, _data_->_tmp98_, _data_->_tmp99_);
-#line 4477 "DirectoryMonitor.c"
+#line 4479 "DirectoryMonitor.c"
}
+#line 962 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp103_ = FALSE;
+#line 962 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp103_ = _data_->in_discovery;
+#line 962 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (_data_->_tmp103_) {
#line 963 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp100_ = NULL;
+ _data_->_tmp104_ = NULL;
#line 963 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp100_ = _data_->dir;
+ _data_->_tmp104_ = _data_->dir;
#line 963 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp101_ = NULL;
+ _data_->_tmp105_ = NULL;
#line 963 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp101_ = _data_->local_dir_info;
+ _data_->_tmp105_ = _data_->local_dir_info;
#line 963 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_add_monitor (_data_->self, _data_->_tmp100_, _data_->_tmp101_);
-#line 966 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp102_ = NULL;
-#line 966 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp102_ = _data_->file_map;
-#line 966 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_data_->_tmp102_ != NULL) {
-#line 967 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp103_ = NULL;
-#line 967 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp103_ = _data_->file_map;
-#line 967 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp104_ = FALSE;
-#line 967 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp104_ = _data_->in_discovery;
-#line 967 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_state_ = 4;
-#line 967 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_notify_directory_files (_data_->self, G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp103_, GEE_TYPE_MAP, GeeMap), _data_->_tmp104_, directory_monitor_explore_async_ready, _data_);
-#line 967 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- return FALSE;
-#line 4509 "DirectoryMonitor.c"
- _state_4:
-#line 967 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_notify_directory_files_finish (_data_->self, _data_->_res_);
-#line 4513 "DirectoryMonitor.c"
- }
-#line 970 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp106_ = FALSE;
-#line 970 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp106_ = _data_->self->priv->recurse;
-#line 970 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_data_->_tmp106_) {
-#line 970 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp107_ = NULL;
-#line 970 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp107_ = _data_->dir_map;
-#line 970 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp105_ = _data_->_tmp107_ != NULL;
-#line 4527 "DirectoryMonitor.c"
+ directory_monitor_internal_notify_directory_discovered (_data_->self, _data_->_tmp104_, _data_->_tmp105_);
+#line 4497 "DirectoryMonitor.c"
} else {
-#line 970 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp105_ = FALSE;
-#line 4531 "DirectoryMonitor.c"
+#line 965 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp106_ = NULL;
+#line 965 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp106_ = _data_->dir;
+#line 965 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp107_ = NULL;
+#line 965 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp107_ = _data_->local_dir_info;
+#line 965 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ directory_monitor_internal_notify_directory_created (_data_->self, _data_->_tmp106_, _data_->_tmp107_);
+#line 4509 "DirectoryMonitor.c"
}
-#line 970 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_data_->_tmp105_) {
-#line 4535 "DirectoryMonitor.c"
- {
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp108_ = NULL;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp108_ = _data_->dir_map;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp109_ = NULL;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp109_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp108_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp110_ = NULL;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp110_ = _data_->_tmp109_;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp111_ = NULL;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp111_ = _data_->_tmp110_;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp112_ = NULL;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp112_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp111_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp113_ = NULL;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp113_ = _data_->_tmp112_;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (_data_->_tmp111_);
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_subdir_it = _data_->_tmp113_;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- while (TRUE) {
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp114_ = NULL;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp114_ = _data_->_subdir_it;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp115_ = FALSE;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp115_ = gee_iterator_next (_data_->_tmp114_);
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (!_data_->_tmp115_) {
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- break;
-#line 4579 "DirectoryMonitor.c"
- }
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp116_ = NULL;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp116_ = _data_->_subdir_it;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp117_ = NULL;
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp117_ = gee_iterator_get (_data_->_tmp116_);
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->subdir = (GFile*) _data_->_tmp117_;
-#line 972 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp118_ = 0;
-#line 972 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp118_ = _data_->self->priv->outstanding_exploration_dirs;
+#line 969 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp108_ = NULL;
+#line 969 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp108_ = _data_->dir;
+#line 969 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp109_ = NULL;
+#line 969 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp109_ = _data_->local_dir_info;
+#line 969 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ directory_monitor_add_monitor (_data_->self, _data_->_tmp108_, _data_->_tmp109_);
#line 972 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->self->priv->outstanding_exploration_dirs = _data_->_tmp118_ + 1;
+ _data_->_tmp110_ = NULL;
#line 972 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp119_ = 0;
+ _data_->_tmp110_ = _data_->file_map;
#line 972 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp119_ = _data_->self->priv->outstanding_exploration_dirs;
-#line 972 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_data_->_tmp119_ > DIRECTORY_MONITOR_MAX_EXPLORATION_DIRS) {
-#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp120_ = NULL;
-#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp120_ = _data_->subdir;
-#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp121_ = NULL;
-#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp121_ = _data_->dir_map;
+ if (_data_->_tmp110_ != NULL) {
#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp122_ = NULL;
+ _data_->_tmp111_ = NULL;
#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp122_ = _data_->subdir;
+ _data_->_tmp111_ = _data_->file_map;
#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp123_ = NULL;
+ _data_->_tmp112_ = FALSE;
#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp123_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp121_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _data_->_tmp122_);
+ _data_->_tmp112_ = _data_->in_discovery;
#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp124_ = NULL;
-#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp124_ = (GFileInfo*) _data_->_tmp123_;
+ _data_->_state_ = 4;
#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp125_ = FALSE;
+ directory_monitor_notify_directory_files (_data_->self, G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp111_, GEE_TYPE_MAP, GeeMap), _data_->_tmp112_, directory_monitor_explore_async_ready, _data_);
#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp125_ = _data_->in_discovery;
+ return FALSE;
+#line 4541 "DirectoryMonitor.c"
+ _state_4:
#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ directory_monitor_notify_directory_files_finish (_data_->self, _data_->_res_);
+#line 4545 "DirectoryMonitor.c"
+ }
+#line 976 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp114_ = FALSE;
+#line 976 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp114_ = _data_->self->priv->recurse;
+#line 976 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (_data_->_tmp114_) {
+#line 976 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp115_ = NULL;
+#line 976 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp115_ = _data_->dir_map;
+#line 976 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp113_ = _data_->_tmp115_ != NULL;
+#line 4559 "DirectoryMonitor.c"
+ } else {
+#line 976 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp113_ = FALSE;
+#line 4563 "DirectoryMonitor.c"
+ }
+#line 976 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (_data_->_tmp113_) {
+#line 4567 "DirectoryMonitor.c"
+ {
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp116_ = NULL;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp116_ = _data_->dir_map;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp117_ = NULL;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp117_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp116_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp118_ = NULL;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp118_ = _data_->_tmp117_;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp119_ = NULL;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp119_ = _data_->_tmp118_;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp120_ = NULL;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp120_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp119_, GEE_TYPE_ITERABLE, GeeIterable));
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp121_ = NULL;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp121_ = _data_->_tmp120_;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_object_unref0 (_data_->_tmp119_);
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_subdir_it = _data_->_tmp121_;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ while (TRUE) {
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp122_ = NULL;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp122_ = _data_->_subdir_it;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp123_ = FALSE;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp123_ = gee_iterator_next (_data_->_tmp122_);
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (!_data_->_tmp123_) {
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ break;
+#line 4611 "DirectoryMonitor.c"
+ }
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp124_ = NULL;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp124_ = _data_->_subdir_it;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp125_ = NULL;
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp125_ = gee_iterator_get (_data_->_tmp124_);
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->subdir = (GFile*) _data_->_tmp125_;
+#line 978 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp126_ = 0;
+#line 978 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp126_ = _data_->self->priv->outstanding_exploration_dirs;
+#line 978 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->self->priv->outstanding_exploration_dirs = _data_->_tmp126_ + 1;
+#line 978 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp127_ = 0;
+#line 978 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp127_ = _data_->self->priv->outstanding_exploration_dirs;
+#line 978 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (_data_->_tmp127_ > DIRECTORY_MONITOR_MAX_EXPLORATION_DIRS) {
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp128_ = NULL;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp128_ = _data_->subdir;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp129_ = NULL;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp129_ = _data_->dir_map;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp130_ = NULL;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp130_ = _data_->subdir;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp131_ = NULL;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp131_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp129_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _data_->_tmp130_);
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp132_ = NULL;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp132_ = (GFileInfo*) _data_->_tmp131_;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp133_ = FALSE;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp133_ = _data_->in_discovery;
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_state_ = 5;
-#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_explore_async (_data_->self, _data_->_tmp120_, _data_->_tmp124_, _data_->_tmp125_, directory_monitor_explore_async_ready, _data_);
-#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ directory_monitor_explore_async (_data_->self, _data_->_tmp128_, _data_->_tmp132_, _data_->_tmp133_, directory_monitor_explore_async_ready, _data_);
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 4633 "DirectoryMonitor.c"
+#line 4665 "DirectoryMonitor.c"
_state_5:
-#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_explore_finish (_data_->self, _data_->_res_);
-#line 973 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (_data_->_tmp124_);
-#line 4639 "DirectoryMonitor.c"
+#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_object_unref0 (_data_->_tmp132_);
+#line 4671 "DirectoryMonitor.c"
} else {
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp126_ = NULL;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp126_ = _data_->subdir;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp127_ = NULL;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp127_ = _data_->dir_map;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp128_ = NULL;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp128_ = _data_->subdir;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp129_ = NULL;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp129_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp127_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _data_->_tmp128_);
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp130_ = NULL;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp130_ = (GFileInfo*) _data_->_tmp129_;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp131_ = FALSE;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp131_ = _data_->in_discovery;
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_explore_async (_data_->self, _data_->_tmp126_, _data_->_tmp130_, _data_->_tmp131_, NULL, NULL);
-#line 975 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (_data_->_tmp130_);
-#line 4669 "DirectoryMonitor.c"
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp134_ = NULL;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp134_ = _data_->subdir;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp135_ = NULL;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp135_ = _data_->dir_map;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp136_ = NULL;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp136_ = _data_->subdir;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp137_ = NULL;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp137_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp135_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _data_->_tmp136_);
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp138_ = NULL;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp138_ = (GFileInfo*) _data_->_tmp137_;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp139_ = FALSE;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp139_ = _data_->in_discovery;
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ directory_monitor_explore_async (_data_->self, _data_->_tmp134_, _data_->_tmp138_, _data_->_tmp139_, NULL, NULL);
+#line 981 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_object_unref0 (_data_->_tmp138_);
+#line 4701 "DirectoryMonitor.c"
}
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->subdir);
-#line 4673 "DirectoryMonitor.c"
+#line 4705 "DirectoryMonitor.c"
}
-#line 971 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 977 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_subdir_it);
-#line 4677 "DirectoryMonitor.c"
+#line 4709 "DirectoryMonitor.c"
}
}
-#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp132_ = FALSE;
-#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp132_ = _data_->in_discovery;
-#line 979 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_explore_directory_completed (_data_->self, _data_->_tmp132_);
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 985 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp140_ = FALSE;
+#line 985 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _data_->_tmp140_ = _data_->in_discovery;
+#line 985 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ directory_monitor_explore_directory_completed (_data_->self, _data_->_tmp140_);
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_map);
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_map);
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->local_dir_info);
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_state_ == 0) {
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete_in_idle (_data_->_async_result);
-#line 4696 "DirectoryMonitor.c"
+#line 4728 "DirectoryMonitor.c"
} else {
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete (_data_->_async_result);
-#line 4700 "DirectoryMonitor.c"
+#line 4732 "DirectoryMonitor.c"
}
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_object_unref (_data_->_async_result);
-#line 844 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 850 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 4706 "DirectoryMonitor.c"
+#line 4738 "DirectoryMonitor.c"
}
@@ -4719,7 +4751,7 @@ static void directory_monitor_notify_directory_files_data_free (gpointer _data)
_g_object_unref0 (_data_->self);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_slice_free (DirectoryMonitorNotifyDirectoryFilesData, _data_);
-#line 4719 "DirectoryMonitor.c"
+#line 4751 "DirectoryMonitor.c"
}
@@ -4753,7 +4785,7 @@ static void directory_monitor_notify_directory_files (DirectoryMonitor* self, Ge
_data_->in_discovery = _tmp3_;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_directory_files_co (_data_);
-#line 4753 "DirectoryMonitor.c"
+#line 4785 "DirectoryMonitor.c"
}
@@ -4761,159 +4793,159 @@ static void directory_monitor_notify_directory_files_finish (DirectoryMonitor* s
DirectoryMonitorNotifyDirectoryFilesData* _data_;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
-#line 4761 "DirectoryMonitor.c"
+#line 4793 "DirectoryMonitor.c"
}
static gboolean _directory_monitor_notify_directory_files_co_gsource_func (gpointer self) {
gboolean result;
result = directory_monitor_notify_directory_files_co (self);
-#line 990 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 996 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 4770 "DirectoryMonitor.c"
+#line 4802 "DirectoryMonitor.c"
}
static gboolean directory_monitor_notify_directory_files_co (DirectoryMonitorNotifyDirectoryFilesData* _data_) {
-#line 982 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_data_->_state_) {
-#line 982 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 0:
-#line 4779 "DirectoryMonitor.c"
+#line 4811 "DirectoryMonitor.c"
goto _state_0;
-#line 982 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case 1:
-#line 4783 "DirectoryMonitor.c"
+#line 4815 "DirectoryMonitor.c"
goto _state_1;
default:
-#line 982 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_assert_not_reached ();
-#line 4788 "DirectoryMonitor.c"
+#line 4820 "DirectoryMonitor.c"
}
_state_0:
-#line 983 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 989 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp0_ = NULL;
-#line 983 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 989 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp0_ = _data_->map;
-#line 983 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 989 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp1_ = NULL;
-#line 983 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 989 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp1_ = gee_map_map_iterator (_data_->_tmp0_);
-#line 983 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 989 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->iter = _data_->_tmp1_;
-#line 984 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 990 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 984 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 990 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp2_ = NULL;
-#line 984 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 990 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp2_ = _data_->iter;
-#line 984 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 990 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp3_ = FALSE;
-#line 984 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 990 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp3_ = gee_map_iterator_next (_data_->_tmp2_);
-#line 984 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 990 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_data_->_tmp3_) {
-#line 984 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 990 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 4815 "DirectoryMonitor.c"
+#line 4847 "DirectoryMonitor.c"
}
-#line 985 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 991 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp4_ = FALSE;
-#line 985 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 991 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp4_ = _data_->in_discovery;
-#line 985 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 991 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_tmp4_) {
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp5_ = NULL;
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp5_ = _data_->iter;
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp6_ = NULL;
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp6_ = gee_map_iterator_get_key (_data_->_tmp5_);
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp7_ = NULL;
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp7_ = (GFile*) _data_->_tmp6_;
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp8_ = NULL;
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp8_ = _data_->iter;
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp9_ = NULL;
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp9_ = gee_map_iterator_get_value (_data_->_tmp8_);
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp10_ = NULL;
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp10_ = (GFileInfo*) _data_->_tmp9_;
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_file_discovered (_data_->self, _data_->_tmp7_, _data_->_tmp10_);
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_tmp10_);
-#line 986 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 992 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_tmp7_);
-#line 4853 "DirectoryMonitor.c"
+#line 4885 "DirectoryMonitor.c"
} else {
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp11_ = NULL;
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp11_ = _data_->iter;
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp12_ = NULL;
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp12_ = gee_map_iterator_get_key (_data_->_tmp11_);
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp13_ = NULL;
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp13_ = (GFile*) _data_->_tmp12_;
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp14_ = NULL;
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp14_ = _data_->iter;
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp15_ = NULL;
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp15_ = gee_map_iterator_get_value (_data_->_tmp14_);
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp16_ = NULL;
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp16_ = (GFileInfo*) _data_->_tmp15_;
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_file_created (_data_->self, _data_->_tmp13_, _data_->_tmp16_);
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_tmp16_);
-#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 994 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->_tmp13_);
-#line 4885 "DirectoryMonitor.c"
+#line 4917 "DirectoryMonitor.c"
}
-#line 990 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 996 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_idle_add_full (DIRECTORY_MONITOR_DEFAULT_PRIORITY, _directory_monitor_notify_directory_files_co_gsource_func, _data_, NULL);
-#line 991 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 997 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_state_ = 1;
-#line 991 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 997 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 4893 "DirectoryMonitor.c"
+#line 4925 "DirectoryMonitor.c"
_state_1:
;
}
-#line 982 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->iter);
-#line 982 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_data_->_state_ == 0) {
-#line 982 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete_in_idle (_data_->_async_result);
-#line 4903 "DirectoryMonitor.c"
+#line 4935 "DirectoryMonitor.c"
} else {
-#line 982 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_simple_async_result_complete (_data_->_async_result);
-#line 4907 "DirectoryMonitor.c"
+#line 4939 "DirectoryMonitor.c"
}
-#line 982 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_object_unref (_data_->_async_result);
-#line 982 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 988 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return FALSE;
-#line 4913 "DirectoryMonitor.c"
+#line 4945 "DirectoryMonitor.c"
}
@@ -4922,45 +4954,45 @@ static void directory_monitor_explore_directory_completed (DirectoryMonitor* sel
gint _tmp1_ = 0;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
-#line 997 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1003 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 998 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1004 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->outstanding_exploration_dirs;
-#line 998 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1004 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp0_ > 0, "outstanding_exploration_dirs > 0");
-#line 999 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1005 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = self->priv->outstanding_exploration_dirs;
-#line 999 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1005 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->outstanding_exploration_dirs = _tmp1_ - 1;
-#line 1001 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1007 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = in_discovery;
-#line 1001 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1007 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp3_) {
-#line 4936 "DirectoryMonitor.c"
+#line 4968 "DirectoryMonitor.c"
gint _tmp4_ = 0;
-#line 1001 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1007 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = self->priv->outstanding_exploration_dirs;
-#line 1001 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1007 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp4_ == 0;
-#line 4942 "DirectoryMonitor.c"
+#line 4974 "DirectoryMonitor.c"
} else {
-#line 1001 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1007 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = FALSE;
-#line 4946 "DirectoryMonitor.c"
+#line 4978 "DirectoryMonitor.c"
}
-#line 1001 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1007 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp2_) {
-#line 1002 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1008 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_discovery_completed (self);
-#line 4952 "DirectoryMonitor.c"
+#line 4984 "DirectoryMonitor.c"
}
}
static void _directory_monitor_on_monitor_notification_g_file_monitor_changed (GFileMonitor* _sender, GFile* file, GFile* other_file, GFileMonitorEvent event_type, gpointer self) {
-#line 1030 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1036 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_on_monitor_notification ((DirectoryMonitor*) self, file, other_file, event_type);
-#line 4960 "DirectoryMonitor.c"
+#line 4992 "DirectoryMonitor.c"
}
@@ -4987,90 +5019,90 @@ static gboolean directory_monitor_add_monitor (DirectoryMonitor* self, GFile* di
gchar* _tmp26_ = NULL;
gchar* _tmp27_ = NULL;
GError * _inner_error_ = NULL;
-#line 1008 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1014 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), FALSE);
-#line 1008 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1014 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (dir), FALSE);
-#line 1008 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1014 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE_INFO (info), FALSE);
-#line 1009 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1015 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->monitoring;
-#line 1009 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1015 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp0_) {
-#line 1010 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1016 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 1010 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1016 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 5001 "DirectoryMonitor.c"
+#line 5033 "DirectoryMonitor.c"
}
-#line 1012 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1018 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = self->priv->files;
-#line 1012 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1018 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = dir;
-#line 1012 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1018 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = info;
-#line 1012 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1018 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = directory_monitor_file_info_map_get_id (_tmp1_, _tmp2_, _tmp3_);
-#line 1012 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1018 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
id = _tmp4_;
-#line 1013 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1019 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = id;
-#line 1013 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1019 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp5_ == NULL) {
-#line 1014 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1020 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 1014 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1020 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 1014 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1020 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 5023 "DirectoryMonitor.c"
+#line 5055 "DirectoryMonitor.c"
}
-#line 1017 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1023 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = self->priv->monitors;
-#line 1017 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1023 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = id;
-#line 1017 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1023 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp7_);
-#line 1017 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1023 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp8_) {
-#line 1018 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1024 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 1018 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1024 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 1018 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1024 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 5039 "DirectoryMonitor.c"
+#line 5071 "DirectoryMonitor.c"
}
-#line 1020 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1026 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
monitor = NULL;
-#line 5043 "DirectoryMonitor.c"
+#line 5075 "DirectoryMonitor.c"
{
GFileMonitor* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
GFileMonitor* _tmp11_ = NULL;
GFileMonitor* _tmp12_ = NULL;
-#line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1028 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = dir;
-#line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1028 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = g_file_monitor_directory (_tmp10_, DIRECTORY_MONITOR_FILE_MONITOR_FLAGS, NULL, &_inner_error_);
-#line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1028 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = _tmp11_;
-#line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1028 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5057 "DirectoryMonitor.c"
+#line 5089 "DirectoryMonitor.c"
goto __catch482_g_error;
}
-#line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1028 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = _tmp9_;
-#line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1028 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = NULL;
-#line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1028 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (monitor);
-#line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1028 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
monitor = _tmp12_;
-#line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1027 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp9_);
-#line 5070 "DirectoryMonitor.c"
+#line 5102 "DirectoryMonitor.c"
}
goto __finally482;
__catch482_g_error:
@@ -5081,90 +5113,90 @@ static gboolean directory_monitor_add_monitor (DirectoryMonitor* self, GFile* di
gchar* _tmp15_ = NULL;
GError* _tmp16_ = NULL;
const gchar* _tmp17_ = NULL;
-#line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1027 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
err = _inner_error_;
-#line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1027 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_inner_error_ = NULL;
-#line 1024 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1030 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = dir;
-#line 1024 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1030 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = g_file_get_path (_tmp13_);
-#line 1024 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1030 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = _tmp14_;
-#line 1024 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1030 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = err;
-#line 1024 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1030 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = _tmp16_->message;
-#line 1024 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:1024: Unable to monitor %s: %s", _tmp15_, _tmp17_);
-#line 1024 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1030 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:1030: Unable to monitor %s: %s", _tmp15_, _tmp17_);
+#line 1030 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp15_);
-#line 1026 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 1026 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_error_free0 (err);
-#line 1026 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (monitor);
-#line 1026 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 1026 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 5109 "DirectoryMonitor.c"
+#line 5141 "DirectoryMonitor.c"
}
__finally482:
-#line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1027 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5114 "DirectoryMonitor.c"
+#line 5146 "DirectoryMonitor.c"
gboolean _tmp18_ = FALSE;
-#line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1027 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (monitor);
-#line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1027 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1027 "/home/jens/Source/shotwell/src/DirectoryMonitor.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 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1027 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_clear_error (&_inner_error_);
-#line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1027 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return _tmp18_;
-#line 5126 "DirectoryMonitor.c"
+#line 5158 "DirectoryMonitor.c"
}
-#line 1029 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1035 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = self->priv->monitors;
-#line 1029 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1035 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp20_ = id;
-#line 1029 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1035 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp21_ = monitor;
-#line 1029 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1035 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp20_, _tmp21_);
-#line 1030 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1036 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp22_ = monitor;
-#line 1030 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1036 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_connect_object (_tmp22_, "changed", (GCallback) _directory_monitor_on_monitor_notification_g_file_monitor_changed, self, 0);
-#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp23_ = dir;
-#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp24_ = g_file_get_path (_tmp23_);
-#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp25_ = _tmp24_;
-#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp26_ = g_strdup_printf ("Added monitor for %s", _tmp25_);
-#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp27_ = _tmp26_;
-#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp27_);
-#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp27_);
-#line 1032 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp25_);
-#line 1034 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1040 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = TRUE;
-#line 1034 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1040 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (monitor);
-#line 1034 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1040 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 1034 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1040 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 5164 "DirectoryMonitor.c"
+#line 5196 "DirectoryMonitor.c"
}
@@ -5193,107 +5225,107 @@ static gboolean directory_monitor_remove_monitor (DirectoryMonitor* self, GFile*
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
gchar* _tmp19_ = NULL;
-#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1044 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), FALSE);
-#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1044 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (dir), FALSE);
-#line 1038 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1044 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE_INFO (info), FALSE);
-#line 1039 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1045 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->monitoring;
-#line 1039 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1045 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp0_) {
-#line 1040 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1046 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 1040 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1046 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 5207 "DirectoryMonitor.c"
+#line 5239 "DirectoryMonitor.c"
}
-#line 1042 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1048 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = self->priv->files;
-#line 1042 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1048 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = dir;
-#line 1042 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1048 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = info;
-#line 1042 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1048 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = directory_monitor_file_info_map_get_id (_tmp1_, _tmp2_, _tmp3_);
-#line 1042 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1048 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
id = _tmp4_;
-#line 1043 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1049 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = id;
-#line 1043 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1049 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp5_ == NULL) {
-#line 1044 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1050 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 1044 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1050 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 1044 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1050 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 5229 "DirectoryMonitor.c"
+#line 5261 "DirectoryMonitor.c"
}
-#line 1046 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1052 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = self->priv->monitors;
-#line 1046 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1052 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = id;
-#line 1046 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1052 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp7_);
-#line 1046 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1052 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
monitor = (GFileMonitor*) _tmp8_;
-#line 1047 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1053 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = monitor;
-#line 1047 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1053 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp9_ == NULL) {
-#line 1048 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1054 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 1048 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1054 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (monitor);
-#line 1048 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1054 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 1048 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1054 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 5251 "DirectoryMonitor.c"
+#line 5283 "DirectoryMonitor.c"
}
-#line 1050 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1056 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = self->priv->monitors;
-#line 1050 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1056 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = id;
-#line 1050 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1056 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp11_, NULL);
-#line 1050 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1056 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
removed = _tmp12_;
-#line 1051 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1057 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = removed;
-#line 1051 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1057 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp13_, "removed");
-#line 1053 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1059 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = monitor;
-#line 1053 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1059 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_cancel_monitor (self, _tmp14_);
-#line 1055 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = dir;
-#line 1055 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = g_file_get_path (_tmp15_);
-#line 1055 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = _tmp16_;
-#line 1055 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = g_strdup_printf ("Removed monitor for %s", _tmp17_);
-#line 1055 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = _tmp18_;
-#line 1055 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp19_);
-#line 1055 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp19_);
-#line 1055 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp17_);
-#line 1057 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1063 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = TRUE;
-#line 1057 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1063 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (monitor);
-#line 1057 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1063 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 1057 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1063 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 5293 "DirectoryMonitor.c"
+#line 5325 "DirectoryMonitor.c"
}
@@ -5301,39 +5333,39 @@ static void directory_monitor_cancel_monitor (DirectoryMonitor* self, GFileMonit
GFileMonitor* _tmp0_ = NULL;
guint _tmp1_ = 0U;
GFileMonitor* _tmp2_ = NULL;
-#line 1060 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 1060 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_MONITOR (monitor));
-#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = monitor;
-#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_parse_name ("changed", g_file_monitor_get_type (), &_tmp1_, NULL, FALSE);
-#line 1061 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _directory_monitor_on_monitor_notification_g_file_monitor_changed, self);
-#line 1062 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1068 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = monitor;
-#line 1062 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1068 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_file_monitor_cancel (_tmp2_);
-#line 5315 "DirectoryMonitor.c"
+#line 5347 "DirectoryMonitor.c"
}
static void _directory_monitor_query_info_queue_element_on_completed_gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
-#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1088 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_query_info_queue_element_on_completed ((DirectoryMonitorQueryInfoQueueElement*) self, source_object, res);
-#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1088 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_query_info_queue_element_unref (self);
-#line 5324 "DirectoryMonitor.c"
+#line 5356 "DirectoryMonitor.c"
}
static gboolean _directory_monitor_check_for_expired_delete_events_gsource_func (gpointer self) {
gboolean result;
result = directory_monitor_check_for_expired_delete_events ((DirectoryMonitor*) self);
-#line 1091 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1097 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 5333 "DirectoryMonitor.c"
+#line 5365 "DirectoryMonitor.c"
}
@@ -5355,182 +5387,182 @@ static void directory_monitor_on_monitor_notification (DirectoryMonitor* self, G
GeeQueue* _tmp16_ = NULL;
DirectoryMonitorQueryInfoQueueElement* _tmp17_ = NULL;
GFileMonitorEvent _tmp18_ = 0;
-#line 1065 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1071 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 1065 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1071 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 1065 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1071 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail ((other_file == NULL) || G_IS_FILE (other_file));
-#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1073 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = other_file;
-#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1073 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp1_ != NULL) {
-#line 5365 "DirectoryMonitor.c"
+#line 5397 "DirectoryMonitor.c"
GFile* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1073 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = other_file;
-#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1073 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_file_get_path (_tmp2_);
-#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1073 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp0_);
-#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1073 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = _tmp3_;
-#line 5376 "DirectoryMonitor.c"
+#line 5408 "DirectoryMonitor.c"
} else {
gchar* _tmp4_ = NULL;
-#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1073 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = g_strdup ("(none)");
-#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1073 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp0_);
-#line 1067 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1073 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = _tmp4_;
-#line 5385 "DirectoryMonitor.c"
+#line 5417 "DirectoryMonitor.c"
}
-#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1072 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = event;
-#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1072 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = g_enum_get_value (g_type_class_ref (g_file_monitor_event_get_type ()), _tmp5_);
-#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1072 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = file;
-#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1072 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = g_file_get_path (_tmp7_);
-#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1072 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = _tmp8_;
-#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1072 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = g_strdup_printf ("NOTIFY %s: file=%s other_file=%s", (_tmp6_ != NULL) ? _tmp6_->value_name : NULL, _tmp9_, _tmp0_);
-#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1072 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = _tmp10_;
-#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1072 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp11_);
-#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1072 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp11_);
-#line 1066 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1072 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp9_);
-#line 1076 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = file;
-#line 1076 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = other_file;
-#line 1076 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = event;
-#line 1076 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = directory_monitor_query_info_queue_element_new (self, _tmp12_, _tmp13_, _tmp14_);
-#line 1076 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
query_info = _tmp15_;
-#line 1077 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1083 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = self->priv->query_info_queue;
-#line 1077 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1083 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = query_info;
-#line 1077 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1083 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_queue_offer (_tmp16_, _tmp17_);
-#line 1079 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1085 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = event;
-#line 1079 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1085 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp18_) {
-#line 1079 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1085 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_CREATED:
-#line 1079 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1085 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
-#line 5431 "DirectoryMonitor.c"
+#line 5463 "DirectoryMonitor.c"
{
GFile* _tmp19_ = NULL;
GCancellable* _tmp20_ = NULL;
DirectoryMonitorQueryInfoQueueElement* _tmp21_ = NULL;
-#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1088 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = file;
-#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1088 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp20_ = self->priv->cancellable;
-#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1088 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp21_ = query_info;
-#line 1082 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1088 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_file_query_info_async (_tmp19_, DIRECTORY_MONITOR_SUPPLIED_ATTRIBUTES, DIRECTORY_MONITOR_UNKNOWN_INFO_FLAGS, DIRECTORY_MONITOR_DEFAULT_PRIORITY, _tmp20_, _directory_monitor_query_info_queue_element_on_completed_gasync_ready_callback, directory_monitor_query_info_queue_element_ref (_tmp21_));
-#line 1084 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1090 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 5446 "DirectoryMonitor.c"
+#line 5478 "DirectoryMonitor.c"
}
-#line 1079 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1085 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_DELETED:
-#line 5450 "DirectoryMonitor.c"
+#line 5482 "DirectoryMonitor.c"
{
guint _tmp22_ = 0U;
-#line 1090 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1096 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp22_ = self->priv->delete_timer_id;
-#line 1090 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1096 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp22_ == ((guint) 0)) {
-#line 5457 "DirectoryMonitor.c"
+#line 5489 "DirectoryMonitor.c"
guint _tmp23_ = 0U;
-#line 1091 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1097 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp23_ = g_timeout_add_full (G_PRIORITY_DEFAULT, DIRECTORY_MONITOR_DELETED_EXPIRATION_MSEC / 2, _directory_monitor_check_for_expired_delete_events_gsource_func, g_object_ref (self), g_object_unref);
-#line 1091 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1097 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->delete_timer_id = _tmp23_;
-#line 5463 "DirectoryMonitor.c"
+#line 5495 "DirectoryMonitor.c"
}
-#line 1092 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1098 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 5467 "DirectoryMonitor.c"
+#line 5499 "DirectoryMonitor.c"
}
-#line 1079 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1085 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_MOVED:
-#line 5471 "DirectoryMonitor.c"
+#line 5503 "DirectoryMonitor.c"
{
GFile* _tmp24_ = NULL;
-#line 1097 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1103 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp24_ = other_file;
-#line 1097 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1103 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp24_ != NULL) {
-#line 5478 "DirectoryMonitor.c"
+#line 5510 "DirectoryMonitor.c"
GFile* _tmp25_ = NULL;
GCancellable* _tmp26_ = NULL;
DirectoryMonitorQueryInfoQueueElement* _tmp27_ = NULL;
-#line 1098 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1104 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp25_ = other_file;
-#line 1098 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1104 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp26_ = self->priv->cancellable;
-#line 1098 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1104 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp27_ = query_info;
-#line 1098 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1104 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_file_query_info_async (_tmp25_, DIRECTORY_MONITOR_SUPPLIED_ATTRIBUTES, DIRECTORY_MONITOR_UNKNOWN_INFO_FLAGS, DIRECTORY_MONITOR_DEFAULT_PRIORITY, _tmp26_, _directory_monitor_query_info_queue_element_on_completed_gasync_ready_callback, directory_monitor_query_info_queue_element_ref (_tmp27_));
-#line 5490 "DirectoryMonitor.c"
+#line 5522 "DirectoryMonitor.c"
} else {
GeeQueue* _tmp28_ = NULL;
DirectoryMonitorQueryInfoQueueElement* _tmp29_ = NULL;
-#line 1101 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:1101: Unable to process MOVED event: no other_fi" \
+#line 1107 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:1107: Unable to process MOVED event: no other_fi" \
"le");
-#line 1102 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1108 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp28_ = self->priv->query_info_queue;
-#line 1102 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1108 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp29_ = query_info;
-#line 1102 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1108 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection), _tmp29_);
-#line 5502 "DirectoryMonitor.c"
+#line 5534 "DirectoryMonitor.c"
}
-#line 1104 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 5506 "DirectoryMonitor.c"
+#line 5538 "DirectoryMonitor.c"
}
default:
{
DirectoryMonitorQueryInfoQueueElement* _tmp30_ = NULL;
DirectoryMonitorQueryInfoQueueElement* _tmp31_ = NULL;
-#line 1108 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1114 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp30_ = query_info;
-#line 1108 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1114 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp30_->completed = TRUE;
-#line 1109 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1115 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp31_ = query_info;
-#line 1109 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1115 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_process_query_queue (self, _tmp31_);
-#line 1110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1116 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 5522 "DirectoryMonitor.c"
+#line 5554 "DirectoryMonitor.c"
}
}
-#line 1065 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1071 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (query_info);
-#line 1065 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1071 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp0_);
-#line 5529 "DirectoryMonitor.c"
+#line 5561 "DirectoryMonitor.c"
}
@@ -5538,88 +5570,88 @@ static void directory_monitor_process_query_queue (DirectoryMonitor* self, Direc
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
DirectoryMonitorQueryInfoQueueElement* _tmp2_ = NULL;
-#line 1114 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1120 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 1114 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1120 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail ((query_info == NULL) || DIRECTORY_MONITOR_IS_QUERY_INFO_QUEUE_ELEMENT (query_info));
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = query_info;
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp2_ != NULL) {
-#line 5545 "DirectoryMonitor.c"
+#line 5577 "DirectoryMonitor.c"
DirectoryMonitorQueryInfoQueueElement* _tmp3_ = NULL;
GFileInfo* _tmp4_ = NULL;
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = query_info;
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _tmp3_->info;
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = _tmp4_ != NULL;
-#line 5554 "DirectoryMonitor.c"
+#line 5586 "DirectoryMonitor.c"
} else {
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = FALSE;
-#line 5558 "DirectoryMonitor.c"
+#line 5590 "DirectoryMonitor.c"
}
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp1_) {
-#line 5562 "DirectoryMonitor.c"
+#line 5594 "DirectoryMonitor.c"
DirectoryMonitorQueryInfoQueueElement* _tmp5_ = NULL;
GFileMonitorEvent _tmp6_ = 0;
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = query_info;
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = _tmp5_->event;
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = _tmp6_ == G_FILE_MONITOR_EVENT_CREATED;
-#line 5571 "DirectoryMonitor.c"
+#line 5603 "DirectoryMonitor.c"
} else {
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = FALSE;
-#line 5575 "DirectoryMonitor.c"
+#line 5607 "DirectoryMonitor.c"
}
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp0_) {
-#line 5579 "DirectoryMonitor.c"
+#line 5611 "DirectoryMonitor.c"
GFile* match = NULL;
DirectoryMonitorFileInfoMap* _tmp7_ = NULL;
DirectoryMonitorQueryInfoQueueElement* _tmp8_ = NULL;
GFileInfo* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
GFile* _tmp11_ = NULL;
-#line 1120 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1126 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = self->priv->files;
-#line 1120 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1126 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = query_info;
-#line 1120 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1126 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = _tmp8_->info;
-#line 1120 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1126 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = directory_monitor_file_info_map_find_match (_tmp7_, _tmp9_);
-#line 1120 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1126 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
match = _tmp10_;
-#line 1121 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1127 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = match;
-#line 1121 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1127 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp11_ != NULL) {
-#line 5600 "DirectoryMonitor.c"
+#line 5632 "DirectoryMonitor.c"
gboolean matched = FALSE;
gboolean _tmp48_ = FALSE;
-#line 1122 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
matched = FALSE;
-#line 5605 "DirectoryMonitor.c"
+#line 5637 "DirectoryMonitor.c"
{
GeeIterator* _enqueued_it = NULL;
GeeQueue* _tmp12_ = NULL;
GeeIterator* _tmp13_ = NULL;
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = self->priv->query_info_queue;
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_enqueued_it = _tmp13_;
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 5618 "DirectoryMonitor.c"
+#line 5650 "DirectoryMonitor.c"
GeeIterator* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
DirectoryMonitorQueryInfoQueueElement* enqueued = NULL;
@@ -5649,171 +5681,171 @@ static void directory_monitor_process_query_queue (DirectoryMonitor* self, Direc
GFileInfo* _tmp45_ = NULL;
GFileInfo* _tmp46_ = NULL;
DirectoryMonitorQueryInfoQueueElement* _tmp47_ = NULL;
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = _enqueued_it;
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = gee_iterator_next (_tmp14_);
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp15_) {
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 5656 "DirectoryMonitor.c"
+#line 5688 "DirectoryMonitor.c"
}
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = _enqueued_it;
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = gee_iterator_get (_tmp16_);
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
enqueued = (DirectoryMonitorQueryInfoQueueElement*) _tmp17_;
-#line 1124 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp20_ = enqueued;
-#line 1124 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp21_ = _tmp20_->event;
-#line 1124 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp21_ != G_FILE_MONITOR_EVENT_DELETED) {
-#line 1124 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = TRUE;
-#line 5672 "DirectoryMonitor.c"
+#line 5704 "DirectoryMonitor.c"
} else {
DirectoryMonitorQueryInfoQueueElement* _tmp22_ = NULL;
gboolean _tmp23_ = FALSE;
-#line 1125 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1131 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp22_ = enqueued;
-#line 1125 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1131 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp23_ = _tmp22_->completed;
-#line 1125 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1131 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = _tmp23_;
-#line 5682 "DirectoryMonitor.c"
+#line 5714 "DirectoryMonitor.c"
}
-#line 1124 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp19_) {
-#line 1124 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = TRUE;
-#line 5688 "DirectoryMonitor.c"
+#line 5720 "DirectoryMonitor.c"
} else {
GFile* _tmp24_ = NULL;
DirectoryMonitorQueryInfoQueueElement* _tmp25_ = NULL;
GFile* _tmp26_ = NULL;
gboolean _tmp27_ = FALSE;
-#line 1126 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp24_ = match;
-#line 1126 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp25_ = enqueued;
-#line 1126 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp26_ = _tmp25_->file;
-#line 1126 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp27_ = g_file_equal (_tmp24_, _tmp26_);
-#line 1126 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = !_tmp27_;
-#line 5704 "DirectoryMonitor.c"
+#line 5736 "DirectoryMonitor.c"
}
-#line 1124 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp18_) {
-#line 1127 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1133 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (enqueued);
-#line 1127 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1133 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 5712 "DirectoryMonitor.c"
+#line 5744 "DirectoryMonitor.c"
}
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp28_ = query_info;
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp29_ = _tmp28_->file;
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp30_ = g_file_get_path (_tmp29_);
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp31_ = _tmp30_;
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp32_ = enqueued;
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp33_ = _tmp32_->file;
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp34_ = g_file_get_path (_tmp33_);
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp35_ = _tmp34_;
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp36_ = g_strdup_printf ("Matching CREATED %s to DELETED %s for MOVED", _tmp31_, _tmp35_);
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp37_ = _tmp36_;
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp37_);
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp37_);
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp35_);
-#line 1130 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp31_);
-#line 1133 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1139 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp38_ = enqueued;
-#line 1133 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1139 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp38_->event = G_FILE_MONITOR_EVENT_MOVED;
-#line 1134 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp39_ = enqueued;
-#line 1134 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp40_ = query_info;
-#line 1134 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp41_ = _tmp40_->file;
-#line 1134 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp42_ = _g_object_ref0 (_tmp41_);
-#line 1134 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp39_->other_file);
-#line 1134 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp39_->other_file = _tmp42_;
-#line 1135 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp43_ = enqueued;
-#line 1135 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp44_ = query_info;
-#line 1135 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp45_ = _tmp44_->info;
-#line 1135 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp46_ = _g_object_ref0 (_tmp45_);
-#line 1135 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp43_->info);
-#line 1135 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp43_->info = _tmp46_;
-#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1142 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp47_ = enqueued;
-#line 1136 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1142 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp47_->completed = TRUE;
-#line 1138 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1144 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
matched = TRUE;
-#line 1140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1146 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (enqueued);
-#line 1140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1146 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 5780 "DirectoryMonitor.c"
+#line 5812 "DirectoryMonitor.c"
}
-#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_enqueued_it);
-#line 5784 "DirectoryMonitor.c"
+#line 5816 "DirectoryMonitor.c"
}
-#line 1143 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1149 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp48_ = matched;
-#line 1143 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1149 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp48_) {
-#line 5790 "DirectoryMonitor.c"
+#line 5822 "DirectoryMonitor.c"
GeeQueue* _tmp49_ = NULL;
DirectoryMonitorQueryInfoQueueElement* _tmp50_ = NULL;
-#line 1144 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1150 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp49_ = self->priv->query_info_queue;
-#line 1144 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1150 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp50_ = query_info;
-#line 1144 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1150 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, GEE_TYPE_COLLECTION, GeeCollection), _tmp50_);
-#line 5799 "DirectoryMonitor.c"
+#line 5831 "DirectoryMonitor.c"
}
}
-#line 1117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1123 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (match);
-#line 5804 "DirectoryMonitor.c"
+#line 5836 "DirectoryMonitor.c"
}
{
gboolean _tmp51_ = FALSE;
-#line 1149 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1155 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp51_ = TRUE;
-#line 1149 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1155 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 5812 "DirectoryMonitor.c"
+#line 5844 "DirectoryMonitor.c"
DirectoryMonitorQueryInfoQueueElement* next = NULL;
GeeQueue* _tmp52_ = NULL;
gpointer _tmp53_ = NULL;
@@ -5851,91 +5883,91 @@ static void directory_monitor_process_query_queue (DirectoryMonitor* self, Direc
GFileInfo* _tmp123_ = NULL;
DirectoryMonitorQueryInfoQueueElement* _tmp124_ = NULL;
GFileMonitorEvent _tmp125_ = 0;
-#line 1149 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1155 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp51_) {
-#line 5852 "DirectoryMonitor.c"
+#line 5884 "DirectoryMonitor.c"
}
-#line 1149 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1155 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp51_ = FALSE;
-#line 1151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1157 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp52_ = self->priv->query_info_queue;
-#line 1151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1157 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp53_ = gee_queue_peek (_tmp52_);
-#line 1151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1157 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
next = (DirectoryMonitorQueryInfoQueueElement*) _tmp53_;
-#line 1152 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1158 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp55_ = next;
-#line 1152 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1158 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp55_ == NULL) {
-#line 1152 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1158 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp54_ = TRUE;
-#line 5868 "DirectoryMonitor.c"
+#line 5900 "DirectoryMonitor.c"
} else {
DirectoryMonitorQueryInfoQueueElement* _tmp56_ = NULL;
gboolean _tmp57_ = FALSE;
-#line 1152 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1158 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp56_ = next;
-#line 1152 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1158 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp57_ = _tmp56_->completed;
-#line 1152 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1158 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp54_ = !_tmp57_;
-#line 5878 "DirectoryMonitor.c"
+#line 5910 "DirectoryMonitor.c"
}
-#line 1152 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1158 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp54_) {
-#line 1153 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (next);
-#line 1153 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 5886 "DirectoryMonitor.c"
+#line 5918 "DirectoryMonitor.c"
}
-#line 1156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp58_ = self->priv->query_info_queue;
-#line 1156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp59_ = gee_queue_poll (_tmp58_);
-#line 1156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
n = (DirectoryMonitorQueryInfoQueueElement*) _tmp59_;
-#line 1157 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp60_ = next;
-#line 1157 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp61_ = n;
-#line 1157 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp60_ == _tmp61_, "next == n");
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp62_ = next;
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp63_ = _tmp62_->position;
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp64_ = next;
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp65_ = _tmp64_->event;
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp66_ = g_enum_get_value (g_type_class_ref (g_file_monitor_event_get_type ()), _tmp65_);
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp67_ = next;
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp68_ = _tmp67_->file;
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp69_ = g_file_get_path (_tmp68_);
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp70_ = _tmp69_;
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp71_ = g_strdup_printf ("Completed info query %u for %s on %s", _tmp63_, (_tmp66_ != NULL) ? _tmp66_->value_name : NULL, _tmp70_);
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp72_ = _tmp71_;
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp72_);
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp72_);
-#line 1159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp70_);
-#line 1162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp73_ = next;
-#line 1162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp74_ = _tmp73_->err;
-#line 1162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp74_ != NULL) {
-#line 5934 "DirectoryMonitor.c"
+#line 5966 "DirectoryMonitor.c"
DirectoryMonitorQueryInfoQueueElement* _tmp75_ = NULL;
GFile* _tmp76_ = NULL;
gchar* _tmp77_ = NULL;
@@ -5948,76 +5980,76 @@ static void directory_monitor_process_query_queue (DirectoryMonitor* self, Direc
const gchar* _tmp84_ = NULL;
gchar* _tmp85_ = NULL;
gchar* _tmp86_ = NULL;
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp75_ = next;
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp76_ = _tmp75_->file;
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp77_ = g_file_get_path (_tmp76_);
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp78_ = _tmp77_;
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp79_ = next;
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp80_ = _tmp79_->event;
-#line 1164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp81_ = g_enum_get_value (g_type_class_ref (g_file_monitor_event_get_type ()), _tmp80_);
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp82_ = next;
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp83_ = _tmp82_->err;
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp84_ = _tmp83_->message;
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp85_ = g_strdup_printf ("Unable to retrieve file information for %s, dropping %s: %s", _tmp78_, (_tmp81_ != NULL) ? _tmp81_->value_name : NULL, _tmp84_);
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp86_ = _tmp85_;
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp86_);
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp86_);
-#line 1163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp78_);
-#line 1166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1172 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (n);
-#line 1166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1172 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (next);
-#line 1166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1172 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 5983 "DirectoryMonitor.c"
+#line 6015 "DirectoryMonitor.c"
}
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp88_ = next;
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp89_ = _tmp88_->info;
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp89_ != NULL) {
-#line 5991 "DirectoryMonitor.c"
+#line 6023 "DirectoryMonitor.c"
DirectoryMonitorQueryInfoQueueElement* _tmp90_ = NULL;
GFileInfo* _tmp91_ = NULL;
gchar* _tmp92_ = NULL;
gchar* _tmp93_ = NULL;
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp90_ = next;
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp91_ = _tmp90_->info;
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp92_ = get_file_info_id (_tmp91_);
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp93_ = _tmp92_;
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp87_ = _tmp93_ == NULL;
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp93_);
-#line 6008 "DirectoryMonitor.c"
+#line 6040 "DirectoryMonitor.c"
} else {
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp87_ = FALSE;
-#line 6012 "DirectoryMonitor.c"
+#line 6044 "DirectoryMonitor.c"
}
-#line 1170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp87_) {
-#line 6016 "DirectoryMonitor.c"
+#line 6048 "DirectoryMonitor.c"
DirectoryMonitorQueryInfoQueueElement* _tmp94_ = NULL;
GFile* _tmp95_ = NULL;
gchar* _tmp96_ = NULL;
@@ -6027,65 +6059,65 @@ static void directory_monitor_process_query_queue (DirectoryMonitor* self, Direc
GEnumValue* _tmp100_;
gchar* _tmp101_ = NULL;
gchar* _tmp102_ = NULL;
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp94_ = next;
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp95_ = _tmp94_->file;
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp96_ = g_file_get_path (_tmp95_);
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp97_ = _tmp96_;
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp98_ = next;
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp99_ = _tmp98_->event;
-#line 1172 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp100_ = g_enum_get_value (g_type_class_ref (g_file_monitor_event_get_type ()), _tmp99_);
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp101_ = g_strdup_printf ("Unable to retrieve file ID for %s, dropping %s", _tmp97_, (_tmp100_ != NULL) ? _tmp100_->value_name : NULL);
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp102_ = _tmp101_;
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp102_);
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp102_);
-#line 1171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp97_);
-#line 1174 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (n);
-#line 1174 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (next);
-#line 1174 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 6056 "DirectoryMonitor.c"
+#line 6088 "DirectoryMonitor.c"
}
-#line 1178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp104_ = next;
-#line 1178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp105_ = _tmp104_->info;
-#line 1178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp105_ != NULL) {
-#line 6064 "DirectoryMonitor.c"
+#line 6096 "DirectoryMonitor.c"
DirectoryMonitorQueryInfoQueueElement* _tmp106_ = NULL;
GFileInfo* _tmp107_ = NULL;
gboolean _tmp108_ = FALSE;
-#line 1178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp106_ = next;
-#line 1178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp107_ = _tmp106_->info;
-#line 1178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp108_ = directory_monitor_is_file_symlink_supported (_tmp107_);
-#line 1178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp103_ = !_tmp108_;
-#line 6076 "DirectoryMonitor.c"
+#line 6108 "DirectoryMonitor.c"
} else {
-#line 1178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp103_ = FALSE;
-#line 6080 "DirectoryMonitor.c"
+#line 6112 "DirectoryMonitor.c"
}
-#line 1178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp103_) {
-#line 6084 "DirectoryMonitor.c"
+#line 6116 "DirectoryMonitor.c"
DirectoryMonitorQueryInfoQueueElement* _tmp109_ = NULL;
GFile* _tmp110_ = NULL;
gchar* _tmp111_ = NULL;
@@ -6095,61 +6127,61 @@ static void directory_monitor_process_query_queue (DirectoryMonitor* self, Direc
GEnumValue* _tmp115_;
gchar* _tmp116_ = NULL;
gchar* _tmp117_ = NULL;
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp109_ = next;
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp110_ = _tmp109_->file;
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp111_ = g_file_get_path (_tmp110_);
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp112_ = _tmp111_;
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp113_ = next;
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp114_ = _tmp113_->event;
-#line 1180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1186 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp115_ = g_enum_get_value (g_type_class_ref (g_file_monitor_event_get_type ()), _tmp114_);
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp116_ = g_strdup_printf ("No symlink support for %s, dropping %s", _tmp112_, (_tmp115_ != NULL) ? _tmp115_->value_name : NULL);
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp117_ = _tmp116_;
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp117_);
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp117_);
-#line 1179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp112_);
-#line 1182 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1188 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (n);
-#line 1182 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1188 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (next);
-#line 1182 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1188 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 6124 "DirectoryMonitor.c"
+#line 6156 "DirectoryMonitor.c"
}
-#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp118_ = next;
-#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp119_ = _tmp118_->file;
-#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp120_ = next;
-#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp121_ = _tmp120_->other_file;
-#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp122_ = next;
-#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp123_ = _tmp122_->info;
-#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp124_ = next;
-#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp125_ = _tmp124_->event;
-#line 1185 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_on_monitor_notification_ready (self, _tmp119_, _tmp121_, _tmp123_, _tmp125_);
-#line 1149 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1155 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (n);
-#line 1149 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1155 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (next);
-#line 6148 "DirectoryMonitor.c"
+#line 6180 "DirectoryMonitor.c"
}
}
}
@@ -6166,143 +6198,143 @@ static void directory_monitor_on_monitor_notification_ready (DirectoryMonitor* s
gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
GFileMonitorEvent _tmp12_ = 0;
-#line 1189 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (IS_DIRECTORY_MONITOR (self));
-#line 1189 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 1189 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail ((other_file == NULL) || G_IS_FILE (other_file));
-#line 1189 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail ((info == NULL) || G_IS_FILE_INFO (info));
-#line 1192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = other_file;
-#line 1192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp1_ != NULL) {
-#line 6177 "DirectoryMonitor.c"
+#line 6209 "DirectoryMonitor.c"
GFile* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = other_file;
-#line 1192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = g_file_get_path (_tmp2_);
-#line 1192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp0_);
-#line 1192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = _tmp3_;
-#line 6188 "DirectoryMonitor.c"
+#line 6220 "DirectoryMonitor.c"
} else {
gchar* _tmp4_ = NULL;
-#line 1192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = g_strdup ("(null)");
-#line 1192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp0_);
-#line 1192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = _tmp4_;
-#line 6197 "DirectoryMonitor.c"
+#line 6229 "DirectoryMonitor.c"
}
-#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1197 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = event;
-#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1197 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = g_enum_get_value (g_type_class_ref (g_file_monitor_event_get_type ()), _tmp5_);
-#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1197 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = file;
-#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1197 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = g_file_get_path (_tmp7_);
-#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1197 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = _tmp8_;
-#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1197 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = g_strdup_printf ("READY %s: file=%s other_file=%s", (_tmp6_ != NULL) ? _tmp6_->value_name : NULL, _tmp9_, _tmp0_);
-#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1197 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = _tmp10_;
-#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1197 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp11_);
-#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1197 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp11_);
-#line 1191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1197 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp9_);
-#line 1196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = event;
-#line 1196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp12_) {
-#line 1196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_CREATED:
-#line 6225 "DirectoryMonitor.c"
+#line 6257 "DirectoryMonitor.c"
{
GFileInfo* _tmp13_ = NULL;
DirectoryMonitorFType ftype = 0;
GFileInfo* _tmp14_ = NULL;
DirectoryMonitorFType _tmp15_ = 0;
DirectoryMonitorFType _tmp16_ = 0;
-#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1204 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = info;
-#line 1198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1204 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp13_ != NULL, "info != null");
-#line 1200 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1206 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = info;
-#line 1200 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1206 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = directory_monitor_get_ftype (_tmp14_);
-#line 1200 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1206 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
ftype = _tmp15_;
-#line 1201 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = ftype;
-#line 1201 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp16_) {
-#line 1201 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_FILE:
-#line 6248 "DirectoryMonitor.c"
+#line 6280 "DirectoryMonitor.c"
{
GFile* _tmp17_ = NULL;
GFileInfo* _tmp18_ = NULL;
-#line 1203 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1209 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = file;
-#line 1203 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1209 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = info;
-#line 1203 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1209 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_file_created (self, _tmp17_, _tmp18_);
-#line 1204 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1210 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6260 "DirectoryMonitor.c"
+#line 6292 "DirectoryMonitor.c"
}
-#line 1201 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_DIRECTORY:
-#line 6264 "DirectoryMonitor.c"
+#line 6296 "DirectoryMonitor.c"
{
gint _tmp19_ = 0;
GFile* _tmp20_ = NULL;
GFileInfo* _tmp21_ = NULL;
-#line 1211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1217 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = self->priv->outstanding_exploration_dirs;
-#line 1211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1217 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->outstanding_exploration_dirs = _tmp19_ + 1;
-#line 1212 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp20_ = file;
-#line 1212 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp21_ = info;
-#line 1212 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_explore_async (self, _tmp20_, _tmp21_, FALSE, NULL, NULL);
-#line 1213 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1219 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6281 "DirectoryMonitor.c"
+#line 6313 "DirectoryMonitor.c"
}
default:
{
DirectoryMonitorFType _tmp22_ = 0;
-#line 1216 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1222 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp22_ = ftype;
-#line 1216 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1222 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp22_ == DIRECTORY_MONITOR_FTYPE_UNSUPPORTED, "ftype == FType.UNSUPPORTED");
-#line 1217 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1223 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6292 "DirectoryMonitor.c"
+#line 6324 "DirectoryMonitor.c"
}
}
-#line 1219 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1225 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6297 "DirectoryMonitor.c"
+#line 6329 "DirectoryMonitor.c"
}
-#line 1196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_CHANGED:
-#line 6301 "DirectoryMonitor.c"
+#line 6333 "DirectoryMonitor.c"
{
GFileInfo* _tmp23_ = NULL;
GFileInfo* local_info = NULL;
@@ -6313,176 +6345,176 @@ static void directory_monitor_on_monitor_notification_ready (DirectoryMonitor* s
GFileInfo* _tmp32_ = NULL;
DirectoryMonitorFType _tmp33_ = 0;
DirectoryMonitorFType _tmp34_ = 0;
-#line 1223 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1229 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp23_ = info;
-#line 1223 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1229 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp23_ == NULL, "info == null");
-#line 1225 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1231 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp24_ = file;
-#line 1225 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1231 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp25_ = directory_monitor_get_file_info (self, _tmp24_);
-#line 1225 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1231 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
local_info = _tmp25_;
-#line 1226 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1232 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp26_ = local_info;
-#line 1226 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1232 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp26_ == NULL) {
-#line 6326 "DirectoryMonitor.c"
+#line 6358 "DirectoryMonitor.c"
GFile* _tmp27_ = NULL;
gchar* _tmp28_ = NULL;
gchar* _tmp29_ = NULL;
gchar* _tmp30_ = NULL;
gchar* _tmp31_ = NULL;
-#line 1227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp27_ = file;
-#line 1227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp28_ = g_file_get_path (_tmp27_);
-#line 1227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp29_ = _tmp28_;
-#line 1227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp30_ = g_strdup_printf ("Changed event for unknown file %s", _tmp29_);
-#line 1227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp31_ = _tmp30_;
-#line 1227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg (_tmp31_);
-#line 1227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp31_);
-#line 1227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp29_);
-#line 1229 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1235 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (local_info);
-#line 1229 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1235 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6352 "DirectoryMonitor.c"
+#line 6384 "DirectoryMonitor.c"
}
-#line 1232 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1238 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp32_ = local_info;
-#line 1232 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1238 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp33_ = directory_monitor_get_ftype (_tmp32_);
-#line 1232 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1238 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
ftype = _tmp33_;
-#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1239 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp34_ = ftype;
-#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1239 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp34_) {
-#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1239 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_FILE:
-#line 6366 "DirectoryMonitor.c"
+#line 6398 "DirectoryMonitor.c"
{
GFile* _tmp35_ = NULL;
-#line 1235 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1241 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp35_ = file;
-#line 1235 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1241 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_file_altered (self, _tmp35_);
-#line 1236 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1242 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6375 "DirectoryMonitor.c"
+#line 6407 "DirectoryMonitor.c"
}
-#line 1233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1239 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_DIRECTORY:
-#line 6379 "DirectoryMonitor.c"
+#line 6411 "DirectoryMonitor.c"
{
GFile* _tmp36_ = NULL;
-#line 1239 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp36_ = file;
-#line 1239 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_directory_altered (self, _tmp36_);
-#line 1240 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1246 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6388 "DirectoryMonitor.c"
+#line 6420 "DirectoryMonitor.c"
}
default:
{
DirectoryMonitorFType _tmp37_ = 0;
-#line 1243 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp37_ = ftype;
-#line 1243 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp37_ == DIRECTORY_MONITOR_FTYPE_UNSUPPORTED, "ftype == FType.UNSUPPORTED");
-#line 1244 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1250 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6399 "DirectoryMonitor.c"
+#line 6431 "DirectoryMonitor.c"
}
}
-#line 1246 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (local_info);
-#line 1246 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6406 "DirectoryMonitor.c"
+#line 6438 "DirectoryMonitor.c"
}
-#line 1196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
-#line 6410 "DirectoryMonitor.c"
+#line 6442 "DirectoryMonitor.c"
{
GFileInfo* _tmp38_ = NULL;
DirectoryMonitorFType ftype = 0;
GFileInfo* _tmp39_ = NULL;
DirectoryMonitorFType _tmp40_ = 0;
DirectoryMonitorFType _tmp41_ = 0;
-#line 1249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1255 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp38_ = info;
-#line 1249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1255 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp38_ != NULL, "info != null");
-#line 1251 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1257 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp39_ = info;
-#line 1251 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1257 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp40_ = directory_monitor_get_ftype (_tmp39_);
-#line 1251 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1257 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
ftype = _tmp40_;
-#line 1252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp41_ = ftype;
-#line 1252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp41_) {
-#line 1252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_FILE:
-#line 6433 "DirectoryMonitor.c"
+#line 6465 "DirectoryMonitor.c"
{
GFile* _tmp42_ = NULL;
GFileInfo* _tmp43_ = NULL;
-#line 1254 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1260 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp42_ = file;
-#line 1254 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1260 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp43_ = info;
-#line 1254 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1260 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_file_alteration_completed (self, _tmp42_, _tmp43_);
-#line 1255 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1261 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6445 "DirectoryMonitor.c"
+#line 6477 "DirectoryMonitor.c"
}
-#line 1252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_DIRECTORY:
-#line 6449 "DirectoryMonitor.c"
+#line 6481 "DirectoryMonitor.c"
{
GFile* _tmp44_ = NULL;
GFileInfo* _tmp45_ = NULL;
-#line 1258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1264 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp44_ = file;
-#line 1258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1264 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp45_ = info;
-#line 1258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1264 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_directory_alteration_completed (self, _tmp44_, _tmp45_);
-#line 1259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1265 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6461 "DirectoryMonitor.c"
+#line 6493 "DirectoryMonitor.c"
}
default:
{
DirectoryMonitorFType _tmp46_ = 0;
-#line 1262 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1268 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp46_ = ftype;
-#line 1262 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1268 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp46_ == DIRECTORY_MONITOR_FTYPE_UNSUPPORTED, "ftype == FType.UNSUPPORTED");
-#line 1263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1269 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6472 "DirectoryMonitor.c"
+#line 6504 "DirectoryMonitor.c"
}
}
-#line 1265 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1271 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6477 "DirectoryMonitor.c"
+#line 6509 "DirectoryMonitor.c"
}
-#line 1196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_MOVED:
-#line 6481 "DirectoryMonitor.c"
+#line 6513 "DirectoryMonitor.c"
{
GFileInfo* _tmp47_ = NULL;
GFile* _tmp48_ = NULL;
@@ -6490,46 +6522,46 @@ static void directory_monitor_on_monitor_notification_ready (DirectoryMonitor* s
GFileInfo* _tmp49_ = NULL;
DirectoryMonitorFType _tmp50_ = 0;
DirectoryMonitorFType _tmp51_ = 0;
-#line 1268 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1274 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp47_ = info;
-#line 1268 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1274 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp47_ != NULL, "info != null");
-#line 1269 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1275 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp48_ = other_file;
-#line 1269 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1275 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp48_ != NULL, "other_file != null");
-#line 1273 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1279 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp49_ = info;
-#line 1273 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1279 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp50_ = directory_monitor_get_ftype (_tmp49_);
-#line 1273 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1279 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
ftype = _tmp50_;
-#line 1274 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1280 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp51_ = ftype;
-#line 1274 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1280 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp51_) {
-#line 1274 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1280 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_FILE:
-#line 6509 "DirectoryMonitor.c"
+#line 6541 "DirectoryMonitor.c"
{
GFile* _tmp52_ = NULL;
GFile* _tmp53_ = NULL;
GFileInfo* _tmp54_ = NULL;
-#line 1276 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1282 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp52_ = file;
-#line 1276 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1282 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp53_ = other_file;
-#line 1276 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1282 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp54_ = info;
-#line 1276 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1282 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_file_moved (self, _tmp52_, _tmp53_, _tmp54_);
-#line 1277 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6524 "DirectoryMonitor.c"
+#line 6556 "DirectoryMonitor.c"
}
-#line 1274 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1280 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_DIRECTORY:
-#line 6528 "DirectoryMonitor.c"
+#line 6560 "DirectoryMonitor.c"
{
GFileInfo* old_dir_info = NULL;
DirectoryMonitorFileInfoMap* _tmp55_ = NULL;
@@ -6540,73 +6572,73 @@ static void directory_monitor_on_monitor_notification_ready (DirectoryMonitor* s
GFileInfo* _tmp63_ = NULL;
GFile* _tmp64_ = NULL;
GFileInfo* _tmp65_ = NULL;
-#line 1281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1287 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp55_ = self->priv->files;
-#line 1281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1287 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp56_ = file;
-#line 1281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1287 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp57_ = directory_monitor_file_info_map_get_info (_tmp55_, _tmp56_);
-#line 1281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1287 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
old_dir_info = _tmp57_;
-#line 1282 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1288 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp58_ = old_dir_info;
-#line 1282 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1288 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp58_ == NULL) {
-#line 6551 "DirectoryMonitor.c"
+#line 6583 "DirectoryMonitor.c"
GFile* _tmp59_ = NULL;
gchar* _tmp60_ = NULL;
gchar* _tmp61_ = NULL;
-#line 1283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp59_ = file;
-#line 1283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp60_ = g_file_get_path (_tmp59_);
-#line 1283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp61_ = _tmp60_;
-#line 1283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:1283: Directory moved event for unknown file %s", _tmp61_);
-#line 1283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:1289: Directory moved event for unknown file %s", _tmp61_);
+#line 1289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp61_);
-#line 1285 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1291 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (old_dir_info);
-#line 1285 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1291 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6569 "DirectoryMonitor.c"
+#line 6601 "DirectoryMonitor.c"
}
-#line 1288 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1294 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp62_ = file;
-#line 1288 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1294 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp63_ = old_dir_info;
-#line 1288 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1294 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp64_ = other_file;
-#line 1288 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1294 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp65_ = info;
-#line 1288 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1294 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_directory_moved (self, _tmp62_, _tmp63_, _tmp64_, _tmp65_);
-#line 1289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (old_dir_info);
-#line 1289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6585 "DirectoryMonitor.c"
+#line 6617 "DirectoryMonitor.c"
}
default:
{
DirectoryMonitorFType _tmp66_ = 0;
-#line 1292 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1298 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp66_ = ftype;
-#line 1292 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1298 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp66_ == DIRECTORY_MONITOR_FTYPE_UNSUPPORTED, "ftype == FType.UNSUPPORTED");
-#line 1293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1299 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6596 "DirectoryMonitor.c"
+#line 6628 "DirectoryMonitor.c"
}
}
-#line 1295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1301 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6601 "DirectoryMonitor.c"
+#line 6633 "DirectoryMonitor.c"
}
-#line 1196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_DELETED:
-#line 6605 "DirectoryMonitor.c"
+#line 6637 "DirectoryMonitor.c"
{
GFileInfo* _tmp67_ = NULL;
GFileInfo* local_info = NULL;
@@ -6617,97 +6649,97 @@ static void directory_monitor_on_monitor_notification_ready (DirectoryMonitor* s
GFileInfo* _tmp74_ = NULL;
DirectoryMonitorFType _tmp75_ = 0;
DirectoryMonitorFType _tmp76_ = 0;
-#line 1298 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1304 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp67_ = info;
-#line 1298 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1304 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp67_ == NULL, "info == null");
-#line 1300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1306 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp68_ = file;
-#line 1300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1306 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp69_ = directory_monitor_get_file_info (self, _tmp68_);
-#line 1300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1306 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
local_info = _tmp69_;
-#line 1301 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1307 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp70_ = local_info;
-#line 1301 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1307 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp70_ == NULL) {
-#line 6630 "DirectoryMonitor.c"
+#line 6662 "DirectoryMonitor.c"
GFile* _tmp71_ = NULL;
gchar* _tmp72_ = NULL;
gchar* _tmp73_ = NULL;
-#line 1302 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp71_ = file;
-#line 1302 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp72_ = g_file_get_path (_tmp71_);
-#line 1302 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp73_ = _tmp72_;
-#line 1302 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:1302: Deleted event for unknown file %s", _tmp73_);
-#line 1302 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:1308: Deleted event for unknown file %s", _tmp73_);
+#line 1308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp73_);
-#line 1304 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1310 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (local_info);
-#line 1304 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1310 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6648 "DirectoryMonitor.c"
+#line 6680 "DirectoryMonitor.c"
}
-#line 1307 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp74_ = local_info;
-#line 1307 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp75_ = directory_monitor_get_ftype (_tmp74_);
-#line 1307 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
ftype = _tmp75_;
-#line 1308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp76_ = ftype;
-#line 1308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp76_) {
-#line 1308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_FILE:
-#line 6662 "DirectoryMonitor.c"
+#line 6694 "DirectoryMonitor.c"
{
GFile* _tmp77_ = NULL;
-#line 1310 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1316 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp77_ = file;
-#line 1310 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1316 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_file_deleted (self, _tmp77_);
-#line 1311 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1317 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6671 "DirectoryMonitor.c"
+#line 6703 "DirectoryMonitor.c"
}
-#line 1308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_DIRECTORY:
-#line 6675 "DirectoryMonitor.c"
+#line 6707 "DirectoryMonitor.c"
{
GFile* _tmp78_ = NULL;
-#line 1314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1320 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp78_ = file;
-#line 1314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1320 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_internal_notify_directory_deleted (self, _tmp78_);
-#line 1315 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6684 "DirectoryMonitor.c"
+#line 6716 "DirectoryMonitor.c"
}
default:
{
DirectoryMonitorFType _tmp79_ = 0;
-#line 1318 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1324 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp79_ = ftype;
-#line 1318 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1324 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp79_ == DIRECTORY_MONITOR_FTYPE_UNSUPPORTED, "ftype == FType.UNSUPPORTED");
-#line 1319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1325 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6695 "DirectoryMonitor.c"
+#line 6727 "DirectoryMonitor.c"
}
}
-#line 1321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (local_info);
-#line 1321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6702 "DirectoryMonitor.c"
+#line 6734 "DirectoryMonitor.c"
}
-#line 1196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_ATTRIBUTE_CHANGED:
-#line 6706 "DirectoryMonitor.c"
+#line 6738 "DirectoryMonitor.c"
{
GFileInfo* _tmp80_ = NULL;
GFileInfo* local_info = NULL;
@@ -6718,123 +6750,123 @@ static void directory_monitor_on_monitor_notification_ready (DirectoryMonitor* s
GFileInfo* _tmp87_ = NULL;
DirectoryMonitorFType _tmp88_ = 0;
DirectoryMonitorFType _tmp89_ = 0;
-#line 1325 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1331 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp80_ = info;
-#line 1325 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1331 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp80_ == NULL, "info == null");
-#line 1327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1333 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp81_ = file;
-#line 1327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1333 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp82_ = directory_monitor_get_file_info (self, _tmp81_);
-#line 1327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1333 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
local_info = _tmp82_;
-#line 1328 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1334 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp83_ = local_info;
-#line 1328 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1334 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp83_ == NULL) {
-#line 6731 "DirectoryMonitor.c"
+#line 6763 "DirectoryMonitor.c"
GFile* _tmp84_ = NULL;
gchar* _tmp85_ = NULL;
gchar* _tmp86_ = NULL;
-#line 1329 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1335 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp84_ = file;
-#line 1329 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1335 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp85_ = g_file_get_path (_tmp84_);
-#line 1329 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1335 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp86_ = _tmp85_;
-#line 1329 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:1329: Attribute changed event for unknown file %" \
+#line 1335 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:1335: Attribute changed event for unknown file %" \
"s", _tmp86_);
-#line 1329 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1335 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp86_);
-#line 1331 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1337 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (local_info);
-#line 1331 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1337 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6749 "DirectoryMonitor.c"
+#line 6781 "DirectoryMonitor.c"
}
-#line 1334 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp87_ = local_info;
-#line 1334 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp88_ = directory_monitor_get_ftype (_tmp87_);
-#line 1334 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
ftype = _tmp88_;
-#line 1335 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1341 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp89_ = ftype;
-#line 1335 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1341 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp89_) {
-#line 1335 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1341 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_FILE:
-#line 6763 "DirectoryMonitor.c"
+#line 6795 "DirectoryMonitor.c"
{
GFile* _tmp90_ = NULL;
-#line 1337 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp90_ = file;
-#line 1337 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_file_attributes_altered (self, _tmp90_);
-#line 1338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6772 "DirectoryMonitor.c"
+#line 6804 "DirectoryMonitor.c"
}
-#line 1335 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1341 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_DIRECTORY:
-#line 6776 "DirectoryMonitor.c"
+#line 6808 "DirectoryMonitor.c"
{
GFile* _tmp91_ = NULL;
-#line 1341 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1347 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp91_ = file;
-#line 1341 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1347 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_notify_directory_attributes_altered (self, _tmp91_);
-#line 1342 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1348 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6785 "DirectoryMonitor.c"
+#line 6817 "DirectoryMonitor.c"
}
default:
{
DirectoryMonitorFType _tmp92_ = 0;
-#line 1345 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1351 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp92_ = ftype;
-#line 1345 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1351 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp92_ == DIRECTORY_MONITOR_FTYPE_UNSUPPORTED, "ftype == FType.UNSUPPORTED");
-#line 1346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1352 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6796 "DirectoryMonitor.c"
+#line 6828 "DirectoryMonitor.c"
}
}
-#line 1348 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1354 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (local_info);
-#line 1348 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1354 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6803 "DirectoryMonitor.c"
+#line 6835 "DirectoryMonitor.c"
}
-#line 1196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_PRE_UNMOUNT:
-#line 1196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case G_FILE_MONITOR_EVENT_UNMOUNTED:
-#line 6809 "DirectoryMonitor.c"
+#line 6841 "DirectoryMonitor.c"
{
-#line 1353 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1359 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6813 "DirectoryMonitor.c"
+#line 6845 "DirectoryMonitor.c"
}
default:
{
GFileMonitorEvent _tmp93_ = 0;
GEnumValue* _tmp94_;
-#line 1356 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1362 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp93_ = event;
-#line 1356 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1362 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp94_ = g_enum_get_value (g_type_class_ref (g_file_monitor_event_get_type ()), _tmp93_);
-#line 1356 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:1356: Unknown directory monitor event %s", (_tmp94_ != NULL) ? _tmp94_->value_name : NULL);
-#line 1357 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1362 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:1362: Unknown directory monitor event %s", (_tmp94_ != NULL) ? _tmp94_->value_name : NULL);
+#line 1363 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 6827 "DirectoryMonitor.c"
+#line 6859 "DirectoryMonitor.c"
}
}
-#line 1189 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp0_);
-#line 6832 "DirectoryMonitor.c"
+#line 6864 "DirectoryMonitor.c"
}
@@ -6847,25 +6879,25 @@ static gboolean directory_monitor_is_file_create_move (DirectoryMonitor* self, G
GFileInfo* _tmp1_ = NULL;
GFile* _tmp2_ = NULL;
GFile* _tmp3_ = NULL;
-#line 1363 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), FALSE);
-#line 1363 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), FALSE);
-#line 1363 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE_INFO (info), FALSE);
-#line 1366 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1372 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->parent_moved;
-#line 1366 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1372 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = info;
-#line 1366 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1372 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = directory_monitor_file_info_map_find_match (_tmp0_, _tmp1_);
-#line 1366 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1372 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
match = _tmp2_;
-#line 1367 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = match;
-#line 1367 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp3_ != NULL) {
-#line 6863 "DirectoryMonitor.c"
+#line 6895 "DirectoryMonitor.c"
GFile* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
DirectoryMonitorFileInfoMap* _tmp6_ = NULL;
@@ -6874,95 +6906,95 @@ static gboolean directory_monitor_is_file_create_move (DirectoryMonitor* self, G
DirectoryMonitorFileInfoMap* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
GFileInfo* _tmp11_ = NULL;
-#line 1368 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1374 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = match;
-#line 1368 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1374 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 1368 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1374 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_old_file);
-#line 1368 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1374 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_old_file = _tmp5_;
-#line 1369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1375 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = self->priv->parent_moved;
-#line 1369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1375 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = match;
-#line 1369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1375 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = directory_monitor_file_info_map_get_info (_tmp6_, _tmp7_);
-#line 1369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1375 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_old_file_info);
-#line 1369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1375 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_old_file_info = _tmp8_;
-#line 1371 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1377 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = self->priv->parent_moved;
-#line 1371 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1377 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = match;
-#line 1371 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1377 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = info;
-#line 1371 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1377 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_remove (_tmp9_, _tmp10_, _tmp11_);
-#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = TRUE;
-#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (match);
-#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (old_file) {
-#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*old_file = _vala_old_file;
-#line 6906 "DirectoryMonitor.c"
+#line 6938 "DirectoryMonitor.c"
} else {
-#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_old_file);
-#line 6910 "DirectoryMonitor.c"
+#line 6942 "DirectoryMonitor.c"
}
-#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (old_file_info) {
-#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*old_file_info = _vala_old_file_info;
-#line 6916 "DirectoryMonitor.c"
+#line 6948 "DirectoryMonitor.c"
} else {
-#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_old_file_info);
-#line 6920 "DirectoryMonitor.c"
+#line 6952 "DirectoryMonitor.c"
}
-#line 1373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 6924 "DirectoryMonitor.c"
+#line 6956 "DirectoryMonitor.c"
}
-#line 1376 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1382 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_old_file);
-#line 1376 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1382 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_old_file = NULL;
-#line 1377 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1383 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_old_file_info);
-#line 1377 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1383 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_old_file_info = NULL;
-#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1385 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1385 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (match);
-#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1385 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (old_file) {
-#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1385 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*old_file = _vala_old_file;
-#line 6942 "DirectoryMonitor.c"
+#line 6974 "DirectoryMonitor.c"
} else {
-#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1385 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_old_file);
-#line 6946 "DirectoryMonitor.c"
+#line 6978 "DirectoryMonitor.c"
}
-#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1385 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (old_file_info) {
-#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1385 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*old_file_info = _vala_old_file_info;
-#line 6952 "DirectoryMonitor.c"
+#line 6984 "DirectoryMonitor.c"
} else {
-#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1385 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_old_file_info);
-#line 6956 "DirectoryMonitor.c"
+#line 6988 "DirectoryMonitor.c"
}
-#line 1379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1385 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 6960 "DirectoryMonitor.c"
+#line 6992 "DirectoryMonitor.c"
}
@@ -6974,30 +7006,30 @@ static gboolean directory_monitor_check_for_expired_delete_events (DirectoryMoni
gboolean any_expired = FALSE;
gboolean _tmp13_ = FALSE;
gboolean _tmp14_ = FALSE;
-#line 1382 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1388 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), FALSE);
-#line 1383 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1389 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = now_ms ();
-#line 1383 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1389 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
expiration = _tmp0_ - DIRECTORY_MONITOR_DELETED_EXPIRATION_MSEC;
-#line 1385 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1391 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
any_deleted = FALSE;
-#line 1386 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1392 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
any_expired = FALSE;
-#line 6982 "DirectoryMonitor.c"
+#line 7014 "DirectoryMonitor.c"
{
GeeIterator* _element_it = NULL;
GeeQueue* _tmp1_ = NULL;
GeeIterator* _tmp2_ = NULL;
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = self->priv->query_info_queue;
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_element_it = _tmp2_;
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 6995 "DirectoryMonitor.c"
+#line 7027 "DirectoryMonitor.c"
GeeIterator* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
DirectoryMonitorQueryInfoQueueElement* element = NULL;
@@ -7009,85 +7041,85 @@ static gboolean directory_monitor_check_for_expired_delete_events (DirectoryMoni
gulong _tmp10_ = 0UL;
gulong _tmp11_ = 0UL;
DirectoryMonitorQueryInfoQueueElement* _tmp12_ = NULL;
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = _element_it;
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = gee_iterator_next (_tmp3_);
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp4_) {
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 7015 "DirectoryMonitor.c"
+#line 7047 "DirectoryMonitor.c"
}
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = _element_it;
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = gee_iterator_get (_tmp5_);
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
element = (DirectoryMonitorQueryInfoQueueElement*) _tmp6_;
-#line 1388 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1394 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = element;
-#line 1388 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1394 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = _tmp7_->event;
-#line 1388 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1394 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp8_ != G_FILE_MONITOR_EVENT_DELETED) {
-#line 1389 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1395 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (element);
-#line 1389 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1395 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 7033 "DirectoryMonitor.c"
+#line 7065 "DirectoryMonitor.c"
}
-#line 1391 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1397 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
any_deleted = TRUE;
-#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1399 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = element;
-#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1399 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = _tmp9_->time_created_msec;
-#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1399 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = expiration;
-#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1399 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp10_ > _tmp11_) {
-#line 1394 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1400 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (element);
-#line 1394 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1400 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 7049 "DirectoryMonitor.c"
+#line 7081 "DirectoryMonitor.c"
}
-#line 1397 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1403 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = element;
-#line 1397 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1403 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_->completed = TRUE;
-#line 1398 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1404 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
any_expired = TRUE;
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_query_info_queue_element_unref0 (element);
-#line 7059 "DirectoryMonitor.c"
+#line 7091 "DirectoryMonitor.c"
}
-#line 1387 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1393 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_element_it);
-#line 7063 "DirectoryMonitor.c"
+#line 7095 "DirectoryMonitor.c"
}
-#line 1401 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1407 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = any_expired;
-#line 1401 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1407 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp13_) {
-#line 1402 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1408 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_process_query_queue (self, NULL);
-#line 7071 "DirectoryMonitor.c"
+#line 7103 "DirectoryMonitor.c"
}
-#line 1404 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1410 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = any_deleted;
-#line 1404 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1410 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp14_) {
-#line 1405 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1411 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->delete_timer_id = (guint) 0;
-#line 7079 "DirectoryMonitor.c"
+#line 7111 "DirectoryMonitor.c"
}
-#line 1407 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1413 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = any_deleted;
-#line 1407 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1413 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 7085 "DirectoryMonitor.c"
+#line 7117 "DirectoryMonitor.c"
}
@@ -7096,21 +7128,21 @@ GFileInfo* directory_monitor_get_file_info (DirectoryMonitor* self, GFile* file)
DirectoryMonitorFileInfoMap* _tmp0_ = NULL;
GFile* _tmp1_ = NULL;
GFileInfo* _tmp2_ = NULL;
-#line 1411 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1417 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), NULL);
-#line 1411 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1417 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), NULL);
-#line 1412 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1418 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 1412 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1418 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = file;
-#line 1412 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1418 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = directory_monitor_file_info_map_get_info (_tmp0_, _tmp1_);
-#line 1412 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1418 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = _tmp2_;
-#line 1412 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1418 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 7108 "DirectoryMonitor.c"
+#line 7140 "DirectoryMonitor.c"
}
@@ -7118,17 +7150,17 @@ GeeCollection* directory_monitor_get_files (DirectoryMonitor* self) {
GeeCollection* result = NULL;
DirectoryMonitorFileInfoMap* _tmp0_ = NULL;
GeeCollection* _tmp1_ = NULL;
-#line 1417 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1423 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), NULL);
-#line 1418 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1424 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 1418 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1424 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = directory_monitor_file_info_map_get_all (_tmp0_);
-#line 1418 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1424 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = _tmp1_;
-#line 1418 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1424 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 7126 "DirectoryMonitor.c"
+#line 7158 "DirectoryMonitor.c"
}
@@ -7138,23 +7170,23 @@ GFileInfo* directory_monitor_query_file_info (DirectoryMonitor* self, GFile* fil
GFile* _tmp1_ = NULL;
GCancellable* _tmp2_ = NULL;
GFileInfo* _tmp3_ = NULL;
-#line 1424 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1430 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (IS_DIRECTORY_MONITOR (self), NULL);
-#line 1424 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1430 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), NULL);
-#line 1425 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1431 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->files;
-#line 1425 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1431 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = file;
-#line 1425 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1431 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = self->priv->cancellable;
-#line 1425 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1431 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = directory_monitor_file_info_map_query_info (_tmp0_, _tmp1_, _tmp2_);
-#line 1425 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1431 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = _tmp3_;
-#line 1425 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1431 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 7152 "DirectoryMonitor.c"
+#line 7184 "DirectoryMonitor.c"
}
@@ -7166,75 +7198,75 @@ gboolean directory_monitor_is_file_symlink_supported (GFileInfo* info) {
GFileInfo* _tmp2_ = NULL;
DirectoryMonitorFType _tmp3_ = 0;
DirectoryMonitorFType _tmp4_ = 0;
-#line 1435 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1441 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE_INFO (info), FALSE);
-#line 1436 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1442 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = info;
-#line 1436 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1442 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = g_file_info_get_is_symlink (_tmp0_);
-#line 1436 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1442 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp1_) {
-#line 1437 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1443 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = TRUE;
-#line 1437 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1443 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 7176 "DirectoryMonitor.c"
+#line 7208 "DirectoryMonitor.c"
}
-#line 1439 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1445 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = info;
-#line 1439 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1445 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = directory_monitor_get_ftype (_tmp2_);
-#line 1439 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1445 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
ftype = _tmp3_;
-#line 1440 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1446 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = ftype;
-#line 1440 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1446 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp4_) {
-#line 1440 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1446 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_DIRECTORY:
-#line 7190 "DirectoryMonitor.c"
+#line 7222 "DirectoryMonitor.c"
{
-#line 1442 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1448 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = DIRECTORY_MONITOR_SUPPORT_DIR_SYMLINKS;
-#line 1442 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1448 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 7196 "DirectoryMonitor.c"
+#line 7228 "DirectoryMonitor.c"
}
-#line 1440 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1446 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_FILE:
-#line 7200 "DirectoryMonitor.c"
+#line 7232 "DirectoryMonitor.c"
{
-#line 1445 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1451 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = DIRECTORY_MONITOR_SUPPORT_FILE_SYMLINKS;
-#line 1445 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1451 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 7206 "DirectoryMonitor.c"
+#line 7238 "DirectoryMonitor.c"
}
default:
{
DirectoryMonitorFType _tmp5_ = 0;
-#line 1448 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1454 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = ftype;
-#line 1448 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1454 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp5_ == DIRECTORY_MONITOR_FTYPE_UNSUPPORTED, "ftype == FType.UNSUPPORTED");
-#line 1450 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1456 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 1450 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 1456 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 7219 "DirectoryMonitor.c"
+#line 7251 "DirectoryMonitor.c"
}
}
}
static void directory_monitor_real_root_moved (DirectoryMonitor* self, GFile* old_root, GFile* new_root, GFileInfo* new_root_info) {
-#line 380 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 386 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (old_root));
-#line 380 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 386 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (new_root));
-#line 380 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 386 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (new_root_info));
-#line 7232 "DirectoryMonitor.c"
+#line 7264 "DirectoryMonitor.c"
}
@@ -7253,26 +7285,26 @@ static void g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT (GClosure * closu
data1 = closure->data;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
data2 = param_values->data[0].v_pointer;
-#line 7251 "DirectoryMonitor.c"
+#line 7283 "DirectoryMonitor.c"
} else {
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
data1 = param_values->data[0].v_pointer;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
data2 = closure->data;
-#line 7257 "DirectoryMonitor.c"
+#line 7289 "DirectoryMonitor.c"
}
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
callback = (GMarshalFunc_VOID__OBJECT_OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
callback (data1, g_value_get_object (param_values + 1), g_value_get_object (param_values + 2), g_value_get_object (param_values + 3), data2);
-#line 7263 "DirectoryMonitor.c"
+#line 7295 "DirectoryMonitor.c"
}
static void directory_monitor_real_root_deleted (DirectoryMonitor* self, GFile* root) {
-#line 388 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 394 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (root));
-#line 7270 "DirectoryMonitor.c"
+#line 7302 "DirectoryMonitor.c"
}
@@ -7281,11 +7313,11 @@ static void directory_monitor_real_discovery_started (DirectoryMonitor* self) {
static void directory_monitor_real_file_discovered (DirectoryMonitor* self, GFile* file, GFileInfo* info) {
-#line 394 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 400 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 394 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 400 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 7283 "DirectoryMonitor.c"
+#line 7315 "DirectoryMonitor.c"
}
@@ -7304,144 +7336,144 @@ static void g_cclosure_user_marshal_VOID__OBJECT_OBJECT (GClosure * closure, GVa
data1 = closure->data;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
data2 = param_values->data[0].v_pointer;
-#line 7302 "DirectoryMonitor.c"
+#line 7334 "DirectoryMonitor.c"
} else {
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
data1 = param_values->data[0].v_pointer;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
data2 = closure->data;
-#line 7308 "DirectoryMonitor.c"
+#line 7340 "DirectoryMonitor.c"
}
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
callback = (GMarshalFunc_VOID__OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
callback (data1, g_value_get_object (param_values + 1), g_value_get_object (param_values + 2), data2);
-#line 7314 "DirectoryMonitor.c"
+#line 7346 "DirectoryMonitor.c"
}
static void directory_monitor_real_directory_discovered (DirectoryMonitor* self, GFile* file, GFileInfo* info) {
-#line 397 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 403 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 397 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 403 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 7323 "DirectoryMonitor.c"
+#line 7355 "DirectoryMonitor.c"
}
static void directory_monitor_real_discovery_failed (DirectoryMonitor* self, const gchar* reason) {
-#line 402 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 408 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (reason != NULL);
-#line 7330 "DirectoryMonitor.c"
+#line 7362 "DirectoryMonitor.c"
}
static void directory_monitor_real_discovery_completed (DirectoryMonitor* self) {
-#line 406 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 412 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->has_discovery_started = FALSE;
-#line 407 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 413 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_mdbg ("discovery completed");
-#line 7339 "DirectoryMonitor.c"
+#line 7371 "DirectoryMonitor.c"
}
static void directory_monitor_real_file_created (DirectoryMonitor* self, GFile* file, GFileInfo* info) {
-#line 410 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 416 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 410 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 416 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 7348 "DirectoryMonitor.c"
+#line 7380 "DirectoryMonitor.c"
}
static void directory_monitor_real_file_moved (DirectoryMonitor* self, GFile* old_file, GFile* new_file, GFileInfo* new_file_info) {
-#line 413 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 419 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (old_file));
-#line 413 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 419 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (new_file));
-#line 413 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 419 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (new_file_info));
-#line 7359 "DirectoryMonitor.c"
+#line 7391 "DirectoryMonitor.c"
}
static void directory_monitor_real_file_altered (DirectoryMonitor* self, GFile* file) {
-#line 417 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 423 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 7366 "DirectoryMonitor.c"
+#line 7398 "DirectoryMonitor.c"
}
static void directory_monitor_real_file_alteration_completed (DirectoryMonitor* self, GFile* file, GFileInfo* info) {
-#line 422 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 428 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 422 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 428 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 7375 "DirectoryMonitor.c"
+#line 7407 "DirectoryMonitor.c"
}
static void directory_monitor_real_file_attributes_altered (DirectoryMonitor* self, GFile* file) {
-#line 425 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 431 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 7382 "DirectoryMonitor.c"
+#line 7414 "DirectoryMonitor.c"
}
static void directory_monitor_real_file_deleted (DirectoryMonitor* self, GFile* file) {
-#line 428 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 434 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 7389 "DirectoryMonitor.c"
+#line 7421 "DirectoryMonitor.c"
}
static void directory_monitor_real_directory_created (DirectoryMonitor* self, GFile* dir, GFileInfo* info) {
-#line 432 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 438 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 432 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 438 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 7398 "DirectoryMonitor.c"
+#line 7430 "DirectoryMonitor.c"
}
static void directory_monitor_real_directory_moved (DirectoryMonitor* self, GFile* old_dir, GFile* new_dir, GFileInfo* new_dir_info) {
-#line 436 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 442 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (old_dir));
-#line 436 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 442 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (new_dir));
-#line 436 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 442 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (new_dir_info));
-#line 7409 "DirectoryMonitor.c"
+#line 7441 "DirectoryMonitor.c"
}
static void directory_monitor_real_directory_altered (DirectoryMonitor* self, GFile* dir) {
-#line 440 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 446 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 7416 "DirectoryMonitor.c"
+#line 7448 "DirectoryMonitor.c"
}
static void directory_monitor_real_directory_alteration_completed (DirectoryMonitor* self, GFile* dir, GFileInfo* info) {
-#line 445 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 451 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 445 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 451 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE_INFO (info));
-#line 7425 "DirectoryMonitor.c"
+#line 7457 "DirectoryMonitor.c"
}
static void directory_monitor_real_directory_attributes_altered (DirectoryMonitor* self, GFile* dir) {
-#line 448 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 454 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 7432 "DirectoryMonitor.c"
+#line 7464 "DirectoryMonitor.c"
}
static void directory_monitor_real_directory_deleted (DirectoryMonitor* self, GFile* dir) {
-#line 452 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 458 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (dir));
-#line 7439 "DirectoryMonitor.c"
+#line 7471 "DirectoryMonitor.c"
}
@@ -7508,21 +7540,21 @@ static DirectoryMonitorQueryInfoQueueElement* directory_monitor_query_info_queue
self->time_created_msec = _tmp8_;
#line 96 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return self;
-#line 7506 "DirectoryMonitor.c"
+#line 7538 "DirectoryMonitor.c"
}
static DirectoryMonitorQueryInfoQueueElement* directory_monitor_query_info_queue_element_new (DirectoryMonitor* owner, GFile* file, GFile* other_file, GFileMonitorEvent event) {
#line 96 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return directory_monitor_query_info_queue_element_construct (DIRECTORY_MONITOR_TYPE_QUERY_INFO_QUEUE_ELEMENT, owner, file, other_file, event);
-#line 7513 "DirectoryMonitor.c"
+#line 7545 "DirectoryMonitor.c"
}
static gpointer _g_error_copy0 (gpointer self) {
-#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return self ? g_error_copy (self) : NULL;
-#line 7520 "DirectoryMonitor.c"
+#line 7552 "DirectoryMonitor.c"
}
@@ -7530,7 +7562,7 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo
GFile* source_file = NULL;
GObject* _tmp0_ = NULL;
GFile* _tmp1_ = NULL;
- DirectoryMonitor* _tmp8_ = NULL;
+ DirectoryMonitor* _tmp16_ = NULL;
GError * _inner_error_ = NULL;
#line 106 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (DIRECTORY_MONITOR_IS_QUERY_INFO_QUEUE_ELEMENT (self));
@@ -7544,12 +7576,16 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_file_get_type (), GFile));
#line 107 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
source_file = _tmp1_;
-#line 7542 "DirectoryMonitor.c"
+#line 7574 "DirectoryMonitor.c"
{
GFileInfo* _tmp2_ = NULL;
GAsyncResult* _tmp3_ = NULL;
GFileInfo* _tmp4_ = NULL;
GFileInfo* _tmp5_ = NULL;
+ GFileInfo* _tmp6_ = NULL;
+ gchar* _tmp7_ = NULL;
+ gchar* _tmp8_ = NULL;
+ gboolean _tmp9_ = FALSE;
#line 111 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = aresult;
#line 111 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -7558,7 +7594,7 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo
_tmp2_ = _tmp4_;
#line 111 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7556 "DirectoryMonitor.c"
+#line 7592 "DirectoryMonitor.c"
goto __catch483_g_error;
}
#line 111 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -7569,31 +7605,62 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo
_g_object_unref0 (self->info);
#line 111 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->info = _tmp5_;
+#line 112 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp6_ = self->info;
+#line 112 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp7_ = get_file_info_id (_tmp6_);
+#line 112 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp8_ = _tmp7_;
+#line 112 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp9_ = _tmp8_ == NULL;
+#line 112 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_free0 (_tmp8_);
+#line 112 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (_tmp9_) {
+#line 7615 "DirectoryMonitor.c"
+ GFileInfo* _tmp10_ = NULL;
+ GFile* _tmp11_ = NULL;
+ gchar* _tmp12_ = NULL;
+ gchar* _tmp13_ = NULL;
+#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp10_ = self->info;
+#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp11_ = self->file;
+#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp12_ = g_file_get_uri (_tmp11_);
+#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp13_ = _tmp12_;
+#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_file_info_set_attribute_string (_tmp10_, G_FILE_ATTRIBUTE_ID_FILE, _tmp13_);
+#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_free0 (_tmp13_);
+#line 7632 "DirectoryMonitor.c"
+ }
#line 110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp2_);
-#line 7569 "DirectoryMonitor.c"
+#line 7636 "DirectoryMonitor.c"
}
goto __finally483;
__catch483_g_error:
{
GError* err = NULL;
- GError* _tmp6_ = NULL;
- GError* _tmp7_ = NULL;
+ GError* _tmp14_ = NULL;
+ GError* _tmp15_ = NULL;
#line 110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
err = _inner_error_;
#line 110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_inner_error_ = NULL;
-#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp6_ = err;
-#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp7_ = _g_error_copy0 (_tmp6_);
-#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp14_ = err;
+#line 117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp15_ = _g_error_copy0 (_tmp14_);
+#line 117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_error_free0 (self->err);
-#line 113 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- self->err = _tmp7_;
+#line 117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ self->err = _tmp15_;
#line 110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_error_free0 (err);
-#line 7591 "DirectoryMonitor.c"
+#line 7658 "DirectoryMonitor.c"
}
__finally483:
#line 110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -7606,24 +7673,24 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo
g_clear_error (&_inner_error_);
#line 110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return;
-#line 7604 "DirectoryMonitor.c"
+#line 7671 "DirectoryMonitor.c"
}
-#line 117 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 121 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->completed = TRUE;
-#line 120 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp8_ = self->owner;
-#line 120 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- directory_monitor_process_query_queue (_tmp8_, self);
+#line 124 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp16_ = self->owner;
+#line 124 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ directory_monitor_process_query_queue (_tmp16_, self);
#line 106 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (source_file);
-#line 7614 "DirectoryMonitor.c"
+#line 7681 "DirectoryMonitor.c"
}
static void directory_monitor_value_query_info_queue_element_init (GValue* value) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = NULL;
-#line 7621 "DirectoryMonitor.c"
+#line 7688 "DirectoryMonitor.c"
}
@@ -7632,7 +7699,7 @@ static void directory_monitor_value_query_info_queue_element_free_value (GValue*
if (value->data[0].v_pointer) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_query_info_queue_element_unref (value->data[0].v_pointer);
-#line 7630 "DirectoryMonitor.c"
+#line 7697 "DirectoryMonitor.c"
}
}
@@ -7642,11 +7709,11 @@ static void directory_monitor_value_query_info_queue_element_copy_value (const G
if (src_value->data[0].v_pointer) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
dest_value->data[0].v_pointer = directory_monitor_query_info_queue_element_ref (src_value->data[0].v_pointer);
-#line 7640 "DirectoryMonitor.c"
+#line 7707 "DirectoryMonitor.c"
} else {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
dest_value->data[0].v_pointer = NULL;
-#line 7644 "DirectoryMonitor.c"
+#line 7711 "DirectoryMonitor.c"
}
}
@@ -7654,37 +7721,37 @@ static void directory_monitor_value_query_info_queue_element_copy_value (const G
static gpointer directory_monitor_value_query_info_queue_element_peek_pointer (const GValue* value) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return value->data[0].v_pointer;
-#line 7652 "DirectoryMonitor.c"
+#line 7719 "DirectoryMonitor.c"
}
static gchar* directory_monitor_value_query_info_queue_element_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (collect_values[0].v_pointer) {
-#line 7659 "DirectoryMonitor.c"
+#line 7726 "DirectoryMonitor.c"
DirectoryMonitorQueryInfoQueueElement* object;
object = collect_values[0].v_pointer;
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (object->parent_instance.g_class == NULL) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 7666 "DirectoryMonitor.c"
+#line 7733 "DirectoryMonitor.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 7670 "DirectoryMonitor.c"
+#line 7737 "DirectoryMonitor.c"
}
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = directory_monitor_query_info_queue_element_ref (object);
-#line 7674 "DirectoryMonitor.c"
+#line 7741 "DirectoryMonitor.c"
} else {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = NULL;
-#line 7678 "DirectoryMonitor.c"
+#line 7745 "DirectoryMonitor.c"
}
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return NULL;
-#line 7682 "DirectoryMonitor.c"
+#line 7749 "DirectoryMonitor.c"
}
@@ -7695,25 +7762,25 @@ static gchar* directory_monitor_value_query_info_queue_element_lcopy_value (cons
if (!object_p) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 7693 "DirectoryMonitor.c"
+#line 7760 "DirectoryMonitor.c"
}
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!value->data[0].v_pointer) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*object_p = NULL;
-#line 7699 "DirectoryMonitor.c"
+#line 7766 "DirectoryMonitor.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*object_p = value->data[0].v_pointer;
-#line 7703 "DirectoryMonitor.c"
+#line 7770 "DirectoryMonitor.c"
} else {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*object_p = directory_monitor_query_info_queue_element_ref (value->data[0].v_pointer);
-#line 7707 "DirectoryMonitor.c"
+#line 7774 "DirectoryMonitor.c"
}
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return NULL;
-#line 7711 "DirectoryMonitor.c"
+#line 7778 "DirectoryMonitor.c"
}
@@ -7727,7 +7794,7 @@ static GParamSpec* directory_monitor_param_spec_query_info_queue_element (const
G_PARAM_SPEC (spec)->value_type = object_type;
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return G_PARAM_SPEC (spec);
-#line 7725 "DirectoryMonitor.c"
+#line 7792 "DirectoryMonitor.c"
}
@@ -7736,7 +7803,7 @@ static gpointer directory_monitor_value_get_query_info_queue_element (const GVal
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, DIRECTORY_MONITOR_TYPE_QUERY_INFO_QUEUE_ELEMENT), NULL);
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return value->data[0].v_pointer;
-#line 7734 "DirectoryMonitor.c"
+#line 7801 "DirectoryMonitor.c"
}
@@ -7756,17 +7823,17 @@ static void directory_monitor_value_set_query_info_queue_element (GValue* value,
value->data[0].v_pointer = v_object;
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_query_info_queue_element_ref (value->data[0].v_pointer);
-#line 7754 "DirectoryMonitor.c"
+#line 7821 "DirectoryMonitor.c"
} else {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = NULL;
-#line 7758 "DirectoryMonitor.c"
+#line 7825 "DirectoryMonitor.c"
}
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (old) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_query_info_queue_element_unref (old);
-#line 7764 "DirectoryMonitor.c"
+#line 7831 "DirectoryMonitor.c"
}
}
@@ -7785,17 +7852,17 @@ static void directory_monitor_value_take_query_info_queue_element (GValue* value
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = v_object;
-#line 7783 "DirectoryMonitor.c"
+#line 7850 "DirectoryMonitor.c"
} else {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = NULL;
-#line 7787 "DirectoryMonitor.c"
+#line 7854 "DirectoryMonitor.c"
}
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (old) {
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_query_info_queue_element_unref (old);
-#line 7793 "DirectoryMonitor.c"
+#line 7860 "DirectoryMonitor.c"
}
}
@@ -7805,7 +7872,7 @@ static void directory_monitor_query_info_queue_element_class_init (DirectoryMoni
directory_monitor_query_info_queue_element_parent_class = g_type_class_peek_parent (klass);
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
((DirectoryMonitorQueryInfoQueueElementClass *) klass)->finalize = directory_monitor_query_info_queue_element_finalize;
-#line 7803 "DirectoryMonitor.c"
+#line 7870 "DirectoryMonitor.c"
}
@@ -7818,7 +7885,7 @@ static void directory_monitor_query_info_queue_element_instance_init (DirectoryM
self->completed = FALSE;
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->ref_count = 1;
-#line 7816 "DirectoryMonitor.c"
+#line 7883 "DirectoryMonitor.c"
}
@@ -7838,7 +7905,7 @@ static void directory_monitor_query_info_queue_element_finalize (DirectoryMonito
_g_object_unref0 (self->info);
#line 93 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_error_free0 (self->err);
-#line 7836 "DirectoryMonitor.c"
+#line 7903 "DirectoryMonitor.c"
}
@@ -7863,7 +7930,7 @@ static gpointer directory_monitor_query_info_queue_element_ref (gpointer instanc
g_atomic_int_inc (&self->ref_count);
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return instance;
-#line 7861 "DirectoryMonitor.c"
+#line 7928 "DirectoryMonitor.c"
}
@@ -7876,25 +7943,25 @@ static void directory_monitor_query_info_queue_element_unref (gpointer instance)
DIRECTORY_MONITOR_QUERY_INFO_QUEUE_ELEMENT_GET_CLASS (self)->finalize (self);
#line 83 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 7874 "DirectoryMonitor.c"
+#line 7941 "DirectoryMonitor.c"
}
}
static DirectoryMonitorFileInfoMap* directory_monitor_file_info_map_construct (GType object_type) {
DirectoryMonitorFileInfoMap* self = NULL;
-#line 134 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 138 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self = (DirectoryMonitorFileInfoMap*) g_type_create_instance (object_type);
-#line 134 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 138 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return self;
-#line 7885 "DirectoryMonitor.c"
+#line 7952 "DirectoryMonitor.c"
}
static DirectoryMonitorFileInfoMap* directory_monitor_file_info_map_new (void) {
-#line 134 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 138 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return directory_monitor_file_info_map_construct (DIRECTORY_MONITOR_TYPE_FILE_INFO_MAP);
-#line 7892 "DirectoryMonitor.c"
+#line 7959 "DirectoryMonitor.c"
}
@@ -7919,198 +7986,198 @@ static gboolean directory_monitor_file_info_map_normalize_file (DirectoryMonitor
GFile* _tmp15_ = NULL;
GFile* _tmp16_ = NULL;
GFile* _tmp19_ = NULL;
-#line 137 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self), FALSE);
-#line 137 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), FALSE);
-#line 137 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail ((info == NULL) || G_IS_FILE_INFO (info), FALSE);
-#line 140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 144 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = info;
-#line 140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 144 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 140 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 144 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
local_info = _tmp1_;
-#line 141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 145 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = local_info;
-#line 141 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 145 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp2_ == NULL) {
-#line 7933 "DirectoryMonitor.c"
+#line 8000 "DirectoryMonitor.c"
GeeHashMap* _tmp3_ = NULL;
GFile* _tmp4_ = NULL;
gpointer _tmp5_ = NULL;
GFileInfo* _tmp6_ = NULL;
-#line 142 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 146 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = self->priv->map;
-#line 142 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 146 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = file;
-#line 142 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 146 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp4_);
-#line 142 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 146 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (local_info);
-#line 142 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 146 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
local_info = (GFileInfo*) _tmp5_;
-#line 143 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = local_info;
-#line 143 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp6_ == NULL) {
-#line 144 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 148 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_normalized);
-#line 144 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 148 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_normalized = NULL;
-#line 145 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 149 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_vala_id);
-#line 145 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 149 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_id = NULL;
-#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (local_info);
-#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (normalized) {
-#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*normalized = _vala_normalized;
-#line 7968 "DirectoryMonitor.c"
+#line 8035 "DirectoryMonitor.c"
} else {
-#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_normalized);
-#line 7972 "DirectoryMonitor.c"
+#line 8039 "DirectoryMonitor.c"
}
-#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (id) {
-#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*id = _vala_id;
-#line 7978 "DirectoryMonitor.c"
+#line 8045 "DirectoryMonitor.c"
} else {
-#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_vala_id);
-#line 7982 "DirectoryMonitor.c"
+#line 8049 "DirectoryMonitor.c"
}
-#line 147 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 7986 "DirectoryMonitor.c"
+#line 8053 "DirectoryMonitor.c"
}
}
-#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 155 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = local_info;
-#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 155 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = get_file_info_id (_tmp7_);
-#line 151 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 155 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
file_id = _tmp8_;
-#line 152 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = file_id;
-#line 152 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp9_ == NULL) {
-#line 153 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 157 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_normalized);
-#line 153 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 157 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_normalized = NULL;
-#line 154 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 158 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_vala_id);
-#line 154 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 158 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_id = NULL;
-#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 160 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 160 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (file_id);
-#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 160 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (local_info);
-#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 160 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (normalized) {
-#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 160 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*normalized = _vala_normalized;
-#line 8017 "DirectoryMonitor.c"
+#line 8084 "DirectoryMonitor.c"
} else {
-#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 160 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_normalized);
-#line 8021 "DirectoryMonitor.c"
+#line 8088 "DirectoryMonitor.c"
}
-#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 160 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (id) {
-#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 160 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*id = _vala_id;
-#line 8027 "DirectoryMonitor.c"
+#line 8094 "DirectoryMonitor.c"
} else {
-#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 160 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_vala_id);
-#line 8031 "DirectoryMonitor.c"
+#line 8098 "DirectoryMonitor.c"
}
-#line 156 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 160 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8035 "DirectoryMonitor.c"
+#line 8102 "DirectoryMonitor.c"
}
-#line 159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = self->priv->id_map;
-#line 159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = file_id;
-#line 159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp11_);
-#line 159 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 163 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
known_file = (GFile*) _tmp12_;
-#line 161 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = file_id;
-#line 161 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = g_strdup ((const gchar*) _tmp13_);
-#line 161 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_vala_id);
-#line 161 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 165 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_id = _tmp14_;
-#line 162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = known_file;
-#line 162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp16_ != NULL) {
-#line 8057 "DirectoryMonitor.c"
+#line 8124 "DirectoryMonitor.c"
GFile* _tmp17_ = NULL;
-#line 162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = known_file;
-#line 162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = _tmp17_;
-#line 8063 "DirectoryMonitor.c"
+#line 8130 "DirectoryMonitor.c"
} else {
GFile* _tmp18_ = NULL;
-#line 162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = file;
-#line 162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = _tmp18_;
-#line 8070 "DirectoryMonitor.c"
+#line 8137 "DirectoryMonitor.c"
}
-#line 162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = _g_object_ref0 (_tmp15_);
-#line 162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_normalized);
-#line 162 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 166 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_normalized = _tmp19_;
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = TRUE;
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (known_file);
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (file_id);
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (local_info);
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (normalized) {
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*normalized = _vala_normalized;
-#line 8090 "DirectoryMonitor.c"
+#line 8157 "DirectoryMonitor.c"
} else {
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_vala_normalized);
-#line 8094 "DirectoryMonitor.c"
+#line 8161 "DirectoryMonitor.c"
}
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (id) {
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*id = _vala_id;
-#line 8100 "DirectoryMonitor.c"
+#line 8167 "DirectoryMonitor.c"
} else {
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_vala_id);
-#line 8104 "DirectoryMonitor.c"
+#line 8171 "DirectoryMonitor.c"
}
-#line 164 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 168 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8108 "DirectoryMonitor.c"
+#line 8175 "DirectoryMonitor.c"
}
@@ -8137,145 +8204,145 @@ static gboolean directory_monitor_file_info_map_update (DirectoryMonitorFileInfo
GeeHashMap* _tmp26_ = NULL;
const gchar* _tmp27_ = NULL;
GFile* _tmp28_ = NULL;
-#line 167 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self), FALSE);
-#line 167 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), FALSE);
-#line 167 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE_INFO (info), FALSE);
-#line 169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 173 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->map;
-#line 169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 173 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = file;
-#line 169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 173 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_);
-#line 169 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 173 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp2_) {
-#line 8149 "DirectoryMonitor.c"
+#line 8216 "DirectoryMonitor.c"
gboolean removed = FALSE;
GeeHashMap* _tmp3_ = NULL;
GFile* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
-#line 170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 174 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = self->priv->map;
-#line 170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 174 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = file;
-#line 170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 174 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp4_, NULL);
-#line 170 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 174 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
removed = _tmp5_;
-#line 171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 175 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = removed;
-#line 171 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 175 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp6_, "removed");
-#line 8167 "DirectoryMonitor.c"
+#line 8234 "DirectoryMonitor.c"
}
-#line 175 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = info;
-#line 175 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = get_file_info_id (_tmp7_);
-#line 175 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 179 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
existing_id = _tmp8_;
-#line 176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = existing_id;
-#line 176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp10_ != NULL) {
-#line 8179 "DirectoryMonitor.c"
+#line 8246 "DirectoryMonitor.c"
GeeHashMap* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
-#line 176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = self->priv->id_map;
-#line 176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = existing_id;
-#line 176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp12_);
-#line 176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = _tmp13_;
-#line 8191 "DirectoryMonitor.c"
+#line 8258 "DirectoryMonitor.c"
} else {
-#line 176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = FALSE;
-#line 8195 "DirectoryMonitor.c"
+#line 8262 "DirectoryMonitor.c"
}
-#line 176 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 180 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp9_) {
-#line 8199 "DirectoryMonitor.c"
+#line 8266 "DirectoryMonitor.c"
gboolean removed = FALSE;
GeeHashMap* _tmp14_ = NULL;
const gchar* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
gboolean _tmp17_ = FALSE;
-#line 177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 181 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = self->priv->id_map;
-#line 177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 181 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = existing_id;
-#line 177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 181 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp15_, NULL);
-#line 177 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 181 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
removed = _tmp16_;
-#line 178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 182 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = removed;
-#line 178 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 182 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp17_, "removed");
-#line 8217 "DirectoryMonitor.c"
+#line 8284 "DirectoryMonitor.c"
}
-#line 183 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = file;
-#line 183 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = info;
-#line 183 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp22_ = directory_monitor_file_info_map_normalize_file (self, _tmp18_, _tmp19_, &_tmp20_, &_tmp21_);
-#line 183 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 183 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
normalized = _tmp20_;
-#line 183 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 183 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
id = _tmp21_;
-#line 183 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp22_) {
-#line 184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 188 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 188 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 188 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 188 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (existing_id);
-#line 184 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 188 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8245 "DirectoryMonitor.c"
+#line 8312 "DirectoryMonitor.c"
}
-#line 186 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 190 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp23_ = self->priv->map;
-#line 186 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 190 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp24_ = normalized;
-#line 186 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 190 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp25_ = info;
-#line 186 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 190 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp24_, _tmp25_);
-#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp26_ = self->priv->id_map;
-#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp27_ = id;
-#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp28_ = normalized;
-#line 187 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 191 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp27_, _tmp28_);
-#line 189 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 193 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = TRUE;
-#line 189 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 193 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 189 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 193 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 189 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 193 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (existing_id);
-#line 189 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 193 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8273 "DirectoryMonitor.c"
+#line 8340 "DirectoryMonitor.c"
}
@@ -8292,114 +8359,114 @@ static gboolean directory_monitor_file_info_map_remove (DirectoryMonitorFileInfo
GFile* _tmp6_ = NULL;
GeeHashMap* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
-#line 192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self), FALSE);
-#line 192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), FALSE);
-#line 192 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail ((info == NULL) || G_IS_FILE_INFO (info), FALSE);
-#line 195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = info;
-#line 195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = directory_monitor_file_info_map_normalize_file (self, _tmp0_, _tmp1_, &_tmp2_, &_tmp3_);
-#line 195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
normalized = _tmp2_;
-#line 195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
id = _tmp3_;
-#line 195 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp4_) {
-#line 196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 200 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 200 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 200 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 196 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 200 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8320 "DirectoryMonitor.c"
+#line 8387 "DirectoryMonitor.c"
}
-#line 198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = self->priv->map;
-#line 198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = normalized;
-#line 198 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 202 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp6_, NULL);
-#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 203 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = self->priv->id_map;
-#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 203 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = id;
-#line 199 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 203 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp8_, NULL);
-#line 201 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 205 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = TRUE;
-#line 201 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 205 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 201 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 205 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 201 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 205 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8342 "DirectoryMonitor.c"
+#line 8409 "DirectoryMonitor.c"
}
static void directory_monitor_file_info_map_remove_all (DirectoryMonitorFileInfoMap* self, GeeCollection* files) {
-#line 206 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 210 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self));
-#line 206 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 210 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (GEE_IS_COLLECTION (files));
-#line 8351 "DirectoryMonitor.c"
+#line 8418 "DirectoryMonitor.c"
{
GeeIterator* _file_it = NULL;
GeeCollection* _tmp0_ = NULL;
GeeIterator* _tmp1_ = NULL;
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = files;
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_file_it = _tmp1_;
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 8364 "DirectoryMonitor.c"
+#line 8431 "DirectoryMonitor.c"
GeeIterator* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
GFile* file = NULL;
GeeIterator* _tmp4_ = NULL;
gpointer _tmp5_ = NULL;
GFile* _tmp6_ = NULL;
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _file_it;
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = gee_iterator_next (_tmp2_);
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp3_) {
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 8379 "DirectoryMonitor.c"
+#line 8446 "DirectoryMonitor.c"
}
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = _file_it;
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = gee_iterator_get (_tmp4_);
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
file = (GFile*) _tmp5_;
-#line 208 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 212 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = file;
-#line 208 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 212 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_remove (self, _tmp6_, NULL);
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (file);
-#line 8393 "DirectoryMonitor.c"
+#line 8460 "DirectoryMonitor.c"
}
-#line 207 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_file_it);
-#line 8397 "DirectoryMonitor.c"
+#line 8464 "DirectoryMonitor.c"
}
}
@@ -8416,53 +8483,53 @@ static gboolean directory_monitor_file_info_map_contains (DirectoryMonitorFileIn
GeeHashMap* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 215 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self), FALSE);
-#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 215 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), FALSE);
-#line 211 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 215 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail ((info == NULL) || G_IS_FILE_INFO (info), FALSE);
-#line 214 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 214 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = info;
-#line 214 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = directory_monitor_file_info_map_normalize_file (self, _tmp0_, _tmp1_, &_tmp2_, &_tmp3_);
-#line 214 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 214 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
normalized = _tmp2_;
-#line 214 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 214 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
id = _tmp3_;
-#line 214 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 218 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp4_) {
-#line 215 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 219 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = FALSE;
-#line 215 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 219 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 215 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 219 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 215 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 219 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8444 "DirectoryMonitor.c"
+#line 8511 "DirectoryMonitor.c"
}
-#line 217 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 221 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = self->priv->id_map;
-#line 217 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 221 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = id;
-#line 217 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 221 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp6_);
-#line 217 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 221 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = _tmp7_;
-#line 217 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 221 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 217 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 221 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 217 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 221 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8460 "DirectoryMonitor.c"
+#line 8527 "DirectoryMonitor.c"
}
@@ -8475,60 +8542,60 @@ static gchar* directory_monitor_file_info_map_get_id (DirectoryMonitorFileInfoMa
GFile* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 220 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 224 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self), NULL);
-#line 220 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 224 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), NULL);
-#line 220 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 224 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail ((info == NULL) || G_IS_FILE_INFO (info), NULL);
-#line 222 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 226 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = info;
-#line 222 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 226 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp0_ != NULL) {
-#line 8483 "DirectoryMonitor.c"
+#line 8550 "DirectoryMonitor.c"
GFileInfo* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 223 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = info;
-#line 223 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = get_file_info_id (_tmp1_);
-#line 223 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = _tmp2_;
-#line 223 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8494 "DirectoryMonitor.c"
+#line 8561 "DirectoryMonitor.c"
}
-#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 231 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = file;
-#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 231 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = directory_monitor_file_info_map_normalize_file (self, _tmp3_, NULL, &_tmp4_, &_tmp5_);
-#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 231 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 231 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
normalized = _tmp4_;
-#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 231 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 231 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
id = _tmp5_;
-#line 227 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 231 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp6_) {
-#line 228 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 232 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = NULL;
-#line 228 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 232 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 228 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 232 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 228 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 232 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8518 "DirectoryMonitor.c"
+#line 8585 "DirectoryMonitor.c"
}
-#line 230 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 234 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = id;
-#line 230 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 234 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 230 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 234 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8526 "DirectoryMonitor.c"
+#line 8593 "DirectoryMonitor.c"
}
@@ -8537,19 +8604,19 @@ static GeeCollection* directory_monitor_file_info_map_get_all (DirectoryMonitorF
GeeHashMap* _tmp0_ = NULL;
GeeSet* _tmp1_ = NULL;
GeeSet* _tmp2_ = NULL;
-#line 233 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 237 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self), NULL);
-#line 234 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 238 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->map;
-#line 234 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 238 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
-#line 234 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 238 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 234 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 238 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 234 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 238 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8547 "DirectoryMonitor.c"
+#line 8614 "DirectoryMonitor.c"
}
@@ -8569,71 +8636,71 @@ static GFileInfo* directory_monitor_file_info_map_get_info (DirectoryMonitorFile
GeeHashMap* _tmp8_ = NULL;
GFile* _tmp9_ = NULL;
gpointer _tmp10_ = NULL;
-#line 237 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 241 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self), NULL);
-#line 237 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 241 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), NULL);
-#line 239 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 243 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->map;
-#line 239 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 243 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = file;
-#line 239 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 243 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_);
-#line 239 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 243 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
info = (GFileInfo*) _tmp2_;
-#line 240 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 244 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = info;
-#line 240 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 244 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp3_ != NULL) {
-#line 241 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = info;
-#line 241 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8587 "DirectoryMonitor.c"
+#line 8654 "DirectoryMonitor.c"
}
-#line 245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = file;
-#line 245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = directory_monitor_file_info_map_normalize_file (self, _tmp4_, NULL, &_tmp5_, &_tmp6_);
-#line 245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
normalized = _tmp5_;
-#line 245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
id = _tmp6_;
-#line 245 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 249 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp7_) {
-#line 246 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 250 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = NULL;
-#line 246 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 250 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 246 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 250 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 246 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 250 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 246 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 250 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8613 "DirectoryMonitor.c"
+#line 8680 "DirectoryMonitor.c"
}
-#line 248 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = self->priv->map;
-#line 248 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = normalized;
-#line 248 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp9_);
-#line 248 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = (GFileInfo*) _tmp10_;
-#line 248 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 248 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 248 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 248 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8631 "DirectoryMonitor.c"
+#line 8698 "DirectoryMonitor.c"
}
@@ -8651,35 +8718,35 @@ static GFileInfo* directory_monitor_file_info_map_query_info (DirectoryMonitorFi
gchar* _tmp17_ = NULL;
const gchar* _tmp18_ = NULL;
GFile* normalized = NULL;
- GeeHashMap* _tmp19_ = NULL;
- const gchar* _tmp20_ = NULL;
- gpointer _tmp21_ = NULL;
- GFile* _tmp22_ = NULL;
GeeHashMap* _tmp23_ = NULL;
- GFile* _tmp24_ = NULL;
+ const gchar* _tmp24_ = NULL;
gpointer _tmp25_ = NULL;
+ GFile* _tmp26_ = NULL;
+ GeeHashMap* _tmp27_ = NULL;
+ GFile* _tmp28_ = NULL;
+ gpointer _tmp29_ = NULL;
GError * _inner_error_ = NULL;
-#line 251 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 255 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self), NULL);
-#line 251 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 255 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (file), NULL);
-#line 251 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 255 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail ((cancellable == NULL) || G_IS_CANCELLABLE (cancellable), NULL);
-#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 256 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = file;
-#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 256 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = directory_monitor_file_info_map_get_info (self, _tmp0_);
-#line 252 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 256 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
info = _tmp1_;
-#line 253 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 257 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = info;
-#line 253 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 257 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp2_ != NULL) {
-#line 254 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = info;
-#line 254 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8677 "DirectoryMonitor.c"
+#line 8744 "DirectoryMonitor.c"
}
{
GFileInfo* _tmp3_ = NULL;
@@ -8687,30 +8754,30 @@ static GFileInfo* directory_monitor_file_info_map_query_info (DirectoryMonitorFi
GCancellable* _tmp5_ = NULL;
GFileInfo* _tmp6_ = NULL;
GFileInfo* _tmp7_ = NULL;
-#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = file;
-#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = cancellable;
-#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = g_file_query_info (_tmp4_, G_FILE_ATTRIBUTE_ID_FILE, DIRECTORY_MONITOR_UNKNOWN_INFO_FLAGS, _tmp5_, &_inner_error_);
-#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = _tmp6_;
-#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8695 "DirectoryMonitor.c"
+#line 8762 "DirectoryMonitor.c"
goto __catch484_g_error;
}
-#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = _tmp3_;
-#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = NULL;
-#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
info = _tmp7_;
-#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 262 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp3_);
-#line 8708 "DirectoryMonitor.c"
+#line 8775 "DirectoryMonitor.c"
}
goto __finally484;
__catch484_g_error:
@@ -8721,124 +8788,133 @@ static GFileInfo* directory_monitor_file_info_map_query_info (DirectoryMonitorFi
gchar* _tmp10_ = NULL;
GError* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
-#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 262 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
err = _inner_error_;
-#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 262 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_inner_error_ = NULL;
-#line 261 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 265 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = file;
-#line 261 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 265 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = g_file_get_path (_tmp8_);
-#line 261 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 265 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = _tmp9_;
-#line 261 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 265 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = err;
-#line 261 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 265 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = _tmp11_->message;
-#line 261 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_warning ("DirectoryMonitor.vala:261: Unable to query file ID of %s: %s", _tmp10_, _tmp12_);
-#line 261 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 265 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ g_warning ("DirectoryMonitor.vala:265: Unable to query file ID of %s: %s", _tmp10_, _tmp12_);
+#line 265 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp10_);
-#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 267 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = NULL;
-#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 267 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_error_free0 (err);
-#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 267 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 263 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 267 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8745 "DirectoryMonitor.c"
+#line 8812 "DirectoryMonitor.c"
}
__finally484:
-#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 262 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 262 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 262 "/home/jens/Source/shotwell/src/DirectoryMonitor.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 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 262 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_clear_error (&_inner_error_);
-#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 262 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return NULL;
-#line 8758 "DirectoryMonitor.c"
+#line 8825 "DirectoryMonitor.c"
}
-#line 266 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 270 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = info;
-#line 266 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp14_ = directory_monitor_is_file_symlink_supported (_tmp13_);
-#line 266 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (!_tmp14_) {
-#line 267 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- result = NULL;
-#line 267 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (info);
-#line 267 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- return result;
-#line 8772 "DirectoryMonitor.c"
- }
-#line 269 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp15_ = info;
-#line 269 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp16_ = g_file_info_get_attribute_string (_tmp15_, G_FILE_ATTRIBUTE_ID_FILE);
-#line 269 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp17_ = g_strdup (_tmp16_);
-#line 269 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- id = _tmp17_;
#line 270 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp18_ = id;
+ _tmp14_ = directory_monitor_is_file_symlink_supported (_tmp13_);
#line 270 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_tmp18_ == NULL) {
+ if (!_tmp14_) {
#line 271 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = NULL;
#line 271 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_free0 (id);
-#line 271 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
#line 271 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8794 "DirectoryMonitor.c"
+#line 8839 "DirectoryMonitor.c"
}
#line 273 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp19_ = self->priv->id_map;
+ _tmp15_ = info;
#line 273 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp20_ = id;
+ _tmp16_ = g_file_info_get_attribute_string (_tmp15_, G_FILE_ATTRIBUTE_ID_FILE);
#line 273 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp21_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp20_);
+ _tmp17_ = g_strdup (_tmp16_);
#line 273 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- normalized = (GFile*) _tmp21_;
+ id = _tmp17_;
#line 274 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp22_ = normalized;
+ _tmp18_ = id;
#line 274 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- if (_tmp22_ == NULL) {
+ if (_tmp18_ == NULL) {
+#line 8853 "DirectoryMonitor.c"
+ GFileInfo* _tmp19_ = NULL;
+ GFile* _tmp20_ = NULL;
+ gchar* _tmp21_ = NULL;
+ gchar* _tmp22_ = NULL;
#line 275 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- result = NULL;
+ _tmp19_ = info;
#line 275 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (normalized);
+ _tmp20_ = file;
#line 275 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_free0 (id);
+ _tmp21_ = g_file_get_uri (_tmp20_);
#line 275 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _g_object_unref0 (info);
+ _tmp22_ = _tmp21_;
#line 275 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- return result;
-#line 8818 "DirectoryMonitor.c"
+ g_file_info_set_attribute_string (_tmp19_, G_FILE_ATTRIBUTE_ID_FILE, _tmp22_);
+#line 275 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_free0 (_tmp22_);
+#line 8870 "DirectoryMonitor.c"
}
-#line 277 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp23_ = self->priv->map;
-#line 277 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp24_ = file;
-#line 277 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 279 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp23_ = self->priv->id_map;
+#line 279 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp24_ = id;
+#line 279 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp25_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp24_);
-#line 277 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- result = (GFileInfo*) _tmp25_;
-#line 277 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 279 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ normalized = (GFile*) _tmp25_;
+#line 280 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp26_ = normalized;
+#line 280 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ if (_tmp26_ == NULL) {
+#line 281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ result = NULL;
+#line 281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_object_unref0 (normalized);
+#line 281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_free0 (id);
+#line 281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _g_object_unref0 (info);
+#line 281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ return result;
+#line 8894 "DirectoryMonitor.c"
+ }
+#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp27_ = self->priv->map;
+#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp28_ = file;
+#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ _tmp29_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp28_);
+#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+ result = (GFileInfo*) _tmp29_;
+#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (normalized);
-#line 277 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (id);
-#line 277 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 277 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8836 "DirectoryMonitor.c"
+#line 8912 "DirectoryMonitor.c"
}
@@ -8854,41 +8930,41 @@ static GFile* directory_monitor_file_info_map_find_match (DirectoryMonitorFileIn
GTimeVal match_time = {0};
GFileInfo* _tmp5_ = NULL;
GTimeVal _tmp6_ = {0};
-#line 280 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 286 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self), NULL);
-#line 280 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 286 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE_INFO (match), NULL);
-#line 281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 287 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = match;
-#line 281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 287 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = get_file_info_id (_tmp0_);
-#line 281 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 287 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
match_id = _tmp1_;
-#line 282 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 288 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = match_id;
-#line 282 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 288 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp2_ == NULL) {
-#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = NULL;
-#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (match_id);
-#line 283 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8872 "DirectoryMonitor.c"
+#line 8948 "DirectoryMonitor.c"
}
-#line 286 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 292 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = match;
-#line 286 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 292 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = g_file_info_get_size (_tmp3_);
-#line 286 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 292 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
match_size = _tmp4_;
-#line 287 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = match;
-#line 287 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_file_info_get_modification_time (_tmp5_, &_tmp6_);
-#line 287 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
match_time = _tmp6_;
-#line 8886 "DirectoryMonitor.c"
+#line 8962 "DirectoryMonitor.c"
{
GeeIterator* _file_it = NULL;
GeeHashMap* _tmp7_ = NULL;
@@ -8897,25 +8973,25 @@ static GFile* directory_monitor_file_info_map_find_match (DirectoryMonitorFileIn
GeeSet* _tmp10_ = NULL;
GeeIterator* _tmp11_ = NULL;
GeeIterator* _tmp12_ = NULL;
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = self->priv->map;
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = _tmp8_;
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = _tmp9_;
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = _tmp11_;
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp10_);
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_file_it = _tmp12_;
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 8913 "DirectoryMonitor.c"
+#line 8989 "DirectoryMonitor.c"
GeeIterator* _tmp13_ = NULL;
gboolean _tmp14_ = FALSE;
GFile* file = NULL;
@@ -8940,134 +9016,134 @@ static GFile* directory_monitor_file_info_map_find_match (DirectoryMonitorFileIn
glong _tmp31_ = 0L;
GTimeVal _tmp32_ = {0};
glong _tmp33_ = 0L;
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = _file_it;
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = gee_iterator_next (_tmp13_);
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp14_) {
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 8946 "DirectoryMonitor.c"
+#line 9022 "DirectoryMonitor.c"
}
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = _file_it;
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = gee_iterator_get (_tmp15_);
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
file = (GFile*) _tmp16_;
-#line 290 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 296 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = self->priv->map;
-#line 290 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 296 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = file;
-#line 290 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 296 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp18_);
-#line 290 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 296 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
info = (GFileInfo*) _tmp19_;
-#line 293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 299 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp20_ = info;
-#line 293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 299 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp21_ = get_file_info_id (_tmp20_);
-#line 293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 299 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp22_ = _tmp21_;
-#line 293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 299 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp23_ = match_id;
-#line 293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 299 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp24_ = g_strcmp0 (_tmp22_, _tmp23_) == 0;
-#line 293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 299 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (_tmp22_);
-#line 293 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 299 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp24_) {
-#line 294 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = file;
-#line 294 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 294 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_file_it);
-#line 294 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (match_id);
-#line 294 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 8986 "DirectoryMonitor.c"
+#line 9062 "DirectoryMonitor.c"
}
-#line 297 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 303 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp25_ = match_size;
-#line 297 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 303 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp26_ = info;
-#line 297 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 303 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp27_ = g_file_info_get_size (_tmp26_);
-#line 297 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 303 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp25_ != _tmp27_) {
-#line 298 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 304 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 298 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 304 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (file);
-#line 298 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 304 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 9002 "DirectoryMonitor.c"
+#line 9078 "DirectoryMonitor.c"
}
-#line 300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 306 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp28_ = info;
-#line 300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 306 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_file_info_get_modification_time (_tmp28_, &_tmp29_);
-#line 300 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 306 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
time = _tmp29_;
-#line 302 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp30_ = time;
-#line 302 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp31_ = _tmp30_.tv_sec;
-#line 302 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp32_ = match_time;
-#line 302 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp33_ = _tmp32_.tv_sec;
-#line 302 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp31_ != _tmp33_) {
-#line 303 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 309 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 303 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 309 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (file);
-#line 303 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 309 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 9026 "DirectoryMonitor.c"
+#line 9102 "DirectoryMonitor.c"
}
-#line 305 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 311 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = file;
-#line 305 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 311 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (info);
-#line 305 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 311 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_file_it);
-#line 305 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 311 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (match_id);
-#line 305 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 311 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 9038 "DirectoryMonitor.c"
+#line 9114 "DirectoryMonitor.c"
}
-#line 289 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 295 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_file_it);
-#line 9042 "DirectoryMonitor.c"
+#line 9118 "DirectoryMonitor.c"
}
-#line 308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = NULL;
-#line 308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_free0 (match_id);
-#line 308 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 9050 "DirectoryMonitor.c"
+#line 9126 "DirectoryMonitor.c"
}
static void directory_monitor_file_info_map_remove_descendents (DirectoryMonitorFileInfoMap* self, GFile* root, DirectoryMonitorFileInfoMap* descendents) {
GeeArrayList* pruned = NULL;
GeeArrayList* _tmp28_ = NULL;
-#line 311 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 317 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self));
-#line 311 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 317 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_IS_FILE (root));
-#line 311 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 317 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (descendents));
-#line 312 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 318 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
pruned = NULL;
-#line 9065 "DirectoryMonitor.c"
+#line 9141 "DirectoryMonitor.c"
{
GeeIterator* _file_it = NULL;
GeeHashMap* _tmp0_ = NULL;
@@ -9076,25 +9152,25 @@ static void directory_monitor_file_info_map_remove_descendents (DirectoryMonitor
GeeSet* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->map;
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = _tmp2_;
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = _tmp4_;
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp3_);
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_file_it = _tmp5_;
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 9092 "DirectoryMonitor.c"
+#line 9168 "DirectoryMonitor.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
GFile* file = NULL;
@@ -9103,54 +9179,54 @@ static void directory_monitor_file_info_map_remove_descendents (DirectoryMonitor
GFile* parent = NULL;
GFile* _tmp10_ = NULL;
GFile* _tmp11_ = NULL;
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = _file_it;
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = gee_iterator_next (_tmp6_);
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp7_) {
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 9109 "DirectoryMonitor.c"
+#line 9185 "DirectoryMonitor.c"
}
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = _file_it;
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = gee_iterator_get (_tmp8_);
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
file = (GFile*) _tmp9_;
-#line 314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 320 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = file;
-#line 314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 320 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = g_file_get_parent (_tmp10_);
-#line 314 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 320 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
parent = _tmp11_;
-#line 315 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 9125 "DirectoryMonitor.c"
+#line 9201 "DirectoryMonitor.c"
GFile* _tmp12_ = NULL;
GFile* _tmp13_ = NULL;
GFile* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
GFile* _tmp26_ = NULL;
GFile* _tmp27_ = NULL;
-#line 315 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = parent;
-#line 315 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!(_tmp12_ != NULL)) {
-#line 315 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 9138 "DirectoryMonitor.c"
+#line 9214 "DirectoryMonitor.c"
}
-#line 316 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 322 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = parent;
-#line 316 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 322 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = root;
-#line 316 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 322 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = g_file_equal (_tmp13_, _tmp14_);
-#line 316 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 322 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp15_) {
-#line 9148 "DirectoryMonitor.c"
+#line 9224 "DirectoryMonitor.c"
GeeArrayList* _tmp16_ = NULL;
GeeArrayList* _tmp18_ = NULL;
GFile* _tmp19_ = NULL;
@@ -9160,98 +9236,98 @@ static void directory_monitor_file_info_map_remove_descendents (DirectoryMonitor
GFile* _tmp23_ = NULL;
gpointer _tmp24_ = NULL;
GFileInfo* _tmp25_ = NULL;
-#line 317 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 323 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = pruned;
-#line 317 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 323 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp16_ == NULL) {
-#line 9162 "DirectoryMonitor.c"
+#line 9238 "DirectoryMonitor.c"
GeeArrayList* _tmp17_ = NULL;
-#line 318 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 324 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
-#line 318 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 324 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (pruned);
-#line 318 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 324 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
pruned = _tmp17_;
-#line 9170 "DirectoryMonitor.c"
+#line 9246 "DirectoryMonitor.c"
}
-#line 320 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 326 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = pruned;
-#line 320 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 326 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = file;
-#line 320 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 326 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp19_);
-#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp20_ = descendents;
-#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp21_ = file;
-#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp22_ = self->priv->map;
-#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp23_ = file;
-#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp24_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp23_);
-#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp25_ = (GFileInfo*) _tmp24_;
-#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_update (_tmp20_, _tmp21_, _tmp25_);
-#line 321 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 327 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp25_);
-#line 323 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 329 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 9196 "DirectoryMonitor.c"
+#line 9272 "DirectoryMonitor.c"
}
-#line 326 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 332 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp26_ = parent;
-#line 326 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 332 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp27_ = g_file_get_parent (_tmp26_);
-#line 326 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 332 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (parent);
-#line 326 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 332 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
parent = _tmp27_;
-#line 9206 "DirectoryMonitor.c"
+#line 9282 "DirectoryMonitor.c"
}
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (parent);
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (file);
-#line 9212 "DirectoryMonitor.c"
+#line 9288 "DirectoryMonitor.c"
}
-#line 313 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 319 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_file_it);
-#line 9216 "DirectoryMonitor.c"
+#line 9292 "DirectoryMonitor.c"
}
-#line 330 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 336 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp28_ = pruned;
-#line 330 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 336 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp28_ != NULL) {
-#line 9222 "DirectoryMonitor.c"
+#line 9298 "DirectoryMonitor.c"
GeeArrayList* _tmp29_ = NULL;
-#line 331 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 337 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp29_ = pruned;
-#line 331 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 337 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_remove_all (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 9228 "DirectoryMonitor.c"
+#line 9304 "DirectoryMonitor.c"
}
-#line 311 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 317 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (pruned);
-#line 9232 "DirectoryMonitor.c"
+#line 9308 "DirectoryMonitor.c"
}
static gint directory_monitor_file_info_map_get_children (DirectoryMonitorFileInfoMap* self, GFile* root, GeeCollection* files, GeeCollection* dirs) {
gint result = 0;
gint count = 0;
-#line 336 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 342 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (DIRECTORY_MONITOR_IS_FILE_INFO_MAP (self), 0);
-#line 336 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 342 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_IS_FILE (root), 0);
-#line 336 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 342 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (GEE_IS_COLLECTION (files), 0);
-#line 336 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 342 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (GEE_IS_COLLECTION (dirs), 0);
-#line 337 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
count = 0;
-#line 9249 "DirectoryMonitor.c"
+#line 9325 "DirectoryMonitor.c"
{
GeeIterator* _file_it = NULL;
GeeHashMap* _tmp0_ = NULL;
@@ -9260,25 +9336,25 @@ static gint directory_monitor_file_info_map_get_children (DirectoryMonitorFileIn
GeeSet* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = self->priv->map;
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = gee_abstract_map_get_keys (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = _tmp1_;
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = _tmp2_;
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = _tmp4_;
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp3_);
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_file_it = _tmp5_;
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
while (TRUE) {
-#line 9276 "DirectoryMonitor.c"
+#line 9352 "DirectoryMonitor.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
GFile* file = NULL;
@@ -9297,372 +9373,372 @@ static gint directory_monitor_file_info_map_get_children (DirectoryMonitorFileIn
DirectoryMonitorFType _tmp21_ = 0;
DirectoryMonitorFType _tmp22_ = 0;
DirectoryMonitorFType _tmp23_ = 0;
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp6_ = _file_it;
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = gee_iterator_next (_tmp6_);
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!_tmp7_) {
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 9303 "DirectoryMonitor.c"
+#line 9379 "DirectoryMonitor.c"
}
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp8_ = _file_it;
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp9_ = gee_iterator_get (_tmp8_);
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
file = (GFile*) _tmp9_;
-#line 339 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 345 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp10_ = file;
-#line 339 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 345 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp11_ = g_file_get_parent (_tmp10_);
-#line 339 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 345 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
parent = _tmp11_;
-#line 340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp13_ = parent;
-#line 340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp13_ == NULL) {
-#line 340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = TRUE;
-#line 9323 "DirectoryMonitor.c"
+#line 9399 "DirectoryMonitor.c"
} else {
GFile* _tmp14_ = NULL;
GFile* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
-#line 340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp14_ = parent;
-#line 340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp15_ = root;
-#line 340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp16_ = g_file_equal (_tmp14_, _tmp15_);
-#line 340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = !_tmp16_;
-#line 9336 "DirectoryMonitor.c"
+#line 9412 "DirectoryMonitor.c"
}
-#line 340 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (_tmp12_) {
-#line 341 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 347 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (parent);
-#line 341 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 347 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (file);
-#line 341 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 347 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
continue;
-#line 9346 "DirectoryMonitor.c"
+#line 9422 "DirectoryMonitor.c"
}
-#line 343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 349 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp17_ = self->priv->map;
-#line 343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 349 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp18_ = file;
-#line 343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 349 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp19_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp18_);
-#line 343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 349 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp20_ = (GFileInfo*) _tmp19_;
-#line 343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 349 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp21_ = directory_monitor_get_ftype (_tmp20_);
-#line 343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 349 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp22_ = _tmp21_;
-#line 343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 349 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_tmp20_);
-#line 343 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 349 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
ftype = _tmp22_;
-#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 350 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp23_ = ftype;
-#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 350 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
switch (_tmp23_) {
-#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 350 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_FILE:
-#line 9370 "DirectoryMonitor.c"
+#line 9446 "DirectoryMonitor.c"
{
GeeCollection* _tmp24_ = NULL;
GFile* _tmp25_ = NULL;
gint _tmp26_ = 0;
-#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 352 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp24_ = files;
-#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 352 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp25_ = file;
-#line 346 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 352 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_collection_add (_tmp24_, _tmp25_);
-#line 347 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 353 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp26_ = count;
-#line 347 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 353 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
count = _tmp26_ + 1;
-#line 348 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 354 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 9387 "DirectoryMonitor.c"
+#line 9463 "DirectoryMonitor.c"
}
-#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 350 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
case DIRECTORY_MONITOR_FTYPE_DIRECTORY:
-#line 9391 "DirectoryMonitor.c"
+#line 9467 "DirectoryMonitor.c"
{
GeeCollection* _tmp27_ = NULL;
GFile* _tmp28_ = NULL;
gint _tmp29_ = 0;
-#line 351 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 357 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp27_ = dirs;
-#line 351 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 357 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp28_ = file;
-#line 351 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 357 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
gee_collection_add (_tmp27_, _tmp28_);
-#line 352 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 358 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp29_ = count;
-#line 352 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 358 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
count = _tmp29_ + 1;
-#line 353 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 359 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 9408 "DirectoryMonitor.c"
+#line 9484 "DirectoryMonitor.c"
}
default:
{
DirectoryMonitorFType _tmp30_ = 0;
-#line 356 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 362 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp30_ = ftype;
-#line 356 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 362 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_vala_assert (_tmp30_ == DIRECTORY_MONITOR_FTYPE_UNSUPPORTED, "ftype == FType.UNSUPPORTED");
-#line 357 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 363 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
break;
-#line 9419 "DirectoryMonitor.c"
+#line 9495 "DirectoryMonitor.c"
}
}
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (parent);
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (file);
-#line 9426 "DirectoryMonitor.c"
+#line 9502 "DirectoryMonitor.c"
}
-#line 338 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 344 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_file_it);
-#line 9430 "DirectoryMonitor.c"
+#line 9506 "DirectoryMonitor.c"
}
-#line 361 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 367 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
result = count;
-#line 361 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 367 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return result;
-#line 9436 "DirectoryMonitor.c"
+#line 9512 "DirectoryMonitor.c"
}
static void directory_monitor_value_file_info_map_init (GValue* value) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = NULL;
-#line 9443 "DirectoryMonitor.c"
+#line 9519 "DirectoryMonitor.c"
}
static void directory_monitor_value_file_info_map_free_value (GValue* value) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (value->data[0].v_pointer) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_unref (value->data[0].v_pointer);
-#line 9452 "DirectoryMonitor.c"
+#line 9528 "DirectoryMonitor.c"
}
}
static void directory_monitor_value_file_info_map_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (src_value->data[0].v_pointer) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
dest_value->data[0].v_pointer = directory_monitor_file_info_map_ref (src_value->data[0].v_pointer);
-#line 9462 "DirectoryMonitor.c"
+#line 9538 "DirectoryMonitor.c"
} else {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
dest_value->data[0].v_pointer = NULL;
-#line 9466 "DirectoryMonitor.c"
+#line 9542 "DirectoryMonitor.c"
}
}
static gpointer directory_monitor_value_file_info_map_peek_pointer (const GValue* value) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return value->data[0].v_pointer;
-#line 9474 "DirectoryMonitor.c"
+#line 9550 "DirectoryMonitor.c"
}
static gchar* directory_monitor_value_file_info_map_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (collect_values[0].v_pointer) {
-#line 9481 "DirectoryMonitor.c"
+#line 9557 "DirectoryMonitor.c"
DirectoryMonitorFileInfoMap* object;
object = collect_values[0].v_pointer;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (object->parent_instance.g_class == NULL) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 9488 "DirectoryMonitor.c"
+#line 9564 "DirectoryMonitor.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 9492 "DirectoryMonitor.c"
+#line 9568 "DirectoryMonitor.c"
}
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = directory_monitor_file_info_map_ref (object);
-#line 9496 "DirectoryMonitor.c"
+#line 9572 "DirectoryMonitor.c"
} else {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = NULL;
-#line 9500 "DirectoryMonitor.c"
+#line 9576 "DirectoryMonitor.c"
}
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return NULL;
-#line 9504 "DirectoryMonitor.c"
+#line 9580 "DirectoryMonitor.c"
}
static gchar* directory_monitor_value_file_info_map_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
DirectoryMonitorFileInfoMap** object_p;
object_p = collect_values[0].v_pointer;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!object_p) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 9515 "DirectoryMonitor.c"
+#line 9591 "DirectoryMonitor.c"
}
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (!value->data[0].v_pointer) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*object_p = NULL;
-#line 9521 "DirectoryMonitor.c"
+#line 9597 "DirectoryMonitor.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*object_p = value->data[0].v_pointer;
-#line 9525 "DirectoryMonitor.c"
+#line 9601 "DirectoryMonitor.c"
} else {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
*object_p = directory_monitor_file_info_map_ref (value->data[0].v_pointer);
-#line 9529 "DirectoryMonitor.c"
+#line 9605 "DirectoryMonitor.c"
}
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return NULL;
-#line 9533 "DirectoryMonitor.c"
+#line 9609 "DirectoryMonitor.c"
}
static GParamSpec* directory_monitor_param_spec_file_info_map (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
DirectoryMonitorParamSpecFileInfoMap* spec;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (g_type_is_a (object_type, DIRECTORY_MONITOR_TYPE_FILE_INFO_MAP), NULL);
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return G_PARAM_SPEC (spec);
-#line 9547 "DirectoryMonitor.c"
+#line 9623 "DirectoryMonitor.c"
}
static gpointer directory_monitor_value_get_file_info_map (const GValue* value) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, DIRECTORY_MONITOR_TYPE_FILE_INFO_MAP), NULL);
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return value->data[0].v_pointer;
-#line 9556 "DirectoryMonitor.c"
+#line 9632 "DirectoryMonitor.c"
}
static void directory_monitor_value_set_file_info_map (GValue* value, gpointer v_object) {
DirectoryMonitorFileInfoMap* old;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, DIRECTORY_MONITOR_TYPE_FILE_INFO_MAP));
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
old = value->data[0].v_pointer;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (v_object) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, DIRECTORY_MONITOR_TYPE_FILE_INFO_MAP));
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = v_object;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_ref (value->data[0].v_pointer);
-#line 9576 "DirectoryMonitor.c"
+#line 9652 "DirectoryMonitor.c"
} else {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = NULL;
-#line 9580 "DirectoryMonitor.c"
+#line 9656 "DirectoryMonitor.c"
}
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (old) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_unref (old);
-#line 9586 "DirectoryMonitor.c"
+#line 9662 "DirectoryMonitor.c"
}
}
static void directory_monitor_value_take_file_info_map (GValue* value, gpointer v_object) {
DirectoryMonitorFileInfoMap* old;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, DIRECTORY_MONITOR_TYPE_FILE_INFO_MAP));
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
old = value->data[0].v_pointer;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (v_object) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, DIRECTORY_MONITOR_TYPE_FILE_INFO_MAP));
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = v_object;
-#line 9605 "DirectoryMonitor.c"
+#line 9681 "DirectoryMonitor.c"
} else {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
value->data[0].v_pointer = NULL;
-#line 9609 "DirectoryMonitor.c"
+#line 9685 "DirectoryMonitor.c"
}
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (old) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_unref (old);
-#line 9615 "DirectoryMonitor.c"
+#line 9691 "DirectoryMonitor.c"
}
}
static void directory_monitor_file_info_map_class_init (DirectoryMonitorFileInfoMapClass * klass) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
directory_monitor_file_info_map_parent_class = g_type_class_peek_parent (klass);
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
((DirectoryMonitorFileInfoMapClass *) klass)->finalize = directory_monitor_file_info_map_finalize;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_type_class_add_private (klass, sizeof (DirectoryMonitorFileInfoMapPrivate));
-#line 9627 "DirectoryMonitor.c"
+#line 9703 "DirectoryMonitor.c"
}
static void directory_monitor_file_info_map_instance_init (DirectoryMonitorFileInfoMap * self) {
GeeHashMap* _tmp0_ = NULL;
GeeHashMap* _tmp1_ = NULL;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv = DIRECTORY_MONITOR_FILE_INFO_MAP_GET_PRIVATE (self);
-#line 129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 133 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
-#line 129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 133 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->map = _tmp0_;
-#line 131 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 135 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, g_file_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
-#line 131 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 135 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->id_map = _tmp1_;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->ref_count = 1;
-#line 9646 "DirectoryMonitor.c"
+#line 9722 "DirectoryMonitor.c"
}
static void directory_monitor_file_info_map_finalize (DirectoryMonitorFileInfoMap* obj) {
DirectoryMonitorFileInfoMap * self;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, DIRECTORY_MONITOR_TYPE_FILE_INFO_MAP, DirectoryMonitorFileInfoMap);
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_handlers_destroy (self);
-#line 129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 133 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (self->priv->map);
-#line 131 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 135 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (self->priv->id_map);
-#line 9660 "DirectoryMonitor.c"
+#line 9736 "DirectoryMonitor.c"
}
@@ -9683,24 +9759,24 @@ static GType directory_monitor_file_info_map_get_type (void) {
static gpointer directory_monitor_file_info_map_ref (gpointer instance) {
DirectoryMonitorFileInfoMap* self;
self = instance;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_atomic_int_inc (&self->ref_count);
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
return instance;
-#line 9685 "DirectoryMonitor.c"
+#line 9761 "DirectoryMonitor.c"
}
static void directory_monitor_file_info_map_unref (gpointer instance) {
DirectoryMonitorFileInfoMap* self;
self = instance;
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
DIRECTORY_MONITOR_FILE_INFO_MAP_GET_CLASS (self)->finalize (self);
-#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 132 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 9698 "DirectoryMonitor.c"
+#line 9774 "DirectoryMonitor.c"
}
}
@@ -9838,7 +9914,7 @@ static void directory_monitor_class_init (DirectoryMonitorClass * klass) {
g_signal_new ("directory_deleted", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_deleted), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, g_file_get_type ());
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_new ("closed", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, closed), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 9836 "DirectoryMonitor.c"
+#line 9912 "DirectoryMonitor.c"
}
@@ -9850,35 +9926,35 @@ static void directory_monitor_instance_init (DirectoryMonitor * self) {
GCancellable* _tmp4_ = NULL;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv = DIRECTORY_MONITOR_GET_PRIVATE (self);
-#line 368 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 374 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, g_file_monitor_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-#line 368 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 374 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->monitors = _tmp0_;
-#line 369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 375 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp1_ = gee_linked_list_new (DIRECTORY_MONITOR_TYPE_QUERY_INFO_QUEUE_ELEMENT, (GBoxedCopyFunc) directory_monitor_query_info_queue_element_ref, (GDestroyNotify) directory_monitor_query_info_queue_element_unref, NULL, NULL, NULL);
-#line 369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 375 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->query_info_queue = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_QUEUE, GeeQueue);
-#line 371 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 377 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp2_ = directory_monitor_file_info_map_new ();
-#line 371 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 377 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->files = _tmp2_;
-#line 372 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 378 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp3_ = directory_monitor_file_info_map_new ();
-#line 372 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 378 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->parent_moved = _tmp3_;
-#line 373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp4_ = g_cancellable_new ();
-#line 373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->cancellable = _tmp4_;
-#line 374 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 380 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->outstanding_exploration_dirs = 0;
-#line 375 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 381 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->started = FALSE;
-#line 376 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 382 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->has_discovery_started = FALSE;
-#line 377 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 383 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->delete_timer_id = (guint) 0;
-#line 9876 "DirectoryMonitor.c"
+#line 9952 "DirectoryMonitor.c"
}
@@ -9886,21 +9962,21 @@ static void directory_monitor_finalize (GObject* obj) {
DirectoryMonitor * self;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_DIRECTORY_MONITOR, DirectoryMonitor);
-#line 365 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 371 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (self->priv->root);
-#line 368 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 374 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (self->priv->monitors);
-#line 369 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 375 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (self->priv->query_info_queue);
-#line 371 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 377 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_file_info_map_unref0 (self->priv->files);
-#line 372 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 378 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_directory_monitor_file_info_map_unref0 (self->priv->parent_moved);
-#line 373 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
+#line 379 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (self->priv->cancellable);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
G_OBJECT_CLASS (directory_monitor_parent_class)->finalize (obj);
-#line 9898 "DirectoryMonitor.c"
+#line 9974 "DirectoryMonitor.c"
}
diff --git a/src/DirectoryMonitor.vala b/src/DirectoryMonitor.vala
index 50d0048..a37b124 100644
--- a/src/DirectoryMonitor.vala
+++ b/src/DirectoryMonitor.vala
@@ -109,6 +109,10 @@ public class DirectoryMonitor : Object {
// finish the async operation to get the result
try {
info = source_file.query_info_async.end(aresult);
+ if (get_file_info_id(info) == null) {
+ info.set_attribute_string(FileAttribute.ID_FILE,
+ file.get_uri());
+ }
} catch (Error err) {
this.err = err;
}
@@ -267,8 +271,10 @@ public class DirectoryMonitor : Object {
return null;
string? id = info.get_attribute_string(FileAttribute.ID_FILE);
- if (id == null)
- return null;
+ if (id == null) {
+ info.set_attribute_string(FileAttribute.ID_FILE,
+ file.get_uri());
+ }
File? normalized = id_map.get(id);
if (normalized == null)
@@ -874,14 +880,10 @@ public class DirectoryMonitor : Object {
}
// File ID is required for directory monitoring. No ID, no ride!
- // TODO: Replace the warning with notify_discovery_failed() and provide a user-visible
- // string.
+ // So we just fake it by using the URI
if (get_file_info_id(local_dir_info) == null) {
- warning("Unable to retrieve file ID on %s: skipping", dir.get_path());
-
- explore_directory_completed(in_discovery);
-
- return;
+ local_dir_info.set_attribute_string(FileAttribute.ID_FILE,
+ dir.get_uri());
}
// verify this is a directory
@@ -911,6 +913,10 @@ public class DirectoryMonitor : Object {
break;
foreach (FileInfo info in infos) {
+ if (get_file_info_id(info) == null) {
+ info.set_attribute_string(FileAttribute.ID_FILE,
+ dir.get_uri());
+ }
// we don't deal with hidden files or directories
if (info.get_is_hidden()) {
warning("Skipping hidden file/directory %s",
diff --git a/src/Page.c b/src/Page.c
index 2361d74..dd27679 100644
--- a/src/Page.c
+++ b/src/Page.c
@@ -5047,6 +5047,9 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) {
#line 5048 "Page.c"
goto __catch254_g_error;
}
+#line 576 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->menubar_injected = FALSE;
+#line 5053 "Page.c"
}
goto __finally254;
__catch254_g_error:
@@ -5062,29 +5065,29 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) {
err = _inner_error_;
#line 574 "/home/jens/Source/shotwell/src/Page.vala"
_inner_error_ = NULL;
-#line 577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 578 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = err;
-#line 577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 578 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_->message;
-#line 577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 578 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = g_strdup_printf ("Error loading UI resource %s: %s", ui_resource, _tmp4_);
-#line 577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 578 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 578 "/home/jens/Source/shotwell/src/Page.vala"
app_window_error_message (_tmp6_, NULL);
-#line 577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 578 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp6_);
-#line 579 "/home/jens/Source/shotwell/src/Page.vala"
+#line 580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = application_get_instance ();
-#line 579 "/home/jens/Source/shotwell/src/Page.vala"
+#line 580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 579 "/home/jens/Source/shotwell/src/Page.vala"
+#line 580 "/home/jens/Source/shotwell/src/Page.vala"
application_panic (_tmp8_);
-#line 579 "/home/jens/Source/shotwell/src/Page.vala"
+#line 580 "/home/jens/Source/shotwell/src/Page.vala"
_application_unref0 (_tmp8_);
#line 574 "/home/jens/Source/shotwell/src/Page.vala"
_g_error_free0 (err);
-#line 5088 "Page.c"
+#line 5091 "Page.c"
}
__finally254:
#line 574 "/home/jens/Source/shotwell/src/Page.vala"
@@ -5097,27 +5100,27 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) {
g_clear_error (&_inner_error_);
#line 574 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 5101 "Page.c"
+#line 5104 "Page.c"
}
#line 572 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (ui_resource);
-#line 5105 "Page.c"
+#line 5108 "Page.c"
}
static void page_real_init_collect_ui_filenames (Page* self, GeeList* ui_filenames) {
-#line 586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 587 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GEE_IS_LIST (ui_filenames));
-#line 5112 "Page.c"
+#line 5115 "Page.c"
}
void page_init_collect_ui_filenames (Page* self, GeeList* ui_filenames) {
-#line 586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 587 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 587 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->init_collect_ui_filenames (self, ui_filenames);
-#line 5121 "Page.c"
+#line 5124 "Page.c"
}
@@ -5126,32 +5129,32 @@ static InjectionGroup** page_real_init_collect_injection_groups (Page* self, int
InjectionGroup** _tmp0_ = NULL;
InjectionGroup** _tmp1_ = NULL;
gint _tmp1__length1 = 0;
-#line 592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 593 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = g_new0 (InjectionGroup*, 0 + 1);
-#line 592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 593 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 593 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1__length1 = 0;
-#line 592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 593 "/home/jens/Source/shotwell/src/Page.vala"
if (result_length1) {
-#line 592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 593 "/home/jens/Source/shotwell/src/Page.vala"
*result_length1 = _tmp1__length1;
-#line 5140 "Page.c"
+#line 5143 "Page.c"
}
-#line 592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 593 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 593 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5146 "Page.c"
+#line 5149 "Page.c"
}
InjectionGroup** page_init_collect_injection_groups (Page* self, int* result_length1) {
-#line 591 "/home/jens/Source/shotwell/src/Page.vala"
+#line 592 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 591 "/home/jens/Source/shotwell/src/Page.vala"
+#line 592 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->init_collect_injection_groups (self, result_length1);
-#line 5155 "Page.c"
+#line 5158 "Page.c"
}
@@ -5160,11 +5163,11 @@ static void page_real_init_actions (Page* self, gint selected_count, gint count)
void page_init_actions (Page* self, gint selected_count, gint count) {
-#line 597 "/home/jens/Source/shotwell/src/Page.vala"
+#line 598 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 597 "/home/jens/Source/shotwell/src/Page.vala"
+#line 598 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->init_actions (self, selected_count, count);
-#line 5168 "Page.c"
+#line 5171 "Page.c"
}
@@ -5173,48 +5176,48 @@ static void page_real_update_actions (Page* self, gint selected_count, gint coun
void page_update_actions (Page* self, gint selected_count, gint count) {
-#line 603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 604 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 604 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->update_actions (self, selected_count, count);
-#line 5181 "Page.c"
+#line 5184 "Page.c"
}
static void _page_on_drag_begin_gtk_widget_drag_begin (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 619 "/home/jens/Source/shotwell/src/Page.vala"
page_on_drag_begin ((Page*) self, context);
-#line 5188 "Page.c"
+#line 5191 "Page.c"
}
static void _page_on_drag_data_get_gtk_widget_drag_data_get (GtkWidget* _sender, GdkDragContext* context, GtkSelectionData* selection_data, guint info, guint time_, gpointer self) {
-#line 619 "/home/jens/Source/shotwell/src/Page.vala"
+#line 620 "/home/jens/Source/shotwell/src/Page.vala"
page_on_drag_data_get ((Page*) self, context, selection_data, info, time_);
-#line 5195 "Page.c"
+#line 5198 "Page.c"
}
static void _page_on_drag_data_delete_gtk_widget_drag_data_delete (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 621 "/home/jens/Source/shotwell/src/Page.vala"
page_on_drag_data_delete ((Page*) self, context);
-#line 5202 "Page.c"
+#line 5205 "Page.c"
}
static void _page_on_drag_end_gtk_widget_drag_end (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 621 "/home/jens/Source/shotwell/src/Page.vala"
+#line 622 "/home/jens/Source/shotwell/src/Page.vala"
page_on_drag_end ((Page*) self, context);
-#line 5209 "Page.c"
+#line 5212 "Page.c"
}
static gboolean _page_on_drag_failed_gtk_widget_drag_failed (GtkWidget* _sender, GdkDragContext* context, GtkDragResult _result_, gpointer self) {
gboolean result;
result = page_on_drag_failed ((Page*) self, context, _result_);
-#line 622 "/home/jens/Source/shotwell/src/Page.vala"
+#line 623 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5218 "Page.c"
+#line 5221 "Page.c"
}
@@ -5230,53 +5233,53 @@ void page_enable_drag_source (Page* self, GdkDragAction actions, GtkTargetEntry*
GtkWidget* _tmp7_ = NULL;
GtkWidget* _tmp8_ = NULL;
GtkWidget* _tmp9_ = NULL;
-#line 608 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
#line 609 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_PAGE (self));
+#line 610 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->dnd_enabled;
-#line 609 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp0_) {
#line 610 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp0_) {
+#line 611 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 5242 "Page.c"
+#line 5245 "Page.c"
}
-#line 612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 613 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp1_ != NULL, "event_source != null");
-#line 614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 615 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->event_source;
-#line 614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 615 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = source_target_entries;
-#line 614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 615 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3__length1 = source_target_entries_length1;
-#line 614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 615 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = actions;
-#line 614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 615 "/home/jens/Source/shotwell/src/Page.vala"
gtk_drag_source_set (_tmp2_, GDK_BUTTON1_MASK, _tmp3_, _tmp3__length1, _tmp4_);
-#line 618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 618 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_connect_object (_tmp5_, "drag-begin", (GCallback) _page_on_drag_begin_gtk_widget_drag_begin, self, 0);
#line 619 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_connect_object (_tmp5_, "drag-begin", (GCallback) _page_on_drag_begin_gtk_widget_drag_begin, self, 0);
+#line 620 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->event_source;
-#line 619 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_connect_object (_tmp6_, "drag-data-get", (GCallback) _page_on_drag_data_get_gtk_widget_drag_data_get, self, 0);
#line 620 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_connect_object (_tmp6_, "drag-data-get", (GCallback) _page_on_drag_data_get_gtk_widget_drag_data_get, self, 0);
+#line 621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->event_source;
-#line 620 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_connect_object (_tmp7_, "drag-data-delete", (GCallback) _page_on_drag_data_delete_gtk_widget_drag_data_delete, self, 0);
#line 621 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_connect_object (_tmp7_, "drag-data-delete", (GCallback) _page_on_drag_data_delete_gtk_widget_drag_data_delete, self, 0);
+#line 622 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->event_source;
-#line 621 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_connect_object (_tmp8_, "drag-end", (GCallback) _page_on_drag_end_gtk_widget_drag_end, self, 0);
#line 622 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_connect_object (_tmp8_, "drag-end", (GCallback) _page_on_drag_end_gtk_widget_drag_end, self, 0);
+#line 623 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->event_source;
-#line 622 "/home/jens/Source/shotwell/src/Page.vala"
+#line 623 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp9_, "drag-failed", (GCallback) _page_on_drag_failed_gtk_widget_drag_failed, self, 0);
-#line 624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 625 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->dnd_enabled = TRUE;
-#line 5280 "Page.c"
+#line 5283 "Page.c"
}
@@ -5294,86 +5297,86 @@ void page_disable_drag_source (Page* self) {
GtkWidget* _tmp10_ = NULL;
guint _tmp11_ = 0U;
GtkWidget* _tmp12_ = NULL;
-#line 627 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
#line 628 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_PAGE (self));
+#line 629 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->dnd_enabled;
-#line 628 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp0_) {
#line 629 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!_tmp0_) {
+#line 630 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 5306 "Page.c"
+#line 5309 "Page.c"
}
-#line 631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 632 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 632 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp1_ != NULL, "event_source != null");
-#line 633 "/home/jens/Source/shotwell/src/Page.vala"
+#line 634 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->event_source;
-#line 633 "/home/jens/Source/shotwell/src/Page.vala"
+#line 634 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-begin", gtk_widget_get_type (), &_tmp3_, NULL, FALSE);
-#line 633 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _page_on_drag_begin_gtk_widget_drag_begin, self);
#line 634 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _page_on_drag_begin_gtk_widget_drag_begin, self);
+#line 635 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->event_source;
-#line 634 "/home/jens/Source/shotwell/src/Page.vala"
+#line 635 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-data-get", gtk_widget_get_type (), &_tmp5_, NULL, FALSE);
-#line 634 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _page_on_drag_data_get_gtk_widget_drag_data_get, self);
#line 635 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _page_on_drag_data_get_gtk_widget_drag_data_get, self);
+#line 636 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->event_source;
-#line 635 "/home/jens/Source/shotwell/src/Page.vala"
+#line 636 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-data-delete", gtk_widget_get_type (), &_tmp7_, NULL, FALSE);
-#line 635 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _page_on_drag_data_delete_gtk_widget_drag_data_delete, self);
#line 636 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _page_on_drag_data_delete_gtk_widget_drag_data_delete, self);
+#line 637 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->event_source;
-#line 636 "/home/jens/Source/shotwell/src/Page.vala"
+#line 637 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-end", gtk_widget_get_type (), &_tmp9_, NULL, FALSE);
-#line 636 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_handlers_disconnect_matched (_tmp8_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _page_on_drag_end_gtk_widget_drag_end, self);
#line 637 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_handlers_disconnect_matched (_tmp8_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _page_on_drag_end_gtk_widget_drag_end, self);
+#line 638 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->event_source;
-#line 637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 638 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-failed", gtk_widget_get_type (), &_tmp11_, NULL, FALSE);
-#line 637 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _page_on_drag_failed_gtk_widget_drag_failed, self);
#line 638 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _page_on_drag_failed_gtk_widget_drag_failed, self);
+#line 639 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->event_source;
-#line 638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 639 "/home/jens/Source/shotwell/src/Page.vala"
gtk_drag_source_unset (_tmp12_);
-#line 640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 641 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->dnd_enabled = FALSE;
-#line 5348 "Page.c"
+#line 5351 "Page.c"
}
gboolean page_is_dnd_enabled (Page* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 643 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 644 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_PAGE (self), FALSE);
+#line 645 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->dnd_enabled;
-#line 644 "/home/jens/Source/shotwell/src/Page.vala"
+#line 645 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 644 "/home/jens/Source/shotwell/src/Page.vala"
+#line 645 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5363 "Page.c"
+#line 5366 "Page.c"
}
static void page_on_drag_begin (Page* self, GdkDragContext* context) {
GdkDragContext* _tmp0_ = NULL;
-#line 647 "/home/jens/Source/shotwell/src/Page.vala"
+#line 648 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 647 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
#line 648 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
+#line 649 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = context;
-#line 648 "/home/jens/Source/shotwell/src/Page.vala"
+#line 649 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "drag-begin", _tmp0_);
-#line 5377 "Page.c"
+#line 5380 "Page.c"
}
@@ -5382,72 +5385,72 @@ static void page_on_drag_data_get (Page* self, GdkDragContext* context, GtkSelec
GtkSelectionData* _tmp1_ = NULL;
guint _tmp2_ = 0U;
guint _tmp3_ = 0U;
-#line 651 "/home/jens/Source/shotwell/src/Page.vala"
+#line 652 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 651 "/home/jens/Source/shotwell/src/Page.vala"
+#line 652 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 651 "/home/jens/Source/shotwell/src/Page.vala"
+#line 652 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (selection_data != NULL);
-#line 653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 654 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = context;
-#line 653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 654 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = selection_data;
-#line 653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 654 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = info;
-#line 653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 654 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = time;
-#line 653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 654 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "drag-data-get", _tmp0_, _tmp1_, _tmp2_, _tmp3_);
-#line 5402 "Page.c"
+#line 5405 "Page.c"
}
static void page_on_drag_data_delete (Page* self, GdkDragContext* context) {
GdkDragContext* _tmp0_ = NULL;
-#line 656 "/home/jens/Source/shotwell/src/Page.vala"
+#line 657 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 656 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
#line 657 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
+#line 658 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = context;
-#line 657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 658 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "drag-data-delete", _tmp0_);
-#line 5416 "Page.c"
+#line 5419 "Page.c"
}
static void page_on_drag_end (Page* self, GdkDragContext* context) {
GdkDragContext* _tmp0_ = NULL;
-#line 660 "/home/jens/Source/shotwell/src/Page.vala"
+#line 661 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 660 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
#line 661 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
+#line 662 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = context;
-#line 661 "/home/jens/Source/shotwell/src/Page.vala"
+#line 662 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "drag-end", _tmp0_);
-#line 5430 "Page.c"
+#line 5433 "Page.c"
}
static gboolean page_real_source_drag_failed (Page* self, GdkDragContext* context, GtkDragResult drag_result) {
gboolean result = FALSE;
-#line 668 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
+#line 670 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 670 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5442 "Page.c"
+#line 5445 "Page.c"
}
gboolean page_source_drag_failed (Page* self, GdkDragContext* context, GtkDragResult drag_result) {
-#line 668 "/home/jens/Source/shotwell/src/Page.vala"
+#line 669 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 668 "/home/jens/Source/shotwell/src/Page.vala"
+#line 669 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->source_drag_failed (self, context, drag_result);
-#line 5451 "Page.c"
+#line 5454 "Page.c"
}
@@ -5456,21 +5459,21 @@ static gboolean page_on_drag_failed (Page* self, GdkDragContext* context, GtkDra
GdkDragContext* _tmp0_ = NULL;
GtkDragResult _tmp1_ = 0;
gboolean _tmp2_ = FALSE;
-#line 672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 673 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 672 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = context;
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = drag_result;
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_source_drag_failed (self, _tmp0_, _tmp1_);
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp2_;
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5474 "Page.c"
+#line 5477 "Page.c"
}
@@ -5499,291 +5502,291 @@ gboolean page_get_event_source_pointer (Page* self, gint* x, gint* y, GdkModifie
GdkPoint _tmp20_ = {0};
gint _tmp21_ = 0;
gint _tmp22_ = 0;
-#line 680 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 681 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_PAGE (self), FALSE);
+#line 682 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 681 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp0_ == NULL) {
#line 682 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_x = 0;
+ if (_tmp0_ == NULL) {
#line 683 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_y = 0;
+ _vala_x = 0;
#line 684 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_y = 0;
+#line 685 "/home/jens/Source/shotwell/src/Page.vala"
_vala_mask = 0;
-#line 686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
if (x) {
-#line 686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
*x = _vala_x;
-#line 5521 "Page.c"
+#line 5524 "Page.c"
}
-#line 686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
if (y) {
-#line 686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
*y = _vala_y;
-#line 5527 "Page.c"
+#line 5530 "Page.c"
}
-#line 686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
if (mask) {
-#line 686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
*mask = _vala_mask;
-#line 5533 "Page.c"
+#line 5536 "Page.c"
}
-#line 686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5537 "Page.c"
+#line 5540 "Page.c"
}
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_widget_get_window (_tmp1_);
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gdk_display_get_default ();
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gdk_display_get_device_manager (_tmp3_);
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gdk_device_manager_get_client_pointer (_tmp4_);
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_get_device_position (_tmp2_, _tmp5_, &_tmp6_, &_tmp7_, &_tmp8_);
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
_vala_x = _tmp6_;
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
_vala_y = _tmp7_;
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
_vala_mask = _tmp8_;
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 693 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->last_down;
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 693 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_.x;
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 693 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_ < 0) {
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 693 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = TRUE;
-#line 5565 "Page.c"
+#line 5568 "Page.c"
} else {
GdkPoint _tmp12_ = {0};
gint _tmp13_ = 0;
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 693 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->last_down;
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 693 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_.y;
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 693 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp13_ < 0;
-#line 5575 "Page.c"
+#line 5578 "Page.c"
}
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp9_) {
#line 693 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp9_) {
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
if (x) {
-#line 693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
*x = _vala_x;
-#line 5585 "Page.c"
+#line 5588 "Page.c"
}
-#line 693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
if (y) {
-#line 693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
*y = _vala_y;
-#line 5591 "Page.c"
+#line 5594 "Page.c"
}
-#line 693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
if (mask) {
-#line 693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
*mask = _vala_mask;
-#line 5597 "Page.c"
+#line 5600 "Page.c"
}
-#line 693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5601 "Page.c"
+#line 5604 "Page.c"
}
-#line 699 "/home/jens/Source/shotwell/src/Page.vala"
+#line 700 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _vala_x;
-#line 699 "/home/jens/Source/shotwell/src/Page.vala"
+#line 700 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->last_down;
-#line 699 "/home/jens/Source/shotwell/src/Page.vala"
+#line 700 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_.x;
-#line 699 "/home/jens/Source/shotwell/src/Page.vala"
+#line 700 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = abs (_tmp14_ - _tmp16_);
-#line 699 "/home/jens/Source/shotwell/src/Page.vala"
+#line 700 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp17_ >= 0x7FFF) {
-#line 5613 "Page.c"
+#line 5616 "Page.c"
gint _tmp18_ = 0;
-#line 700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 701 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _vala_x;
-#line 700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 701 "/home/jens/Source/shotwell/src/Page.vala"
_vala_x = _tmp18_ + 0xFFFF;
-#line 5619 "Page.c"
+#line 5622 "Page.c"
}
-#line 702 "/home/jens/Source/shotwell/src/Page.vala"
+#line 703 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _vala_y;
-#line 702 "/home/jens/Source/shotwell/src/Page.vala"
+#line 703 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->last_down;
-#line 702 "/home/jens/Source/shotwell/src/Page.vala"
+#line 703 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_.y;
-#line 702 "/home/jens/Source/shotwell/src/Page.vala"
+#line 703 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = abs (_tmp19_ - _tmp21_);
-#line 702 "/home/jens/Source/shotwell/src/Page.vala"
+#line 703 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp22_ >= 0x7FFF) {
-#line 5631 "Page.c"
+#line 5634 "Page.c"
gint _tmp23_ = 0;
-#line 703 "/home/jens/Source/shotwell/src/Page.vala"
+#line 704 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _vala_y;
-#line 703 "/home/jens/Source/shotwell/src/Page.vala"
+#line 704 "/home/jens/Source/shotwell/src/Page.vala"
_vala_y = _tmp23_ + 0xFFFF;
-#line 5637 "Page.c"
+#line 5640 "Page.c"
}
-#line 705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
if (x) {
-#line 705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
*x = _vala_x;
-#line 5645 "Page.c"
+#line 5648 "Page.c"
}
-#line 705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
if (y) {
-#line 705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
*y = _vala_y;
-#line 5651 "Page.c"
+#line 5654 "Page.c"
}
-#line 705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
if (mask) {
-#line 705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
*mask = _vala_mask;
-#line 5657 "Page.c"
+#line 5660 "Page.c"
}
-#line 705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5661 "Page.c"
+#line 5664 "Page.c"
}
static gboolean page_real_on_left_click (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 708 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 709 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 710 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 709 "/home/jens/Source/shotwell/src/Page.vala"
+#line 710 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5673 "Page.c"
+#line 5676 "Page.c"
}
gboolean page_on_left_click (Page* self, GdkEventButton* event) {
-#line 708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 709 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 709 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_left_click (self, event);
-#line 5682 "Page.c"
+#line 5685 "Page.c"
}
static gboolean page_real_on_middle_click (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 712 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 713 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 714 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 713 "/home/jens/Source/shotwell/src/Page.vala"
+#line 714 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5694 "Page.c"
+#line 5697 "Page.c"
}
gboolean page_on_middle_click (Page* self, GdkEventButton* event) {
-#line 712 "/home/jens/Source/shotwell/src/Page.vala"
+#line 713 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 712 "/home/jens/Source/shotwell/src/Page.vala"
+#line 713 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_middle_click (self, event);
-#line 5703 "Page.c"
+#line 5706 "Page.c"
}
static gboolean page_real_on_right_click (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 716 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 717 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 718 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 717 "/home/jens/Source/shotwell/src/Page.vala"
+#line 718 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5715 "Page.c"
+#line 5718 "Page.c"
}
gboolean page_on_right_click (Page* self, GdkEventButton* event) {
-#line 716 "/home/jens/Source/shotwell/src/Page.vala"
+#line 717 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 716 "/home/jens/Source/shotwell/src/Page.vala"
+#line 717 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_right_click (self, event);
-#line 5724 "Page.c"
+#line 5727 "Page.c"
}
static gboolean page_real_on_left_released (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 720 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 721 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 722 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 721 "/home/jens/Source/shotwell/src/Page.vala"
+#line 722 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5736 "Page.c"
+#line 5739 "Page.c"
}
gboolean page_on_left_released (Page* self, GdkEventButton* event) {
-#line 720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 721 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 721 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_left_released (self, event);
-#line 5745 "Page.c"
+#line 5748 "Page.c"
}
static gboolean page_real_on_middle_released (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 724 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 725 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 726 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 726 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5757 "Page.c"
+#line 5760 "Page.c"
}
gboolean page_on_middle_released (Page* self, GdkEventButton* event) {
-#line 724 "/home/jens/Source/shotwell/src/Page.vala"
+#line 725 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 724 "/home/jens/Source/shotwell/src/Page.vala"
+#line 725 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_middle_released (self, event);
-#line 5766 "Page.c"
+#line 5769 "Page.c"
}
static gboolean page_real_on_right_released (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 728 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 729 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 730 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 729 "/home/jens/Source/shotwell/src/Page.vala"
+#line 730 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5778 "Page.c"
+#line 5781 "Page.c"
}
gboolean page_on_right_released (Page* self, GdkEventButton* event) {
-#line 728 "/home/jens/Source/shotwell/src/Page.vala"
+#line 729 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 728 "/home/jens/Source/shotwell/src/Page.vala"
+#line 729 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_right_released (self, event);
-#line 5787 "Page.c"
+#line 5790 "Page.c"
}
@@ -5791,19 +5794,19 @@ static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* eve
gboolean result = FALSE;
GdkEventButton* _tmp0_ = NULL;
guint _tmp1_ = 0U;
-#line 732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 733 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 732 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 733 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 734 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 733 "/home/jens/Source/shotwell/src/Page.vala"
+#line 734 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->button;
-#line 733 "/home/jens/Source/shotwell/src/Page.vala"
+#line 734 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp1_) {
-#line 733 "/home/jens/Source/shotwell/src/Page.vala"
+#line 734 "/home/jens/Source/shotwell/src/Page.vala"
case 1:
-#line 5807 "Page.c"
+#line 5810 "Page.c"
{
GtkWidget* _tmp2_ = NULL;
GdkEventButton* _tmp4_ = NULL;
@@ -5812,79 +5815,79 @@ static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* eve
gdouble _tmp7_ = 0.0;
GdkEventButton* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
-#line 735 "/home/jens/Source/shotwell/src/Page.vala"
+#line 736 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->event_source;
-#line 735 "/home/jens/Source/shotwell/src/Page.vala"
+#line 736 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != NULL) {
-#line 5820 "Page.c"
+#line 5823 "Page.c"
GtkWidget* _tmp3_ = NULL;
-#line 736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 737 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 737 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_grab_focus (_tmp3_);
-#line 5826 "Page.c"
+#line 5829 "Page.c"
}
-#line 739 "/home/jens/Source/shotwell/src/Page.vala"
+#line 740 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 739 "/home/jens/Source/shotwell/src/Page.vala"
+#line 740 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->x;
-#line 739 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->last_down.x = (gint) _tmp5_;
#line 740 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->last_down.x = (gint) _tmp5_;
+#line 741 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = event;
-#line 740 "/home/jens/Source/shotwell/src/Page.vala"
+#line 741 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_->y;
-#line 740 "/home/jens/Source/shotwell/src/Page.vala"
+#line 741 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_down.y = (gint) _tmp7_;
-#line 742 "/home/jens/Source/shotwell/src/Page.vala"
+#line 743 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = event;
-#line 742 "/home/jens/Source/shotwell/src/Page.vala"
+#line 743 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = page_on_left_click (self, _tmp8_);
-#line 742 "/home/jens/Source/shotwell/src/Page.vala"
+#line 743 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp9_;
-#line 742 "/home/jens/Source/shotwell/src/Page.vala"
+#line 743 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5848 "Page.c"
+#line 5851 "Page.c"
}
-#line 733 "/home/jens/Source/shotwell/src/Page.vala"
+#line 734 "/home/jens/Source/shotwell/src/Page.vala"
case 2:
-#line 5852 "Page.c"
+#line 5855 "Page.c"
{
GdkEventButton* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 746 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = event;
-#line 745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 746 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = page_on_middle_click (self, _tmp10_);
-#line 745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 746 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp11_;
-#line 745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 746 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5864 "Page.c"
+#line 5867 "Page.c"
}
-#line 733 "/home/jens/Source/shotwell/src/Page.vala"
+#line 734 "/home/jens/Source/shotwell/src/Page.vala"
case 3:
-#line 5868 "Page.c"
+#line 5871 "Page.c"
{
GdkEventButton* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
-#line 748 "/home/jens/Source/shotwell/src/Page.vala"
+#line 749 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = event;
-#line 748 "/home/jens/Source/shotwell/src/Page.vala"
+#line 749 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = page_on_right_click (self, _tmp12_);
-#line 748 "/home/jens/Source/shotwell/src/Page.vala"
+#line 749 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp13_;
-#line 748 "/home/jens/Source/shotwell/src/Page.vala"
+#line 749 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5880 "Page.c"
+#line 5883 "Page.c"
}
default:
{
-#line 751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 752 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 752 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5888 "Page.c"
+#line 5891 "Page.c"
}
}
}
@@ -5894,78 +5897,78 @@ static gboolean page_on_button_released_internal (Page* self, GdkEventButton* ev
gboolean result = FALSE;
GdkEventButton* _tmp0_ = NULL;
guint _tmp1_ = 0U;
-#line 755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 756 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 755 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 756 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 757 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 756 "/home/jens/Source/shotwell/src/Page.vala"
+#line 757 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->button;
-#line 756 "/home/jens/Source/shotwell/src/Page.vala"
+#line 757 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp1_) {
-#line 756 "/home/jens/Source/shotwell/src/Page.vala"
+#line 757 "/home/jens/Source/shotwell/src/Page.vala"
case 1:
-#line 5910 "Page.c"
+#line 5913 "Page.c"
{
GdkPoint _tmp2_ = {0};
GdkEventButton* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 760 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_.x = -1;
-#line 759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 760 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_.y = -1;
-#line 759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 760 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_down = _tmp2_;
-#line 761 "/home/jens/Source/shotwell/src/Page.vala"
+#line 762 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 761 "/home/jens/Source/shotwell/src/Page.vala"
+#line 762 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_on_left_released (self, _tmp3_);
-#line 761 "/home/jens/Source/shotwell/src/Page.vala"
+#line 762 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp4_;
-#line 761 "/home/jens/Source/shotwell/src/Page.vala"
+#line 762 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5929 "Page.c"
+#line 5932 "Page.c"
}
-#line 756 "/home/jens/Source/shotwell/src/Page.vala"
+#line 757 "/home/jens/Source/shotwell/src/Page.vala"
case 2:
-#line 5933 "Page.c"
+#line 5936 "Page.c"
{
GdkEventButton* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 765 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
-#line 764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 765 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_on_middle_released (self, _tmp5_);
-#line 764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 765 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp6_;
-#line 764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 765 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5945 "Page.c"
+#line 5948 "Page.c"
}
-#line 756 "/home/jens/Source/shotwell/src/Page.vala"
+#line 757 "/home/jens/Source/shotwell/src/Page.vala"
case 3:
-#line 5949 "Page.c"
+#line 5952 "Page.c"
{
GdkEventButton* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 768 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
-#line 767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 768 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = page_on_right_released (self, _tmp7_);
-#line 767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 768 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp8_;
-#line 767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 768 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5961 "Page.c"
+#line 5964 "Page.c"
}
default:
{
-#line 770 "/home/jens/Source/shotwell/src/Page.vala"
+#line 771 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 770 "/home/jens/Source/shotwell/src/Page.vala"
+#line 771 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5969 "Page.c"
+#line 5972 "Page.c"
}
}
}
@@ -5973,195 +5976,195 @@ static gboolean page_on_button_released_internal (Page* self, GdkEventButton* ev
static gboolean page_real_on_ctrl_pressed (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 775 "/home/jens/Source/shotwell/src/Page.vala"
+#line 776 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 775 "/home/jens/Source/shotwell/src/Page.vala"
+#line 776 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5981 "Page.c"
+#line 5984 "Page.c"
}
gboolean page_on_ctrl_pressed (Page* self, GdkEventKey* event) {
-#line 774 "/home/jens/Source/shotwell/src/Page.vala"
+#line 775 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 774 "/home/jens/Source/shotwell/src/Page.vala"
+#line 775 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_ctrl_pressed (self, event);
-#line 5990 "Page.c"
+#line 5993 "Page.c"
}
static gboolean page_real_on_ctrl_released (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 779 "/home/jens/Source/shotwell/src/Page.vala"
+#line 780 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 779 "/home/jens/Source/shotwell/src/Page.vala"
+#line 780 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6000 "Page.c"
+#line 6003 "Page.c"
}
gboolean page_on_ctrl_released (Page* self, GdkEventKey* event) {
-#line 778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 779 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 779 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_ctrl_released (self, event);
-#line 6009 "Page.c"
+#line 6012 "Page.c"
}
static gboolean page_real_on_alt_pressed (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 784 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 784 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6019 "Page.c"
+#line 6022 "Page.c"
}
gboolean page_on_alt_pressed (Page* self, GdkEventKey* event) {
-#line 782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 783 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 783 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_alt_pressed (self, event);
-#line 6028 "Page.c"
+#line 6031 "Page.c"
}
static gboolean page_real_on_alt_released (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 788 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 788 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6038 "Page.c"
+#line 6041 "Page.c"
}
gboolean page_on_alt_released (Page* self, GdkEventKey* event) {
-#line 786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 787 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 787 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_alt_released (self, event);
-#line 6047 "Page.c"
+#line 6050 "Page.c"
}
static gboolean page_real_on_shift_pressed (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 791 "/home/jens/Source/shotwell/src/Page.vala"
+#line 792 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 791 "/home/jens/Source/shotwell/src/Page.vala"
+#line 792 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6057 "Page.c"
+#line 6060 "Page.c"
}
gboolean page_on_shift_pressed (Page* self, GdkEventKey* event) {
-#line 790 "/home/jens/Source/shotwell/src/Page.vala"
+#line 791 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 790 "/home/jens/Source/shotwell/src/Page.vala"
+#line 791 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_shift_pressed (self, event);
-#line 6066 "Page.c"
+#line 6069 "Page.c"
}
static gboolean page_real_on_shift_released (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 795 "/home/jens/Source/shotwell/src/Page.vala"
+#line 796 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 795 "/home/jens/Source/shotwell/src/Page.vala"
+#line 796 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6076 "Page.c"
+#line 6079 "Page.c"
}
gboolean page_on_shift_released (Page* self, GdkEventKey* event) {
-#line 794 "/home/jens/Source/shotwell/src/Page.vala"
+#line 795 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 794 "/home/jens/Source/shotwell/src/Page.vala"
+#line 795 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_shift_released (self, event);
-#line 6085 "Page.c"
+#line 6088 "Page.c"
}
static gboolean page_real_on_super_pressed (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 799 "/home/jens/Source/shotwell/src/Page.vala"
+#line 800 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 799 "/home/jens/Source/shotwell/src/Page.vala"
+#line 800 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6095 "Page.c"
+#line 6098 "Page.c"
}
gboolean page_on_super_pressed (Page* self, GdkEventKey* event) {
-#line 798 "/home/jens/Source/shotwell/src/Page.vala"
+#line 799 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 798 "/home/jens/Source/shotwell/src/Page.vala"
+#line 799 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_super_pressed (self, event);
-#line 6104 "Page.c"
+#line 6107 "Page.c"
}
static gboolean page_real_on_super_released (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 804 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 804 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6114 "Page.c"
+#line 6117 "Page.c"
}
gboolean page_on_super_released (Page* self, GdkEventKey* event) {
-#line 802 "/home/jens/Source/shotwell/src/Page.vala"
+#line 803 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 802 "/home/jens/Source/shotwell/src/Page.vala"
+#line 803 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_super_released (self, event);
-#line 6123 "Page.c"
+#line 6126 "Page.c"
}
static gboolean page_real_on_app_key_pressed (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 806 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 807 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 808 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 807 "/home/jens/Source/shotwell/src/Page.vala"
+#line 808 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6135 "Page.c"
+#line 6138 "Page.c"
}
gboolean page_on_app_key_pressed (Page* self, GdkEventKey* event) {
-#line 806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 807 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 807 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_app_key_pressed (self, event);
-#line 6144 "Page.c"
+#line 6147 "Page.c"
}
static gboolean page_real_on_app_key_released (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 810 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 811 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 812 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 811 "/home/jens/Source/shotwell/src/Page.vala"
+#line 812 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6156 "Page.c"
+#line 6159 "Page.c"
}
gboolean page_on_app_key_released (Page* self, GdkEventKey* event) {
-#line 810 "/home/jens/Source/shotwell/src/Page.vala"
+#line 811 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 810 "/home/jens/Source/shotwell/src/Page.vala"
+#line 811 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_app_key_released (self, event);
-#line 6165 "Page.c"
+#line 6168 "Page.c"
}
@@ -6180,248 +6183,248 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
const gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
GQuark _tmp9_ = 0U;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label0 = 0;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label1 = 0;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label2 = 0;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label3 = 0;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label4 = 0;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label5 = 0;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label6 = 0;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label7 = 0;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label8 = 0;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label9 = 0;
-#line 6204 "Page.c"
+#line 6207 "Page.c"
GdkEventKey* _tmp30_ = NULL;
gboolean _tmp31_ = FALSE;
-#line 814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 815 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 815 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 817 "/home/jens/Source/shotwell/src/Page.vala"
+#line 818 "/home/jens/Source/shotwell/src/Page.vala"
page_get_modifiers (self, &_tmp0_, &_tmp1_, &_tmp2_, &_tmp3_);
-#line 817 "/home/jens/Source/shotwell/src/Page.vala"
+#line 818 "/home/jens/Source/shotwell/src/Page.vala"
ctrl_currently_pressed = _tmp0_;
-#line 817 "/home/jens/Source/shotwell/src/Page.vala"
+#line 818 "/home/jens/Source/shotwell/src/Page.vala"
alt_currently_pressed = _tmp1_;
-#line 817 "/home/jens/Source/shotwell/src/Page.vala"
+#line 818 "/home/jens/Source/shotwell/src/Page.vala"
shift_currently_pressed = _tmp2_;
-#line 817 "/home/jens/Source/shotwell/src/Page.vala"
+#line 818 "/home/jens/Source/shotwell/src/Page.vala"
super_currently_pressed = _tmp3_;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->keyval;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gdk_keyval_name (_tmp5_);
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = (NULL == _tmp7_) ? 0 : g_quark_from_string (_tmp7_);
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
if ((_tmp9_ == ((0 != _tmp8_label0) ? _tmp8_label0 : (_tmp8_label0 = g_quark_from_static_string ("Control_L")))) || (_tmp9_ == ((0 != _tmp8_label1) ? _tmp8_label1 : (_tmp8_label1 = g_quark_from_static_string ("Control_R"))))) {
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6235 "Page.c"
+#line 6238 "Page.c"
default:
{
gboolean _tmp10_ = FALSE;
gboolean _tmp11_ = FALSE;
GdkEventKey* _tmp13_ = NULL;
gboolean _tmp14_ = FALSE;
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 824 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = ctrl_currently_pressed;
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 824 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp11_) {
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 824 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = TRUE;
-#line 6248 "Page.c"
+#line 6251 "Page.c"
} else {
gboolean _tmp12_ = FALSE;
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 824 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->ctrl_pressed;
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 824 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp12_;
-#line 6255 "Page.c"
+#line 6258 "Page.c"
}
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp10_) {
#line 824 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp10_) {
+#line 825 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 824 "/home/jens/Source/shotwell/src/Page.vala"
+#line 825 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6263 "Page.c"
+#line 6266 "Page.c"
}
-#line 826 "/home/jens/Source/shotwell/src/Page.vala"
+#line 827 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->ctrl_pressed = TRUE;
-#line 828 "/home/jens/Source/shotwell/src/Page.vala"
+#line 829 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = event;
-#line 828 "/home/jens/Source/shotwell/src/Page.vala"
+#line 829 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = page_on_ctrl_pressed (self, _tmp13_);
-#line 828 "/home/jens/Source/shotwell/src/Page.vala"
+#line 829 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp14_;
-#line 828 "/home/jens/Source/shotwell/src/Page.vala"
+#line 829 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6275 "Page.c"
+#line 6278 "Page.c"
}
}
} else if ((((_tmp9_ == ((0 != _tmp8_label2) ? _tmp8_label2 : (_tmp8_label2 = g_quark_from_static_string ("Meta_L")))) || (_tmp9_ == ((0 != _tmp8_label3) ? _tmp8_label3 : (_tmp8_label3 = g_quark_from_static_string ("Meta_R"))))) || (_tmp9_ == ((0 != _tmp8_label4) ? _tmp8_label4 : (_tmp8_label4 = g_quark_from_static_string ("Alt_L"))))) || (_tmp9_ == ((0 != _tmp8_label5) ? _tmp8_label5 : (_tmp8_label5 = g_quark_from_static_string ("Alt_R"))))) {
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6281 "Page.c"
+#line 6284 "Page.c"
default:
{
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
GdkEventKey* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 834 "/home/jens/Source/shotwell/src/Page.vala"
+#line 835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = alt_currently_pressed;
-#line 834 "/home/jens/Source/shotwell/src/Page.vala"
+#line 835 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp16_) {
-#line 834 "/home/jens/Source/shotwell/src/Page.vala"
+#line 835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = TRUE;
-#line 6294 "Page.c"
+#line 6297 "Page.c"
} else {
gboolean _tmp17_ = FALSE;
-#line 834 "/home/jens/Source/shotwell/src/Page.vala"
+#line 835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->alt_pressed;
-#line 834 "/home/jens/Source/shotwell/src/Page.vala"
+#line 835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp17_;
-#line 6301 "Page.c"
+#line 6304 "Page.c"
}
-#line 834 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp15_) {
#line 835 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp15_) {
+#line 836 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 835 "/home/jens/Source/shotwell/src/Page.vala"
+#line 836 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6309 "Page.c"
+#line 6312 "Page.c"
}
-#line 837 "/home/jens/Source/shotwell/src/Page.vala"
+#line 838 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->alt_pressed = TRUE;
-#line 839 "/home/jens/Source/shotwell/src/Page.vala"
+#line 840 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = event;
-#line 839 "/home/jens/Source/shotwell/src/Page.vala"
+#line 840 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_on_alt_pressed (self, _tmp18_);
-#line 839 "/home/jens/Source/shotwell/src/Page.vala"
+#line 840 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp19_;
-#line 839 "/home/jens/Source/shotwell/src/Page.vala"
+#line 840 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6321 "Page.c"
+#line 6324 "Page.c"
}
}
} else if ((_tmp9_ == ((0 != _tmp8_label6) ? _tmp8_label6 : (_tmp8_label6 = g_quark_from_static_string ("Shift_L")))) || (_tmp9_ == ((0 != _tmp8_label7) ? _tmp8_label7 : (_tmp8_label7 = g_quark_from_static_string ("Shift_R"))))) {
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6327 "Page.c"
+#line 6330 "Page.c"
default:
{
gboolean _tmp20_ = FALSE;
gboolean _tmp21_ = FALSE;
GdkEventKey* _tmp23_ = NULL;
gboolean _tmp24_ = FALSE;
-#line 843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 844 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = shift_currently_pressed;
-#line 843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 844 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp21_) {
-#line 843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 844 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = TRUE;
-#line 6340 "Page.c"
+#line 6343 "Page.c"
} else {
gboolean _tmp22_ = FALSE;
-#line 843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 844 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->shift_pressed;
-#line 843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 844 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp22_;
-#line 6347 "Page.c"
+#line 6350 "Page.c"
}
-#line 843 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp20_) {
#line 844 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp20_) {
+#line 845 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 844 "/home/jens/Source/shotwell/src/Page.vala"
+#line 845 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6355 "Page.c"
+#line 6358 "Page.c"
}
-#line 846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 847 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->shift_pressed = TRUE;
-#line 848 "/home/jens/Source/shotwell/src/Page.vala"
+#line 849 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = event;
-#line 848 "/home/jens/Source/shotwell/src/Page.vala"
+#line 849 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = page_on_shift_pressed (self, _tmp23_);
-#line 848 "/home/jens/Source/shotwell/src/Page.vala"
+#line 849 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp24_;
-#line 848 "/home/jens/Source/shotwell/src/Page.vala"
+#line 849 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6367 "Page.c"
+#line 6370 "Page.c"
}
}
} else if ((_tmp9_ == ((0 != _tmp8_label8) ? _tmp8_label8 : (_tmp8_label8 = g_quark_from_static_string ("Super_L")))) || (_tmp9_ == ((0 != _tmp8_label9) ? _tmp8_label9 : (_tmp8_label9 = g_quark_from_static_string ("Super_R"))))) {
-#line 820 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6373 "Page.c"
+#line 6376 "Page.c"
default:
{
gboolean _tmp25_ = FALSE;
gboolean _tmp26_ = FALSE;
GdkEventKey* _tmp28_ = NULL;
gboolean _tmp29_ = FALSE;
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 853 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = super_currently_pressed;
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 853 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp26_) {
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 853 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = TRUE;
-#line 6386 "Page.c"
+#line 6389 "Page.c"
} else {
gboolean _tmp27_ = FALSE;
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 853 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->super_pressed;
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 853 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp27_;
-#line 6393 "Page.c"
+#line 6396 "Page.c"
}
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp25_) {
#line 853 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp25_) {
+#line 854 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 854 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6401 "Page.c"
+#line 6404 "Page.c"
}
-#line 855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 856 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->super_pressed = TRUE;
-#line 857 "/home/jens/Source/shotwell/src/Page.vala"
+#line 858 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = event;
-#line 857 "/home/jens/Source/shotwell/src/Page.vala"
+#line 858 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = page_on_super_pressed (self, _tmp28_);
-#line 857 "/home/jens/Source/shotwell/src/Page.vala"
+#line 858 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp29_;
-#line 857 "/home/jens/Source/shotwell/src/Page.vala"
+#line 858 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6413 "Page.c"
+#line 6416 "Page.c"
}
}
}
-#line 860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = event;
-#line 860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = page_on_app_key_pressed (self, _tmp30_);
-#line 860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 861 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp31_;
-#line 860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 861 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6425 "Page.c"
+#line 6428 "Page.c"
}
@@ -6440,406 +6443,406 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
const gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
GQuark _tmp9_ = 0U;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label0 = 0;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label1 = 0;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label2 = 0;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label3 = 0;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label4 = 0;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label5 = 0;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label6 = 0;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label7 = 0;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label8 = 0;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label9 = 0;
-#line 6464 "Page.c"
+#line 6467 "Page.c"
GdkEventKey* _tmp30_ = NULL;
gboolean _tmp31_ = FALSE;
-#line 863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 864 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 864 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 867 "/home/jens/Source/shotwell/src/Page.vala"
page_get_modifiers (self, &_tmp0_, &_tmp1_, &_tmp2_, &_tmp3_);
-#line 866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 867 "/home/jens/Source/shotwell/src/Page.vala"
ctrl_currently_pressed = _tmp0_;
-#line 866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 867 "/home/jens/Source/shotwell/src/Page.vala"
alt_currently_pressed = _tmp1_;
-#line 866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 867 "/home/jens/Source/shotwell/src/Page.vala"
shift_currently_pressed = _tmp2_;
-#line 866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 867 "/home/jens/Source/shotwell/src/Page.vala"
super_currently_pressed = _tmp3_;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->keyval;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gdk_keyval_name (_tmp5_);
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = (NULL == _tmp7_) ? 0 : g_quark_from_string (_tmp7_);
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
if ((_tmp9_ == ((0 != _tmp8_label0) ? _tmp8_label0 : (_tmp8_label0 = g_quark_from_static_string ("Control_L")))) || (_tmp9_ == ((0 != _tmp8_label1) ? _tmp8_label1 : (_tmp8_label1 = g_quark_from_static_string ("Control_R"))))) {
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6495 "Page.c"
+#line 6498 "Page.c"
default:
{
gboolean _tmp10_ = FALSE;
gboolean _tmp11_ = FALSE;
GdkEventKey* _tmp13_ = NULL;
gboolean _tmp14_ = FALSE;
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = ctrl_currently_pressed;
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 873 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_) {
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = TRUE;
-#line 6508 "Page.c"
+#line 6511 "Page.c"
} else {
gboolean _tmp12_ = FALSE;
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->ctrl_pressed;
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = !_tmp12_;
-#line 6515 "Page.c"
+#line 6518 "Page.c"
}
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp10_) {
#line 873 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp10_) {
+#line 874 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 874 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6523 "Page.c"
+#line 6526 "Page.c"
}
-#line 875 "/home/jens/Source/shotwell/src/Page.vala"
+#line 876 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->ctrl_pressed = FALSE;
-#line 877 "/home/jens/Source/shotwell/src/Page.vala"
+#line 878 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = event;
-#line 877 "/home/jens/Source/shotwell/src/Page.vala"
+#line 878 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = page_on_ctrl_released (self, _tmp13_);
-#line 877 "/home/jens/Source/shotwell/src/Page.vala"
+#line 878 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp14_;
-#line 877 "/home/jens/Source/shotwell/src/Page.vala"
+#line 878 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6535 "Page.c"
+#line 6538 "Page.c"
}
}
} else if ((((_tmp9_ == ((0 != _tmp8_label2) ? _tmp8_label2 : (_tmp8_label2 = g_quark_from_static_string ("Meta_L")))) || (_tmp9_ == ((0 != _tmp8_label3) ? _tmp8_label3 : (_tmp8_label3 = g_quark_from_static_string ("Meta_R"))))) || (_tmp9_ == ((0 != _tmp8_label4) ? _tmp8_label4 : (_tmp8_label4 = g_quark_from_static_string ("Alt_L"))))) || (_tmp9_ == ((0 != _tmp8_label5) ? _tmp8_label5 : (_tmp8_label5 = g_quark_from_static_string ("Alt_R"))))) {
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6541 "Page.c"
+#line 6544 "Page.c"
default:
{
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
GdkEventKey* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = alt_currently_pressed;
-#line 883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 884 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp16_) {
-#line 883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = TRUE;
-#line 6554 "Page.c"
+#line 6557 "Page.c"
} else {
gboolean _tmp17_ = FALSE;
-#line 883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->alt_pressed;
-#line 883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 884 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = !_tmp17_;
-#line 6561 "Page.c"
+#line 6564 "Page.c"
}
-#line 883 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp15_) {
#line 884 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp15_) {
+#line 885 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 884 "/home/jens/Source/shotwell/src/Page.vala"
+#line 885 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6569 "Page.c"
+#line 6572 "Page.c"
}
-#line 886 "/home/jens/Source/shotwell/src/Page.vala"
+#line 887 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->alt_pressed = FALSE;
-#line 888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 889 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = event;
-#line 888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 889 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_on_alt_released (self, _tmp18_);
-#line 888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 889 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp19_;
-#line 888 "/home/jens/Source/shotwell/src/Page.vala"
+#line 889 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6581 "Page.c"
+#line 6584 "Page.c"
}
}
} else if ((_tmp9_ == ((0 != _tmp8_label6) ? _tmp8_label6 : (_tmp8_label6 = g_quark_from_static_string ("Shift_L")))) || (_tmp9_ == ((0 != _tmp8_label7) ? _tmp8_label7 : (_tmp8_label7 = g_quark_from_static_string ("Shift_R"))))) {
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6587 "Page.c"
+#line 6590 "Page.c"
default:
{
gboolean _tmp20_ = FALSE;
gboolean _tmp21_ = FALSE;
GdkEventKey* _tmp23_ = NULL;
gboolean _tmp24_ = FALSE;
-#line 892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = shift_currently_pressed;
-#line 892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 893 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = TRUE;
-#line 6600 "Page.c"
+#line 6603 "Page.c"
} else {
gboolean _tmp22_ = FALSE;
-#line 892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->shift_pressed;
-#line 892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = !_tmp22_;
-#line 6607 "Page.c"
+#line 6610 "Page.c"
}
-#line 892 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp20_) {
#line 893 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp20_) {
+#line 894 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 893 "/home/jens/Source/shotwell/src/Page.vala"
+#line 894 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6615 "Page.c"
+#line 6618 "Page.c"
}
-#line 895 "/home/jens/Source/shotwell/src/Page.vala"
+#line 896 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->shift_pressed = FALSE;
-#line 897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 898 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = event;
-#line 897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 898 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = page_on_shift_released (self, _tmp23_);
-#line 897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 898 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp24_;
-#line 897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 898 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6627 "Page.c"
+#line 6630 "Page.c"
}
}
} else if ((_tmp9_ == ((0 != _tmp8_label8) ? _tmp8_label8 : (_tmp8_label8 = g_quark_from_static_string ("Super_L")))) || (_tmp9_ == ((0 != _tmp8_label9) ? _tmp8_label9 : (_tmp8_label9 = g_quark_from_static_string ("Super_R"))))) {
-#line 869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6633 "Page.c"
+#line 6636 "Page.c"
default:
{
gboolean _tmp25_ = FALSE;
gboolean _tmp26_ = FALSE;
GdkEventKey* _tmp28_ = NULL;
gboolean _tmp29_ = FALSE;
-#line 901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = super_currently_pressed;
-#line 901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 902 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp26_) {
-#line 901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = TRUE;
-#line 6646 "Page.c"
+#line 6649 "Page.c"
} else {
gboolean _tmp27_ = FALSE;
-#line 901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->super_pressed;
-#line 901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = !_tmp27_;
-#line 6653 "Page.c"
+#line 6656 "Page.c"
}
-#line 901 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp25_) {
#line 902 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp25_) {
+#line 903 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 902 "/home/jens/Source/shotwell/src/Page.vala"
+#line 903 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6661 "Page.c"
+#line 6664 "Page.c"
}
-#line 904 "/home/jens/Source/shotwell/src/Page.vala"
+#line 905 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->super_pressed = FALSE;
-#line 906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 907 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = event;
-#line 906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 907 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = page_on_super_released (self, _tmp28_);
-#line 906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 907 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp29_;
-#line 906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 907 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6673 "Page.c"
+#line 6676 "Page.c"
}
}
}
-#line 909 "/home/jens/Source/shotwell/src/Page.vala"
+#line 910 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = event;
-#line 909 "/home/jens/Source/shotwell/src/Page.vala"
+#line 910 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = page_on_app_key_released (self, _tmp30_);
-#line 909 "/home/jens/Source/shotwell/src/Page.vala"
+#line 910 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp31_;
-#line 909 "/home/jens/Source/shotwell/src/Page.vala"
+#line 910 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6685 "Page.c"
+#line 6688 "Page.c"
}
gboolean page_notify_app_focus_in (Page* self, GdkEventFocus* event) {
gboolean result = FALSE;
-#line 912 "/home/jens/Source/shotwell/src/Page.vala"
+#line 913 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 912 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 913 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 914 "/home/jens/Source/shotwell/src/Page.vala"
page_update_modifiers (self);
-#line 915 "/home/jens/Source/shotwell/src/Page.vala"
+#line 916 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 915 "/home/jens/Source/shotwell/src/Page.vala"
+#line 916 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6701 "Page.c"
+#line 6704 "Page.c"
}
gboolean page_notify_app_focus_out (Page* self, GdkEventFocus* event) {
gboolean result = FALSE;
-#line 918 "/home/jens/Source/shotwell/src/Page.vala"
+#line 919 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 918 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 919 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 920 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 919 "/home/jens/Source/shotwell/src/Page.vala"
+#line 920 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6715 "Page.c"
+#line 6718 "Page.c"
}
static void page_real_on_move (Page* self, GdkRectangle* rect) {
-#line 922 "/home/jens/Source/shotwell/src/Page.vala"
+#line 923 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6722 "Page.c"
+#line 6725 "Page.c"
}
void page_on_move (Page* self, GdkRectangle* rect) {
-#line 922 "/home/jens/Source/shotwell/src/Page.vala"
+#line 923 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 922 "/home/jens/Source/shotwell/src/Page.vala"
+#line 923 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_move (self, rect);
-#line 6731 "Page.c"
+#line 6734 "Page.c"
}
static void page_real_on_move_start (Page* self, GdkRectangle* rect) {
-#line 925 "/home/jens/Source/shotwell/src/Page.vala"
+#line 926 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6738 "Page.c"
+#line 6741 "Page.c"
}
void page_on_move_start (Page* self, GdkRectangle* rect) {
-#line 925 "/home/jens/Source/shotwell/src/Page.vala"
+#line 926 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 925 "/home/jens/Source/shotwell/src/Page.vala"
+#line 926 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_move_start (self, rect);
-#line 6747 "Page.c"
+#line 6750 "Page.c"
}
static void page_real_on_move_finished (Page* self, GdkRectangle* rect) {
-#line 928 "/home/jens/Source/shotwell/src/Page.vala"
+#line 929 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6754 "Page.c"
+#line 6757 "Page.c"
}
void page_on_move_finished (Page* self, GdkRectangle* rect) {
-#line 928 "/home/jens/Source/shotwell/src/Page.vala"
+#line 929 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 928 "/home/jens/Source/shotwell/src/Page.vala"
+#line 929 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_move_finished (self, rect);
-#line 6763 "Page.c"
+#line 6766 "Page.c"
}
static void page_real_on_resize (Page* self, GdkRectangle* rect) {
-#line 931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 932 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6770 "Page.c"
+#line 6773 "Page.c"
}
void page_on_resize (Page* self, GdkRectangle* rect) {
-#line 931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 932 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 932 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_resize (self, rect);
-#line 6779 "Page.c"
+#line 6782 "Page.c"
}
static void page_real_on_resize_start (Page* self, GdkRectangle* rect) {
-#line 934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6786 "Page.c"
+#line 6789 "Page.c"
}
void page_on_resize_start (Page* self, GdkRectangle* rect) {
-#line 934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_resize_start (self, rect);
-#line 6795 "Page.c"
+#line 6798 "Page.c"
}
static void page_real_on_resize_finished (Page* self, GdkRectangle* rect) {
-#line 937 "/home/jens/Source/shotwell/src/Page.vala"
+#line 938 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6802 "Page.c"
+#line 6805 "Page.c"
}
void page_on_resize_finished (Page* self, GdkRectangle* rect) {
-#line 937 "/home/jens/Source/shotwell/src/Page.vala"
+#line 938 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 937 "/home/jens/Source/shotwell/src/Page.vala"
+#line 938 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_resize_finished (self, rect);
-#line 6811 "Page.c"
+#line 6814 "Page.c"
}
static gboolean page_real_on_configure (Page* self, GdkEventConfigure* event, GdkRectangle* rect) {
gboolean result = FALSE;
-#line 940 "/home/jens/Source/shotwell/src/Page.vala"
+#line 941 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 940 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (rect != NULL, FALSE);
#line 941 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (rect != NULL, FALSE);
+#line 942 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 941 "/home/jens/Source/shotwell/src/Page.vala"
+#line 942 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6825 "Page.c"
+#line 6828 "Page.c"
}
gboolean page_on_configure (Page* self, GdkEventConfigure* event, GdkRectangle* rect) {
-#line 940 "/home/jens/Source/shotwell/src/Page.vala"
+#line 941 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 940 "/home/jens/Source/shotwell/src/Page.vala"
+#line 941 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_configure (self, event, rect);
-#line 6834 "Page.c"
+#line 6837 "Page.c"
}
static gboolean _page_check_configure_halted_gsource_func (gpointer self) {
gboolean result;
result = page_check_configure_halted ((Page*) self);
-#line 965 "/home/jens/Source/shotwell/src/Page.vala"
+#line 966 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6843 "Page.c"
+#line 6846 "Page.c"
}
@@ -6870,41 +6873,41 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
GdkEventConfigure* _tmp51_ = NULL;
GdkRectangle _tmp52_ = {0};
gboolean _tmp53_ = FALSE;
-#line 944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 945 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 944 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 945 "/home/jens/Source/shotwell/src/Page.vala"
- memset (&rect, 0, sizeof (GdkRectangle));
+ g_return_val_if_fail (event != NULL, FALSE);
#line 946 "/home/jens/Source/shotwell/src/Page.vala"
+ memset (&rect, 0, sizeof (GdkRectangle));
+#line 947 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 946 "/home/jens/Source/shotwell/src/Page.vala"
+#line 947 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->x;
-#line 946 "/home/jens/Source/shotwell/src/Page.vala"
- rect.x = _tmp1_;
#line 947 "/home/jens/Source/shotwell/src/Page.vala"
+ rect.x = _tmp1_;
+#line 948 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
-#line 947 "/home/jens/Source/shotwell/src/Page.vala"
+#line 948 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_->y;
-#line 947 "/home/jens/Source/shotwell/src/Page.vala"
- rect.y = _tmp3_;
#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+ rect.y = _tmp3_;
+#line 949 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 949 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->width;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
- rect.width = _tmp5_;
#line 949 "/home/jens/Source/shotwell/src/Page.vala"
+ rect.width = _tmp5_;
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = event;
-#line 949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_->height;
-#line 949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
rect.height = _tmp7_;
-#line 952 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->last_configure_ms;
-#line 952 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp8_ == ((gulong) 0)) {
-#line 6908 "Page.c"
+#line 6911 "Page.c"
gboolean _tmp9_ = FALSE;
GdkRectangle _tmp10_ = {0};
gint _tmp11_ = 0;
@@ -6915,193 +6918,193 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
gint _tmp21_ = 0;
GdkRectangle _tmp22_ = {0};
gint _tmp23_ = 0;
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->last_position;
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_.x;
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = rect;
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_.x;
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_ != _tmp13_) {
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = TRUE;
-#line 6931 "Page.c"
+#line 6934 "Page.c"
} else {
GdkRectangle _tmp14_ = {0};
gint _tmp15_ = 0;
GdkRectangle _tmp16_ = {0};
gint _tmp17_ = 0;
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->last_position;
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_.y;
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = rect;
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = _tmp16_.y;
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp15_ != _tmp17_;
-#line 6947 "Page.c"
+#line 6950 "Page.c"
}
-#line 953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp9_) {
-#line 6951 "Page.c"
+#line 6954 "Page.c"
GdkRectangle _tmp18_ = {0};
-#line 954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 955 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = rect;
-#line 954 "/home/jens/Source/shotwell/src/Page.vala"
- page_on_move_start (self, &_tmp18_);
#line 955 "/home/jens/Source/shotwell/src/Page.vala"
+ page_on_move_start (self, &_tmp18_);
+#line 956 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->report_move_finished = TRUE;
-#line 6959 "Page.c"
+#line 6962 "Page.c"
}
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->last_position;
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_.width;
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = rect;
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_.width;
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_ != _tmp23_) {
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = TRUE;
-#line 6973 "Page.c"
+#line 6976 "Page.c"
} else {
GdkRectangle _tmp24_ = {0};
gint _tmp25_ = 0;
GdkRectangle _tmp26_ = {0};
gint _tmp27_ = 0;
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = self->priv->last_position;
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp24_.height;
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = rect;
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_.height;
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _tmp25_ != _tmp27_;
-#line 6989 "Page.c"
+#line 6992 "Page.c"
}
-#line 958 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp19_) {
-#line 6993 "Page.c"
+#line 6996 "Page.c"
GdkRectangle _tmp28_ = {0};
-#line 959 "/home/jens/Source/shotwell/src/Page.vala"
+#line 960 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = rect;
-#line 959 "/home/jens/Source/shotwell/src/Page.vala"
- page_on_resize_start (self, &_tmp28_);
#line 960 "/home/jens/Source/shotwell/src/Page.vala"
+ page_on_resize_start (self, &_tmp28_);
+#line 961 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->report_resize_finished = TRUE;
-#line 7001 "Page.c"
+#line 7004 "Page.c"
}
-#line 965 "/home/jens/Source/shotwell/src/Page.vala"
+#line 966 "/home/jens/Source/shotwell/src/Page.vala"
g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) (PAGE_CONSIDER_CONFIGURE_HALTED_MSEC / 8), _page_check_configure_halted_gsource_func, g_object_ref (self), g_object_unref);
-#line 7005 "Page.c"
+#line 7008 "Page.c"
}
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = self->priv->last_position;
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = _tmp30_.x;
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = rect;
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_.x;
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp31_ != _tmp33_) {
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = TRUE;
-#line 7019 "Page.c"
+#line 7022 "Page.c"
} else {
GdkRectangle _tmp34_ = {0};
gint _tmp35_ = 0;
GdkRectangle _tmp36_ = {0};
gint _tmp37_ = 0;
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = self->priv->last_position;
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = _tmp34_.y;
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = rect;
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = _tmp36_.y;
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp35_ != _tmp37_;
-#line 7035 "Page.c"
+#line 7038 "Page.c"
}
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 969 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_) {
-#line 7039 "Page.c"
+#line 7042 "Page.c"
GdkRectangle _tmp38_ = {0};
-#line 969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 970 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = rect;
-#line 969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 970 "/home/jens/Source/shotwell/src/Page.vala"
page_on_move (self, &_tmp38_);
-#line 7045 "Page.c"
+#line 7048 "Page.c"
}
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = self->priv->last_position;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_.width;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = rect;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = _tmp42_.width;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp41_ != _tmp43_) {
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = TRUE;
-#line 7059 "Page.c"
+#line 7062 "Page.c"
} else {
GdkRectangle _tmp44_ = {0};
gint _tmp45_ = 0;
GdkRectangle _tmp46_ = {0};
gint _tmp47_ = 0;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = self->priv->last_position;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _tmp44_.height;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = rect;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = _tmp46_.height;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp45_ != _tmp47_;
-#line 7075 "Page.c"
+#line 7078 "Page.c"
}
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp39_) {
-#line 7079 "Page.c"
+#line 7082 "Page.c"
GdkRectangle _tmp48_ = {0};
-#line 972 "/home/jens/Source/shotwell/src/Page.vala"
+#line 973 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = rect;
-#line 972 "/home/jens/Source/shotwell/src/Page.vala"
+#line 973 "/home/jens/Source/shotwell/src/Page.vala"
page_on_resize (self, &_tmp48_);
-#line 7085 "Page.c"
+#line 7088 "Page.c"
}
-#line 974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 975 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = rect;
-#line 974 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->last_position = _tmp49_;
#line 975 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->last_position = _tmp49_;
+#line 976 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = now_ms ();
-#line 975 "/home/jens/Source/shotwell/src/Page.vala"
+#line 976 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_configure_ms = _tmp50_;
-#line 977 "/home/jens/Source/shotwell/src/Page.vala"
+#line 978 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = event;
-#line 977 "/home/jens/Source/shotwell/src/Page.vala"
+#line 978 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = rect;
-#line 977 "/home/jens/Source/shotwell/src/Page.vala"
+#line 978 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = page_on_configure (self, _tmp51_, &_tmp52_);
-#line 977 "/home/jens/Source/shotwell/src/Page.vala"
+#line 978 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp53_;
-#line 977 "/home/jens/Source/shotwell/src/Page.vala"
+#line 978 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7105 "Page.c"
+#line 7108 "Page.c"
}
@@ -7114,117 +7117,117 @@ static gboolean page_check_configure_halted (Page* self) {
GtkAllocation _tmp3_ = {0};
gboolean _tmp4_ = FALSE;
gboolean _tmp7_ = FALSE;
-#line 980 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 981 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_PAGE (self), FALSE);
+#line 982 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->is_destroyed;
-#line 981 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp0_) {
#line 982 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp0_) {
+#line 983 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 982 "/home/jens/Source/shotwell/src/Page.vala"
+#line 983 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7128 "Page.c"
+#line 7131 "Page.c"
}
-#line 984 "/home/jens/Source/shotwell/src/Page.vala"
+#line 985 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = now_ms ();
-#line 984 "/home/jens/Source/shotwell/src/Page.vala"
+#line 985 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->last_configure_ms;
-#line 984 "/home/jens/Source/shotwell/src/Page.vala"
- if ((_tmp1_ - _tmp2_) < ((gulong) PAGE_CONSIDER_CONFIGURE_HALTED_MSEC)) {
#line 985 "/home/jens/Source/shotwell/src/Page.vala"
+ if ((_tmp1_ - _tmp2_) < ((gulong) PAGE_CONSIDER_CONFIGURE_HALTED_MSEC)) {
+#line 986 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 985 "/home/jens/Source/shotwell/src/Page.vala"
+#line 986 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7140 "Page.c"
+#line 7143 "Page.c"
}
-#line 988 "/home/jens/Source/shotwell/src/Page.vala"
+#line 989 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), &_tmp3_);
-#line 988 "/home/jens/Source/shotwell/src/Page.vala"
+#line 989 "/home/jens/Source/shotwell/src/Page.vala"
allocation = _tmp3_;
-#line 990 "/home/jens/Source/shotwell/src/Page.vala"
+#line 991 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->report_move_finished;
-#line 990 "/home/jens/Source/shotwell/src/Page.vala"
+#line 991 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 7150 "Page.c"
+#line 7153 "Page.c"
GtkAllocation _tmp5_ = {0};
GdkRectangle _tmp6_ = {0};
-#line 991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 992 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = allocation;
-#line 991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 992 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = (GdkRectangle) _tmp5_;
-#line 991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 992 "/home/jens/Source/shotwell/src/Page.vala"
page_on_move_finished (self, &_tmp6_);
-#line 7159 "Page.c"
+#line 7162 "Page.c"
}
-#line 993 "/home/jens/Source/shotwell/src/Page.vala"
+#line 994 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->report_resize_finished;
-#line 993 "/home/jens/Source/shotwell/src/Page.vala"
+#line 994 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp7_) {
-#line 7165 "Page.c"
+#line 7168 "Page.c"
GtkAllocation _tmp8_ = {0};
GdkRectangle _tmp9_ = {0};
-#line 994 "/home/jens/Source/shotwell/src/Page.vala"
+#line 995 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = allocation;
-#line 994 "/home/jens/Source/shotwell/src/Page.vala"
+#line 995 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = (GdkRectangle) _tmp8_;
-#line 994 "/home/jens/Source/shotwell/src/Page.vala"
+#line 995 "/home/jens/Source/shotwell/src/Page.vala"
page_on_resize_finished (self, &_tmp9_);
-#line 7174 "Page.c"
+#line 7177 "Page.c"
}
-#line 996 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->last_configure_ms = (gulong) 0;
#line 997 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->report_move_finished = FALSE;
+ self->priv->last_configure_ms = (gulong) 0;
#line 998 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->report_move_finished = FALSE;
+#line 999 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->report_resize_finished = FALSE;
-#line 1000 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1000 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7186 "Page.c"
+#line 7189 "Page.c"
}
static gboolean page_real_on_motion (Page* self, GdkEventMotion* event, gint x, gint y, GdkModifierType mask) {
gboolean result = FALSE;
-#line 1003 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 1004 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 1005 "/home/jens/Source/shotwell/src/Page.vala"
page_check_cursor_hiding (self);
-#line 1006 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1007 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1006 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1007 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7200 "Page.c"
+#line 7203 "Page.c"
}
gboolean page_on_motion (Page* self, GdkEventMotion* event, gint x, gint y, GdkModifierType mask) {
-#line 1003 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1004 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1003 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1004 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_motion (self, event, x, y, mask);
-#line 7209 "Page.c"
+#line 7212 "Page.c"
}
static gboolean page_real_on_leave_notify_event (Page* self) {
gboolean result = FALSE;
-#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1011 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1011 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7219 "Page.c"
+#line 7222 "Page.c"
}
gboolean page_on_leave_notify_event (Page* self) {
-#line 1009 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1009 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_leave_notify_event (self);
-#line 7228 "Page.c"
+#line 7231 "Page.c"
}
@@ -7240,29 +7243,29 @@ static gboolean page_on_motion_internal (Page* self, GdkEventMotion* event) {
gint _tmp13_ = 0;
GdkModifierType _tmp14_ = 0;
gboolean _tmp15_ = FALSE;
-#line 1013 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1014 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1013 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1014 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1016 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1017 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 1016 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1017 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->is_hint;
-#line 1016 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1017 "/home/jens/Source/shotwell/src/Page.vala"
if (((gint) _tmp1_) == 1) {
-#line 7254 "Page.c"
+#line 7257 "Page.c"
gint _tmp2_ = 0;
gint _tmp3_ = 0;
GdkModifierType _tmp4_ = 0;
-#line 1017 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Page.vala"
page_get_event_source_pointer (self, &_tmp2_, &_tmp3_, &_tmp4_);
-#line 1017 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Page.vala"
x = _tmp2_;
-#line 1017 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Page.vala"
y = _tmp3_;
-#line 1017 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Page.vala"
mask = _tmp4_;
-#line 7266 "Page.c"
+#line 7269 "Page.c"
} else {
GdkEventMotion* _tmp5_ = NULL;
gdouble _tmp6_ = 0.0;
@@ -7270,41 +7273,41 @@ static gboolean page_on_motion_internal (Page* self, GdkEventMotion* event) {
gdouble _tmp8_ = 0.0;
GdkEventMotion* _tmp9_ = NULL;
GdkModifierType _tmp10_ = 0;
-#line 1019 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1020 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
-#line 1019 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1020 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_->x;
-#line 1019 "/home/jens/Source/shotwell/src/Page.vala"
- x = (gint) _tmp6_;
#line 1020 "/home/jens/Source/shotwell/src/Page.vala"
+ x = (gint) _tmp6_;
+#line 1021 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
-#line 1020 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1021 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_->y;
-#line 1020 "/home/jens/Source/shotwell/src/Page.vala"
- y = (gint) _tmp8_;
#line 1021 "/home/jens/Source/shotwell/src/Page.vala"
+ y = (gint) _tmp8_;
+#line 1022 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = event;
-#line 1021 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1022 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_->state;
-#line 1021 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1022 "/home/jens/Source/shotwell/src/Page.vala"
mask = _tmp10_;
-#line 7292 "Page.c"
+#line 7295 "Page.c"
}
-#line 1024 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = event;
-#line 1024 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = x;
-#line 1024 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = y;
-#line 1024 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = mask;
-#line 1024 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = page_on_motion (self, _tmp11_, _tmp12_, _tmp13_, _tmp14_);
-#line 1024 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1025 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp15_;
-#line 1024 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1025 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7308 "Page.c"
+#line 7311 "Page.c"
}
@@ -7312,87 +7315,87 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event)
gboolean result = FALSE;
GdkEventScroll* _tmp0_ = NULL;
GdkScrollDirection _tmp1_ = 0;
-#line 1027 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1027 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 1029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->direction;
-#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1029 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp1_) {
-#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1029 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SCROLL_UP:
-#line 7328 "Page.c"
+#line 7331 "Page.c"
{
GdkEventScroll* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 1030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1031 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
-#line 1030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1031 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = page_on_mousewheel_up (self, _tmp2_);
-#line 1030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1031 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 1030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1031 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7340 "Page.c"
+#line 7343 "Page.c"
}
-#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1029 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SCROLL_DOWN:
-#line 7344 "Page.c"
+#line 7347 "Page.c"
{
GdkEventScroll* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 1033 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1034 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 1033 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1034 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_on_mousewheel_down (self, _tmp4_);
-#line 1033 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1034 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp5_;
-#line 1033 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1034 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7356 "Page.c"
+#line 7359 "Page.c"
}
-#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1029 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SCROLL_LEFT:
-#line 7360 "Page.c"
+#line 7363 "Page.c"
{
GdkEventScroll* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 1036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1037 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = event;
-#line 1036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1037 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_on_mousewheel_left (self, _tmp6_);
-#line 1036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1037 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp7_;
-#line 1036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1037 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7372 "Page.c"
+#line 7375 "Page.c"
}
-#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1029 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SCROLL_RIGHT:
-#line 7376 "Page.c"
+#line 7379 "Page.c"
{
GdkEventScroll* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
-#line 1039 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1040 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = event;
-#line 1039 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1040 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = page_on_mousewheel_right (self, _tmp8_);
-#line 1039 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1040 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp9_;
-#line 1039 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1040 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7388 "Page.c"
+#line 7391 "Page.c"
}
default:
{
-#line 1042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1043 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1043 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7396 "Page.c"
+#line 7399 "Page.c"
}
}
}
@@ -7400,144 +7403,144 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event)
static gboolean page_real_on_mousewheel_up (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1046 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 1048 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1048 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7410 "Page.c"
+#line 7413 "Page.c"
}
gboolean page_on_mousewheel_up (Page* self, GdkEventScroll* event) {
-#line 1046 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1046 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_up (self, event);
-#line 7419 "Page.c"
+#line 7422 "Page.c"
}
static gboolean page_real_on_mousewheel_down (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1050 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 1052 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1052 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7431 "Page.c"
+#line 7434 "Page.c"
}
gboolean page_on_mousewheel_down (Page* self, GdkEventScroll* event) {
-#line 1050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_down (self, event);
-#line 7440 "Page.c"
+#line 7443 "Page.c"
}
static gboolean page_real_on_mousewheel_left (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1054 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 1055 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 1056 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1055 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1056 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7452 "Page.c"
+#line 7455 "Page.c"
}
gboolean page_on_mousewheel_left (Page* self, GdkEventScroll* event) {
-#line 1054 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1055 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1054 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1055 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_left (self, event);
-#line 7461 "Page.c"
+#line 7464 "Page.c"
}
static gboolean page_real_on_mousewheel_right (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1058 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 1060 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1060 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7473 "Page.c"
+#line 7476 "Page.c"
}
gboolean page_on_mousewheel_right (Page* self, GdkEventScroll* event) {
-#line 1058 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1058 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_right (self, event);
-#line 7482 "Page.c"
+#line 7485 "Page.c"
}
static gboolean page_real_on_context_keypress (Page* self) {
gboolean result = FALSE;
-#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1064 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1064 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7492 "Page.c"
+#line 7495 "Page.c"
}
gboolean page_on_context_keypress (Page* self) {
-#line 1062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_context_keypress (self);
-#line 7501 "Page.c"
+#line 7504 "Page.c"
}
static gboolean page_real_on_context_buttonpress (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 1066 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 1067 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 1068 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1068 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7513 "Page.c"
+#line 7516 "Page.c"
}
gboolean page_on_context_buttonpress (Page* self, GdkEventButton* event) {
-#line 1066 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1067 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1066 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1067 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_context_buttonpress (self, event);
-#line 7522 "Page.c"
+#line 7525 "Page.c"
}
static gboolean page_real_on_context_invoked (Page* self) {
gboolean result = FALSE;
-#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7532 "Page.c"
+#line 7535 "Page.c"
}
gboolean page_on_context_invoked (Page* self) {
-#line 1070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_context_invoked (self);
-#line 7541 "Page.c"
+#line 7544 "Page.c"
}
@@ -7546,72 +7549,72 @@ gboolean page_popup_context_menu (Page* self, GtkMenu* context_menu, GdkEventBut
gboolean _tmp0_ = FALSE;
GtkMenu* _tmp1_ = NULL;
GdkEventButton* _tmp3_ = NULL;
-#line 1074 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1075 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1074 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1075 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail ((context_menu == NULL) || GTK_IS_MENU (context_menu), FALSE);
-#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = context_menu;
-#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ == NULL) {
-#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = TRUE;
-#line 7560 "Page.c"
+#line 7563 "Page.c"
} else {
gboolean _tmp2_ = FALSE;
-#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_on_context_invoked (self);
-#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = !_tmp2_;
-#line 7567 "Page.c"
+#line 7570 "Page.c"
}
-#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp0_) {
#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp0_) {
+#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7575 "Page.c"
+#line 7578 "Page.c"
}
-#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ == NULL) {
-#line 7581 "Page.c"
+#line 7584 "Page.c"
GtkMenu* _tmp4_ = NULL;
guint32 _tmp5_ = 0U;
-#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = context_menu;
-#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_get_current_event_time ();
-#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
gtk_menu_popup (_tmp4_, NULL, NULL, NULL, NULL, (guint) 0, _tmp5_);
-#line 7590 "Page.c"
+#line 7593 "Page.c"
} else {
GtkMenu* _tmp6_ = NULL;
GdkEventButton* _tmp7_ = NULL;
guint _tmp8_ = 0U;
GdkEventButton* _tmp9_ = NULL;
guint32 _tmp10_ = 0U;
-#line 1083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = context_menu;
-#line 1083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
-#line 1083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_->button;
-#line 1083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = event;
-#line 1083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_->time;
-#line 1083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
gtk_menu_popup (_tmp6_, NULL, NULL, NULL, NULL, _tmp8_, _tmp10_);
-#line 7609 "Page.c"
+#line 7612 "Page.c"
}
-#line 1085 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1086 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1085 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1086 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7615 "Page.c"
+#line 7618 "Page.c"
}
@@ -7626,166 +7629,166 @@ void page_on_event_source_realize (Page* self) {
GdkWindow* _tmp10_ = NULL;
GdkWindow* _tmp11_ = NULL;
GdkWindow* _tmp20_ = NULL;
-#line 1088 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
#line 1089 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_PAGE (self));
+#line 1090 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 1089 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1090 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gtk_widget_get_window (_tmp0_);
-#line 1089 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1090 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp1_ != NULL, "event_source.get_window() != null");
-#line 1091 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->event_source;
-#line 1091 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_widget_get_window (_tmp2_);
-#line 1091 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gdk_window_get_cursor (_tmp3_);
-#line 1091 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ != NULL) {
-#line 7646 "Page.c"
+#line 7649 "Page.c"
GtkWidget* _tmp5_ = NULL;
GdkWindow* _tmp6_ = NULL;
GdkCursor* _tmp7_ = NULL;
GdkCursorType _tmp8_ = 0;
-#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gtk_widget_get_window (_tmp5_);
-#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = gdk_window_get_cursor (_tmp6_);
-#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gdk_cursor_get_cursor_type (_tmp7_);
-#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->last_cursor = _tmp8_;
#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->last_cursor = _tmp8_;
+#line 1094 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 7663 "Page.c"
+#line 7666 "Page.c"
}
-#line 1097 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->event_source;
-#line 1097 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = gtk_widget_get_window (_tmp9_);
-#line 1097 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _g_object_ref0 (_tmp10_);
-#line 1097 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
parent_window = _tmp11_;
-#line 7673 "Page.c"
+#line 7676 "Page.c"
{
gboolean _tmp12_ = FALSE;
-#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = TRUE;
-#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 7680 "Page.c"
+#line 7683 "Page.c"
GdkWindow* _tmp17_ = NULL;
GdkWindow* _tmp18_ = NULL;
GdkWindow* _tmp19_ = NULL;
-#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp12_) {
-#line 7686 "Page.c"
+#line 7689 "Page.c"
gboolean _tmp13_ = FALSE;
GdkWindow* _tmp14_ = NULL;
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = parent_window;
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp14_ != NULL) {
-#line 7693 "Page.c"
+#line 7696 "Page.c"
GdkWindow* _tmp15_ = NULL;
GdkCursor* _tmp16_ = NULL;
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = parent_window;
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = gdk_window_get_cursor (_tmp15_);
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp16_ == NULL;
-#line 7702 "Page.c"
+#line 7705 "Page.c"
} else {
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = FALSE;
-#line 7706 "Page.c"
+#line 7709 "Page.c"
}
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp13_) {
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 7712 "Page.c"
+#line 7715 "Page.c"
}
}
-#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp12_ = FALSE;
#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp12_ = FALSE;
+#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = parent_window;
-#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = gdk_window_get_parent (_tmp17_);
-#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _g_object_ref0 (_tmp18_);
-#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (parent_window);
-#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
parent_window = _tmp19_;
-#line 7727 "Page.c"
+#line 7730 "Page.c"
}
}
-#line 1102 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = parent_window;
-#line 1102 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_ != NULL) {
-#line 7734 "Page.c"
+#line 7737 "Page.c"
GdkWindow* _tmp21_ = NULL;
GdkCursor* _tmp22_ = NULL;
GdkCursorType _tmp23_ = 0;
-#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1104 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = parent_window;
-#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1104 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = gdk_window_get_cursor (_tmp21_);
-#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1104 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = gdk_cursor_get_cursor_type (_tmp22_);
-#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1104 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_cursor = _tmp23_;
-#line 7746 "Page.c"
+#line 7749 "Page.c"
}
-#line 1088 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1089 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (parent_window);
-#line 7750 "Page.c"
+#line 7753 "Page.c"
}
void page_set_cursor_hide_time (Page* self, gint hide_time) {
gint _tmp0_ = 0;
-#line 1106 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
#line 1107 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_PAGE (self));
+#line 1108 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = hide_time;
-#line 1107 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1108 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_msec = _tmp0_;
-#line 7762 "Page.c"
+#line 7765 "Page.c"
}
void page_start_cursor_hiding (Page* self) {
-#line 1110 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
#line 1111 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_PAGE (self));
+#line 1112 "/home/jens/Source/shotwell/src/Page.vala"
page_check_cursor_hiding (self);
-#line 7771 "Page.c"
+#line 7774 "Page.c"
}
void page_stop_cursor_hiding (Page* self) {
guint _tmp0_ = 0U;
-#line 1114 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
#line 1115 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_PAGE (self));
+#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->last_timeout_id;
-#line 1115 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != ((guint) 0)) {
-#line 7783 "Page.c"
+#line 7786 "Page.c"
guint _tmp1_ = 0U;
-#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->last_timeout_id;
-#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
g_source_remove (_tmp1_);
-#line 7789 "Page.c"
+#line 7792 "Page.c"
}
}
@@ -7793,41 +7796,41 @@ void page_stop_cursor_hiding (Page* self) {
void page_suspend_cursor_hiding (Page* self) {
gint _tmp0_ = 0;
guint _tmp1_ = 0U;
-#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
#line 1120 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_PAGE (self));
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->cursor_hide_msec;
-#line 1120 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_time_cached = _tmp0_;
-#line 1122 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1123 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->last_timeout_id;
-#line 1122 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1123 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != ((guint) 0)) {
-#line 7807 "Page.c"
+#line 7810 "Page.c"
guint _tmp2_ = 0U;
-#line 1123 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1124 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->last_timeout_id;
-#line 1123 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1124 "/home/jens/Source/shotwell/src/Page.vala"
g_source_remove (_tmp2_);
-#line 7813 "Page.c"
+#line 7816 "Page.c"
}
-#line 1125 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1126 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_msec = 0;
-#line 7817 "Page.c"
+#line 7820 "Page.c"
}
void page_restore_cursor_hiding (Page* self) {
gint _tmp0_ = 0;
-#line 1128 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
#line 1129 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_PAGE (self));
+#line 1130 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->cursor_hide_time_cached;
-#line 1129 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->cursor_hide_msec = _tmp0_;
#line 1130 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->cursor_hide_msec = _tmp0_;
+#line 1131 "/home/jens/Source/shotwell/src/Page.vala"
page_check_cursor_hiding (self);
-#line 7831 "Page.c"
+#line 7834 "Page.c"
}
@@ -7835,29 +7838,29 @@ static void page_real_set_page_cursor (Page* self, GdkCursorType cursor_type) {
GdkCursorType _tmp0_ = 0;
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
-#line 1135 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1136 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = cursor_type;
-#line 1135 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1136 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_cursor = _tmp0_;
-#line 1137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->cursor_hidden;
-#line 1137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp2_) {
-#line 7847 "Page.c"
+#line 7850 "Page.c"
GtkWidget* _tmp3_ = NULL;
-#line 1137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 1137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp3_ != NULL;
-#line 7853 "Page.c"
+#line 7856 "Page.c"
} else {
-#line 1137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = FALSE;
-#line 7857 "Page.c"
+#line 7860 "Page.c"
}
-#line 1137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 7861 "Page.c"
+#line 7864 "Page.c"
GdkDisplay* display = NULL;
GtkWidget* _tmp4_ = NULL;
GdkWindow* _tmp5_ = NULL;
@@ -7869,103 +7872,103 @@ static void page_real_set_page_cursor (Page* self, GdkCursorType cursor_type) {
GdkCursorType _tmp11_ = 0;
GdkCursor* _tmp12_ = NULL;
GdkCursor* _tmp13_ = NULL;
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->event_source;
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_widget_get_window (_tmp4_);
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gdk_window_get_display (_tmp5_);
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _g_object_ref0 (_tmp6_);
-#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
- display = _tmp7_;
#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+ display = _tmp7_;
+#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->event_source;
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = gtk_widget_get_window (_tmp8_);
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = display;
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = cursor_type;
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = gdk_cursor_new_for_display (_tmp10_, _tmp11_);
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_set_cursor (_tmp9_, _tmp13_);
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp13_);
-#line 1137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (display);
-#line 7901 "Page.c"
+#line 7904 "Page.c"
}
}
void page_set_page_cursor (Page* self, GdkCursorType cursor_type) {
-#line 1134 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1135 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1134 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1135 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->set_page_cursor (self, cursor_type);
-#line 7911 "Page.c"
+#line 7914 "Page.c"
}
static gboolean _page_on_hide_cursor_gsource_func (gpointer self) {
gboolean result;
result = page_on_hide_cursor ((Page*) self);
-#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1153 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7920 "Page.c"
+#line 7923 "Page.c"
}
static void page_check_cursor_hiding (Page* self) {
gboolean _tmp0_ = FALSE;
gint _tmp2_ = 0;
-#line 1143 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
#line 1144 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_PAGE (self));
+#line 1145 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->cursor_hidden;
-#line 1144 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1145 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 7933 "Page.c"
+#line 7936 "Page.c"
GdkCursorType _tmp1_ = 0;
-#line 1145 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->cursor_hidden = FALSE;
#line 1146 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->cursor_hidden = FALSE;
+#line 1147 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->last_cursor;
-#line 1146 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1147 "/home/jens/Source/shotwell/src/Page.vala"
page_set_page_cursor (self, _tmp1_);
-#line 7941 "Page.c"
+#line 7944 "Page.c"
}
-#line 1149 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->cursor_hide_msec;
-#line 1149 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != 0) {
-#line 7947 "Page.c"
+#line 7950 "Page.c"
guint _tmp3_ = 0U;
gint _tmp5_ = 0;
guint _tmp6_ = 0U;
-#line 1150 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1151 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->last_timeout_id;
-#line 1150 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1151 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != ((guint) 0)) {
-#line 7955 "Page.c"
+#line 7958 "Page.c"
guint _tmp4_ = 0U;
-#line 1151 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->last_timeout_id;
-#line 1151 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
g_source_remove (_tmp4_);
-#line 7961 "Page.c"
+#line 7964 "Page.c"
}
-#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1153 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->cursor_hide_msec;
-#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1153 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) _tmp5_, _page_on_hide_cursor_gsource_func, g_object_ref (self), g_object_unref);
-#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1153 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_timeout_id = _tmp6_;
-#line 7969 "Page.c"
+#line 7972 "Page.c"
}
}
@@ -7973,15 +7976,15 @@ static void page_check_cursor_hiding (Page* self) {
static gboolean page_on_hide_cursor (Page* self) {
gboolean result = FALSE;
GtkWidget* _tmp0_ = NULL;
-#line 1156 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_PAGE (self), FALSE);
#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_PAGE (self), FALSE);
+#line 1158 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hidden = TRUE;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 7985 "Page.c"
+#line 7988 "Page.c"
GdkDisplay* display = NULL;
GtkWidget* _tmp1_ = NULL;
GdkWindow* _tmp2_ = NULL;
@@ -7992,41 +7995,41 @@ static gboolean page_on_hide_cursor (Page* self) {
GdkDisplay* _tmp7_ = NULL;
GdkCursor* _tmp8_ = NULL;
GdkCursor* _tmp9_ = NULL;
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_widget_get_window (_tmp1_);
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gdk_window_get_display (_tmp2_);
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _g_object_ref0 (_tmp3_);
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
- display = _tmp4_;
#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+ display = _tmp4_;
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gtk_widget_get_window (_tmp5_);
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = display;
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gdk_cursor_new_for_display (_tmp7_, GDK_BLANK_CURSOR);
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_set_cursor (_tmp6_, _tmp9_);
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp9_);
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (display);
-#line 8022 "Page.c"
+#line 8025 "Page.c"
}
-#line 1165 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_timeout_id = (guint) 0;
-#line 1167 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1168 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1167 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1168 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8030 "Page.c"
+#line 8033 "Page.c"
}
@@ -8035,25 +8038,25 @@ void page_update_menu_item_label (Page* self, const gchar* id, const gchar* new_
AppWindow* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
-#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1171 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1171 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (id != NULL);
-#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1171 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (new_label != NULL);
-#line 1172 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = app_window_get_instance ();
-#line 1172 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1172 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = id;
-#line 1172 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = new_label;
-#line 1172 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
app_window_update_menu_item_label (_tmp1_, _tmp2_, _tmp3_);
-#line 1172 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 8057 "Page.c"
+#line 8060 "Page.c"
}
@@ -8063,33 +8066,33 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha
GMenuModel* _tmp0_ = NULL;
gint _tmp1_ = 0;
GMenuModel* section = NULL;
-#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (G_IS_MENU_MODEL (model), NULL);
-#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (extension_point != NULL, NULL);
-#line 1177 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = model;
-#line 1177 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_menu_model_get_n_items (_tmp0_);
-#line 1177 "/home/jens/Source/shotwell/src/Page.vala"
- items = _tmp1_;
#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
+ items = _tmp1_;
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
section = NULL;
-#line 8081 "Page.c"
+#line 8084 "Page.c"
{
gint i = 0;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
i = 0;
-#line 8086 "Page.c"
+#line 8089 "Page.c"
{
gboolean _tmp2_ = FALSE;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = TRUE;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 8093 "Page.c"
+#line 8096 "Page.c"
gboolean _tmp4_ = FALSE;
gint _tmp5_ = 0;
gint _tmp6_ = 0;
@@ -8098,71 +8101,71 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha
gint _tmp9_ = 0;
const gchar* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp2_) {
-#line 8104 "Page.c"
+#line 8107 "Page.c"
gint _tmp3_ = 0;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = i;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
i = _tmp3_ + 1;
-#line 8110 "Page.c"
+#line 8113 "Page.c"
}
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = FALSE;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = i;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = items;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_ < _tmp6_) {
-#line 8120 "Page.c"
+#line 8123 "Page.c"
GMenuModel* _tmp7_ = NULL;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = section;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp7_ == NULL;
-#line 8126 "Page.c"
+#line 8129 "Page.c"
} else {
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = FALSE;
-#line 8130 "Page.c"
+#line 8133 "Page.c"
}
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp4_) {
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 8136 "Page.c"
+#line 8139 "Page.c"
}
-#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
- name = NULL;
#line 1182 "/home/jens/Source/shotwell/src/Page.vala"
+ name = NULL;
+#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = model;
-#line 1182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = i;
-#line 1182 "/home/jens/Source/shotwell/src/Page.vala"
- g_menu_model_get_item_attribute (_tmp8_, _tmp9_, "id", "s", &name, NULL);
#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
+ g_menu_model_get_item_attribute (_tmp8_, _tmp9_, "id", "s", &name, NULL);
+#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = name;
-#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = extension_point;
-#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
if (g_strcmp0 (_tmp10_, _tmp11_) == 0) {
-#line 8152 "Page.c"
+#line 8155 "Page.c"
GMenuModel* _tmp12_ = NULL;
gint _tmp13_ = 0;
GMenuModel* _tmp14_ = NULL;
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = model;
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = i;
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = g_menu_model_get_item_link (_tmp12_, _tmp13_, G_MENU_LINK_SECTION);
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (section);
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1185 "/home/jens/Source/shotwell/src/Page.vala"
section = _tmp14_;
-#line 8166 "Page.c"
+#line 8169 "Page.c"
} else {
GMenuModel* subsection = NULL;
GMenuModel* _tmp15_ = NULL;
@@ -8172,45 +8175,45 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha
gint sub_items = 0;
GMenuModel* _tmp19_ = NULL;
gint _tmp20_ = 0;
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = model;
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = i;
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = g_menu_model_get_item_link (_tmp15_, _tmp16_, G_MENU_LINK_SECTION);
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Page.vala"
subsection = _tmp17_;
-#line 1188 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1189 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = subsection;
-#line 1188 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp18_ == NULL) {
#line 1189 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp18_ == NULL) {
+#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (subsection);
-#line 1189 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (name);
-#line 1189 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1190 "/home/jens/Source/shotwell/src/Page.vala"
continue;
-#line 8194 "Page.c"
+#line 8197 "Page.c"
}
-#line 1192 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = subsection;
-#line 1192 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = g_menu_model_get_n_items (_tmp19_);
-#line 1192 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
sub_items = _tmp20_;
-#line 8202 "Page.c"
+#line 8205 "Page.c"
{
gint j = 0;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
j = 0;
-#line 8207 "Page.c"
+#line 8210 "Page.c"
{
gboolean _tmp21_ = FALSE;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = TRUE;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 8214 "Page.c"
+#line 8217 "Page.c"
gboolean _tmp23_ = FALSE;
gint _tmp24_ = 0;
gint _tmp25_ = 0;
@@ -8219,91 +8222,91 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha
gint _tmp28_ = 0;
GMenuModel* _tmp29_ = NULL;
GMenuModel* _tmp30_ = NULL;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp21_) {
-#line 8225 "Page.c"
+#line 8228 "Page.c"
gint _tmp22_ = 0;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = j;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
j = _tmp22_ + 1;
-#line 8231 "Page.c"
+#line 8234 "Page.c"
}
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = FALSE;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = j;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = sub_items;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp24_ < _tmp25_) {
-#line 8241 "Page.c"
+#line 8244 "Page.c"
GMenuModel* _tmp26_ = NULL;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = section;
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp26_ == NULL;
-#line 8247 "Page.c"
+#line 8250 "Page.c"
} else {
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = FALSE;
-#line 8251 "Page.c"
+#line 8254 "Page.c"
}
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp23_) {
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 8257 "Page.c"
+#line 8260 "Page.c"
}
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = subsection;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = j;
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = g_menu_model_get_item_link (_tmp27_, _tmp28_, G_MENU_LINK_SUBMENU);
-#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
submenu = _tmp29_;
-#line 1196 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = submenu;
-#line 1196 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp30_ != NULL) {
-#line 8271 "Page.c"
+#line 8274 "Page.c"
GMenuModel* _tmp31_ = NULL;
const gchar* _tmp32_ = NULL;
GMenuModel* _tmp33_ = NULL;
-#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = submenu;
-#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = extension_point;
-#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = page_find_extension_point (self, _tmp31_, _tmp32_);
-#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (section);
-#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
section = _tmp33_;
-#line 8285 "Page.c"
+#line 8288 "Page.c"
}
-#line 1193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1194 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (submenu);
-#line 8289 "Page.c"
+#line 8292 "Page.c"
}
}
}
-#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (subsection);
-#line 8295 "Page.c"
+#line 8298 "Page.c"
}
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1181 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (name);
-#line 8299 "Page.c"
+#line 8302 "Page.c"
}
}
}
-#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1205 "/home/jens/Source/shotwell/src/Page.vala"
result = section;
-#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1205 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8307 "Page.c"
+#line 8310 "Page.c"
}
@@ -8416,7 +8419,7 @@ static void page_class_init (PageClass * klass) {
((PageClass *) klass)->set_page_cursor = (void (*)(Page*, GdkCursorType)) page_real_set_page_cursor;
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (klass)->finalize = page_finalize;
-#line 8420 "Page.c"
+#line 8423 "Page.c"
}
@@ -8474,7 +8477,7 @@ static void page_instance_init (Page * self) {
self->priv->update_actions_scheduler = NULL;
#line 205 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->menubar_injected = FALSE;
-#line 8478 "Page.c"
+#line 8481 "Page.c"
}
@@ -8500,7 +8503,7 @@ static void page_finalize (GObject* obj) {
_one_shot_scheduler_unref0 (self->priv->update_actions_scheduler);
#line 58 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (page_parent_class)->finalize (obj);
-#line 8504 "Page.c"
+#line 8507 "Page.c"
}
@@ -8529,30 +8532,30 @@ GType checkerboard_page_activator_get_type (void) {
static void _checkerboard_page_on_items_hidden_view_collection_items_hidden (ViewCollection* _sender, GeeCollection* hidden, gpointer self) {
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_items_hidden ((CheckerboardPage*) self, hidden);
-#line 8535 "Page.c"
+#line 8538 "Page.c"
}
static void _checkerboard_page_on_contents_altered_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_contents_altered ((CheckerboardPage*) self, added, removed);
-#line 8542 "Page.c"
+#line 8545 "Page.c"
}
static void _checkerboard_page_on_items_state_changed_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
-#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_items_state_changed ((CheckerboardPage*) self, changed);
-#line 8549 "Page.c"
+#line 8552 "Page.c"
}
static void _checkerboard_page_on_items_visibility_changed_view_collection_items_visibility_changed (ViewCollection* _sender, GeeCollection* changed, gpointer self) {
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_items_visibility_changed ((CheckerboardPage*) self, changed);
-#line 8556 "Page.c"
+#line 8559 "Page.c"
}
@@ -8581,141 +8584,141 @@ CheckerboardPage* checkerboard_page_construct (GType object_type, const gchar* p
ViewCollection* _tmp20_ = NULL;
ViewCollection* _tmp21_ = NULL;
ViewCollection* _tmp22_ = NULL;
-#line 1243 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (page_name != NULL, NULL);
#line 1244 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (page_name != NULL, NULL);
+#line 1245 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_name;
-#line 1244 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1245 "/home/jens/Source/shotwell/src/Page.vala"
self = (CheckerboardPage*) page_construct (object_type, _tmp0_);
-#line 1246 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1246 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1246 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = checkerboard_layout_new (_tmp2_);
-#line 1246 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp3_);
-#line 1246 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->layout);
-#line 1246 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->layout = _tmp3_;
-#line 1246 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp2_);
#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp2_);
+#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->layout;
-#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_name;
-#line 1247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_name (_tmp4_, _tmp5_);
-#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->layout;
-#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
page_set_event_source (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget));
-#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
- gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), (guint) 0);
#line 1252 "/home/jens/Source/shotwell/src/Page.vala"
+ gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), (guint) 0);
+#line 1253 "/home/jens/Source/shotwell/src/Page.vala"
gtk_scrolled_window_set_shadow_type (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_SHADOW_NONE);
-#line 1254 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1255 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->viewport;
-#line 1254 "/home/jens/Source/shotwell/src/Page.vala"
- gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_container_get_type (), GtkContainer), (guint) 0);
#line 1255 "/home/jens/Source/shotwell/src/Page.vala"
+ gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_container_get_type (), GtkContainer), (guint) 0);
+#line 1256 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->viewport;
-#line 1255 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1256 "/home/jens/Source/shotwell/src/Page.vala"
gtk_viewport_set_shadow_type (_tmp8_, GTK_SHADOW_NONE);
-#line 1257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->viewport;
-#line 1257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->layout;
-#line 1257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
-#line 1261 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->layout;
-#line 1261 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = gtk_scrolled_window_get_hadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1261 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1261 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_adjustments (_tmp11_, _tmp12_, _tmp13_);
-#line 1263 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->viewport;
-#line 1263 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget));
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_;
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp16_, "items-hidden", (GCallback) _checkerboard_page_on_items_hidden_view_collection_items_hidden, self, 0);
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp16_);
#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp16_);
+#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp17_;
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _checkerboard_page_on_contents_altered_data_collection_contents_altered, self, 0);
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp18_);
#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp18_);
+#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_;
-#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp20_, "items-state-changed", (GCallback) _checkerboard_page_on_items_state_changed_view_collection_items_state_changed, self, 0);
-#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp20_);
#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp20_);
+#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_;
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp22_, "items-visibility-changed", (GCallback) _checkerboard_page_on_items_visibility_changed_view_collection_items_visibility_changed, self, 0);
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1270 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp22_);
-#line 1272 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1273 "/home/jens/Source/shotwell/src/Page.vala"
gtk_scrolled_window_set_policy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-#line 1243 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1244 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 8681 "Page.c"
+#line 8684 "Page.c"
}
void checkerboard_page_init_item_context_menu (CheckerboardPage* self, const gchar* path) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1275 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (path != NULL);
#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (path != NULL);
+#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = path;
-#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->item_context_menu_path);
-#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->item_context_menu_path = _tmp1_;
-#line 8700 "Page.c"
+#line 8703 "Page.c"
}
void checkerboard_page_init_page_context_menu (CheckerboardPage* self, const gchar* path) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1279 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1279 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (path != NULL);
#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (path != NULL);
+#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = path;
-#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->page_context_menu_path);
-#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page_context_menu_path = _tmp1_;
-#line 8719 "Page.c"
+#line 8722 "Page.c"
}
@@ -8726,44 +8729,44 @@ GtkMenu* checkerboard_page_get_context_menu (CheckerboardPage* self) {
ViewCollection* _tmp2_ = NULL;
gint _tmp3_ = 0;
gboolean _tmp4_ = FALSE;
-#line 1283 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1284 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = view_collection_get_selected_count (_tmp2_);
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_ != 0;
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 8744 "Page.c"
+#line 8747 "Page.c"
GtkMenu* _tmp5_ = NULL;
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = checkerboard_page_get_item_context_menu (self);
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp0_);
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp5_;
-#line 8752 "Page.c"
+#line 8755 "Page.c"
} else {
GtkMenu* _tmp6_ = NULL;
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp0_);
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp6_;
-#line 8761 "Page.c"
+#line 8764 "Page.c"
}
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8767 "Page.c"
+#line 8770 "Page.c"
}
@@ -8772,11 +8775,11 @@ static GtkMenu* checkerboard_page_real_get_item_context_menu (CheckerboardPage*
GtkMenu* _tmp0_ = NULL;
GtkMenu* _tmp8_ = NULL;
GtkMenu* _tmp9_ = NULL;
-#line 1291 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->item_context_menu;
-#line 1291 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 8780 "Page.c"
+#line 8783 "Page.c"
GMenuModel* model = NULL;
GtkBuilder* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
@@ -8785,52 +8788,52 @@ static GtkMenu* checkerboard_page_real_get_item_context_menu (CheckerboardPage*
GMenuModel* _tmp5_ = NULL;
GtkMenu* _tmp6_ = NULL;
GtkMenu* _tmp7_ = NULL;
-#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->item_context_menu_path;
-#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_builder_get_object (_tmp1_, _tmp2_);
-#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp3_) : NULL);
-#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1293 "/home/jens/Source/shotwell/src/Page.vala"
model = _tmp4_;
-#line 1294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = model;
-#line 1294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = (GtkMenu*) gtk_menu_new_from_model (_tmp5_);
-#line 1294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp6_);
-#line 1294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->item_context_menu);
-#line 1294 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->item_context_menu = _tmp6_;
#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->item_context_menu = _tmp6_;
+#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->item_context_menu;
-#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
gtk_menu_attach_to_widget (_tmp7_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL);
-#line 1291 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (model);
-#line 8815 "Page.c"
+#line 8818 "Page.c"
}
-#line 1298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->item_context_menu;
-#line 1298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _g_object_ref0 (_tmp8_);
-#line 1298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp9_;
-#line 1298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8825 "Page.c"
+#line 8828 "Page.c"
}
GtkMenu* checkerboard_page_get_item_context_menu (CheckerboardPage* self) {
-#line 1290 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1291 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1290 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1291 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_item_context_menu (self);
-#line 8834 "Page.c"
+#line 8837 "Page.c"
}
@@ -8840,13 +8843,13 @@ static GtkMenu* checkerboard_page_real_get_page_context_menu (Page* base) {
GtkMenu* _tmp0_ = NULL;
GtkMenu* _tmp8_ = NULL;
GtkMenu* _tmp9_ = NULL;
-#line 1302 "/home/jens/Source/shotwell/src/Page.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
+#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page_context_menu;
-#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 8850 "Page.c"
+#line 8853 "Page.c"
GMenuModel* model = NULL;
GtkBuilder* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
@@ -8855,43 +8858,43 @@ static GtkMenu* checkerboard_page_real_get_page_context_menu (Page* base) {
GMenuModel* _tmp5_ = NULL;
GtkMenu* _tmp6_ = NULL;
GtkMenu* _tmp7_ = NULL;
-#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->page_context_menu_path;
-#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_builder_get_object (_tmp1_, _tmp2_);
-#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp3_) : NULL);
-#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
model = _tmp4_;
-#line 1306 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = model;
-#line 1306 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = (GtkMenu*) gtk_menu_new_from_model (_tmp5_);
-#line 1306 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp6_);
-#line 1306 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->page_context_menu);
-#line 1306 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->page_context_menu = _tmp6_;
#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->page_context_menu = _tmp6_;
+#line 1308 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->page_context_menu;
-#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1308 "/home/jens/Source/shotwell/src/Page.vala"
gtk_menu_attach_to_widget (_tmp7_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL);
-#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (model);
-#line 8885 "Page.c"
+#line 8888 "Page.c"
}
-#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->page_context_menu;
-#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _g_object_ref0 (_tmp8_);
-#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp9_;
-#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8895 "Page.c"
+#line 8898 "Page.c"
}
@@ -8902,23 +8905,23 @@ static gboolean checkerboard_page_real_on_context_keypress (Page* base) {
GtkMenu* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
-#line 1313 "/home/jens/Source/shotwell/src/Page.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
+#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = checkerboard_page_get_context_menu (self);
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp1_, NULL);
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8922 "Page.c"
+#line 8925 "Page.c"
}
@@ -8926,24 +8929,24 @@ static gchar* checkerboard_page_real_get_view_empty_message (CheckerboardPage* s
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _ ("No photos/videos");
-#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8938 "Page.c"
+#line 8941 "Page.c"
}
gchar* checkerboard_page_get_view_empty_message (CheckerboardPage* self) {
-#line 1317 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1317 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_view_empty_message (self);
-#line 8947 "Page.c"
+#line 8950 "Page.c"
}
@@ -8951,42 +8954,42 @@ static gchar* checkerboard_page_real_get_filter_no_match_message (CheckerboardPa
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _ ("No photos/videos found which match the current filter");
-#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8963 "Page.c"
+#line 8966 "Page.c"
}
gchar* checkerboard_page_get_filter_no_match_message (CheckerboardPage* self) {
-#line 1321 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1321 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_filter_no_match_message (self);
-#line 8972 "Page.c"
+#line 8975 "Page.c"
}
static void checkerboard_page_real_on_item_activated (CheckerboardPage* self, CheckerboardItem* item, CheckerboardPageActivator activator, CheckerboardPageKeyboardModifiers* modifiers) {
-#line 1325 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 1325 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (modifiers != NULL);
-#line 8981 "Page.c"
+#line 8984 "Page.c"
}
void checkerboard_page_on_item_activated (CheckerboardPage* self, CheckerboardItem* item, CheckerboardPageActivator activator, CheckerboardPageKeyboardModifiers* modifiers) {
-#line 1325 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1325 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
CHECKERBOARD_PAGE_GET_CLASS (self)->on_item_activated (self, item, activator, modifiers);
-#line 8990 "Page.c"
+#line 8993 "Page.c"
}
@@ -8994,61 +8997,61 @@ CheckerboardLayout* checkerboard_page_get_checkerboard_layout (CheckerboardPage*
CheckerboardLayout* result = NULL;
CheckerboardLayout* _tmp0_ = NULL;
CheckerboardLayout* _tmp1_ = NULL;
-#line 1329 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
#line 1330 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
+#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 1330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 1330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1331 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9008 "Page.c"
+#line 9011 "Page.c"
}
static SearchViewFilter* checkerboard_page_real_get_search_view_filter (CheckerboardPage* self) {
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
g_critical ("Type `%s' does not implement abstract method `checkerboard_page_get_search_view_filter'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 9017 "Page.c"
+#line 9020 "Page.c"
}
SearchViewFilter* checkerboard_page_get_search_view_filter (CheckerboardPage* self) {
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_search_view_filter (self);
-#line 9026 "Page.c"
+#line 9029 "Page.c"
}
static CoreViewTracker* checkerboard_page_real_get_view_tracker (CheckerboardPage* self) {
CoreViewTracker* result = NULL;
-#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
result = NULL;
-#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9036 "Page.c"
+#line 9039 "Page.c"
}
CoreViewTracker* checkerboard_page_get_view_tracker (CheckerboardPage* self) {
-#line 1336 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1336 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_view_tracker (self);
-#line 9045 "Page.c"
+#line 9048 "Page.c"
}
static void _checkerboard_page_on_view_filter_refresh_view_filter_refresh (ViewFilter* _sender, gpointer self) {
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_view_filter_refresh ((CheckerboardPage*) self);
-#line 9052 "Page.c"
+#line 9055 "Page.c"
}
@@ -9060,33 +9063,33 @@ static void checkerboard_page_real_switching_from (Page* base) {
guint _tmp3_ = 0U;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
-#line 1340 "/home/jens/Source/shotwell/src/Page.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
#line 1341 "/home/jens/Source/shotwell/src/Page.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1341 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_layout_set_in_view (_tmp0_, FALSE);
#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_layout_set_in_view (_tmp0_, FALSE);
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_page_get_search_view_filter (self);
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("refresh", TYPE_VIEW_FILTER, &_tmp3_, NULL, FALSE);
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_VIEW_FILTER, ViewFilter), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _checkerboard_page_on_view_filter_refresh_view_filter_refresh, self);
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_view_filter_unref0 (_tmp2_);
-#line 1345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp5_);
-#line 1345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp5_);
-#line 1347 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1348 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (checkerboard_page_parent_class)->switching_from (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 9090 "Page.c"
+#line 9093 "Page.c"
}
@@ -9099,35 +9102,35 @@ static void checkerboard_page_real_switched_to (Page* base) {
ViewCollection* _tmp4_ = NULL;
gint _tmp5_ = 0;
gboolean _tmp6_ = FALSE;
-#line 1350 "/home/jens/Source/shotwell/src/Page.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
+#line 1352 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_layout_set_in_view (_tmp0_, TRUE);
#line 1352 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_layout_set_in_view (_tmp0_, TRUE);
+#line 1353 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_page_get_search_view_filter (self);
-#line 1352 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1353 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1352 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1353 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_VIEW_FILTER, ViewFilter), "refresh", (GCallback) _checkerboard_page_on_view_filter_refresh_view_filter_refresh, self, 0);
-#line 1352 "/home/jens/Source/shotwell/src/Page.vala"
- _view_filter_unref0 (_tmp2_);
#line 1353 "/home/jens/Source/shotwell/src/Page.vala"
+ _view_filter_unref0 (_tmp2_);
+#line 1354 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_view_filter_refresh (self);
-#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = view_collection_get_selected_count (_tmp4_);
-#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_ > 0;
-#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp4_);
-#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_) {
-#line 9131 "Page.c"
+#line 9134 "Page.c"
CheckerboardItem* item = NULL;
ViewCollection* _tmp7_ = NULL;
ViewCollection* _tmp8_ = NULL;
@@ -9142,37 +9145,37 @@ static void checkerboard_page_real_switched_to (Page* base) {
GdkRectangle _tmp16_ = {0};
gint _tmp17_ = 0;
AdjustmentRelation _tmp18_ = 0;
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = view_collection_get_selected_at (_tmp8_, 0);
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp8_);
-#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp10_;
-#line 1359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _g_object_ref0 (_tmp11_);
-#line 1359 "/home/jens/Source/shotwell/src/Page.vala"
- vadj = _tmp12_;
#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+ vadj = _tmp12_;
+#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = vadj;
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = item;
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_->allocation;
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = _tmp16_.y;
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = get_adjustment_relation (_tmp14_, _tmp17_);
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_ == ADJUSTMENT_RELATION_IN_RANGE) {
-#line 9176 "Page.c"
+#line 9179 "Page.c"
GtkAdjustment* _tmp19_ = NULL;
CheckerboardItem* _tmp20_ = NULL;
GdkRectangle _tmp21_ = {0};
@@ -9181,33 +9184,33 @@ static void checkerboard_page_real_switched_to (Page* base) {
GdkRectangle _tmp24_ = {0};
gint _tmp25_ = 0;
AdjustmentRelation _tmp26_ = 0;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = vadj;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = item;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_->allocation;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_.y;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = item;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_->allocation;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp24_.height;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = get_adjustment_relation (_tmp19_, _tmp22_ + _tmp25_);
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp26_ == ADJUSTMENT_RELATION_IN_RANGE;
-#line 9203 "Page.c"
+#line 9206 "Page.c"
} else {
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = FALSE;
-#line 9207 "Page.c"
+#line 9210 "Page.c"
}
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp13_) {
-#line 9211 "Page.c"
+#line 9214 "Page.c"
gint top = 0;
CheckerboardItem* _tmp27_ = NULL;
GdkRectangle _tmp28_ = {0};
@@ -9216,38 +9219,38 @@ static void checkerboard_page_real_switched_to (Page* base) {
gdouble _tmp31_ = 0.0;
GtkAdjustment* _tmp45_ = NULL;
gint _tmp46_ = 0;
-#line 1364 "/home/jens/Source/shotwell/src/Page.vala"
- top = 0;
#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+ top = 0;
+#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = item;
-#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_->allocation;
-#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_.y;
-#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = vadj;
-#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = gtk_adjustment_get_value (_tmp30_);
-#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
if (((gdouble) _tmp29_) < _tmp31_) {
-#line 9234 "Page.c"
+#line 9237 "Page.c"
CheckerboardItem* _tmp32_ = NULL;
GdkRectangle _tmp33_ = {0};
gint _tmp34_ = 0;
gint _tmp35_ = 0;
-#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = item;
-#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_->allocation;
-#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = _tmp33_.y;
-#line 1366 "/home/jens/Source/shotwell/src/Page.vala"
- top = _tmp34_;
#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
+ top = _tmp34_;
+#line 1368 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = top;
-#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1368 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp35_ - (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 9251 "Page.c"
+#line 9254 "Page.c"
} else {
CheckerboardItem* _tmp36_ = NULL;
GdkRectangle _tmp37_ = {0};
@@ -9258,91 +9261,91 @@ static void checkerboard_page_real_switched_to (Page* base) {
GtkAdjustment* _tmp42_ = NULL;
gdouble _tmp43_ = 0.0;
gint _tmp44_ = 0;
-#line 1369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = item;
-#line 1369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = _tmp36_->allocation;
-#line 1369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_.y;
-#line 1369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = item;
-#line 1369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = _tmp39_->allocation;
-#line 1369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_.height;
-#line 1369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = vadj;
-#line 1369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = gtk_adjustment_get_page_size (_tmp42_);
-#line 1369 "/home/jens/Source/shotwell/src/Page.vala"
- top = (_tmp38_ + _tmp41_) - ((gint) _tmp43_);
#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+ top = (_tmp38_ + _tmp41_) - ((gint) _tmp43_);
+#line 1371 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = top;
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1371 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp44_ + (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 9284 "Page.c"
+#line 9287 "Page.c"
}
-#line 1373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1374 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = vadj;
-#line 1373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1374 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = top;
-#line 1373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1374 "/home/jens/Source/shotwell/src/Page.vala"
gtk_adjustment_set_value (_tmp45_, (gdouble) _tmp46_);
-#line 9292 "Page.c"
+#line 9295 "Page.c"
}
-#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1356 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 9298 "Page.c"
+#line 9301 "Page.c"
}
-#line 1378 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1379 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (checkerboard_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 9302 "Page.c"
+#line 9305 "Page.c"
}
static void checkerboard_page_on_view_filter_refresh (CheckerboardPage* self) {
-#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
+#line 1383 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9311 "Page.c"
+#line 9314 "Page.c"
}
static void checkerboard_page_on_contents_altered (CheckerboardPage* self, GeeIterable* added, GeeIterable* removed) {
-#line 1385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail ((added == NULL) || GEE_IS_ITERABLE (added));
-#line 1385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail ((removed == NULL) || GEE_IS_ITERABLE (removed));
-#line 1387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1388 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9324 "Page.c"
+#line 9327 "Page.c"
}
static void checkerboard_page_on_items_state_changed (CheckerboardPage* self, GeeIterable* changed) {
-#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (GEE_IS_ITERABLE (changed));
#line 1391 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (GEE_IS_ITERABLE (changed));
+#line 1392 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9335 "Page.c"
+#line 9338 "Page.c"
}
static void checkerboard_page_on_items_visibility_changed (CheckerboardPage* self, GeeCollection* changed) {
-#line 1394 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1395 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1394 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (GEE_IS_COLLECTION (changed));
#line 1395 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (GEE_IS_COLLECTION (changed));
+#line 1396 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9346 "Page.c"
+#line 9349 "Page.c"
}
@@ -9352,87 +9355,87 @@ static void checkerboard_page_update_view_filter_message (CheckerboardPage* self
ViewCollection* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
gboolean _tmp4_ = FALSE;
-#line 1398 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = view_collection_are_items_filtered_out (_tmp2_);
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 9370 "Page.c"
+#line 9373 "Page.c"
ViewCollection* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
gint _tmp7_ = 0;
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp7_ == 0;
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp6_);
-#line 9384 "Page.c"
+#line 9387 "Page.c"
} else {
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = FALSE;
-#line 9388 "Page.c"
+#line 9391 "Page.c"
}
-#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 9392 "Page.c"
+#line 9395 "Page.c"
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = checkerboard_page_get_filter_no_match_message (self);
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_set_page_message (self, _tmp9_);
-#line 1400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp9_);
-#line 9403 "Page.c"
+#line 9406 "Page.c"
} else {
ViewCollection* _tmp10_ = NULL;
ViewCollection* _tmp11_ = NULL;
gint _tmp12_ = 0;
gboolean _tmp13_ = FALSE;
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_;
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_ == 0;
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp11_);
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp13_) {
-#line 9421 "Page.c"
+#line 9424 "Page.c"
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1403 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = checkerboard_page_get_view_empty_message (self);
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1403 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1403 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_set_page_message (self, _tmp15_);
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1403 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp15_);
-#line 9432 "Page.c"
+#line 9435 "Page.c"
} else {
-#line 1404 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1405 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_unset_page_message (self);
-#line 9436 "Page.c"
+#line 9439 "Page.c"
}
}
}
@@ -9442,27 +9445,27 @@ void checkerboard_page_set_page_message (CheckerboardPage* self, const gchar* me
CheckerboardLayout* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
-#line 1408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1408 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (message != NULL);
#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (message != NULL);
+#line 1410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = message;
-#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_layout_set_message (_tmp0_, _tmp1_);
#line 1410 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_layout_set_message (_tmp0_, _tmp1_);
+#line 1411 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1410 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1411 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_) {
-#line 9460 "Page.c"
+#line 9463 "Page.c"
CheckerboardLayout* _tmp3_ = NULL;
-#line 1411 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1412 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->layout;
-#line 1411 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1412 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 9466 "Page.c"
+#line 9469 "Page.c"
}
}
@@ -9470,23 +9473,23 @@ void checkerboard_page_set_page_message (CheckerboardPage* self, const gchar* me
void checkerboard_page_unset_page_message (CheckerboardPage* self) {
CheckerboardLayout* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 1414 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
#line 1415 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
+#line 1416 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1415 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_layout_unset_message (_tmp0_);
#line 1416 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_layout_unset_message (_tmp0_);
+#line 1417 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1417 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 9484 "Page.c"
+#line 9487 "Page.c"
CheckerboardLayout* _tmp2_ = NULL;
-#line 1417 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1418 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->layout;
-#line 1417 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1418 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 9490 "Page.c"
+#line 9493 "Page.c"
}
}
@@ -9496,21 +9499,21 @@ static void checkerboard_page_real_set_page_name (Page* base, const gchar* name)
const gchar* _tmp0_ = NULL;
CheckerboardLayout* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
-#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (name != NULL);
#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (name != NULL);
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (checkerboard_page_parent_class)->set_page_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp0_);
-#line 1423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1424 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->layout;
-#line 1423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1424 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = name;
-#line 1423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1424 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_name (_tmp1_, _tmp2_);
-#line 9514 "Page.c"
+#line 9517 "Page.c"
}
@@ -9520,43 +9523,43 @@ CheckerboardItem* checkerboard_page_get_item_at_pixel (CheckerboardPage* self, g
gdouble _tmp1_ = 0.0;
gdouble _tmp2_ = 0.0;
CheckerboardItem* _tmp3_ = NULL;
-#line 1426 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
#line 1427 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
+#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = x;
-#line 1427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = y;
-#line 1427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = checkerboard_layout_get_item_at_pixel (_tmp0_, _tmp1_, _tmp2_);
-#line 1427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 1427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9538 "Page.c"
+#line 9541 "Page.c"
}
static void checkerboard_page_on_items_hidden (CheckerboardPage* self, GeeIterable* hidden) {
-#line 1430 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1430 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GEE_IS_ITERABLE (hidden));
-#line 9547 "Page.c"
+#line 9550 "Page.c"
{
GeeIterator* _view_it = NULL;
GeeIterable* _tmp0_ = NULL;
GeeIterator* _tmp1_ = NULL;
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = hidden;
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gee_iterable_iterator (_tmp0_);
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_view_it = _tmp1_;
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 9560 "Page.c"
+#line 9563 "Page.c"
GeeIterator* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
DataView* view = NULL;
@@ -9571,73 +9574,73 @@ static void checkerboard_page_on_items_hidden (CheckerboardPage* self, GeeIterab
CheckerboardItem* _tmp11_ = NULL;
CheckerboardItem* _tmp12_ = NULL;
CheckerboardItem* _tmp13_ = NULL;
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _view_it;
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gee_iterator_next (_tmp2_);
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp3_) {
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9583 "Page.c"
+#line 9586 "Page.c"
}
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _view_it;
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gee_iterator_get (_tmp4_);
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
- view = (DataView*) _tmp5_;
#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+ view = (DataView*) _tmp5_;
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = view;
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp7_;
-#line 1434 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1435 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->anchor;
-#line 1434 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1435 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = item;
-#line 1434 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp8_ == _tmp9_) {
#line 1435 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp8_ == _tmp9_) {
+#line 1436 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1436 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = NULL;
-#line 9607 "Page.c"
+#line 9610 "Page.c"
}
-#line 1437 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1438 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->cursor;
-#line 1437 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1438 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = item;
-#line 1437 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp10_ == _tmp11_) {
#line 1438 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp10_ == _tmp11_) {
+#line 1439 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1439 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = NULL;
-#line 9619 "Page.c"
+#line 9622 "Page.c"
}
-#line 1440 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->highlighted;
-#line 1440 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = item;
-#line 1440 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp12_ == _tmp13_) {
#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp12_ == _tmp13_) {
+#line 1442 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1442 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = NULL;
-#line 9631 "Page.c"
+#line 9634 "Page.c"
}
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (view);
-#line 9637 "Page.c"
+#line 9640 "Page.c"
}
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_view_it);
-#line 9641 "Page.c"
+#line 9644 "Page.c"
}
}
@@ -9654,138 +9657,138 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven
const gchar* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
GQuark _tmp7_ = 0U;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label0 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label1 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label2 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label3 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label4 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label5 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label6 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label7 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label8 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label9 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label10 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label11 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label12 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label13 = 0;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label14 = 0;
-#line 9688 "Page.c"
+#line 9691 "Page.c"
gboolean _tmp45_ = FALSE;
gboolean _tmp46_ = FALSE;
-#line 1445 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1446 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1445 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 1446 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 1447 "/home/jens/Source/shotwell/src/Page.vala"
handled = TRUE;
-#line 1449 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1450 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 1449 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1450 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->state;
-#line 1449 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1450 "/home/jens/Source/shotwell/src/Page.vala"
state = (guint) (_tmp1_ & GDK_SHIFT_MASK);
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_->keyval;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gdk_keyval_name (_tmp3_);
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = (NULL == _tmp5_) ? 0 : g_quark_from_string (_tmp5_);
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
if ((_tmp7_ == ((0 != _tmp6_label0) ? _tmp6_label0 : (_tmp6_label0 = g_quark_from_static_string ("Up")))) || (_tmp7_ == ((0 != _tmp6_label1) ? _tmp6_label1 : (_tmp6_label1 = g_quark_from_static_string ("KP_Up"))))) {
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9717 "Page.c"
+#line 9720 "Page.c"
default:
{
guint _tmp8_ = 0U;
-#line 1454 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_move_cursor (self, COMPASS_POINT_NORTH);
#line 1455 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_move_cursor (self, COMPASS_POINT_NORTH);
+#line 1456 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = state;
-#line 1455 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_select_anchor_to_cursor (self, _tmp8_);
#line 1456 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_select_anchor_to_cursor (self, _tmp8_);
+#line 1457 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9729 "Page.c"
+#line 9732 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label2) ? _tmp6_label2 : (_tmp6_label2 = g_quark_from_static_string ("Down")))) || (_tmp7_ == ((0 != _tmp6_label3) ? _tmp6_label3 : (_tmp6_label3 = g_quark_from_static_string ("KP_Down"))))) {
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9735 "Page.c"
+#line 9738 "Page.c"
default:
{
guint _tmp9_ = 0U;
-#line 1460 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_move_cursor (self, COMPASS_POINT_SOUTH);
#line 1461 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_move_cursor (self, COMPASS_POINT_SOUTH);
+#line 1462 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = state;
-#line 1461 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_select_anchor_to_cursor (self, _tmp9_);
#line 1462 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_select_anchor_to_cursor (self, _tmp9_);
+#line 1463 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9747 "Page.c"
+#line 9750 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label4) ? _tmp6_label4 : (_tmp6_label4 = g_quark_from_static_string ("Left")))) || (_tmp7_ == ((0 != _tmp6_label5) ? _tmp6_label5 : (_tmp6_label5 = g_quark_from_static_string ("KP_Left"))))) {
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9753 "Page.c"
+#line 9756 "Page.c"
default:
{
guint _tmp10_ = 0U;
-#line 1466 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_move_cursor (self, COMPASS_POINT_WEST);
#line 1467 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_move_cursor (self, COMPASS_POINT_WEST);
+#line 1468 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = state;
-#line 1467 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_select_anchor_to_cursor (self, _tmp10_);
#line 1468 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_select_anchor_to_cursor (self, _tmp10_);
+#line 1469 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9765 "Page.c"
+#line 9768 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label6) ? _tmp6_label6 : (_tmp6_label6 = g_quark_from_static_string ("Right")))) || (_tmp7_ == ((0 != _tmp6_label7) ? _tmp6_label7 : (_tmp6_label7 = g_quark_from_static_string ("KP_Right"))))) {
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9771 "Page.c"
+#line 9774 "Page.c"
default:
{
guint _tmp11_ = 0U;
-#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_move_cursor (self, COMPASS_POINT_EAST);
#line 1473 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_move_cursor (self, COMPASS_POINT_EAST);
+#line 1474 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = state;
-#line 1473 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_select_anchor_to_cursor (self, _tmp11_);
#line 1474 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_select_anchor_to_cursor (self, _tmp11_);
+#line 1475 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9783 "Page.c"
+#line 9786 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label8) ? _tmp6_label8 : (_tmp6_label8 = g_quark_from_static_string ("Home")))) || (_tmp7_ == ((0 != _tmp6_label9) ? _tmp6_label9 : (_tmp6_label9 = g_quark_from_static_string ("KP_Home"))))) {
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9789 "Page.c"
+#line 9792 "Page.c"
default:
{
CheckerboardItem* first = NULL;
@@ -9795,45 +9798,45 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven
CheckerboardItem* _tmp15_ = NULL;
CheckerboardItem* _tmp16_ = NULL;
guint _tmp18_ = 0U;
-#line 1478 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1478 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1478 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = view_collection_get_first (_tmp13_);
-#line 1478 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1478 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp13_);
-#line 1478 "/home/jens/Source/shotwell/src/Page.vala"
- first = _tmp15_;
#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
+ first = _tmp15_;
+#line 1480 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = first;
-#line 1479 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1480 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp16_ != NULL) {
-#line 9815 "Page.c"
+#line 9818 "Page.c"
CheckerboardItem* _tmp17_ = NULL;
-#line 1480 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1481 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = first;
-#line 1480 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1481 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp17_);
-#line 9821 "Page.c"
+#line 9824 "Page.c"
}
-#line 1481 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1482 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = state;
-#line 1481 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_select_anchor_to_cursor (self, _tmp18_);
#line 1482 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_select_anchor_to_cursor (self, _tmp18_);
+#line 1483 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (first);
-#line 1482 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1483 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9831 "Page.c"
+#line 9834 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label10) ? _tmp6_label10 : (_tmp6_label10 = g_quark_from_static_string ("End")))) || (_tmp7_ == ((0 != _tmp6_label11) ? _tmp6_label11 : (_tmp6_label11 = g_quark_from_static_string ("KP_End"))))) {
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9837 "Page.c"
+#line 9840 "Page.c"
default:
{
CheckerboardItem* last = NULL;
@@ -9843,100 +9846,100 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven
CheckerboardItem* _tmp22_ = NULL;
CheckerboardItem* _tmp23_ = NULL;
guint _tmp25_ = 0U;
-#line 1486 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1486 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_;
-#line 1486 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = view_collection_get_last (_tmp20_);
-#line 1486 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1486 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp20_);
-#line 1486 "/home/jens/Source/shotwell/src/Page.vala"
- last = _tmp22_;
#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
+ last = _tmp22_;
+#line 1488 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = last;
-#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1488 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp23_ != NULL) {
-#line 9863 "Page.c"
+#line 9866 "Page.c"
CheckerboardItem* _tmp24_ = NULL;
-#line 1488 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1489 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = last;
-#line 1488 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1489 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp24_);
-#line 9869 "Page.c"
+#line 9872 "Page.c"
}
-#line 1489 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1490 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = state;
-#line 1489 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_select_anchor_to_cursor (self, _tmp25_);
#line 1490 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_select_anchor_to_cursor (self, _tmp25_);
+#line 1491 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (last);
-#line 1490 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1491 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9879 "Page.c"
+#line 9882 "Page.c"
}
}
} else if ((_tmp7_ == ((0 != _tmp6_label12) ? _tmp6_label12 : (_tmp6_label12 = g_quark_from_static_string ("Return")))) || (_tmp7_ == ((0 != _tmp6_label13) ? _tmp6_label13 : (_tmp6_label13 = g_quark_from_static_string ("KP_Enter"))))) {
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9885 "Page.c"
+#line 9888 "Page.c"
default:
{
ViewCollection* _tmp26_ = NULL;
ViewCollection* _tmp27_ = NULL;
gint _tmp28_ = 0;
gboolean _tmp29_ = FALSE;
-#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_;
-#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = view_collection_get_selected_count (_tmp27_);
-#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_ == 1;
-#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp27_);
-#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_) {
-#line 9904 "Page.c"
+#line 9907 "Page.c"
ViewCollection* _tmp30_ = NULL;
ViewCollection* _tmp31_ = NULL;
DataView* _tmp32_ = NULL;
CheckerboardItem* _tmp33_ = NULL;
CheckerboardPageKeyboardModifiers _tmp34_ = {0};
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = _tmp30_;
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = view_collection_get_selected_at (_tmp31_, 0);
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_keyboard_modifiers_init (&_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_item_activated (self, _tmp33_, CHECKERBOARD_PAGE_ACTIVATOR_KEYBOARD, &_tmp34_);
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp33_);
-#line 1495 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp31_);
-#line 9926 "Page.c"
+#line 9929 "Page.c"
} else {
-#line 1498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
handled = FALSE;
-#line 9930 "Page.c"
+#line 9933 "Page.c"
}
-#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1500 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9934 "Page.c"
+#line 9937 "Page.c"
}
}
} else if (_tmp7_ == ((0 != _tmp6_label14) ? _tmp6_label14 : (_tmp6_label14 = g_quark_from_static_string ("space")))) {
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9940 "Page.c"
+#line 9943 "Page.c"
default:
{
Marker* marker = NULL;
@@ -9950,89 +9953,89 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven
ViewCollection* _tmp42_ = NULL;
ViewCollection* _tmp43_ = NULL;
Marker* _tmp44_ = NULL;
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_;
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = self->priv->layout;
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = checkerboard_layout_get_cursor (_tmp37_);
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp38_;
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_DATA_OBJECT, DataObject));
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_;
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp39_);
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp36_);
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
- marker = _tmp41_;
#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+ marker = _tmp41_;
+#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = _tmp42_;
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = marker;
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_toggle_marked (_tmp43_, _tmp44_);
-#line 1503 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp43_);
#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp43_);
+#line 1505 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 1504 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1505 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9988 "Page.c"
+#line 9991 "Page.c"
}
}
} else {
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9994 "Page.c"
+#line 9997 "Page.c"
default:
{
-#line 1507 "/home/jens/Source/shotwell/src/Page.vala"
- handled = FALSE;
#line 1508 "/home/jens/Source/shotwell/src/Page.vala"
+ handled = FALSE;
+#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10001 "Page.c"
+#line 10004 "Page.c"
}
}
}
-#line 1511 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1512 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = handled;
-#line 1511 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp45_) {
#line 1512 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp45_) {
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1512 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10013 "Page.c"
+#line 10016 "Page.c"
}
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
if (GTK_WIDGET_CLASS (checkerboard_page_parent_class)->key_press_event != NULL) {
-#line 10017 "Page.c"
+#line 10020 "Page.c"
GdkEventKey* _tmp47_ = NULL;
gboolean _tmp48_ = FALSE;
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = event;
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = GTK_WIDGET_CLASS (checkerboard_page_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), gtk_widget_get_type (), GtkWidget), _tmp47_);
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = _tmp48_;
-#line 10026 "Page.c"
+#line 10029 "Page.c"
} else {
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = TRUE;
-#line 10030 "Page.c"
+#line 10033 "Page.c"
}
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp46_;
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10036 "Page.c"
+#line 10039 "Page.c"
}
@@ -10056,62 +10059,62 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
ViewCollection* _tmp107_ = NULL;
gint _tmp108_ = 0;
gboolean _tmp109_ = FALSE;
-#line 1517 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1518 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1517 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1518 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = event;
-#line 1519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_->type;
-#line 1519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != GDK_BUTTON_PRESS) {
-#line 10070 "Page.c"
+#line 10073 "Page.c"
GdkEventButton* _tmp3_ = NULL;
GdkEventType _tmp4_ = 0;
-#line 1519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 1519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_->type;
-#line 1519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp4_ != GDK_2BUTTON_PRESS;
-#line 10079 "Page.c"
+#line 10082 "Page.c"
} else {
-#line 1519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = FALSE;
-#line 10083 "Page.c"
+#line 10086 "Page.c"
}
-#line 1519 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp0_) {
#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp0_) {
+#line 1521 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1521 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10091 "Page.c"
+#line 10094 "Page.c"
}
-#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
-#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_->state;
-#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
state = (guint) (_tmp6_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK));
-#line 1527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
-#line 1527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_->x;
-#line 1527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = event;
-#line 1527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_->y;
-#line 1527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = checkerboard_page_get_item_at_pixel (self, _tmp8_, _tmp10_);
-#line 1527 "/home/jens/Source/shotwell/src/Page.vala"
- item = _tmp11_;
#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
+ item = _tmp11_;
+#line 1529 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = item;
-#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1529 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ != NULL) {
-#line 10115 "Page.c"
+#line 10118 "Page.c"
CheckerboardLayout* _tmp13_ = NULL;
CheckerboardItem* _tmp14_ = NULL;
GdkEventButton* _tmp15_ = NULL;
@@ -10124,41 +10127,41 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
guint _tmp22_ = 0U;
CheckerboardLayout* _tmp80_ = NULL;
CheckerboardItem* _tmp81_ = NULL;
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->layout;
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = item;
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = event;
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_->x;
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = event;
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp17_->y;
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = event;
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_->state;
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = checkerboard_layout_handle_left_click (_tmp13_, _tmp14_, _tmp16_, _tmp18_, _tmp20_);
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp21_) {
#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp21_) {
+#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10154 "Page.c"
+#line 10157 "Page.c"
}
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = state;
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp22_) {
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK:
-#line 10162 "Page.c"
+#line 10165 "Page.c"
{
Marker* marker = NULL;
ViewCollection* _tmp23_ = NULL;
@@ -10171,68 +10174,68 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
Marker* _tmp30_ = NULL;
CheckerboardItem* _tmp31_ = NULL;
gboolean _tmp32_ = FALSE;
-#line 1538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_;
-#line 1538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = item;
-#line 1538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_DATA_OBJECT, DataObject));
-#line 1538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_;
-#line 1538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp24_);
-#line 1538 "/home/jens/Source/shotwell/src/Page.vala"
- marker = _tmp27_;
#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+ marker = _tmp27_;
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = marker;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_toggle_marked (_tmp29_, _tmp30_);
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp29_);
-#line 1541 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1542 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = item;
-#line 1541 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1542 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_DATA_VIEW, DataView));
-#line 1541 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1542 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp32_) {
-#line 10205 "Page.c"
+#line 10208 "Page.c"
CheckerboardItem* _tmp33_ = NULL;
CheckerboardItem* _tmp34_ = NULL;
CheckerboardItem* _tmp35_ = NULL;
CheckerboardItem* _tmp36_ = NULL;
-#line 1542 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = item;
-#line 1542 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = _g_object_ref0 (_tmp33_);
-#line 1542 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1542 "/home/jens/Source/shotwell/src/Page.vala"
- self->anchor = _tmp34_;
#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+ self->anchor = _tmp34_;
+#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = item;
-#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _g_object_ref0 (_tmp35_);
-#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1544 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp36_;
-#line 10226 "Page.c"
+#line 10229 "Page.c"
}
-#line 1545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1546 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 1545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1546 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10232 "Page.c"
+#line 10235 "Page.c"
}
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SHIFT_MASK:
-#line 10236 "Page.c"
+#line 10239 "Page.c"
{
ViewCollection* _tmp37_ = NULL;
ViewCollection* _tmp38_ = NULL;
@@ -10241,92 +10244,92 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
CheckerboardItem* _tmp43_ = NULL;
CheckerboardItem* _tmp44_ = NULL;
CheckerboardItem* _tmp45_ = NULL;
-#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1549 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1549 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_;
-#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1549 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp38_);
-#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1549 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp38_);
-#line 1550 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = self->anchor;
-#line 1550 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp39_ == NULL) {
-#line 10257 "Page.c"
+#line 10260 "Page.c"
CheckerboardItem* _tmp40_ = NULL;
CheckerboardItem* _tmp41_ = NULL;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = item;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _g_object_ref0 (_tmp40_);
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp41_;
-#line 10268 "Page.c"
+#line 10271 "Page.c"
}
-#line 1553 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = self->anchor;
-#line 1553 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = item;
-#line 1553 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_between_items (self, _tmp42_, _tmp43_);
-#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = item;
-#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _g_object_ref0 (_tmp44_);
-#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1556 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
- self->cursor = _tmp45_;
#line 1556 "/home/jens/Source/shotwell/src/Page.vala"
+ self->cursor = _tmp45_;
+#line 1557 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10286 "Page.c"
+#line 10289 "Page.c"
}
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK | GDK_SHIFT_MASK:
-#line 10290 "Page.c"
+#line 10293 "Page.c"
{
CheckerboardItem* _tmp46_ = NULL;
CheckerboardItem* _tmp49_ = NULL;
CheckerboardItem* _tmp50_ = NULL;
CheckerboardItem* _tmp51_ = NULL;
CheckerboardItem* _tmp52_ = NULL;
-#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = self->anchor;
-#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp46_ == NULL) {
-#line 10301 "Page.c"
+#line 10304 "Page.c"
CheckerboardItem* _tmp47_ = NULL;
CheckerboardItem* _tmp48_ = NULL;
-#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = item;
-#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = _g_object_ref0 (_tmp47_);
-#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1564 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp48_;
-#line 10312 "Page.c"
+#line 10315 "Page.c"
}
-#line 1566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1567 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = self->anchor;
-#line 1566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1567 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = item;
-#line 1566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1567 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_between_items (self, _tmp49_, _tmp50_);
-#line 1568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = item;
-#line 1568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = _g_object_ref0 (_tmp51_);
-#line 1568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1568 "/home/jens/Source/shotwell/src/Page.vala"
- self->cursor = _tmp52_;
#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
+ self->cursor = _tmp52_;
+#line 1570 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10330 "Page.c"
+#line 10333 "Page.c"
}
default:
{
@@ -10336,34 +10339,34 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
CheckerboardItem* _tmp77_ = NULL;
CheckerboardItem* _tmp78_ = NULL;
CheckerboardItem* _tmp79_ = NULL;
-#line 1572 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = event;
-#line 1572 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = _tmp53_->type;
-#line 1572 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp54_ == GDK_2BUTTON_PRESS) {
-#line 10346 "Page.c"
+#line 10349 "Page.c"
CheckerboardItem* _tmp55_ = NULL;
CheckerboardItem* _tmp56_ = NULL;
-#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
_tmp55_ = item;
-#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
_tmp56_ = _g_object_ref0 (_tmp55_);
-#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->activated_item);
-#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1574 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->activated_item = _tmp56_;
-#line 10357 "Page.c"
+#line 10360 "Page.c"
} else {
CheckerboardItem* _tmp57_ = NULL;
gboolean _tmp58_ = FALSE;
-#line 1579 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = item;
-#line 1579 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp58_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, TYPE_DATA_VIEW, DataView));
-#line 1579 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp58_) {
-#line 10367 "Page.c"
+#line 10370 "Page.c"
Marker* all = NULL;
ViewCollection* _tmp59_ = NULL;
ViewCollection* _tmp60_ = NULL;
@@ -10382,91 +10385,91 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
CheckerboardItem* _tmp73_ = NULL;
Marker* _tmp74_ = NULL;
Marker* _tmp75_ = NULL;
-#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
_tmp59_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
_tmp60_ = _tmp59_;
-#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
_tmp61_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
_tmp62_ = _tmp61_;
-#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp60_);
-#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
- all = _tmp62_;
#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+ all = _tmp62_;
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp63_ = all;
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp64_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp65_ = _tmp64_;
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp66_ = view_collection_get_selected (_tmp65_);
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp67_ = _tmp66_;
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp63_, G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp67_);
-#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp65_);
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_tmp68_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_tmp69_ = _tmp68_;
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_tmp70_ = all;
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_tmp71_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_tmp72_ = _tmp71_;
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_tmp73_ = item;
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_tmp74_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, TYPE_DATA_OBJECT, DataObject));
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_tmp75_ = _tmp74_;
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_and_select_marked (_tmp69_, _tmp70_, _tmp75_);
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp75_);
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp72_);
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp69_);
-#line 1579 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1580 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (all);
-#line 10440 "Page.c"
+#line 10443 "Page.c"
}
}
-#line 1587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
_tmp76_ = item;
-#line 1587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
_tmp77_ = _g_object_ref0 (_tmp76_);
-#line 1587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1587 "/home/jens/Source/shotwell/src/Page.vala"
- self->anchor = _tmp77_;
#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+ self->anchor = _tmp77_;
+#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
_tmp78_ = item;
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
_tmp79_ = _g_object_ref0 (_tmp78_);
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
- self->cursor = _tmp79_;
#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
+ self->cursor = _tmp79_;
+#line 1590 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10461 "Page.c"
+#line 10464 "Page.c"
}
}
-#line 1591 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1592 "/home/jens/Source/shotwell/src/Page.vala"
_tmp80_ = self->priv->layout;
-#line 1591 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1592 "/home/jens/Source/shotwell/src/Page.vala"
_tmp81_ = item;
-#line 1591 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1592 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_cursor (_tmp80_, _tmp81_);
-#line 10470 "Page.c"
+#line 10473 "Page.c"
} else {
guint _tmp82_ = 0U;
GeeArrayList* _tmp85_ = NULL;
@@ -10475,30 +10478,30 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
gdouble _tmp103_ = 0.0;
GdkEventButton* _tmp104_ = NULL;
gdouble _tmp105_ = 0.0;
-#line 1595 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1596 "/home/jens/Source/shotwell/src/Page.vala"
_tmp82_ = state;
-#line 1595 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1596 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp82_ != ((guint) GDK_CONTROL_MASK)) {
-#line 10483 "Page.c"
+#line 10486 "Page.c"
ViewCollection* _tmp83_ = NULL;
ViewCollection* _tmp84_ = NULL;
-#line 1596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1597 "/home/jens/Source/shotwell/src/Page.vala"
_tmp83_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1597 "/home/jens/Source/shotwell/src/Page.vala"
_tmp84_ = _tmp83_;
-#line 1596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1597 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp84_);
-#line 1596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1597 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp84_);
-#line 10494 "Page.c"
+#line 10497 "Page.c"
}
-#line 1599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
_tmp85_ = gee_array_list_new (TYPE_CHECKERBOARD_ITEM, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
-#line 1599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->previously_selected);
-#line 1599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->previously_selected = _tmp85_;
-#line 10502 "Page.c"
+#line 10505 "Page.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp86_ = NULL;
@@ -10510,31 +10513,31 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
gint _tmp91_ = 0;
gint _tmp92_ = 0;
gint _view_index = 0;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp86_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp87_ = _tmp86_;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp88_ = view_collection_get_selected (_tmp87_);
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp89_ = _tmp88_;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp87_);
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_view_list = _tmp89_;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp90_ = _view_list;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp91_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp92_ = _tmp91_;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_view_size = _tmp92_;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_view_index = -1;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 10538 "Page.c"
+#line 10541 "Page.c"
gint _tmp93_ = 0;
gint _tmp94_ = 0;
gint _tmp95_ = 0;
@@ -10544,79 +10547,79 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
gpointer _tmp98_ = NULL;
GeeArrayList* _tmp99_ = NULL;
DataView* _tmp100_ = NULL;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp93_ = _view_index;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_view_index = _tmp93_ + 1;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp94_ = _view_index;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp95_ = _view_size;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
if (!(_tmp94_ < _tmp95_)) {
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10560 "Page.c"
+#line 10563 "Page.c"
}
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp96_ = _view_list;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp97_ = _view_index;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp98_ = gee_list_get (_tmp96_, _tmp97_);
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
- view = (DataView*) _tmp98_;
#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+ view = (DataView*) _tmp98_;
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp99_ = self->priv->previously_selected;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp100_ = view;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp99_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp100_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (view);
-#line 10578 "Page.c"
+#line 10581 "Page.c"
}
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_view_list);
-#line 10582 "Page.c"
+#line 10585 "Page.c"
}
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp101_ = self->priv->layout;
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp102_ = event;
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp103_ = _tmp102_->x;
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp104_ = event;
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp105_ = _tmp104_->y;
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_drag_select_origin (_tmp101_, (gint) _tmp103_, (gint) _tmp105_);
-#line 1605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1606 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1606 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1606 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10602 "Page.c"
+#line 10605 "Page.c"
}
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
_tmp106_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
_tmp107_ = _tmp106_;
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
_tmp108_ = view_collection_get_selected_count (_tmp107_);
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
_tmp109_ = _tmp108_ == 0;
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp107_);
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp109_;
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10620 "Page.c"
+#line 10623 "Page.c"
}
@@ -10637,152 +10640,152 @@ static gboolean checkerboard_page_real_on_left_released (Page* base, GdkEventBut
CheckerboardItem* _tmp15_ = NULL;
CheckerboardItem* _tmp16_ = NULL;
CheckerboardItem* _tmp17_ = NULL;
-#line 1614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1615 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1614 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 1615 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->previously_selected);
-#line 1615 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->previously_selected = NULL;
-#line 1618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_);
-#line 1618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 10655 "Page.c"
+#line 10658 "Page.c"
CheckerboardLayout* _tmp2_ = NULL;
CheckerboardItem* _tmp3_ = NULL;
CheckerboardItem* _tmp4_ = NULL;
-#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->layout;
-#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_layout_clear_drag_select (_tmp2_);
#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_layout_clear_drag_select (_tmp2_);
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->cursor;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _g_object_ref0 (_tmp3_);
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp4_;
-#line 1622 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1623 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1622 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1623 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10675 "Page.c"
+#line 10678 "Page.c"
}
-#line 1626 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1627 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
-#line 1626 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1627 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_->state;
-#line 1626 "/home/jens/Source/shotwell/src/Page.vala"
- if ((_tmp6_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) != 0) {
#line 1627 "/home/jens/Source/shotwell/src/Page.vala"
+ if ((_tmp6_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) != 0) {
+#line 1628 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1627 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1628 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10687 "Page.c"
+#line 10690 "Page.c"
}
-#line 1630 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->activated_item;
-#line 1630 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp7_ != NULL) {
-#line 10693 "Page.c"
+#line 10696 "Page.c"
CheckerboardItem* _tmp8_ = NULL;
CheckerboardPageKeyboardModifiers _tmp9_ = {0};
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->activated_item;
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_keyboard_modifiers_init (&_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_on_item_activated (self, _tmp8_, CHECKERBOARD_PAGE_ACTIVATOR_MOUSE, &_tmp9_);
#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_on_item_activated (self, _tmp8_, CHECKERBOARD_PAGE_ACTIVATOR_MOUSE, &_tmp9_);
+#line 1633 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->activated_item);
-#line 1632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1633 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->activated_item = NULL;
-#line 1634 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1634 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10710 "Page.c"
+#line 10713 "Page.c"
}
-#line 1637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = event;
-#line 1637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_->x;
-#line 1637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = event;
-#line 1637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_->y;
-#line 1637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = checkerboard_page_get_item_at_pixel (self, _tmp11_, _tmp13_);
-#line 1637 "/home/jens/Source/shotwell/src/Page.vala"
- item = _tmp14_;
#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+ item = _tmp14_;
+#line 1639 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = item;
-#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1639 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp15_ == NULL) {
-#line 1640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10734 "Page.c"
+#line 10737 "Page.c"
}
-#line 1643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->cursor;
-#line 1643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1644 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = item;
-#line 1643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1644 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp16_ != _tmp17_) {
-#line 10742 "Page.c"
+#line 10745 "Page.c"
ViewCollection* _tmp18_ = NULL;
ViewCollection* _tmp19_ = NULL;
-#line 1646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _tmp18_;
-#line 1646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp19_);
-#line 1646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp19_);
-#line 10753 "Page.c"
+#line 10756 "Page.c"
} else {
CheckerboardItem* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
-#line 1652 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = item;
-#line 1652 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_DATA_VIEW, DataView));
-#line 1652 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 10763 "Page.c"
+#line 10766 "Page.c"
ViewCollection* _tmp22_ = NULL;
ViewCollection* _tmp23_ = NULL;
CheckerboardItem* _tmp24_ = NULL;
-#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_;
-#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = item;
-#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all_but (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_VIEW, DataView));
-#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp23_);
-#line 10777 "Page.c"
+#line 10780 "Page.c"
}
}
-#line 1656 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1656 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1656 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10786 "Page.c"
+#line 10789 "Page.c"
}
@@ -10803,50 +10806,50 @@ static gboolean checkerboard_page_real_on_right_click (Page* base, GdkEventButto
GtkMenu* _tmp40_ = NULL;
GdkEventButton* _tmp41_ = NULL;
gboolean _tmp42_ = FALSE;
-#line 1659 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1660 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1659 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1660 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1661 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1662 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 1661 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1662 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->type;
-#line 1661 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp1_ != GDK_BUTTON_PRESS) {
#line 1662 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp1_ != GDK_BUTTON_PRESS) {
+#line 1663 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1662 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1663 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10821 "Page.c"
+#line 10824 "Page.c"
}
-#line 1665 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
-#line 1665 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_->x;
-#line 1665 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 1665 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->y;
-#line 1665 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = checkerboard_page_get_item_at_pixel (self, _tmp3_, _tmp5_);
-#line 1665 "/home/jens/Source/shotwell/src/Page.vala"
- item = _tmp6_;
#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+ item = _tmp6_;
+#line 1667 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = item;
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1667 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp7_ != NULL) {
-#line 10839 "Page.c"
+#line 10842 "Page.c"
GdkEventButton* _tmp8_ = NULL;
GdkModifierType _tmp9_ = 0;
-#line 1668 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = event;
-#line 1668 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_->state;
-#line 1668 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp9_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) {
-#line 1668 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK:
-#line 10850 "Page.c"
+#line 10853 "Page.c"
{
Marker* marker = NULL;
ViewCollection* _tmp10_ = NULL;
@@ -10857,63 +10860,63 @@ static gboolean checkerboard_page_real_on_right_click (Page* base, GdkEventButto
ViewCollection* _tmp15_ = NULL;
ViewCollection* _tmp16_ = NULL;
Marker* _tmp17_ = NULL;
-#line 1671 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1671 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_;
-#line 1671 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = item;
-#line 1671 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_DATA_OBJECT, DataObject));
-#line 1671 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp13_;
-#line 1671 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp11_);
-#line 1671 "/home/jens/Source/shotwell/src/Page.vala"
- marker = _tmp14_;
#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+ marker = _tmp14_;
+#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_;
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = marker;
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_toggle_marked (_tmp16_, _tmp17_);
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp16_);
#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp16_);
+#line 1674 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1674 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10889 "Page.c"
+#line 10892 "Page.c"
}
-#line 1668 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SHIFT_MASK:
-#line 10893 "Page.c"
+#line 10896 "Page.c"
{
-#line 1677 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1678 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10897 "Page.c"
+#line 10900 "Page.c"
}
-#line 1668 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK | GDK_SHIFT_MASK:
-#line 10901 "Page.c"
+#line 10904 "Page.c"
{
-#line 1681 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10905 "Page.c"
+#line 10908 "Page.c"
}
default:
{
CheckerboardItem* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item;
-#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_VIEW, DataView));
-#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp19_) {
-#line 10917 "Page.c"
+#line 10920 "Page.c"
Marker* all = NULL;
ViewCollection* _tmp20_ = NULL;
ViewCollection* _tmp21_ = NULL;
@@ -10932,99 +10935,99 @@ static gboolean checkerboard_page_real_on_right_click (Page* base, GdkEventButto
CheckerboardItem* _tmp34_ = NULL;
Marker* _tmp35_ = NULL;
Marker* _tmp36_ = NULL;
-#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_;
-#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_;
-#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp21_);
-#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
- all = _tmp23_;
#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+ all = _tmp23_;
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = all;
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = _tmp25_;
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = view_collection_get_selected (_tmp26_);
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_;
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp28_);
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp26_);
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_;
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = all;
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_;
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = item;
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, TYPE_DATA_OBJECT, DataObject));
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_;
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_and_select_marked (_tmp30_, _tmp31_, _tmp36_);
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp36_);
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp33_);
-#line 1690 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp30_);
-#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (all);
-#line 10990 "Page.c"
+#line 10993 "Page.c"
}
-#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1693 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10994 "Page.c"
+#line 10997 "Page.c"
}
}
} else {
ViewCollection* _tmp37_ = NULL;
ViewCollection* _tmp38_ = NULL;
-#line 1696 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1696 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_;
-#line 1696 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp38_);
-#line 1696 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp38_);
-#line 11008 "Page.c"
+#line 11011 "Page.c"
}
-#line 1699 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1700 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = checkerboard_page_get_context_menu (self);
-#line 1699 "/home/jens/Source/shotwell/src/Page.vala"
- context_menu = _tmp39_;
#line 1700 "/home/jens/Source/shotwell/src/Page.vala"
+ context_menu = _tmp39_;
+#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = context_menu;
-#line 1700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = event;
-#line 1700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp40_, _tmp41_);
-#line 1700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp42_;
-#line 1700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (context_menu);
-#line 1700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11028 "Page.c"
+#line 11031 "Page.c"
}
@@ -11038,105 +11041,105 @@ static gboolean checkerboard_page_real_on_mouse_over (CheckerboardPage* self, Ch
CheckerboardItem* _tmp11_ = NULL;
CheckerboardItem* _tmp12_ = NULL;
CheckerboardItem* _tmp13_ = NULL;
-#line 1703 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail ((item == NULL) || IS_CHECKERBOARD_ITEM (item), FALSE);
#line 1704 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail ((item == NULL) || IS_CHECKERBOARD_ITEM (item), FALSE);
+#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = item;
-#line 1704 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 11048 "Page.c"
+#line 11051 "Page.c"
CheckerboardLayout* _tmp1_ = NULL;
CheckerboardItem* _tmp2_ = NULL;
gint _tmp3_ = 0;
gint _tmp4_ = 0;
GdkModifierType _tmp5_ = 0;
-#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->layout;
-#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = item;
-#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = x;
-#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = y;
-#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = mask;
-#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_handle_mouse_motion (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 11066 "Page.c"
+#line 11069 "Page.c"
}
-#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = item;
-#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->highlighted;
-#line 1709 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp6_ == _tmp7_) {
#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp6_ == _tmp7_) {
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11078 "Page.c"
+#line 11081 "Page.c"
}
-#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1714 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->highlighted;
-#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1714 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp8_ != NULL) {
-#line 11084 "Page.c"
+#line 11087 "Page.c"
CheckerboardItem* _tmp9_ = NULL;
-#line 1714 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1715 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->highlighted;
-#line 1714 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_item_unbrighten (_tmp9_);
#line 1715 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_item_unbrighten (_tmp9_);
+#line 1716 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1715 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1716 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = NULL;
-#line 11094 "Page.c"
+#line 11097 "Page.c"
}
-#line 1719 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = item;
-#line 1719 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp10_ == NULL) {
#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp10_ == NULL) {
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11104 "Page.c"
+#line 11107 "Page.c"
}
-#line 1723 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = item;
-#line 1723 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_item_brighten (_tmp11_);
#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_item_brighten (_tmp11_);
+#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = item;
-#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _g_object_ref0 (_tmp12_);
-#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = _tmp13_;
-#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1727 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1727 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11122 "Page.c"
+#line 11125 "Page.c"
}
gboolean checkerboard_page_on_mouse_over (CheckerboardPage* self, CheckerboardItem* item, gint x, gint y, GdkModifierType mask) {
-#line 1703 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1704 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), FALSE);
-#line 1703 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1704 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->on_mouse_over (self, item, x, y, mask);
-#line 11131 "Page.c"
+#line 11134 "Page.c"
}
static gboolean _checkerboard_page_selection_autoscroll_gsource_func (gpointer self) {
gboolean result;
result = checkerboard_page_selection_autoscroll ((CheckerboardPage*) self);
-#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1747 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11140 "Page.c"
+#line 11143 "Page.c"
}
@@ -11159,95 +11162,95 @@ static gboolean checkerboard_page_real_on_motion (Page* base, GdkEventMotion* ev
gint _tmp13_ = 0;
gboolean _tmp14_ = FALSE;
gboolean _tmp15_ = FALSE;
-#line 1729 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1730 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1729 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1730 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = x;
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = y;
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = checkerboard_page_get_item_at_pixel (self, (gdouble) _tmp0_, (gdouble) _tmp1_);
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = x;
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = y;
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = mask;
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = checkerboard_page_on_mouse_over (self, _tmp3_, _tmp4_, _tmp5_, _tmp6_);
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = !_tmp7_;
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp3_);
-#line 1731 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp8_) {
#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp8_) {
+#line 1733 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1732 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11193 "Page.c"
+#line 11196 "Page.c"
}
-#line 1735 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->layout;
-#line 1735 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = checkerboard_layout_is_drag_select_active (_tmp9_);
-#line 1735 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp10_) {
#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!_tmp10_) {
+#line 1737 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1737 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11205 "Page.c"
+#line 11208 "Page.c"
}
-#line 1739 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->layout;
-#line 1739 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = x;
-#line 1739 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = y;
-#line 1739 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_drag_select_endpoint (_tmp11_, _tmp12_, _tmp13_);
-#line 1741 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1742 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_updated_selection_band (self);
-#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->autoscroll_scheduled;
-#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp15_) {
-#line 11221 "Page.c"
+#line 11224 "Page.c"
GtkAdjustment* _tmp16_ = NULL;
gint _tmp17_ = 0;
AdjustmentRelation _tmp18_ = 0;
-#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = y;
-#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = get_adjustment_relation (_tmp16_, _tmp17_);
-#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp18_ != ADJUSTMENT_RELATION_IN_RANGE;
-#line 11233 "Page.c"
+#line 11236 "Page.c"
} else {
-#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = FALSE;
-#line 11237 "Page.c"
+#line 11240 "Page.c"
}
-#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp14_) {
-#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
- g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) CHECKERBOARD_PAGE_AUTOSCROLL_TICKS_MSEC, _checkerboard_page_selection_autoscroll_gsource_func, g_object_ref (self), g_object_unref);
#line 1747 "/home/jens/Source/shotwell/src/Page.vala"
+ g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) CHECKERBOARD_PAGE_AUTOSCROLL_TICKS_MSEC, _checkerboard_page_selection_autoscroll_gsource_func, g_object_ref (self), g_object_unref);
+#line 1748 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = TRUE;
-#line 11245 "Page.c"
+#line 11248 "Page.c"
}
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11251 "Page.c"
+#line 11254 "Page.c"
}
@@ -11284,91 +11287,91 @@ static void checkerboard_page_updated_selection_band (CheckerboardPage* self) {
ViewCollection* _tmp47_ = NULL;
ViewCollection* _tmp48_ = NULL;
Marker* _tmp49_ = NULL;
-#line 1754 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
+#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_);
-#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp1_, "layout.is_drag_select_active()");
-#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->layout;
-#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = checkerboard_layout_items_in_selection_band (_tmp2_);
-#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
- intersection = _tmp3_;
#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
+ intersection = _tmp3_;
+#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = intersection;
-#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp4_ == NULL) {
#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp4_ == NULL) {
+#line 1761 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (intersection);
-#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 11310 "Page.c"
+#line 11313 "Page.c"
}
-#line 1762 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1762 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 1762 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1762 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 1762 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp6_);
-#line 1762 "/home/jens/Source/shotwell/src/Page.vala"
- to_unselect = _tmp8_;
#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+ to_unselect = _tmp8_;
+#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_;
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _tmp11_;
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp10_);
-#line 1763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
to_select = _tmp12_;
-#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = to_unselect;
-#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = view_collection_get_selected (_tmp15_);
-#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = _tmp16_;
-#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp17_);
-#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp15_);
-#line 1769 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1770 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = self->priv->previously_selected;
-#line 1769 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_assert (_tmp18_ != NULL, "previously_selected != null");
#line 1770 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_assert (_tmp18_ != NULL, "previously_selected != null");
+#line 1771 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = to_unselect;
-#line 1770 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1771 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->previously_selected;
-#line 1770 "/home/jens/Source/shotwell/src/Page.vala"
- marker_unmark_many (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection));
#line 1771 "/home/jens/Source/shotwell/src/Page.vala"
+ marker_unmark_many (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 1772 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = to_select;
-#line 1771 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1772 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->previously_selected;
-#line 1771 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1772 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp21_, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1774 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1774 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = NULL;
-#line 11372 "Page.c"
+#line 11375 "Page.c"
{
GeeList* _item_list = NULL;
GeeList* _tmp23_ = NULL;
@@ -11378,25 +11381,25 @@ static void checkerboard_page_updated_selection_band (CheckerboardPage* self) {
gint _tmp26_ = 0;
gint _tmp27_ = 0;
gint _item_index = 0;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = intersection;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _g_object_ref0 (_tmp23_);
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_item_list = _tmp24_;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _item_list;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_item_size = _tmp27_;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_item_index = -1;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 11400 "Page.c"
+#line 11403 "Page.c"
gint _tmp28_ = 0;
gint _tmp29_ = 0;
gint _tmp30_ = 0;
@@ -11408,109 +11411,109 @@ static void checkerboard_page_updated_selection_band (CheckerboardPage* self) {
CheckerboardItem* _tmp35_ = NULL;
gboolean _tmp36_ = FALSE;
CheckerboardItem* _tmp41_ = NULL;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _item_index;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_item_index = _tmp28_ + 1;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _item_index;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _item_size;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
if (!(_tmp29_ < _tmp30_)) {
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11424 "Page.c"
+#line 11427 "Page.c"
}
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = _item_list;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _item_index;
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = gee_list_get (_tmp31_, _tmp32_);
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
- item = (CheckerboardItem*) _tmp33_;
#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+ item = (CheckerboardItem*) _tmp33_;
+#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = to_select;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = item;
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = marker_toggle (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_DATA_OBJECT, DataObject));
-#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp36_) {
-#line 11442 "Page.c"
+#line 11445 "Page.c"
Marker* _tmp37_ = NULL;
CheckerboardItem* _tmp38_ = NULL;
-#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = to_unselect;
-#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = item;
-#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
marker_unmark (_tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_DATA_OBJECT, DataObject));
-#line 11451 "Page.c"
+#line 11454 "Page.c"
} else {
Marker* _tmp39_ = NULL;
CheckerboardItem* _tmp40_ = NULL;
-#line 1780 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1781 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = to_unselect;
-#line 1780 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1781 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = item;
-#line 1780 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1781 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_DATA_OBJECT, DataObject));
-#line 11461 "Page.c"
+#line 11464 "Page.c"
}
-#line 1782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->cursor;
-#line 1782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp41_ == NULL) {
-#line 11467 "Page.c"
+#line 11470 "Page.c"
CheckerboardItem* _tmp42_ = NULL;
CheckerboardItem* _tmp43_ = NULL;
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = item;
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = _g_object_ref0 (_tmp42_);
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp43_;
-#line 11478 "Page.c"
+#line 11481 "Page.c"
}
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 11482 "Page.c"
+#line 11485 "Page.c"
}
-#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_item_list);
-#line 11486 "Page.c"
+#line 11489 "Page.c"
}
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _tmp44_;
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = to_select;
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp45_, _tmp46_);
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp45_);
#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp45_);
+#line 1788 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1788 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = _tmp47_;
-#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1788 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = to_unselect;
-#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1788 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_marked (_tmp48_, _tmp49_);
-#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1788 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp48_);
-#line 1754 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (to_select);
-#line 1754 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (to_unselect);
-#line 1754 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (intersection);
-#line 11514 "Page.c"
+#line 11517 "Page.c"
}
@@ -11542,77 +11545,77 @@ static gboolean checkerboard_page_selection_autoscroll (CheckerboardPage* self)
GtkAdjustment* _tmp28_ = NULL;
gdouble _tmp29_ = 0.0;
gint _tmp30_ = 0;
-#line 1790 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), FALSE);
#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), FALSE);
+#line 1792 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1792 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_);
-#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp1_) {
#line 1792 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!_tmp1_) {
+#line 1793 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = FALSE;
-#line 1794 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1795 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1794 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1795 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11560 "Page.c"
+#line 11563 "Page.c"
}
-#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1799 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1799 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1799 "/home/jens/Source/shotwell/src/Page.vala"
vadj = _tmp3_;
-#line 1802 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
page_get_event_source_pointer (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), &_tmp4_, &_tmp5_, &_tmp6_);
-#line 1802 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
x = _tmp4_;
-#line 1802 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
y = _tmp5_;
-#line 1802 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
mask = _tmp6_;
-#line 1804 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = vadj;
-#line 1804 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gtk_adjustment_get_value (_tmp7_);
-#line 1804 "/home/jens/Source/shotwell/src/Page.vala"
- new_value = (gint) _tmp8_;
#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
+ new_value = (gint) _tmp8_;
+#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = vadj;
-#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = y;
-#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = get_adjustment_relation (_tmp9_, _tmp10_);
-#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp11_) {
-#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
case ADJUSTMENT_RELATION_BELOW:
-#line 11592 "Page.c"
+#line 11595 "Page.c"
{
gint _tmp12_ = 0;
CheckerboardLayout* _tmp13_ = NULL;
gint _tmp14_ = 0;
gint _tmp15_ = 0;
-#line 1808 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1809 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = new_value;
-#line 1808 "/home/jens/Source/shotwell/src/Page.vala"
- new_value = _tmp12_ - CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS;
#line 1809 "/home/jens/Source/shotwell/src/Page.vala"
+ new_value = _tmp12_ - CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS;
+#line 1810 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->layout;
-#line 1809 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1810 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = x;
-#line 1809 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1810 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = new_value;
-#line 1809 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_layout_set_drag_select_endpoint (_tmp13_, _tmp14_, _tmp15_);
#line 1810 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_layout_set_drag_select_endpoint (_tmp13_, _tmp14_, _tmp15_);
+#line 1811 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11612 "Page.c"
+#line 11615 "Page.c"
}
-#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
case ADJUSTMENT_RELATION_ABOVE:
-#line 11616 "Page.c"
+#line 11619 "Page.c"
{
gint _tmp16_ = 0;
CheckerboardLayout* _tmp17_ = NULL;
@@ -11620,78 +11623,78 @@ static gboolean checkerboard_page_selection_autoscroll (CheckerboardPage* self)
gint _tmp19_ = 0;
GtkAdjustment* _tmp20_ = NULL;
gdouble _tmp21_ = 0.0;
-#line 1814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = new_value;
-#line 1814 "/home/jens/Source/shotwell/src/Page.vala"
- new_value = _tmp16_ + CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS;
#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
+ new_value = _tmp16_ + CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS;
+#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->layout;
-#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = x;
-#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = new_value;
-#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = vadj;
-#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = gtk_adjustment_get_page_size (_tmp20_);
-#line 1815 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_layout_set_drag_select_endpoint (_tmp17_, _tmp18_, _tmp19_ + ((gint) _tmp21_));
#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_layout_set_drag_select_endpoint (_tmp17_, _tmp18_, _tmp19_ + ((gint) _tmp21_));
+#line 1817 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11642 "Page.c"
+#line 11645 "Page.c"
}
-#line 1805 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
case ADJUSTMENT_RELATION_IN_RANGE:
-#line 11646 "Page.c"
+#line 11649 "Page.c"
{
-#line 1819 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1820 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = FALSE;
-#line 1821 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1821 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1821 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11656 "Page.c"
+#line 11659 "Page.c"
}
default:
{
-#line 1824 "/home/jens/Source/shotwell/src/Page.vala"
- g_warn_if_reached ();
#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
+ g_warn_if_reached ();
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11664 "Page.c"
+#line 11667 "Page.c"
}
}
-#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = vadj;
-#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = new_value;
-#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = vadj;
-#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = gtk_adjustment_get_lower (_tmp24_);
-#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = vadj;
-#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = gtk_adjustment_get_upper (_tmp26_);
-#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = vadj;
-#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = gtk_adjustment_get_page_size (_tmp28_);
-#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = CLAMP (_tmp23_, (gint) _tmp25_, ((gint) _tmp27_) - ((gint) _tmp29_));
-#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1832 "/home/jens/Source/shotwell/src/Page.vala"
gtk_adjustment_set_value (_tmp22_, (gdouble) _tmp30_);
-#line 1834 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_updated_selection_band (self);
-#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1837 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1837 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1837 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11695 "Page.c"
+#line 11698 "Page.c"
}
@@ -11722,35 +11725,35 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem*
gdouble _tmp39_ = 0.0;
GtkAdjustment* _tmp53_ = NULL;
gint _tmp54_ = 0;
-#line 1839 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1839 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = item;
-#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = data_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_OBJECT, DataObject));
-#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp3_, "get_view().contains(item)");
-#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1843 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = item;
-#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1843 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1843 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1843 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp5_;
-#line 1844 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1844 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp6_) {
-#line 11754 "Page.c"
+#line 11757 "Page.c"
ViewCollection* _tmp7_ = NULL;
ViewCollection* _tmp8_ = NULL;
Marker* marker = NULL;
@@ -11762,67 +11765,67 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem*
ViewCollection* _tmp14_ = NULL;
ViewCollection* _tmp15_ = NULL;
Marker* _tmp16_ = NULL;
-#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp8_);
-#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp8_);
#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp8_);
+#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_;
-#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = item;
-#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_OBJECT, DataObject));
-#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp10_);
-#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
- marker = _tmp13_;
#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+ marker = _tmp13_;
+#line 1848 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1848 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1848 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = marker;
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1848 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp15_, _tmp16_);
-#line 1847 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1848 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp15_);
-#line 1844 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 11800 "Page.c"
+#line 11803 "Page.c"
}
-#line 1849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1850 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->layout;
-#line 1849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1850 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item;
-#line 1849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1850 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_cursor (_tmp17_, _tmp18_);
-#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow));
-#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _g_object_ref0 (_tmp19_);
-#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
- vadj = _tmp20_;
#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+ vadj = _tmp20_;
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = vadj;
-#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = item;
-#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_->allocation;
-#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp24_.y;
-#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = get_adjustment_relation (_tmp22_, _tmp25_);
-#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp26_ == ADJUSTMENT_RELATION_IN_RANGE) {
-#line 11826 "Page.c"
+#line 11829 "Page.c"
GtkAdjustment* _tmp27_ = NULL;
CheckerboardItem* _tmp28_ = NULL;
GdkRectangle _tmp29_ = {0};
@@ -11831,70 +11834,70 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem*
GdkRectangle _tmp32_ = {0};
gint _tmp33_ = 0;
AdjustmentRelation _tmp34_ = 0;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = vadj;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = item;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_->allocation;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_.y;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = item;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp31_->allocation;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_.height;
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = get_adjustment_relation (_tmp27_, _tmp30_ + _tmp33_);
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp34_ == ADJUSTMENT_RELATION_IN_RANGE;
-#line 11853 "Page.c"
+#line 11856 "Page.c"
} else {
-#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = FALSE;
-#line 11857 "Page.c"
+#line 11860 "Page.c"
}
-#line 1853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1856 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1856 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 11865 "Page.c"
+#line 11868 "Page.c"
}
-#line 1858 "/home/jens/Source/shotwell/src/Page.vala"
- top = 0;
#line 1859 "/home/jens/Source/shotwell/src/Page.vala"
+ top = 0;
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = item;
-#line 1859 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_->allocation;
-#line 1859 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = _tmp36_.y;
-#line 1859 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = vadj;
-#line 1859 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = gtk_adjustment_get_value (_tmp38_);
-#line 1859 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
if (((gdouble) _tmp37_) < _tmp39_) {
-#line 11881 "Page.c"
+#line 11884 "Page.c"
CheckerboardItem* _tmp40_ = NULL;
GdkRectangle _tmp41_ = {0};
gint _tmp42_ = 0;
gint _tmp43_ = 0;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = item;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_->allocation;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = _tmp41_.y;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
- top = _tmp42_;
#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
+ top = _tmp42_;
+#line 1862 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = top;
-#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1862 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp43_ - (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 11898 "Page.c"
+#line 11901 "Page.c"
} else {
CheckerboardItem* _tmp44_ = NULL;
GdkRectangle _tmp45_ = {0};
@@ -11905,39 +11908,39 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem*
GtkAdjustment* _tmp50_ = NULL;
gdouble _tmp51_ = 0.0;
gint _tmp52_ = 0;
-#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = item;
-#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _tmp44_->allocation;
-#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = _tmp45_.y;
-#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = item;
-#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = _tmp47_->allocation;
-#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = _tmp48_.height;
-#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = vadj;
-#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = gtk_adjustment_get_page_size (_tmp50_);
-#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
- top = (_tmp46_ + _tmp49_) - ((gint) _tmp51_);
#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+ top = (_tmp46_ + _tmp49_) - ((gint) _tmp51_);
+#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = top;
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp52_ + (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 11931 "Page.c"
+#line 11934 "Page.c"
}
-#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = vadj;
-#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = top;
-#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
gtk_adjustment_set_value (_tmp53_, (gdouble) _tmp54_);
-#line 1839 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 11941 "Page.c"
+#line 11944 "Page.c"
}
@@ -11956,171 +11959,171 @@ void checkerboard_page_move_cursor (CheckerboardPage* self, CompassPoint point)
CompassPoint _tmp27_ = 0;
CheckerboardItem* _tmp28_ = NULL;
CheckerboardItem* _tmp29_ = NULL;
-#line 1870 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1871 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_ == 0;
-#line 1872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1872 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp3_) {
#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp3_) {
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 11976 "Page.c"
+#line 11979 "Page.c"
}
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->cursor;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == NULL) {
-#line 11982 "Page.c"
+#line 11985 "Page.c"
CheckerboardLayout* _tmp7_ = NULL;
CheckerboardItem* _tmp8_ = NULL;
CheckerboardItem* _tmp9_ = NULL;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->layout;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = checkerboard_layout_get_cursor (_tmp7_);
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp9_ == NULL;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp9_);
-#line 11996 "Page.c"
+#line 11999 "Page.c"
} else {
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = FALSE;
-#line 12000 "Page.c"
+#line 12003 "Page.c"
}
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_) {
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = TRUE;
-#line 12006 "Page.c"
+#line 12009 "Page.c"
} else {
gboolean _tmp10_ = FALSE;
CheckerboardItem* _tmp11_ = NULL;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->cursor;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_ != NULL) {
-#line 12014 "Page.c"
+#line 12017 "Page.c"
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
CheckerboardItem* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->cursor;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = data_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_OBJECT, DataObject));
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = !_tmp15_;
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp13_);
-#line 12031 "Page.c"
+#line 12034 "Page.c"
} else {
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = FALSE;
-#line 12035 "Page.c"
+#line 12038 "Page.c"
}
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp10_;
-#line 12039 "Page.c"
+#line 12042 "Page.c"
}
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 12043 "Page.c"
+#line 12046 "Page.c"
CheckerboardItem* item = NULL;
CheckerboardLayout* _tmp16_ = NULL;
CheckerboardItem* _tmp17_ = NULL;
CheckerboardItem* _tmp18_ = NULL;
CheckerboardItem* _tmp19_ = NULL;
CheckerboardItem* _tmp20_ = NULL;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->layout;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = checkerboard_layout_get_item_at_coordinate (_tmp16_, 0, 0);
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
- item = _tmp17_;
#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
+ item = _tmp17_;
+#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item;
-#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
- checkerboard_page_cursor_to_item (self, _tmp18_);
#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
+ checkerboard_page_cursor_to_item (self, _tmp18_);
+#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = item;
-#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _g_object_ref0 (_tmp19_);
-#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp20_;
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 12072 "Page.c"
+#line 12075 "Page.c"
}
-#line 1886 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = self->cursor;
-#line 1886 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_ == NULL) {
-#line 12078 "Page.c"
+#line 12081 "Page.c"
CheckerboardLayout* _tmp22_ = NULL;
CheckerboardItem* _tmp23_ = NULL;
CheckerboardItem* _tmp24_ = NULL;
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->layout;
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = checkerboard_layout_get_cursor (_tmp22_);
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp23_, TYPE_CHECKERBOARD_ITEM) ? ((CheckerboardItem*) _tmp23_) : NULL;
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp24_ == NULL) {
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp23_);
-#line 12092 "Page.c"
+#line 12095 "Page.c"
}
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1888 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp24_;
-#line 12098 "Page.c"
+#line 12101 "Page.c"
}
-#line 1891 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = self->priv->layout;
-#line 1891 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = self->cursor;
-#line 1891 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = point;
-#line 1891 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = checkerboard_layout_get_item_relative_to (_tmp25_, _tmp26_, _tmp27_);
-#line 1891 "/home/jens/Source/shotwell/src/Page.vala"
- item = _tmp28_;
#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+ item = _tmp28_;
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = item;
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_ != NULL) {
-#line 12114 "Page.c"
+#line 12117 "Page.c"
CheckerboardItem* _tmp30_ = NULL;
-#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1894 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = item;
-#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1894 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp30_);
-#line 12120 "Page.c"
+#line 12123 "Page.c"
}
-#line 1870 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1871 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 12124 "Page.c"
+#line 12127 "Page.c"
}
@@ -12137,51 +12140,51 @@ void checkerboard_page_set_cursor (CheckerboardPage* self, CheckerboardItem* ite
CheckerboardItem* _tmp8_ = NULL;
CheckerboardItem* _tmp9_ = NULL;
CheckerboardItem* _tmp10_ = NULL;
-#line 1896 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1896 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
+#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = item;
-#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_OBJECT, DataObject));
-#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
- marker = _tmp4_;
#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+ marker = _tmp4_;
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp6_, marker);
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp6_);
-#line 1900 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = item;
-#line 1900 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _g_object_ref0 (_tmp7_);
-#line 1900 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1900 "/home/jens/Source/shotwell/src/Page.vala"
- self->cursor = _tmp8_;
#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+ self->cursor = _tmp8_;
+#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = item;
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _g_object_ref0 (_tmp9_);
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp10_;
-#line 1896 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1897 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 12185 "Page.c"
+#line 12188 "Page.c"
}
@@ -12196,29 +12199,29 @@ void checkerboard_page_select_between_items (CheckerboardPage* self, Checkerboar
ViewCollection* _tmp28_ = NULL;
ViewCollection* _tmp29_ = NULL;
Marker* _tmp30_ = NULL;
-#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item_start));
-#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_CHECKERBOARD_ITEM (item_end));
#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_CHECKERBOARD_ITEM (item_end));
+#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp3_;
-#line 1907 "/home/jens/Source/shotwell/src/Page.vala"
- passed_start = FALSE;
#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
+ passed_start = FALSE;
+#line 1909 "/home/jens/Source/shotwell/src/Page.vala"
passed_end = FALSE;
-#line 12222 "Page.c"
+#line 12225 "Page.c"
{
GeeIterator* _object_it = NULL;
ViewCollection* _tmp4_ = NULL;
@@ -12227,27 +12230,27 @@ void checkerboard_page_select_between_items (CheckerboardPage* self, Checkerboar
GeeCollection* _tmp7_ = NULL;
GeeIterator* _tmp8_ = NULL;
GeeIterator* _tmp9_ = NULL;
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp7_);
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp5_);
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_object_it = _tmp9_;
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 12251 "Page.c"
+#line 12254 "Page.c"
GeeIterator* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
DataObject* object = NULL;
@@ -12264,125 +12267,125 @@ void checkerboard_page_select_between_items (CheckerboardPage* self, Checkerboar
gboolean _tmp21_ = FALSE;
gboolean _tmp25_ = FALSE;
gboolean _tmp26_ = FALSE;
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _object_it;
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = gee_iterator_next (_tmp10_);
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp11_) {
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 12276 "Page.c"
+#line 12279 "Page.c"
}
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _object_it;
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = gee_iterator_get (_tmp12_);
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
- object = (DataObject*) _tmp13_;
#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+ object = (DataObject*) _tmp13_;
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = object;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp15_;
-#line 1913 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1914 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = item_start;
-#line 1913 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1914 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = item;
-#line 1913 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp16_ == _tmp17_) {
#line 1914 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp16_ == _tmp17_) {
+#line 1915 "/home/jens/Source/shotwell/src/Page.vala"
passed_start = TRUE;
-#line 12298 "Page.c"
+#line 12301 "Page.c"
}
-#line 1916 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item_end;
-#line 1916 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = item;
-#line 1916 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp18_ == _tmp19_) {
#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp18_ == _tmp19_) {
+#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
passed_end = TRUE;
-#line 12308 "Page.c"
+#line 12311 "Page.c"
}
-#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = passed_start;
-#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = TRUE;
-#line 12316 "Page.c"
+#line 12319 "Page.c"
} else {
gboolean _tmp22_ = FALSE;
-#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = passed_end;
-#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp22_;
-#line 12323 "Page.c"
+#line 12326 "Page.c"
}
-#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_) {
-#line 12327 "Page.c"
+#line 12330 "Page.c"
Marker* _tmp23_ = NULL;
DataObject* _tmp24_ = NULL;
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = marker;
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = object;
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_VIEW, DataView), TYPE_DATA_OBJECT, DataObject));
-#line 12336 "Page.c"
+#line 12339 "Page.c"
}
-#line 1922 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = passed_start;
-#line 1922 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp26_) {
-#line 12342 "Page.c"
+#line 12345 "Page.c"
gboolean _tmp27_ = FALSE;
-#line 1922 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = passed_end;
-#line 1922 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp27_;
-#line 12348 "Page.c"
+#line 12351 "Page.c"
} else {
-#line 1922 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = FALSE;
-#line 12352 "Page.c"
+#line 12355 "Page.c"
}
-#line 1922 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp25_) {
#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp25_) {
+#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (object);
-#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 12362 "Page.c"
+#line 12365 "Page.c"
}
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (object);
-#line 12368 "Page.c"
+#line 12371 "Page.c"
}
-#line 1910 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_object_it);
-#line 12372 "Page.c"
+#line 12375 "Page.c"
}
-#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_;
-#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = marker;
-#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp29_, _tmp30_);
-#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp29_);
-#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 12386 "Page.c"
+#line 12389 "Page.c"
}
@@ -12390,65 +12393,65 @@ void checkerboard_page_select_anchor_to_cursor (CheckerboardPage* self, guint st
gboolean _tmp0_ = FALSE;
CheckerboardItem* _tmp1_ = NULL;
guint _tmp3_ = 0U;
-#line 1929 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->cursor;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ == NULL) {
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = TRUE;
-#line 12402 "Page.c"
+#line 12405 "Page.c"
} else {
CheckerboardItem* _tmp2_ = NULL;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->anchor;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 12409 "Page.c"
+#line 12412 "Page.c"
}
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp0_) {
#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp0_) {
+#line 1932 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 12415 "Page.c"
+#line 12418 "Page.c"
}
-#line 1933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = state;
-#line 1933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ == ((guint) GDK_SHIFT_MASK)) {
-#line 12421 "Page.c"
+#line 12424 "Page.c"
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
CheckerboardItem* _tmp6_ = NULL;
CheckerboardItem* _tmp7_ = NULL;
-#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp5_);
-#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp5_);
#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp5_);
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->anchor;
-#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->cursor;
-#line 1935 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_between_items (self, _tmp6_, _tmp7_);
-#line 12440 "Page.c"
+#line 12443 "Page.c"
} else {
CheckerboardItem* _tmp8_ = NULL;
CheckerboardItem* _tmp9_ = NULL;
-#line 1937 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1938 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->cursor;
-#line 1937 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1938 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _g_object_ref0 (_tmp8_);
-#line 1937 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1938 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1937 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1938 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp9_;
-#line 12452 "Page.c"
+#line 12455 "Page.c"
}
}
@@ -12462,48 +12465,48 @@ static void checkerboard_page_real_set_display_titles (CheckerboardPage* self, g
GValue _tmp5_ = {0};
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp1_);
#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp1_);
+#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = display;
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
g_value_init (&_tmp5_, G_TYPE_BOOLEAN);
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
g_value_set_boolean (&_tmp5_, _tmp4_);
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_set_property (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), CHECKERBOARD_ITEM_PROP_SHOW_TITLES, &_tmp5_, NULL, NULL);
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL;
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp3_);
#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp3_);
+#line 1945 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1945 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1945 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1944 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1945 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp7_);
-#line 12498 "Page.c"
+#line 12501 "Page.c"
}
void checkerboard_page_set_display_titles (CheckerboardPage* self, gboolean display) {
-#line 1941 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1941 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
CHECKERBOARD_PAGE_GET_CLASS (self)->set_display_titles (self, display);
-#line 12507 "Page.c"
+#line 12510 "Page.c"
}
@@ -12516,48 +12519,48 @@ static void checkerboard_page_real_set_display_comments (CheckerboardPage* self,
GValue _tmp5_ = {0};
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
-#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp1_);
#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp1_);
+#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = display;
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
g_value_init (&_tmp5_, G_TYPE_BOOLEAN);
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
g_value_set_boolean (&_tmp5_, _tmp4_);
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_set_property (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), CHECKERBOARD_ITEM_PROP_SHOW_COMMENTS, &_tmp5_, NULL, NULL);
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL;
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp3_);
#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp3_);
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp7_);
-#line 12552 "Page.c"
+#line 12555 "Page.c"
}
void checkerboard_page_set_display_comments (CheckerboardPage* self, gboolean display) {
-#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
CHECKERBOARD_PAGE_GET_CLASS (self)->set_display_comments (self, display);
-#line 12561 "Page.c"
+#line 12564 "Page.c"
}
@@ -12570,54 +12573,54 @@ void checkerboard_page_keyboard_modifiers_init (CheckerboardPageKeyboardModifier
gboolean _tmp5_ = FALSE;
Page* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 1230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1231 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (page));
-#line 1230 "/home/jens/Source/shotwell/src/Page.vala"
- memset (self, 0, sizeof (CheckerboardPageKeyboardModifiers));
#line 1231 "/home/jens/Source/shotwell/src/Page.vala"
+ memset (self, 0, sizeof (CheckerboardPageKeyboardModifiers));
+#line 1232 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page;
-#line 1231 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1232 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_ctrl_pressed (_tmp0_);
-#line 1231 "/home/jens/Source/shotwell/src/Page.vala"
- (*self).ctrl_pressed = _tmp1_;
#line 1232 "/home/jens/Source/shotwell/src/Page.vala"
+ (*self).ctrl_pressed = _tmp1_;
+#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page;
-#line 1232 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = page_get_alt_pressed (_tmp2_);
-#line 1232 "/home/jens/Source/shotwell/src/Page.vala"
- (*self).alt_pressed = _tmp3_;
#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
+ (*self).alt_pressed = _tmp3_;
+#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page;
-#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_shift_pressed (_tmp4_);
-#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
- (*self).shift_pressed = _tmp5_;
#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
+ (*self).shift_pressed = _tmp5_;
+#line 1235 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page;
-#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1235 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_super_pressed (_tmp6_);
-#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1235 "/home/jens/Source/shotwell/src/Page.vala"
(*self).super_pressed = _tmp7_;
-#line 12602 "Page.c"
+#line 12605 "Page.c"
}
CheckerboardPageKeyboardModifiers* checkerboard_page_keyboard_modifiers_dup (const CheckerboardPageKeyboardModifiers* self) {
CheckerboardPageKeyboardModifiers* dup;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1230 "/home/jens/Source/shotwell/src/Page.vala"
dup = g_new0 (CheckerboardPageKeyboardModifiers, 1);
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1230 "/home/jens/Source/shotwell/src/Page.vala"
memcpy (dup, self, sizeof (CheckerboardPageKeyboardModifiers));
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1230 "/home/jens/Source/shotwell/src/Page.vala"
return dup;
-#line 12614 "Page.c"
+#line 12617 "Page.c"
}
void checkerboard_page_keyboard_modifiers_free (CheckerboardPageKeyboardModifiers* self) {
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1230 "/home/jens/Source/shotwell/src/Page.vala"
g_free (self);
-#line 12621 "Page.c"
+#line 12624 "Page.c"
}
@@ -12633,113 +12636,113 @@ GType checkerboard_page_keyboard_modifiers_get_type (void) {
static void checkerboard_page_class_init (CheckerboardPageClass * klass) {
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_parent_class = g_type_class_peek_parent (klass);
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (CheckerboardPagePrivate));
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->get_item_context_menu = (GtkMenu* (*)(CheckerboardPage*)) checkerboard_page_real_get_item_context_menu;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->get_page_context_menu = (GtkMenu* (*)(Page*)) checkerboard_page_real_get_page_context_menu;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_context_keypress = (gboolean (*)(Page*)) checkerboard_page_real_on_context_keypress;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->get_view_empty_message = (gchar* (*)(CheckerboardPage*)) checkerboard_page_real_get_view_empty_message;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->get_filter_no_match_message = (gchar* (*)(CheckerboardPage*)) checkerboard_page_real_get_filter_no_match_message;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->on_item_activated = (void (*)(CheckerboardPage*, CheckerboardItem*, CheckerboardPageActivator, CheckerboardPageKeyboardModifiers*)) checkerboard_page_real_on_item_activated;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->get_search_view_filter = (SearchViewFilter* (*)(CheckerboardPage*)) checkerboard_page_real_get_search_view_filter;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->get_view_tracker = (CoreViewTracker* (*)(CheckerboardPage*)) checkerboard_page_real_get_view_tracker;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->switching_from = (void (*)(Page*)) checkerboard_page_real_switching_from;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->switched_to = (void (*)(Page*)) checkerboard_page_real_switched_to;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->set_page_name = (void (*)(Page*, const gchar*)) checkerboard_page_real_set_page_name;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((GtkWidgetClass *) klass)->key_press_event = (gboolean (*)(GtkWidget*, GdkEventKey*)) checkerboard_page_real_key_press_event;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_left_click = (gboolean (*)(Page*, GdkEventButton*)) checkerboard_page_real_on_left_click;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_left_released = (gboolean (*)(Page*, GdkEventButton*)) checkerboard_page_real_on_left_released;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_right_click = (gboolean (*)(Page*, GdkEventButton*)) checkerboard_page_real_on_right_click;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->on_mouse_over = (gboolean (*)(CheckerboardPage*, CheckerboardItem*, gint, gint, GdkModifierType)) checkerboard_page_real_on_mouse_over;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_motion = (gboolean (*)(Page*, GdkEventMotion*, gint, gint, GdkModifierType)) checkerboard_page_real_on_motion;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->set_display_titles = (void (*)(CheckerboardPage*, gboolean)) checkerboard_page_real_set_display_titles;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->set_display_comments = (void (*)(CheckerboardPage*, gboolean)) checkerboard_page_real_set_display_comments;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (klass)->finalize = checkerboard_page_finalize;
-#line 12681 "Page.c"
+#line 12684 "Page.c"
}
static void checkerboard_page_instance_init (CheckerboardPage * self) {
GtkViewport* _tmp0_ = NULL;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = CHECKERBOARD_PAGE_GET_PRIVATE (self);
-#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->item_context_menu_path = NULL;
#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->page_context_menu_path = NULL;
+ self->priv->item_context_menu_path = NULL;
#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->page_context_menu_path = NULL;
+#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = (GtkViewport*) gtk_viewport_new (NULL, NULL);
-#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp0_);
-#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->viewport = _tmp0_;
#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
- self->anchor = NULL;
+ self->priv->viewport = _tmp0_;
#line 1218 "/home/jens/Source/shotwell/src/Page.vala"
- self->cursor = NULL;
+ self->anchor = NULL;
#line 1219 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->highlighted = NULL;
+ self->cursor = NULL;
#line 1220 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->autoscroll_scheduled = FALSE;
+ self->priv->highlighted = NULL;
#line 1221 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->activated_item = NULL;
+ self->priv->autoscroll_scheduled = FALSE;
#line 1222 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->activated_item = NULL;
+#line 1223 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->previously_selected = NULL;
-#line 12711 "Page.c"
+#line 12714 "Page.c"
}
static void checkerboard_page_finalize (GObject* obj) {
CheckerboardPage * self;
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (self->priv->layout);
#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
- _g_free0 (self->priv->item_context_menu_path);
+ _g_object_unref0 (self->priv->layout);
#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
- _g_free0 (self->priv->page_context_menu_path);
+ _g_free0 (self->priv->item_context_menu_path);
#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (self->priv->viewport);
+ _g_free0 (self->priv->page_context_menu_path);
#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (self->anchor);
+ _g_object_unref0 (self->priv->viewport);
#line 1218 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (self->cursor);
+ _g_object_unref0 (self->anchor);
#line 1219 "/home/jens/Source/shotwell/src/Page.vala"
+ _g_object_unref0 (self->cursor);
+#line 1220 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1221 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (self->priv->activated_item);
#line 1222 "/home/jens/Source/shotwell/src/Page.vala"
+ _g_object_unref0 (self->priv->activated_item);
+#line 1223 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->previously_selected);
-#line 1289 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1290 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->item_context_menu);
-#line 1301 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1302 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->page_context_menu);
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1210 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (checkerboard_page_parent_class)->finalize (obj);
-#line 12743 "Page.c"
+#line 12746 "Page.c"
}
@@ -12768,18 +12771,18 @@ GType single_photo_page_update_reason_get_type (void) {
static void _single_photo_page_on_viewport_resize_gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
-#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_on_viewport_resize ((SinglePhotoPage*) self);
-#line 12774 "Page.c"
+#line 12777 "Page.c"
}
static gboolean _single_photo_page_on_canvas_exposed_gtk_widget_draw (GtkWidget* _sender, cairo_t* cr, gpointer self) {
gboolean result;
result = single_photo_page_on_canvas_exposed ((SinglePhotoPage*) self, cr);
-#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 12783 "Page.c"
+#line 12786 "Page.c"
}
@@ -12799,71 +12802,71 @@ SinglePhotoPage* single_photo_page_construct (GType object_type, const gchar* pa
GtkViewport* _tmp11_ = NULL;
GtkDrawingArea* _tmp12_ = NULL;
GtkDrawingArea* _tmp13_ = NULL;
-#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (page_name != NULL, NULL);
#line 1987 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (page_name != NULL, NULL);
+#line 1988 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_name;
-#line 1987 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1988 "/home/jens/Source/shotwell/src/Page.vala"
self = (SinglePhotoPage*) page_construct (object_type, _tmp0_);
-#line 1989 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1990 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = scale_up_to_viewport;
-#line 1989 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1990 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scale_up_to_viewport = _tmp1_;
-#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = transition_effects_manager_get_instance ();
-#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = transition_effects_manager_create_null_transition_clock (_tmp3_);
-#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_clock = _tmp4_;
-#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
_transition_effects_manager_unref0 (_tmp3_);
-#line 1995 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1996 "/home/jens/Source/shotwell/src/Page.vala"
gtk_scrolled_window_set_policy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-#line 1997 "/home/jens/Source/shotwell/src/Page.vala"
- gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), (guint) 0);
#line 1998 "/home/jens/Source/shotwell/src/Page.vala"
+ gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), (guint) 0);
+#line 1999 "/home/jens/Source/shotwell/src/Page.vala"
gtk_scrolled_window_set_shadow_type (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_SHADOW_NONE);
-#line 2000 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->viewport;
-#line 2000 "/home/jens/Source/shotwell/src/Page.vala"
- gtk_viewport_set_shadow_type (_tmp5_, GTK_SHADOW_NONE);
#line 2001 "/home/jens/Source/shotwell/src/Page.vala"
+ gtk_viewport_set_shadow_type (_tmp5_, GTK_SHADOW_NONE);
+#line 2002 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->viewport;
-#line 2001 "/home/jens/Source/shotwell/src/Page.vala"
- gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_container_get_type (), GtkContainer), (guint) 0);
#line 2002 "/home/jens/Source/shotwell/src/Page.vala"
+ gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_container_get_type (), GtkContainer), (guint) 0);
+#line 2003 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->viewport;
-#line 2002 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2003 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->canvas;
-#line 2002 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2003 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget));
-#line 2004 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2005 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->viewport;
-#line 2004 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2005 "/home/jens/Source/shotwell/src/Page.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 2006 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2007 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->canvas;
-#line 2006 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2007 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_add_events (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), (gint) ((GDK_EXPOSURE_MASK | GDK_STRUCTURE_MASK) | GDK_SUBSTRUCTURE_MASK));
-#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->viewport;
-#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), "size-allocate", (GCallback) _single_photo_page_on_viewport_resize_gtk_widget_size_allocate, self, 0);
#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), "size-allocate", (GCallback) _single_photo_page_on_viewport_resize_gtk_widget_size_allocate, self, 0);
+#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->canvas;
-#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), "draw", (GCallback) _single_photo_page_on_canvas_exposed_gtk_widget_draw, self, 0);
-#line 2012 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2013 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->canvas;
-#line 2012 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2013 "/home/jens/Source/shotwell/src/Page.vala"
page_set_event_source (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget));
-#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1987 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 12867 "Page.c"
+#line 12870 "Page.c"
}
@@ -12871,38 +12874,38 @@ gboolean single_photo_page_is_transition_in_progress (SinglePhotoPage* self) {
gboolean result = FALSE;
TransitionClock* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 2015 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
#line 2016 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
+#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->transition_clock;
-#line 2016 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = transition_clock_is_in_progress (_tmp0_);
-#line 2016 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2016 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 12885 "Page.c"
+#line 12888 "Page.c"
}
void single_photo_page_cancel_transition (SinglePhotoPage* self) {
TransitionClock* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 2019 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2020 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->transition_clock;
-#line 2020 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = transition_clock_is_in_progress (_tmp0_);
-#line 2020 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 12900 "Page.c"
+#line 12903 "Page.c"
TransitionClock* _tmp2_ = NULL;
-#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->transition_clock;
-#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Page.vala"
transition_clock_cancel (_tmp2_);
-#line 12906 "Page.c"
+#line 12909 "Page.c"
}
}
@@ -12914,53 +12917,53 @@ void single_photo_page_set_transition (SinglePhotoPage* self, const gchar* effec
TransitionClock* _tmp3_ = NULL;
TransitionClock* _tmp4_ = NULL;
gint _tmp8_ = 0;
-#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (effect_id != NULL);
#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (effect_id != NULL);
+#line 2026 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_cancel_transition (self);
-#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = transition_effects_manager_get_instance ();
-#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = effect_id;
-#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = transition_effects_manager_create_transition_clock (_tmp1_, _tmp2_);
-#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_clock = _tmp3_;
-#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
- _transition_effects_manager_unref0 (_tmp1_);
#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
+ _transition_effects_manager_unref0 (_tmp1_);
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->transition_clock;
-#line 2028 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == NULL) {
-#line 12942 "Page.c"
+#line 12945 "Page.c"
TransitionEffectsManager* _tmp5_ = NULL;
TransitionEffectsManager* _tmp6_ = NULL;
TransitionClock* _tmp7_ = NULL;
-#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = transition_effects_manager_get_instance ();
-#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = transition_effects_manager_create_null_transition_clock (_tmp6_);
-#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_clock = _tmp7_;
-#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
_transition_effects_manager_unref0 (_tmp6_);
-#line 12958 "Page.c"
+#line 12961 "Page.c"
}
-#line 2031 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = duration_msec;
-#line 2031 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_duration_msec = _tmp8_;
-#line 12964 "Page.c"
+#line 12967 "Page.c"
}
@@ -12992,86 +12995,86 @@ static void single_photo_page_render_zoomed_to_pixmap (SinglePhotoPage* self, Zo
gint _tmp49_ = 0;
gint _tmp50_ = 0;
cairo_t* _tmp51_ = NULL;
-#line 2035 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2035 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (zoom_state != NULL);
#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (zoom_state != NULL);
+#line 2037 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2037 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2038 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2039 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewing_rectangle_wrt_content (zoom_state, &_tmp1_);
-#line 2038 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2039 "/home/jens/Source/shotwell/src/Page.vala"
view_rect = _tmp1_;
-#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = single_photo_page_get_zoom_buffer (self);
-#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_ != NULL;
-#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp3_);
-#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 13018 "Page.c"
+#line 13021 "Page.c"
GdkPixbuf* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
GdkPixbuf* _tmp15_ = NULL;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->zoom_high_quality;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_) {
-#line 13026 "Page.c"
+#line 13029 "Page.c"
ZoomBuffer* _tmp7_ = NULL;
ZoomBuffer* _tmp8_ = NULL;
ZoomState _tmp9_ = {0};
GdkPixbuf* _tmp10_ = NULL;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = single_photo_page_get_zoom_buffer (self);
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = *zoom_state;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = zoom_buffer_get_zoomed_image (_tmp8_, &_tmp9_);
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp10_;
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp8_);
-#line 13045 "Page.c"
+#line 13048 "Page.c"
} else {
ZoomBuffer* _tmp11_ = NULL;
ZoomBuffer* _tmp12_ = NULL;
ZoomState _tmp13_ = {0};
GdkPixbuf* _tmp14_ = NULL;
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = single_photo_page_get_zoom_buffer (self);
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _tmp11_;
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = *zoom_state;
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = zoom_buffer_get_zoom_preview_image (_tmp12_, &_tmp13_);
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp14_;
-#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp12_);
-#line 13065 "Page.c"
+#line 13068 "Page.c"
}
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _g_object_ref0 (_tmp5_);
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
zoomed = _tmp15_;
-#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 13075 "Page.c"
+#line 13078 "Page.c"
} else {
GdkRectangle view_rect_proj = {0};
GdkPixbuf* _tmp16_ = NULL;
@@ -13093,113 +13096,113 @@ static void single_photo_page_render_zoomed_to_pixmap (SinglePhotoPage* self, Zo
GdkRectangle _tmp31_ = {0};
gint _tmp32_ = 0;
GdkPixbuf* _tmp33_ = NULL;
-#line 2045 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->unscaled;
-#line 2045 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewing_rectangle_projection (zoom_state, _tmp16_, &_tmp17_);
-#line 2045 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
view_rect_proj = _tmp17_;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = self->priv->unscaled;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = view_rect_proj;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_.x;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = view_rect_proj;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_.y;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = view_rect_proj;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_.width;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = view_rect_proj;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = _tmp25_.height;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = gdk_pixbuf_new_subpixbuf (_tmp18_, _tmp20_, _tmp22_, _tmp24_, _tmp26_);
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
proj_subpixbuf = _tmp27_;
-#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = proj_subpixbuf;
-#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = view_rect;
-#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_.width;
-#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = view_rect;
-#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp31_.height;
-#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = gdk_pixbuf_scale_simple (_tmp28_, _tmp30_, _tmp32_, GDK_INTERP_BILINEAR);
-#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
zoomed = _tmp33_;
-#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2042 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (proj_subpixbuf);
-#line 13143 "Page.c"
+#line 13146 "Page.c"
}
-#line 2054 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2055 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = zoomed;
-#line 2054 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp34_ == NULL) {
#line 2055 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp34_ == NULL) {
+#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 2055 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13153 "Page.c"
+#line 13156 "Page.c"
}
-#line 2058 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = self->priv->pixmap_dim;
-#line 2058 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_.width;
-#line 2058 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = view_rect;
-#line 2058 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_.width;
-#line 2058 "/home/jens/Source/shotwell/src/Page.vala"
- draw_x = (_tmp36_ - _tmp38_) / 2;
#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
+ draw_x = (_tmp36_ - _tmp38_) / 2;
+#line 2060 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = draw_x;
-#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2060 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = CLAMP (_tmp39_, 0, G_MAXINT);
-#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2060 "/home/jens/Source/shotwell/src/Page.vala"
draw_x = _tmp40_;
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->priv->pixmap_dim;
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = _tmp41_.height;
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = view_rect;
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = _tmp43_.height;
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
- draw_y = (_tmp42_ - _tmp44_) / 2;
#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+ draw_y = (_tmp42_ - _tmp44_) / 2;
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = draw_y;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = CLAMP (_tmp45_, 0, G_MAXINT);
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
draw_y = _tmp46_;
-#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = self->priv->pixmap_ctx;
-#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = zoomed;
-#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = draw_x;
-#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = draw_y;
-#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
- gdk_cairo_set_source_pixbuf (_tmp47_, _tmp48_, (gdouble) _tmp49_, (gdouble) _tmp50_);
#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
+ gdk_cairo_set_source_pixbuf (_tmp47_, _tmp48_, (gdouble) _tmp49_, (gdouble) _tmp50_);
+#line 2066 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = self->priv->pixmap_ctx;
-#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2066 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp51_);
-#line 2035 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 13203 "Page.c"
+#line 13206 "Page.c"
}
@@ -13211,39 +13214,39 @@ void single_photo_page_on_interactive_zoom (SinglePhotoPage* self, ZoomState* in
gboolean _tmp3_ = FALSE;
ZoomState _tmp4_ = {0};
GtkDrawingArea* _tmp5_ = NULL;
-#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2069 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (interactive_zoom_state != NULL);
#line 2069 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (interactive_zoom_state != NULL);
+#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2069 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2072 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
- set_source_color_from_string (_tmp1_, "#000");
#line 2072 "/home/jens/Source/shotwell/src/Page.vala"
+ set_source_color_from_string (_tmp1_, "#000");
+#line 2073 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_ctx;
-#line 2072 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2073 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp2_);
-#line 2074 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2075 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->zoom_high_quality;
-#line 2074 "/home/jens/Source/shotwell/src/Page.vala"
- old_quality_setting = _tmp3_;
#line 2075 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->zoom_high_quality = FALSE;
+ old_quality_setting = _tmp3_;
#line 2076 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->zoom_high_quality = FALSE;
+#line 2077 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = *interactive_zoom_state;
-#line 2076 "/home/jens/Source/shotwell/src/Page.vala"
- single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_);
#line 2077 "/home/jens/Source/shotwell/src/Page.vala"
+ single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_);
+#line 2078 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = old_quality_setting;
-#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2080 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->canvas;
-#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2080 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 13247 "Page.c"
+#line 13250 "Page.c"
}
@@ -13255,230 +13258,230 @@ void single_photo_page_on_interactive_pan (SinglePhotoPage* self, ZoomState* int
gboolean _tmp3_ = FALSE;
ZoomState _tmp4_ = {0};
GtkDrawingArea* _tmp5_ = NULL;
-#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2083 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (interactive_zoom_state != NULL);
#line 2083 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (interactive_zoom_state != NULL);
+#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2086 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
- set_source_color_from_string (_tmp1_, "#000");
#line 2086 "/home/jens/Source/shotwell/src/Page.vala"
+ set_source_color_from_string (_tmp1_, "#000");
+#line 2087 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_ctx;
-#line 2086 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2087 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp2_);
-#line 2088 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2089 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->zoom_high_quality;
-#line 2088 "/home/jens/Source/shotwell/src/Page.vala"
- old_quality_setting = _tmp3_;
#line 2089 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->zoom_high_quality = TRUE;
+ old_quality_setting = _tmp3_;
#line 2090 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->zoom_high_quality = TRUE;
+#line 2091 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = *interactive_zoom_state;
-#line 2090 "/home/jens/Source/shotwell/src/Page.vala"
- single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_);
#line 2091 "/home/jens/Source/shotwell/src/Page.vala"
+ single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_);
+#line 2092 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = old_quality_setting;
-#line 2093 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2094 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->canvas;
-#line 2093 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2094 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 13291 "Page.c"
+#line 13294 "Page.c"
}
static gboolean single_photo_page_real_is_zoom_supported (SinglePhotoPage* self) {
gboolean result = FALSE;
-#line 2097 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2098 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 2097 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2098 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13301 "Page.c"
+#line 13304 "Page.c"
}
gboolean single_photo_page_is_zoom_supported (SinglePhotoPage* self) {
-#line 2096 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2097 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
-#line 2096 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2097 "/home/jens/Source/shotwell/src/Page.vala"
return SINGLE_PHOTO_PAGE_GET_CLASS (self)->is_zoom_supported (self);
-#line 13310 "Page.c"
+#line 13313 "Page.c"
}
static void single_photo_page_real_cancel_zoom (SinglePhotoPage* self) {
cairo_surface_t* _tmp0_ = NULL;
-#line 2101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2102 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap;
-#line 2101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2102 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 13320 "Page.c"
+#line 13323 "Page.c"
cairo_t* _tmp1_ = NULL;
cairo_t* _tmp2_ = NULL;
-#line 2102 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2102 "/home/jens/Source/shotwell/src/Page.vala"
- set_source_color_from_string (_tmp1_, "#000");
#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
+ set_source_color_from_string (_tmp1_, "#000");
+#line 2104 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_ctx;
-#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2104 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp2_);
-#line 13331 "Page.c"
+#line 13334 "Page.c"
}
}
void single_photo_page_cancel_zoom (SinglePhotoPage* self) {
-#line 2100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2101 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2101 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->cancel_zoom (self);
-#line 13341 "Page.c"
+#line 13344 "Page.c"
}
static void single_photo_page_real_save_zoom_state (SinglePhotoPage* self) {
ZoomState _tmp0_ = {0};
-#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2109 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->static_zoom_state;
-#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->saved_zoom_state = _tmp0_;
#line 2109 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->saved_zoom_state = _tmp0_;
+#line 2110 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->has_saved_zoom_state = TRUE;
-#line 13353 "Page.c"
+#line 13356 "Page.c"
}
void single_photo_page_save_zoom_state (SinglePhotoPage* self) {
-#line 2107 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2107 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->save_zoom_state (self);
-#line 13362 "Page.c"
+#line 13365 "Page.c"
}
static void single_photo_page_real_restore_zoom_state (SinglePhotoPage* self) {
gboolean _tmp0_ = FALSE;
ZoomState _tmp1_ = {0};
-#line 2113 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2114 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->has_saved_zoom_state;
-#line 2113 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp0_) {
#line 2114 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!_tmp0_) {
+#line 2115 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13375 "Page.c"
+#line 13378 "Page.c"
}
-#line 2116 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2117 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->saved_zoom_state;
-#line 2116 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->static_zoom_state = _tmp1_;
#line 2117 "/home/jens/Source/shotwell/src/Page.vala"
- single_photo_page_repaint (self, NULL);
+ self->priv->static_zoom_state = _tmp1_;
#line 2118 "/home/jens/Source/shotwell/src/Page.vala"
+ single_photo_page_repaint (self, NULL);
+#line 2119 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->has_saved_zoom_state = FALSE;
-#line 13385 "Page.c"
+#line 13388 "Page.c"
}
void single_photo_page_restore_zoom_state (SinglePhotoPage* self) {
-#line 2112 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2113 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2112 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2113 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->restore_zoom_state (self);
-#line 13394 "Page.c"
+#line 13397 "Page.c"
}
static ZoomBuffer* single_photo_page_real_get_zoom_buffer (SinglePhotoPage* self) {
ZoomBuffer* result = NULL;
-#line 2122 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2123 "/home/jens/Source/shotwell/src/Page.vala"
result = NULL;
-#line 2122 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2123 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13404 "Page.c"
+#line 13407 "Page.c"
}
ZoomBuffer* single_photo_page_get_zoom_buffer (SinglePhotoPage* self) {
-#line 2121 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2122 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2121 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2122 "/home/jens/Source/shotwell/src/Page.vala"
return SINGLE_PHOTO_PAGE_GET_CLASS (self)->get_zoom_buffer (self);
-#line 13413 "Page.c"
+#line 13416 "Page.c"
}
void single_photo_page_get_saved_zoom_state (SinglePhotoPage* self, ZoomState* result) {
ZoomState _tmp0_ = {0};
-#line 2125 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2126 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2127 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->saved_zoom_state;
-#line 2126 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2127 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2126 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2127 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13427 "Page.c"
+#line 13430 "Page.c"
}
void single_photo_page_set_zoom_state (SinglePhotoPage* self, ZoomState* zoom_state) {
gboolean _tmp0_ = FALSE;
ZoomState _tmp1_ = {0};
-#line 2129 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2130 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2129 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (zoom_state != NULL);
#line 2130 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (zoom_state != NULL);
+#line 2131 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2130 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2131 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2132 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = *zoom_state;
-#line 2132 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->static_zoom_state = _tmp1_;
-#line 13446 "Page.c"
+#line 13449 "Page.c"
}
void single_photo_page_get_zoom_state (SinglePhotoPage* self, ZoomState* result) {
gboolean _tmp0_ = FALSE;
ZoomState _tmp1_ = {0};
-#line 2135 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2136 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2137 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2136 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2137 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2139 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->static_zoom_state;
-#line 2138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2139 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp1_;
-#line 2138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2139 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13465 "Page.c"
+#line 13468 "Page.c"
}
static void single_photo_page_real_switched_to (Page* base) {
SinglePhotoPage * self;
GdkPixbuf* _tmp0_ = NULL;
-#line 2141 "/home/jens/Source/shotwell/src/Page.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
#line 2142 "/home/jens/Source/shotwell/src/Page.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
+#line 2143 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (single_photo_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2144 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2145 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->unscaled;
-#line 2144 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp0_ != NULL) {
#line 2145 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp0_ != NULL) {
+#line 2146 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, NULL);
-#line 13482 "Page.c"
+#line 13485 "Page.c"
}
}
@@ -13487,21 +13490,21 @@ static void single_photo_page_real_set_container (Page* base, GtkWindow* contain
SinglePhotoPage * self;
GtkWindow* _tmp0_ = NULL;
GtkWindow* _tmp1_ = NULL;
-#line 2148 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2149 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2148 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (GTK_IS_WINDOW (container));
#line 2149 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (GTK_IS_WINDOW (container));
+#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = container;
-#line 2149 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (single_photo_page_parent_class)->set_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp0_);
-#line 2153 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2154 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = container;
-#line 2153 "/home/jens/Source/shotwell/src/Page.vala"
- if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_FULLSCREEN_WINDOW)) {
#line 2154 "/home/jens/Source/shotwell/src/Page.vala"
+ if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_FULLSCREEN_WINDOW)) {
+#line 2155 "/home/jens/Source/shotwell/src/Page.vala"
gtk_scrolled_window_set_policy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-#line 13505 "Page.c"
+#line 13508 "Page.c"
}
}
@@ -13518,92 +13521,92 @@ void single_photo_page_set_pixbuf (SinglePhotoPage* self, GdkPixbuf* unscaled, D
GdkPixbuf* _tmp8_ = NULL;
GtkDrawingArea* _tmp9_ = NULL;
Direction* _tmp10_ = NULL;
-#line 2161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_PIXBUF (unscaled));
-#line 2161 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (max_dim != NULL);
#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (max_dim != NULL);
+#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = *max_dim;
-#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_dim;
-#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = zoom_state_get_interpolation_factor (&self->priv->static_zoom_state);
-#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewport_center (&self->priv->static_zoom_state, &_tmp3_);
-#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_init (&self->priv->static_zoom_state, &_tmp0_, &_tmp1_, _tmp2_, &_tmp3_);
-#line 2166 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2167 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_cancel_transition (self);
-#line 2168 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = unscaled;
-#line 2168 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 2168 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->unscaled);
-#line 2168 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->unscaled = _tmp5_;
#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->unscaled = _tmp5_;
+#line 2170 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = *max_dim;
-#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->max_dim = _tmp6_;
#line 2170 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->max_dim = _tmp6_;
+#line 2171 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->scaled;
-#line 2170 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2171 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _g_object_ref0 (_tmp7_);
-#line 2170 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2171 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->old_scaled);
-#line 2170 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->old_scaled = _tmp8_;
#line 2171 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->old_scaled = _tmp8_;
+#line 2172 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2171 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2172 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2174 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->canvas;
-#line 2174 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_realize (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 2176 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2177 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = direction;
-#line 2176 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2177 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, _tmp10_);
-#line 13572 "Page.c"
+#line 13575 "Page.c"
}
void single_photo_page_blank_display (SinglePhotoPage* self) {
GtkDrawingArea* _tmp0_ = NULL;
-#line 2179 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2180 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2181 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->unscaled);
-#line 2180 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->unscaled = NULL;
#line 2181 "/home/jens/Source/shotwell/src/Page.vala"
- dimensions_init (&self->priv->max_dim, 0, 0);
+ self->priv->unscaled = NULL;
#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
+ dimensions_init (&self->priv->max_dim, 0, 0);
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->scaled = NULL;
#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->scaled = NULL;
+#line 2184 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2184 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = NULL;
-#line 2186 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->canvas;
-#line 2186 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_realize (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 2189 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_invalidate_all (self);
-#line 13600 "Page.c"
+#line 13603 "Page.c"
}
static gpointer _cairo_surface_reference0 (gpointer self) {
-#line 2193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
return self ? cairo_surface_reference (self) : NULL;
-#line 13607 "Page.c"
+#line 13610 "Page.c"
}
@@ -13611,38 +13614,38 @@ cairo_surface_t* single_photo_page_get_surface (SinglePhotoPage* self) {
cairo_surface_t* result = NULL;
cairo_surface_t* _tmp0_ = NULL;
cairo_surface_t* _tmp1_ = NULL;
-#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
#line 2193 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
+#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap;
-#line 2193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _cairo_surface_reference0 (_tmp0_);
-#line 2193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13625 "Page.c"
+#line 13628 "Page.c"
}
void single_photo_page_get_surface_dim (SinglePhotoPage* self, Dimensions* result) {
Dimensions _tmp0_ = {0};
-#line 2196 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2197 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap_dim;
-#line 2197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2198 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2198 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13639 "Page.c"
+#line 13642 "Page.c"
}
static gpointer _cairo_reference0 (gpointer self) {
-#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
return self ? cairo_reference (self) : NULL;
-#line 13646 "Page.c"
+#line 13649 "Page.c"
}
@@ -13650,17 +13653,17 @@ cairo_t* single_photo_page_get_cairo_context (SinglePhotoPage* self) {
cairo_t* result = NULL;
cairo_t* _tmp0_ = NULL;
cairo_t* _tmp1_ = NULL;
-#line 2200 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
+#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap_ctx;
-#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _cairo_reference0 (_tmp0_);
-#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13664 "Page.c"
+#line 13667 "Page.c"
}
@@ -13670,25 +13673,25 @@ void single_photo_page_paint_text (SinglePhotoPage* self, PangoLayout* pango_lay
gint _tmp2_ = 0;
cairo_t* _tmp3_ = NULL;
PangoLayout* _tmp4_ = NULL;
-#line 2204 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2205 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2204 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (PANGO_IS_LAYOUT (pango_layout));
#line 2205 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (PANGO_IS_LAYOUT (pango_layout));
+#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->text_ctx;
-#line 2205 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = x;
-#line 2205 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = y;
-#line 2205 "/home/jens/Source/shotwell/src/Page.vala"
- cairo_move_to (_tmp0_, (gdouble) _tmp1_, (gdouble) _tmp2_);
#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_move_to (_tmp0_, (gdouble) _tmp1_, (gdouble) _tmp2_);
+#line 2207 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->text_ctx;
-#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2207 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = pango_layout;
-#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2207 "/home/jens/Source/shotwell/src/Page.vala"
pango_cairo_show_layout (_tmp3_, _tmp4_);
-#line 13692 "Page.c"
+#line 13695 "Page.c"
}
@@ -13697,55 +13700,55 @@ void single_photo_page_get_canvas_scaling (SinglePhotoPage* self, Scaling* resul
GtkWindow* _tmp1_ = NULL;
GtkWindow* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 2209 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, TYPE_FULLSCREEN_WINDOW);
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp2_);
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 13713 "Page.c"
+#line 13716 "Page.c"
GtkWindow* _tmp4_ = NULL;
GtkWindow* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
Scaling _tmp7_ = {0};
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->scale_up_to_viewport;
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
scaling_for_screen (_tmp5_, _tmp6_, &_tmp7_);
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp7_;
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 13730 "Page.c"
+#line 13733 "Page.c"
} else {
GtkViewport* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
Scaling _tmp10_ = {0};
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2212 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->viewport;
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2212 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->scale_up_to_viewport;
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2212 "/home/jens/Source/shotwell/src/Page.vala"
scaling_for_widget (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), _tmp9_, &_tmp10_);
-#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2212 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp10_;
-#line 13743 "Page.c"
+#line 13746 "Page.c"
}
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2211 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13749 "Page.c"
+#line 13752 "Page.c"
}
@@ -13753,17 +13756,17 @@ GdkPixbuf* single_photo_page_get_unscaled_pixbuf (SinglePhotoPage* self) {
GdkPixbuf* result = NULL;
GdkPixbuf* _tmp0_ = NULL;
GdkPixbuf* _tmp1_ = NULL;
-#line 2214 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
#line 2215 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
+#line 2216 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->unscaled;
-#line 2215 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2216 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 2215 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2216 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2215 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2216 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13767 "Page.c"
+#line 13770 "Page.c"
}
@@ -13771,31 +13774,31 @@ GdkPixbuf* single_photo_page_get_scaled_pixbuf (SinglePhotoPage* self) {
GdkPixbuf* result = NULL;
GdkPixbuf* _tmp0_ = NULL;
GdkPixbuf* _tmp1_ = NULL;
-#line 2218 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
#line 2219 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
+#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->scaled;
-#line 2219 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 2219 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2219 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13785 "Page.c"
+#line 13788 "Page.c"
}
void single_photo_page_get_scaled_pixbuf_position (SinglePhotoPage* self, GdkRectangle* result) {
GdkRectangle _tmp0_ = {0};
-#line 2223 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2224 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->scaled_pos;
-#line 2224 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2224 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13799 "Page.c"
+#line 13802 "Page.c"
}
@@ -13805,50 +13808,50 @@ gboolean single_photo_page_is_inside_pixbuf (SinglePhotoPage* self, gint x, gint
gint _tmp1_ = 0;
GdkRectangle _tmp2_ = {0};
gboolean _tmp3_ = FALSE;
-#line 2227 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
#line 2228 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
+#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = x;
-#line 2228 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = y;
-#line 2228 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->scaled_pos;
-#line 2228 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = coord_in_rectangle (_tmp0_, _tmp1_, &_tmp2_);
-#line 2228 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 2228 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13823 "Page.c"
+#line 13826 "Page.c"
}
void single_photo_page_invalidate (SinglePhotoPage* self, GdkRectangle* rect) {
GtkDrawingArea* _tmp0_ = NULL;
GdkWindow* _tmp1_ = NULL;
-#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (rect != NULL);
#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (rect != NULL);
+#line 2233 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->canvas;
-#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != NULL) {
-#line 13840 "Page.c"
+#line 13843 "Page.c"
GtkDrawingArea* _tmp2_ = NULL;
GdkWindow* _tmp3_ = NULL;
GdkRectangle _tmp4_ = {0};
-#line 2233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2234 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->canvas;
-#line 2233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2234 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 2233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2234 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = *rect;
-#line 2233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2234 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_invalidate_rect (_tmp3_, &_tmp4_, FALSE);
-#line 13852 "Page.c"
+#line 13855 "Page.c"
}
}
@@ -13856,51 +13859,51 @@ void single_photo_page_invalidate (SinglePhotoPage* self, GdkRectangle* rect) {
void single_photo_page_invalidate_all (SinglePhotoPage* self) {
GtkDrawingArea* _tmp0_ = NULL;
GdkWindow* _tmp1_ = NULL;
-#line 2236 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2237 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->canvas;
-#line 2237 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 2237 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != NULL) {
-#line 13868 "Page.c"
+#line 13871 "Page.c"
GtkDrawingArea* _tmp2_ = NULL;
GdkWindow* _tmp3_ = NULL;
-#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->canvas;
-#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_invalidate_rect (_tmp3_, NULL, FALSE);
-#line 13877 "Page.c"
+#line 13880 "Page.c"
}
}
static void single_photo_page_on_viewport_resize (SinglePhotoPage* self) {
-#line 2241 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2242 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2243 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2244 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_internal_repaint (self, TRUE, NULL);
-#line 13887 "Page.c"
+#line 13890 "Page.c"
}
static void single_photo_page_real_on_resize_finished (Page* base, GdkRectangle* rect) {
SinglePhotoPage * self;
GdkRectangle _tmp0_ = {0};
-#line 2246 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2247 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2246 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (rect != NULL);
#line 2247 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (rect != NULL);
+#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = *rect;
-#line 2247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_CLASS (single_photo_page_parent_class)->on_resize_finished (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), &_tmp0_);
-#line 2250 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2251 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, NULL);
-#line 13904 "Page.c"
+#line 13907 "Page.c"
}
@@ -13911,114 +13914,114 @@ static gboolean single_photo_page_on_canvas_exposed (SinglePhotoPage* self, cair
gint _tmp5_ = 0;
gint _tmp6_ = 0;
cairo_t* _tmp7_ = NULL;
-#line 2253 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
-#line 2253 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (exposed_ctx != NULL, FALSE);
-#line 2256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap;
-#line 2256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 13923 "Page.c"
+#line 13926 "Page.c"
cairo_t* _tmp1_ = NULL;
cairo_surface_t* _tmp2_ = NULL;
-#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = exposed_ctx;
-#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap;
-#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
cairo_set_source_surface (_tmp1_, _tmp2_, (gdouble) 0, (gdouble) 0);
-#line 13932 "Page.c"
+#line 13935 "Page.c"
} else {
cairo_t* _tmp3_ = NULL;
-#line 2259 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2260 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = exposed_ctx;
-#line 2259 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2260 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp3_, "#000");
-#line 13939 "Page.c"
+#line 13942 "Page.c"
}
-#line 2261 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = exposed_ctx;
-#line 2261 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_widget_get_allocated_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 2261 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gtk_widget_get_allocated_height (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 2261 "/home/jens/Source/shotwell/src/Page.vala"
- cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp5_, (gdouble) _tmp6_);
#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp5_, (gdouble) _tmp6_);
+#line 2263 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = exposed_ctx;
-#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2263 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp7_);
-#line 2264 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 2264 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13957 "Page.c"
+#line 13960 "Page.c"
}
static void single_photo_page_real_new_surface (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
-#line 2267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2268 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx != NULL);
-#line 2267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2268 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx_dim != NULL);
-#line 13966 "Page.c"
+#line 13969 "Page.c"
}
void single_photo_page_new_surface (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
-#line 2267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2268 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2268 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->new_surface (self, ctx, ctx_dim);
-#line 13975 "Page.c"
+#line 13978 "Page.c"
}
static void single_photo_page_real_updated_pixbuf (SinglePhotoPage* self, GdkPixbuf* pixbuf, SinglePhotoPageUpdateReason reason, Dimensions* old_dim) {
-#line 2270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2271 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_PIXBUF (pixbuf));
-#line 2270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2271 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (old_dim != NULL);
-#line 13984 "Page.c"
+#line 13987 "Page.c"
}
void single_photo_page_updated_pixbuf (SinglePhotoPage* self, GdkPixbuf* pixbuf, SinglePhotoPageUpdateReason reason, Dimensions* old_dim) {
-#line 2270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2271 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2271 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->updated_pixbuf (self, pixbuf, reason, old_dim);
-#line 13993 "Page.c"
+#line 13996 "Page.c"
}
static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
-#line 2273 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx != NULL);
-#line 2273 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (ctx_dim != NULL);
#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (ctx_dim != NULL);
+#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = single_photo_page_is_zoom_supported (self);
-#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 14008 "Page.c"
+#line 14011 "Page.c"
gboolean _tmp2_ = FALSE;
-#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = zoom_state_is_default (&self->priv->static_zoom_state);
-#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = !_tmp2_;
-#line 14014 "Page.c"
+#line 14017 "Page.c"
} else {
-#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = FALSE;
-#line 14018 "Page.c"
+#line 14021 "Page.c"
}
-#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 14022 "Page.c"
+#line 14025 "Page.c"
cairo_t* _tmp3_ = NULL;
cairo_t* _tmp4_ = NULL;
Dimensions _tmp5_ = {0};
@@ -14027,31 +14030,31 @@ static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, D
gint _tmp8_ = 0;
cairo_t* _tmp9_ = NULL;
ZoomState _tmp10_ = {0};
-#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = ctx;
-#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
- set_source_color_from_string (_tmp3_, "#000");
#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
+ set_source_color_from_string (_tmp3_, "#000");
+#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = ctx;
-#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->pixmap_dim;
-#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_.width;
-#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->pixmap_dim;
-#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_.height;
-#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
- cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp6_, (gdouble) _tmp8_);
#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp6_, (gdouble) _tmp8_);
+#line 2278 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = ctx;
-#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2278 "/home/jens/Source/shotwell/src/Page.vala"
cairo_fill (_tmp9_);
-#line 2279 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->static_zoom_state;
-#line 2279 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_render_zoomed_to_pixmap (self, &_tmp10_);
-#line 14055 "Page.c"
+#line 14058 "Page.c"
} else {
TransitionClock* _tmp11_ = NULL;
cairo_t* _tmp12_ = NULL;
@@ -14060,23 +14063,23 @@ static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, D
Dimensions _tmp15_ = {0};
gint _tmp16_ = 0;
gboolean _tmp17_ = FALSE;
-#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->transition_clock;
-#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = ctx;
-#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = *ctx_dim;
-#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp13_.width;
-#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = *ctx_dim;
-#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_.height;
-#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = transition_clock_paint (_tmp11_, _tmp12_, _tmp14_, _tmp16_);
-#line 2280 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp17_) {
-#line 14080 "Page.c"
+#line 14083 "Page.c"
cairo_t* _tmp18_ = NULL;
cairo_t* _tmp19_ = NULL;
Dimensions _tmp20_ = {0};
@@ -14091,56 +14094,56 @@ static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, D
GdkRectangle _tmp29_ = {0};
gint _tmp30_ = 0;
cairo_t* _tmp31_ = NULL;
-#line 2282 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2283 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = ctx;
-#line 2282 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2283 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp18_, "#000");
-#line 2284 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = ctx;
-#line 2284 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->pixmap_dim;
-#line 2284 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_.width;
-#line 2284 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->pixmap_dim;
-#line 2284 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_.height;
-#line 2284 "/home/jens/Source/shotwell/src/Page.vala"
- cairo_rectangle (_tmp19_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp21_, (gdouble) _tmp23_);
#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
+ cairo_rectangle (_tmp19_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp21_, (gdouble) _tmp23_);
+#line 2286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = ctx;
-#line 2285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2286 "/home/jens/Source/shotwell/src/Page.vala"
cairo_fill (_tmp24_);
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = ctx;
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = self->priv->scaled;
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->scaled_pos;
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_.x;
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = self->priv->scaled_pos;
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_.y;
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
- gdk_cairo_set_source_pixbuf (_tmp25_, _tmp26_, (gdouble) _tmp28_, (gdouble) _tmp30_);
#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
+ gdk_cairo_set_source_pixbuf (_tmp25_, _tmp26_, (gdouble) _tmp28_, (gdouble) _tmp30_);
+#line 2289 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = ctx;
-#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2289 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp31_);
-#line 14133 "Page.c"
+#line 14136 "Page.c"
}
}
}
void single_photo_page_paint (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
-#line 2273 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2273 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2274 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->paint (self, ctx, ctx_dim);
-#line 14144 "Page.c"
+#line 14147 "Page.c"
}
@@ -14148,44 +14151,44 @@ static void single_photo_page_repaint_pixmap (SinglePhotoPage* self) {
cairo_t* _tmp0_ = NULL;
cairo_t* _tmp1_ = NULL;
Dimensions _tmp2_ = {0};
-#line 2292 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2293 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap_ctx;
-#line 2293 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp0_ == NULL) {
#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp0_ == NULL) {
+#line 2295 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14160 "Page.c"
+#line 14163 "Page.c"
}
-#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_dim;
-#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
- single_photo_page_paint (self, _tmp1_, &_tmp2_);
#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
+ single_photo_page_paint (self, _tmp1_, &_tmp2_);
+#line 2298 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_invalidate_all (self);
-#line 14170 "Page.c"
+#line 14173 "Page.c"
}
void single_photo_page_repaint (SinglePhotoPage* self, Direction* direction) {
Direction* _tmp0_ = NULL;
-#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2302 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = direction;
-#line 2301 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2302 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_internal_repaint (self, FALSE, _tmp0_);
-#line 14182 "Page.c"
+#line 14185 "Page.c"
}
static void _single_photo_page_repaint_pixmap_transition_clock_repaint_callback (gpointer self) {
-#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint_pixmap ((SinglePhotoPage*) self);
-#line 14189 "Page.c"
+#line 14192 "Page.c"
}
@@ -14228,171 +14231,171 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean
Direction* _tmp84_ = NULL;
TransitionClock* _tmp98_ = NULL;
gboolean _tmp99_ = FALSE;
-#line 2304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2306 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2306 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp0_) {
#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!_tmp0_) {
+#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->pixmap = NULL;
#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->pixmap = NULL;
+#line 2309 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2309 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2310 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2311 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14248 "Page.c"
+#line 14251 "Page.c"
}
-#line 2314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->unscaled;
-#line 2314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ == NULL) {
-#line 2314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = TRUE;
-#line 14256 "Page.c"
+#line 14259 "Page.c"
} else {
GtkDrawingArea* _tmp3_ = NULL;
GdkWindow* _tmp4_ = NULL;
-#line 2314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->canvas;
-#line 2314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 2314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp4_ == NULL;
-#line 14266 "Page.c"
+#line 14269 "Page.c"
}
-#line 2314 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp1_) {
#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp1_) {
+#line 2316 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14272 "Page.c"
+#line 14275 "Page.c"
}
-#line 2318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2319 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->viewport;
-#line 2318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2319 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), &_tmp6_);
-#line 2318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2319 "/home/jens/Source/shotwell/src/Page.vala"
allocation = _tmp6_;
-#line 2320 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = allocation;
-#line 2320 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_.width;
-#line 2320 "/home/jens/Source/shotwell/src/Page.vala"
- width = _tmp8_;
#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
+ width = _tmp8_;
+#line 2322 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = allocation;
-#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2322 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_.height;
-#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2322 "/home/jens/Source/shotwell/src/Page.vala"
height = _tmp10_;
-#line 2323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = width;
-#line 2323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ <= 0) {
-#line 2323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = TRUE;
-#line 14298 "Page.c"
+#line 14301 "Page.c"
} else {
gint _tmp13_ = 0;
-#line 2323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = height;
-#line 2323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp13_ <= 0;
-#line 14305 "Page.c"
+#line 14308 "Page.c"
}
-#line 2323 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp11_) {
#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp11_) {
+#line 2325 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14311 "Page.c"
+#line 14314 "Page.c"
}
-#line 2326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2327 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->scaled;
-#line 2326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2327 "/home/jens/Source/shotwell/src/Page.vala"
new_pixbuf = _tmp14_ == NULL;
-#line 2329 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2330 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->scaled_pos;
-#line 2329 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2330 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_for_rectangle (&_tmp15_, &_tmp16_);
-#line 2329 "/home/jens/Source/shotwell/src/Page.vala"
- old_scaled_dim = _tmp16_;
#line 2330 "/home/jens/Source/shotwell/src/Page.vala"
+ old_scaled_dim = _tmp16_;
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->scaled_pos;
-#line 2330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
old_scaled_pos = _tmp17_;
-#line 2333 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = self->priv->pixmap_dim;
-#line 2333 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_.width;
-#line 2333 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = width;
-#line 2333 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_ != _tmp21_) {
-#line 2333 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = TRUE;
-#line 14337 "Page.c"
+#line 14340 "Page.c"
} else {
Dimensions _tmp22_ = {0};
gint _tmp23_ = 0;
gint _tmp24_ = 0;
-#line 2333 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->pixmap_dim;
-#line 2333 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_.height;
-#line 2333 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = height;
-#line 2333 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp23_ != _tmp24_;
-#line 14350 "Page.c"
+#line 14353 "Page.c"
}
-#line 2333 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp18_) {
#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp18_) {
+#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = NULL;
-#line 14358 "Page.c"
+#line 14361 "Page.c"
}
-#line 2337 "/home/jens/Source/shotwell/src/Page.vala"
- new_pixmap = FALSE;
#line 2338 "/home/jens/Source/shotwell/src/Page.vala"
+ new_pixmap = FALSE;
+#line 2339 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = self->priv->pixmap;
-#line 2338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp25_ == NULL) {
-#line 14366 "Page.c"
+#line 14369 "Page.c"
gint _tmp26_ = 0;
gint _tmp27_ = 0;
-#line 2339 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = width;
-#line 2339 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = height;
-#line 2339 "/home/jens/Source/shotwell/src/Page.vala"
- single_photo_page_init_pixmap (self, _tmp26_, _tmp27_);
#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
+ single_photo_page_init_pixmap (self, _tmp26_, _tmp27_);
+#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
new_pixmap = TRUE;
-#line 14377 "Page.c"
+#line 14380 "Page.c"
}
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = new_pixbuf;
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_) {
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = TRUE;
-#line 14385 "Page.c"
+#line 14388 "Page.c"
} else {
gboolean _tmp30_ = FALSE;
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = new_pixmap;
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp30_;
-#line 14392 "Page.c"
+#line 14395 "Page.c"
}
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp28_) {
-#line 14396 "Page.c"
+#line 14399 "Page.c"
Dimensions unscaled_dim = {0};
GdkPixbuf* _tmp31_ = NULL;
Dimensions _tmp32_ = {0};
@@ -14417,155 +14420,155 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean
gint _tmp60_ = 0;
Dimensions _tmp61_ = {0};
gint _tmp62_ = 0;
-#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2345 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = self->priv->unscaled;
-#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2345 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_for_pixbuf (_tmp31_, &_tmp32_);
-#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2345 "/home/jens/Source/shotwell/src/Page.vala"
unscaled_dim = _tmp32_;
-#line 2348 "/home/jens/Source/shotwell/src/Page.vala"
- dimensions_init (&scaled_dim, 0, 0);
#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+ dimensions_init (&scaled_dim, 0, 0);
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = self->priv->scale_up_to_viewport;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp36_) {
-#line 14433 "Page.c"
+#line 14436 "Page.c"
gboolean _tmp37_ = FALSE;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = dimensions_has_area (&self->priv->max_dim);
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = _tmp37_;
-#line 14439 "Page.c"
+#line 14442 "Page.c"
} else {
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = FALSE;
-#line 14443 "Page.c"
+#line 14446 "Page.c"
}
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp35_) {
-#line 14447 "Page.c"
+#line 14450 "Page.c"
Dimensions _tmp38_ = {0};
gint _tmp39_ = 0;
gint _tmp40_ = 0;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = self->priv->max_dim;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp38_.width;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = width;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = _tmp39_ < _tmp40_;
-#line 14459 "Page.c"
+#line 14462 "Page.c"
} else {
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = FALSE;
-#line 14463 "Page.c"
+#line 14466 "Page.c"
}
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp34_) {
-#line 14467 "Page.c"
+#line 14470 "Page.c"
Dimensions _tmp41_ = {0};
gint _tmp42_ = 0;
gint _tmp43_ = 0;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->priv->max_dim;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = _tmp41_.height;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = height;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp42_ < _tmp43_;
-#line 14479 "Page.c"
+#line 14482 "Page.c"
} else {
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = FALSE;
-#line 14483 "Page.c"
+#line 14486 "Page.c"
}
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp33_) {
-#line 14487 "Page.c"
+#line 14490 "Page.c"
Dimensions _tmp44_ = {0};
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = self->priv->max_dim;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2351 "/home/jens/Source/shotwell/src/Page.vala"
scaled_dim = _tmp44_;
-#line 14493 "Page.c"
+#line 14496 "Page.c"
} else {
Dimensions _tmp45_ = {0};
Dimensions _tmp46_ = {0};
-#line 2352 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = self->priv->pixmap_dim;
-#line 2352 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_get_scaled_proportional (&unscaled_dim, &_tmp45_, &_tmp46_);
-#line 2352 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
scaled_dim = _tmp46_;
-#line 14503 "Page.c"
+#line 14506 "Page.c"
}
-#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = width;
-#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = scaled_dim;
-#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = _tmp48_.width;
-#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_assert (_tmp47_ >= _tmp49_, "width >= scaled_dim.width");
#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_assert (_tmp47_ >= _tmp49_, "width >= scaled_dim.width");
+#line 2356 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = height;
-#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2356 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = scaled_dim;
-#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2356 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = _tmp51_.height;
-#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2356 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp50_ >= _tmp52_, "height >= scaled_dim.height");
-#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = width;
-#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = scaled_dim;
-#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
_tmp55_ = _tmp54_.width;
-#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->scaled_pos.x = (_tmp53_ - _tmp55_) / 2;
#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->scaled_pos.x = (_tmp53_ - _tmp55_) / 2;
+#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
_tmp56_ = height;
-#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = scaled_dim;
-#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
_tmp58_ = _tmp57_.height;
-#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->scaled_pos.y = (_tmp56_ - _tmp58_) / 2;
#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->scaled_pos.y = (_tmp56_ - _tmp58_) / 2;
+#line 2361 "/home/jens/Source/shotwell/src/Page.vala"
_tmp59_ = scaled_dim;
-#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2361 "/home/jens/Source/shotwell/src/Page.vala"
_tmp60_ = _tmp59_.width;
-#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->scaled_pos.width = _tmp60_;
#line 2361 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->scaled_pos.width = _tmp60_;
+#line 2362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp61_ = scaled_dim;
-#line 2361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp62_ = _tmp61_.height;
-#line 2361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2362 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled_pos.height = _tmp62_;
-#line 14549 "Page.c"
+#line 14552 "Page.c"
}
-#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
_tmp64_ = fast;
-#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp64_) {
-#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
_tmp63_ = SINGLE_PHOTO_PAGE_FAST_INTERP;
-#line 14557 "Page.c"
+#line 14560 "Page.c"
} else {
-#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
_tmp63_ = SINGLE_PHOTO_PAGE_QUALITY_INTERP;
-#line 14561 "Page.c"
+#line 14564 "Page.c"
}
-#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
interp = _tmp63_;
-#line 2367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
_tmp65_ = self->priv->scaled;
-#line 2367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp65_ == NULL) {
-#line 14569 "Page.c"
+#line 14572 "Page.c"
GdkPixbuf* _tmp66_ = NULL;
GdkRectangle _tmp67_ = {0};
Dimensions _tmp68_ = {0};
@@ -14580,101 +14583,101 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean
GdkPixbuf* _tmp79_ = NULL;
SinglePhotoPageUpdateReason _tmp80_ = 0;
Dimensions _tmp81_ = {0};
-#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
_tmp66_ = self->priv->unscaled;
-#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
_tmp67_ = self->priv->scaled_pos;
-#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_for_rectangle (&_tmp67_, &_tmp68_);
-#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
_tmp69_ = interp;
-#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
_tmp70_ = resize_pixbuf (_tmp66_, &_tmp68_, _tmp69_);
-#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = _tmp70_;
-#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
- reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_RESIZED_CANVAS;
#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
+ reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_RESIZED_CANVAS;
+#line 2372 "/home/jens/Source/shotwell/src/Page.vala"
_tmp71_ = new_pixbuf;
-#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp71_) {
#line 2372 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp71_) {
+#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_NEW_PIXBUF;
-#line 14606 "Page.c"
+#line 14609 "Page.c"
} else {
gboolean _tmp72_ = FALSE;
gboolean _tmp73_ = FALSE;
-#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
_tmp73_ = new_pixmap;
-#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp73_) {
-#line 14614 "Page.c"
+#line 14617 "Page.c"
GdkInterpType _tmp74_ = 0;
-#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
_tmp74_ = interp;
-#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
_tmp72_ = _tmp74_ == SINGLE_PHOTO_PAGE_QUALITY_INTERP;
-#line 14620 "Page.c"
+#line 14623 "Page.c"
} else {
-#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
_tmp72_ = FALSE;
-#line 14624 "Page.c"
+#line 14627 "Page.c"
}
-#line 2373 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp72_) {
#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp72_) {
+#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_QUALITY_IMPROVEMENT;
-#line 14630 "Page.c"
+#line 14633 "Page.c"
}
}
-#line 2376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2377 "/home/jens/Source/shotwell/src/Page.vala"
_tmp75_ = self->priv->max_dim;
-#line 2376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2377 "/home/jens/Source/shotwell/src/Page.vala"
_tmp76_ = self->priv->pixmap_dim;
-#line 2376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2377 "/home/jens/Source/shotwell/src/Page.vala"
_tmp77_ = zoom_state_get_interpolation_factor (&self->priv->static_zoom_state);
-#line 2376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2377 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewport_center (&self->priv->static_zoom_state, &_tmp78_);
-#line 2376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2377 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_init (&self->priv->static_zoom_state, &_tmp75_, &_tmp76_, _tmp77_, &_tmp78_);
-#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp79_ = self->priv->scaled;
-#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp80_ = reason;
-#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp81_ = old_scaled_dim;
-#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_updated_pixbuf (self, _tmp79_, _tmp80_, &_tmp81_);
-#line 14651 "Page.c"
+#line 14654 "Page.c"
}
-#line 2383 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
_tmp82_ = fast;
-#line 2383 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = !_tmp82_;
-#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
_tmp84_ = direction;
-#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp84_ != NULL) {
-#line 14661 "Page.c"
+#line 14664 "Page.c"
TransitionClock* _tmp85_ = NULL;
gboolean _tmp86_ = FALSE;
-#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
_tmp85_ = self->priv->transition_clock;
-#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
_tmp86_ = transition_clock_is_in_progress (_tmp85_);
-#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
_tmp83_ = !_tmp86_;
-#line 14670 "Page.c"
+#line 14673 "Page.c"
} else {
-#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
_tmp83_ = FALSE;
-#line 14674 "Page.c"
+#line 14677 "Page.c"
}
-#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp83_) {
-#line 14678 "Page.c"
+#line 14681 "Page.c"
SpitTransitionsVisuals* visuals = NULL;
GdkPixbuf* _tmp87_ = NULL;
GdkRectangle _tmp88_ = {0};
@@ -14687,45 +14690,45 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean
Direction* _tmp95_ = NULL;
SpitTransitionsDirection _tmp96_ = 0;
gint _tmp97_ = 0;
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
_tmp87_ = self->priv->old_scaled;
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
_tmp88_ = old_scaled_pos;
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
_tmp89_ = self->priv->scaled;
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
_tmp90_ = self->priv->scaled_pos;
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
parse_color ("#000", &_tmp91_);
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
_tmp92_ = spit_transitions_visuals_new (_tmp87_, &_tmp88_, _tmp89_, &_tmp90_, &_tmp91_);
-#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
visuals = _tmp92_;
-#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp93_ = self->priv->transition_clock;
-#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp94_ = visuals;
-#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp95_ = direction;
-#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp96_ = direction_to_transition_direction (*_tmp95_);
-#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
_tmp97_ = self->priv->transition_duration_msec;
-#line 2389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
transition_clock_start (_tmp93_, _tmp94_, _tmp96_, _tmp97_, _single_photo_page_repaint_pixmap_transition_clock_repaint_callback, self);
-#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (visuals);
-#line 14719 "Page.c"
+#line 14722 "Page.c"
}
-#line 2393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp98_ = self->priv->transition_clock;
-#line 2393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp99_ = transition_clock_is_in_progress (_tmp98_);
-#line 2393 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp99_) {
#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!_tmp99_) {
+#line 2395 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint_pixmap (self);
-#line 14729 "Page.c"
+#line 14732 "Page.c"
}
}
@@ -14746,65 +14749,65 @@ static void single_photo_page_init_pixmap (SinglePhotoPage* self, gint width, gi
cairo_t* _tmp12_ = NULL;
cairo_t* _tmp13_ = NULL;
Dimensions _tmp14_ = {0};
-#line 2397 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
#line 2398 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
+#line 2399 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->unscaled;
-#line 2398 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_assert (_tmp0_ != NULL, "unscaled != null");
#line 2399 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_assert (_tmp0_ != NULL, "unscaled != null");
+#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->canvas;
-#line 2399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 2399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp2_ != NULL, "canvas.get_window() != null");
-#line 2402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = width;
-#line 2402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = height;
-#line 2402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp3_, _tmp4_);
-#line 2402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2402 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->pixmap = _tmp5_;
#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->pixmap = _tmp5_;
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = width;
-#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = height;
-#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&self->priv->pixmap_dim, _tmp6_, _tmp7_);
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->pixmap;
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = cairo_create (_tmp8_);
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->pixmap_ctx);
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap_ctx = _tmp9_;
-#line 2409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2412 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->pixmap;
-#line 2412 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = cairo_create (_tmp10_);
-#line 2412 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->text_ctx);
-#line 2412 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->text_ctx = _tmp11_;
#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->text_ctx = _tmp11_;
+#line 2414 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->text_ctx;
-#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2414 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp12_, "#fff");
-#line 2418 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->pixmap_ctx;
-#line 2418 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->pixmap_dim;
-#line 2418 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_new_surface (self, _tmp13_, &_tmp14_);
-#line 14808 "Page.c"
+#line 14811 "Page.c"
}
@@ -14815,23 +14818,23 @@ static gboolean single_photo_page_real_on_context_keypress (Page* base) {
GtkMenu* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
-#line 2421 "/home/jens/Source/shotwell/src/Page.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp1_, NULL);
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 14835 "Page.c"
+#line 14838 "Page.c"
}
@@ -14840,11 +14843,11 @@ static void single_photo_page_real_on_previous_photo (SinglePhotoPage* self) {
void single_photo_page_on_previous_photo (SinglePhotoPage* self) {
-#line 2425 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2425 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->on_previous_photo (self);
-#line 14848 "Page.c"
+#line 14851 "Page.c"
}
@@ -14853,11 +14856,11 @@ static void single_photo_page_real_on_next_photo (SinglePhotoPage* self) {
void single_photo_page_on_next_photo (SinglePhotoPage* self) {
-#line 2428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2429 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2429 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->on_next_photo (self);
-#line 14861 "Page.c"
+#line 14864 "Page.c"
}
@@ -14874,266 +14877,266 @@ static gboolean single_photo_page_real_key_press_event (GtkWidget* base, GdkEven
const gchar* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
GQuark _tmp8_ = 0U;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label0 = 0;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label1 = 0;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label2 = 0;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label3 = 0;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label4 = 0;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label5 = 0;
-#line 14890 "Page.c"
+#line 14893 "Page.c"
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
-#line 2431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 2435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->time;
-#line 2435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->last_nav_key;
-#line 2435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Page.vala"
nav_ok = (_tmp1_ - _tmp2_) > ((guint32) SINGLE_PHOTO_PAGE_KEY_REPEAT_INTERVAL_MSEC);
-#line 2437 "/home/jens/Source/shotwell/src/Page.vala"
- handled = TRUE;
#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+ handled = TRUE;
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_->keyval;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gdk_keyval_name (_tmp4_);
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = (NULL == _tmp6_) ? 0 : g_quark_from_string (_tmp6_);
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
if (((_tmp8_ == ((0 != _tmp7_label0) ? _tmp7_label0 : (_tmp7_label0 = g_quark_from_static_string ("Left")))) || (_tmp8_ == ((0 != _tmp7_label1) ? _tmp7_label1 : (_tmp7_label1 = g_quark_from_static_string ("KP_Left"))))) || (_tmp8_ == ((0 != _tmp7_label2) ? _tmp7_label2 : (_tmp7_label2 = g_quark_from_static_string ("BackSpace"))))) {
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 14921 "Page.c"
+#line 14924 "Page.c"
default:
{
gboolean _tmp9_ = FALSE;
-#line 2442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = nav_ok;
-#line 2442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp9_) {
-#line 14929 "Page.c"
+#line 14932 "Page.c"
GdkEventKey* _tmp10_ = NULL;
guint32 _tmp11_ = 0U;
-#line 2443 "/home/jens/Source/shotwell/src/Page.vala"
- single_photo_page_on_previous_photo (self);
#line 2444 "/home/jens/Source/shotwell/src/Page.vala"
+ single_photo_page_on_previous_photo (self);
+#line 2445 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = event;
-#line 2444 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2445 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_->time;
-#line 2444 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2445 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_nav_key = _tmp11_;
-#line 14940 "Page.c"
+#line 14943 "Page.c"
}
-#line 2446 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2447 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 14944 "Page.c"
+#line 14947 "Page.c"
}
}
} else if (((_tmp8_ == ((0 != _tmp7_label3) ? _tmp7_label3 : (_tmp7_label3 = g_quark_from_static_string ("Right")))) || (_tmp8_ == ((0 != _tmp7_label4) ? _tmp7_label4 : (_tmp7_label4 = g_quark_from_static_string ("KP_Right"))))) || (_tmp8_ == ((0 != _tmp7_label5) ? _tmp7_label5 : (_tmp7_label5 = g_quark_from_static_string ("space"))))) {
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 14950 "Page.c"
+#line 14953 "Page.c"
default:
{
gboolean _tmp12_ = FALSE;
-#line 2451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = nav_ok;
-#line 2451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_) {
-#line 14958 "Page.c"
+#line 14961 "Page.c"
GdkEventKey* _tmp13_ = NULL;
guint32 _tmp14_ = 0U;
-#line 2452 "/home/jens/Source/shotwell/src/Page.vala"
- single_photo_page_on_next_photo (self);
#line 2453 "/home/jens/Source/shotwell/src/Page.vala"
+ single_photo_page_on_next_photo (self);
+#line 2454 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = event;
-#line 2453 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2454 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp13_->time;
-#line 2453 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2454 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_nav_key = _tmp14_;
-#line 14969 "Page.c"
+#line 14972 "Page.c"
}
-#line 2455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 14973 "Page.c"
+#line 14976 "Page.c"
}
}
} else {
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2439 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 14979 "Page.c"
+#line 14982 "Page.c"
default:
{
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
- handled = FALSE;
#line 2459 "/home/jens/Source/shotwell/src/Page.vala"
+ handled = FALSE;
+#line 2460 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 14986 "Page.c"
+#line 14989 "Page.c"
}
}
}
-#line 2462 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2463 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = handled;
-#line 2462 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp15_) {
#line 2463 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp15_) {
+#line 2464 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 2463 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2464 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 14998 "Page.c"
+#line 15001 "Page.c"
}
-#line 2465 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
if (GTK_WIDGET_CLASS (single_photo_page_parent_class)->key_press_event != NULL) {
-#line 15002 "Page.c"
+#line 15005 "Page.c"
GdkEventKey* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
-#line 2465 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = event;
-#line 2465 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = GTK_WIDGET_CLASS (single_photo_page_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), gtk_widget_get_type (), GtkWidget), _tmp17_);
-#line 2465 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp18_;
-#line 15011 "Page.c"
+#line 15014 "Page.c"
} else {
-#line 2465 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = TRUE;
-#line 15015 "Page.c"
+#line 15018 "Page.c"
}
-#line 2465 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp16_;
-#line 2465 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 15021 "Page.c"
+#line 15024 "Page.c"
}
static void single_photo_page_class_init (SinglePhotoPageClass * klass) {
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_parent_class = g_type_class_peek_parent (klass);
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (SinglePhotoPagePrivate));
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->is_zoom_supported = (gboolean (*)(SinglePhotoPage*)) single_photo_page_real_is_zoom_supported;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->cancel_zoom = (void (*)(SinglePhotoPage*)) single_photo_page_real_cancel_zoom;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->save_zoom_state = (void (*)(SinglePhotoPage*)) single_photo_page_real_save_zoom_state;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->restore_zoom_state = (void (*)(SinglePhotoPage*)) single_photo_page_real_restore_zoom_state;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->get_zoom_buffer = (ZoomBuffer* (*)(SinglePhotoPage*)) single_photo_page_real_get_zoom_buffer;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->switched_to = (void (*)(Page*)) single_photo_page_real_switched_to;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->set_container = (void (*)(Page*, GtkWindow*)) single_photo_page_real_set_container;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_resize_finished = (void (*)(Page*, GdkRectangle*)) single_photo_page_real_on_resize_finished;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->new_surface = (void (*)(SinglePhotoPage*, cairo_t*, Dimensions*)) single_photo_page_real_new_surface;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->updated_pixbuf = (void (*)(SinglePhotoPage*, GdkPixbuf*, SinglePhotoPageUpdateReason, Dimensions*)) single_photo_page_real_updated_pixbuf;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->paint = (void (*)(SinglePhotoPage*, cairo_t*, Dimensions*)) single_photo_page_real_paint;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_context_keypress = (gboolean (*)(Page*)) single_photo_page_real_on_context_keypress;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->on_previous_photo = (void (*)(SinglePhotoPage*)) single_photo_page_real_on_previous_photo;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->on_next_photo = (void (*)(SinglePhotoPage*)) single_photo_page_real_on_next_photo;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
((GtkWidgetClass *) klass)->key_press_event = (gboolean (*)(GtkWidget*, GdkEventKey*)) single_photo_page_real_key_press_event;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (klass)->finalize = single_photo_page_finalize;
-#line 15062 "Page.c"
+#line 15065 "Page.c"
}
static void single_photo_page_instance_init (SinglePhotoPage * self) {
GtkDrawingArea* _tmp0_ = NULL;
GtkViewport* _tmp1_ = NULL;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = SINGLE_PHOTO_PAGE_GET_PRIVATE (self);
-#line 1965 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = (GtkDrawingArea*) gtk_drawing_area_new ();
-#line 1965 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp0_);
-#line 1965 "/home/jens/Source/shotwell/src/Page.vala"
- self->canvas = _tmp0_;
#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
+ self->canvas = _tmp0_;
+#line 1967 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = (GtkViewport*) gtk_viewport_new (NULL, NULL);
-#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1967 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp1_);
-#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1967 "/home/jens/Source/shotwell/src/Page.vala"
self->viewport = _tmp1_;
-#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->transition_duration_msec = 0;
#line 1971 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->pixmap = NULL;
+ self->priv->transition_duration_msec = 0;
#line 1972 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->pixmap_ctx = NULL;
+ self->priv->pixmap = NULL;
#line 1973 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->text_ctx = NULL;
+ self->priv->pixmap_ctx = NULL;
#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
- dimensions_init (&self->priv->pixmap_dim, 0, 0);
+ self->priv->text_ctx = NULL;
#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->unscaled = NULL;
+ dimensions_init (&self->priv->pixmap_dim, 0, 0);
#line 1976 "/home/jens/Source/shotwell/src/Page.vala"
- dimensions_init (&self->priv->max_dim, 0, 0);
+ self->priv->unscaled = NULL;
#line 1977 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->scaled = NULL;
+ dimensions_init (&self->priv->max_dim, 0, 0);
#line 1978 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->old_scaled = NULL;
+ self->priv->scaled = NULL;
#line 1979 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->old_scaled = NULL;
+#line 1980 "/home/jens/Source/shotwell/src/Page.vala"
memset (&self->priv->scaled_pos, 0, sizeof (GdkRectangle));
-#line 1981 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1982 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = TRUE;
-#line 1983 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->has_saved_zoom_state = FALSE;
#line 1984 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->has_saved_zoom_state = FALSE;
+#line 1985 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_nav_key = (guint32) 0;
-#line 15109 "Page.c"
+#line 15112 "Page.c"
}
static void single_photo_page_finalize (GObject* obj) {
SinglePhotoPage * self;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 1965 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (self->canvas);
#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
+ _g_object_unref0 (self->canvas);
+#line 1967 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->viewport);
-#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 1971 "/home/jens/Source/shotwell/src/Page.vala"
- _cairo_surface_destroy0 (self->priv->pixmap);
#line 1972 "/home/jens/Source/shotwell/src/Page.vala"
- _cairo_destroy0 (self->priv->pixmap_ctx);
+ _cairo_surface_destroy0 (self->priv->pixmap);
#line 1973 "/home/jens/Source/shotwell/src/Page.vala"
+ _cairo_destroy0 (self->priv->pixmap_ctx);
+#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->text_ctx);
-#line 1975 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1976 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->unscaled);
-#line 1977 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (self->priv->scaled);
#line 1978 "/home/jens/Source/shotwell/src/Page.vala"
+ _g_object_unref0 (self->priv->scaled);
+#line 1979 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->old_scaled);
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (single_photo_page_parent_class)->finalize (obj);
-#line 15137 "Page.c"
+#line 15140 "Page.c"
}
@@ -15150,32 +15153,32 @@ GType single_photo_page_get_type (void) {
static void _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 2524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_drag_begin ((DragAndDropHandler*) self, context);
-#line 15156 "Page.c"
+#line 15159 "Page.c"
}
static void _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get (GtkWidget* _sender, GdkDragContext* context, GtkSelectionData* selection_data, guint info, guint time_, gpointer self) {
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_drag_data_get ((DragAndDropHandler*) self, context, selection_data, info, time_);
-#line 15163 "Page.c"
+#line 15166 "Page.c"
}
static void _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_drag_end ((DragAndDropHandler*) self);
-#line 15170 "Page.c"
+#line 15173 "Page.c"
}
static gboolean _drag_and_drop_handler_on_drag_failed_gtk_widget_drag_failed (GtkWidget* _sender, GdkDragContext* context, GtkDragResult _result_, gpointer self) {
gboolean result;
result = drag_and_drop_handler_on_drag_failed ((DragAndDropHandler*) self, context, _result_);
-#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 15179 "Page.c"
+#line 15182 "Page.c"
}
@@ -15193,20 +15196,20 @@ static GType drag_and_drop_handler_target_type_get_type (void) {
static GdkAtom* _gdk_atom_dup (GdkAtom* self) {
GdkAtom* dup;
-#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
dup = g_new0 (GdkAtom, 1);
-#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
memcpy (dup, self, sizeof (GdkAtom));
-#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
return dup;
-#line 15203 "Page.c"
+#line 15206 "Page.c"
}
static gpointer __gdk_atom_dup0 (gpointer self) {
-#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
return self ? _gdk_atom_dup (self) : NULL;
-#line 15210 "Page.c"
+#line 15213 "Page.c"
}
@@ -15227,117 +15230,117 @@ DragAndDropHandler* drag_and_drop_handler_construct (GType object_type, Page* pa
GtkWidget* _tmp17_ = NULL;
GtkWidget* _tmp18_ = NULL;
GtkWidget* _tmp19_ = NULL;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (page), NULL);
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
- self = (DragAndDropHandler*) g_type_create_instance (object_type);
#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
+ self = (DragAndDropHandler*) g_type_create_instance (object_type);
+#line 2496 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page;
-#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->page = _tmp0_;
#line 2496 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->page = _tmp0_;
+#line 2497 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page;
-#line 2496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2497 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_get_event_source (_tmp1_);
-#line 2496 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2497 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 2496 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->event_source = _tmp2_;
#line 2497 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->event_source = _tmp2_;
+#line 2498 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 2497 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_assert (_tmp3_ != NULL, "event_source != null");
#line 2498 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_assert (_tmp3_ != NULL, "event_source != null");
+#line 2499 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->event_source;
-#line 2498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2499 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_widget_get_has_window (_tmp4_);
-#line 2498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2499 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp5_, "event_source.get_has_window()");
-#line 2501 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = drag_and_drop_handler_XDS_ATOM;
-#line 2501 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == NULL) {
-#line 15261 "Page.c"
+#line 15264 "Page.c"
GdkAtom _tmp7_ = 0U;
GdkAtom* _tmp8_ = NULL;
-#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = gdk_atom_intern_static_string ("XdndDirectSave0");
-#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = __gdk_atom_dup0 (&_tmp7_);
-#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (drag_and_drop_handler_XDS_ATOM);
-#line 2502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2503 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_ATOM = _tmp8_;
-#line 15272 "Page.c"
+#line 15275 "Page.c"
}
-#line 2504 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2505 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = drag_and_drop_handler_TEXT_ATOM;
-#line 2504 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2505 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp9_ == NULL) {
-#line 15278 "Page.c"
+#line 15281 "Page.c"
GdkAtom _tmp10_ = 0U;
GdkAtom* _tmp11_ = NULL;
-#line 2505 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = gdk_atom_intern_static_string ("text/plain");
-#line 2505 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = __gdk_atom_dup0 (&_tmp10_);
-#line 2505 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (drag_and_drop_handler_TEXT_ATOM);
-#line 2505 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_TEXT_ATOM = _tmp11_;
-#line 15289 "Page.c"
+#line 15292 "Page.c"
}
-#line 2507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = drag_and_drop_handler_XDS_FAKE_TARGET;
-#line 2507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12__length1 = drag_and_drop_handler_XDS_FAKE_TARGET_length1;
-#line 2507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ == NULL) {
-#line 15297 "Page.c"
+#line 15300 "Page.c"
gint _tmp13_ = 0;
guchar* _tmp14_ = NULL;
-#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = string_to_uchar_array ("shotwell.txt", &_tmp13_);
-#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_FAKE_TARGET = (g_free (drag_and_drop_handler_XDS_FAKE_TARGET), NULL);
-#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_FAKE_TARGET = _tmp14_;
-#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_FAKE_TARGET_length1 = _tmp13_;
-#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
_drag_and_drop_handler_XDS_FAKE_TARGET_size_ = drag_and_drop_handler_XDS_FAKE_TARGET_length1;
-#line 15310 "Page.c"
+#line 15313 "Page.c"
}
-#line 2511 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2512 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->event_source;
-#line 2511 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2512 "/home/jens/Source/shotwell/src/Page.vala"
gtk_drag_source_set (_tmp15_, GDK_BUTTON1_MASK, DRAG_AND_DROP_HANDLER_SOURCE_TARGET_ENTRIES, G_N_ELEMENTS (DRAG_AND_DROP_HANDLER_SOURCE_TARGET_ENTRIES), GDK_ACTION_COPY);
-#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->event_source;
-#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_connect (_tmp16_, "drag-begin", (GCallback) _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin, self);
#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_connect (_tmp16_, "drag-begin", (GCallback) _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin, self);
+#line 2518 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->event_source;
-#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_connect (_tmp17_, "drag-data-get", (GCallback) _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get, self);
#line 2518 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_connect (_tmp17_, "drag-data-get", (GCallback) _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get, self);
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = self->priv->event_source;
-#line 2518 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_connect (_tmp18_, "drag-end", (GCallback) _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end, self);
#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_connect (_tmp18_, "drag-end", (GCallback) _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end, self);
+#line 2520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = self->priv->event_source;
-#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2520 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect (_tmp19_, "drag-failed", (GCallback) _drag_and_drop_handler_on_drag_failed_gtk_widget_drag_failed, self);
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 15334 "Page.c"
+#line 15337 "Page.c"
}
DragAndDropHandler* drag_and_drop_handler_new (Page* page) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2495 "/home/jens/Source/shotwell/src/Page.vala"
return drag_and_drop_handler_construct (TYPE_DRAG_AND_DROP_HANDLER, page);
-#line 15341 "Page.c"
+#line 15344 "Page.c"
}
@@ -15363,116 +15366,116 @@ static void drag_and_drop_handler_on_drag_begin (DragAndDropHandler* self, GdkDr
guint8* _tmp31_ = NULL;
gint _tmp31__length1 = 0;
GError * _inner_error_ = NULL;
-#line 2534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2535 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
-#line 2534 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
#line 2535 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
+#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2535 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2535: on_drag_begin (%s)", _tmp2_);
-#line 2535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2536: on_drag_begin (%s)", _tmp2_);
+#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->page;
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_ == NULL) {
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = TRUE;
-#line 15387 "Page.c"
+#line 15390 "Page.c"
} else {
Page* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
ViewCollection* _tmp8_ = NULL;
gint _tmp9_ = 0;
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->page;
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_view (_tmp6_);
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = view_collection_get_selected_count (_tmp8_);
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp9_ == 0;
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp8_);
-#line 15405 "Page.c"
+#line 15408 "Page.c"
}
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = TRUE;
-#line 15411 "Page.c"
+#line 15414 "Page.c"
} else {
ExporterUI* _tmp10_ = NULL;
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->exporter;
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp10_ != NULL;
-#line 15418 "Page.c"
+#line 15421 "Page.c"
}
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp3_) {
#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp3_) {
+#line 2539 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15424 "Page.c"
+#line 15427 "Page.c"
}
-#line 2540 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2541 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2540 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2541 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->page;
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = page_get_view (_tmp11_);
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = view_collection_get_selected_at (_tmp13_, 0);
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = data_view_get_source (_tmp15_);
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource);
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp15_);
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp13_);
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
thumb = _tmp17_;
-#line 15450 "Page.c"
+#line 15453 "Page.c"
{
GdkPixbuf* icon = NULL;
ThumbnailSource* _tmp18_ = NULL;
GdkPixbuf* _tmp19_ = NULL;
GtkWidget* _tmp20_ = NULL;
GdkPixbuf* _tmp21_ = NULL;
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = thumb;
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = thumbnail_source_get_thumbnail (_tmp18_, APP_WINDOW_DND_ICON_SCALE, &_inner_error_);
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
icon = _tmp19_;
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 15465 "Page.c"
+#line 15468 "Page.c"
goto __catch255_g_error;
}
-#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2548 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->event_source;
-#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2548 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = icon;
-#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2548 "/home/jens/Source/shotwell/src/Page.vala"
gtk_drag_source_set_icon_pixbuf (_tmp20_, _tmp21_);
-#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (icon);
-#line 15476 "Page.c"
+#line 15479 "Page.c"
}
goto __finally255;
__catch255_g_error:
@@ -15483,58 +15486,58 @@ static void drag_and_drop_handler_on_drag_begin (DragAndDropHandler* self, GdkDr
gchar* _tmp24_ = NULL;
GError* _tmp25_ = NULL;
const gchar* _tmp26_ = NULL;
-#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
err = _inner_error_;
-#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
_inner_error_ = NULL;
-#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = thumb;
-#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_DATA_OBJECT, DataObject));
-#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_;
-#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = err;
-#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = _tmp25_->message;
-#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
- g_warning ("Page.vala:2549: Unable to fetch icon for drag-and-drop from %s: %s", _tmp24_, _tmp26_);
-#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
+ g_warning ("Page.vala:2550: Unable to fetch icon for drag-and-drop from %s: %s", _tmp24_, _tmp26_);
+#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp24_);
-#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
_g_error_free0 (err);
-#line 15507 "Page.c"
+#line 15510 "Page.c"
}
__finally255:
-#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (thumb);
-#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.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 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
g_clear_error (&_inner_error_);
-#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15520 "Page.c"
+#line 15523 "Page.c"
}
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = context;
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = gdk_drag_context_get_source_window (_tmp27_);
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = drag_and_drop_handler_XDS_ATOM;
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = drag_and_drop_handler_TEXT_ATOM;
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = drag_and_drop_handler_XDS_FAKE_TARGET;
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31__length1 = drag_and_drop_handler_XDS_FAKE_TARGET_length1;
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Page.vala"
gdk_property_change (_tmp28_, *_tmp29_, *_tmp30_, 8, GDK_PROP_MODE_REPLACE, (const guchar*) _tmp31_, 1);
-#line 2534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2535 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (thumb);
-#line 15538 "Page.c"
+#line 15541 "Page.c"
}
@@ -15545,61 +15548,61 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd
gboolean _tmp3_ = FALSE;
Page* _tmp4_ = NULL;
guint _tmp9_ = 0U;
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (selection_data != NULL);
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2565: on_drag_data_get (%s)", _tmp2_);
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2566: on_drag_data_get (%s)", _tmp2_);
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->page;
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == NULL) {
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = TRUE;
-#line 15571 "Page.c"
+#line 15574 "Page.c"
} else {
Page* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
gint _tmp8_ = 0;
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->page;
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_view (_tmp5_);
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = view_collection_get_selected_count (_tmp7_);
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp8_ == 0;
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp7_);
-#line 15589 "Page.c"
+#line 15592 "Page.c"
}
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp3_) {
#line 2568 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp3_) {
+#line 2569 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15595 "Page.c"
+#line 15598 "Page.c"
}
-#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = target_type;
-#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp9_) {
-#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
case DRAG_AND_DROP_HANDLER_TARGET_TYPE_XDS:
-#line 15603 "Page.c"
+#line 15606 "Page.c"
{
guchar* data = NULL;
guchar* _tmp10_ = NULL;
@@ -15635,83 +15638,83 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd
guchar* _tmp45_ = NULL;
guchar* _tmp46_ = NULL;
gint _tmp46__length1 = 0;
-#line 2573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2574 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = g_new0 (guchar, 4096);
-#line 2573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2574 "/home/jens/Source/shotwell/src/Page.vala"
data = _tmp10_;
-#line 2573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2574 "/home/jens/Source/shotwell/src/Page.vala"
data_length1 = 4096;
-#line 2573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2574 "/home/jens/Source/shotwell/src/Page.vala"
_data_size_ = data_length1;
-#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
- actual_format = 0;
#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+ actual_format = 0;
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = context;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = gdk_drag_context_get_source_window (_tmp11_);
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = drag_and_drop_handler_XDS_ATOM;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = drag_and_drop_handler_TEXT_ATOM;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = data;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15__length1 = data_length1;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = gdk_property_get (_tmp12_, *_tmp13_, *_tmp14_, (gulong) 0, (gulong) _tmp15__length1, 0, &_tmp16_, &_tmp17_, &_tmp19_, &_tmp18_);
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
actual_type = _tmp16_;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
actual_format = _tmp17_;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
data = (g_free (data), NULL);
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
data = _tmp18_;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
data_length1 = _tmp19_;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
_data_size_ = data_length1;
-#line 2576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Page.vala"
fetched = _tmp20_;
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = fetched;
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp23_) {
-#line 15681 "Page.c"
+#line 15684 "Page.c"
guchar* _tmp24_ = NULL;
gint _tmp24__length1 = 0;
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = data;
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24__length1 = data_length1;
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp24_ != NULL;
-#line 15690 "Page.c"
+#line 15693 "Page.c"
} else {
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = FALSE;
-#line 15694 "Page.c"
+#line 15697 "Page.c"
}
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp22_) {
-#line 15698 "Page.c"
+#line 15701 "Page.c"
guchar* _tmp25_ = NULL;
gint _tmp25__length1 = 0;
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = data;
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25__length1 = data_length1;
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp25__length1 > 0;
-#line 15707 "Page.c"
+#line 15710 "Page.c"
} else {
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = FALSE;
-#line 15711 "Page.c"
+#line 15714 "Page.c"
}
-#line 2581 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 15715 "Page.c"
+#line 15718 "Page.c"
guchar* _tmp26_ = NULL;
gint _tmp26__length1 = 0;
gchar* _tmp27_ = NULL;
@@ -15719,103 +15722,103 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd
GFile* _tmp29_ = NULL;
GFile* _tmp30_ = NULL;
GFile* _tmp31_ = NULL;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = data;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26__length1 = data_length1;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = uchar_array_to_string (_tmp26_, _tmp26__length1, -1);
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = g_file_new_for_uri (_tmp28_);
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = g_file_get_parent (_tmp30_);
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = _tmp31_;
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp30_);
-#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp28_);
-#line 15745 "Page.c"
+#line 15748 "Page.c"
}
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = self->priv->drag_destination;
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp33_ != NULL) {
-#line 15751 "Page.c"
+#line 15754 "Page.c"
GFile* _tmp34_ = NULL;
gchar* _tmp35_ = NULL;
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = self->priv->drag_destination;
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = g_file_get_path (_tmp34_);
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp32_);
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp35_;
-#line 15762 "Page.c"
+#line 15765 "Page.c"
} else {
gchar* _tmp36_ = NULL;
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = g_strdup ("(no path)");
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp32_);
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp36_;
-#line 15771 "Page.c"
+#line 15774 "Page.c"
}
-#line 2584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = self->priv->page;
-#line 2584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = page_get_page_name (_tmp37_);
-#line 2584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp38_;
-#line 2584 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2584: on_drag_data_get (%s): %s", _tmp39_, _tmp32_);
-#line 2584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2585: on_drag_data_get (%s): %s", _tmp39_, _tmp32_);
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp39_);
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->priv->drag_destination;
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp41_ != NULL) {
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = "S";
-#line 15789 "Page.c"
+#line 15792 "Page.c"
} else {
-#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = "E";
-#line 15793 "Page.c"
+#line 15796 "Page.c"
}
-#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = selection_data;
-#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = drag_and_drop_handler_XDS_ATOM;
-#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = string_to_uchar_array (_tmp40_, &_tmp44_);
-#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = _tmp45_;
-#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46__length1 = _tmp44_;
-#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
gtk_selection_data_set (_tmp42_, *_tmp43_, 8, _tmp46_, _tmp44_);
-#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2589 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = (g_free (_tmp46_), NULL);
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp32_);
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
data = (g_free (data), NULL);
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 15815 "Page.c"
+#line 15818 "Page.c"
}
-#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
case DRAG_AND_DROP_HANDLER_TARGET_TYPE_MEDIA_LIST:
-#line 15819 "Page.c"
+#line 15822 "Page.c"
{
GeeCollection* sources = NULL;
Page* _tmp47_ = NULL;
@@ -15830,41 +15833,41 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd
guchar* _tmp56_ = NULL;
guchar* _tmp57_ = NULL;
gint _tmp57__length1 = 0;
-#line 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = self->priv->page;
-#line 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = page_get_view (_tmp47_);
-#line 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = _tmp48_;
-#line 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = view_collection_get_selected_sources (_tmp49_);
-#line 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp49_);
-#line 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
sources = _tmp51_;
-#line 2598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = selection_data;
-#line 2598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = gdk_atom_intern_static_string ("SourceIDAtom");
-#line 2598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = sources;
-#line 2598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_tmp56_ = serialize_media_sources (_tmp54_, &_tmp55_);
-#line 2598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = _tmp56_;
-#line 2598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57__length1 = _tmp55_;
-#line 2598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
gtk_selection_data_set (_tmp52_, _tmp53_, (gint) sizeof (GdkAtom), _tmp57_, _tmp55_);
-#line 2598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = (g_free (_tmp57_), NULL);
-#line 2600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (sources);
-#line 2600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 15868 "Page.c"
+#line 15871 "Page.c"
}
default:
{
@@ -15872,30 +15875,30 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd
gchar* _tmp59_ = NULL;
gchar* _tmp60_ = NULL;
guint _tmp61_ = 0U;
-#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp58_ = self->priv->page;
-#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp59_ = page_get_page_name (_tmp58_);
-#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp60_ = _tmp59_;
-#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp61_ = target_type;
-#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
- g_warning ("Page.vala:2603: on_drag_data_get (%s): unknown target type %u", _tmp60_, _tmp61_);
-#line 2603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
+ g_warning ("Page.vala:2604: on_drag_data_get (%s): unknown target type %u", _tmp60_, _tmp61_);
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp60_);
-#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2606 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 15890 "Page.c"
+#line 15893 "Page.c"
}
}
}
static void _drag_and_drop_handler_on_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) {
-#line 2626 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_export_completed ((DragAndDropHandler*) self);
-#line 15899 "Page.c"
+#line 15902 "Page.c"
}
@@ -15914,99 +15917,99 @@ static void drag_and_drop_handler_on_drag_end (DragAndDropHandler* self) {
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
+#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2610: on_drag_end (%s)", _tmp2_);
-#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2611: on_drag_end (%s)", _tmp2_);
+#line 2611 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->page;
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == NULL) {
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = TRUE;
-#line 15936 "Page.c"
+#line 15939 "Page.c"
} else {
Page* _tmp7_ = NULL;
ViewCollection* _tmp8_ = NULL;
ViewCollection* _tmp9_ = NULL;
gint _tmp10_ = 0;
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->page;
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = view_collection_get_selected_count (_tmp9_);
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp10_ == 0;
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp9_);
-#line 15954 "Page.c"
+#line 15957 "Page.c"
}
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_) {
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = TRUE;
-#line 15960 "Page.c"
+#line 15963 "Page.c"
} else {
GFile* _tmp11_ = NULL;
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->drag_destination;
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp11_ == NULL;
-#line 15967 "Page.c"
+#line 15970 "Page.c"
}
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = TRUE;
-#line 15973 "Page.c"
+#line 15976 "Page.c"
} else {
ExporterUI* _tmp12_ = NULL;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->exporter;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp12_ != NULL;
-#line 15980 "Page.c"
+#line 15983 "Page.c"
}
-#line 2612 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 2614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2615 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15986 "Page.c"
+#line 15989 "Page.c"
}
-#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->drag_destination;
-#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = g_file_get_path (_tmp13_);
-#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2617: Exporting to %s", _tmp15_);
-#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2618: Exporting to %s", _tmp15_);
+#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp15_);
-#line 2622 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->drag_destination;
-#line 2622 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = g_file_get_path (_tmp16_);
-#line 2622 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp17_;
-#line 2622 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _tmp18_ != NULL;
-#line 2622 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp18_);
-#line 2622 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp19_) {
-#line 16010 "Page.c"
+#line 16013 "Page.c"
Page* _tmp20_ = NULL;
ViewCollection* _tmp21_ = NULL;
ViewCollection* _tmp22_ = NULL;
@@ -16019,56 +16022,56 @@ static void drag_and_drop_handler_on_drag_end (DragAndDropHandler* self) {
Exporter* _tmp29_ = NULL;
ExporterUI* _tmp30_ = NULL;
ExporterUI* _tmp31_ = NULL;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->page;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = page_get_view (_tmp20_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = view_collection_get_selected_sources (_tmp22_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = self->priv->drag_destination;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
scaling_for_original (&_tmp26_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
export_format_parameters_current (&_tmp27_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = exporter_new (_tmp24_, _tmp25_, &_tmp26_, &_tmp27_, FALSE);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = exporter_ui_new (_tmp29_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->exporter = _tmp30_;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp29_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp24_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp22_);
-#line 2626 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = self->priv->exporter;
-#line 2626 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Page.vala"
exporter_ui_export (_tmp31_, _drag_and_drop_handler_on_export_completed_exporter_completion_callback, self);
-#line 16059 "Page.c"
+#line 16062 "Page.c"
} else {
const gchar* _tmp32_ = NULL;
-#line 2628 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2629 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _ ("Photos cannot be exported to this directory.");
-#line 2628 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2629 "/home/jens/Source/shotwell/src/Page.vala"
app_window_error_message (_tmp32_, NULL);
-#line 16066 "Page.c"
+#line 16069 "Page.c"
}
-#line 2631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 16072 "Page.c"
+#line 16075 "Page.c"
}
@@ -16079,271 +16082,271 @@ static gboolean drag_and_drop_handler_on_drag_failed (DragAndDropHandler* self,
gchar* _tmp2_ = NULL;
GtkDragResult _tmp3_ = 0;
Page* _tmp4_ = NULL;
-#line 2634 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2635 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_DRAG_AND_DROP_HANDLER (self), FALSE);
-#line 2634 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
#line 2635 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
+#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2635 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2635 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2635 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = drag_result;
-#line 2635 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2635: on_drag_failed (%s): %d", _tmp2_, (gint) _tmp3_);
-#line 2635 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2636: on_drag_failed (%s): %d", _tmp2_, (gint) _tmp3_);
+#line 2636 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->page;
-#line 2637 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp4_ == NULL) {
#line 2638 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp4_ == NULL) {
+#line 2639 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 2638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2639 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 16107 "Page.c"
+#line 16110 "Page.c"
}
-#line 2640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2641 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2641 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 2642 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 2642 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 16117 "Page.c"
+#line 16120 "Page.c"
}
static void drag_and_drop_handler_on_export_completed (DragAndDropHandler* self) {
-#line 2645 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
#line 2646 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
+#line 2647 "/home/jens/Source/shotwell/src/Page.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 2646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2647 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->exporter = NULL;
-#line 16128 "Page.c"
+#line 16131 "Page.c"
}
static void value_drag_and_drop_handler_init (GValue* value) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16135 "Page.c"
+#line 16138 "Page.c"
}
static void value_drag_and_drop_handler_free_value (GValue* value) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (value->data[0].v_pointer) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_unref (value->data[0].v_pointer);
-#line 16144 "Page.c"
+#line 16147 "Page.c"
}
}
static void value_drag_and_drop_handler_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (src_value->data[0].v_pointer) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
dest_value->data[0].v_pointer = drag_and_drop_handler_ref (src_value->data[0].v_pointer);
-#line 16154 "Page.c"
+#line 16157 "Page.c"
} else {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
dest_value->data[0].v_pointer = NULL;
-#line 16158 "Page.c"
+#line 16161 "Page.c"
}
}
static gpointer value_drag_and_drop_handler_peek_pointer (const GValue* value) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
return value->data[0].v_pointer;
-#line 16166 "Page.c"
+#line 16169 "Page.c"
}
static gchar* value_drag_and_drop_handler_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (collect_values[0].v_pointer) {
-#line 16173 "Page.c"
+#line 16176 "Page.c"
DragAndDropHandler* object;
object = collect_values[0].v_pointer;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (object->parent_instance.g_class == NULL) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 16180 "Page.c"
+#line 16183 "Page.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 16184 "Page.c"
+#line 16187 "Page.c"
}
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = drag_and_drop_handler_ref (object);
-#line 16188 "Page.c"
+#line 16191 "Page.c"
} else {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16192 "Page.c"
+#line 16195 "Page.c"
}
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 16196 "Page.c"
+#line 16199 "Page.c"
}
static gchar* value_drag_and_drop_handler_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
DragAndDropHandler** object_p;
object_p = collect_values[0].v_pointer;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (!object_p) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 16207 "Page.c"
+#line 16210 "Page.c"
}
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (!value->data[0].v_pointer) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = NULL;
-#line 16213 "Page.c"
+#line 16216 "Page.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = value->data[0].v_pointer;
-#line 16217 "Page.c"
+#line 16220 "Page.c"
} else {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = drag_and_drop_handler_ref (value->data[0].v_pointer);
-#line 16221 "Page.c"
+#line 16224 "Page.c"
}
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 16225 "Page.c"
+#line 16228 "Page.c"
}
GParamSpec* param_spec_drag_and_drop_handler (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecDragAndDropHandler* spec;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_DRAG_AND_DROP_HANDLER), NULL);
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
return G_PARAM_SPEC (spec);
-#line 16239 "Page.c"
+#line 16242 "Page.c"
}
gpointer value_get_drag_and_drop_handler (const GValue* value) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER), NULL);
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
return value->data[0].v_pointer;
-#line 16248 "Page.c"
+#line 16251 "Page.c"
}
void value_set_drag_and_drop_handler (GValue* value, gpointer v_object) {
DragAndDropHandler* old;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
old = value->data[0].v_pointer;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (v_object) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = v_object;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_ref (value->data[0].v_pointer);
-#line 16268 "Page.c"
+#line 16271 "Page.c"
} else {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16272 "Page.c"
+#line 16275 "Page.c"
}
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (old) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_unref (old);
-#line 16278 "Page.c"
+#line 16281 "Page.c"
}
}
void value_take_drag_and_drop_handler (GValue* value, gpointer v_object) {
DragAndDropHandler* old;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
old = value->data[0].v_pointer;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (v_object) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = v_object;
-#line 16297 "Page.c"
+#line 16300 "Page.c"
} else {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16301 "Page.c"
+#line 16304 "Page.c"
}
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (old) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_unref (old);
-#line 16307 "Page.c"
+#line 16310 "Page.c"
}
}
static void drag_and_drop_handler_class_init (DragAndDropHandlerClass * klass) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_parent_class = g_type_class_peek_parent (klass);
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
((DragAndDropHandlerClass *) klass)->finalize = drag_and_drop_handler_finalize;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (DragAndDropHandlerPrivate));
-#line 16319 "Page.c"
+#line 16322 "Page.c"
}
static void drag_and_drop_handler_instance_init (DragAndDropHandler * self) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = DRAG_AND_DROP_HANDLER_GET_PRIVATE (self);
-#line 2491 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->drag_destination = NULL;
#line 2492 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->drag_destination = NULL;
+#line 2493 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->exporter = NULL;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
self->ref_count = 1;
-#line 16332 "Page.c"
+#line 16335 "Page.c"
}
static void drag_and_drop_handler_finalize (DragAndDropHandler* obj) {
DragAndDropHandler * self;
GtkWidget* _tmp0_ = NULL;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_DRAG_AND_DROP_HANDLER, DragAndDropHandler);
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_destroy (self);
-#line 2523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2524 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 2523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2524 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 16347 "Page.c"
+#line 16350 "Page.c"
GtkWidget* _tmp1_ = NULL;
guint _tmp2_ = 0U;
GtkWidget* _tmp3_ = NULL;
@@ -16352,45 +16355,45 @@ static void drag_and_drop_handler_finalize (DragAndDropHandler* obj) {
guint _tmp6_ = 0U;
GtkWidget* _tmp7_ = NULL;
guint _tmp8_ = 0U;
-#line 2524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 2524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-begin", gtk_widget_get_type (), &_tmp2_, NULL, FALSE);
-#line 2524 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_handlers_disconnect_matched (_tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin, self);
#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_handlers_disconnect_matched (_tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin, self);
+#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-data-get", gtk_widget_get_type (), &_tmp4_, NULL, FALSE);
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_handlers_disconnect_matched (_tmp3_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get, self);
#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_handlers_disconnect_matched (_tmp3_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get, self);
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-end", gtk_widget_get_type (), &_tmp6_, NULL, FALSE);
-#line 2526 "/home/jens/Source/shotwell/src/Page.vala"
- g_signal_handlers_disconnect_matched (_tmp5_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end, self);
#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+ g_signal_handlers_disconnect_matched (_tmp5_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end, self);
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->event_source;
-#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-failed", gtk_widget_get_type (), &_tmp8_, NULL, FALSE);
-#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_disconnect_matched (_tmp7_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_failed_gtk_widget_drag_failed, self);
-#line 16380 "Page.c"
+#line 16383 "Page.c"
}
-#line 2530 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->page = NULL;
#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->page = NULL;
+#line 2532 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2532 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->event_source = NULL;
-#line 2490 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (self->priv->event_source);
#line 2491 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (self->priv->drag_destination);
+ _g_object_unref0 (self->priv->event_source);
#line 2492 "/home/jens/Source/shotwell/src/Page.vala"
+ _g_object_unref0 (self->priv->drag_destination);
+#line 2493 "/home/jens/Source/shotwell/src/Page.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 16394 "Page.c"
+#line 16397 "Page.c"
}
@@ -16411,24 +16414,24 @@ GType drag_and_drop_handler_get_type (void) {
gpointer drag_and_drop_handler_ref (gpointer instance) {
DragAndDropHandler* self;
self = instance;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_atomic_int_inc (&self->ref_count);
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
return instance;
-#line 16419 "Page.c"
+#line 16422 "Page.c"
}
void drag_and_drop_handler_unref (gpointer instance) {
DragAndDropHandler* self;
self = instance;
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
DRAG_AND_DROP_HANDLER_GET_CLASS (self)->finalize (self);
-#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 16432 "Page.c"
+#line 16435 "Page.c"
}
}
diff --git a/src/Page.vala b/src/Page.vala
index bdeee6b..7504743 100644
--- a/src/Page.vala
+++ b/src/Page.vala
@@ -573,6 +573,7 @@ public abstract class Page : Gtk.ScrolledWindow {
var ui_resource = Resources.get_ui(ui_filename);
try {
builder.add_from_resource(ui_resource);
+ this.menubar_injected = false;
} catch (Error err) {
AppWindow.error_message("Error loading UI resource %s: %s".printf(
ui_resource, err.message));
diff --git a/src/SearchFilter.c b/src/SearchFilter.c
index 9e6ede5..a505b2c 100644
--- a/src/SearchFilter.c
+++ b/src/SearchFilter.c
@@ -7955,7 +7955,7 @@ SearchFilterToolbarSavedSearchFilterButton* search_filter_toolbar_saved_search_f
#line 860 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_always_show_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_button_get_type (), GtkButton), TRUE);
#line 862 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp2_ = (GtkImage*) gtk_image_new_from_icon_name ("find", GTK_ICON_SIZE_SMALL_TOOLBAR);
+ _tmp2_ = (GtkImage*) gtk_image_new_from_icon_name ("edit-find", GTK_ICON_SIZE_SMALL_TOOLBAR);
#line 862 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp2_);
#line 862 "/home/jens/Source/shotwell/src/SearchFilter.vala"
diff --git a/src/SearchFilter.vala b/src/SearchFilter.vala
index e4c1512..04e5593 100644
--- a/src/SearchFilter.vala
+++ b/src/SearchFilter.vala
@@ -859,7 +859,7 @@ public class SearchFilterToolbar : Gtk.Revealer {
button = new Gtk.ToggleButton();
button.set_always_show_image(true);
- Gtk.Image? image = new Gtk.Image.from_icon_name("find", Gtk.IconSize.SMALL_TOOLBAR);
+ Gtk.Image? image = new Gtk.Image.from_icon_name("edit-find", Gtk.IconSize.SMALL_TOOLBAR);
image.set_margin_end(6);
button.set_image(image);
button.set_can_focus(false);
diff --git a/src/camera/GPhoto.c b/src/camera/GPhoto.c
index 89722c6..e482a97 100644
--- a/src/camera/GPhoto.c
+++ b/src/camera/GPhoto.c
@@ -26,7 +26,6 @@
#include <fcntl.h>
#include <sys/types.h>
#include <errno.h>
-#include <unistd.h>
#include <gobject/gvaluecollector.h>
@@ -240,28 +239,28 @@ GQuark gphoto_error_quark (void) {
static void _gp_context_wrapper_on_idle_gp_context_idle_func (GPContext* context, gpointer self) {
#line 18 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_on_idle ((GPContextWrapper*) self, context);
-#line 244 "GPhoto.c"
+#line 243 "GPhoto.c"
}
static void _gp_context_wrapper_on_error_gp_context_error_func (GPContext* context, const gchar* text, gpointer self) {
#line 19 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_on_error ((GPContextWrapper*) self, context, text);
-#line 251 "GPhoto.c"
+#line 250 "GPhoto.c"
}
static void _gp_context_wrapper_on_status_gp_context_status_func (GPContext* context, const gchar* text, gpointer self) {
#line 20 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_on_status ((GPContextWrapper*) self, context, text);
-#line 258 "GPhoto.c"
+#line 257 "GPhoto.c"
}
static void _gp_context_wrapper_on_message_gp_context_message_func (GPContext* context, const gchar* text, gpointer self) {
#line 21 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_on_message ((GPContextWrapper*) self, context, text);
-#line 265 "GPhoto.c"
+#line 264 "GPhoto.c"
}
@@ -270,21 +269,21 @@ static guint _gp_context_wrapper_on_progress_start_gp_context_progress_start_fun
result = gp_context_wrapper_on_progress_start ((GPContextWrapper*) self, context, target, text);
#line 22 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 274 "GPhoto.c"
+#line 273 "GPhoto.c"
}
static void _gp_context_wrapper_on_progress_update_gp_context_progress_update_func (GPContext* context, guint id, gfloat current, gpointer self) {
#line 22 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_on_progress_update ((GPContextWrapper*) self, context, id, current);
-#line 281 "GPhoto.c"
+#line 280 "GPhoto.c"
}
static void _gp_context_wrapper_on_progress_stop_gp_context_progress_stop_func (GPContext* context, guint id, gpointer self) {
#line 22 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_on_progress_stop ((GPContextWrapper*) self, context, id);
-#line 288 "GPhoto.c"
+#line 287 "GPhoto.c"
}
@@ -319,14 +318,14 @@ GPContextWrapper* gp_context_wrapper_construct (GType object_type) {
gp_context_set_progress_funcs (_tmp4_, _gp_context_wrapper_on_progress_start_gp_context_progress_start_func, _gp_context_wrapper_on_progress_update_gp_context_progress_update_func, _gp_context_wrapper_on_progress_stop_gp_context_progress_stop_func, self);
#line 17 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return self;
-#line 323 "GPhoto.c"
+#line 322 "GPhoto.c"
}
GPContextWrapper* gp_context_wrapper_new (void) {
#line 17 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return gp_context_wrapper_construct (GP_TYPE_CONTEXT_WRAPPER);
-#line 330 "GPhoto.c"
+#line 329 "GPhoto.c"
}
@@ -339,14 +338,14 @@ void gp_context_wrapper_idle (GPContextWrapper* self) {
g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self));
#line 25 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
GP_CONTEXT_WRAPPER_GET_CLASS (self)->idle (self);
-#line 343 "GPhoto.c"
+#line 342 "GPhoto.c"
}
static void gp_context_wrapper_real_error (GPContextWrapper* self, const gchar* text, void* data) {
#line 28 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_if_fail (text != NULL);
-#line 350 "GPhoto.c"
+#line 349 "GPhoto.c"
}
@@ -355,14 +354,14 @@ void gp_context_wrapper_error (GPContextWrapper* self, const gchar* text, void*
g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self));
#line 28 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
GP_CONTEXT_WRAPPER_GET_CLASS (self)->error (self, text, data);
-#line 359 "GPhoto.c"
+#line 358 "GPhoto.c"
}
static void gp_context_wrapper_real_status (GPContextWrapper* self, const gchar* text, void* data) {
#line 31 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_if_fail (text != NULL);
-#line 366 "GPhoto.c"
+#line 365 "GPhoto.c"
}
@@ -371,14 +370,14 @@ void gp_context_wrapper_status (GPContextWrapper* self, const gchar* text, void*
g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self));
#line 31 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
GP_CONTEXT_WRAPPER_GET_CLASS (self)->status (self, text, data);
-#line 375 "GPhoto.c"
+#line 374 "GPhoto.c"
}
static void gp_context_wrapper_real_message (GPContextWrapper* self, const gchar* text, void* data) {
#line 34 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_if_fail (text != NULL);
-#line 382 "GPhoto.c"
+#line 381 "GPhoto.c"
}
@@ -387,14 +386,14 @@ void gp_context_wrapper_message (GPContextWrapper* self, const gchar* text, void
g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self));
#line 34 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
GP_CONTEXT_WRAPPER_GET_CLASS (self)->message (self, text, data);
-#line 391 "GPhoto.c"
+#line 390 "GPhoto.c"
}
static void gp_context_wrapper_real_progress_start (GPContextWrapper* self, gfloat current, const gchar* text, void* data) {
#line 37 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_if_fail (text != NULL);
-#line 398 "GPhoto.c"
+#line 397 "GPhoto.c"
}
@@ -403,7 +402,7 @@ void gp_context_wrapper_progress_start (GPContextWrapper* self, gfloat current,
g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self));
#line 37 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
GP_CONTEXT_WRAPPER_GET_CLASS (self)->progress_start (self, current, text, data);
-#line 407 "GPhoto.c"
+#line 406 "GPhoto.c"
}
@@ -416,7 +415,7 @@ void gp_context_wrapper_progress_update (GPContextWrapper* self, gfloat current,
g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self));
#line 40 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
GP_CONTEXT_WRAPPER_GET_CLASS (self)->progress_update (self, current, data);
-#line 420 "GPhoto.c"
+#line 419 "GPhoto.c"
}
@@ -429,7 +428,7 @@ void gp_context_wrapper_progress_stop (GPContextWrapper* self) {
g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self));
#line 43 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
GP_CONTEXT_WRAPPER_GET_CLASS (self)->progress_stop (self);
-#line 433 "GPhoto.c"
+#line 432 "GPhoto.c"
}
@@ -440,7 +439,7 @@ static void gp_context_wrapper_on_idle (GPContextWrapper* self, GPContext* conte
g_return_if_fail (context != NULL);
#line 47 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_idle (self);
-#line 444 "GPhoto.c"
+#line 443 "GPhoto.c"
}
@@ -456,7 +455,7 @@ static void gp_context_wrapper_on_error (GPContextWrapper* self, GPContext* cont
_tmp0_ = text;
#line 51 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_error (self, _tmp0_, NULL);
-#line 460 "GPhoto.c"
+#line 459 "GPhoto.c"
}
@@ -472,7 +471,7 @@ static void gp_context_wrapper_on_status (GPContextWrapper* self, GPContext* con
_tmp0_ = text;
#line 55 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_status (self, _tmp0_, NULL);
-#line 476 "GPhoto.c"
+#line 475 "GPhoto.c"
}
@@ -488,7 +487,7 @@ static void gp_context_wrapper_on_message (GPContextWrapper* self, GPContext* co
_tmp0_ = text;
#line 59 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_message (self, _tmp0_, NULL);
-#line 492 "GPhoto.c"
+#line 491 "GPhoto.c"
}
@@ -512,7 +511,7 @@ static guint gp_context_wrapper_on_progress_start (GPContextWrapper* self, GPCon
result = (guint) 0;
#line 65 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 516 "GPhoto.c"
+#line 515 "GPhoto.c"
}
@@ -526,7 +525,7 @@ static void gp_context_wrapper_on_progress_update (GPContextWrapper* self, GPCon
_tmp0_ = current;
#line 69 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_progress_update (self, _tmp0_, NULL);
-#line 530 "GPhoto.c"
+#line 529 "GPhoto.c"
}
@@ -537,14 +536,14 @@ static void gp_context_wrapper_on_progress_stop (GPContextWrapper* self, GPConte
g_return_if_fail (context != NULL);
#line 73 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_progress_stop (self);
-#line 541 "GPhoto.c"
+#line 540 "GPhoto.c"
}
static void gp_value_context_wrapper_init (GValue* value) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
value->data[0].v_pointer = NULL;
-#line 548 "GPhoto.c"
+#line 547 "GPhoto.c"
}
@@ -553,7 +552,7 @@ static void gp_value_context_wrapper_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_unref (value->data[0].v_pointer);
-#line 557 "GPhoto.c"
+#line 556 "GPhoto.c"
}
}
@@ -563,11 +562,11 @@ static void gp_value_context_wrapper_copy_value (const GValue* src_value, GValue
if (src_value->data[0].v_pointer) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
dest_value->data[0].v_pointer = gp_context_wrapper_ref (src_value->data[0].v_pointer);
-#line 567 "GPhoto.c"
+#line 566 "GPhoto.c"
} else {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
dest_value->data[0].v_pointer = NULL;
-#line 571 "GPhoto.c"
+#line 570 "GPhoto.c"
}
}
@@ -575,37 +574,37 @@ static void gp_value_context_wrapper_copy_value (const GValue* src_value, GValue
static gpointer gp_value_context_wrapper_peek_pointer (const GValue* value) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return value->data[0].v_pointer;
-#line 579 "GPhoto.c"
+#line 578 "GPhoto.c"
}
static gchar* gp_value_context_wrapper_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (collect_values[0].v_pointer) {
-#line 586 "GPhoto.c"
+#line 585 "GPhoto.c"
GPContextWrapper* object;
object = collect_values[0].v_pointer;
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (object->parent_instance.g_class == NULL) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 593 "GPhoto.c"
+#line 592 "GPhoto.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 597 "GPhoto.c"
+#line 596 "GPhoto.c"
}
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
value->data[0].v_pointer = gp_context_wrapper_ref (object);
-#line 601 "GPhoto.c"
+#line 600 "GPhoto.c"
} else {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
value->data[0].v_pointer = NULL;
-#line 605 "GPhoto.c"
+#line 604 "GPhoto.c"
}
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 609 "GPhoto.c"
+#line 608 "GPhoto.c"
}
@@ -616,25 +615,25 @@ static gchar* gp_value_context_wrapper_lcopy_value (const GValue* value, guint n
if (!object_p) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 620 "GPhoto.c"
+#line 619 "GPhoto.c"
}
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (!value->data[0].v_pointer) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*object_p = NULL;
-#line 626 "GPhoto.c"
+#line 625 "GPhoto.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*object_p = value->data[0].v_pointer;
-#line 630 "GPhoto.c"
+#line 629 "GPhoto.c"
} else {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*object_p = gp_context_wrapper_ref (value->data[0].v_pointer);
-#line 634 "GPhoto.c"
+#line 633 "GPhoto.c"
}
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 638 "GPhoto.c"
+#line 637 "GPhoto.c"
}
@@ -648,7 +647,7 @@ GParamSpec* gp_param_spec_context_wrapper (const gchar* name, const gchar* nick,
G_PARAM_SPEC (spec)->value_type = object_type;
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return G_PARAM_SPEC (spec);
-#line 652 "GPhoto.c"
+#line 651 "GPhoto.c"
}
@@ -657,7 +656,7 @@ gpointer gp_value_get_context_wrapper (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GP_TYPE_CONTEXT_WRAPPER), NULL);
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return value->data[0].v_pointer;
-#line 661 "GPhoto.c"
+#line 660 "GPhoto.c"
}
@@ -677,17 +676,17 @@ void gp_value_set_context_wrapper (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_ref (value->data[0].v_pointer);
-#line 681 "GPhoto.c"
+#line 680 "GPhoto.c"
} else {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
value->data[0].v_pointer = NULL;
-#line 685 "GPhoto.c"
+#line 684 "GPhoto.c"
}
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (old) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_unref (old);
-#line 691 "GPhoto.c"
+#line 690 "GPhoto.c"
}
}
@@ -706,17 +705,17 @@ void gp_value_take_context_wrapper (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
value->data[0].v_pointer = v_object;
-#line 710 "GPhoto.c"
+#line 709 "GPhoto.c"
} else {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
value->data[0].v_pointer = NULL;
-#line 714 "GPhoto.c"
+#line 713 "GPhoto.c"
}
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (old) {
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_context_wrapper_unref (old);
-#line 720 "GPhoto.c"
+#line 719 "GPhoto.c"
}
}
@@ -740,7 +739,7 @@ static void gp_context_wrapper_class_init (GPContextWrapperClass * klass) {
((GPContextWrapperClass *) klass)->progress_update = (void (*)(GPContextWrapper*, gfloat, void*)) gp_context_wrapper_real_progress_update;
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
((GPContextWrapperClass *) klass)->progress_stop = (void (*)(GPContextWrapper*)) gp_context_wrapper_real_progress_stop;
-#line 744 "GPhoto.c"
+#line 743 "GPhoto.c"
}
@@ -752,7 +751,7 @@ static void gp_context_wrapper_instance_init (GPContextWrapper * self) {
self->context = _tmp0_;
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
self->ref_count = 1;
-#line 756 "GPhoto.c"
+#line 755 "GPhoto.c"
}
@@ -764,7 +763,7 @@ static void gp_context_wrapper_finalize (GPContextWrapper* obj) {
g_signal_handlers_destroy (self);
#line 15 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_context_unref0 (self->context);
-#line 768 "GPhoto.c"
+#line 767 "GPhoto.c"
}
@@ -789,7 +788,7 @@ gpointer gp_context_wrapper_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return instance;
-#line 793 "GPhoto.c"
+#line 792 "GPhoto.c"
}
@@ -802,7 +801,7 @@ void gp_context_wrapper_unref (gpointer instance) {
GP_CONTEXT_WRAPPER_GET_CLASS (self)->finalize (self);
#line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 806 "GPhoto.c"
+#line 805 "GPhoto.c"
}
}
@@ -813,14 +812,14 @@ GPSpinIdleWrapper* gp_spin_idle_wrapper_construct (GType object_type) {
self = (GPSpinIdleWrapper*) gp_context_wrapper_construct (object_type);
#line 79 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return self;
-#line 817 "GPhoto.c"
+#line 816 "GPhoto.c"
}
GPSpinIdleWrapper* gp_spin_idle_wrapper_new (void) {
#line 79 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return gp_spin_idle_wrapper_construct (GP_TYPE_SPIN_IDLE_WRAPPER);
-#line 824 "GPhoto.c"
+#line 823 "GPhoto.c"
}
@@ -832,7 +831,7 @@ static void gp_spin_idle_wrapper_real_idle (GPContextWrapper* base) {
GP_CONTEXT_WRAPPER_CLASS (gp_spin_idle_wrapper_parent_class)->idle (G_TYPE_CHECK_INSTANCE_CAST (self, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper));
#line 85 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
spin_event_loop ();
-#line 836 "GPhoto.c"
+#line 835 "GPhoto.c"
}
@@ -850,7 +849,7 @@ static void gp_spin_idle_wrapper_real_progress_update (GPContextWrapper* base, g
GP_CONTEXT_WRAPPER_CLASS (gp_spin_idle_wrapper_parent_class)->progress_update (G_TYPE_CHECK_INSTANCE_CAST (self, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper), _tmp0_, _tmp1_);
#line 91 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
spin_event_loop ();
-#line 854 "GPhoto.c"
+#line 853 "GPhoto.c"
}
@@ -861,7 +860,7 @@ static void gp_spin_idle_wrapper_class_init (GPSpinIdleWrapperClass * klass) {
((GPContextWrapperClass *) klass)->idle = (void (*)(GPContextWrapper*)) gp_spin_idle_wrapper_real_idle;
#line 78 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
((GPContextWrapperClass *) klass)->progress_update = (void (*)(GPContextWrapper*, gfloat, void*)) gp_spin_idle_wrapper_real_progress_update;
-#line 865 "GPhoto.c"
+#line 864 "GPhoto.c"
}
@@ -915,7 +914,7 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c
if (_tmp3_ > GP_MAX_BASEDIR_LENGTH) {
#line 104 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp0_ = TRUE;
-#line 919 "GPhoto.c"
+#line 918 "GPhoto.c"
} else {
const gchar* _tmp4_ = NULL;
gint _tmp5_ = 0;
@@ -928,11 +927,11 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c
_tmp6_ = _tmp5_;
#line 104 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp0_ = _tmp6_ > GP_MAX_FILENAME_LENGTH;
-#line 932 "GPhoto.c"
+#line 931 "GPhoto.c"
}
#line 104 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp0_) {
-#line 936 "GPhoto.c"
+#line 935 "GPhoto.c"
CameraFileInfo _tmp7_ = {0};
#line 105 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
(_vala_info);
@@ -944,15 +943,15 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c
if (info) {
#line 107 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*info = _vala_info;
-#line 948 "GPhoto.c"
+#line 947 "GPhoto.c"
} else {
#line 107 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
(_vala_info);
-#line 952 "GPhoto.c"
+#line 951 "GPhoto.c"
}
#line 107 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 956 "GPhoto.c"
+#line 955 "GPhoto.c"
}
#line 110 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp8_ = camera;
@@ -974,7 +973,7 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c
_tmp14_ = res;
#line 111 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp14_ != GP_OK) {
-#line 978 "GPhoto.c"
+#line 977 "GPhoto.c"
int _tmp15_ = 0;
const gchar* _tmp16_ = NULL;
const gchar* _tmp17_ = NULL;
@@ -1000,7 +999,7 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c
g_propagate_error (error, _inner_error_);
#line 112 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return _tmp21_;
-#line 1004 "GPhoto.c"
+#line 1003 "GPhoto.c"
}
#line 115 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
result = TRUE;
@@ -1008,15 +1007,15 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c
if (info) {
#line 115 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*info = _vala_info;
-#line 1012 "GPhoto.c"
+#line 1011 "GPhoto.c"
} else {
#line 115 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
(_vala_info);
-#line 1016 "GPhoto.c"
+#line 1015 "GPhoto.c"
}
#line 115 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 1020 "GPhoto.c"
+#line 1019 "GPhoto.c"
}
@@ -1049,7 +1048,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp2_ = start;
#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp2_ < ((glong) 0)) {
-#line 1053 "GPhoto.c"
+#line 1052 "GPhoto.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -1058,13 +1057,13 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp4_ = start;
#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
start = _tmp3_ + _tmp4_;
-#line 1062 "GPhoto.c"
+#line 1061 "GPhoto.c"
}
#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp5_ = end;
#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp5_ < ((glong) 0)) {
-#line 1068 "GPhoto.c"
+#line 1067 "GPhoto.c"
glong _tmp6_ = 0L;
glong _tmp7_ = 0L;
#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -1073,13 +1072,13 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp7_ = end;
#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
end = _tmp6_ + _tmp7_;
-#line 1077 "GPhoto.c"
+#line 1076 "GPhoto.c"
}
#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = start;
#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp9_ >= ((glong) 0)) {
-#line 1083 "GPhoto.c"
+#line 1082 "GPhoto.c"
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -1088,11 +1087,11 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp11_ = string_length;
#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp8_ = _tmp10_ <= _tmp11_;
-#line 1092 "GPhoto.c"
+#line 1091 "GPhoto.c"
} else {
#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp8_ = FALSE;
-#line 1096 "GPhoto.c"
+#line 1095 "GPhoto.c"
}
#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp8_, NULL);
@@ -1100,7 +1099,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp13_ = end;
#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp13_ >= ((glong) 0)) {
-#line 1104 "GPhoto.c"
+#line 1103 "GPhoto.c"
glong _tmp14_ = 0L;
glong _tmp15_ = 0L;
#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -1109,11 +1108,11 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp15_ = string_length;
#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ <= _tmp15_;
-#line 1113 "GPhoto.c"
+#line 1112 "GPhoto.c"
} else {
#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
-#line 1117 "GPhoto.c"
+#line 1116 "GPhoto.c"
}
#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_, NULL);
@@ -1135,7 +1134,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
result = _tmp21_;
#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 1139 "GPhoto.c"
+#line 1138 "GPhoto.c"
}
@@ -1205,7 +1204,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con
_tmp9_ = g_str_has_prefix (_tmp8_, prefix);
#line 133 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp9_) {
-#line 1209 "GPhoto.c"
+#line 1208 "GPhoto.c"
const gchar* _tmp10_ = NULL;
gint _tmp11_ = 0;
gint _tmp12_ = 0;
@@ -1231,7 +1230,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con
_g_free0 (path);
#line 134 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
path = _tmp16_;
-#line 1235 "GPhoto.c"
+#line 1234 "GPhoto.c"
} else {
#line 136 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
result = NULL;
@@ -1243,13 +1242,13 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con
(port_info);
#line 136 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 1247 "GPhoto.c"
+#line 1246 "GPhoto.c"
}
#line 138 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp17_ = photo_metadata_new ();
#line 138 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
metadata = _tmp17_;
-#line 1253 "GPhoto.c"
+#line 1252 "GPhoto.c"
{
PhotoMetadata* _tmp18_ = NULL;
const gchar* _tmp19_ = NULL;
@@ -1299,7 +1298,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con
_g_free0 (_tmp22_);
#line 140 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1303 "GPhoto.c"
+#line 1302 "GPhoto.c"
goto __catch61_g_error;
}
}
@@ -1314,7 +1313,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con
_media_metadata_unref0 (metadata);
#line 142 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
metadata = NULL;
-#line 1318 "GPhoto.c"
+#line 1317 "GPhoto.c"
}
__finally61:
#line 139 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
@@ -1333,7 +1332,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con
g_clear_error (&_inner_error_);
#line 139 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 1337 "GPhoto.c"
+#line 1336 "GPhoto.c"
}
#line 145 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
result = metadata;
@@ -1345,14 +1344,14 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con
(port_info);
#line 145 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 1349 "GPhoto.c"
+#line 1348 "GPhoto.c"
}
static guint8* _vala_array_dup23 (guint8* self, int length) {
#line 186 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return g_memdup (self, length * sizeof (guint8));
-#line 1356 "GPhoto.c"
+#line 1355 "GPhoto.c"
}
@@ -1393,7 +1392,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
_vala_raw_length1 = 0;
#line 151 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_vala_raw_length = (gsize) 0;
-#line 1397 "GPhoto.c"
+#line 1396 "GPhoto.c"
{
guint8* _tmp0_ = NULL;
GPContext* _tmp1_ = NULL;
@@ -1424,7 +1423,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
__tmp0__size_ = _tmp0__length1;
#line 154 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1428 "GPhoto.c"
+#line 1427 "GPhoto.c"
goto __catch62_g_error;
}
#line 154 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
@@ -1443,7 +1442,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
_vala_raw_length1 = _tmp7__length1;
#line 153 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp0_ = (g_free (_tmp0_), NULL);
-#line 1447 "GPhoto.c"
+#line 1446 "GPhoto.c"
}
goto __finally62;
__catch62_g_error:
@@ -1498,27 +1497,27 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
if (raw) {
#line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw = _vala_raw;
-#line 1502 "GPhoto.c"
+#line 1501 "GPhoto.c"
} else {
#line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_vala_raw = (g_free (_vala_raw), NULL);
-#line 1506 "GPhoto.c"
+#line 1505 "GPhoto.c"
}
#line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (raw_length1) {
#line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw_length1 = _vala_raw_length1;
-#line 1512 "GPhoto.c"
+#line 1511 "GPhoto.c"
}
#line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (raw_length) {
#line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw_length = _vala_raw_length;
-#line 1518 "GPhoto.c"
+#line 1517 "GPhoto.c"
}
#line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 1522 "GPhoto.c"
+#line 1521 "GPhoto.c"
}
#line 159 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp14_ = metadata;
@@ -1534,27 +1533,27 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
if (raw) {
#line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw = _vala_raw;
-#line 1538 "GPhoto.c"
+#line 1537 "GPhoto.c"
} else {
#line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_vala_raw = (g_free (_vala_raw), NULL);
-#line 1542 "GPhoto.c"
+#line 1541 "GPhoto.c"
}
#line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (raw_length1) {
#line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw_length1 = _vala_raw_length1;
-#line 1548 "GPhoto.c"
+#line 1547 "GPhoto.c"
}
#line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (raw_length) {
#line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw_length = _vala_raw_length;
-#line 1554 "GPhoto.c"
+#line 1553 "GPhoto.c"
}
#line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 1558 "GPhoto.c"
+#line 1557 "GPhoto.c"
}
#line 161 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp16_ = metadata;
@@ -1582,7 +1581,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
_photo_preview_unref0 (preview);
#line 162 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_media_metadata_unref0 (metadata);
-#line 1586 "GPhoto.c"
+#line 1585 "GPhoto.c"
goto __finally62;
}
#line 162 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
@@ -1605,7 +1604,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
_photo_preview_unref0 (preview);
#line 153 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_media_metadata_unref0 (metadata);
-#line 1609 "GPhoto.c"
+#line 1608 "GPhoto.c"
}
__finally62:
#line 153 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
@@ -1614,7 +1613,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
g_propagate_error (error, _inner_error_);
#line 153 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 1618 "GPhoto.c"
+#line 1617 "GPhoto.c"
}
#line 165 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp25_ = _vala_raw;
@@ -1630,27 +1629,27 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
if (raw) {
#line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw = _vala_raw;
-#line 1634 "GPhoto.c"
+#line 1633 "GPhoto.c"
} else {
#line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_vala_raw = (g_free (_vala_raw), NULL);
-#line 1638 "GPhoto.c"
+#line 1637 "GPhoto.c"
}
#line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (raw_length1) {
#line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw_length1 = _vala_raw_length1;
-#line 1644 "GPhoto.c"
+#line 1643 "GPhoto.c"
}
#line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (raw_length) {
#line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw_length = _vala_raw_length;
-#line 1650 "GPhoto.c"
+#line 1649 "GPhoto.c"
}
#line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 1654 "GPhoto.c"
+#line 1653 "GPhoto.c"
}
#line 170 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp26_ = _vala_raw;
@@ -1662,7 +1661,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
_tmp27_ = _vala_raw_length;
#line 176 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp27_ > ((gsize) 32)) {
-#line 1666 "GPhoto.c"
+#line 1665 "GPhoto.c"
{
gsize i = 0UL;
gsize _tmp28_ = 0UL;
@@ -1670,14 +1669,14 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
_tmp28_ = _vala_raw_length;
#line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
i = _tmp28_ - 2;
-#line 1674 "GPhoto.c"
+#line 1673 "GPhoto.c"
{
gboolean _tmp29_ = FALSE;
#line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp29_ = TRUE;
#line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
while (TRUE) {
-#line 1681 "GPhoto.c"
+#line 1680 "GPhoto.c"
gsize _tmp31_ = 0UL;
gsize _tmp32_ = 0UL;
gboolean _tmp33_ = FALSE;
@@ -1687,13 +1686,13 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
guint8 _tmp36_ = 0U;
#line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (!_tmp29_) {
-#line 1691 "GPhoto.c"
+#line 1690 "GPhoto.c"
gsize _tmp30_ = 0UL;
#line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp30_ = i;
#line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
i = _tmp30_ - 1;
-#line 1697 "GPhoto.c"
+#line 1696 "GPhoto.c"
}
#line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp29_ = FALSE;
@@ -1705,7 +1704,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
if (!(_tmp31_ > (_tmp32_ - 32))) {
#line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
break;
-#line 1709 "GPhoto.c"
+#line 1708 "GPhoto.c"
}
#line 178 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp34_ = _vala_raw;
@@ -1717,7 +1716,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
_tmp36_ = _tmp34_[_tmp35_];
#line 178 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp36_ == JPEG_MARKER_PREFIX) {
-#line 1721 "GPhoto.c"
+#line 1720 "GPhoto.c"
guint8* _tmp37_ = NULL;
gint _tmp37__length1 = 0;
gsize _tmp38_ = 0UL;
@@ -1732,15 +1731,15 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
_tmp39_ = _tmp37_[_tmp38_ + 1];
#line 178 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp33_ = _tmp39_ == JPEG_MARKER_EOI;
-#line 1736 "GPhoto.c"
+#line 1735 "GPhoto.c"
} else {
#line 178 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp33_ = FALSE;
-#line 1740 "GPhoto.c"
+#line 1739 "GPhoto.c"
}
#line 178 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp33_) {
-#line 1744 "GPhoto.c"
+#line 1743 "GPhoto.c"
const gchar* _tmp40_ = NULL;
gsize _tmp41_ = 0UL;
#line 179 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
@@ -1753,7 +1752,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
_vala_raw_length = _tmp41_ + 2;
#line 181 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
break;
-#line 1757 "GPhoto.c"
+#line 1756 "GPhoto.c"
}
}
}
@@ -1785,7 +1784,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
_g_object_unref0 (mins);
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 1789 "GPhoto.c"
+#line 1788 "GPhoto.c"
}
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp48_ = _tmp45_;
@@ -1801,27 +1800,27 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
if (raw) {
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw = _vala_raw;
-#line 1805 "GPhoto.c"
+#line 1804 "GPhoto.c"
} else {
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_vala_raw = (g_free (_vala_raw), NULL);
-#line 1809 "GPhoto.c"
+#line 1808 "GPhoto.c"
}
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (raw_length1) {
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw_length1 = _vala_raw_length1;
-#line 1815 "GPhoto.c"
+#line 1814 "GPhoto.c"
}
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (raw_length) {
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*raw_length = _vala_raw_length;
-#line 1821 "GPhoto.c"
+#line 1820 "GPhoto.c"
}
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 1825 "GPhoto.c"
+#line 1824 "GPhoto.c"
}
@@ -1865,7 +1864,7 @@ GdkPixbuf* gp_load_image (GPContext* context, Camera* camera, const gchar* folde
g_propagate_error (error, _inner_error_);
#line 192 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 1869 "GPhoto.c"
+#line 1868 "GPhoto.c"
}
#line 193 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp5_ = ins;
@@ -1877,7 +1876,7 @@ GdkPixbuf* gp_load_image (GPContext* context, Camera* camera, const gchar* folde
_g_object_unref0 (ins);
#line 194 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 1881 "GPhoto.c"
+#line 1880 "GPhoto.c"
}
#line 196 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp7_ = ins;
@@ -1893,7 +1892,7 @@ GdkPixbuf* gp_load_image (GPContext* context, Camera* camera, const gchar* folde
_g_object_unref0 (ins);
#line 196 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 1897 "GPhoto.c"
+#line 1896 "GPhoto.c"
}
#line 196 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp9_ = _tmp6_;
@@ -1907,7 +1906,7 @@ GdkPixbuf* gp_load_image (GPContext* context, Camera* camera, const gchar* folde
_g_object_unref0 (ins);
#line 196 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 1911 "GPhoto.c"
+#line 1910 "GPhoto.c"
}
@@ -1925,14 +1924,13 @@ void gp_save_image (GPContext* context, Camera* camera, const gchar* folder, con
CameraFile* _tmp13_ = NULL;
int _tmp14_ = 0;
int _tmp15_ = 0;
- Camera* _tmp21_ = NULL;
+ Camera* _tmp20_ = NULL;
+ const gchar* _tmp21_ = NULL;
const gchar* _tmp22_ = NULL;
- const gchar* _tmp23_ = NULL;
- CameraFile* _tmp24_ = NULL;
- GPContext* _tmp25_ = NULL;
+ CameraFile* _tmp23_ = NULL;
+ GPContext* _tmp24_ = NULL;
+ int _tmp25_ = 0;
int _tmp26_ = 0;
- int _tmp27_ = 0;
- gint _tmp35_ = 0;
GError * _inner_error_ = NULL;
#line 199 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_if_fail (context != NULL);
@@ -1962,7 +1960,7 @@ void gp_save_image (GPContext* context, Camera* camera, const gchar* folder, con
_tmp5_ = fd;
#line 201 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp5_ < 0) {
-#line 1966 "GPhoto.c"
+#line 1964 "GPhoto.c"
gint _tmp6_ = 0;
GFile* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
@@ -1989,7 +1987,7 @@ void gp_save_image (GPContext* context, Camera* camera, const gchar* folder, con
g_propagate_error (error, _inner_error_);
#line 202 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return;
-#line 1993 "GPhoto.c"
+#line 1991 "GPhoto.c"
}
#line 206 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp12_ = fd;
@@ -2005,93 +2003,79 @@ void gp_save_image (GPContext* context, Camera* camera, const gchar* folder, con
_tmp15_ = res;
#line 207 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp15_ != GP_OK) {
-#line 2009 "GPhoto.c"
- gint _tmp16_ = 0;
+#line 2007 "GPhoto.c"
+ int _tmp16_ = 0;
int _tmp17_ = 0;
- int _tmp18_ = 0;
- const gchar* _tmp19_ = NULL;
- GError* _tmp20_ = NULL;
+ const gchar* _tmp18_ = NULL;
+ GError* _tmp19_ = NULL;
#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp16_ = fd;
+ _tmp16_ = res;
#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- close (_tmp16_);
-#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp17_ = res;
-#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp18_ = res;
-#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp19_ = gp_port_result_as_string (_tmp18_);
-#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp20_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error allocating camera file: %s", (gint) _tmp17_, _tmp19_);
-#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _inner_error_ = _tmp20_;
-#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp18_ = gp_port_result_as_string (_tmp17_);
+#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp19_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error allocating camera file: %s", (gint) _tmp16_, _tmp18_);
+#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _inner_error_ = _tmp19_;
+#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_propagate_error (error, _inner_error_);
-#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return;
-#line 2035 "GPhoto.c"
+#line 2028 "GPhoto.c"
}
+#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp20_ = camera;
+#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp21_ = folder;
+#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp22_ = filename;
+#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp23_ = camera_file;
+#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp24_ = context;
+#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp25_ = gp_camera_file_get (_tmp20_, _tmp21_, _tmp22_, GP_FILE_TYPE_NORMAL, _tmp23_, _tmp24_);
+#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ res = _tmp25_;
#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp21_ = camera;
+ _tmp26_ = res;
#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp22_ = folder;
-#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp23_ = filename;
-#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp24_ = camera_file;
-#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp25_ = context;
-#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp26_ = gp_camera_file_get (_tmp21_, _tmp22_, _tmp23_, GP_FILE_TYPE_NORMAL, _tmp24_, _tmp25_);
-#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- res = _tmp26_;
+ if (_tmp26_ != GP_OK) {
+#line 2048 "GPhoto.c"
+ int _tmp27_ = 0;
+ const gchar* _tmp28_ = NULL;
+ const gchar* _tmp29_ = NULL;
+ int _tmp30_ = 0;
+ const gchar* _tmp31_ = NULL;
+ GError* _tmp32_ = NULL;
#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp27_ = res;
+ _tmp27_ = res;
+#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp28_ = folder;
+#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp29_ = filename;
+#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp30_ = res;
+#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp31_ = gp_port_result_as_string (_tmp30_);
+#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _tmp32_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error retrieving file object for %s/%s: %s", (gint) _tmp27_, _tmp28_, _tmp29_, _tmp31_);
+#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+ _inner_error_ = _tmp32_;
#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- if (_tmp27_ != GP_OK) {
-#line 2055 "GPhoto.c"
- gint _tmp28_ = 0;
- int _tmp29_ = 0;
- const gchar* _tmp30_ = NULL;
- const gchar* _tmp31_ = NULL;
- int _tmp32_ = 0;
- const gchar* _tmp33_ = NULL;
- GError* _tmp34_ = NULL;
-#line 214 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp28_ = fd;
-#line 214 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- close (_tmp28_);
-#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp29_ = res;
-#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp30_ = folder;
-#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp31_ = filename;
-#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp32_ = res;
-#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp33_ = gp_port_result_as_string (_tmp32_);
-#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp34_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error retrieving file object for %s/%s: %s", (gint) _tmp29_, _tmp30_, _tmp31_, _tmp33_);
-#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _inner_error_ = _tmp34_;
-#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_propagate_error (error, _inner_error_);
-#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return;
-#line 2087 "GPhoto.c"
+#line 2075 "GPhoto.c"
}
-#line 219 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp35_ = fd;
-#line 219 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- close (_tmp35_);
#line 199 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 2095 "GPhoto.c"
+#line 2079 "GPhoto.c"
}
@@ -2109,21 +2093,21 @@ PhotoMetadata* gp_load_metadata (GPContext* context, Camera* camera, const gchar
guint8* _tmp18_ = NULL;
gint _tmp18__length1 = 0;
GError * _inner_error_ = NULL;
-#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 218 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (context != NULL, NULL);
-#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 218 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (camera != NULL, NULL);
-#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 218 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (folder != NULL, NULL);
-#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 218 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (filename != NULL, NULL);
-#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 220 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_raw = NULL;
-#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 220 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_raw_length1 = 0;
-#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 220 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_camera_raw_size_ = camera_raw_length1;
-#line 2127 "GPhoto.c"
+#line 2111 "GPhoto.c"
{
guint8* _tmp0_ = NULL;
GPContext* _tmp1_ = NULL;
@@ -2136,46 +2120,46 @@ PhotoMetadata* gp_load_metadata (GPContext* context, Camera* camera, const gchar
gint __tmp0__size_ = 0;
guint8* _tmp7_ = NULL;
gint _tmp7__length1 = 0;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp1_ = context;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp2_ = camera;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp3_ = folder;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp4_ = filename;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp6_ = gp_load_file_into_buffer (_tmp1_, _tmp2_, _tmp3_, _tmp4_, GP_FILE_TYPE_EXIF, &_tmp5_, &_inner_error_);
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp0_ = _tmp6_;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp0__length1 = _tmp5_;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
__tmp0__size_ = _tmp0__length1;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2158 "GPhoto.c"
+#line 2142 "GPhoto.c"
goto __catch63_g_error;
}
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp7_ = _tmp0_;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp7__length1 = _tmp0__length1;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp0_ = NULL;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp0__length1 = 0;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_raw = (g_free (camera_raw), NULL);
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_raw = _tmp7_;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_raw_length1 = _tmp7__length1;
-#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_camera_raw_size_ = camera_raw_length1;
-#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp0_ = (g_free (_tmp0_), NULL);
-#line 2179 "GPhoto.c"
+#line 2163 "GPhoto.c"
}
goto __finally63;
__catch63_g_error:
@@ -2185,114 +2169,114 @@ PhotoMetadata* gp_load_metadata (GPContext* context, Camera* camera, const gchar
const gchar* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
PhotoMetadata* _tmp12_ = NULL;
-#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_clear_error (&_inner_error_);
-#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_inner_error_ = NULL;
-#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp8_ = camera;
-#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp9_ = context;
-#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp10_ = folder;
-#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp11_ = filename;
-#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp12_ = gp_get_fallback_metadata (_tmp8_, _tmp9_, _tmp10_, _tmp11_);
-#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
result = _tmp12_;
-#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_raw = (g_free (camera_raw), NULL);
-#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 2209 "GPhoto.c"
+#line 2193 "GPhoto.c"
}
__finally63:
-#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_propagate_error (error, _inner_error_);
-#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_raw = (g_free (camera_raw), NULL);
-#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 2220 "GPhoto.c"
+#line 2204 "GPhoto.c"
}
-#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp14_ = camera_raw;
-#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp14__length1 = camera_raw_length1;
-#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp14_ == NULL) {
-#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp13_ = TRUE;
-#line 2230 "GPhoto.c"
+#line 2214 "GPhoto.c"
} else {
guint8* _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp15_ = camera_raw;
-#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp15__length1 = camera_raw_length1;
-#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp13_ = _tmp15__length1 == 0;
-#line 2240 "GPhoto.c"
+#line 2224 "GPhoto.c"
}
-#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp13_) {
-#line 232 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
result = NULL;
-#line 232 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_raw = (g_free (camera_raw), NULL);
-#line 232 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 2250 "GPhoto.c"
+#line 2234 "GPhoto.c"
}
-#line 234 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 230 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp16_ = photo_metadata_new ();
-#line 234 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 230 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
metadata = _tmp16_;
-#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp17_ = metadata;
-#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp18_ = camera_raw;
-#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp18__length1 = camera_raw_length1;
-#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
photo_metadata_read_from_app1_segment (_tmp17_, _tmp18_, _tmp18__length1, 0, &_inner_error_);
-#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_propagate_error (error, _inner_error_);
-#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_media_metadata_unref0 (metadata);
-#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_raw = (g_free (camera_raw), NULL);
-#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 2274 "GPhoto.c"
+#line 2258 "GPhoto.c"
}
-#line 237 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 233 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
result = metadata;
-#line 237 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 233 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_raw = (g_free (camera_raw), NULL);
-#line 237 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 233 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 2282 "GPhoto.c"
+#line 2266 "GPhoto.c"
}
static guint8* _vala_array_dup24 (guint8* self, int length) {
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return g_memdup (self, length * sizeof (guint8));
-#line 2289 "GPhoto.c"
+#line 2273 "GPhoto.c"
}
static void _gp_on_mins_destroyed_gdestroy_notify (void* data) {
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
gp_on_mins_destroyed (data);
-#line 2296 "GPhoto.c"
+#line 2280 "GPhoto.c"
}
@@ -2331,109 +2315,109 @@ GInputStream* gp_load_file_into_stream (GPContext* context, Camera* camera, cons
GFileInputStream* _tmp53_ = NULL;
GFileInputStream* _tmp54_ = NULL;
GError * _inner_error_ = NULL;
-#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 238 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (context != NULL, NULL);
-#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 238 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (camera != NULL, NULL);
-#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 238 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (folder != NULL, NULL);
-#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 238 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (filename != NULL, NULL);
-#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 241 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp1_ = gp_file_new (&_tmp0_);
-#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 241 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 241 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_file = _tmp0_;
-#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 241 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
res = _tmp1_;
-#line 246 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp2_ = res;
-#line 246 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp2_ != GP_OK) {
-#line 2355 "GPhoto.c"
+#line 2339 "GPhoto.c"
int _tmp3_ = 0;
int _tmp4_ = 0;
const gchar* _tmp5_ = NULL;
GError* _tmp6_ = NULL;
-#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp3_ = res;
-#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp4_ = res;
-#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp5_ = gp_port_result_as_string (_tmp4_);
-#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp6_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error allocating camera file: %s", (gint) _tmp3_, _tmp5_);
-#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_inner_error_ = _tmp6_;
-#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_propagate_error (error, _inner_error_);
-#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 2376 "GPhoto.c"
+#line 2360 "GPhoto.c"
}
-#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp7_ = camera;
-#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp8_ = folder;
-#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp9_ = filename;
-#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp10_ = filetype;
-#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp11_ = context;
-#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp12_ = gp_camera_file_get (_tmp7_, _tmp8_, _tmp9_, _tmp10_, camera_file, _tmp11_);
-#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
res = _tmp12_;
-#line 250 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 246 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp13_ = res;
-#line 250 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 246 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp13_ != GP_OK) {
-#line 2396 "GPhoto.c"
+#line 2380 "GPhoto.c"
int _tmp14_ = 0;
const gchar* _tmp15_ = NULL;
const gchar* _tmp16_ = NULL;
int _tmp17_ = 0;
const gchar* _tmp18_ = NULL;
GError* _tmp19_ = NULL;
-#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp14_ = res;
-#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp15_ = folder;
-#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp16_ = filename;
-#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp17_ = res;
-#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp18_ = gp_port_result_as_string (_tmp17_);
-#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp19_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error retrieving file object for %s/%s: %s", (gint) _tmp14_, _tmp15_, _tmp16_, _tmp18_);
-#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_inner_error_ = _tmp19_;
-#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_propagate_error (error, _inner_error_);
-#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 2423 "GPhoto.c"
+#line 2407 "GPhoto.c"
}
-#line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 255 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp22_ = gp_file_get_data_and_size (camera_file, &_tmp20_, &_tmp21_);
-#line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 255 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
data = _tmp20_;
-#line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 255 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
data_len = _tmp21_;
-#line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 255 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
res = _tmp22_;
-#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 256 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp23_ = res;
-#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 256 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp23_ == GP_OK) {
-#line 2437 "GPhoto.c"
+#line 2421 "GPhoto.c"
guint8* buffer = NULL;
gulong _tmp24_ = 0UL;
guint8* _tmp25_ = NULL;
@@ -2449,77 +2433,77 @@ GInputStream* gp_load_file_into_stream (GPContext* context, Camera* camera, cons
guint8* _tmp30_ = NULL;
gint _tmp30__length1 = 0;
GMemoryInputStream* _tmp31_ = NULL;
-#line 261 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 257 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp24_ = data_len;
-#line 261 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 257 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp25_ = g_new0 (guint8, _tmp24_);
-#line 261 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 257 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
buffer = _tmp25_;
-#line 261 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 257 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
buffer_length1 = _tmp24_;
-#line 261 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 257 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_buffer_size_ = buffer_length1;
-#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp26_ = buffer;
-#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp26__length1 = buffer_length1;
-#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp27_ = data;
-#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp28_ = buffer;
-#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp28__length1 = buffer_length1;
-#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
memcpy (_tmp26_, _tmp27_, (gsize) _tmp28__length1);
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp29_ = buffer;
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp29__length1 = buffer_length1;
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp30_ = (_tmp29_ != NULL) ? _vala_array_dup24 (_tmp29_, _tmp29__length1) : ((gpointer) _tmp29_);
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp30__length1 = _tmp29__length1;
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp31_ = (GMemoryInputStream*) g_memory_input_stream_new_from_data (_tmp30_, _tmp30__length1, _gp_on_mins_destroyed_gdestroy_notify);
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, g_input_stream_get_type (), GInputStream);
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
buffer = (g_free (buffer), NULL);
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 2493 "GPhoto.c"
+#line 2477 "GPhoto.c"
}
-#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp32_ = app_dirs_get_temp_dir ();
-#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp33_ = _tmp32_;
-#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp34_ = g_file_get_child (_tmp33_, "import.tmp");
-#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp35_ = _tmp34_;
-#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_g_object_unref0 (_tmp33_);
-#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
temp = _tmp35_;
-#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp36_ = temp;
-#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp37_ = g_file_get_path (_tmp36_);
-#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp38_ = _tmp37_;
-#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp39_ = gp_file_save (camera_file, _tmp38_);
-#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
res = _tmp39_;
-#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_g_free0 (_tmp38_);
-#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 266 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp40_ = res;
-#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 266 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp40_ != GP_OK) {
-#line 2523 "GPhoto.c"
+#line 2507 "GPhoto.c"
int _tmp41_ = 0;
const gchar* _tmp42_ = NULL;
const gchar* _tmp43_ = NULL;
@@ -2530,83 +2514,83 @@ GInputStream* gp_load_file_into_stream (GPContext* context, Camera* camera, cons
const gchar* _tmp48_ = NULL;
GError* _tmp49_ = NULL;
GError* _tmp50_ = NULL;
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp41_ = res;
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp42_ = folder;
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp43_ = filename;
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp44_ = temp;
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp45_ = g_file_get_path (_tmp44_);
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp46_ = _tmp45_;
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp47_ = res;
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp48_ = gp_port_result_as_string (_tmp47_);
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp49_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error copying file %s/%s to %s: %s", (gint) _tmp41_, _tmp42_, _tmp43_, _tmp46_, _tmp48_);
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp50_ = _tmp49_;
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_g_free0 (_tmp46_);
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_inner_error_ = _tmp50_;
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_propagate_error (error, _inner_error_);
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_g_object_unref0 (temp);
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 2566 "GPhoto.c"
+#line 2550 "GPhoto.c"
}
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp52_ = temp;
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp53_ = g_file_read (_tmp52_, NULL, &_inner_error_);
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp51_ = _tmp53_;
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_propagate_error (error, _inner_error_);
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_g_object_unref0 (temp);
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 2584 "GPhoto.c"
+#line 2568 "GPhoto.c"
}
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp54_ = _tmp51_;
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp51_ = NULL;
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, g_input_stream_get_type (), GInputStream);
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_g_object_unref0 (_tmp51_);
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_g_object_unref0 (temp);
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 2600 "GPhoto.c"
+#line 2584 "GPhoto.c"
}
void gp_on_mins_destroyed (void* data) {
void* _tmp0_ = NULL;
-#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp0_ = data;
-#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_free (_tmp0_);
-#line 2610 "GPhoto.c"
+#line 2594 "GPhoto.c"
}
@@ -2645,172 +2629,172 @@ guint8* gp_load_file_into_buffer (GPContext* context, Camera* camera, const gcha
guint8* _tmp32_ = NULL;
gint _tmp32__length1 = 0;
GError * _inner_error_ = NULL;
-#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (context != NULL, NULL);
-#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (camera != NULL, NULL);
-#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (folder != NULL, NULL);
-#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_return_val_if_fail (filename != NULL, NULL);
-#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 281 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp1_ = gp_file_new (&_tmp0_);
-#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 281 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 281 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
camera_file = _tmp0_;
-#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 281 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
res = _tmp1_;
-#line 286 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp2_ = res;
-#line 286 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp2_ != GP_OK) {
-#line 2669 "GPhoto.c"
+#line 2653 "GPhoto.c"
int _tmp3_ = 0;
int _tmp4_ = 0;
const gchar* _tmp5_ = NULL;
GError* _tmp6_ = NULL;
-#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp3_ = res;
-#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp4_ = res;
-#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp5_ = gp_port_result_as_string (_tmp4_);
-#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp6_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error allocating camera file: %s", (gint) _tmp3_, _tmp5_);
-#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_inner_error_ = _tmp6_;
-#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_propagate_error (error, _inner_error_);
-#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 2690 "GPhoto.c"
+#line 2674 "GPhoto.c"
}
-#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp7_ = camera;
-#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp8_ = folder;
-#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp9_ = filename;
-#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp10_ = filetype;
-#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp11_ = camera_file;
-#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp12_ = context;
-#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp13_ = gp_camera_file_get (_tmp7_, _tmp8_, _tmp9_, _tmp10_, _tmp11_, _tmp12_);
-#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
res = _tmp13_;
-#line 290 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 286 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp14_ = res;
-#line 290 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 286 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp14_ != GP_OK) {
-#line 2712 "GPhoto.c"
+#line 2696 "GPhoto.c"
int _tmp15_ = 0;
const gchar* _tmp16_ = NULL;
const gchar* _tmp17_ = NULL;
int _tmp18_ = 0;
const gchar* _tmp19_ = NULL;
GError* _tmp20_ = NULL;
-#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp15_ = res;
-#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp16_ = folder;
-#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp17_ = filename;
-#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp18_ = res;
-#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp19_ = gp_port_result_as_string (_tmp18_);
-#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp20_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error retrieving file object for %s/%s: %s", (gint) _tmp15_, _tmp16_, _tmp17_, _tmp19_);
-#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_inner_error_ = _tmp20_;
-#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
g_propagate_error (error, _inner_error_);
-#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return NULL;
-#line 2739 "GPhoto.c"
+#line 2723 "GPhoto.c"
}
-#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 294 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp21_ = camera_file;
-#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 294 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp24_ = gp_file_get_data_and_size (_tmp21_, &_tmp22_, &_tmp23_);
-#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 294 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
data = _tmp22_;
-#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 294 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
data_len = _tmp23_;
-#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 294 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
res = _tmp24_;
-#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 295 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp25_ = res;
-#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 295 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (_tmp25_ != GP_OK) {
-#line 2755 "GPhoto.c"
+#line 2739 "GPhoto.c"
guint8* _tmp26_ = NULL;
gint _tmp26__length1 = 0;
-#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp26_ = NULL;
-#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp26__length1 = 0;
-#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (result_length1) {
-#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*result_length1 = _tmp26__length1;
-#line 2766 "GPhoto.c"
+#line 2750 "GPhoto.c"
}
-#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
result = _tmp26_;
-#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 2774 "GPhoto.c"
+#line 2758 "GPhoto.c"
}
-#line 302 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp27_ = data_len;
-#line 302 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp28_ = g_new0 (guint8, _tmp27_);
-#line 302 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
buffer = _tmp28_;
-#line 302 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
buffer_length1 = _tmp27_;
-#line 302 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_buffer_size_ = buffer_length1;
-#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp29_ = buffer;
-#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp29__length1 = buffer_length1;
-#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp30_ = data;
-#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp31_ = buffer;
-#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp31__length1 = buffer_length1;
-#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
memcpy (_tmp29_, _tmp30_, (gsize) _tmp31__length1);
-#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp32_ = buffer;
-#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp32__length1 = buffer_length1;
-#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
if (result_length1) {
-#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
*result_length1 = _tmp32__length1;
-#line 2806 "GPhoto.c"
+#line 2790 "GPhoto.c"
}
-#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
result = _tmp32_;
-#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_gp_file_unref0 (camera_file);
-#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
+#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
return result;
-#line 2814 "GPhoto.c"
+#line 2798 "GPhoto.c"
}
diff --git a/src/camera/GPhoto.vala b/src/camera/GPhoto.vala
index 5acc4a3..5919080 100644
--- a/src/camera/GPhoto.vala
+++ b/src/camera/GPhoto.vala
@@ -205,18 +205,14 @@ namespace GPhoto {
GPhoto.CameraFile camera_file;
GPhoto.Result res = GPhoto.CameraFile.create_from_fd(out camera_file, fd);
if (res != Result.OK) {
- Posix.close(fd);
throw new GPhotoError.LIBRARY("[%d] Error allocating camera file: %s", (int) res, res.as_string());
}
res = camera.get_file(folder, filename, GPhoto.CameraFileType.NORMAL, camera_file, context);
if (res != Result.OK) {
- Posix.close(fd);
throw new GPhotoError.LIBRARY("[%d] Error retrieving file object for %s/%s: %s",
(int) res, folder, filename, res.as_string());
}
-
- Posix.close(fd);
}
public PhotoMetadata? load_metadata(Context context, Camera camera, string folder, string filename)
diff --git a/src/data_imports/DataImportsPluginHost.c b/src/data_imports/DataImportsPluginHost.c
index 3203518..6fea799 100644
--- a/src/data_imports/DataImportsPluginHost.c
+++ b/src/data_imports/DataImportsPluginHost.c
@@ -624,9 +624,9 @@ SpitDataImportsService** spit_data_imports_load_services (gboolean load_all, int
GeeCollection* plugins_get_pluggables_for_type (GType type, GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify, gboolean include_disabled);
gchar* plugins_get_pluggable_module_id (SpitPluggable* needle);
static void _vala_array_add69 (SpitDataImportsService*** array, int* length, int* size, SpitDataImportsService* value);
-static gint __lambda21_ (void* a, void* b);
+static gint __lambda22_ (void* a, void* b);
gint utf8_cs_compare (void* a, void* b);
-static gint ___lambda21____compar_fn_t (void* key1, void* key2);
+static gint ___lambda22____compar_fn_t (void* key1, void* key2);
GType data_object_get_type (void) G_GNUC_CONST;
GType data_source_get_type (void) G_GNUC_CONST;
GType thumbnail_source_get_type (void) G_GNUC_CONST;
@@ -3060,7 +3060,7 @@ static void _vala_array_add69 (SpitDataImportsService*** array, int* length, int
}
-static gint __lambda21_ (void* a, void* b) {
+static gint __lambda22_ (void* a, void* b) {
gint result = 0;
void* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
@@ -3085,9 +3085,9 @@ static gint __lambda21_ (void* a, void* b) {
}
-static gint ___lambda21____compar_fn_t (void* key1, void* key2) {
+static gint ___lambda22____compar_fn_t (void* key1, void* key2) {
gint result;
- result = __lambda21_ (key1, key2);
+ result = __lambda22_ (key1, key2);
#line 452 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala"
return result;
#line 3086 "DataImportsPluginHost.c"
@@ -3259,7 +3259,7 @@ SpitDataImportsService** spit_data_imports_load_services (gboolean load_all, int
#line 452 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala"
_tmp27__length1 = loaded_services_length1;
#line 452 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala"
- qsort (_tmp26_, (gsize) _tmp27__length1, (gsize) sizeof (SpitDataImportsService*), ___lambda21____compar_fn_t);
+ qsort (_tmp26_, (gsize) _tmp27__length1, (gsize) sizeof (SpitDataImportsService*), ___lambda22____compar_fn_t);
#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala"
_tmp28_ = loaded_services;
#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsPluginHost.vala"
diff --git a/src/data_imports/DataImportsUI.c b/src/data_imports/DataImportsUI.c
index 5a1c46a..c5428ba 100644
--- a/src/data_imports/DataImportsUI.c
+++ b/src/data_imports/DataImportsUI.c
@@ -54,8 +54,8 @@ typedef struct _DataImportsUILibrarySelectionPane DataImportsUILibrarySelectionP
typedef struct _DataImportsUILibrarySelectionPaneClass DataImportsUILibrarySelectionPaneClass;
typedef struct _DataImportsUILibrarySelectionPanePrivate DataImportsUILibrarySelectionPanePrivate;
#define _g_free0(var) (var = (g_free (var), NULL))
-typedef struct _Block10Data Block10Data;
typedef struct _Block11Data Block11Data;
+typedef struct _Block12Data Block12Data;
#define DATA_IMPORTS_UI_TYPE_PROGRESS_PANE (data_imports_ui_progress_pane_get_type ())
#define DATA_IMPORTS_UI_PROGRESS_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DATA_IMPORTS_UI_TYPE_PROGRESS_PANE, DataImportsUIProgressPane))
@@ -162,13 +162,13 @@ struct _DataImportsUILibrarySelectionPanePrivate {
GtkRadioButton* file_radio;
};
-struct _Block10Data {
+struct _Block11Data {
int _ref_count_;
DataImportsUILibrarySelectionPane* self;
GtkFileChooserButton* file_chooser;
};
-struct _Block11Data {
+struct _Block12Data {
int _ref_count_;
DataImportsUILibrarySelectionPane* self;
GtkRadioButton* button;
@@ -251,18 +251,18 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_new (S
DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_construct (GType object_type, SpitDataImportsPluginHost* host, const gchar* welcome_message, SpitDataImportsImportableLibrary** discovered_libraries, int discovered_libraries_length1, const gchar* file_select_label);
static void data_imports_ui_library_selection_pane_on_file_selected (DataImportsUILibrarySelectionPane* self, GFile* file);
static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_button (DataImportsUILibrarySelectionPane* self, GtkBox* box, GtkRadioButton* group, SpitDataImportsImportableLibrary* library, const gchar* label, gint margin_left, gint margin_right);
-static Block10Data* block10_data_ref (Block10Data* _data10_);
-static void block10_data_unref (void * _userdata_);
-static void ___lambda19_ (Block10Data* _data10_);
-static void data_imports_ui_library_selection_pane_set_import_button_sensitivity (DataImportsUILibrarySelectionPane* self);
-static void ____lambda19__gtk_file_chooser_selection_changed (GtkFileChooser* _sender, gpointer self);
-static void __lambda20_ (DataImportsUILibrarySelectionPane* self);
-static void data_imports_ui_library_selection_pane_on_library_selected (DataImportsUILibrarySelectionPane* self, SpitDataImportsImportableLibrary* library);
-static void ___lambda20__gtk_button_clicked (GtkButton* _sender, gpointer self);
static Block11Data* block11_data_ref (Block11Data* _data11_);
static void block11_data_unref (void * _userdata_);
-static void __lambda18_ (Block11Data* _data11_);
-static void ___lambda18__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
+static void ___lambda20_ (Block11Data* _data11_);
+static void data_imports_ui_library_selection_pane_set_import_button_sensitivity (DataImportsUILibrarySelectionPane* self);
+static void ____lambda20__gtk_file_chooser_selection_changed (GtkFileChooser* _sender, gpointer self);
+static void __lambda21_ (DataImportsUILibrarySelectionPane* self);
+static void data_imports_ui_library_selection_pane_on_library_selected (DataImportsUILibrarySelectionPane* self, SpitDataImportsImportableLibrary* library);
+static void ___lambda21__gtk_button_clicked (GtkButton* _sender, gpointer self);
+static Block12Data* block12_data_ref (Block12Data* _data12_);
+static void block12_data_unref (void * _userdata_);
+static void __lambda19_ (Block12Data* _data12_);
+static void ___lambda19__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
static void data_imports_ui_library_selection_pane_finalize (GObject* obj);
GType data_imports_ui_progress_pane_get_type (void) G_GNUC_CONST;
#define DATA_IMPORTS_UI_PROGRESS_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), DATA_IMPORTS_UI_TYPE_PROGRESS_PANE, DataImportsUIProgressPanePrivate))
@@ -596,44 +596,44 @@ GType data_imports_ui_static_message_pane_get_type (void) {
}
-static Block10Data* block10_data_ref (Block10Data* _data10_) {
+static Block11Data* block11_data_ref (Block11Data* _data11_) {
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_atomic_int_inc (&_data10_->_ref_count_);
+ g_atomic_int_inc (&_data11_->_ref_count_);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- return _data10_;
+ return _data11_;
#line 601 "DataImportsUI.c"
}
-static void block10_data_unref (void * _userdata_) {
- Block10Data* _data10_;
- _data10_ = (Block10Data*) _userdata_;
+static void block11_data_unref (void * _userdata_) {
+ Block11Data* _data11_;
+ _data11_ = (Block11Data*) _userdata_;
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (g_atomic_int_dec_and_test (&_data10_->_ref_count_)) {
+ if (g_atomic_int_dec_and_test (&_data11_->_ref_count_)) {
#line 610 "DataImportsUI.c"
DataImportsUILibrarySelectionPane* self;
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self = _data10_->self;
+ self = _data11_->self;
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_data10_->file_chooser);
+ _g_object_unref0 (_data11_->file_chooser);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_slice_free (Block10Data, _data10_);
+ g_slice_free (Block11Data, _data11_);
#line 620 "DataImportsUI.c"
}
}
-static void ___lambda19_ (Block10Data* _data10_) {
+static void ___lambda20_ (Block11Data* _data11_) {
DataImportsUILibrarySelectionPane* self;
GtkFileChooserButton* _tmp0_ = NULL;
GFile* _tmp1_ = NULL;
GtkRadioButton* _tmp2_ = NULL;
#line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self = _data10_->self;
+ self = _data11_->self;
#line 102 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp0_ = _data10_->file_chooser;
+ _tmp0_ = _data11_->file_chooser;
#line 102 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = gtk_file_chooser_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser));
#line 102 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -658,14 +658,14 @@ static void ___lambda19_ (Block10Data* _data10_) {
}
-static void ____lambda19__gtk_file_chooser_selection_changed (GtkFileChooser* _sender, gpointer self) {
+static void ____lambda20__gtk_file_chooser_selection_changed (GtkFileChooser* _sender, gpointer self) {
#line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- ___lambda19_ (self);
+ ___lambda20_ (self);
#line 661 "DataImportsUI.c"
}
-static void __lambda20_ (DataImportsUILibrarySelectionPane* self) {
+static void __lambda21_ (DataImportsUILibrarySelectionPane* self) {
SpitDataImportsImportableLibrary* _tmp0_ = NULL;
#line 114 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->selected_library;
@@ -701,9 +701,9 @@ static void __lambda20_ (DataImportsUILibrarySelectionPane* self) {
}
-static void ___lambda20__gtk_button_clicked (GtkButton* _sender, gpointer self) {
+static void ___lambda21__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 113 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- __lambda20_ ((DataImportsUILibrarySelectionPane*) self);
+ __lambda21_ ((DataImportsUILibrarySelectionPane*) self);
#line 703 "DataImportsUI.c"
}
@@ -954,7 +954,7 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp37_ != NULL) {
#line 952 "DataImportsUI.c"
- Block10Data* _data10_;
+ Block11Data* _data11_;
const gchar* _tmp38_ = NULL;
GtkFileChooserButton* _tmp39_ = NULL;
GtkFileChooserButton* _tmp40_ = NULL;
@@ -965,11 +965,11 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr
GtkBox* _tmp45_ = NULL;
GtkFileChooserButton* _tmp46_ = NULL;
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data10_ = g_slice_new0 (Block10Data);
+ _data11_ = g_slice_new0 (Block11Data);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data10_->_ref_count_ = 1;
+ _data11_->_ref_count_ = 1;
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data10_->self = g_object_ref (self);
+ _data11_->self = g_object_ref (self);
#line 100 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp38_ = _ ("Database file:");
#line 100 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -977,19 +977,19 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr
#line 100 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_object_ref_sink (_tmp39_);
#line 100 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data10_->file_chooser = _tmp39_;
+ _data11_->file_chooser = _tmp39_;
#line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp40_ = _data10_->file_chooser;
+ _tmp40_ = _data11_->file_chooser;
#line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), "selection-changed", (GCallback) ____lambda19__gtk_file_chooser_selection_changed, block10_data_ref (_data10_), (GClosureNotify) block10_data_unref, 0);
+ g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), "selection-changed", (GCallback) ____lambda20__gtk_file_chooser_selection_changed, block11_data_ref (_data11_), (GClosureNotify) block11_data_unref, 0);
#line 107 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp41_ = _data10_->file_chooser;
+ _tmp41_ = _data11_->file_chooser;
#line 107 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp42_ = chooser_margin_left;
#line 107 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), _tmp42_);
#line 108 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp43_ = _data10_->file_chooser;
+ _tmp43_ = _data11_->file_chooser;
#line 108 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp44_ = chooser_margin_right;
#line 108 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -997,13 +997,13 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr
#line 109 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp45_ = content_box;
#line 109 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp46_ = _data10_->file_chooser;
+ _tmp46_ = _data11_->file_chooser;
#line 109 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_box_pack_start (_tmp45_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- block10_data_unref (_data10_);
+ block11_data_unref (_data11_);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data10_ = NULL;
+ _data11_ = NULL;
#line 1003 "DataImportsUI.c"
}
#line 112 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1019,7 +1019,7 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr
#line 113 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp49_ = self->priv->import_button;
#line 113 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_signal_connect_object (_tmp49_, "clicked", (GCallback) ___lambda20__gtk_button_clicked, self, 0);
+ g_signal_connect_object (_tmp49_, "clicked", (GCallback) ___lambda21__gtk_button_clicked, self, 0);
#line 121 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp50_ = (GtkButtonBox*) gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
#line 121 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1077,46 +1077,46 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_new (S
}
-static Block11Data* block11_data_ref (Block11Data* _data11_) {
+static Block12Data* block12_data_ref (Block12Data* _data12_) {
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_atomic_int_inc (&_data11_->_ref_count_);
+ g_atomic_int_inc (&_data12_->_ref_count_);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- return _data11_;
+ return _data12_;
#line 1081 "DataImportsUI.c"
}
-static void block11_data_unref (void * _userdata_) {
- Block11Data* _data11_;
- _data11_ = (Block11Data*) _userdata_;
+static void block12_data_unref (void * _userdata_) {
+ Block12Data* _data12_;
+ _data12_ = (Block12Data*) _userdata_;
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (g_atomic_int_dec_and_test (&_data11_->_ref_count_)) {
+ if (g_atomic_int_dec_and_test (&_data12_->_ref_count_)) {
#line 1090 "DataImportsUI.c"
DataImportsUILibrarySelectionPane* self;
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self = _data11_->self;
+ self = _data12_->self;
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_data11_->button);
+ _g_object_unref0 (_data12_->button);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_data11_->library);
+ _g_object_unref0 (_data12_->library);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_slice_free (Block11Data, _data11_);
+ g_slice_free (Block12Data, _data12_);
#line 1102 "DataImportsUI.c"
}
}
-static void __lambda18_ (Block11Data* _data11_) {
+static void __lambda19_ (Block12Data* _data12_) {
DataImportsUILibrarySelectionPane* self;
GtkRadioButton* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
#line 140 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self = _data11_->self;
+ self = _data12_->self;
#line 141 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp0_ = _data11_->button;
+ _tmp0_ = _data12_->button;
#line 141 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 141 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1127,7 +1127,7 @@ static void __lambda18_ (Block11Data* _data11_) {
SpitDataImportsImportableLibrary* _tmp3_ = NULL;
SpitDataImportsImportableLibrary* _tmp4_ = NULL;
#line 142 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = _data11_->library;
+ _tmp3_ = _data12_->library;
#line 142 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp4_ = _g_object_ref0 (_tmp3_);
#line 142 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1141,16 +1141,16 @@ static void __lambda18_ (Block11Data* _data11_) {
}
-static void ___lambda18__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
+static void ___lambda19__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 140 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- __lambda18_ (self);
+ __lambda19_ (self);
#line 1143 "DataImportsUI.c"
}
static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_button (DataImportsUILibrarySelectionPane* self, GtkBox* box, GtkRadioButton* group, SpitDataImportsImportableLibrary* library, const gchar* label, gint margin_left, gint margin_right) {
GtkRadioButton* result = NULL;
- Block11Data* _data11_;
+ Block12Data* _data12_;
SpitDataImportsImportableLibrary* _tmp0_ = NULL;
SpitDataImportsImportableLibrary* _tmp1_ = NULL;
GtkRadioButton* _tmp2_ = NULL;
@@ -1177,19 +1177,19 @@ static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_butto
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_val_if_fail (label != NULL, NULL);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data11_ = g_slice_new0 (Block11Data);
+ _data12_ = g_slice_new0 (Block12Data);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data11_->_ref_count_ = 1;
+ _data12_->_ref_count_ = 1;
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data11_->self = g_object_ref (self);
+ _data12_->self = g_object_ref (self);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = library;
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_data11_->library);
+ _g_object_unref0 (_data12_->library);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data11_->library = _tmp1_;
+ _data12_->library = _tmp1_;
#line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp2_ = group;
#line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1199,7 +1199,7 @@ static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_butto
#line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_object_ref_sink (_tmp4_);
#line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data11_->button = _tmp4_;
+ _data12_->button = _tmp4_;
#line 136 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp5_ = group;
#line 136 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1209,11 +1209,11 @@ static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_butto
SpitDataImportsImportableLibrary* _tmp7_ = NULL;
SpitDataImportsImportableLibrary* _tmp8_ = NULL;
#line 137 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp6_ = _data11_->button;
+ _tmp6_ = _data12_->button;
#line 137 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 138 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp7_ = _data11_->library;
+ _tmp7_ = _data12_->library;
#line 138 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp8_ = _g_object_ref0 (_tmp7_);
#line 138 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1223,17 +1223,17 @@ static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_butto
#line 1219 "DataImportsUI.c"
}
#line 140 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp9_ = _data11_->button;
+ _tmp9_ = _data12_->button;
#line 140 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) ___lambda18__gtk_toggle_button_toggled, block11_data_ref (_data11_), (GClosureNotify) block11_data_unref, 0);
+ g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) ___lambda19__gtk_toggle_button_toggled, block12_data_ref (_data12_), (GClosureNotify) block12_data_unref, 0);
#line 147 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp10_ = _data11_->button;
+ _tmp10_ = _data12_->button;
#line 147 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp11_ = margin_left;
#line 147 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), _tmp11_);
#line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp12_ = _data11_->button;
+ _tmp12_ = _data12_->button;
#line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp13_ = margin_right;
#line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1241,19 +1241,19 @@ static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_butto
#line 149 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp14_ = box;
#line 149 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp15_ = _data11_->button;
+ _tmp15_ = _data12_->button;
#line 149 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_box_pack_start (_tmp14_, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6);
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp16_ = _data11_->button;
+ _tmp16_ = _data12_->button;
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp17_ = _g_object_ref0 (_tmp16_);
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
result = _tmp17_;
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- block11_data_unref (_data11_);
+ block12_data_unref (_data12_);
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data11_ = NULL;
+ _data12_ = NULL;
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
#line 1255 "DataImportsUI.c"
@@ -1582,7 +1582,7 @@ static void _data_imports_ui_data_imports_dialog_on_service_changed_gtk_combo_bo
static void _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 304 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 306 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_on_close_cancel_clicked ((DataImportsUIDataImportsDialog*) self);
#line 1583 "DataImportsUI.c"
}
@@ -1613,9 +1613,9 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (G
GtkBox* _tmp68_ = NULL;
GtkBox* _tmp69_ = NULL;
gboolean _tmp70_ = FALSE;
- GtkButton* _tmp80_ = NULL;
- SpitDataImportsService** _tmp81_ = NULL;
- gint _tmp81__length1 = 0;
+ GtkButton* _tmp81_ = NULL;
+ SpitDataImportsService** _tmp82_ = NULL;
+ gint _tmp82__length1 = 0;
#line 211 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
use_header = FALSE;
#line 212 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -2023,8 +2023,7 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (G
GtkButton* _tmp72_ = NULL;
GtkWidget* _tmp73_ = NULL;
GtkButton* _tmp74_ = NULL;
- GtkWidget* _tmp75_ = NULL;
- GtkComboBoxText* _tmp76_ = NULL;
+ GtkComboBoxText* _tmp75_ = NULL;
#line 295 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp71_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Cancel");
#line 295 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -2044,61 +2043,69 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (G
#line 297 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_header_bar_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_widget_get_type (), GtkWidget));
#line 298 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp75_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
-#line 298 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp76_ = self->priv->service_selector_box;
+ _tmp75_ = self->priv->service_selector_box;
#line 298 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_header_bar_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, gtk_widget_get_type (), GtkWidget));
-#line 2048 "DataImportsUI.c"
+ if (_tmp75_ != NULL) {
+#line 2045 "DataImportsUI.c"
+ GtkWidget* _tmp76_ = NULL;
+ GtkComboBoxText* _tmp77_ = NULL;
+#line 299 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _tmp76_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+#line 299 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _tmp77_ = self->priv->service_selector_box;
+#line 299 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ gtk_header_bar_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, gtk_widget_get_type (), GtkWidget));
+#line 2054 "DataImportsUI.c"
+ }
} else {
- const gchar* _tmp77_ = NULL;
- GtkWidget* _tmp78_ = NULL;
- GtkButton* _tmp79_ = NULL;
-#line 301 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp77_ = _ ("_Cancel");
-#line 301 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), _tmp77_, (gint) GTK_RESPONSE_CANCEL);
-#line 302 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp78_ = gtk_dialog_get_widget_for_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_CANCEL);
-#line 302 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp79_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp78_, gtk_button_get_type ()) ? ((GtkButton*) _tmp78_) : NULL);
-#line 302 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (self->priv->close_cancel_button);
-#line 302 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->close_cancel_button = _tmp79_;
-#line 2065 "DataImportsUI.c"
- }
+ const gchar* _tmp78_ = NULL;
+ GtkWidget* _tmp79_ = NULL;
+ GtkButton* _tmp80_ = NULL;
+#line 303 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _tmp78_ = _ ("_Cancel");
+#line 303 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), _tmp78_, (gint) GTK_RESPONSE_CANCEL);
+#line 304 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _tmp79_ = gtk_dialog_get_widget_for_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_CANCEL);
#line 304 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp80_ = self->priv->close_cancel_button;
+ _tmp80_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp79_, gtk_button_get_type ()) ? ((GtkButton*) _tmp79_) : NULL);
#line 304 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_signal_connect_object (_tmp80_, "clicked", (GCallback) _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked, self, 0);
+ _g_object_unref0 (self->priv->close_cancel_button);
+#line 304 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ self->priv->close_cancel_button = _tmp80_;
+#line 2072 "DataImportsUI.c"
+ }
#line 306 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- data_imports_ui_data_imports_dialog_set_standard_window_mode (self);
-#line 308 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp81_ = loaded_services;
-#line 308 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp81__length1 = loaded_services_length1;
+ _tmp81_ = self->priv->close_cancel_button;
+#line 306 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ g_signal_connect_object (_tmp81_, "clicked", (GCallback) _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked, self, 0);
#line 308 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp81__length1 > 0) {
+ data_imports_ui_data_imports_dialog_set_standard_window_mode (self);
+#line 310 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _tmp82_ = loaded_services;
#line 310 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _tmp82__length1 = loaded_services_length1;
+#line 310 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ if (_tmp82__length1 > 0) {
+#line 312 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_on_service_changed (self);
-#line 2081 "DataImportsUI.c"
+#line 2088 "DataImportsUI.c"
} else {
- DataImportsUIStaticMessagePane* _tmp82_ = NULL;
DataImportsUIStaticMessagePane* _tmp83_ = NULL;
-#line 313 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp82_ = data_imports_ui_static_message_pane_new_with_pango (DATA_IMPORTS_UI_NO_PLUGINS_ENABLED_MESSAGE);
-#line 313 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp83_ = _tmp82_;
-#line 313 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- data_imports_ui_data_imports_dialog_install_pane (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
-#line 313 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp83_);
-#line 314 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ DataImportsUIStaticMessagePane* _tmp84_ = NULL;
+#line 315 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _tmp83_ = data_imports_ui_static_message_pane_new_with_pango (DATA_IMPORTS_UI_NO_PLUGINS_ENABLED_MESSAGE);
+#line 315 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _tmp84_ = _tmp83_;
+#line 315 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ data_imports_ui_data_imports_dialog_install_pane (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp84_, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
+#line 315 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _g_object_unref0 (_tmp84_);
+#line 316 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_close_button_mode (self);
-#line 2095 "DataImportsUI.c"
+#line 2102 "DataImportsUI.c"
}
-#line 317 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 319 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 210 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
loaded_services = (_vala_array_free (loaded_services, loaded_services_length1, (GDestroyNotify) g_object_unref), NULL);
@@ -2108,14 +2115,14 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (G
_g_free0 (title);
#line 210 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return self;
-#line 2107 "DataImportsUI.c"
+#line 2114 "DataImportsUI.c"
}
DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_new (void) {
#line 210 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return data_imports_ui_data_imports_dialog_construct (DATA_IMPORTS_UI_TYPE_DATA_IMPORTS_DIALOG);
-#line 2114 "DataImportsUI.c"
+#line 2121 "DataImportsUI.c"
}
@@ -2124,72 +2131,72 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_get_or_creat
DataImportsUIDataImportsDialog* _tmp0_ = NULL;
DataImportsUIDataImportsDialog* _tmp2_ = NULL;
DataImportsUIDataImportsDialog* _tmp3_ = NULL;
-#line 321 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 323 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = data_imports_ui_data_imports_dialog_instance;
-#line 321 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 323 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp0_ == NULL) {
-#line 2127 "DataImportsUI.c"
+#line 2134 "DataImportsUI.c"
DataImportsUIDataImportsDialog* _tmp1_ = NULL;
-#line 322 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = data_imports_ui_data_imports_dialog_new ();
-#line 322 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_object_ref_sink (_tmp1_);
-#line 322 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (data_imports_ui_data_imports_dialog_instance);
-#line 322 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_instance = _tmp1_;
-#line 2137 "DataImportsUI.c"
+#line 2144 "DataImportsUI.c"
}
-#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 326 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp2_ = data_imports_ui_data_imports_dialog_instance;
-#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 326 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 326 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
result = _tmp3_;
-#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 326 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
-#line 2147 "DataImportsUI.c"
+#line 2154 "DataImportsUI.c"
}
void data_imports_ui_data_imports_dialog_terminate_instance (void) {
DataImportsUIDataImportsDialog* _tmp0_ = NULL;
-#line 328 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 330 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = data_imports_ui_data_imports_dialog_instance;
-#line 328 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 330 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp0_ != NULL) {
-#line 2157 "DataImportsUI.c"
+#line 2164 "DataImportsUI.c"
DataImportsUIDataImportsDialog* _tmp1_ = NULL;
-#line 329 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 331 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = data_imports_ui_data_imports_dialog_instance;
-#line 329 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 331 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_terminate (_tmp1_);
-#line 2163 "DataImportsUI.c"
+#line 2170 "DataImportsUI.c"
}
-#line 331 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 333 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (data_imports_ui_data_imports_dialog_instance);
-#line 331 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 333 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_instance = NULL;
-#line 2169 "DataImportsUI.c"
+#line 2176 "DataImportsUI.c"
}
static gboolean data_imports_ui_data_imports_dialog_on_window_close (DataImportsUIDataImportsDialog* self, GdkEventAny* evt) {
gboolean result = FALSE;
-#line 334 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 336 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_val_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self), FALSE);
-#line 334 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 336 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_val_if_fail (evt != NULL, FALSE);
-#line 335 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_debug ("DataImportsUI.vala:335: DataImportsDialog: on_window_close( ): invoked" \
+#line 337 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ g_debug ("DataImportsUI.vala:337: DataImportsDialog: on_window_close( ): invoked" \
".");
-#line 336 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- data_imports_ui_data_imports_dialog_terminate (self);
#line 338 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ data_imports_ui_data_imports_dialog_terminate (self);
+#line 340 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
result = TRUE;
-#line 338 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 340 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
-#line 2187 "DataImportsUI.c"
+#line 2194 "DataImportsUI.c"
}
@@ -2213,232 +2220,232 @@ static void data_imports_ui_data_imports_dialog_on_service_changed (DataImportsU
SpitDataImportsService* _tmp16_ = NULL;
SpitDataImportsConcreteDataImportsHost* _tmp17_ = NULL;
SpitDataImportsConcreteDataImportsHost* _tmp18_ = NULL;
-#line 341 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 342 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_debug ("DataImportsUI.vala:342: DataImportsDialog: on_service_changed invoked.");
#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
+#line 344 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ g_debug ("DataImportsUI.vala:344: DataImportsDialog: on_service_changed invoked.");
+#line 345 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->service_selector_box;
-#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 345 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = gtk_combo_box_text_get_active_text (_tmp0_);
-#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- service_name = _tmp1_;
#line 345 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ service_name = _tmp1_;
+#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
selected_service = NULL;
-#line 346 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp3_ = spit_data_imports_load_all_services (&_tmp2_);
-#line 346 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
services = _tmp3_;
-#line 346 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
services_length1 = _tmp2_;
-#line 346 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_services_size_ = services_length1;
-#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp4_ = services;
-#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp4__length1 = services_length1;
-#line 2235 "DataImportsUI.c"
+#line 2242 "DataImportsUI.c"
{
SpitDataImportsService** service_collection = NULL;
gint service_collection_length1 = 0;
gint _service_collection_size_ = 0;
gint service_it = 0;
-#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
service_collection = _tmp4_;
-#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
service_collection_length1 = _tmp4__length1;
-#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
for (service_it = 0; service_it < _tmp4__length1; service_it = service_it + 1) {
-#line 2247 "DataImportsUI.c"
+#line 2254 "DataImportsUI.c"
SpitDataImportsService* _tmp5_ = NULL;
SpitDataImportsService* service = NULL;
-#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp5_ = _g_object_ref0 (service_collection[service_it]);
-#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
service = _tmp5_;
-#line 2254 "DataImportsUI.c"
+#line 2261 "DataImportsUI.c"
{
SpitDataImportsService* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
-#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp6_ = service;
-#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp7_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
-#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp8_ = service_name;
-#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (g_strcmp0 (_tmp7_, _tmp8_) == 0) {
-#line 2267 "DataImportsUI.c"
+#line 2274 "DataImportsUI.c"
SpitDataImportsService* _tmp9_ = NULL;
SpitDataImportsService* _tmp10_ = NULL;
-#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 351 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp9_ = service;
-#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 351 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp10_ = _g_object_ref0 (_tmp9_);
-#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 351 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (selected_service);
-#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 351 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
selected_service = _tmp10_;
-#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 352 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (service);
-#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 352 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
break;
-#line 2282 "DataImportsUI.c"
+#line 2289 "DataImportsUI.c"
}
-#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (service);
-#line 2286 "DataImportsUI.c"
+#line 2293 "DataImportsUI.c"
}
}
}
-#line 353 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp11_ = selected_service;
-#line 353 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _vala_assert (_tmp11_ != NULL, "selected_service != null");
#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _vala_assert (_tmp11_ != NULL, "selected_service != null");
+#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp12_ = config_facade_get_instance ();
-#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp13_ = _tmp12_;
-#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp14_ = selected_service;
-#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp15_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
-#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
configuration_facade_set_last_used_dataimports_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp15_);
-#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp13_);
#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ _g_object_unref0 (_tmp13_);
+#line 359 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp16_ = selected_service;
-#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 359 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp17_ = spit_data_imports_concrete_data_imports_host_new (_tmp16_, self);
-#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 359 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->host);
-#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 359 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self->priv->host = _tmp17_;
-#line 358 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp18_ = self->priv->host;
-#line 358 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
spit_data_imports_plugin_host_start_importing (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, SPIT_DATA_IMPORTS_TYPE_PLUGIN_HOST, SpitDataImportsPluginHost));
-#line 341 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
services = (_vala_array_free (services, services_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 341 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (selected_service);
-#line 341 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_free0 (service_name);
-#line 2324 "DataImportsUI.c"
+#line 2331 "DataImportsUI.c"
}
static void data_imports_ui_data_imports_dialog_on_close_cancel_clicked (DataImportsUIDataImportsDialog* self) {
-#line 361 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 362 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_debug ("DataImportsUI.vala:362: DataImportsDialog: on_close_cancel_clicked( ):" \
-" invoked.");
#line 364 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ g_debug ("DataImportsUI.vala:364: DataImportsDialog: on_close_cancel_clicked( ):" \
+" invoked.");
+#line 366 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_terminate (self);
-#line 2335 "DataImportsUI.c"
+#line 2342 "DataImportsUI.c"
}
static void data_imports_ui_data_imports_dialog_terminate (DataImportsUIDataImportsDialog* self) {
SpitDataImportsConcreteDataImportsHost* _tmp0_ = NULL;
-#line 367 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 369 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 368 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_debug ("DataImportsUI.vala:368: DataImportsDialog: terminate( ): invoked.");
#line 370 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ g_debug ("DataImportsUI.vala:370: DataImportsDialog: terminate( ): invoked.");
+#line 372 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->host;
-#line 370 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 372 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp0_ != NULL) {
-#line 2349 "DataImportsUI.c"
+#line 2356 "DataImportsUI.c"
SpitDataImportsConcreteDataImportsHost* _tmp1_ = NULL;
-#line 371 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 373 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = self->priv->host;
-#line 371 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 373 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
spit_data_imports_plugin_host_stop_importing (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SPIT_DATA_IMPORTS_TYPE_PLUGIN_HOST, SpitDataImportsPluginHost));
-#line 372 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 374 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->host);
-#line 372 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 374 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self->priv->host = NULL;
-#line 2359 "DataImportsUI.c"
+#line 2366 "DataImportsUI.c"
}
-#line 375 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 377 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 376 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 378 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 377 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 379 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (data_imports_ui_data_imports_dialog_instance);
-#line 377 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 379 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_instance = NULL;
-#line 2369 "DataImportsUI.c"
+#line 2376 "DataImportsUI.c"
}
static void data_imports_ui_data_imports_dialog_set_large_window_mode (DataImportsUIDataImportsDialog* self) {
GtkBox* _tmp0_ = NULL;
-#line 380 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 382 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 381 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 383 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_HEIGHT);
-#line 382 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 384 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->central_area_layouter;
-#line 382 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_WIDTH - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_HEIGHT - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_HEIGHT);
#line 384 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_WIDTH - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_HEIGHT - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_HEIGHT);
+#line 386 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 2385 "DataImportsUI.c"
+#line 2392 "DataImportsUI.c"
}
static void data_imports_ui_data_imports_dialog_set_colossal_window_mode (DataImportsUIDataImportsDialog* self) {
GtkBox* _tmp0_ = NULL;
-#line 387 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 389 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 388 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 390 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_HEIGHT);
-#line 389 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 391 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->central_area_layouter;
-#line 389 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_WIDTH - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_HEIGHT - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_HEIGHT);
#line 391 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_WIDTH - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_HEIGHT - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_HEIGHT);
+#line 393 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 2401 "DataImportsUI.c"
+#line 2408 "DataImportsUI.c"
}
static void data_imports_ui_data_imports_dialog_set_standard_window_mode (DataImportsUIDataImportsDialog* self) {
GtkBox* _tmp0_ = NULL;
-#line 394 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 396 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 395 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 397 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_STANDARD_WINDOW_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_STANDARD_WINDOW_HEIGHT);
-#line 396 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 398 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->central_area_layouter;
-#line 396 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_STANDARD_WINDOW_WIDTH - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_STANDARD_WINDOW_HEIGHT - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_HEIGHT);
#line 398 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_STANDARD_WINDOW_WIDTH - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_STANDARD_WINDOW_HEIGHT - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_HEIGHT);
+#line 400 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 2417 "DataImportsUI.c"
+#line 2424 "DataImportsUI.c"
}
static void data_imports_ui_data_imports_dialog_set_free_sizable_window_mode (DataImportsUIDataImportsDialog* self) {
-#line 401 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 403 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 402 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 404 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
-#line 2426 "DataImportsUI.c"
+#line 2433 "DataImportsUI.c"
}
static void data_imports_ui_data_imports_dialog_clear_free_sizable_window_mode (DataImportsUIDataImportsDialog* self) {
-#line 405 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 407 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 406 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 408 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 2435 "DataImportsUI.c"
+#line 2442 "DataImportsUI.c"
}
@@ -2446,17 +2453,17 @@ SpitDataImportsDialogPane* data_imports_ui_data_imports_dialog_get_active_pane (
SpitDataImportsDialogPane* result = NULL;
SpitDataImportsDialogPane* _tmp0_ = NULL;
SpitDataImportsDialogPane* _tmp1_ = NULL;
-#line 409 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 411 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_val_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self), NULL);
-#line 410 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 412 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->active_pane;
-#line 410 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 412 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 410 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 412 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
result = _tmp1_;
-#line 410 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 412 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
-#line 2453 "DataImportsUI.c"
+#line 2460 "DataImportsUI.c"
}
@@ -2464,58 +2471,58 @@ void data_imports_ui_data_imports_dialog_set_close_button_mode (DataImportsUIDat
GtkButton* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
GtkButton* _tmp2_ = NULL;
-#line 413 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 415 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 414 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 416 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->close_cancel_button;
-#line 414 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 416 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = _ ("_Close");
-#line 414 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 416 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_button_set_label (_tmp0_, _tmp1_);
-#line 415 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 417 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp2_ = self->priv->close_cancel_button;
-#line 415 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 417 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 2473 "DataImportsUI.c"
+#line 2480 "DataImportsUI.c"
}
void data_imports_ui_data_imports_dialog_set_cancel_button_mode (DataImportsUIDataImportsDialog* self) {
GtkButton* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 418 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 420 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 419 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 421 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->close_cancel_button;
-#line 419 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 421 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = _ ("_Cancel");
-#line 419 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 421 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_button_set_label (_tmp0_, _tmp1_);
-#line 2488 "DataImportsUI.c"
+#line 2495 "DataImportsUI.c"
}
void data_imports_ui_data_imports_dialog_lock_service (DataImportsUIDataImportsDialog* self) {
GtkComboBoxText* _tmp0_ = NULL;
-#line 422 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 424 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 423 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 425 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->service_selector_box;
-#line 423 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 425 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 2500 "DataImportsUI.c"
+#line 2507 "DataImportsUI.c"
}
void data_imports_ui_data_imports_dialog_unlock_service (DataImportsUIDataImportsDialog* self) {
GtkComboBoxText* _tmp0_ = NULL;
-#line 426 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 428 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 427 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 429 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->service_selector_box;
-#line 427 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 429 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 2512 "DataImportsUI.c"
+#line 2519 "DataImportsUI.c"
}
@@ -2533,110 +2540,110 @@ void data_imports_ui_data_imports_dialog_install_pane (DataImportsUIDataImportsD
SpitDataImportsDialogPane* _tmp15_ = NULL;
SpitDataImportsDialogPane* _tmp16_ = NULL;
SpitDataImportsDialogPane* _tmp17_ = NULL;
-#line 430 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 432 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
-#line 430 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 432 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (pane));
-#line 431 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_debug ("DataImportsUI.vala:431: DataImportsDialog: install_pane( ): invoked.");
#line 433 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ g_debug ("DataImportsUI.vala:433: DataImportsDialog: install_pane( ): invoked.");
+#line 435 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->active_pane;
-#line 433 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 435 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp0_ != NULL) {
-#line 2540 "DataImportsUI.c"
+#line 2547 "DataImportsUI.c"
SpitDataImportsDialogPane* _tmp1_ = NULL;
GtkBox* _tmp2_ = NULL;
SpitDataImportsDialogPane* _tmp3_ = NULL;
GtkWidget* _tmp4_ = NULL;
GtkWidget* _tmp5_ = NULL;
-#line 434 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_debug ("DataImportsUI.vala:434: DataImportsDialog: install_pane( ): a pane is " \
-"already installed; removing it.");
#line 436 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ g_debug ("DataImportsUI.vala:436: DataImportsDialog: install_pane( ): a pane is " \
+"already installed; removing it.");
+#line 438 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = self->priv->active_pane;
-#line 436 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 438 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
spit_data_imports_dialog_pane_on_pane_uninstalled (_tmp1_);
-#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp2_ = self->priv->central_area_layouter;
-#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp3_ = self->priv->active_pane;
-#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp4_ = spit_data_imports_dialog_pane_get_widget (_tmp3_);
-#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp5_ = _tmp4_;
-#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_container_get_type (), GtkContainer), _tmp5_);
-#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (_tmp5_);
-#line 2564 "DataImportsUI.c"
+#line 2571 "DataImportsUI.c"
}
-#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp6_ = self->priv->central_area_layouter;
-#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp7_ = pane;
-#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp8_ = spit_data_imports_dialog_pane_get_widget (_tmp7_);
-#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp9_ = _tmp8_;
-#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_box_pack_start (_tmp6_, _tmp9_, TRUE, TRUE, (guint) 0);
-#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (_tmp9_);
-#line 441 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 443 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
+#line 445 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp10_ = pane;
-#line 443 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 445 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp11_ = spit_data_imports_dialog_pane_get_preferred_geometry (_tmp10_);
-#line 443 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- geometry_options = _tmp11_;
#line 445 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+ geometry_options = _tmp11_;
+#line 447 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp12_ = geometry_options;
-#line 445 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 447 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if ((_tmp12_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE) != 0) {
-#line 446 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 448 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_large_window_mode (self);
-#line 2592 "DataImportsUI.c"
+#line 2599 "DataImportsUI.c"
} else {
SpitDataImportsDialogPaneGeometryOptions _tmp13_ = 0;
-#line 447 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 449 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp13_ = geometry_options;
-#line 447 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 449 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if ((_tmp13_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE) != 0) {
-#line 448 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 450 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_colossal_window_mode (self);
-#line 2601 "DataImportsUI.c"
+#line 2608 "DataImportsUI.c"
} else {
-#line 450 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 452 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_standard_window_mode (self);
-#line 2605 "DataImportsUI.c"
+#line 2612 "DataImportsUI.c"
}
}
-#line 452 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 454 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp14_ = geometry_options;
-#line 452 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 454 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if ((_tmp14_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE) != 0) {
-#line 453 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 455 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_free_sizable_window_mode (self);
-#line 2614 "DataImportsUI.c"
+#line 2621 "DataImportsUI.c"
} else {
-#line 455 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_clear_free_sizable_window_mode (self);
-#line 2618 "DataImportsUI.c"
+#line 2625 "DataImportsUI.c"
}
-#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 459 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp15_ = pane;
-#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 459 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp16_ = _g_object_ref0 (_tmp15_);
-#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 459 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->active_pane);
-#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 459 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self->priv->active_pane = _tmp16_;
-#line 458 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 460 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp17_ = pane;
-#line 458 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
+#line 460 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
spit_data_imports_dialog_pane_on_pane_installed (_tmp17_);
-#line 2632 "DataImportsUI.c"
+#line 2639 "DataImportsUI.c"
}
@@ -2647,14 +2654,14 @@ static void data_imports_ui_data_imports_dialog_class_init (DataImportsUIDataImp
g_type_class_add_private (klass, sizeof (DataImportsUIDataImportsDialogPrivate));
#line 191 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
G_OBJECT_CLASS (klass)->finalize = data_imports_ui_data_imports_dialog_finalize;
-#line 2643 "DataImportsUI.c"
+#line 2650 "DataImportsUI.c"
}
static void data_imports_ui_data_imports_dialog_instance_init (DataImportsUIDataImportsDialog * self) {
#line 191 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self->priv = DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_GET_PRIVATE (self);
-#line 2650 "DataImportsUI.c"
+#line 2657 "DataImportsUI.c"
}
@@ -2674,7 +2681,7 @@ static void data_imports_ui_data_imports_dialog_finalize (GObject* obj) {
_g_object_unref0 (self->priv->host);
#line 191 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
G_OBJECT_CLASS (data_imports_ui_data_imports_dialog_parent_class)->finalize (obj);
-#line 2670 "DataImportsUI.c"
+#line 2677 "DataImportsUI.c"
}
diff --git a/src/data_imports/DataImportsUI.vala b/src/data_imports/DataImportsUI.vala
index 5b94dcb..2c0cd40 100644
--- a/src/data_imports/DataImportsUI.vala
+++ b/src/data_imports/DataImportsUI.vala
@@ -295,7 +295,9 @@ public class DataImportsDialog : Gtk.Dialog {
close_cancel_button = new Gtk.Button.with_mnemonic("_Cancel");
close_cancel_button.set_can_default(true);
((Gtk.HeaderBar) get_header_bar()).pack_start(close_cancel_button);
- ((Gtk.HeaderBar) get_header_bar()).pack_end(service_selector_box);
+ if (service_selector_box != null) {
+ ((Gtk.HeaderBar) get_header_bar()).pack_end(service_selector_box);
+ }
}
else {
add_button (_("_Cancel"), Gtk.ResponseType.CANCEL);
diff --git a/src/direct/DirectPhotoPage.c b/src/direct/DirectPhotoPage.c
index 6f15462..08a3c07 100644
--- a/src/direct/DirectPhotoPage.c
+++ b/src/direct/DirectPhotoPage.c
@@ -359,7 +359,7 @@ typedef struct _AppWindowClass AppWindowClass;
typedef struct _PrintManager PrintManager;
typedef struct _PrintManagerClass PrintManagerClass;
#define _print_manager_unref0(var) ((var == NULL) ? NULL : (var = (print_manager_unref (var), NULL)))
-typedef struct _Block6Data Block6Data;
+typedef struct _Block7Data Block7Data;
#define TYPE_DIRECT_FULLSCREEN_PHOTO_PAGE (direct_fullscreen_photo_page_get_type ())
#define DIRECT_FULLSCREEN_PHOTO_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_DIRECT_FULLSCREEN_PHOTO_PAGE, DirectFullscreenPhotoPage))
@@ -577,7 +577,7 @@ struct _ExportFormatParameters {
gboolean export_metadata;
};
-struct _Block6Data {
+struct _Block7Data {
int _ref_count_;
DirectPhotoPage* self;
gboolean should_allow_rotation;
@@ -844,11 +844,11 @@ GType print_manager_get_type (void) G_GNUC_CONST;
PrintManager* print_manager_get_instance (void);
void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print);
GeeList* view_collection_get_selected_sources_of_type (ViewCollection* self, GType t);
-static Block6Data* block6_data_ref (Block6Data* _data6_);
-static void block6_data_unref (void * _userdata_);
-static gboolean __lambda15_ (Block6Data* _data6_);
+static Block7Data* block7_data_ref (Block7Data* _data7_);
+static void block7_data_unref (void * _userdata_);
+static gboolean __lambda16_ (Block7Data* _data7_);
void editing_host_page_enable_rotate (EditingHostPage* self, gboolean should_enable);
-static gboolean ___lambda15__gsource_func (gpointer self);
+static gboolean ___lambda16__gsource_func (gpointer self);
static DataView* direct_photo_page_real_create_photo_view (EditingHostPage* base, DataSource* source);
static void direct_photo_page_finalize (GObject* obj);
GType direct_fullscreen_photo_page_get_type (void) G_GNUC_CONST;
@@ -3679,41 +3679,41 @@ static void direct_photo_page_on_print (DirectPhotoPage* self) {
}
-static Block6Data* block6_data_ref (Block6Data* _data6_) {
+static Block7Data* block7_data_ref (Block7Data* _data7_) {
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- g_atomic_int_inc (&_data6_->_ref_count_);
+ g_atomic_int_inc (&_data7_->_ref_count_);
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- return _data6_;
+ return _data7_;
#line 3688 "DirectPhotoPage.c"
}
-static void block6_data_unref (void * _userdata_) {
- Block6Data* _data6_;
- _data6_ = (Block6Data*) _userdata_;
+static void block7_data_unref (void * _userdata_) {
+ Block7Data* _data7_;
+ _data7_ = (Block7Data*) _userdata_;
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
+ if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) {
#line 3697 "DirectPhotoPage.c"
DirectPhotoPage* self;
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- self = _data6_->self;
+ self = _data7_->self;
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
_g_object_unref0 (self);
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- g_slice_free (Block6Data, _data6_);
+ g_slice_free (Block7Data, _data7_);
#line 3705 "DirectPhotoPage.c"
}
}
-static gboolean __lambda15_ (Block6Data* _data6_) {
+static gboolean __lambda16_ (Block7Data* _data7_) {
DirectPhotoPage* self;
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
#line 466 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- self = _data6_->self;
+ self = _data7_->self;
#line 467 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- _tmp0_ = _data6_->should_allow_rotation;
+ _tmp0_ = _data7_->should_allow_rotation;
#line 467 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
editing_host_page_enable_rotate (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage), _tmp0_);
#line 469 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
@@ -3724,9 +3724,9 @@ static gboolean __lambda15_ (Block6Data* _data6_) {
}
-static gboolean ___lambda15__gsource_func (gpointer self) {
+static gboolean ___lambda16__gsource_func (gpointer self) {
gboolean result;
- result = __lambda15_ (self);
+ result = __lambda16_ (self);
#line 466 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
return result;
#line 3733 "DirectPhotoPage.c"
@@ -3734,26 +3734,26 @@ static gboolean ___lambda15__gsource_func (gpointer self) {
static void direct_photo_page_on_dphoto_can_rotate_changed (DirectPhotoPage* self, gboolean should_allow_rotation) {
- Block6Data* _data6_;
+ Block7Data* _data7_;
gboolean _tmp0_ = FALSE;
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
g_return_if_fail (IS_DIRECT_PHOTO_PAGE (self));
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- _data6_ = g_slice_new0 (Block6Data);
+ _data7_ = g_slice_new0 (Block7Data);
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- _data6_->_ref_count_ = 1;
+ _data7_->_ref_count_ = 1;
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- _data6_->self = g_object_ref (self);
+ _data7_->self = g_object_ref (self);
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
_tmp0_ = should_allow_rotation;
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- _data6_->should_allow_rotation = _tmp0_;
+ _data7_->should_allow_rotation = _tmp0_;
#line 466 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda15__gsource_func, block6_data_ref (_data6_), block6_data_unref);
+ g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda16__gsource_func, block7_data_ref (_data7_), block7_data_unref);
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- block6_data_unref (_data6_);
+ block7_data_unref (_data7_);
#line 462 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- _data6_ = NULL;
+ _data7_ = NULL;
#line 3758 "DirectPhotoPage.c"
}
diff --git a/src/events/Branch.c b/src/events/Branch.c
index 2320a00..c73d166 100644
--- a/src/events/Branch.c
+++ b/src/events/Branch.c
@@ -303,8 +303,8 @@ typedef struct _EventID EventID;
typedef struct _SidebarRenameableEntry SidebarRenameableEntry;
typedef struct _SidebarRenameableEntryIface SidebarRenameableEntryIface;
#define _alteration_unref0(var) ((var == NULL) ? NULL : (var = (alteration_unref (var), NULL)))
-typedef struct _Block7Data Block7Data;
typedef struct _Block8Data Block8Data;
+typedef struct _Block9Data Block9Data;
#define SIDEBAR_TYPE_SELECTABLE_ENTRY (sidebar_selectable_entry_get_type ())
#define SIDEBAR_SELECTABLE_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SIDEBAR_TYPE_SELECTABLE_ENTRY, SidebarSelectableEntry))
@@ -594,14 +594,14 @@ struct _SidebarRenameableEntryIface {
gboolean (*is_user_renameable) (SidebarRenameableEntry* self);
};
-struct _Block7Data {
+struct _Block8Data {
int _ref_count_;
EventsBranch* self;
gint event_month;
};
typedef gboolean (*Locator) (gconstpointer item, void* user_data);
-struct _Block8Data {
+struct _Block9Data {
int _ref_count_;
EventsBranch* self;
gint event_year;
@@ -871,16 +871,16 @@ static void events_branch_reparent_event (EventsBranch* self, Event* event, Side
SidebarEntry* sidebar_branch_get_parent (SidebarBranch* self, SidebarEntry* entry);
void sidebar_branch_prune (SidebarBranch* self, SidebarEntry* entry);
gint sidebar_branch_get_child_count (SidebarBranch* self, SidebarEntry* parent);
-static Block7Data* block7_data_ref (Block7Data* _data7_);
-static void block7_data_unref (void * _userdata_);
+static Block8Data* block8_data_ref (Block8Data* _data8_);
+static void block8_data_unref (void * _userdata_);
static SidebarEntry* events_branch_find_event_year (EventsBranch* self, Event* event, struct tm* event_tm);
SidebarEntry* sidebar_branch_find_first_child (SidebarBranch* self, SidebarEntry* parent, Locator locator, void* locator_target);
-static gboolean __lambda17_ (Block7Data* _data7_, SidebarEntry* entry);
+static gboolean __lambda18_ (Block8Data* _data8_, SidebarEntry* entry);
+static gboolean ___lambda18__locator (gconstpointer item, gpointer self);
+static Block9Data* block9_data_ref (Block9Data* _data9_);
+static void block9_data_unref (void * _userdata_);
+static gboolean __lambda17_ (Block9Data* _data9_, SidebarEntry* entry);
static gboolean ___lambda17__locator (gconstpointer item, gpointer self);
-static Block8Data* block8_data_ref (Block8Data* _data8_);
-static void block8_data_unref (void * _userdata_);
-static gboolean __lambda16_ (Block8Data* _data8_, SidebarEntry* entry);
-static gboolean ___lambda16__locator (gconstpointer item, gpointer self);
gboolean sidebar_branch_has_entry (SidebarBranch* self, SidebarEntry* entry);
static gint _events_branch_undated_event_comparator_gcompare_func (gconstpointer a, gconstpointer b);
EventsEventEntry* events_event_entry_new (Event* event);
@@ -2646,41 +2646,41 @@ static void events_branch_remove_event (EventsBranch* self, Event* event) {
}
-static Block7Data* block7_data_ref (Block7Data* _data7_) {
+static Block8Data* block8_data_ref (Block8Data* _data8_) {
#line 298 "/home/jens/Source/shotwell/src/events/Branch.vala"
- g_atomic_int_inc (&_data7_->_ref_count_);
+ g_atomic_int_inc (&_data8_->_ref_count_);
#line 298 "/home/jens/Source/shotwell/src/events/Branch.vala"
- return _data7_;
+ return _data8_;
#line 2655 "Branch.c"
}
-static void block7_data_unref (void * _userdata_) {
- Block7Data* _data7_;
- _data7_ = (Block7Data*) _userdata_;
+static void block8_data_unref (void * _userdata_) {
+ Block8Data* _data8_;
+ _data8_ = (Block8Data*) _userdata_;
#line 298 "/home/jens/Source/shotwell/src/events/Branch.vala"
- if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) {
+ if (g_atomic_int_dec_and_test (&_data8_->_ref_count_)) {
#line 2664 "Branch.c"
EventsBranch* self;
#line 298 "/home/jens/Source/shotwell/src/events/Branch.vala"
- self = _data7_->self;
+ self = _data8_->self;
#line 298 "/home/jens/Source/shotwell/src/events/Branch.vala"
_g_object_unref0 (self);
#line 298 "/home/jens/Source/shotwell/src/events/Branch.vala"
- g_slice_free (Block7Data, _data7_);
+ g_slice_free (Block8Data, _data8_);
#line 2672 "Branch.c"
}
}
-static gboolean __lambda17_ (Block7Data* _data7_, SidebarEntry* entry) {
+static gboolean __lambda18_ (Block8Data* _data8_, SidebarEntry* entry) {
EventsBranch* self;
gboolean result = FALSE;
SidebarEntry* _tmp0_ = NULL;
gint _tmp1_ = 0;
gint _tmp2_ = 0;
#line 307 "/home/jens/Source/shotwell/src/events/Branch.vala"
- self = _data7_->self;
+ self = _data8_->self;
#line 307 "/home/jens/Source/shotwell/src/events/Branch.vala"
g_return_val_if_fail (SIDEBAR_IS_ENTRY (entry), FALSE);
#line 308 "/home/jens/Source/shotwell/src/events/Branch.vala"
@@ -2688,7 +2688,7 @@ static gboolean __lambda17_ (Block7Data* _data7_, SidebarEntry* entry) {
#line 308 "/home/jens/Source/shotwell/src/events/Branch.vala"
_tmp1_ = events_month_directory_entry_get_month (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, EVENTS_TYPE_MONTH_DIRECTORY_ENTRY, EventsMonthDirectoryEntry));
#line 308 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _tmp2_ = _data7_->event_month;
+ _tmp2_ = _data8_->event_month;
#line 308 "/home/jens/Source/shotwell/src/events/Branch.vala"
result = _tmp1_ == _tmp2_;
#line 308 "/home/jens/Source/shotwell/src/events/Branch.vala"
@@ -2697,9 +2697,9 @@ static gboolean __lambda17_ (Block7Data* _data7_, SidebarEntry* entry) {
}
-static gboolean ___lambda17__locator (gconstpointer item, gpointer self) {
+static gboolean ___lambda18__locator (gconstpointer item, gpointer self) {
gboolean result;
- result = __lambda17_ (self, (SidebarEntry*) item);
+ result = __lambda18_ (self, (SidebarEntry*) item);
#line 307 "/home/jens/Source/shotwell/src/events/Branch.vala"
return result;
#line 2706 "Branch.c"
@@ -2709,7 +2709,7 @@ static gboolean ___lambda17__locator (gconstpointer item, gpointer self) {
static SidebarEntry* events_branch_find_event_month (EventsBranch* self, Event* event, struct tm* event_tm, SidebarEntry** found_year) {
SidebarEntry* _vala_found_year = NULL;
SidebarEntry* result = NULL;
- Block7Data* _data7_;
+ Block8Data* _data8_;
Event* _tmp0_ = NULL;
struct tm _tmp1_ = {0};
SidebarEntry* _tmp2_ = NULL;
@@ -2725,11 +2725,11 @@ static SidebarEntry* events_branch_find_event_month (EventsBranch* self, Event*
#line 298 "/home/jens/Source/shotwell/src/events/Branch.vala"
g_return_val_if_fail (event_tm != NULL, NULL);
#line 298 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data7_ = g_slice_new0 (Block7Data);
+ _data8_ = g_slice_new0 (Block8Data);
#line 298 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data7_->_ref_count_ = 1;
+ _data8_->_ref_count_ = 1;
#line 298 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data7_->self = g_object_ref (self);
+ _data8_->self = g_object_ref (self);
#line 300 "/home/jens/Source/shotwell/src/events/Branch.vala"
_tmp0_ = event;
#line 300 "/home/jens/Source/shotwell/src/events/Branch.vala"
@@ -2747,9 +2747,9 @@ static SidebarEntry* events_branch_find_event_month (EventsBranch* self, Event*
#line 302 "/home/jens/Source/shotwell/src/events/Branch.vala"
result = NULL;
#line 302 "/home/jens/Source/shotwell/src/events/Branch.vala"
- block7_data_unref (_data7_);
+ block8_data_unref (_data8_);
#line 302 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data7_ = NULL;
+ _data8_ = NULL;
#line 302 "/home/jens/Source/shotwell/src/events/Branch.vala"
if (found_year) {
#line 302 "/home/jens/Source/shotwell/src/events/Branch.vala"
@@ -2769,17 +2769,17 @@ static SidebarEntry* events_branch_find_event_month (EventsBranch* self, Event*
#line 304 "/home/jens/Source/shotwell/src/events/Branch.vala"
_tmp5_ = _tmp4_.tm_mon;
#line 304 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data7_->event_month = _tmp5_ + 1;
+ _data8_->event_month = _tmp5_ + 1;
#line 307 "/home/jens/Source/shotwell/src/events/Branch.vala"
_tmp6_ = _vala_found_year;
#line 307 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _tmp7_ = sidebar_branch_find_first_child (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch), _tmp6_, ___lambda17__locator, _data7_);
+ _tmp7_ = sidebar_branch_find_first_child (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch), _tmp6_, ___lambda18__locator, _data8_);
#line 307 "/home/jens/Source/shotwell/src/events/Branch.vala"
result = _tmp7_;
#line 307 "/home/jens/Source/shotwell/src/events/Branch.vala"
- block7_data_unref (_data7_);
+ block8_data_unref (_data8_);
#line 307 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data7_ = NULL;
+ _data8_ = NULL;
#line 307 "/home/jens/Source/shotwell/src/events/Branch.vala"
if (found_year) {
#line 307 "/home/jens/Source/shotwell/src/events/Branch.vala"
@@ -2796,41 +2796,41 @@ static SidebarEntry* events_branch_find_event_month (EventsBranch* self, Event*
}
-static Block8Data* block8_data_ref (Block8Data* _data8_) {
+static Block9Data* block9_data_ref (Block9Data* _data9_) {
#line 312 "/home/jens/Source/shotwell/src/events/Branch.vala"
- g_atomic_int_inc (&_data8_->_ref_count_);
+ g_atomic_int_inc (&_data9_->_ref_count_);
#line 312 "/home/jens/Source/shotwell/src/events/Branch.vala"
- return _data8_;
+ return _data9_;
#line 2805 "Branch.c"
}
-static void block8_data_unref (void * _userdata_) {
- Block8Data* _data8_;
- _data8_ = (Block8Data*) _userdata_;
+static void block9_data_unref (void * _userdata_) {
+ Block9Data* _data9_;
+ _data9_ = (Block9Data*) _userdata_;
#line 312 "/home/jens/Source/shotwell/src/events/Branch.vala"
- if (g_atomic_int_dec_and_test (&_data8_->_ref_count_)) {
+ if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
#line 2814 "Branch.c"
EventsBranch* self;
#line 312 "/home/jens/Source/shotwell/src/events/Branch.vala"
- self = _data8_->self;
+ self = _data9_->self;
#line 312 "/home/jens/Source/shotwell/src/events/Branch.vala"
_g_object_unref0 (self);
#line 312 "/home/jens/Source/shotwell/src/events/Branch.vala"
- g_slice_free (Block8Data, _data8_);
+ g_slice_free (Block9Data, _data9_);
#line 2822 "Branch.c"
}
}
-static gboolean __lambda16_ (Block8Data* _data8_, SidebarEntry* entry) {
+static gboolean __lambda17_ (Block9Data* _data9_, SidebarEntry* entry) {
EventsBranch* self;
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
SidebarEntry* _tmp2_ = NULL;
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
- self = _data8_->self;
+ self = _data9_->self;
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
g_return_val_if_fail (SIDEBAR_IS_ENTRY (entry), FALSE);
#line 316 "/home/jens/Source/shotwell/src/events/Branch.vala"
@@ -2876,7 +2876,7 @@ static gboolean __lambda16_ (Block8Data* _data8_, SidebarEntry* entry) {
#line 320 "/home/jens/Source/shotwell/src/events/Branch.vala"
_tmp6_ = events_year_directory_entry_get_year (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, EVENTS_TYPE_YEAR_DIRECTORY_ENTRY, EventsYearDirectoryEntry));
#line 320 "/home/jens/Source/shotwell/src/events/Branch.vala"
- result = _tmp6_ == _data8_->event_year;
+ result = _tmp6_ == _data9_->event_year;
#line 320 "/home/jens/Source/shotwell/src/events/Branch.vala"
return result;
#line 2883 "Branch.c"
@@ -2884,9 +2884,9 @@ static gboolean __lambda16_ (Block8Data* _data8_, SidebarEntry* entry) {
}
-static gboolean ___lambda16__locator (gconstpointer item, gpointer self) {
+static gboolean ___lambda17__locator (gconstpointer item, gpointer self) {
gboolean result;
- result = __lambda16_ (self, (SidebarEntry*) item);
+ result = __lambda17_ (self, (SidebarEntry*) item);
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
return result;
#line 2893 "Branch.c"
@@ -2895,7 +2895,7 @@ static gboolean ___lambda16__locator (gconstpointer item, gpointer self) {
static SidebarEntry* events_branch_find_event_year (EventsBranch* self, Event* event, struct tm* event_tm) {
SidebarEntry* result = NULL;
- Block8Data* _data8_;
+ Block9Data* _data9_;
struct tm _tmp0_ = {0};
gint _tmp1_ = 0;
SidebarEntry* _tmp2_ = NULL;
@@ -2909,23 +2909,23 @@ static SidebarEntry* events_branch_find_event_year (EventsBranch* self, Event* e
#line 312 "/home/jens/Source/shotwell/src/events/Branch.vala"
g_return_val_if_fail (event_tm != NULL, NULL);
#line 312 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data8_ = g_slice_new0 (Block8Data);
+ _data9_ = g_slice_new0 (Block9Data);
#line 312 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data8_->_ref_count_ = 1;
+ _data9_->_ref_count_ = 1;
#line 312 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data8_->self = g_object_ref (self);
+ _data9_->self = g_object_ref (self);
#line 313 "/home/jens/Source/shotwell/src/events/Branch.vala"
_tmp0_ = *event_tm;
#line 313 "/home/jens/Source/shotwell/src/events/Branch.vala"
_tmp1_ = _tmp0_.tm_year;
#line 313 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data8_->event_year = _tmp1_ + 1900;
+ _data9_->event_year = _tmp1_ + 1900;
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
_tmp2_ = sidebar_branch_get_root (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch));
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
_tmp3_ = _tmp2_;
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _tmp4_ = sidebar_branch_find_first_child (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch), _tmp3_, ___lambda16__locator, _data8_);
+ _tmp4_ = sidebar_branch_find_first_child (G_TYPE_CHECK_INSTANCE_CAST (self, SIDEBAR_TYPE_BRANCH, SidebarBranch), _tmp3_, ___lambda17__locator, _data9_);
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
_tmp5_ = _tmp4_;
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
@@ -2933,9 +2933,9 @@ static SidebarEntry* events_branch_find_event_year (EventsBranch* self, Event* e
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
result = _tmp5_;
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
- block8_data_unref (_data8_);
+ block9_data_unref (_data9_);
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
- _data8_ = NULL;
+ _data9_ = NULL;
#line 315 "/home/jens/Source/shotwell/src/events/Branch.vala"
return result;
#line 2942 "Branch.c"
diff --git a/src/photos/PhotoFileFormat.c b/src/photos/PhotoFileFormat.c
index f34e451..578b1b3 100644
--- a/src/photos/PhotoFileFormat.c
+++ b/src/photos/PhotoFileFormat.c
@@ -270,14 +270,14 @@ gboolean photo_file_format_can_write (PhotoFileFormat self);
static gboolean ____lambda4__photo_file_format_data_applicable_test (PhotoFileFormat format, gpointer self);
static PhotoFileFormat* _vala_array_dup1 (PhotoFileFormat* self, int length);
PhotoFileFormat* photo_file_format_data_get_image_writeable (int* result_length1);
-static gboolean ___lambda22_ (PhotoFileFormat format);
+static gboolean ___lambda23_ (PhotoFileFormat format);
gboolean photo_file_format_can_write_image (PhotoFileFormat self);
-static gboolean ____lambda22__photo_file_format_data_applicable_test (PhotoFileFormat format, gpointer self);
+static gboolean ____lambda23__photo_file_format_data_applicable_test (PhotoFileFormat format, gpointer self);
static PhotoFileFormat* _vala_array_dup2 (PhotoFileFormat* self, int length);
PhotoFileFormat* photo_file_format_data_get_metadata_writeable (int* result_length1);
-static gboolean ___lambda23_ (PhotoFileFormat format);
+static gboolean ___lambda24_ (PhotoFileFormat format);
gboolean photo_file_format_can_write_metadata (PhotoFileFormat self);
-static gboolean ____lambda23__photo_file_format_data_applicable_test (PhotoFileFormat format, gpointer self);
+static gboolean ____lambda24__photo_file_format_data_applicable_test (PhotoFileFormat format, gpointer self);
static PhotoFileFormat* _vala_array_dup3 (PhotoFileFormat* self, int length);
PhotoFileFormat* photo_file_format_get_writeable (int* result_length1);
PhotoFileFormat* photo_file_format_get_image_writeable (int* result_length1);
@@ -610,7 +610,7 @@ PhotoFileFormat* photo_file_format_data_get_writeable (int* result_length1) {
}
-static gboolean ___lambda22_ (PhotoFileFormat format) {
+static gboolean ___lambda23_ (PhotoFileFormat format) {
gboolean result = FALSE;
PhotoFileFormat _tmp0_ = 0;
gboolean _tmp1_ = FALSE;
@@ -626,9 +626,9 @@ static gboolean ___lambda22_ (PhotoFileFormat format) {
}
-static gboolean ____lambda22__photo_file_format_data_applicable_test (PhotoFileFormat format, gpointer self) {
+static gboolean ____lambda23__photo_file_format_data_applicable_test (PhotoFileFormat format, gpointer self) {
gboolean result;
- result = ___lambda22_ (format);
+ result = ___lambda23_ (format);
#line 41 "/home/jens/Source/shotwell/src/photos/PhotoFileFormat.vala"
return result;
#line 635 "PhotoFileFormat.c"
@@ -662,7 +662,7 @@ PhotoFileFormat* photo_file_format_data_get_image_writeable (int* result_length1
gint _tmp1_ = 0;
PhotoFileFormat* _tmp2_ = NULL;
#line 41 "/home/jens/Source/shotwell/src/photos/PhotoFileFormat.vala"
- _tmp2_ = photo_file_format_data_find_applicable (____lambda22__photo_file_format_data_applicable_test, NULL, &_tmp1_);
+ _tmp2_ = photo_file_format_data_find_applicable (____lambda23__photo_file_format_data_applicable_test, NULL, &_tmp1_);
#line 41 "/home/jens/Source/shotwell/src/photos/PhotoFileFormat.vala"
photo_file_format_data_image_writeable = (g_free (photo_file_format_data_image_writeable), NULL);
#line 41 "/home/jens/Source/shotwell/src/photos/PhotoFileFormat.vala"
@@ -699,7 +699,7 @@ PhotoFileFormat* photo_file_format_data_get_image_writeable (int* result_length1
}
-static gboolean ___lambda23_ (PhotoFileFormat format) {
+static gboolean ___lambda24_ (PhotoFileFormat format) {
gboolean result = FALSE;
PhotoFileFormat _tmp0_ = 0;
gboolean _tmp1_ = FALSE;
@@ -715,9 +715,9 @@ static gboolean ___lambda23_ (PhotoFileFormat format) {
}
-static gboolean ____lambda23__photo_file_format_data_applicable_test (PhotoFileFormat format, gpointer self) {
+static gboolean ____lambda24__photo_file_format_data_applicable_test (PhotoFileFormat format, gpointer self) {
gboolean result;
- result = ___lambda23_ (format);
+ result = ___lambda24_ (format);
#line 48 "/home/jens/Source/shotwell/src/photos/PhotoFileFormat.vala"
return result;
#line 724 "PhotoFileFormat.c"
@@ -751,7 +751,7 @@ PhotoFileFormat* photo_file_format_data_get_metadata_writeable (int* result_leng
gint _tmp1_ = 0;
PhotoFileFormat* _tmp2_ = NULL;
#line 48 "/home/jens/Source/shotwell/src/photos/PhotoFileFormat.vala"
- _tmp2_ = photo_file_format_data_find_applicable (____lambda23__photo_file_format_data_applicable_test, NULL, &_tmp1_);
+ _tmp2_ = photo_file_format_data_find_applicable (____lambda24__photo_file_format_data_applicable_test, NULL, &_tmp1_);
#line 48 "/home/jens/Source/shotwell/src/photos/PhotoFileFormat.vala"
photo_file_format_data_metadata_writeable = (g_free (photo_file_format_data_metadata_writeable), NULL);
#line 48 "/home/jens/Source/shotwell/src/photos/PhotoFileFormat.vala"
diff --git a/src/photos/PhotoMetadata.c b/src/photos/PhotoMetadata.c
index a30a3b4..6f7c8c7 100644
--- a/src/photos/PhotoMetadata.c
+++ b/src/photos/PhotoMetadata.c
@@ -164,6 +164,7 @@ typedef struct _Block5Data Block5Data;
typedef struct _PhotoMetadataInternalPhotoPreview PhotoMetadataInternalPhotoPreview;
typedef struct _PhotoMetadataInternalPhotoPreviewClass PhotoMetadataInternalPhotoPreviewClass;
+typedef struct _Block6Data Block6Data;
#define TYPE_HIERARCHICAL_TAG_INDEX (hierarchical_tag_index_get_type ())
#define HIERARCHICAL_TAG_INDEX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_HIERARCHICAL_TAG_INDEX, HierarchicalTagIndex))
@@ -373,6 +374,12 @@ struct _Block5Data {
MetadataDateTime* date_time;
};
+struct _Block6Data {
+ int _ref_count_;
+ PhotoMetadata* self;
+ gchar* comment;
+};
+
typedef enum {
ORIENTATION_MIN = 1,
ORIENTATION_TOP_LEFT = 1,
@@ -681,6 +688,10 @@ gboolean is_string_empty (const gchar* s);
void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMetadataSetOption option);
static gchar* photo_metadata_real_get_comment (MediaMetadata* base);
void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment, PhotoMetadataSetOption option);
+static Block6Data* block6_data_ref (Block6Data* _data6_);
+static void block6_data_unref (void * _userdata_);
+static void ___lambda10_ (Block6Data* _data6_, const gchar* tag);
+static void ____lambda10__photo_metadata_set_generic_value (const gchar* tag, gpointer self);
GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify);
gchar* hierarchical_tag_utilities_make_flat_tag_safe (const gchar* in_tag);
gpointer hierarchical_tag_index_ref (gpointer instance);
@@ -761,7 +772,7 @@ static GeeList* keyword_transformer_real_transform (KeywordTransformer* self, co
g_critical ("Type `%s' does not implement abstract method `keyword_transformer_transform'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 32 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 765 "PhotoMetadata.c"
+#line 776 "PhotoMetadata.c"
}
@@ -770,7 +781,7 @@ GeeList* keyword_transformer_transform (KeywordTransformer* self, const gchar* i
g_return_val_if_fail (IS_KEYWORD_TRANSFORMER (self), NULL);
#line 32 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return KEYWORD_TRANSFORMER_GET_CLASS (self)->transform (self, input, error);
-#line 774 "PhotoMetadata.c"
+#line 785 "PhotoMetadata.c"
}
@@ -780,14 +791,14 @@ KeywordTransformer* keyword_transformer_construct (GType object_type) {
self = (KeywordTransformer*) g_type_create_instance (object_type);
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self;
-#line 784 "PhotoMetadata.c"
+#line 795 "PhotoMetadata.c"
}
static void value_keyword_transformer_init (GValue* value) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 791 "PhotoMetadata.c"
+#line 802 "PhotoMetadata.c"
}
@@ -796,7 +807,7 @@ static void value_keyword_transformer_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
keyword_transformer_unref (value->data[0].v_pointer);
-#line 800 "PhotoMetadata.c"
+#line 811 "PhotoMetadata.c"
}
}
@@ -806,11 +817,11 @@ static void value_keyword_transformer_copy_value (const GValue* src_value, GValu
if (src_value->data[0].v_pointer) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
dest_value->data[0].v_pointer = keyword_transformer_ref (src_value->data[0].v_pointer);
-#line 810 "PhotoMetadata.c"
+#line 821 "PhotoMetadata.c"
} else {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
dest_value->data[0].v_pointer = NULL;
-#line 814 "PhotoMetadata.c"
+#line 825 "PhotoMetadata.c"
}
}
@@ -818,37 +829,37 @@ static void value_keyword_transformer_copy_value (const GValue* src_value, GValu
static gpointer value_keyword_transformer_peek_pointer (const GValue* value) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return value->data[0].v_pointer;
-#line 822 "PhotoMetadata.c"
+#line 833 "PhotoMetadata.c"
}
static gchar* value_keyword_transformer_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (collect_values[0].v_pointer) {
-#line 829 "PhotoMetadata.c"
+#line 840 "PhotoMetadata.c"
KeywordTransformer* object;
object = collect_values[0].v_pointer;
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (object->parent_instance.g_class == NULL) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 836 "PhotoMetadata.c"
+#line 847 "PhotoMetadata.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 840 "PhotoMetadata.c"
+#line 851 "PhotoMetadata.c"
}
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = keyword_transformer_ref (object);
-#line 844 "PhotoMetadata.c"
+#line 855 "PhotoMetadata.c"
} else {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 848 "PhotoMetadata.c"
+#line 859 "PhotoMetadata.c"
}
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 852 "PhotoMetadata.c"
+#line 863 "PhotoMetadata.c"
}
@@ -859,25 +870,25 @@ static gchar* value_keyword_transformer_lcopy_value (const GValue* value, guint
if (!object_p) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 863 "PhotoMetadata.c"
+#line 874 "PhotoMetadata.c"
}
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!value->data[0].v_pointer) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*object_p = NULL;
-#line 869 "PhotoMetadata.c"
+#line 880 "PhotoMetadata.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*object_p = value->data[0].v_pointer;
-#line 873 "PhotoMetadata.c"
+#line 884 "PhotoMetadata.c"
} else {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*object_p = keyword_transformer_ref (value->data[0].v_pointer);
-#line 877 "PhotoMetadata.c"
+#line 888 "PhotoMetadata.c"
}
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 881 "PhotoMetadata.c"
+#line 892 "PhotoMetadata.c"
}
@@ -891,7 +902,7 @@ GParamSpec* param_spec_keyword_transformer (const gchar* name, const gchar* nick
G_PARAM_SPEC (spec)->value_type = object_type;
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return G_PARAM_SPEC (spec);
-#line 895 "PhotoMetadata.c"
+#line 906 "PhotoMetadata.c"
}
@@ -900,7 +911,7 @@ gpointer value_get_keyword_transformer (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_KEYWORD_TRANSFORMER), NULL);
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return value->data[0].v_pointer;
-#line 904 "PhotoMetadata.c"
+#line 915 "PhotoMetadata.c"
}
@@ -920,17 +931,17 @@ void value_set_keyword_transformer (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
keyword_transformer_ref (value->data[0].v_pointer);
-#line 924 "PhotoMetadata.c"
+#line 935 "PhotoMetadata.c"
} else {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 928 "PhotoMetadata.c"
+#line 939 "PhotoMetadata.c"
}
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (old) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
keyword_transformer_unref (old);
-#line 934 "PhotoMetadata.c"
+#line 945 "PhotoMetadata.c"
}
}
@@ -949,17 +960,17 @@ void value_take_keyword_transformer (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = v_object;
-#line 953 "PhotoMetadata.c"
+#line 964 "PhotoMetadata.c"
} else {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 957 "PhotoMetadata.c"
+#line 968 "PhotoMetadata.c"
}
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (old) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
keyword_transformer_unref (old);
-#line 963 "PhotoMetadata.c"
+#line 974 "PhotoMetadata.c"
}
}
@@ -971,14 +982,14 @@ static void keyword_transformer_class_init (KeywordTransformerClass * klass) {
((KeywordTransformerClass *) klass)->finalize = keyword_transformer_finalize;
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
((KeywordTransformerClass *) klass)->transform = (GeeList* (*)(KeywordTransformer*, const gchar*, GError**)) keyword_transformer_real_transform;
-#line 975 "PhotoMetadata.c"
+#line 986 "PhotoMetadata.c"
}
static void keyword_transformer_instance_init (KeywordTransformer * self) {
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self->ref_count = 1;
-#line 982 "PhotoMetadata.c"
+#line 993 "PhotoMetadata.c"
}
@@ -988,7 +999,7 @@ static void keyword_transformer_finalize (KeywordTransformer* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer);
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_signal_handlers_destroy (self);
-#line 992 "PhotoMetadata.c"
+#line 1003 "PhotoMetadata.c"
}
@@ -1013,7 +1024,7 @@ gpointer keyword_transformer_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return instance;
-#line 1017 "PhotoMetadata.c"
+#line 1028 "PhotoMetadata.c"
}
@@ -1026,7 +1037,7 @@ void keyword_transformer_unref (gpointer instance) {
KEYWORD_TRANSFORMER_GET_CLASS (self)->finalize (self);
#line 31 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1030 "PhotoMetadata.c"
+#line 1041 "PhotoMetadata.c"
}
}
@@ -1053,7 +1064,7 @@ static GeeList* null_keyword_transformer_real_transform (KeywordTransformer* bas
result = G_TYPE_CHECK_INSTANCE_CAST (_result_, GEE_TYPE_LIST, GeeList);
#line 40 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 1057 "PhotoMetadata.c"
+#line 1068 "PhotoMetadata.c"
}
@@ -1063,14 +1074,14 @@ NullKeywordTransformer* null_keyword_transformer_construct (GType object_type) {
self = (NullKeywordTransformer*) keyword_transformer_construct (object_type);
#line 35 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self;
-#line 1067 "PhotoMetadata.c"
+#line 1078 "PhotoMetadata.c"
}
NullKeywordTransformer* null_keyword_transformer_new (void) {
#line 35 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return null_keyword_transformer_construct (TYPE_NULL_KEYWORD_TRANSFORMER);
-#line 1074 "PhotoMetadata.c"
+#line 1085 "PhotoMetadata.c"
}
@@ -1079,7 +1090,7 @@ static void null_keyword_transformer_class_init (NullKeywordTransformerClass * k
null_keyword_transformer_parent_class = g_type_class_peek_parent (klass);
#line 35 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
((KeywordTransformerClass *) klass)->transform = (GeeList* (*)(KeywordTransformer*, const gchar*, GError**)) null_keyword_transformer_real_transform;
-#line 1083 "PhotoMetadata.c"
+#line 1094 "PhotoMetadata.c"
}
@@ -1102,28 +1113,28 @@ GType null_keyword_transformer_get_type (void) {
static void _acd_see_keyword_transformer_on_start_gmarkup_parser_start_element_func (GMarkupParseContext* context, const gchar* element_name, gchar** attribute_names, gchar** attribute_values, gpointer self, GError** error) {
#line 64 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
acd_see_keyword_transformer_on_start ((ACDSeeKeywordTransformer*) self, context, element_name, attribute_names, attribute_values, error);
-#line 1106 "PhotoMetadata.c"
+#line 1117 "PhotoMetadata.c"
}
static void _acd_see_keyword_transformer_on_end_gmarkup_parser_end_element_func (GMarkupParseContext* context, const gchar* element_name, gpointer self, GError** error) {
#line 65 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
acd_see_keyword_transformer_on_end ((ACDSeeKeywordTransformer*) self, context, element_name, error);
-#line 1113 "PhotoMetadata.c"
+#line 1124 "PhotoMetadata.c"
}
static void _acd_see_keyword_transformer_on_text_gmarkup_parser_text_func (GMarkupParseContext* context, const gchar* text, gsize text_len, gpointer self, GError** error) {
#line 66 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
acd_see_keyword_transformer_on_text ((ACDSeeKeywordTransformer*) self, context, text, error);
-#line 1120 "PhotoMetadata.c"
+#line 1131 "PhotoMetadata.c"
}
static void _acd_see_keyword_transformer_on_error_gmarkup_parser_error_func (GMarkupParseContext* context, GError* _error_, gpointer self) {
#line 67 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
acd_see_keyword_transformer_on_error ((ACDSeeKeywordTransformer*) self, context, _error_);
-#line 1127 "PhotoMetadata.c"
+#line 1138 "PhotoMetadata.c"
}
@@ -1157,21 +1168,21 @@ ACDSeeKeywordTransformer* acd_see_keyword_transformer_construct (GType object_ty
self->priv->stack = _tmp1_;
#line 62 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self;
-#line 1161 "PhotoMetadata.c"
+#line 1172 "PhotoMetadata.c"
}
ACDSeeKeywordTransformer* acd_see_keyword_transformer_new (void) {
#line 62 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return acd_see_keyword_transformer_construct (TYPE_ACD_SEE_KEYWORD_TRANSFORMER);
-#line 1168 "PhotoMetadata.c"
+#line 1179 "PhotoMetadata.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 77 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self ? g_object_ref (self) : NULL;
-#line 1175 "PhotoMetadata.c"
+#line 1186 "PhotoMetadata.c"
}
@@ -1216,7 +1227,7 @@ static GeeList* acd_see_keyword_transformer_real_transform (KeywordTransformer*
_g_markup_parse_context_unref0 (ctx);
#line 75 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 1220 "PhotoMetadata.c"
+#line 1231 "PhotoMetadata.c"
}
#line 77 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = self->priv->result;
@@ -1228,7 +1239,7 @@ static GeeList* acd_see_keyword_transformer_real_transform (KeywordTransformer*
_g_markup_parse_context_unref0 (ctx);
#line 77 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 1232 "PhotoMetadata.c"
+#line 1243 "PhotoMetadata.c"
}
@@ -1255,7 +1266,7 @@ static void acd_see_keyword_transformer_on_start (ACDSeeKeywordTransformer* self
if (g_strcmp0 (_tmp0_, "Categories") == 0) {
#line 90 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 1259 "PhotoMetadata.c"
+#line 1270 "PhotoMetadata.c"
}
#line 93 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = name;
@@ -1263,7 +1274,7 @@ static void acd_see_keyword_transformer_on_start (ACDSeeKeywordTransformer* self
if (g_strcmp0 (_tmp1_, "Category") != 0) {
#line 94 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 1267 "PhotoMetadata.c"
+#line 1278 "PhotoMetadata.c"
}
#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = name;
@@ -1285,7 +1296,7 @@ static void acd_see_keyword_transformer_on_start (ACDSeeKeywordTransformer* self
g_propagate_error (error, _inner_error_);
#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 1289 "PhotoMetadata.c"
+#line 1300 "PhotoMetadata.c"
} else {
#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.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);
@@ -1293,7 +1304,7 @@ static void acd_see_keyword_transformer_on_start (ACDSeeKeywordTransformer* self
g_clear_error (&_inner_error_);
#line 97 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 1297 "PhotoMetadata.c"
+#line 1308 "PhotoMetadata.c"
}
}
}
@@ -1311,7 +1322,7 @@ static void acd_see_keyword_transformer_on_end (ACDSeeKeywordTransformer* self,
_tmp0_ = name;
#line 106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (g_strcmp0 (_tmp0_, "Category") == 0) {
-#line 1315 "PhotoMetadata.c"
+#line 1326 "PhotoMetadata.c"
GeeArrayQueue* _tmp1_ = NULL;
gpointer _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
@@ -1323,7 +1334,7 @@ static void acd_see_keyword_transformer_on_end (ACDSeeKeywordTransformer* self,
_tmp3_ = (gchar*) _tmp2_;
#line 107 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_tmp3_);
-#line 1327 "PhotoMetadata.c"
+#line 1338 "PhotoMetadata.c"
}
}
@@ -1345,7 +1356,7 @@ static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self,
if (g_strcmp0 (_tmp0_, "") == 0) {
#line 114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 1349 "PhotoMetadata.c"
+#line 1360 "PhotoMetadata.c"
}
#line 117 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = self->priv->stack;
@@ -1357,7 +1368,7 @@ static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self,
_tmp3_ = self->priv->assigned;
#line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp3_) {
-#line 1361 "PhotoMetadata.c"
+#line 1372 "PhotoMetadata.c"
GString* builder = NULL;
GString* _tmp4_ = NULL;
GString* _tmp13_ = NULL;
@@ -1369,7 +1380,7 @@ static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self,
_tmp4_ = g_string_new ("");
#line 119 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
builder = _tmp4_;
-#line 1373 "PhotoMetadata.c"
+#line 1384 "PhotoMetadata.c"
{
GeeIterator* _f_it = NULL;
GeeArrayQueue* _tmp5_ = NULL;
@@ -1382,7 +1393,7 @@ static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self,
_f_it = _tmp6_;
#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 1386 "PhotoMetadata.c"
+#line 1397 "PhotoMetadata.c"
GeeIterator* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
gchar* f = NULL;
@@ -1398,7 +1409,7 @@ static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self,
if (!_tmp8_) {
#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 1402 "PhotoMetadata.c"
+#line 1413 "PhotoMetadata.c"
}
#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = _f_it;
@@ -1414,11 +1425,11 @@ static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self,
g_string_append_printf (_tmp11_, "%s|", _tmp12_);
#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (f);
-#line 1418 "PhotoMetadata.c"
+#line 1429 "PhotoMetadata.c"
}
#line 120 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_f_it);
-#line 1422 "PhotoMetadata.c"
+#line 1433 "PhotoMetadata.c"
}
#line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = builder;
@@ -1426,7 +1437,7 @@ static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self,
_tmp14_ = _tmp13_->len;
#line 123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp14_ > ((gssize) 0)) {
-#line 1430 "PhotoMetadata.c"
+#line 1441 "PhotoMetadata.c"
GString* _tmp15_ = NULL;
GString* _tmp16_ = NULL;
gssize _tmp17_ = 0L;
@@ -1438,7 +1449,7 @@ static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self,
_tmp17_ = _tmp16_->len;
#line 124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_string_truncate (_tmp15_, (gsize) (_tmp17_ - 1));
-#line 1442 "PhotoMetadata.c"
+#line 1453 "PhotoMetadata.c"
}
#line 126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp18_ = self->priv->result;
@@ -1450,7 +1461,7 @@ static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self,
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp20_);
#line 118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_string_free0 (builder);
-#line 1454 "PhotoMetadata.c"
+#line 1465 "PhotoMetadata.c"
}
}
@@ -1458,7 +1469,7 @@ static void acd_see_keyword_transformer_on_text (ACDSeeKeywordTransformer* self,
static gpointer _g_error_copy0 (gpointer self) {
#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self ? g_error_copy (self) : NULL;
-#line 1462 "PhotoMetadata.c"
+#line 1473 "PhotoMetadata.c"
}
@@ -1477,7 +1488,7 @@ static void acd_see_keyword_transformer_on_error (ACDSeeKeywordTransformer* self
_g_error_free0 (self->priv->error);
#line 131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self->priv->error = _tmp1_;
-#line 1481 "PhotoMetadata.c"
+#line 1492 "PhotoMetadata.c"
}
@@ -1490,14 +1501,14 @@ static void acd_see_keyword_transformer_class_init (ACDSeeKeywordTransformerClas
g_type_class_add_private (klass, sizeof (ACDSeeKeywordTransformerPrivate));
#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
((KeywordTransformerClass *) klass)->transform = (GeeList* (*)(KeywordTransformer*, const gchar*, GError**)) acd_see_keyword_transformer_real_transform;
-#line 1494 "PhotoMetadata.c"
+#line 1505 "PhotoMetadata.c"
}
static void acd_see_keyword_transformer_instance_init (ACDSeeKeywordTransformer * self) {
#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self->priv = ACD_SEE_KEYWORD_TRANSFORMER_GET_PRIVATE (self);
-#line 1501 "PhotoMetadata.c"
+#line 1512 "PhotoMetadata.c"
}
@@ -1513,7 +1524,7 @@ static void acd_see_keyword_transformer_finalize (KeywordTransformer* obj) {
_g_object_unref0 (self->priv->result);
#line 55 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
KEYWORD_TRANSFORMER_CLASS (acd_see_keyword_transformer_parent_class)->finalize (obj);
-#line 1517 "PhotoMetadata.c"
+#line 1528 "PhotoMetadata.c"
}
@@ -1532,7 +1543,7 @@ GType acd_see_keyword_transformer_get_type (void) {
static gpointer _keyword_transformer_ref0 (gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self ? keyword_transformer_ref (self) : NULL;
-#line 1536 "PhotoMetadata.c"
+#line 1547 "PhotoMetadata.c"
}
@@ -1588,21 +1599,21 @@ HierarchicalKeywordField* hierarchical_keyword_field_construct (GType object_typ
self->transformer = _tmp7_;
#line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self;
-#line 1592 "PhotoMetadata.c"
+#line 1603 "PhotoMetadata.c"
}
HierarchicalKeywordField* hierarchical_keyword_field_new (const gchar* field_name, const gchar* path_separator, gboolean wants_leading_separator, gboolean is_writeable, KeywordTransformer* transformer) {
#line 144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return hierarchical_keyword_field_construct (TYPE_HIERARCHICAL_KEYWORD_FIELD, field_name, path_separator, wants_leading_separator, is_writeable, transformer);
-#line 1599 "PhotoMetadata.c"
+#line 1610 "PhotoMetadata.c"
}
static void value_hierarchical_keyword_field_init (GValue* value) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 1606 "PhotoMetadata.c"
+#line 1617 "PhotoMetadata.c"
}
@@ -1611,7 +1622,7 @@ static void value_hierarchical_keyword_field_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
hierarchical_keyword_field_unref (value->data[0].v_pointer);
-#line 1615 "PhotoMetadata.c"
+#line 1626 "PhotoMetadata.c"
}
}
@@ -1621,11 +1632,11 @@ static void value_hierarchical_keyword_field_copy_value (const GValue* src_value
if (src_value->data[0].v_pointer) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
dest_value->data[0].v_pointer = hierarchical_keyword_field_ref (src_value->data[0].v_pointer);
-#line 1625 "PhotoMetadata.c"
+#line 1636 "PhotoMetadata.c"
} else {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1629 "PhotoMetadata.c"
+#line 1640 "PhotoMetadata.c"
}
}
@@ -1633,37 +1644,37 @@ static void value_hierarchical_keyword_field_copy_value (const GValue* src_value
static gpointer value_hierarchical_keyword_field_peek_pointer (const GValue* value) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return value->data[0].v_pointer;
-#line 1637 "PhotoMetadata.c"
+#line 1648 "PhotoMetadata.c"
}
static gchar* value_hierarchical_keyword_field_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (collect_values[0].v_pointer) {
-#line 1644 "PhotoMetadata.c"
+#line 1655 "PhotoMetadata.c"
HierarchicalKeywordField* object;
object = collect_values[0].v_pointer;
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (object->parent_instance.g_class == NULL) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1651 "PhotoMetadata.c"
+#line 1662 "PhotoMetadata.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1655 "PhotoMetadata.c"
+#line 1666 "PhotoMetadata.c"
}
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = hierarchical_keyword_field_ref (object);
-#line 1659 "PhotoMetadata.c"
+#line 1670 "PhotoMetadata.c"
} else {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 1663 "PhotoMetadata.c"
+#line 1674 "PhotoMetadata.c"
}
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 1667 "PhotoMetadata.c"
+#line 1678 "PhotoMetadata.c"
}
@@ -1674,25 +1685,25 @@ static gchar* value_hierarchical_keyword_field_lcopy_value (const GValue* value,
if (!object_p) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1678 "PhotoMetadata.c"
+#line 1689 "PhotoMetadata.c"
}
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!value->data[0].v_pointer) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*object_p = NULL;
-#line 1684 "PhotoMetadata.c"
+#line 1695 "PhotoMetadata.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*object_p = value->data[0].v_pointer;
-#line 1688 "PhotoMetadata.c"
+#line 1699 "PhotoMetadata.c"
} else {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*object_p = hierarchical_keyword_field_ref (value->data[0].v_pointer);
-#line 1692 "PhotoMetadata.c"
+#line 1703 "PhotoMetadata.c"
}
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 1696 "PhotoMetadata.c"
+#line 1707 "PhotoMetadata.c"
}
@@ -1706,7 +1717,7 @@ GParamSpec* param_spec_hierarchical_keyword_field (const gchar* name, const gcha
G_PARAM_SPEC (spec)->value_type = object_type;
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return G_PARAM_SPEC (spec);
-#line 1710 "PhotoMetadata.c"
+#line 1721 "PhotoMetadata.c"
}
@@ -1715,7 +1726,7 @@ gpointer value_get_hierarchical_keyword_field (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_HIERARCHICAL_KEYWORD_FIELD), NULL);
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return value->data[0].v_pointer;
-#line 1719 "PhotoMetadata.c"
+#line 1730 "PhotoMetadata.c"
}
@@ -1735,17 +1746,17 @@ void value_set_hierarchical_keyword_field (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
hierarchical_keyword_field_ref (value->data[0].v_pointer);
-#line 1739 "PhotoMetadata.c"
+#line 1750 "PhotoMetadata.c"
} else {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 1743 "PhotoMetadata.c"
+#line 1754 "PhotoMetadata.c"
}
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (old) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
hierarchical_keyword_field_unref (old);
-#line 1749 "PhotoMetadata.c"
+#line 1760 "PhotoMetadata.c"
}
}
@@ -1764,17 +1775,17 @@ void value_take_hierarchical_keyword_field (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = v_object;
-#line 1768 "PhotoMetadata.c"
+#line 1779 "PhotoMetadata.c"
} else {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 1772 "PhotoMetadata.c"
+#line 1783 "PhotoMetadata.c"
}
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (old) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
hierarchical_keyword_field_unref (old);
-#line 1778 "PhotoMetadata.c"
+#line 1789 "PhotoMetadata.c"
}
}
@@ -1784,14 +1795,14 @@ static void hierarchical_keyword_field_class_init (HierarchicalKeywordFieldClass
hierarchical_keyword_field_parent_class = g_type_class_peek_parent (klass);
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
((HierarchicalKeywordFieldClass *) klass)->finalize = hierarchical_keyword_field_finalize;
-#line 1788 "PhotoMetadata.c"
+#line 1799 "PhotoMetadata.c"
}
static void hierarchical_keyword_field_instance_init (HierarchicalKeywordField * self) {
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self->ref_count = 1;
-#line 1795 "PhotoMetadata.c"
+#line 1806 "PhotoMetadata.c"
}
@@ -1807,7 +1818,7 @@ static void hierarchical_keyword_field_finalize (HierarchicalKeywordField* obj)
_g_free0 (self->path_separator);
#line 142 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_keyword_transformer_unref0 (self->transformer);
-#line 1811 "PhotoMetadata.c"
+#line 1822 "PhotoMetadata.c"
}
@@ -1832,7 +1843,7 @@ gpointer hierarchical_keyword_field_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return instance;
-#line 1836 "PhotoMetadata.c"
+#line 1847 "PhotoMetadata.c"
}
@@ -1845,7 +1856,7 @@ void hierarchical_keyword_field_unref (gpointer instance) {
HIERARCHICAL_KEYWORD_FIELD_GET_CLASS (self)->finalize (self);
#line 137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1849 "PhotoMetadata.c"
+#line 1860 "PhotoMetadata.c"
}
}
@@ -1904,7 +1915,7 @@ PhotoPreview* photo_preview_construct (GType object_type, const gchar* name, Dim
self->priv->extension = _tmp7_;
#line 165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self;
-#line 1908 "PhotoMetadata.c"
+#line 1919 "PhotoMetadata.c"
}
@@ -1922,7 +1933,7 @@ gchar* photo_preview_get_name (PhotoPreview* self) {
result = _tmp1_;
#line 174 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 1926 "PhotoMetadata.c"
+#line 1937 "PhotoMetadata.c"
}
@@ -1936,7 +1947,7 @@ void photo_preview_get_pixel_dimensions (PhotoPreview* self, Dimensions* result)
*result = _tmp0_;
#line 178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 1940 "PhotoMetadata.c"
+#line 1951 "PhotoMetadata.c"
}
@@ -1951,7 +1962,7 @@ guint32 photo_preview_get_size (PhotoPreview* self) {
result = _tmp0_;
#line 182 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 1955 "PhotoMetadata.c"
+#line 1966 "PhotoMetadata.c"
}
@@ -1969,7 +1980,7 @@ gchar* photo_preview_get_mime_type (PhotoPreview* self) {
result = _tmp1_;
#line 186 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 1973 "PhotoMetadata.c"
+#line 1984 "PhotoMetadata.c"
}
@@ -1987,7 +1998,7 @@ gchar* photo_preview_get_extension (PhotoPreview* self) {
result = _tmp1_;
#line 190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 1991 "PhotoMetadata.c"
+#line 2002 "PhotoMetadata.c"
}
@@ -1996,7 +2007,7 @@ static guint8* photo_preview_real_flatten (PhotoPreview* self, int* result_lengt
g_critical ("Type `%s' does not implement abstract method `photo_preview_flatten'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 2000 "PhotoMetadata.c"
+#line 2011 "PhotoMetadata.c"
}
@@ -2005,14 +2016,14 @@ guint8* photo_preview_flatten (PhotoPreview* self, int* result_length1, GError**
g_return_val_if_fail (IS_PHOTO_PREVIEW (self), NULL);
#line 193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return PHOTO_PREVIEW_GET_CLASS (self)->flatten (self, result_length1, error);
-#line 2009 "PhotoMetadata.c"
+#line 2020 "PhotoMetadata.c"
}
static guint8* _vala_array_dup4 (guint8* self, int length) {
#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_memdup (self, length * sizeof (guint8));
-#line 2016 "PhotoMetadata.c"
+#line 2027 "PhotoMetadata.c"
}
@@ -2038,7 +2049,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er
g_propagate_error (error, _inner_error_);
#line 196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 2042 "PhotoMetadata.c"
+#line 2053 "PhotoMetadata.c"
}
{
GdkPixbuf* _tmp2_ = NULL;
@@ -2067,7 +2078,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er
_tmp2_ = _tmp7_;
#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2071 "PhotoMetadata.c"
+#line 2082 "PhotoMetadata.c"
goto __catch25_g_error;
}
#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -2082,7 +2093,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er
flattened = (g_free (flattened), NULL);
#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2086 "PhotoMetadata.c"
+#line 2097 "PhotoMetadata.c"
}
goto __finally25;
__catch25_g_error:
@@ -2111,7 +2122,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er
flattened = (g_free (flattened), NULL);
#line 206 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2115 "PhotoMetadata.c"
+#line 2126 "PhotoMetadata.c"
}
__finally25:
#line 200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -2120,7 +2131,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er
flattened = (g_free (flattened), NULL);
#line 200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 2124 "PhotoMetadata.c"
+#line 2135 "PhotoMetadata.c"
}
@@ -2129,14 +2140,14 @@ GdkPixbuf* photo_preview_get_pixbuf (PhotoPreview* self, GError** error) {
g_return_val_if_fail (IS_PHOTO_PREVIEW (self), NULL);
#line 195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return PHOTO_PREVIEW_GET_CLASS (self)->get_pixbuf (self, error);
-#line 2133 "PhotoMetadata.c"
+#line 2144 "PhotoMetadata.c"
}
static void value_photo_preview_init (GValue* value) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 2140 "PhotoMetadata.c"
+#line 2151 "PhotoMetadata.c"
}
@@ -2145,7 +2156,7 @@ static void value_photo_preview_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_preview_unref (value->data[0].v_pointer);
-#line 2149 "PhotoMetadata.c"
+#line 2160 "PhotoMetadata.c"
}
}
@@ -2155,11 +2166,11 @@ static void value_photo_preview_copy_value (const GValue* src_value, GValue* des
if (src_value->data[0].v_pointer) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
dest_value->data[0].v_pointer = photo_preview_ref (src_value->data[0].v_pointer);
-#line 2159 "PhotoMetadata.c"
+#line 2170 "PhotoMetadata.c"
} else {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
dest_value->data[0].v_pointer = NULL;
-#line 2163 "PhotoMetadata.c"
+#line 2174 "PhotoMetadata.c"
}
}
@@ -2167,37 +2178,37 @@ static void value_photo_preview_copy_value (const GValue* src_value, GValue* des
static gpointer value_photo_preview_peek_pointer (const GValue* value) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return value->data[0].v_pointer;
-#line 2171 "PhotoMetadata.c"
+#line 2182 "PhotoMetadata.c"
}
static gchar* value_photo_preview_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (collect_values[0].v_pointer) {
-#line 2178 "PhotoMetadata.c"
+#line 2189 "PhotoMetadata.c"
PhotoPreview* object;
object = collect_values[0].v_pointer;
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (object->parent_instance.g_class == NULL) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2185 "PhotoMetadata.c"
+#line 2196 "PhotoMetadata.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2189 "PhotoMetadata.c"
+#line 2200 "PhotoMetadata.c"
}
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = photo_preview_ref (object);
-#line 2193 "PhotoMetadata.c"
+#line 2204 "PhotoMetadata.c"
} else {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 2197 "PhotoMetadata.c"
+#line 2208 "PhotoMetadata.c"
}
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 2201 "PhotoMetadata.c"
+#line 2212 "PhotoMetadata.c"
}
@@ -2208,25 +2219,25 @@ static gchar* value_photo_preview_lcopy_value (const GValue* value, guint n_coll
if (!object_p) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 2212 "PhotoMetadata.c"
+#line 2223 "PhotoMetadata.c"
}
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!value->data[0].v_pointer) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*object_p = NULL;
-#line 2218 "PhotoMetadata.c"
+#line 2229 "PhotoMetadata.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*object_p = value->data[0].v_pointer;
-#line 2222 "PhotoMetadata.c"
+#line 2233 "PhotoMetadata.c"
} else {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*object_p = photo_preview_ref (value->data[0].v_pointer);
-#line 2226 "PhotoMetadata.c"
+#line 2237 "PhotoMetadata.c"
}
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 2230 "PhotoMetadata.c"
+#line 2241 "PhotoMetadata.c"
}
@@ -2240,7 +2251,7 @@ GParamSpec* param_spec_photo_preview (const gchar* name, const gchar* nick, cons
G_PARAM_SPEC (spec)->value_type = object_type;
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return G_PARAM_SPEC (spec);
-#line 2244 "PhotoMetadata.c"
+#line 2255 "PhotoMetadata.c"
}
@@ -2249,7 +2260,7 @@ gpointer value_get_photo_preview (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PHOTO_PREVIEW), NULL);
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return value->data[0].v_pointer;
-#line 2253 "PhotoMetadata.c"
+#line 2264 "PhotoMetadata.c"
}
@@ -2269,17 +2280,17 @@ void value_set_photo_preview (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_preview_ref (value->data[0].v_pointer);
-#line 2273 "PhotoMetadata.c"
+#line 2284 "PhotoMetadata.c"
} else {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 2277 "PhotoMetadata.c"
+#line 2288 "PhotoMetadata.c"
}
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (old) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_preview_unref (old);
-#line 2283 "PhotoMetadata.c"
+#line 2294 "PhotoMetadata.c"
}
}
@@ -2298,17 +2309,17 @@ void value_take_photo_preview (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = v_object;
-#line 2302 "PhotoMetadata.c"
+#line 2313 "PhotoMetadata.c"
} else {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value->data[0].v_pointer = NULL;
-#line 2306 "PhotoMetadata.c"
+#line 2317 "PhotoMetadata.c"
}
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (old) {
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_preview_unref (old);
-#line 2312 "PhotoMetadata.c"
+#line 2323 "PhotoMetadata.c"
}
}
@@ -2324,7 +2335,7 @@ static void photo_preview_class_init (PhotoPreviewClass * klass) {
((PhotoPreviewClass *) klass)->flatten = (guint8* (*)(PhotoPreview*, int*, GError**)) photo_preview_real_flatten;
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
((PhotoPreviewClass *) klass)->get_pixbuf = (GdkPixbuf* (*)(PhotoPreview*, GError**)) photo_preview_real_get_pixbuf;
-#line 2328 "PhotoMetadata.c"
+#line 2339 "PhotoMetadata.c"
}
@@ -2333,7 +2344,7 @@ static void photo_preview_instance_init (PhotoPreview * self) {
self->priv = PHOTO_PREVIEW_GET_PRIVATE (self);
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self->ref_count = 1;
-#line 2337 "PhotoMetadata.c"
+#line 2348 "PhotoMetadata.c"
}
@@ -2349,7 +2360,7 @@ static void photo_preview_finalize (PhotoPreview* obj) {
_g_free0 (self->priv->mime_type);
#line 163 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (self->priv->extension);
-#line 2353 "PhotoMetadata.c"
+#line 2364 "PhotoMetadata.c"
}
@@ -2374,7 +2385,7 @@ gpointer photo_preview_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return instance;
-#line 2378 "PhotoMetadata.c"
+#line 2389 "PhotoMetadata.c"
}
@@ -2387,7 +2398,7 @@ void photo_preview_unref (gpointer instance) {
PHOTO_PREVIEW_GET_CLASS (self)->finalize (self);
#line 158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 2391 "PhotoMetadata.c"
+#line 2402 "PhotoMetadata.c"
}
}
@@ -2410,14 +2421,14 @@ PhotoMetadata* photo_metadata_construct (GType object_type) {
self = (PhotoMetadata*) media_metadata_construct (object_type);
#line 251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self;
-#line 2414 "PhotoMetadata.c"
+#line 2425 "PhotoMetadata.c"
}
PhotoMetadata* photo_metadata_new (void) {
#line 251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return photo_metadata_construct (TYPE_PHOTO_METADATA);
-#line 2421 "PhotoMetadata.c"
+#line 2432 "PhotoMetadata.c"
}
@@ -2467,7 +2478,7 @@ static void photo_metadata_real_read_from_file (MediaMetadata* base, GFile* file
g_propagate_error (error, _inner_error_);
#line 258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 2471 "PhotoMetadata.c"
+#line 2482 "PhotoMetadata.c"
}
#line 259 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = file;
@@ -2491,7 +2502,7 @@ static void photo_metadata_real_read_from_file (MediaMetadata* base, GFile* file
_g_free0 (self->priv->source_name);
#line 260 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self->priv->source_name = _tmp10_;
-#line 2495 "PhotoMetadata.c"
+#line 2506 "PhotoMetadata.c"
}
@@ -2523,7 +2534,7 @@ void photo_metadata_write_to_file (PhotoMetadata* self, GFile* file, GError** er
g_propagate_error (error, _inner_error_);
#line 264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 2527 "PhotoMetadata.c"
+#line 2538 "PhotoMetadata.c"
}
}
@@ -2551,7 +2562,7 @@ void photo_metadata_read_from_buffer (PhotoMetadata* self, guint8* buffer, int b
_tmp0_ = length;
#line 268 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp0_ <= 0) {
-#line 2555 "PhotoMetadata.c"
+#line 2566 "PhotoMetadata.c"
guint8* _tmp1_ = NULL;
gint _tmp1__length1 = 0;
#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -2560,7 +2571,7 @@ void photo_metadata_read_from_buffer (PhotoMetadata* self, guint8* buffer, int b
_tmp1__length1 = buffer_length1;
#line 269 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
length = _tmp1__length1;
-#line 2564 "PhotoMetadata.c"
+#line 2575 "PhotoMetadata.c"
}
#line 271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = buffer;
@@ -2596,7 +2607,7 @@ void photo_metadata_read_from_buffer (PhotoMetadata* self, guint8* buffer, int b
g_propagate_error (error, _inner_error_);
#line 276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 2600 "PhotoMetadata.c"
+#line 2611 "PhotoMetadata.c"
}
#line 277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_ = buffer;
@@ -2618,7 +2629,7 @@ void photo_metadata_read_from_buffer (PhotoMetadata* self, guint8* buffer, int b
_g_free0 (self->priv->source_name);
#line 278 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self->priv->source_name = _tmp12_;
-#line 2622 "PhotoMetadata.c"
+#line 2633 "PhotoMetadata.c"
}
@@ -2645,7 +2656,7 @@ void photo_metadata_read_from_app1_segment (PhotoMetadata* self, guint8* buffer,
_tmp0_ = length;
#line 282 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp0_ <= 0) {
-#line 2649 "PhotoMetadata.c"
+#line 2660 "PhotoMetadata.c"
guint8* _tmp1_ = NULL;
gint _tmp1__length1 = 0;
#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -2654,7 +2665,7 @@ void photo_metadata_read_from_app1_segment (PhotoMetadata* self, guint8* buffer,
_tmp1__length1 = buffer_length1;
#line 283 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
length = _tmp1__length1;
-#line 2658 "PhotoMetadata.c"
+#line 2669 "PhotoMetadata.c"
}
#line 285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = buffer;
@@ -2690,7 +2701,7 @@ void photo_metadata_read_from_app1_segment (PhotoMetadata* self, guint8* buffer,
g_propagate_error (error, _inner_error_);
#line 290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 2694 "PhotoMetadata.c"
+#line 2705 "PhotoMetadata.c"
}
#line 291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_ = buffer;
@@ -2712,7 +2723,7 @@ void photo_metadata_read_from_app1_segment (PhotoMetadata* self, guint8* buffer,
_g_free0 (self->priv->source_name);
#line 292 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self->priv->source_name = _tmp12_;
-#line 2716 "PhotoMetadata.c"
+#line 2727 "PhotoMetadata.c"
}
@@ -2736,7 +2747,7 @@ MetadataDomain photo_metadata_get_tag_domain (const gchar* tag) {
result = METADATA_DOMAIN_EXIF;
#line 297 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2740 "PhotoMetadata.c"
+#line 2751 "PhotoMetadata.c"
}
#line 299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = tag;
@@ -2748,7 +2759,7 @@ MetadataDomain photo_metadata_get_tag_domain (const gchar* tag) {
result = METADATA_DOMAIN_XMP;
#line 300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2752 "PhotoMetadata.c"
+#line 2763 "PhotoMetadata.c"
}
#line 302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = tag;
@@ -2760,13 +2771,13 @@ MetadataDomain photo_metadata_get_tag_domain (const gchar* tag) {
result = METADATA_DOMAIN_IPTC;
#line 303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2764 "PhotoMetadata.c"
+#line 2775 "PhotoMetadata.c"
}
#line 305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = METADATA_DOMAIN_UNKNOWN;
#line 305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2770 "PhotoMetadata.c"
+#line 2781 "PhotoMetadata.c"
}
@@ -2781,7 +2792,7 @@ gboolean photo_metadata_has_domain (PhotoMetadata* self, MetadataDomain domain)
switch (_tmp0_) {
#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_EXIF:
-#line 2785 "PhotoMetadata.c"
+#line 2796 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
@@ -2793,11 +2804,11 @@ gboolean photo_metadata_has_domain (PhotoMetadata* self, MetadataDomain domain)
result = _tmp2_;
#line 311 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2797 "PhotoMetadata.c"
+#line 2808 "PhotoMetadata.c"
}
#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_XMP:
-#line 2801 "PhotoMetadata.c"
+#line 2812 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -2809,11 +2820,11 @@ gboolean photo_metadata_has_domain (PhotoMetadata* self, MetadataDomain domain)
result = _tmp4_;
#line 314 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2813 "PhotoMetadata.c"
+#line 2824 "PhotoMetadata.c"
}
#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_IPTC:
-#line 2817 "PhotoMetadata.c"
+#line 2828 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
@@ -2825,18 +2836,18 @@ gboolean photo_metadata_has_domain (PhotoMetadata* self, MetadataDomain domain)
result = _tmp6_;
#line 317 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2829 "PhotoMetadata.c"
+#line 2840 "PhotoMetadata.c"
}
default:
#line 309 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_UNKNOWN:
-#line 2834 "PhotoMetadata.c"
+#line 2845 "PhotoMetadata.c"
{
#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = FALSE;
#line 321 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2840 "PhotoMetadata.c"
+#line 2851 "PhotoMetadata.c"
}
}
}
@@ -2853,7 +2864,7 @@ gboolean photo_metadata_has_exif (PhotoMetadata* self) {
result = _tmp0_;
#line 326 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2857 "PhotoMetadata.c"
+#line 2868 "PhotoMetadata.c"
}
@@ -2868,7 +2879,7 @@ gboolean photo_metadata_has_xmp (PhotoMetadata* self) {
result = _tmp0_;
#line 330 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2872 "PhotoMetadata.c"
+#line 2883 "PhotoMetadata.c"
}
@@ -2883,7 +2894,7 @@ gboolean photo_metadata_has_iptc (PhotoMetadata* self) {
result = _tmp0_;
#line 334 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2887 "PhotoMetadata.c"
+#line 2898 "PhotoMetadata.c"
}
@@ -2898,7 +2909,7 @@ gboolean photo_metadata_can_write_to_domain (PhotoMetadata* self, MetadataDomain
switch (_tmp0_) {
#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_EXIF:
-#line 2902 "PhotoMetadata.c"
+#line 2913 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
@@ -2910,11 +2921,11 @@ gboolean photo_metadata_can_write_to_domain (PhotoMetadata* self, MetadataDomain
result = _tmp2_;
#line 340 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2914 "PhotoMetadata.c"
+#line 2925 "PhotoMetadata.c"
}
#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_XMP:
-#line 2918 "PhotoMetadata.c"
+#line 2929 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -2926,11 +2937,11 @@ gboolean photo_metadata_can_write_to_domain (PhotoMetadata* self, MetadataDomain
result = _tmp4_;
#line 343 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2930 "PhotoMetadata.c"
+#line 2941 "PhotoMetadata.c"
}
#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_IPTC:
-#line 2934 "PhotoMetadata.c"
+#line 2945 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
@@ -2942,18 +2953,18 @@ gboolean photo_metadata_can_write_to_domain (PhotoMetadata* self, MetadataDomain
result = _tmp6_;
#line 346 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2946 "PhotoMetadata.c"
+#line 2957 "PhotoMetadata.c"
}
default:
#line 338 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_UNKNOWN:
-#line 2951 "PhotoMetadata.c"
+#line 2962 "PhotoMetadata.c"
{
#line 350 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = FALSE;
#line 350 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2957 "PhotoMetadata.c"
+#line 2968 "PhotoMetadata.c"
}
}
}
@@ -2970,7 +2981,7 @@ gboolean photo_metadata_can_write_exif (PhotoMetadata* self) {
result = _tmp0_;
#line 355 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2974 "PhotoMetadata.c"
+#line 2985 "PhotoMetadata.c"
}
@@ -2985,7 +2996,7 @@ gboolean photo_metadata_can_write_xmp (PhotoMetadata* self) {
result = _tmp0_;
#line 359 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 2989 "PhotoMetadata.c"
+#line 3000 "PhotoMetadata.c"
}
@@ -3000,7 +3011,7 @@ gboolean photo_metadata_can_write_iptc (PhotoMetadata* self) {
result = _tmp0_;
#line 363 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3004 "PhotoMetadata.c"
+#line 3015 "PhotoMetadata.c"
}
@@ -3023,7 +3034,7 @@ gboolean photo_metadata_has_tag (PhotoMetadata* self, const gchar* tag) {
result = _tmp2_;
#line 367 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3027 "PhotoMetadata.c"
+#line 3038 "PhotoMetadata.c"
}
@@ -3039,7 +3050,7 @@ static GeeSet* photo_metadata_create_string_set (PhotoMetadata* self, GCompareDa
_tmp0__target = compare_func_target;
#line 372 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp0_ == NULL) {
-#line 3043 "PhotoMetadata.c"
+#line 3054 "PhotoMetadata.c"
GeeHashSet* _tmp1_ = NULL;
#line 373 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -3055,7 +3066,7 @@ static GeeSet* photo_metadata_create_string_set (PhotoMetadata* self, GCompareDa
compare_func_target_destroy_notify = NULL;
#line 373 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3059 "PhotoMetadata.c"
+#line 3070 "PhotoMetadata.c"
} else {
GCompareDataFunc _tmp2_ = NULL;
void* _tmp2__target = NULL;
@@ -3087,7 +3098,7 @@ static GeeSet* photo_metadata_create_string_set (PhotoMetadata* self, GCompareDa
compare_func_target_destroy_notify = NULL;
#line 375 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3091 "PhotoMetadata.c"
+#line 3102 "PhotoMetadata.c"
}
#line 370 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
(compare_func_target_destroy_notify == NULL) ? NULL : (compare_func_target_destroy_notify (compare_func_target), NULL);
@@ -3097,7 +3108,7 @@ static GeeSet* photo_metadata_create_string_set (PhotoMetadata* self, GCompareDa
compare_func_target = NULL;
#line 370 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
compare_func_target_destroy_notify = NULL;
-#line 3101 "PhotoMetadata.c"
+#line 3112 "PhotoMetadata.c"
}
@@ -3131,7 +3142,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
switch (_tmp0_) {
#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_EXIF:
-#line 3135 "PhotoMetadata.c"
+#line 3146 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp1_ = NULL;
gchar** _tmp2_ = NULL;
@@ -3150,11 +3161,11 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
_tags_size_ = tags_length1;
#line 384 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 3154 "PhotoMetadata.c"
+#line 3165 "PhotoMetadata.c"
}
#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_XMP:
-#line 3158 "PhotoMetadata.c"
+#line 3169 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp4_ = NULL;
gchar** _tmp5_ = NULL;
@@ -3173,11 +3184,11 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
_tags_size_ = tags_length1;
#line 388 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 3177 "PhotoMetadata.c"
+#line 3188 "PhotoMetadata.c"
}
#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_IPTC:
-#line 3181 "PhotoMetadata.c"
+#line 3192 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp7_ = NULL;
gchar** _tmp8_ = NULL;
@@ -3196,12 +3207,12 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
_tags_size_ = tags_length1;
#line 392 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 3200 "PhotoMetadata.c"
+#line 3211 "PhotoMetadata.c"
}
default:
#line 381 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 3205 "PhotoMetadata.c"
+#line 3216 "PhotoMetadata.c"
}
#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = tags;
@@ -3211,7 +3222,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
if (_tmp11_ == NULL) {
#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = TRUE;
-#line 3215 "PhotoMetadata.c"
+#line 3226 "PhotoMetadata.c"
} else {
gchar** _tmp12_ = NULL;
gint _tmp12__length1 = 0;
@@ -3221,7 +3232,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
_tmp12__length1 = tags_length1;
#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = _tmp12__length1 == 0;
-#line 3225 "PhotoMetadata.c"
+#line 3236 "PhotoMetadata.c"
}
#line 395 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp10_) {
@@ -3239,7 +3250,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
compare_func_target_destroy_notify = NULL;
#line 396 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3243 "PhotoMetadata.c"
+#line 3254 "PhotoMetadata.c"
}
#line 398 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = compare_func;
@@ -3261,7 +3272,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
_tmp15_ = tags;
#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp15__length1 = tags_length1;
-#line 3265 "PhotoMetadata.c"
+#line 3276 "PhotoMetadata.c"
{
gchar** tag_collection = NULL;
gint tag_collection_length1 = 0;
@@ -3273,14 +3284,14 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
tag_collection_length1 = _tmp15__length1;
#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (tag_it = 0; tag_it < _tmp15__length1; tag_it = tag_it + 1) {
-#line 3277 "PhotoMetadata.c"
+#line 3288 "PhotoMetadata.c"
gchar* _tmp16_ = NULL;
gchar* tag = NULL;
#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp16_ = g_strdup (tag_collection[tag_it]);
#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag = _tmp16_;
-#line 3284 "PhotoMetadata.c"
+#line 3295 "PhotoMetadata.c"
{
GeeCollection* _tmp17_ = NULL;
const gchar* _tmp18_ = NULL;
@@ -3292,7 +3303,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
gee_collection_add (_tmp17_, _tmp18_);
#line 399 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (tag);
-#line 3296 "PhotoMetadata.c"
+#line 3307 "PhotoMetadata.c"
}
}
}
@@ -3310,7 +3321,7 @@ GeeCollection* photo_metadata_get_tags (PhotoMetadata* self, MetadataDomain doma
compare_func_target_destroy_notify = NULL;
#line 402 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3314 "PhotoMetadata.c"
+#line 3325 "PhotoMetadata.c"
}
@@ -3364,7 +3375,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
_tmp4_ = exif_tags;
#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp4_ != NULL) {
-#line 3368 "PhotoMetadata.c"
+#line 3379 "PhotoMetadata.c"
GeeCollection* _tmp5_ = NULL;
gint _tmp6_ = 0;
gint _tmp7_ = 0;
@@ -3376,15 +3387,15 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
_tmp7_ = _tmp6_;
#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = _tmp7_ > 0;
-#line 3380 "PhotoMetadata.c"
+#line 3391 "PhotoMetadata.c"
} else {
#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = FALSE;
-#line 3384 "PhotoMetadata.c"
+#line 3395 "PhotoMetadata.c"
}
#line 410 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp3_) {
-#line 3388 "PhotoMetadata.c"
+#line 3399 "PhotoMetadata.c"
GeeCollection* _tmp8_ = NULL;
GeeCollection* _tmp9_ = NULL;
#line 411 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -3393,7 +3404,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
_tmp9_ = exif_tags;
#line 411 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gee_collection_add_all (_tmp8_, _tmp9_);
-#line 3397 "PhotoMetadata.c"
+#line 3408 "PhotoMetadata.c"
}
#line 413 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = photo_metadata_get_tags (self, METADATA_DOMAIN_XMP, NULL, NULL, NULL);
@@ -3403,7 +3414,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
_tmp12_ = xmp_tags;
#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp12_ != NULL) {
-#line 3407 "PhotoMetadata.c"
+#line 3418 "PhotoMetadata.c"
GeeCollection* _tmp13_ = NULL;
gint _tmp14_ = 0;
gint _tmp15_ = 0;
@@ -3415,15 +3426,15 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
_tmp15_ = _tmp14_;
#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = _tmp15_ > 0;
-#line 3419 "PhotoMetadata.c"
+#line 3430 "PhotoMetadata.c"
} else {
#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = FALSE;
-#line 3423 "PhotoMetadata.c"
+#line 3434 "PhotoMetadata.c"
}
#line 414 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp11_) {
-#line 3427 "PhotoMetadata.c"
+#line 3438 "PhotoMetadata.c"
GeeCollection* _tmp16_ = NULL;
GeeCollection* _tmp17_ = NULL;
#line 415 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -3432,7 +3443,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
_tmp17_ = xmp_tags;
#line 415 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gee_collection_add_all (_tmp16_, _tmp17_);
-#line 3436 "PhotoMetadata.c"
+#line 3447 "PhotoMetadata.c"
}
#line 417 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp18_ = photo_metadata_get_tags (self, METADATA_DOMAIN_IPTC, NULL, NULL, NULL);
@@ -3442,7 +3453,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
_tmp20_ = iptc_tags;
#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp20_ != NULL) {
-#line 3446 "PhotoMetadata.c"
+#line 3457 "PhotoMetadata.c"
GeeCollection* _tmp21_ = NULL;
gint _tmp22_ = 0;
gint _tmp23_ = 0;
@@ -3454,15 +3465,15 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
_tmp23_ = _tmp22_;
#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp19_ = _tmp23_ > 0;
-#line 3458 "PhotoMetadata.c"
+#line 3469 "PhotoMetadata.c"
} else {
#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp19_ = FALSE;
-#line 3462 "PhotoMetadata.c"
+#line 3473 "PhotoMetadata.c"
}
#line 418 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp19_) {
-#line 3466 "PhotoMetadata.c"
+#line 3477 "PhotoMetadata.c"
GeeCollection* _tmp24_ = NULL;
GeeCollection* _tmp25_ = NULL;
#line 419 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -3471,7 +3482,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
_tmp25_ = iptc_tags;
#line 419 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gee_collection_add_all (_tmp24_, _tmp25_);
-#line 3475 "PhotoMetadata.c"
+#line 3486 "PhotoMetadata.c"
}
#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp27_ = all_tags;
@@ -3481,17 +3492,17 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
_tmp29_ = _tmp28_;
#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp29_ > 0) {
-#line 3485 "PhotoMetadata.c"
+#line 3496 "PhotoMetadata.c"
GeeCollection* _tmp30_ = NULL;
#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp30_ = all_tags;
#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp26_ = _tmp30_;
-#line 3491 "PhotoMetadata.c"
+#line 3502 "PhotoMetadata.c"
} else {
#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp26_ = NULL;
-#line 3495 "PhotoMetadata.c"
+#line 3506 "PhotoMetadata.c"
}
#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp31_ = _g_object_ref0 (_tmp26_);
@@ -3515,7 +3526,7 @@ GeeCollection* photo_metadata_get_all_tags (PhotoMetadata* self, GCompareDataFun
compare_func_target_destroy_notify = NULL;
#line 421 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3519 "PhotoMetadata.c"
+#line 3530 "PhotoMetadata.c"
}
@@ -3538,7 +3549,7 @@ gchar* photo_metadata_get_tag_label (PhotoMetadata* self, const gchar* tag) {
result = _tmp2_;
#line 425 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3542 "PhotoMetadata.c"
+#line 3553 "PhotoMetadata.c"
}
@@ -3561,7 +3572,7 @@ gchar* photo_metadata_get_tag_description (PhotoMetadata* self, const gchar* tag
result = _tmp2_;
#line 429 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3565 "PhotoMetadata.c"
+#line 3576 "PhotoMetadata.c"
}
@@ -3598,7 +3609,7 @@ gchar* photo_metadata_get_string (PhotoMetadata* self, const gchar* tag, Prepare
result = _tmp6_;
#line 433 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3602 "PhotoMetadata.c"
+#line 3613 "PhotoMetadata.c"
}
@@ -3635,7 +3646,7 @@ gchar* photo_metadata_get_string_interpreted (PhotoMetadata* self, const gchar*
result = _tmp6_;
#line 437 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3639 "PhotoMetadata.c"
+#line 3650 "PhotoMetadata.c"
}
@@ -3649,7 +3660,7 @@ gchar* photo_metadata_get_first_string (PhotoMetadata* self, gchar** tags, int t
_tmp0_ = tags;
#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = tags_length1;
-#line 3653 "PhotoMetadata.c"
+#line 3664 "PhotoMetadata.c"
{
gchar** tag_collection = NULL;
gint tag_collection_length1 = 0;
@@ -3661,14 +3672,14 @@ gchar* photo_metadata_get_first_string (PhotoMetadata* self, gchar** tags, int t
tag_collection_length1 = _tmp0__length1;
#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) {
-#line 3665 "PhotoMetadata.c"
+#line 3676 "PhotoMetadata.c"
gchar* _tmp1_ = NULL;
gchar* tag = NULL;
#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = g_strdup (tag_collection[tag_it]);
#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag = _tmp1_;
-#line 3672 "PhotoMetadata.c"
+#line 3683 "PhotoMetadata.c"
{
gchar* value = NULL;
const gchar* _tmp2_ = NULL;
@@ -3690,13 +3701,13 @@ gchar* photo_metadata_get_first_string (PhotoMetadata* self, gchar** tags, int t
_g_free0 (tag);
#line 444 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3694 "PhotoMetadata.c"
+#line 3705 "PhotoMetadata.c"
}
#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (value);
#line 441 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (tag);
-#line 3700 "PhotoMetadata.c"
+#line 3711 "PhotoMetadata.c"
}
}
}
@@ -3704,7 +3715,7 @@ gchar* photo_metadata_get_first_string (PhotoMetadata* self, gchar** tags, int t
result = NULL;
#line 447 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3708 "PhotoMetadata.c"
+#line 3719 "PhotoMetadata.c"
}
@@ -3718,7 +3729,7 @@ gchar* photo_metadata_get_first_string_interpreted (PhotoMetadata* self, gchar**
_tmp0_ = tags;
#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = tags_length1;
-#line 3722 "PhotoMetadata.c"
+#line 3733 "PhotoMetadata.c"
{
gchar** tag_collection = NULL;
gint tag_collection_length1 = 0;
@@ -3730,14 +3741,14 @@ gchar* photo_metadata_get_first_string_interpreted (PhotoMetadata* self, gchar**
tag_collection_length1 = _tmp0__length1;
#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) {
-#line 3734 "PhotoMetadata.c"
+#line 3745 "PhotoMetadata.c"
gchar* _tmp1_ = NULL;
gchar* tag = NULL;
#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = g_strdup (tag_collection[tag_it]);
#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag = _tmp1_;
-#line 3741 "PhotoMetadata.c"
+#line 3752 "PhotoMetadata.c"
{
gchar* value = NULL;
const gchar* _tmp2_ = NULL;
@@ -3759,13 +3770,13 @@ gchar* photo_metadata_get_first_string_interpreted (PhotoMetadata* self, gchar**
_g_free0 (tag);
#line 454 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3763 "PhotoMetadata.c"
+#line 3774 "PhotoMetadata.c"
}
#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (value);
#line 451 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (tag);
-#line 3769 "PhotoMetadata.c"
+#line 3780 "PhotoMetadata.c"
}
}
}
@@ -3773,7 +3784,7 @@ gchar* photo_metadata_get_first_string_interpreted (PhotoMetadata* self, gchar**
result = NULL;
#line 457 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3777 "PhotoMetadata.c"
+#line 3788 "PhotoMetadata.c"
}
@@ -3824,7 +3835,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t
if (_tmp5_ == NULL) {
#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = TRUE;
-#line 3828 "PhotoMetadata.c"
+#line 3839 "PhotoMetadata.c"
} else {
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
@@ -3834,7 +3845,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t
_tmp6__length1 = values_length1;
#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = _tmp6__length1 == 0;
-#line 3838 "PhotoMetadata.c"
+#line 3849 "PhotoMetadata.c"
}
#line 468 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp4_) {
@@ -3844,7 +3855,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t
values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL);
#line 469 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3848 "PhotoMetadata.c"
+#line 3859 "PhotoMetadata.c"
}
#line 471 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
@@ -3858,7 +3869,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t
_tmp9_ = values;
#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9__length1 = values_length1;
-#line 3862 "PhotoMetadata.c"
+#line 3873 "PhotoMetadata.c"
{
gchar** value_collection = NULL;
gint value_collection_length1 = 0;
@@ -3870,14 +3881,14 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t
value_collection_length1 = _tmp9__length1;
#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (value_it = 0; value_it < _tmp9__length1; value_it = value_it + 1) {
-#line 3874 "PhotoMetadata.c"
+#line 3885 "PhotoMetadata.c"
gchar* _tmp10_ = NULL;
gchar* value = NULL;
#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = g_strdup (value_collection[value_it]);
#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
value = _tmp10_;
-#line 3881 "PhotoMetadata.c"
+#line 3892 "PhotoMetadata.c"
{
gchar* prepped = NULL;
const gchar* _tmp11_ = NULL;
@@ -3894,7 +3905,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t
_tmp14_ = prepped;
#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp14_ != NULL) {
-#line 3898 "PhotoMetadata.c"
+#line 3909 "PhotoMetadata.c"
GeeHashSet* _tmp15_ = NULL;
const gchar* _tmp16_ = NULL;
gboolean _tmp17_ = FALSE;
@@ -3906,15 +3917,15 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t
_tmp17_ = gee_abstract_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp16_);
#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = !_tmp17_;
-#line 3910 "PhotoMetadata.c"
+#line 3921 "PhotoMetadata.c"
} else {
#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = FALSE;
-#line 3914 "PhotoMetadata.c"
+#line 3925 "PhotoMetadata.c"
}
#line 478 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp13_) {
-#line 3918 "PhotoMetadata.c"
+#line 3929 "PhotoMetadata.c"
GeeList* _tmp18_ = NULL;
const gchar* _tmp19_ = NULL;
GeeHashSet* _tmp20_ = NULL;
@@ -3931,13 +3942,13 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t
_tmp21_ = prepped;
#line 480 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp21_);
-#line 3935 "PhotoMetadata.c"
+#line 3946 "PhotoMetadata.c"
}
#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (prepped);
#line 474 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (value);
-#line 3941 "PhotoMetadata.c"
+#line 3952 "PhotoMetadata.c"
}
}
}
@@ -3949,17 +3960,17 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t
_tmp25_ = _tmp24_;
#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp25_ > 0) {
-#line 3953 "PhotoMetadata.c"
+#line 3964 "PhotoMetadata.c"
GeeList* _tmp26_ = NULL;
#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp26_ = list;
#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp22_ = _tmp26_;
-#line 3959 "PhotoMetadata.c"
+#line 3970 "PhotoMetadata.c"
} else {
#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp22_ = NULL;
-#line 3963 "PhotoMetadata.c"
+#line 3974 "PhotoMetadata.c"
}
#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp27_ = _g_object_ref0 (_tmp22_);
@@ -3973,7 +3984,7 @@ GeeList* photo_metadata_get_string_multiple (PhotoMetadata* self, const gchar* t
values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL);
#line 484 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 3977 "PhotoMetadata.c"
+#line 3988 "PhotoMetadata.c"
}
@@ -3987,7 +3998,7 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar**
_tmp0_ = tags;
#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = tags_length1;
-#line 3991 "PhotoMetadata.c"
+#line 4002 "PhotoMetadata.c"
{
gchar** tag_collection = NULL;
gint tag_collection_length1 = 0;
@@ -3999,14 +4010,14 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar**
tag_collection_length1 = _tmp0__length1;
#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) {
-#line 4003 "PhotoMetadata.c"
+#line 4014 "PhotoMetadata.c"
gchar* _tmp1_ = NULL;
gchar* tag = NULL;
#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = g_strdup (tag_collection[tag_it]);
#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag = _tmp1_;
-#line 4010 "PhotoMetadata.c"
+#line 4021 "PhotoMetadata.c"
{
GeeList* values = NULL;
const gchar* _tmp2_ = NULL;
@@ -4023,7 +4034,7 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar**
_tmp5_ = values;
#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp5_ != NULL) {
-#line 4027 "PhotoMetadata.c"
+#line 4038 "PhotoMetadata.c"
GeeList* _tmp6_ = NULL;
gint _tmp7_ = 0;
gint _tmp8_ = 0;
@@ -4035,11 +4046,11 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar**
_tmp8_ = _tmp7_;
#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = _tmp8_ > 0;
-#line 4039 "PhotoMetadata.c"
+#line 4050 "PhotoMetadata.c"
} else {
#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = FALSE;
-#line 4043 "PhotoMetadata.c"
+#line 4054 "PhotoMetadata.c"
}
#line 496 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp4_) {
@@ -4049,13 +4060,13 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar**
_g_free0 (tag);
#line 497 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 4053 "PhotoMetadata.c"
+#line 4064 "PhotoMetadata.c"
}
#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (values);
#line 494 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (tag);
-#line 4059 "PhotoMetadata.c"
+#line 4070 "PhotoMetadata.c"
}
}
}
@@ -4063,7 +4074,7 @@ GeeList* photo_metadata_get_first_string_multiple (PhotoMetadata* self, gchar**
result = NULL;
#line 500 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 4067 "PhotoMetadata.c"
+#line 4078 "PhotoMetadata.c"
}
@@ -4095,7 +4106,7 @@ void photo_metadata_set_string (PhotoMetadata* self, const gchar* tag, const gch
_tmp3_ = prepped;
#line 505 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp3_ == NULL) {
-#line 4099 "PhotoMetadata.c"
+#line 4110 "PhotoMetadata.c"
const gchar* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
#line 506 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -4108,7 +4119,7 @@ void photo_metadata_set_string (PhotoMetadata* self, const gchar* tag, const gch
_g_free0 (prepped);
#line 508 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 4112 "PhotoMetadata.c"
+#line 4123 "PhotoMetadata.c"
}
#line 511 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = self->priv->exiv2;
@@ -4120,7 +4131,7 @@ void photo_metadata_set_string (PhotoMetadata* self, const gchar* tag, const gch
_tmp9_ = gexiv2_metadata_set_tag_string (_tmp6_, _tmp7_, _tmp8_);
#line 511 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp9_) {
-#line 4124 "PhotoMetadata.c"
+#line 4135 "PhotoMetadata.c"
const gchar* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
@@ -4133,11 +4144,11 @@ void photo_metadata_set_string (PhotoMetadata* self, const gchar* tag, const gch
#line 512 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_warning ("PhotoMetadata.vala:512: Unable to set tag %s to string %s from source " \
"%s", _tmp10_, _tmp11_, _tmp12_);
-#line 4136 "PhotoMetadata.c"
+#line 4147 "PhotoMetadata.c"
}
#line 503 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (prepped);
-#line 4140 "PhotoMetadata.c"
+#line 4151 "PhotoMetadata.c"
}
@@ -4156,7 +4167,7 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
_tmp0_ = tags;
#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = tags_length1;
-#line 4159 "PhotoMetadata.c"
+#line 4170 "PhotoMetadata.c"
{
gchar** tag_collection = NULL;
gint tag_collection_length1 = 0;
@@ -4168,14 +4179,14 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
tag_collection_length1 = _tmp0__length1;
#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) {
-#line 4171 "PhotoMetadata.c"
+#line 4182 "PhotoMetadata.c"
gchar* _tmp1_ = NULL;
gchar* tag = NULL;
#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = g_strdup (tag_collection[tag_it]);
#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag = _tmp1_;
-#line 4178 "PhotoMetadata.c"
+#line 4189 "PhotoMetadata.c"
{
gboolean _tmp2_ = FALSE;
PhotoMetadataSetOption _tmp3_ = 0;
@@ -4185,7 +4196,7 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
if (_tmp3_ == PHOTO_METADATA_SET_OPTION_ALL_DOMAINS) {
#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = TRUE;
-#line 4188 "PhotoMetadata.c"
+#line 4199 "PhotoMetadata.c"
} else {
const gchar* _tmp4_ = NULL;
MetadataDomain _tmp5_ = 0;
@@ -4198,11 +4209,11 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
_tmp6_ = photo_metadata_has_domain (self, _tmp5_);
#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = _tmp6_;
-#line 4201 "PhotoMetadata.c"
+#line 4212 "PhotoMetadata.c"
}
#line 520 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp2_) {
-#line 4205 "PhotoMetadata.c"
+#line 4216 "PhotoMetadata.c"
PhotoMetadataSetGenericValue _tmp7_ = NULL;
void* _tmp7__target = NULL;
const gchar* _tmp8_ = NULL;
@@ -4216,11 +4227,11 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
_tmp7_ (_tmp8_, _tmp7__target);
#line 522 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
written = TRUE;
-#line 4219 "PhotoMetadata.c"
+#line 4230 "PhotoMetadata.c"
}
#line 519 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (tag);
-#line 4223 "PhotoMetadata.c"
+#line 4234 "PhotoMetadata.c"
}
}
}
@@ -4228,21 +4239,21 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
_tmp11_ = option;
#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp11_ == PHOTO_METADATA_SET_OPTION_AT_LEAST_DEFAULT_DOMAIN) {
-#line 4231 "PhotoMetadata.c"
+#line 4242 "PhotoMetadata.c"
gboolean _tmp12_ = FALSE;
#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp12_ = written;
#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = !_tmp12_;
-#line 4237 "PhotoMetadata.c"
+#line 4248 "PhotoMetadata.c"
} else {
#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = FALSE;
-#line 4241 "PhotoMetadata.c"
+#line 4252 "PhotoMetadata.c"
}
#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp10_) {
-#line 4245 "PhotoMetadata.c"
+#line 4256 "PhotoMetadata.c"
gchar** _tmp13_ = NULL;
gint _tmp13__length1 = 0;
#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -4251,15 +4262,15 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
_tmp13__length1 = tags_length1;
#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = _tmp13__length1 > 0;
-#line 4254 "PhotoMetadata.c"
+#line 4265 "PhotoMetadata.c"
} else {
#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = FALSE;
-#line 4258 "PhotoMetadata.c"
+#line 4269 "PhotoMetadata.c"
}
#line 526 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp9_) {
-#line 4262 "PhotoMetadata.c"
+#line 4273 "PhotoMetadata.c"
MetadataDomain default_domain = 0;
gchar** _tmp14_ = NULL;
gint _tmp14__length1 = 0;
@@ -4292,19 +4303,19 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
_tmp19_ = _tmp18_[0];
#line 530 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp17_ (_tmp19_, _tmp17__target);
-#line 4295 "PhotoMetadata.c"
+#line 4306 "PhotoMetadata.c"
{
gint ctr = 0;
#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
ctr = 1;
-#line 4300 "PhotoMetadata.c"
+#line 4311 "PhotoMetadata.c"
{
gboolean _tmp20_ = FALSE;
#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp20_ = TRUE;
#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 4307 "PhotoMetadata.c"
+#line 4318 "PhotoMetadata.c"
gint _tmp22_ = 0;
gchar** _tmp23_ = NULL;
gint _tmp23__length1 = 0;
@@ -4316,13 +4327,13 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
MetadataDomain _tmp28_ = 0;
#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp20_) {
-#line 4319 "PhotoMetadata.c"
+#line 4330 "PhotoMetadata.c"
gint _tmp21_ = 0;
#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp21_ = ctr;
#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
ctr = _tmp21_ + 1;
-#line 4325 "PhotoMetadata.c"
+#line 4336 "PhotoMetadata.c"
}
#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp20_ = FALSE;
@@ -4336,7 +4347,7 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
if (!(_tmp22_ < _tmp23__length1)) {
#line 533 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 4339 "PhotoMetadata.c"
+#line 4350 "PhotoMetadata.c"
}
#line 534 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp24_ = tags;
@@ -4352,7 +4363,7 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
_tmp28_ = default_domain;
#line 534 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp27_ == _tmp28_) {
-#line 4355 "PhotoMetadata.c"
+#line 4366 "PhotoMetadata.c"
PhotoMetadataSetGenericValue _tmp29_ = NULL;
void* _tmp29__target = NULL;
gchar** _tmp30_ = NULL;
@@ -4373,7 +4384,7 @@ static void photo_metadata_set_all_generic (PhotoMetadata* self, gchar** tags, i
_tmp32_ = _tmp30_[_tmp31_];
#line 535 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp29_ (_tmp32_, _tmp29__target);
-#line 4376 "PhotoMetadata.c"
+#line 4387 "PhotoMetadata.c"
}
}
}
@@ -4387,7 +4398,7 @@ static Block1Data* block1_data_ref (Block1Data* _data1_) {
g_atomic_int_inc (&_data1_->_ref_count_);
#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return _data1_;
-#line 4390 "PhotoMetadata.c"
+#line 4401 "PhotoMetadata.c"
}
@@ -4396,7 +4407,7 @@ static void block1_data_unref (void * _userdata_) {
_data1_ = (Block1Data*) _userdata_;
#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
-#line 4399 "PhotoMetadata.c"
+#line 4410 "PhotoMetadata.c"
PhotoMetadata* self;
#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self = _data1_->self;
@@ -4406,7 +4417,7 @@ static void block1_data_unref (void * _userdata_) {
_media_metadata_unref0 (self);
#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_slice_free (Block1Data, _data1_);
-#line 4409 "PhotoMetadata.c"
+#line 4420 "PhotoMetadata.c"
}
}
@@ -4425,14 +4436,14 @@ static void __lambda5_ (Block1Data* _data1_, const gchar* tag) {
_tmp1_ = _data1_->value;
#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string (self, _tmp0_, _tmp1_, PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 4428 "PhotoMetadata.c"
+#line 4439 "PhotoMetadata.c"
}
static void ___lambda5__photo_metadata_set_generic_value (const gchar* tag, gpointer self) {
#line 541 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
__lambda5_ (self, tag);
-#line 4435 "PhotoMetadata.c"
+#line 4446 "PhotoMetadata.c"
}
@@ -4473,7 +4484,7 @@ void photo_metadata_set_all_string (PhotoMetadata* self, gchar** tags, int tags_
block1_data_unref (_data1_);
#line 540 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_data1_ = NULL;
-#line 4476 "PhotoMetadata.c"
+#line 4487 "PhotoMetadata.c"
}
@@ -4484,13 +4495,13 @@ static void _vala_array_add45 (gchar*** array, int* length, int* size, gchar* va
*size = (*size) ? (2 * (*size)) : 4;
#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*array = g_renew (gchar*, *array, (*size) + 1);
-#line 4487 "PhotoMetadata.c"
+#line 4498 "PhotoMetadata.c"
}
#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
(*array)[(*length)++] = value;
#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
(*array)[*length] = NULL;
-#line 4493 "PhotoMetadata.c"
+#line 4504 "PhotoMetadata.c"
}
@@ -4501,13 +4512,13 @@ static void _vala_array_add46 (gchar*** array, int* length, int* size, gchar* va
*size = (*size) ? (2 * (*size)) : 4;
#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*array = g_renew (gchar*, *array, (*size) + 1);
-#line 4504 "PhotoMetadata.c"
+#line 4515 "PhotoMetadata.c"
}
#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
(*array)[(*length)++] = value;
#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
(*array)[*length] = NULL;
-#line 4510 "PhotoMetadata.c"
+#line 4521 "PhotoMetadata.c"
}
@@ -4539,7 +4550,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag,
values_length1 = 0;
#line 545 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_values_size_ = values_length1;
-#line 4542 "PhotoMetadata.c"
+#line 4553 "PhotoMetadata.c"
{
GeeIterator* _value_it = NULL;
GeeCollection* _tmp1_ = NULL;
@@ -4552,7 +4563,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag,
_value_it = _tmp2_;
#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 4555 "PhotoMetadata.c"
+#line 4566 "PhotoMetadata.c"
GeeIterator* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
gchar* value = NULL;
@@ -4570,7 +4581,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag,
if (!_tmp4_) {
#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 4573 "PhotoMetadata.c"
+#line 4584 "PhotoMetadata.c"
}
#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = _value_it;
@@ -4588,7 +4599,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag,
_tmp9_ = prepped;
#line 548 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp9_ != NULL) {
-#line 4591 "PhotoMetadata.c"
+#line 4602 "PhotoMetadata.c"
gchar** _tmp10_ = NULL;
gint _tmp10__length1 = 0;
const gchar* _tmp11_ = NULL;
@@ -4603,7 +4614,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag,
_tmp12_ = g_strdup (_tmp11_);
#line 549 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_array_add45 (&values, &values_length1, &_values_size_, _tmp12_);
-#line 4606 "PhotoMetadata.c"
+#line 4617 "PhotoMetadata.c"
} else {
const gchar* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
@@ -4613,17 +4624,17 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag,
_tmp14_ = tag;
#line 551 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_warning ("PhotoMetadata.vala:551: Unable to set string %s to %s: invalid UTF-8", _tmp13_, _tmp14_);
-#line 4616 "PhotoMetadata.c"
+#line 4627 "PhotoMetadata.c"
}
#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (prepped);
#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (value);
-#line 4622 "PhotoMetadata.c"
+#line 4633 "PhotoMetadata.c"
}
#line 546 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_value_it);
-#line 4626 "PhotoMetadata.c"
+#line 4637 "PhotoMetadata.c"
}
#line 554 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp15_ = values;
@@ -4635,7 +4646,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag,
values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL);
#line 555 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 4638 "PhotoMetadata.c"
+#line 4649 "PhotoMetadata.c"
}
#line 561 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp16_ = values;
@@ -4655,7 +4666,7 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag,
_tmp20_ = gexiv2_metadata_set_tag_multiple (_tmp17_, _tmp18_, _tmp19_);
#line 563 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp20_) {
-#line 4658 "PhotoMetadata.c"
+#line 4669 "PhotoMetadata.c"
gchar** _tmp21_ = NULL;
gint _tmp21__length1 = 0;
const gchar* _tmp22_ = NULL;
@@ -4671,11 +4682,11 @@ void photo_metadata_set_string_multiple (PhotoMetadata* self, const gchar* tag,
#line 564 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_warning ("PhotoMetadata.vala:564: Unable to set %d strings to tag %s from source" \
" %s", _tmp21__length1, _tmp22_, _tmp23_);
-#line 4673 "PhotoMetadata.c"
+#line 4684 "PhotoMetadata.c"
}
#line 544 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
values = (_vala_array_free (values, values_length1, (GDestroyNotify) g_free), NULL);
-#line 4677 "PhotoMetadata.c"
+#line 4688 "PhotoMetadata.c"
}
@@ -4684,7 +4695,7 @@ static Block2Data* block2_data_ref (Block2Data* _data2_) {
g_atomic_int_inc (&_data2_->_ref_count_);
#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return _data2_;
-#line 4686 "PhotoMetadata.c"
+#line 4697 "PhotoMetadata.c"
}
@@ -4693,7 +4704,7 @@ static void block2_data_unref (void * _userdata_) {
_data2_ = (Block2Data*) _userdata_;
#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
-#line 4695 "PhotoMetadata.c"
+#line 4706 "PhotoMetadata.c"
PhotoMetadata* self;
#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self = _data2_->self;
@@ -4703,7 +4714,7 @@ static void block2_data_unref (void * _userdata_) {
_media_metadata_unref0 (self);
#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_slice_free (Block2Data, _data2_);
-#line 4705 "PhotoMetadata.c"
+#line 4716 "PhotoMetadata.c"
}
}
@@ -4722,14 +4733,14 @@ static void __lambda6_ (Block2Data* _data2_, const gchar* tag) {
_tmp1_ = _data2_->values;
#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string_multiple (self, _tmp0_, _tmp1_);
-#line 4724 "PhotoMetadata.c"
+#line 4735 "PhotoMetadata.c"
}
static void ___lambda6__photo_metadata_set_generic_value (const gchar* tag, gpointer self) {
#line 568 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
__lambda6_ (self, tag);
-#line 4731 "PhotoMetadata.c"
+#line 4742 "PhotoMetadata.c"
}
@@ -4770,7 +4781,7 @@ void photo_metadata_set_all_string_multiple (PhotoMetadata* self, gchar** tags,
block2_data_unref (_data2_);
#line 567 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_data2_ = NULL;
-#line 4772 "PhotoMetadata.c"
+#line 4783 "PhotoMetadata.c"
}
@@ -4800,11 +4811,11 @@ gboolean photo_metadata_get_long (PhotoMetadata* self, const gchar* tag, glong*
if (value) {
#line 575 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*value = _vala_value;
-#line 4802 "PhotoMetadata.c"
+#line 4813 "PhotoMetadata.c"
}
#line 575 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 4806 "PhotoMetadata.c"
+#line 4817 "PhotoMetadata.c"
}
#line 578 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = self->priv->exiv2;
@@ -4820,11 +4831,11 @@ gboolean photo_metadata_get_long (PhotoMetadata* self, const gchar* tag, glong*
if (value) {
#line 580 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*value = _vala_value;
-#line 4822 "PhotoMetadata.c"
+#line 4833 "PhotoMetadata.c"
}
#line 580 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 4826 "PhotoMetadata.c"
+#line 4837 "PhotoMetadata.c"
}
@@ -4839,7 +4850,7 @@ gboolean photo_metadata_get_first_long (PhotoMetadata* self, gchar** tags, int t
_tmp0_ = tags;
#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = tags_length1;
-#line 4841 "PhotoMetadata.c"
+#line 4852 "PhotoMetadata.c"
{
gchar** tag_collection = NULL;
gint tag_collection_length1 = 0;
@@ -4851,14 +4862,14 @@ gboolean photo_metadata_get_first_long (PhotoMetadata* self, gchar** tags, int t
tag_collection_length1 = _tmp0__length1;
#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) {
-#line 4853 "PhotoMetadata.c"
+#line 4864 "PhotoMetadata.c"
gchar* _tmp1_ = NULL;
gchar* tag = NULL;
#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = g_strdup (tag_collection[tag_it]);
#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag = _tmp1_;
-#line 4860 "PhotoMetadata.c"
+#line 4871 "PhotoMetadata.c"
{
const gchar* _tmp2_ = NULL;
glong _tmp3_ = 0L;
@@ -4879,15 +4890,15 @@ gboolean photo_metadata_get_first_long (PhotoMetadata* self, gchar** tags, int t
if (value) {
#line 586 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*value = _vala_value;
-#line 4881 "PhotoMetadata.c"
+#line 4892 "PhotoMetadata.c"
}
#line 586 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 4885 "PhotoMetadata.c"
+#line 4896 "PhotoMetadata.c"
}
#line 584 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (tag);
-#line 4889 "PhotoMetadata.c"
+#line 4900 "PhotoMetadata.c"
}
}
}
@@ -4899,11 +4910,11 @@ gboolean photo_metadata_get_first_long (PhotoMetadata* self, gchar** tags, int t
if (value) {
#line 591 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*value = _vala_value;
-#line 4901 "PhotoMetadata.c"
+#line 4912 "PhotoMetadata.c"
}
#line 591 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 4905 "PhotoMetadata.c"
+#line 4916 "PhotoMetadata.c"
}
@@ -4926,7 +4937,7 @@ void photo_metadata_set_long (PhotoMetadata* self, const gchar* tag, glong value
_tmp3_ = gexiv2_metadata_set_tag_long (_tmp0_, _tmp1_, _tmp2_);
#line 595 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp3_) {
-#line 4928 "PhotoMetadata.c"
+#line 4939 "PhotoMetadata.c"
const gchar* _tmp4_ = NULL;
glong _tmp5_ = 0L;
const gchar* _tmp6_ = NULL;
@@ -4939,7 +4950,7 @@ void photo_metadata_set_long (PhotoMetadata* self, const gchar* tag, glong value
#line 596 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_warning ("PhotoMetadata.vala:596: Unable to set tag %s to long %ld from source %" \
"s", _tmp4_, _tmp5_, _tmp6_);
-#line 4940 "PhotoMetadata.c"
+#line 4951 "PhotoMetadata.c"
}
}
@@ -4949,7 +4960,7 @@ static Block3Data* block3_data_ref (Block3Data* _data3_) {
g_atomic_int_inc (&_data3_->_ref_count_);
#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return _data3_;
-#line 4950 "PhotoMetadata.c"
+#line 4961 "PhotoMetadata.c"
}
@@ -4958,7 +4969,7 @@ static void block3_data_unref (void * _userdata_) {
_data3_ = (Block3Data*) _userdata_;
#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
-#line 4959 "PhotoMetadata.c"
+#line 4970 "PhotoMetadata.c"
PhotoMetadata* self;
#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self = _data3_->self;
@@ -4966,7 +4977,7 @@ static void block3_data_unref (void * _userdata_) {
_media_metadata_unref0 (self);
#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_slice_free (Block3Data, _data3_);
-#line 4967 "PhotoMetadata.c"
+#line 4978 "PhotoMetadata.c"
}
}
@@ -4985,14 +4996,14 @@ static void __lambda7_ (Block3Data* _data3_, const gchar* tag) {
_tmp1_ = _data3_->value;
#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_long (self, _tmp0_, _tmp1_);
-#line 4986 "PhotoMetadata.c"
+#line 4997 "PhotoMetadata.c"
}
static void ___lambda7__photo_metadata_set_generic_value (const gchar* tag, gpointer self) {
#line 600 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
__lambda7_ (self, tag);
-#line 4993 "PhotoMetadata.c"
+#line 5004 "PhotoMetadata.c"
}
@@ -5026,7 +5037,7 @@ void photo_metadata_set_all_long (PhotoMetadata* self, gchar** tags, int tags_le
block3_data_unref (_data3_);
#line 599 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_data3_ = NULL;
-#line 5027 "PhotoMetadata.c"
+#line 5038 "PhotoMetadata.c"
}
@@ -5065,11 +5076,11 @@ gboolean photo_metadata_get_rational (PhotoMetadata* self, const gchar* tag, Met
if (rational) {
#line 609 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*rational = _vala_rational;
-#line 5066 "PhotoMetadata.c"
+#line 5077 "PhotoMetadata.c"
}
#line 609 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5070 "PhotoMetadata.c"
+#line 5081 "PhotoMetadata.c"
}
@@ -5084,7 +5095,7 @@ gboolean photo_metadata_get_first_rational (PhotoMetadata* self, gchar** tags, i
_tmp0_ = tags;
#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = tags_length1;
-#line 5085 "PhotoMetadata.c"
+#line 5096 "PhotoMetadata.c"
{
gchar** tag_collection = NULL;
gint tag_collection_length1 = 0;
@@ -5096,14 +5107,14 @@ gboolean photo_metadata_get_first_rational (PhotoMetadata* self, gchar** tags, i
tag_collection_length1 = _tmp0__length1;
#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) {
-#line 5097 "PhotoMetadata.c"
+#line 5108 "PhotoMetadata.c"
gchar* _tmp1_ = NULL;
gchar* tag = NULL;
#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = g_strdup (tag_collection[tag_it]);
#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag = _tmp1_;
-#line 5104 "PhotoMetadata.c"
+#line 5115 "PhotoMetadata.c"
{
const gchar* _tmp2_ = NULL;
MetadataRational _tmp3_ = {0};
@@ -5124,15 +5135,15 @@ gboolean photo_metadata_get_first_rational (PhotoMetadata* self, gchar** tags, i
if (rational) {
#line 615 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*rational = _vala_rational;
-#line 5125 "PhotoMetadata.c"
+#line 5136 "PhotoMetadata.c"
}
#line 615 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5129 "PhotoMetadata.c"
+#line 5140 "PhotoMetadata.c"
}
#line 613 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (tag);
-#line 5133 "PhotoMetadata.c"
+#line 5144 "PhotoMetadata.c"
}
}
}
@@ -5144,11 +5155,11 @@ gboolean photo_metadata_get_first_rational (PhotoMetadata* self, gchar** tags, i
if (rational) {
#line 620 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*rational = _vala_rational;
-#line 5145 "PhotoMetadata.c"
+#line 5156 "PhotoMetadata.c"
}
#line 620 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5149 "PhotoMetadata.c"
+#line 5160 "PhotoMetadata.c"
}
@@ -5182,7 +5193,7 @@ void photo_metadata_set_rational (PhotoMetadata* self, const gchar* tag, Metadat
_tmp6_ = gexiv2_metadata_set_exif_tag_rational (_tmp0_, _tmp1_, _tmp3_, _tmp5_);
#line 624 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp6_) {
-#line 5183 "PhotoMetadata.c"
+#line 5194 "PhotoMetadata.c"
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
@@ -5200,7 +5211,7 @@ void photo_metadata_set_rational (PhotoMetadata* self, const gchar* tag, Metadat
"e %s", _tmp7_, _tmp9_, _tmp10_);
#line 625 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_tmp9_);
-#line 5200 "PhotoMetadata.c"
+#line 5211 "PhotoMetadata.c"
}
}
@@ -5210,7 +5221,7 @@ static Block4Data* block4_data_ref (Block4Data* _data4_) {
g_atomic_int_inc (&_data4_->_ref_count_);
#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return _data4_;
-#line 5210 "PhotoMetadata.c"
+#line 5221 "PhotoMetadata.c"
}
@@ -5219,7 +5230,7 @@ static void block4_data_unref (void * _userdata_) {
_data4_ = (Block4Data*) _userdata_;
#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
-#line 5219 "PhotoMetadata.c"
+#line 5230 "PhotoMetadata.c"
PhotoMetadata* self;
#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self = _data4_->self;
@@ -5227,7 +5238,7 @@ static void block4_data_unref (void * _userdata_) {
_media_metadata_unref0 (self);
#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_slice_free (Block4Data, _data4_);
-#line 5227 "PhotoMetadata.c"
+#line 5238 "PhotoMetadata.c"
}
}
@@ -5246,14 +5257,14 @@ static void __lambda8_ (Block4Data* _data4_, const gchar* tag) {
_tmp1_ = _data4_->rational;
#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_rational (self, _tmp0_, &_tmp1_);
-#line 5246 "PhotoMetadata.c"
+#line 5257 "PhotoMetadata.c"
}
static void ___lambda8__photo_metadata_set_generic_value (const gchar* tag, gpointer self) {
#line 631 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
__lambda8_ (self, tag);
-#line 5253 "PhotoMetadata.c"
+#line 5264 "PhotoMetadata.c"
}
@@ -5289,7 +5300,7 @@ void photo_metadata_set_all_rational (PhotoMetadata* self, gchar** tags, int tag
block4_data_unref (_data4_);
#line 630 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_data4_ = NULL;
-#line 5289 "PhotoMetadata.c"
+#line 5300 "PhotoMetadata.c"
}
@@ -5320,7 +5331,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar
_g_free0 (value);
#line 637 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5320 "PhotoMetadata.c"
+#line 5331 "PhotoMetadata.c"
}
{
const gchar* _tmp3_ = NULL;
@@ -5333,7 +5344,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar
switch (_tmp4_) {
#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_XMP:
-#line 5333 "PhotoMetadata.c"
+#line 5344 "PhotoMetadata.c"
{
MetadataDateTime* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
@@ -5347,7 +5358,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar
_tmp5_ = _tmp7_;
#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5347 "PhotoMetadata.c"
+#line 5358 "PhotoMetadata.c"
goto __catch26_g_error;
}
#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -5362,11 +5373,11 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar
_g_free0 (value);
#line 642 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5362 "PhotoMetadata.c"
+#line 5373 "PhotoMetadata.c"
}
#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_IPTC:
-#line 5366 "PhotoMetadata.c"
+#line 5377 "PhotoMetadata.c"
{
#line 647 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = NULL;
@@ -5374,12 +5385,12 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar
_g_free0 (value);
#line 647 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5374 "PhotoMetadata.c"
+#line 5385 "PhotoMetadata.c"
}
default:
#line 640 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_EXIF:
-#line 5379 "PhotoMetadata.c"
+#line 5390 "PhotoMetadata.c"
{
MetadataDateTime* _tmp9_ = NULL;
const gchar* _tmp10_ = NULL;
@@ -5393,7 +5404,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar
_tmp9_ = _tmp11_;
#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5393 "PhotoMetadata.c"
+#line 5404 "PhotoMetadata.c"
goto __catch26_g_error;
}
#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -5408,7 +5419,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar
_g_free0 (value);
#line 651 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5408 "PhotoMetadata.c"
+#line 5419 "PhotoMetadata.c"
}
}
}
@@ -5442,7 +5453,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar
_g_free0 (value);
#line 656 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5442 "PhotoMetadata.c"
+#line 5453 "PhotoMetadata.c"
}
__finally26:
#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -5453,7 +5464,7 @@ MetadataDateTime* photo_metadata_get_date_time (PhotoMetadata* self, const gchar
g_clear_error (&_inner_error_);
#line 639 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 5453 "PhotoMetadata.c"
+#line 5464 "PhotoMetadata.c"
}
@@ -5467,7 +5478,7 @@ MetadataDateTime* photo_metadata_get_first_date_time (PhotoMetadata* self, gchar
_tmp0_ = tags;
#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = tags_length1;
-#line 5467 "PhotoMetadata.c"
+#line 5478 "PhotoMetadata.c"
{
gchar** tag_collection = NULL;
gint tag_collection_length1 = 0;
@@ -5479,14 +5490,14 @@ MetadataDateTime* photo_metadata_get_first_date_time (PhotoMetadata* self, gchar
tag_collection_length1 = _tmp0__length1;
#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) {
-#line 5479 "PhotoMetadata.c"
+#line 5490 "PhotoMetadata.c"
gchar* _tmp1_ = NULL;
gchar* tag = NULL;
#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = g_strdup (tag_collection[tag_it]);
#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag = _tmp1_;
-#line 5486 "PhotoMetadata.c"
+#line 5497 "PhotoMetadata.c"
{
MetadataDateTime* date_time = NULL;
const gchar* _tmp2_ = NULL;
@@ -5508,13 +5519,13 @@ MetadataDateTime* photo_metadata_get_first_date_time (PhotoMetadata* self, gchar
_g_free0 (tag);
#line 664 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5508 "PhotoMetadata.c"
+#line 5519 "PhotoMetadata.c"
}
#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_metadata_date_time_unref0 (date_time);
#line 661 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (tag);
-#line 5514 "PhotoMetadata.c"
+#line 5525 "PhotoMetadata.c"
}
}
}
@@ -5522,7 +5533,7 @@ MetadataDateTime* photo_metadata_get_first_date_time (PhotoMetadata* self, gchar
result = NULL;
#line 667 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5522 "PhotoMetadata.c"
+#line 5533 "PhotoMetadata.c"
}
@@ -5543,7 +5554,7 @@ void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, Metada
switch (_tmp1_) {
#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_EXIF:
-#line 5543 "PhotoMetadata.c"
+#line 5554 "PhotoMetadata.c"
{
const gchar* _tmp2_ = NULL;
MetadataDateTime* _tmp3_ = NULL;
@@ -5563,11 +5574,11 @@ void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, Metada
_g_free0 (_tmp5_);
#line 674 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 5563 "PhotoMetadata.c"
+#line 5574 "PhotoMetadata.c"
}
#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_XMP:
-#line 5567 "PhotoMetadata.c"
+#line 5578 "PhotoMetadata.c"
{
const gchar* _tmp6_ = NULL;
MetadataDateTime* _tmp7_ = NULL;
@@ -5587,12 +5598,12 @@ void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, Metada
_g_free0 (_tmp9_);
#line 678 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 5587 "PhotoMetadata.c"
+#line 5598 "PhotoMetadata.c"
}
default:
#line 671 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_IPTC:
-#line 5592 "PhotoMetadata.c"
+#line 5603 "PhotoMetadata.c"
{
const gchar* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
@@ -5614,7 +5625,7 @@ void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, Metada
"supported metadata domain %s", _tmp10_, _tmp11_, (_tmp14_ != NULL) ? _tmp14_->value_name : NULL);
#line 685 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 5613 "PhotoMetadata.c"
+#line 5624 "PhotoMetadata.c"
}
}
}
@@ -5623,7 +5634,7 @@ void photo_metadata_set_date_time (PhotoMetadata* self, const gchar* tag, Metada
static gpointer _metadata_date_time_ref0 (gpointer self) {
#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self ? metadata_date_time_ref (self) : NULL;
-#line 5622 "PhotoMetadata.c"
+#line 5633 "PhotoMetadata.c"
}
@@ -5632,7 +5643,7 @@ static Block5Data* block5_data_ref (Block5Data* _data5_) {
g_atomic_int_inc (&_data5_->_ref_count_);
#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return _data5_;
-#line 5631 "PhotoMetadata.c"
+#line 5642 "PhotoMetadata.c"
}
@@ -5641,7 +5652,7 @@ static void block5_data_unref (void * _userdata_) {
_data5_ = (Block5Data*) _userdata_;
#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
-#line 5640 "PhotoMetadata.c"
+#line 5651 "PhotoMetadata.c"
PhotoMetadata* self;
#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self = _data5_->self;
@@ -5651,7 +5662,7 @@ static void block5_data_unref (void * _userdata_) {
_media_metadata_unref0 (self);
#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_slice_free (Block5Data, _data5_);
-#line 5650 "PhotoMetadata.c"
+#line 5661 "PhotoMetadata.c"
}
}
@@ -5670,14 +5681,14 @@ static void __lambda9_ (Block5Data* _data5_, const gchar* tag) {
_tmp1_ = _data5_->date_time;
#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_date_time (self, _tmp0_, _tmp1_);
-#line 5669 "PhotoMetadata.c"
+#line 5680 "PhotoMetadata.c"
}
static void ___lambda9__photo_metadata_set_generic_value (const gchar* tag, gpointer self) {
#line 690 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
__lambda9_ (self, tag);
-#line 5676 "PhotoMetadata.c"
+#line 5687 "PhotoMetadata.c"
}
@@ -5718,7 +5729,7 @@ void photo_metadata_set_all_date_time (PhotoMetadata* self, gchar** tags, int ta
block5_data_unref (_data5_);
#line 689 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_data5_ = NULL;
-#line 5717 "PhotoMetadata.c"
+#line 5728 "PhotoMetadata.c"
}
@@ -5752,7 +5763,7 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ
_tmp0_ = self->priv->exif;
#line 695 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp0_ == NULL) {
-#line 5751 "PhotoMetadata.c"
+#line 5762 "PhotoMetadata.c"
guint8* _tmp1_ = NULL;
gint _tmp1__length1 = 0;
#line 696 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -5763,13 +5774,13 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ
if (result_length1) {
#line 696 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*result_length1 = _tmp1__length1;
-#line 5762 "PhotoMetadata.c"
+#line 5773 "PhotoMetadata.c"
}
#line 696 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp1_;
#line 696 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5768 "PhotoMetadata.c"
+#line 5779 "PhotoMetadata.c"
}
#line 700 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = self->priv->exif;
@@ -5787,7 +5798,7 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ
_tmp6_ = include_preview;
#line 702 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp6_) {
-#line 5786 "PhotoMetadata.c"
+#line 5797 "PhotoMetadata.c"
ExifData* _tmp7_ = NULL;
ExifData* _tmp8_ = NULL;
#line 703 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -5798,7 +5809,7 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ
_tmp8_ = self->priv->exif;
#line 704 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_->size = (guint) 0;
-#line 5797 "PhotoMetadata.c"
+#line 5808 "PhotoMetadata.c"
}
#line 707 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
flattened = NULL;
@@ -5818,21 +5829,21 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ
_tmp11_ = saved_size;
#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp11_ > ((guint) 0)) {
-#line 5817 "PhotoMetadata.c"
+#line 5828 "PhotoMetadata.c"
guchar* _tmp12_ = NULL;
#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp12_ = saved_data;
#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = _tmp12_ != NULL;
-#line 5823 "PhotoMetadata.c"
+#line 5834 "PhotoMetadata.c"
} else {
#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = FALSE;
-#line 5827 "PhotoMetadata.c"
+#line 5838 "PhotoMetadata.c"
}
#line 713 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp10_) {
-#line 5831 "PhotoMetadata.c"
+#line 5842 "PhotoMetadata.c"
guint _tmp13_ = 0U;
guint8* _tmp14_ = NULL;
guint8* _tmp15_ = NULL;
@@ -5874,7 +5885,7 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ
exif_mem_free (_tmp19_, _tmp20_);
#line 717 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_exif_mem_unref0 (_tmp19_);
-#line 5873 "PhotoMetadata.c"
+#line 5884 "PhotoMetadata.c"
}
#line 721 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp21_ = self->priv->exif;
@@ -5896,20 +5907,20 @@ guint8* photo_metadata_flatten_exif (PhotoMetadata* self, gboolean include_previ
if (result_length1) {
#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*result_length1 = _tmp25__length1;
-#line 5895 "PhotoMetadata.c"
+#line 5906 "PhotoMetadata.c"
}
#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp25_;
#line 724 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5901 "PhotoMetadata.c"
+#line 5912 "PhotoMetadata.c"
}
static guint8* _vala_array_dup5 (guint8* self, int length) {
#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_memdup (self, length * sizeof (guint8));
-#line 5908 "PhotoMetadata.c"
+#line 5919 "PhotoMetadata.c"
}
@@ -5945,7 +5956,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le
_buffer_size_ = buffer_length1;
#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp4_) {
-#line 5944 "PhotoMetadata.c"
+#line 5955 "PhotoMetadata.c"
guchar* _tmp5_ = NULL;
gint _tmp5__length1 = 0;
#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -5958,7 +5969,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le
_tmp0__length1 = _tmp5__length1;
#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
__tmp0__size_ = _tmp0__length1;
-#line 5957 "PhotoMetadata.c"
+#line 5968 "PhotoMetadata.c"
} else {
#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = NULL;
@@ -5966,7 +5977,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le
_tmp0__length1 = 0;
#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
__tmp0__size_ = _tmp0__length1;
-#line 5965 "PhotoMetadata.c"
+#line 5976 "PhotoMetadata.c"
}
#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = (_tmp0_ != NULL) ? _vala_array_dup5 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
@@ -5980,7 +5991,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le
if (result_length1) {
#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*result_length1 = _tmp7__length1;
-#line 5979 "PhotoMetadata.c"
+#line 5990 "PhotoMetadata.c"
}
#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp7_;
@@ -5988,7 +5999,7 @@ guint8* photo_metadata_flatten_exif_preview (PhotoMetadata* self, int* result_le
buffer = (g_free (buffer), NULL);
#line 730 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 5987 "PhotoMetadata.c"
+#line 5998 "PhotoMetadata.c"
}
@@ -6021,7 +6032,7 @@ guint photo_metadata_get_preview_count (PhotoMetadata* self) {
_tmp4__length1 = props_length1;
#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp4_ != NULL) {
-#line 6020 "PhotoMetadata.c"
+#line 6031 "PhotoMetadata.c"
GExiv2PreviewProperties** _tmp5_ = NULL;
gint _tmp5__length1 = 0;
#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -6030,17 +6041,17 @@ guint photo_metadata_get_preview_count (PhotoMetadata* self) {
_tmp5__length1 = props_length1;
#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = _tmp5__length1;
-#line 6029 "PhotoMetadata.c"
+#line 6040 "PhotoMetadata.c"
} else {
#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = 0;
-#line 6033 "PhotoMetadata.c"
+#line 6044 "PhotoMetadata.c"
}
#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = (guint) _tmp3_;
#line 736 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 6039 "PhotoMetadata.c"
+#line 6050 "PhotoMetadata.c"
}
@@ -6082,7 +6093,7 @@ PhotoPreview* photo_metadata_get_preview (PhotoMetadata* self, guint number) {
if (_tmp4_ == NULL) {
#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = TRUE;
-#line 6081 "PhotoMetadata.c"
+#line 6092 "PhotoMetadata.c"
} else {
GExiv2PreviewProperties** _tmp5_ = NULL;
gint _tmp5__length1 = 0;
@@ -6095,7 +6106,7 @@ PhotoPreview* photo_metadata_get_preview (PhotoMetadata* self, guint number) {
_tmp6_ = number;
#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = ((guint) _tmp5__length1) <= _tmp6_;
-#line 6094 "PhotoMetadata.c"
+#line 6105 "PhotoMetadata.c"
}
#line 742 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp3_) {
@@ -6103,7 +6114,7 @@ PhotoPreview* photo_metadata_get_preview (PhotoMetadata* self, guint number) {
result = NULL;
#line 743 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 6102 "PhotoMetadata.c"
+#line 6113 "PhotoMetadata.c"
}
#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = self->priv->source_name;
@@ -6123,7 +6134,7 @@ PhotoPreview* photo_metadata_get_preview (PhotoMetadata* self, guint number) {
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_PHOTO_PREVIEW, PhotoPreview);
#line 745 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 6122 "PhotoMetadata.c"
+#line 6133 "PhotoMetadata.c"
}
@@ -6140,7 +6151,7 @@ void photo_metadata_remove_exif_thumbnail (PhotoMetadata* self) {
_tmp1_ = self->priv->exif;
#line 750 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp1_ != NULL) {
-#line 6139 "PhotoMetadata.c"
+#line 6150 "PhotoMetadata.c"
ExifMem* _tmp2_ = NULL;
ExifMem* _tmp3_ = NULL;
ExifData* _tmp4_ = NULL;
@@ -6167,7 +6178,7 @@ void photo_metadata_remove_exif_thumbnail (PhotoMetadata* self) {
_tmp7_ = self->priv->exif;
#line 753 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_->size = (guint) 0;
-#line 6166 "PhotoMetadata.c"
+#line 6177 "PhotoMetadata.c"
}
}
@@ -6185,7 +6196,7 @@ void photo_metadata_remove_tag (PhotoMetadata* self, const gchar* tag) {
_tmp1_ = tag;
#line 758 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gexiv2_metadata_clear_tag (_tmp0_, _tmp1_);
-#line 6184 "PhotoMetadata.c"
+#line 6195 "PhotoMetadata.c"
}
@@ -6198,7 +6209,7 @@ void photo_metadata_remove_tags (PhotoMetadata* self, gchar** tags, int tags_len
_tmp0_ = tags;
#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = tags_length1;
-#line 6197 "PhotoMetadata.c"
+#line 6208 "PhotoMetadata.c"
{
gchar** tag_collection = NULL;
gint tag_collection_length1 = 0;
@@ -6210,14 +6221,14 @@ void photo_metadata_remove_tags (PhotoMetadata* self, gchar** tags, int tags_len
tag_collection_length1 = _tmp0__length1;
#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) {
-#line 6209 "PhotoMetadata.c"
+#line 6220 "PhotoMetadata.c"
gchar* _tmp1_ = NULL;
gchar* tag = NULL;
#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = g_strdup (tag_collection[tag_it]);
#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag = _tmp1_;
-#line 6216 "PhotoMetadata.c"
+#line 6227 "PhotoMetadata.c"
{
const gchar* _tmp2_ = NULL;
#line 763 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -6226,7 +6237,7 @@ void photo_metadata_remove_tags (PhotoMetadata* self, gchar** tags, int tags_len
photo_metadata_remove_tag (self, _tmp2_);
#line 762 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (tag);
-#line 6225 "PhotoMetadata.c"
+#line 6236 "PhotoMetadata.c"
}
}
}
@@ -6243,7 +6254,7 @@ void photo_metadata_clear_domain (PhotoMetadata* self, MetadataDomain domain) {
switch (_tmp0_) {
#line 767 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_EXIF:
-#line 6242 "PhotoMetadata.c"
+#line 6253 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp1_ = NULL;
#line 769 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -6252,11 +6263,11 @@ void photo_metadata_clear_domain (PhotoMetadata* self, MetadataDomain domain) {
gexiv2_metadata_clear_exif (_tmp1_);
#line 770 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 6251 "PhotoMetadata.c"
+#line 6262 "PhotoMetadata.c"
}
#line 767 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_XMP:
-#line 6255 "PhotoMetadata.c"
+#line 6266 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp2_ = NULL;
#line 773 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -6265,11 +6276,11 @@ void photo_metadata_clear_domain (PhotoMetadata* self, MetadataDomain domain) {
gexiv2_metadata_clear_xmp (_tmp2_);
#line 774 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 6264 "PhotoMetadata.c"
+#line 6275 "PhotoMetadata.c"
}
#line 767 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
case METADATA_DOMAIN_IPTC:
-#line 6268 "PhotoMetadata.c"
+#line 6279 "PhotoMetadata.c"
{
GExiv2Metadata* _tmp3_ = NULL;
#line 777 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -6278,12 +6289,12 @@ void photo_metadata_clear_domain (PhotoMetadata* self, MetadataDomain domain) {
gexiv2_metadata_clear_iptc (_tmp3_);
#line 778 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 6277 "PhotoMetadata.c"
+#line 6288 "PhotoMetadata.c"
}
default:
#line 767 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 6282 "PhotoMetadata.c"
+#line 6293 "PhotoMetadata.c"
}
}
@@ -6296,7 +6307,7 @@ void photo_metadata_clear (PhotoMetadata* self) {
_tmp0_ = self->priv->exiv2;
#line 783 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gexiv2_metadata_clear (_tmp0_);
-#line 6295 "PhotoMetadata.c"
+#line 6306 "PhotoMetadata.c"
}
@@ -6317,7 +6328,7 @@ MetadataDateTime* photo_metadata_get_modification_date_time (PhotoMetadata* self
result = _tmp1_;
#line 794 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 6316 "PhotoMetadata.c"
+#line 6327 "PhotoMetadata.c"
}
@@ -6331,7 +6342,7 @@ void photo_metadata_set_modification_date_time (PhotoMetadata* self, MetadataDat
_tmp0_ = date_time;
#line 799 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp0_ != NULL) {
-#line 6330 "PhotoMetadata.c"
+#line 6341 "PhotoMetadata.c"
gchar** _tmp1_ = NULL;
gint _tmp1__length1 = 0;
MetadataDateTime* _tmp2_ = NULL;
@@ -6346,7 +6357,7 @@ void photo_metadata_set_modification_date_time (PhotoMetadata* self, MetadataDat
_tmp3_ = option;
#line 800 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_all_date_time (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_);
-#line 6345 "PhotoMetadata.c"
+#line 6356 "PhotoMetadata.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
@@ -6356,7 +6367,7 @@ void photo_metadata_set_modification_date_time (PhotoMetadata* self, MetadataDat
_tmp4__length1 = photo_metadata_DATE_TIME_TAGS_length1;
#line 802 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_remove_tags (self, _tmp4_, _tmp4__length1);
-#line 6355 "PhotoMetadata.c"
+#line 6366 "PhotoMetadata.c"
}
}
@@ -6378,7 +6389,7 @@ MetadataDateTime* photo_metadata_get_exposure_date_time (PhotoMetadata* self) {
result = _tmp1_;
#line 815 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 6377 "PhotoMetadata.c"
+#line 6388 "PhotoMetadata.c"
}
@@ -6392,7 +6403,7 @@ void photo_metadata_set_exposure_date_time (PhotoMetadata* self, MetadataDateTim
_tmp0_ = date_time;
#line 820 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp0_ != NULL) {
-#line 6391 "PhotoMetadata.c"
+#line 6402 "PhotoMetadata.c"
gchar** _tmp1_ = NULL;
gint _tmp1__length1 = 0;
MetadataDateTime* _tmp2_ = NULL;
@@ -6407,7 +6418,7 @@ void photo_metadata_set_exposure_date_time (PhotoMetadata* self, MetadataDateTim
_tmp3_ = option;
#line 821 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_all_date_time (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_);
-#line 6406 "PhotoMetadata.c"
+#line 6417 "PhotoMetadata.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
@@ -6417,7 +6428,7 @@ void photo_metadata_set_exposure_date_time (PhotoMetadata* self, MetadataDateTim
_tmp4__length1 = photo_metadata_EXPOSURE_DATE_TIME_TAGS_length1;
#line 823 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_remove_tags (self, _tmp4_, _tmp4__length1);
-#line 6416 "PhotoMetadata.c"
+#line 6427 "PhotoMetadata.c"
}
}
@@ -6439,7 +6450,7 @@ MetadataDateTime* photo_metadata_get_digitized_date_time (PhotoMetadata* self) {
result = _tmp1_;
#line 832 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 6438 "PhotoMetadata.c"
+#line 6449 "PhotoMetadata.c"
}
@@ -6453,7 +6464,7 @@ void photo_metadata_set_digitized_date_time (PhotoMetadata* self, MetadataDateTi
_tmp0_ = date_time;
#line 837 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp0_ != NULL) {
-#line 6452 "PhotoMetadata.c"
+#line 6463 "PhotoMetadata.c"
gchar** _tmp1_ = NULL;
gint _tmp1__length1 = 0;
MetadataDateTime* _tmp2_ = NULL;
@@ -6468,7 +6479,7 @@ void photo_metadata_set_digitized_date_time (PhotoMetadata* self, MetadataDateTi
_tmp3_ = option;
#line 838 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_all_date_time (self, _tmp1_, _tmp1__length1, _tmp2_, _tmp3_);
-#line 6467 "PhotoMetadata.c"
+#line 6478 "PhotoMetadata.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
@@ -6478,7 +6489,7 @@ void photo_metadata_set_digitized_date_time (PhotoMetadata* self, MetadataDateTi
_tmp4__length1 = photo_metadata_DIGITIZED_DATE_TIME_TAGS_length1;
#line 840 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_remove_tags (self, _tmp4_, _tmp4__length1);
-#line 6477 "PhotoMetadata.c"
+#line 6488 "PhotoMetadata.c"
}
}
@@ -6499,7 +6510,7 @@ static MetadataDateTime* photo_metadata_real_get_creation_date_time (MediaMetada
_tmp1_ = creation;
#line 845 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp1_ == NULL) {
-#line 6498 "PhotoMetadata.c"
+#line 6509 "PhotoMetadata.c"
MetadataDateTime* _tmp2_ = NULL;
#line 846 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = photo_metadata_get_digitized_date_time (self);
@@ -6507,20 +6518,20 @@ static MetadataDateTime* photo_metadata_real_get_creation_date_time (MediaMetada
_metadata_date_time_unref0 (creation);
#line 846 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
creation = _tmp2_;
-#line 6506 "PhotoMetadata.c"
+#line 6517 "PhotoMetadata.c"
}
#line 848 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = creation;
#line 848 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 6512 "PhotoMetadata.c"
+#line 6523 "PhotoMetadata.c"
}
static gpointer _dimensions_dup0 (gpointer self) {
#line 879 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self ? dimensions_dup (self) : NULL;
-#line 6519 "PhotoMetadata.c"
+#line 6530 "PhotoMetadata.c"
}
@@ -6542,19 +6553,19 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) {
_tmp1__length1 = photo_metadata_HEIGHT_TAGS_length1;
#line 867 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_assert (_tmp0__length1 == _tmp1__length1, "WIDTH_TAGS.length == HEIGHT_TAGS.length");
-#line 6541 "PhotoMetadata.c"
+#line 6552 "PhotoMetadata.c"
{
gint ctr = 0;
#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
ctr = 0;
-#line 6546 "PhotoMetadata.c"
+#line 6557 "PhotoMetadata.c"
{
gboolean _tmp2_ = FALSE;
#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = TRUE;
#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 6553 "PhotoMetadata.c"
+#line 6564 "PhotoMetadata.c"
gint _tmp4_ = 0;
gchar** _tmp5_ = NULL;
gint _tmp5__length1 = 0;
@@ -6578,13 +6589,13 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) {
Dimensions* _tmp19_ = NULL;
#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp2_) {
-#line 6577 "PhotoMetadata.c"
+#line 6588 "PhotoMetadata.c"
gint _tmp3_ = 0;
#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = ctr;
#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
ctr = _tmp3_ + 1;
-#line 6583 "PhotoMetadata.c"
+#line 6594 "PhotoMetadata.c"
}
#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = FALSE;
@@ -6598,7 +6609,7 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) {
if (!(_tmp4_ < _tmp5__length1)) {
#line 868 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 6597 "PhotoMetadata.c"
+#line 6608 "PhotoMetadata.c"
}
#line 872 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = photo_metadata_WIDTH_TAGS;
@@ -6616,7 +6627,7 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) {
if (!_tmp10_) {
#line 873 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
continue;
-#line 6615 "PhotoMetadata.c"
+#line 6626 "PhotoMetadata.c"
}
#line 876 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = photo_metadata_HEIGHT_TAGS;
@@ -6634,7 +6645,7 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) {
if (!_tmp15_) {
#line 877 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
continue;
-#line 6633 "PhotoMetadata.c"
+#line 6644 "PhotoMetadata.c"
}
#line 879 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp16_ = width;
@@ -6648,7 +6659,7 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) {
result = _tmp19_;
#line 879 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 6647 "PhotoMetadata.c"
+#line 6658 "PhotoMetadata.c"
}
}
}
@@ -6656,7 +6667,7 @@ Dimensions* photo_metadata_get_pixel_dimensions (PhotoMetadata* self) {
result = NULL;
#line 882 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 6655 "PhotoMetadata.c"
+#line 6666 "PhotoMetadata.c"
}
@@ -6668,7 +6679,7 @@ void photo_metadata_set_pixel_dimensions (PhotoMetadata* self, Dimensions* dim,
_tmp0_ = dim;
#line 886 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp0_ != NULL) {
-#line 6667 "PhotoMetadata.c"
+#line 6678 "PhotoMetadata.c"
gchar** _tmp1_ = NULL;
gint _tmp1__length1 = 0;
Dimensions* _tmp2_ = NULL;
@@ -6703,7 +6714,7 @@ void photo_metadata_set_pixel_dimensions (PhotoMetadata* self, Dimensions* dim,
_tmp8_ = option;
#line 888 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_all_long (self, _tmp5_, _tmp5__length1, (glong) _tmp7_, _tmp8_);
-#line 6702 "PhotoMetadata.c"
+#line 6713 "PhotoMetadata.c"
} else {
gchar** _tmp9_ = NULL;
gint _tmp9__length1 = 0;
@@ -6721,7 +6732,7 @@ void photo_metadata_set_pixel_dimensions (PhotoMetadata* self, Dimensions* dim,
_tmp10__length1 = photo_metadata_HEIGHT_TAGS_length1;
#line 891 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_remove_tags (self, _tmp10_, _tmp10__length1);
-#line 6720 "PhotoMetadata.c"
+#line 6731 "PhotoMetadata.c"
}
}
@@ -6745,7 +6756,7 @@ static gchar* string_strip (const gchar* self) {
result = _result_;
#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 6744 "PhotoMetadata.c"
+#line 6755 "PhotoMetadata.c"
}
@@ -6765,7 +6776,7 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
result = _tmp1_ != NULL;
#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 6764 "PhotoMetadata.c"
+#line 6775 "PhotoMetadata.c"
}
@@ -6794,7 +6805,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_tmp1_ = photo_metadata_has_tag (self, PHOTO_METADATA_IPHOTO_TITLE_TAG);
#line 933 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp1_) {
-#line 6793 "PhotoMetadata.c"
+#line 6804 "PhotoMetadata.c"
GeeList* _tmp2_ = NULL;
#line 934 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = photo_metadata_get_string_multiple (self, PHOTO_METADATA_IPHOTO_TITLE_TAG);
@@ -6802,7 +6813,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_g_object_unref0 (_tmp0_);
#line 934 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = _tmp2_;
-#line 6801 "PhotoMetadata.c"
+#line 6812 "PhotoMetadata.c"
} else {
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
@@ -6817,7 +6828,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_g_object_unref0 (_tmp0_);
#line 935 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = _tmp4_;
-#line 6816 "PhotoMetadata.c"
+#line 6827 "PhotoMetadata.c"
}
#line 933 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = _g_object_ref0 (_tmp0_);
@@ -6827,7 +6838,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_tmp8_ = titles;
#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp8_ != NULL) {
-#line 6826 "PhotoMetadata.c"
+#line 6837 "PhotoMetadata.c"
GeeList* _tmp9_ = NULL;
gint _tmp10_ = 0;
gint _tmp11_ = 0;
@@ -6839,15 +6850,15 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_tmp11_ = _tmp10_;
#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = _tmp11_ > 0;
-#line 6838 "PhotoMetadata.c"
+#line 6849 "PhotoMetadata.c"
} else {
#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = FALSE;
-#line 6842 "PhotoMetadata.c"
+#line 6853 "PhotoMetadata.c"
}
#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp7_) {
-#line 6846 "PhotoMetadata.c"
+#line 6857 "PhotoMetadata.c"
GeeList* _tmp12_ = NULL;
gpointer _tmp13_ = NULL;
#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -6858,13 +6869,13 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_g_free0 (_tmp6_);
#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = (gchar*) _tmp13_;
-#line 6857 "PhotoMetadata.c"
+#line 6868 "PhotoMetadata.c"
} else {
#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_tmp6_);
#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = NULL;
-#line 6863 "PhotoMetadata.c"
+#line 6874 "PhotoMetadata.c"
}
#line 940 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp14_ = g_strdup (_tmp6_);
@@ -6874,7 +6885,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_tmp15_ = title;
#line 943 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp15_ != NULL) {
-#line 6873 "PhotoMetadata.c"
+#line 6884 "PhotoMetadata.c"
const gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
#line 944 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -6885,7 +6896,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_g_free0 (title);
#line 944 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
title = _tmp17_;
-#line 6884 "PhotoMetadata.c"
+#line 6895 "PhotoMetadata.c"
}
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp21_ = title;
@@ -6893,7 +6904,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_tmp22_ = is_string_empty (_tmp21_);
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp22_) {
-#line 6892 "PhotoMetadata.c"
+#line 6903 "PhotoMetadata.c"
const gchar* _tmp23_ = NULL;
gboolean _tmp24_ = FALSE;
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -6902,15 +6913,15 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_tmp24_ = string_contains (_tmp23_, "\n");
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp20_ = !_tmp24_;
-#line 6901 "PhotoMetadata.c"
+#line 6912 "PhotoMetadata.c"
} else {
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp20_ = FALSE;
-#line 6905 "PhotoMetadata.c"
+#line 6916 "PhotoMetadata.c"
}
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp20_) {
-#line 6909 "PhotoMetadata.c"
+#line 6920 "PhotoMetadata.c"
const gchar* _tmp25_ = NULL;
gboolean _tmp26_ = FALSE;
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -6919,25 +6930,25 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_tmp26_ = string_contains (_tmp25_, "\r");
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp19_ = !_tmp26_;
-#line 6918 "PhotoMetadata.c"
+#line 6929 "PhotoMetadata.c"
} else {
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp19_ = FALSE;
-#line 6922 "PhotoMetadata.c"
+#line 6933 "PhotoMetadata.c"
}
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp19_) {
-#line 6926 "PhotoMetadata.c"
+#line 6937 "PhotoMetadata.c"
const gchar* _tmp27_ = NULL;
#line 948 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp27_ = title;
#line 948 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp18_ = _tmp27_;
-#line 6932 "PhotoMetadata.c"
+#line 6943 "PhotoMetadata.c"
} else {
#line 948 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp18_ = NULL;
-#line 6936 "PhotoMetadata.c"
+#line 6947 "PhotoMetadata.c"
}
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp28_ = g_strdup (_tmp18_);
@@ -6953,7 +6964,7 @@ static gchar* photo_metadata_real_get_title (MediaMetadata* base) {
_g_object_unref0 (_tmp0_);
#line 947 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 6952 "PhotoMetadata.c"
+#line 6963 "PhotoMetadata.c"
}
@@ -6968,19 +6979,19 @@ void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMet
_tmp1_ = is_string_empty (_tmp0_);
#line 952 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp1_) {
-#line 6967 "PhotoMetadata.c"
+#line 6978 "PhotoMetadata.c"
gboolean _tmp2_ = FALSE;
#line 953 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = photo_metadata_has_tag (self, PHOTO_METADATA_IPHOTO_TITLE_TAG);
#line 953 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp2_) {
-#line 6973 "PhotoMetadata.c"
+#line 6984 "PhotoMetadata.c"
const gchar* _tmp3_ = NULL;
#line 954 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = title;
#line 954 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string (self, PHOTO_METADATA_IPHOTO_TITLE_TAG, _tmp3_, PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 6979 "PhotoMetadata.c"
+#line 6990 "PhotoMetadata.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
@@ -6996,7 +7007,7 @@ void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMet
_tmp6_ = option;
#line 956 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_all_string (self, _tmp4_, _tmp4__length1, _tmp5_, _tmp6_);
-#line 6995 "PhotoMetadata.c"
+#line 7006 "PhotoMetadata.c"
}
} else {
gchar** _tmp7_ = NULL;
@@ -7007,7 +7018,7 @@ void photo_metadata_set_title (PhotoMetadata* self, const gchar* title, PhotoMet
_tmp7__length1 = photo_metadata_STANDARD_TITLE_TAGS_length1;
#line 958 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_remove_tags (self, _tmp7_, _tmp7__length1);
-#line 7006 "PhotoMetadata.c"
+#line 7017 "PhotoMetadata.c"
}
}
@@ -7030,48 +7041,121 @@ static gchar* photo_metadata_real_get_comment (MediaMetadata* base) {
result = _tmp1_;
#line 968 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 7029 "PhotoMetadata.c"
+#line 7040 "PhotoMetadata.c"
+}
+
+
+static Block6Data* block6_data_ref (Block6Data* _data6_) {
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ g_atomic_int_inc (&_data6_->_ref_count_);
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ return _data6_;
+#line 7049 "PhotoMetadata.c"
+}
+
+
+static void block6_data_unref (void * _userdata_) {
+ Block6Data* _data6_;
+ _data6_ = (Block6Data*) _userdata_;
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
+#line 7058 "PhotoMetadata.c"
+ PhotoMetadata* self;
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ self = _data6_->self;
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _g_free0 (_data6_->comment);
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _media_metadata_unref0 (self);
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ g_slice_free (Block6Data, _data6_);
+#line 7068 "PhotoMetadata.c"
+ }
+}
+
+
+static void ___lambda10_ (Block6Data* _data6_, const gchar* tag) {
+ PhotoMetadata* self;
+ const gchar* _tmp0_ = NULL;
+ const gchar* _tmp1_ = NULL;
+#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ self = _data6_->self;
+#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ g_return_if_fail (tag != NULL);
+#line 977 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _tmp0_ = tag;
+#line 977 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _tmp1_ = _data6_->comment;
+#line 977 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ photo_metadata_set_string (self, _tmp0_, _tmp1_, PHOTO_METADATA_PREPARE_STRING_OPTIONS & (~PREPARE_INPUT_TEXT_OPTIONS_STRIP_CRLF));
+#line 7087 "PhotoMetadata.c"
+}
+
+
+static void ____lambda10__photo_metadata_set_generic_value (const gchar* tag, gpointer self) {
+#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ ___lambda10_ (self, tag);
+#line 7094 "PhotoMetadata.c"
}
void photo_metadata_set_comment (PhotoMetadata* self, const gchar* comment, PhotoMetadataSetOption option) {
+ Block6Data* _data6_;
const gchar* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ gchar* _tmp1_ = NULL;
+ const gchar* _tmp2_ = NULL;
+ gboolean _tmp3_ = FALSE;
#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail (IS_PHOTO_METADATA (self));
-#line 973 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _data6_ = g_slice_new0 (Block6Data);
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _data6_->_ref_count_ = 1;
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _data6_->self = media_metadata_ref (self);
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = comment;
-#line 973 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- _tmp1_ = is_string_empty (_tmp0_);
-#line 973 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- if (!_tmp1_) {
-#line 7044 "PhotoMetadata.c"
- gchar** _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
- const gchar* _tmp3_ = NULL;
- PhotoMetadataSetOption _tmp4_ = 0;
-#line 974 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- _tmp2_ = photo_metadata_COMMENT_TAGS;
-#line 974 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- _tmp2__length1 = photo_metadata_COMMENT_TAGS_length1;
-#line 974 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- _tmp3_ = comment;
-#line 974 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- _tmp4_ = option;
-#line 974 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- photo_metadata_set_all_string (self, _tmp2_, _tmp2__length1, _tmp3_, _tmp4_);
-#line 7059 "PhotoMetadata.c"
- } else {
- gchar** _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _g_free0 (_data6_->comment);
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _data6_->comment = _tmp1_;
+#line 975 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _tmp2_ = _data6_->comment;
+#line 975 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _tmp3_ = is_string_empty (_tmp2_);
+#line 975 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ if (!_tmp3_) {
+#line 7126 "PhotoMetadata.c"
+ gchar** _tmp4_ = NULL;
+ gint _tmp4__length1 = 0;
+ PhotoMetadataSetOption _tmp5_ = 0;
#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- _tmp5_ = photo_metadata_COMMENT_TAGS;
+ _tmp4_ = photo_metadata_COMMENT_TAGS;
#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- _tmp5__length1 = photo_metadata_COMMENT_TAGS_length1;
+ _tmp4__length1 = photo_metadata_COMMENT_TAGS_length1;
#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- photo_metadata_remove_tags (self, _tmp5_, _tmp5__length1);
-#line 7069 "PhotoMetadata.c"
+ _tmp5_ = option;
+#line 976 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ photo_metadata_set_all_generic (self, _tmp4_, _tmp4__length1, _tmp5_, ____lambda10__photo_metadata_set_generic_value, _data6_);
+#line 7138 "PhotoMetadata.c"
+ } else {
+ gchar** _tmp6_ = NULL;
+ gint _tmp6__length1 = 0;
+#line 981 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _tmp6_ = photo_metadata_COMMENT_TAGS;
+#line 981 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _tmp6__length1 = photo_metadata_COMMENT_TAGS_length1;
+#line 981 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ photo_metadata_remove_tags (self, _tmp6_, _tmp6__length1);
+#line 7148 "PhotoMetadata.c"
}
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ block6_data_unref (_data6_);
+#line 971 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ _data6_ = NULL;
+#line 7154 "PhotoMetadata.c"
}
@@ -7084,114 +7168,114 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa
gboolean _tmp23_ = FALSE;
GeeSet* _tmp24_ = NULL;
GeeSet* _tmp29_ = NULL;
-#line 996 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1001 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 997 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
keywords = NULL;
-#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_KEYWORD_TAGS;
-#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = photo_metadata_KEYWORD_TAGS_length1;
-#line 7091 "PhotoMetadata.c"
+#line 7175 "PhotoMetadata.c"
{
gchar** tag_collection = NULL;
gint tag_collection_length1 = 0;
gint _tag_collection_size_ = 0;
gint tag_it = 0;
-#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag_collection = _tmp0_;
-#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag_collection_length1 = _tmp0__length1;
-#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (tag_it = 0; tag_it < _tmp0__length1; tag_it = tag_it + 1) {
-#line 7103 "PhotoMetadata.c"
+#line 7187 "PhotoMetadata.c"
gchar* _tmp1_ = NULL;
gchar* tag = NULL;
-#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = g_strdup (tag_collection[tag_it]);
-#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
tag = _tmp1_;
-#line 7110 "PhotoMetadata.c"
+#line 7194 "PhotoMetadata.c"
{
GeeCollection* values = NULL;
const gchar* _tmp2_ = NULL;
GeeList* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
GeeCollection* _tmp5_ = NULL;
-#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = tag;
-#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = photo_metadata_get_string_multiple (self, _tmp2_);
-#line 999 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
values = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = values;
-#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp5_ != NULL) {
-#line 7127 "PhotoMetadata.c"
+#line 7211 "PhotoMetadata.c"
GeeCollection* _tmp6_ = NULL;
gint _tmp7_ = 0;
gint _tmp8_ = 0;
-#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = values;
-#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = gee_collection_get_size (_tmp6_);
-#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_ = _tmp7_;
-#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = _tmp8_ > 0;
-#line 7139 "PhotoMetadata.c"
+#line 7223 "PhotoMetadata.c"
} else {
-#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = FALSE;
-#line 7143 "PhotoMetadata.c"
+#line 7227 "PhotoMetadata.c"
}
-#line 1000 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp4_) {
-#line 7147 "PhotoMetadata.c"
+#line 7231 "PhotoMetadata.c"
GeeSet* _tmp9_ = NULL;
-#line 1001 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1006 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = keywords;
-#line 1001 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1006 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp9_ == NULL) {
-#line 7153 "PhotoMetadata.c"
+#line 7237 "PhotoMetadata.c"
GCompareDataFunc _tmp10_ = NULL;
void* _tmp10__target = NULL;
GDestroyNotify _tmp10__target_destroy_notify = NULL;
GeeSet* _tmp11_ = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = compare_func;
-#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10__target = compare_func_target;
-#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10__target_destroy_notify = compare_func_target_destroy_notify;
-#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
compare_func = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
compare_func_target = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
compare_func_target_destroy_notify = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = photo_metadata_create_string_set (self, _tmp10_, _tmp10__target, _tmp10__target_destroy_notify);
-#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (keywords);
-#line 1002 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1007 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
keywords = _tmp11_;
-#line 7176 "PhotoMetadata.c"
+#line 7260 "PhotoMetadata.c"
}
{
GeeIterator* _current_value_it = NULL;
GeeCollection* _tmp12_ = NULL;
GeeIterator* _tmp13_ = NULL;
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp12_ = values;
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_current_value_it = _tmp13_;
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 7190 "PhotoMetadata.c"
+#line 7274 "PhotoMetadata.c"
GeeIterator* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
gchar* current_value = NULL;
@@ -7201,111 +7285,111 @@ GeeSet* photo_metadata_get_keywords (PhotoMetadata* self, GCompareDataFunc compa
const gchar* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp14_ = _current_value_it;
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp15_ = gee_iterator_next (_tmp14_);
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp15_) {
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 7208 "PhotoMetadata.c"
+#line 7292 "PhotoMetadata.c"
}
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp16_ = _current_value_it;
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp17_ = gee_iterator_get (_tmp16_);
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
current_value = (gchar*) _tmp17_;
-#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1010 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp18_ = keywords;
-#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1010 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp19_ = current_value;
-#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1010 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp20_ = hierarchical_tag_utilities_make_flat_tag_safe (_tmp19_);
-#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1010 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp21_ = _tmp20_;
-#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1010 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection), _tmp21_);
-#line 1005 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1010 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_tmp21_);
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (current_value);
-#line 7230 "PhotoMetadata.c"
+#line 7314 "PhotoMetadata.c"
}
-#line 1004 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_current_value_it);
-#line 7234 "PhotoMetadata.c"
+#line 7318 "PhotoMetadata.c"
}
}
-#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (values);
-#line 998 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1003 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (tag);
-#line 7241 "PhotoMetadata.c"
+#line 7325 "PhotoMetadata.c"
}
}
}
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp24_ = keywords;
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp24_ != NULL) {
-#line 7249 "PhotoMetadata.c"
+#line 7333 "PhotoMetadata.c"
GeeSet* _tmp25_ = NULL;
gint _tmp26_ = 0;
gint _tmp27_ = 0;
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp25_ = keywords;
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp26_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp27_ = _tmp26_;
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp23_ = _tmp27_ > 0;
-#line 7261 "PhotoMetadata.c"
+#line 7345 "PhotoMetadata.c"
} else {
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp23_ = FALSE;
-#line 7265 "PhotoMetadata.c"
+#line 7349 "PhotoMetadata.c"
}
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp23_) {
-#line 7269 "PhotoMetadata.c"
+#line 7353 "PhotoMetadata.c"
GeeSet* _tmp28_ = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp28_ = keywords;
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp22_ = _tmp28_;
-#line 7275 "PhotoMetadata.c"
+#line 7359 "PhotoMetadata.c"
} else {
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp22_ = NULL;
-#line 7279 "PhotoMetadata.c"
+#line 7363 "PhotoMetadata.c"
}
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp29_ = _g_object_ref0 (_tmp22_);
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp29_;
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (keywords);
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
(compare_func_target_destroy_notify == NULL) ? NULL : (compare_func_target_destroy_notify (compare_func_target), NULL);
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
compare_func = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
compare_func_target = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
compare_func_target_destroy_notify = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 7297 "PhotoMetadata.c"
+#line 7381 "PhotoMetadata.c"
}
static gpointer _hierarchical_keyword_field_ref0 (gpointer self) {
-#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self ? hierarchical_keyword_field_ref (self) : NULL;
-#line 7304 "PhotoMetadata.c"
+#line 7388 "PhotoMetadata.c"
}
@@ -7318,7 +7402,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_return_val_if_fail (old != NULL, NULL);
#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
-#line 7317 "PhotoMetadata.c"
+#line 7401 "PhotoMetadata.c"
{
GRegex* regex = NULL;
const gchar* _tmp0_ = NULL;
@@ -7349,7 +7433,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 7348 "PhotoMetadata.c"
+#line 7432 "PhotoMetadata.c"
goto __catch27_g_regex_error;
}
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -7358,7 +7442,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 7357 "PhotoMetadata.c"
+#line 7441 "PhotoMetadata.c"
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp6_ = regex;
@@ -7374,7 +7458,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 7373 "PhotoMetadata.c"
+#line 7457 "PhotoMetadata.c"
goto __catch27_g_regex_error;
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -7385,7 +7469,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 7384 "PhotoMetadata.c"
+#line 7468 "PhotoMetadata.c"
}
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
@@ -7399,7 +7483,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
_g_regex_unref0 (regex);
#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 7398 "PhotoMetadata.c"
+#line 7482 "PhotoMetadata.c"
}
goto __finally27;
__catch27_g_regex_error:
@@ -7413,7 +7497,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_assert_not_reached ();
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_g_error_free0 (e);
-#line 7412 "PhotoMetadata.c"
+#line 7496 "PhotoMetadata.c"
}
__finally27:
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -7424,7 +7508,7 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
g_clear_error (&_inner_error_);
#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return NULL;
-#line 7423 "PhotoMetadata.c"
+#line 7507 "PhotoMetadata.c"
}
}
@@ -7448,7 +7532,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
_tmp3_ = end;
#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
-#line 7447 "PhotoMetadata.c"
+#line 7531 "PhotoMetadata.c"
glong _tmp4_ = 0L;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
@@ -7456,7 +7540,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
result = _tmp4_;
#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 7455 "PhotoMetadata.c"
+#line 7539 "PhotoMetadata.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
@@ -7468,7 +7552,7 @@ static glong string_strnlen (gchar* str, glong maxlen) {
result = (glong) (_tmp5_ - _tmp6_);
#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 7467 "PhotoMetadata.c"
+#line 7551 "PhotoMetadata.c"
}
}
@@ -7492,21 +7576,21 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp1_ = offset;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
-#line 7491 "PhotoMetadata.c"
+#line 7575 "PhotoMetadata.c"
glong _tmp2_ = 0L;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp2_ = len;
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
-#line 7497 "PhotoMetadata.c"
+#line 7581 "PhotoMetadata.c"
} else {
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
-#line 7501 "PhotoMetadata.c"
+#line 7585 "PhotoMetadata.c"
}
#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp0_) {
-#line 7505 "PhotoMetadata.c"
+#line 7589 "PhotoMetadata.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
@@ -7518,7 +7602,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
string_length = _tmp5_;
-#line 7517 "PhotoMetadata.c"
+#line 7601 "PhotoMetadata.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
@@ -7528,13 +7612,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp7_ = _tmp6_;
#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
-#line 7527 "PhotoMetadata.c"
+#line 7611 "PhotoMetadata.c"
}
#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp8_ = offset;
#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
-#line 7533 "PhotoMetadata.c"
+#line 7617 "PhotoMetadata.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
@@ -7548,7 +7632,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp11_ = offset;
#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
-#line 7547 "PhotoMetadata.c"
+#line 7631 "PhotoMetadata.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
@@ -7558,13 +7642,13 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp13_ = string_length;
#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
-#line 7557 "PhotoMetadata.c"
+#line 7641 "PhotoMetadata.c"
}
#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp14_ = len;
#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
-#line 7563 "PhotoMetadata.c"
+#line 7647 "PhotoMetadata.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
@@ -7573,7 +7657,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
_tmp16_ = offset;
#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
-#line 7572 "PhotoMetadata.c"
+#line 7656 "PhotoMetadata.c"
}
#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
_tmp17_ = offset;
@@ -7593,7 +7677,7 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
result = _tmp22_;
#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
return result;
-#line 7592 "PhotoMetadata.c"
+#line 7676 "PhotoMetadata.c"
}
@@ -7603,81 +7687,81 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se
HierarchicalTagIndex* _tmp4_ = NULL;
HierarchicalKeywordField** _tmp5_ = NULL;
gint _tmp5__length1 = 0;
-#line 1012 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1017 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail (IS_PHOTO_METADATA (self));
-#line 1012 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1017 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail ((index == NULL) || IS_HIERARCHICAL_TAG_INDEX (index));
-#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS;
-#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1;
-#line 7610 "PhotoMetadata.c"
+#line 7694 "PhotoMetadata.c"
{
HierarchicalKeywordField** current_field_collection = NULL;
gint current_field_collection_length1 = 0;
gint _current_field_collection_size_ = 0;
gint current_field_it = 0;
-#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
current_field_collection = _tmp0_;
-#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
current_field_collection_length1 = _tmp0__length1;
-#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (current_field_it = 0; current_field_it < _tmp0__length1; current_field_it = current_field_it + 1) {
-#line 7622 "PhotoMetadata.c"
+#line 7706 "PhotoMetadata.c"
HierarchicalKeywordField* _tmp1_ = NULL;
HierarchicalKeywordField* current_field = NULL;
-#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = _hierarchical_keyword_field_ref0 (current_field_collection[current_field_it]);
-#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
current_field = _tmp1_;
-#line 7629 "PhotoMetadata.c"
+#line 7713 "PhotoMetadata.c"
{
HierarchicalKeywordField* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
-#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = current_field;
-#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = _tmp2_->field_name;
-#line 1014 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_remove_tag (self, _tmp3_);
-#line 1013 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1018 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_hierarchical_keyword_field_unref0 (current_field);
-#line 7641 "PhotoMetadata.c"
+#line 7725 "PhotoMetadata.c"
}
}
}
-#line 1016 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1021 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = index;
-#line 1016 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1021 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp4_ == NULL) {
-#line 1017 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1022 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return;
-#line 7651 "PhotoMetadata.c"
+#line 7735 "PhotoMetadata.c"
}
-#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS;
-#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1;
-#line 7657 "PhotoMetadata.c"
+#line 7741 "PhotoMetadata.c"
{
HierarchicalKeywordField** current_field_collection = NULL;
gint current_field_collection_length1 = 0;
gint _current_field_collection_size_ = 0;
gint current_field_it = 0;
-#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
current_field_collection = _tmp5_;
-#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
current_field_collection_length1 = _tmp5__length1;
-#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (current_field_it = 0; current_field_it < _tmp5__length1; current_field_it = current_field_it + 1) {
-#line 7669 "PhotoMetadata.c"
+#line 7753 "PhotoMetadata.c"
HierarchicalKeywordField* _tmp6_ = NULL;
HierarchicalKeywordField* current_field = NULL;
-#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = _hierarchical_keyword_field_ref0 (current_field_collection[current_field_it]);
-#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
current_field = _tmp6_;
-#line 7676 "PhotoMetadata.c"
+#line 7760 "PhotoMetadata.c"
{
HierarchicalKeywordField* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
@@ -7686,23 +7770,23 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se
HierarchicalKeywordField* _tmp29_ = NULL;
const gchar* _tmp30_ = NULL;
GeeSet* _tmp31_ = NULL;
-#line 1020 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = current_field;
-#line 1020 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_ = _tmp7_->is_writeable;
-#line 1020 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp8_) {
-#line 1021 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_hierarchical_keyword_field_unref0 (current_field);
-#line 1021 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
continue;
-#line 7695 "PhotoMetadata.c"
+#line 7779 "PhotoMetadata.c"
}
-#line 1023 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = gee_tree_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
-#line 1023 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
writeable_set = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_SET, GeeSet);
-#line 7701 "PhotoMetadata.c"
+#line 7785 "PhotoMetadata.c"
{
GeeIterator* _current_path_it = NULL;
HierarchicalTagIndex* _tmp10_ = NULL;
@@ -7710,23 +7794,23 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se
GeeCollection* _tmp12_ = NULL;
GeeIterator* _tmp13_ = NULL;
GeeIterator* _tmp14_ = NULL;
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = index;
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = hierarchical_tag_index_get_all_paths (_tmp10_);
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp12_ = _tmp11_;
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp14_ = _tmp13_;
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_tmp12_);
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_current_path_it = _tmp14_;
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 7725 "PhotoMetadata.c"
+#line 7809 "PhotoMetadata.c"
GeeIterator* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
gchar* current_path = NULL;
@@ -7741,80 +7825,80 @@ static void photo_metadata_internal_set_hierarchical_keywords (PhotoMetadata* se
gboolean _tmp24_ = FALSE;
GeeSet* _tmp27_ = NULL;
const gchar* _tmp28_ = NULL;
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp15_ = _current_path_it;
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp16_ = gee_iterator_next (_tmp15_);
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp16_) {
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 7748 "PhotoMetadata.c"
+#line 7832 "PhotoMetadata.c"
}
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp17_ = _current_path_it;
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp18_ = gee_iterator_get (_tmp17_);
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
current_path = (gchar*) _tmp18_;
-#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp19_ = current_path;
-#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp20_ = current_field;
-#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp21_ = _tmp20_->path_separator;
-#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp22_ = string_replace (_tmp19_, TAG_PATH_SEPARATOR_STRING, _tmp21_);
-#line 1026 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
writeable_path = _tmp22_;
-#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1033 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp23_ = current_field;
-#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1033 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp24_ = _tmp23_->wants_leading_separator;
-#line 1028 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1033 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp24_) {
-#line 7772 "PhotoMetadata.c"
+#line 7856 "PhotoMetadata.c"
const gchar* _tmp25_ = NULL;
gchar* _tmp26_ = NULL;
-#line 1029 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp25_ = writeable_path;
-#line 1029 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp26_ = string_substring (_tmp25_, (glong) 1, (glong) -1);
-#line 1029 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (writeable_path);
-#line 1029 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
writeable_path = _tmp26_;
-#line 7783 "PhotoMetadata.c"
+#line 7867 "PhotoMetadata.c"
}
-#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1036 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp27_ = writeable_set;
-#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1036 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp28_ = writeable_path;
-#line 1031 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1036 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_COLLECTION, GeeCollection), _tmp28_);
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (writeable_path);
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (current_path);
-#line 7795 "PhotoMetadata.c"
+#line 7879 "PhotoMetadata.c"
}
-#line 1025 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1030 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_current_path_it);
-#line 7799 "PhotoMetadata.c"
+#line 7883 "PhotoMetadata.c"
}
-#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1039 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp29_ = current_field;
-#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1039 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp30_ = _tmp29_->field_name;
-#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1039 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp31_ = writeable_set;
-#line 1034 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1039 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string_multiple (self, _tmp30_, G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (writeable_set);
-#line 1019 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1024 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_hierarchical_keyword_field_unref0 (current_field);
-#line 7813 "PhotoMetadata.c"
+#line 7897 "PhotoMetadata.c"
}
}
}
@@ -7828,23 +7912,23 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords,
GeeTreeSet* _tmp1_ = NULL;
GeeCollection* _tmp2_ = NULL;
GeeCollection* _tmp28_ = NULL;
-#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail (IS_PHOTO_METADATA (self));
-#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail ((keywords == NULL) || GEE_IS_COLLECTION (keywords));
-#line 1039 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = hierarchical_tag_index_new ();
-#line 1039 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
htag_index = _tmp0_;
-#line 1040 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1045 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = gee_tree_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
-#line 1040 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1045 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
flat_keywords = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_SET, GeeSet);
-#line 1042 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = keywords;
-#line 1042 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp2_ != NULL) {
-#line 7843 "PhotoMetadata.c"
+#line 7927 "PhotoMetadata.c"
GeeSet* _tmp24_ = NULL;
HierarchicalTagIndex* _tmp25_ = NULL;
GeeCollection* _tmp26_ = NULL;
@@ -7853,15 +7937,15 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords,
GeeIterator* _keyword_it = NULL;
GeeCollection* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = keywords;
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_keyword_it = _tmp4_;
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 7860 "PhotoMetadata.c"
+#line 7944 "PhotoMetadata.c"
GeeIterator* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
gchar* keyword = NULL;
@@ -7869,52 +7953,52 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords,
gpointer _tmp8_ = NULL;
const gchar* _tmp9_ = NULL;
gboolean _tmp10_ = FALSE;
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = _keyword_it;
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = gee_iterator_next (_tmp5_);
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp6_) {
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 7876 "PhotoMetadata.c"
+#line 7960 "PhotoMetadata.c"
}
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = _keyword_it;
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_ = gee_iterator_get (_tmp7_);
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
keyword = (gchar*) _tmp8_;
-#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1049 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = keyword;
-#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1049 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = g_str_has_prefix (_tmp9_, TAG_PATH_SEPARATOR_STRING);
-#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1049 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp10_) {
-#line 7890 "PhotoMetadata.c"
+#line 7974 "PhotoMetadata.c"
GeeCollection* path_components = NULL;
const gchar* _tmp11_ = NULL;
GeeList* _tmp12_ = NULL;
-#line 1045 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = keyword;
-#line 1045 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp12_ = hierarchical_tag_utilities_enumerate_path_components (_tmp11_);
-#line 1045 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
path_components = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 7900 "PhotoMetadata.c"
+#line 7984 "PhotoMetadata.c"
{
GeeIterator* _component_it = NULL;
GeeCollection* _tmp13_ = NULL;
GeeIterator* _tmp14_ = NULL;
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = path_components;
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp14_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_component_it = _tmp14_;
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 7913 "PhotoMetadata.c"
+#line 7997 "PhotoMetadata.c"
GeeIterator* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
gchar* component = NULL;
@@ -7923,117 +8007,117 @@ void photo_metadata_set_keywords (PhotoMetadata* self, GeeCollection* keywords,
HierarchicalTagIndex* _tmp19_ = NULL;
const gchar* _tmp20_ = NULL;
const gchar* _tmp21_ = NULL;
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp15_ = _component_it;
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp16_ = gee_iterator_next (_tmp15_);
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp16_) {
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 7930 "PhotoMetadata.c"
+#line 8014 "PhotoMetadata.c"
}
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp17_ = _component_it;
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp18_ = gee_iterator_get (_tmp17_);
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
component = (gchar*) _tmp18_;
-#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1053 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp19_ = htag_index;
-#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1053 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp20_ = component;
-#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1053 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp21_ = keyword;
-#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1053 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
hierarchical_tag_index_add_path (_tmp19_, _tmp20_, _tmp21_);
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (component);
-#line 7948 "PhotoMetadata.c"
+#line 8032 "PhotoMetadata.c"
}
-#line 1047 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1052 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_component_it);
-#line 7952 "PhotoMetadata.c"
+#line 8036 "PhotoMetadata.c"
}
-#line 1044 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1049 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (path_components);
-#line 7956 "PhotoMetadata.c"
+#line 8040 "PhotoMetadata.c"
} else {
GeeSet* _tmp22_ = NULL;
const gchar* _tmp23_ = NULL;
-#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1055 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp22_ = flat_keywords;
-#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1055 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp23_ = keyword;
-#line 1050 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1055 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_COLLECTION, GeeCollection), _tmp23_);
-#line 7966 "PhotoMetadata.c"
+#line 8050 "PhotoMetadata.c"
}
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (keyword);
-#line 7970 "PhotoMetadata.c"
+#line 8054 "PhotoMetadata.c"
}
-#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1048 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_keyword_it);
-#line 7974 "PhotoMetadata.c"
+#line 8058 "PhotoMetadata.c"
}
-#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp24_ = flat_keywords;
-#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp25_ = htag_index;
-#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp26_ = hierarchical_tag_index_get_all_tags (_tmp25_);
-#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp27_ = _tmp26_;
-#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gee_collection_add_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection), _tmp27_);
-#line 1054 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_tmp27_);
-#line 7988 "PhotoMetadata.c"
+#line 8072 "PhotoMetadata.c"
}
-#line 1057 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp28_ = keywords;
-#line 1057 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp28_ != NULL) {
-#line 7994 "PhotoMetadata.c"
+#line 8078 "PhotoMetadata.c"
gchar** _tmp29_ = NULL;
gint _tmp29__length1 = 0;
GeeSet* _tmp30_ = NULL;
PhotoMetadataSetOption _tmp31_ = 0;
HierarchicalTagIndex* _tmp32_ = NULL;
-#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1063 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp29_ = photo_metadata_KEYWORD_TAGS;
-#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1063 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp29__length1 = photo_metadata_KEYWORD_TAGS_length1;
-#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1063 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp30_ = flat_keywords;
-#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1063 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp31_ = option;
-#line 1058 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1063 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_all_string_multiple (self, _tmp29_, _tmp29__length1, G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_COLLECTION, GeeCollection), _tmp31_);
-#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1064 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp32_ = htag_index;
-#line 1059 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1064 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_internal_set_hierarchical_keywords (self, _tmp32_);
-#line 8014 "PhotoMetadata.c"
+#line 8098 "PhotoMetadata.c"
} else {
gchar** _tmp33_ = NULL;
gint _tmp33__length1 = 0;
-#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1066 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp33_ = photo_metadata_KEYWORD_TAGS;
-#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1066 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp33__length1 = photo_metadata_KEYWORD_TAGS_length1;
-#line 1061 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1066 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_remove_tags (self, _tmp33_, _tmp33__length1);
-#line 1062 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_internal_set_hierarchical_keywords (self, NULL);
-#line 8026 "PhotoMetadata.c"
+#line 8110 "PhotoMetadata.c"
}
-#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (flat_keywords);
-#line 1038 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1043 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_hierarchical_tag_index_unref0 (htag_index);
-#line 8032 "PhotoMetadata.c"
+#line 8116 "PhotoMetadata.c"
}
@@ -8041,32 +8125,32 @@ gboolean photo_metadata_has_hierarchical_keywords (PhotoMetadata* self) {
gboolean result = FALSE;
HierarchicalKeywordField** _tmp0_ = NULL;
gint _tmp0__length1 = 0;
-#line 1066 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1071 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE);
-#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1072 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS;
-#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1072 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1;
-#line 8046 "PhotoMetadata.c"
+#line 8130 "PhotoMetadata.c"
{
HierarchicalKeywordField** field_collection = NULL;
gint field_collection_length1 = 0;
gint _field_collection_size_ = 0;
gint field_it = 0;
-#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1072 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
field_collection = _tmp0_;
-#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1072 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
field_collection_length1 = _tmp0__length1;
-#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1072 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (field_it = 0; field_it < _tmp0__length1; field_it = field_it + 1) {
-#line 8058 "PhotoMetadata.c"
+#line 8142 "PhotoMetadata.c"
HierarchicalKeywordField* _tmp1_ = NULL;
HierarchicalKeywordField* field = NULL;
-#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1072 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = _hierarchical_keyword_field_ref0 (field_collection[field_it]);
-#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1072 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
field = _tmp1_;
-#line 8065 "PhotoMetadata.c"
+#line 8149 "PhotoMetadata.c"
{
GeeCollection* values = NULL;
HierarchicalKeywordField* _tmp2_ = NULL;
@@ -8074,61 +8158,61 @@ gboolean photo_metadata_has_hierarchical_keywords (PhotoMetadata* self) {
GeeList* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
GeeCollection* _tmp6_ = NULL;
-#line 1068 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1073 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = field;
-#line 1068 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1073 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = _tmp2_->field_name;
-#line 1068 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1073 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = photo_metadata_get_string_multiple (self, _tmp3_);
-#line 1068 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1073 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
values = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = values;
-#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp6_ != NULL) {
-#line 8085 "PhotoMetadata.c"
+#line 8169 "PhotoMetadata.c"
GeeCollection* _tmp7_ = NULL;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
-#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = values;
-#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_ = gee_collection_get_size (_tmp7_);
-#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = _tmp8_;
-#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = _tmp9_ > 0;
-#line 8097 "PhotoMetadata.c"
+#line 8181 "PhotoMetadata.c"
} else {
-#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = FALSE;
-#line 8101 "PhotoMetadata.c"
+#line 8185 "PhotoMetadata.c"
}
-#line 1070 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1075 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp5_) {
-#line 1071 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1076 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = TRUE;
-#line 1071 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1076 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (values);
-#line 1071 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1076 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_hierarchical_keyword_field_unref0 (field);
-#line 1071 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1076 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8113 "PhotoMetadata.c"
+#line 8197 "PhotoMetadata.c"
}
-#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1072 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (values);
-#line 1067 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1072 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_hierarchical_keyword_field_unref0 (field);
-#line 8119 "PhotoMetadata.c"
+#line 8203 "PhotoMetadata.c"
}
}
}
-#line 1074 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1079 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = FALSE;
-#line 1074 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1079 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8127 "PhotoMetadata.c"
+#line 8211 "PhotoMetadata.c"
}
@@ -8140,40 +8224,40 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) {
HierarchicalKeywordField** _tmp2_ = NULL;
gint _tmp2__length1 = 0;
GError * _inner_error_ = NULL;
-#line 1077 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1078 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_has_hierarchical_keywords (self);
-#line 1078 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_assert (_tmp0_, "has_hierarchical_keywords()");
-#line 1080 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_create_string_set (self, NULL, NULL, NULL);
-#line 1080 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
h_keywords = _tmp1_;
-#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = photo_metadata_HIERARCHICAL_KEYWORD_TAGS;
-#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2__length1 = photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1;
-#line 8153 "PhotoMetadata.c"
+#line 8237 "PhotoMetadata.c"
{
HierarchicalKeywordField** field_collection = NULL;
gint field_collection_length1 = 0;
gint _field_collection_size_ = 0;
gint field_it = 0;
-#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
field_collection = _tmp2_;
-#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
field_collection_length1 = _tmp2__length1;
-#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
for (field_it = 0; field_it < _tmp2__length1; field_it = field_it + 1) {
-#line 8165 "PhotoMetadata.c"
+#line 8249 "PhotoMetadata.c"
HierarchicalKeywordField* _tmp3_ = NULL;
HierarchicalKeywordField* field = NULL;
-#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = _hierarchical_keyword_field_ref0 (field_collection[field_it]);
-#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
field = _tmp3_;
-#line 8172 "PhotoMetadata.c"
+#line 8256 "PhotoMetadata.c"
{
GeeCollection* values = NULL;
HierarchicalKeywordField* _tmp4_ = NULL;
@@ -8183,85 +8267,85 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) {
GeeCollection* _tmp8_ = NULL;
GeeArrayList* transformed_values = NULL;
GeeArrayList* _tmp12_ = NULL;
-#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = field;
-#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = _tmp4_->field_name;
-#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = photo_metadata_get_string_multiple (self, _tmp5_);
-#line 1083 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
values = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_ = values;
-#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp8_ == NULL) {
-#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = TRUE;
-#line 8196 "PhotoMetadata.c"
+#line 8280 "PhotoMetadata.c"
} else {
GeeCollection* _tmp9_ = NULL;
gint _tmp10_ = 0;
gint _tmp11_ = 0;
-#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = values;
-#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = gee_collection_get_size (_tmp9_);
-#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = _tmp10_;
-#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = _tmp11_ < 1;
-#line 8209 "PhotoMetadata.c"
+#line 8293 "PhotoMetadata.c"
}
-#line 1085 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp7_) {
-#line 1086 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (values);
-#line 1086 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_hierarchical_keyword_field_unref0 (field);
-#line 1086 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
continue;
-#line 8219 "PhotoMetadata.c"
+#line 8303 "PhotoMetadata.c"
}
-#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1093 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp12_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
-#line 1088 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1093 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
transformed_values = _tmp12_;
-#line 8225 "PhotoMetadata.c"
+#line 8309 "PhotoMetadata.c"
{
GeeIterator* _current_value_it = NULL;
GeeCollection* _tmp13_ = NULL;
GeeIterator* _tmp14_ = NULL;
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = values;
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp14_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_current_value_it = _tmp14_;
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 8238 "PhotoMetadata.c"
+#line 8322 "PhotoMetadata.c"
GeeIterator* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
gchar* current_value = NULL;
GeeIterator* _tmp17_ = NULL;
gpointer _tmp18_ = NULL;
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp15_ = _current_value_it;
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp16_ = gee_iterator_next (_tmp15_);
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp16_) {
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 8252 "PhotoMetadata.c"
+#line 8336 "PhotoMetadata.c"
}
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp17_ = _current_value_it;
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp18_ = gee_iterator_get (_tmp17_);
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
current_value = (gchar*) _tmp18_;
-#line 8260 "PhotoMetadata.c"
+#line 8344 "PhotoMetadata.c"
{
GeeList* transformed = NULL;
HierarchicalKeywordField* _tmp19_ = NULL;
@@ -8270,30 +8354,30 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) {
GeeList* _tmp22_ = NULL;
GeeArrayList* _tmp23_ = NULL;
GeeList* _tmp24_ = NULL;
-#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1096 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp19_ = field;
-#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1096 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp20_ = _tmp19_->transformer;
-#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1096 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp21_ = current_value;
-#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1096 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp22_ = keyword_transformer_transform (_tmp20_, _tmp21_, &_inner_error_);
-#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1096 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
transformed = _tmp22_;
-#line 1091 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1096 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8281 "PhotoMetadata.c"
+#line 8365 "PhotoMetadata.c"
goto __catch28_g_error;
}
-#line 1092 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1097 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp23_ = transformed_values;
-#line 1092 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1097 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp24_ = transformed;
-#line 1092 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1097 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gee_array_list_add_all (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (transformed);
-#line 8292 "PhotoMetadata.c"
+#line 8376 "PhotoMetadata.c"
}
goto __finally28;
__catch28_g_error:
@@ -8302,52 +8386,52 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) {
const gchar* _tmp25_ = NULL;
GError* _tmp26_ = NULL;
const gchar* _tmp27_ = NULL;
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_error_ = _inner_error_;
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_inner_error_ = NULL;
-#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1099 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp25_ = current_value;
-#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1099 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp26_ = _error_;
-#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1099 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp27_ = _tmp26_->message;
-#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- g_critical ("PhotoMetadata.vala:1094: Failed to transform tag value %s: %s", _tmp25_, _tmp27_);
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1099 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+ g_critical ("PhotoMetadata.vala:1099: Failed to transform tag value %s: %s", _tmp25_, _tmp27_);
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_error_free0 (_error_);
-#line 8315 "PhotoMetadata.c"
+#line 8399 "PhotoMetadata.c"
}
__finally28:
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (current_value);
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_current_value_it);
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (transformed_values);
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (values);
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_hierarchical_keyword_field_unref0 (field);
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (h_keywords);
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.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 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_clear_error (&_inner_error_);
-#line 1090 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1095 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return NULL;
-#line 8338 "PhotoMetadata.c"
+#line 8422 "PhotoMetadata.c"
}
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (current_value);
-#line 8342 "PhotoMetadata.c"
+#line 8426 "PhotoMetadata.c"
}
-#line 1089 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1094 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_current_value_it);
-#line 8346 "PhotoMetadata.c"
+#line 8430 "PhotoMetadata.c"
}
{
GeeArrayList* _current_value_list = NULL;
@@ -8358,25 +8442,25 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) {
gint _tmp31_ = 0;
gint _tmp32_ = 0;
gint _current_value_index = 0;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp28_ = transformed_values;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp29_ = _g_object_ref0 (_tmp28_);
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_current_value_list = _tmp29_;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp30_ = _current_value_list;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp31_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp32_ = _tmp31_;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_current_value_size = _tmp32_;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_current_value_index = -1;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 8375 "PhotoMetadata.c"
+#line 8459 "PhotoMetadata.c"
gint _tmp33_ = 0;
gint _tmp34_ = 0;
gint _tmp35_ = 0;
@@ -8390,78 +8474,78 @@ GeeSet* photo_metadata_get_hierarchical_keywords (PhotoMetadata* self) {
const gchar* _tmp41_ = NULL;
gchar* _tmp42_ = NULL;
const gchar* _tmp43_ = NULL;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp33_ = _current_value_index;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_current_value_index = _tmp33_ + 1;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp34_ = _current_value_index;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp35_ = _current_value_size;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!(_tmp34_ < _tmp35_)) {
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 8401 "PhotoMetadata.c"
+#line 8485 "PhotoMetadata.c"
}
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp36_ = _current_value_list;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp37_ = _current_value_index;
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp38_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp37_);
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
current_value = (gchar*) _tmp38_;
-#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp39_ = current_value;
-#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp40_ = field;
-#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp41_ = _tmp40_->path_separator;
-#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp42_ = hierarchical_tag_utilities_canonicalize (_tmp39_, _tmp41_);
-#line 1101 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
canonicalized = _tmp42_;
-#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp43_ = canonicalized;
-#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp43_ != NULL) {
-#line 8425 "PhotoMetadata.c"
+#line 8509 "PhotoMetadata.c"
GeeSet* _tmp44_ = NULL;
const gchar* _tmp45_ = NULL;
-#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1111 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp44_ = h_keywords;
-#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1111 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp45_ = canonicalized;
-#line 1106 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1111 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, GEE_TYPE_COLLECTION, GeeCollection), _tmp45_);
-#line 8434 "PhotoMetadata.c"
+#line 8518 "PhotoMetadata.c"
}
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (canonicalized);
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (current_value);
-#line 8440 "PhotoMetadata.c"
+#line 8524 "PhotoMetadata.c"
}
-#line 1100 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1105 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (_current_value_list);
-#line 8444 "PhotoMetadata.c"
+#line 8528 "PhotoMetadata.c"
}
-#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (transformed_values);
-#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_object_unref0 (values);
-#line 1082 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1087 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_hierarchical_keyword_field_unref0 (field);
-#line 8452 "PhotoMetadata.c"
+#line 8536 "PhotoMetadata.c"
}
}
}
-#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1115 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = h_keywords;
-#line 1110 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1115 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8460 "PhotoMetadata.c"
+#line 8544 "PhotoMetadata.c"
}
@@ -8469,17 +8553,17 @@ gboolean photo_metadata_has_orientation (PhotoMetadata* self) {
gboolean result = FALSE;
GExiv2Metadata* _tmp0_ = NULL;
GExiv2Orientation _tmp1_ = 0;
-#line 1113 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE);
-#line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1119 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = self->priv->exiv2;
-#line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1119 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = gexiv2_metadata_get_orientation (_tmp0_);
-#line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1119 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp1_ == GEXIV2_ORIENTATION_UNSPECIFIED;
-#line 1114 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1119 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8478 "PhotoMetadata.c"
+#line 8562 "PhotoMetadata.c"
}
@@ -8491,58 +8575,58 @@ Orientation photo_metadata_get_orientation (PhotoMetadata* self) {
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
GExiv2Orientation _tmp4_ = 0;
-#line 1118 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), 0);
-#line 1121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = self->priv->exiv2;
-#line 1121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = gexiv2_metadata_get_orientation (_tmp0_);
-#line 1121 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
orientation = _tmp1_;
-#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1127 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = orientation;
-#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1127 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp4_ == GEXIV2_ORIENTATION_UNSPECIFIED) {
-#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1127 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = TRUE;
-#line 8504 "PhotoMetadata.c"
+#line 8588 "PhotoMetadata.c"
} else {
GExiv2Orientation _tmp5_ = 0;
-#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1127 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = orientation;
-#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1127 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = _tmp5_ < ORIENTATION_MIN;
-#line 8511 "PhotoMetadata.c"
+#line 8595 "PhotoMetadata.c"
}
-#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1127 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp3_) {
-#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1127 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = TRUE;
-#line 8517 "PhotoMetadata.c"
+#line 8601 "PhotoMetadata.c"
} else {
GExiv2Orientation _tmp6_ = 0;
-#line 1123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = orientation;
-#line 1123 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1128 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = _tmp6_ > ORIENTATION_MAX;
-#line 8524 "PhotoMetadata.c"
+#line 8608 "PhotoMetadata.c"
}
-#line 1122 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1127 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp2_) {
-#line 1124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = ORIENTATION_TOP_LEFT;
-#line 1124 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8532 "PhotoMetadata.c"
+#line 8616 "PhotoMetadata.c"
} else {
GExiv2Orientation _tmp7_ = 0;
-#line 1126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = orientation;
-#line 1126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = (Orientation) _tmp7_;
-#line 1126 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8541 "PhotoMetadata.c"
+#line 8625 "PhotoMetadata.c"
}
}
@@ -8550,15 +8634,15 @@ Orientation photo_metadata_get_orientation (PhotoMetadata* self) {
void photo_metadata_set_orientation (PhotoMetadata* self, Orientation orientation) {
GExiv2Metadata* _tmp0_ = NULL;
Orientation _tmp1_ = 0;
-#line 1129 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1134 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail (IS_PHOTO_METADATA (self));
-#line 1131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = self->priv->exiv2;
-#line 1131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = orientation;
-#line 1131 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
gexiv2_metadata_set_orientation (_tmp0_, (GExiv2Orientation) _tmp1_);
-#line 8557 "PhotoMetadata.c"
+#line 8641 "PhotoMetadata.c"
}
@@ -8576,127 +8660,127 @@ gboolean photo_metadata_get_gps (PhotoMetadata* self, gdouble* longitude, gchar*
gboolean _tmp4_ = FALSE;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1134 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1139 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE);
-#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1141 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = self->priv->exiv2;
-#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1141 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = gexiv2_metadata_get_gps_info (_tmp0_, &_tmp1_, &_tmp2_, &_tmp3_);
-#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1141 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_longitude = _tmp1_;
-#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1141 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_latitude = _tmp2_;
-#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1141 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_altitude = _tmp3_;
-#line 1136 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1141 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp4_) {
-#line 1137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1142 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_vala_long_ref);
-#line 1137 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1142 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_long_ref = NULL;
-#line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_vala_lat_ref);
-#line 1138 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_lat_ref = NULL;
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = FALSE;
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (longitude) {
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*longitude = _vala_longitude;
-#line 8603 "PhotoMetadata.c"
+#line 8687 "PhotoMetadata.c"
}
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (long_ref) {
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*long_ref = _vala_long_ref;
-#line 8609 "PhotoMetadata.c"
+#line 8693 "PhotoMetadata.c"
} else {
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_vala_long_ref);
-#line 8613 "PhotoMetadata.c"
+#line 8697 "PhotoMetadata.c"
}
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (latitude) {
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*latitude = _vala_latitude;
-#line 8619 "PhotoMetadata.c"
+#line 8703 "PhotoMetadata.c"
}
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (lat_ref) {
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*lat_ref = _vala_lat_ref;
-#line 8625 "PhotoMetadata.c"
+#line 8709 "PhotoMetadata.c"
} else {
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_vala_lat_ref);
-#line 8629 "PhotoMetadata.c"
+#line 8713 "PhotoMetadata.c"
}
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (altitude) {
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*altitude = _vala_altitude;
-#line 8635 "PhotoMetadata.c"
+#line 8719 "PhotoMetadata.c"
}
-#line 1140 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1145 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8639 "PhotoMetadata.c"
+#line 8723 "PhotoMetadata.c"
}
-#line 1143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = photo_metadata_get_string (self, "Exif.GPSInfo.GPSLongitudeRef", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_vala_long_ref);
-#line 1143 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1148 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_long_ref = _tmp5_;
-#line 1144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1149 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = photo_metadata_get_string (self, "Exif.GPSInfo.GPSLatitudeRef", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1149 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_vala_lat_ref);
-#line 1144 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1149 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_lat_ref = _tmp6_;
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = TRUE;
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (longitude) {
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*longitude = _vala_longitude;
-#line 8659 "PhotoMetadata.c"
+#line 8743 "PhotoMetadata.c"
}
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (long_ref) {
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*long_ref = _vala_long_ref;
-#line 8665 "PhotoMetadata.c"
+#line 8749 "PhotoMetadata.c"
} else {
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_vala_long_ref);
-#line 8669 "PhotoMetadata.c"
+#line 8753 "PhotoMetadata.c"
}
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (latitude) {
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*latitude = _vala_latitude;
-#line 8675 "PhotoMetadata.c"
+#line 8759 "PhotoMetadata.c"
}
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (lat_ref) {
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*lat_ref = _vala_lat_ref;
-#line 8681 "PhotoMetadata.c"
+#line 8765 "PhotoMetadata.c"
} else {
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_vala_lat_ref);
-#line 8685 "PhotoMetadata.c"
+#line 8769 "PhotoMetadata.c"
}
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (altitude) {
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*altitude = _vala_altitude;
-#line 8691 "PhotoMetadata.c"
+#line 8775 "PhotoMetadata.c"
}
-#line 1146 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1151 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8695 "PhotoMetadata.c"
+#line 8779 "PhotoMetadata.c"
}
@@ -8705,23 +8789,23 @@ gboolean photo_metadata_get_exposure (PhotoMetadata* self, MetadataRational* exp
gboolean result = FALSE;
MetadataRational _tmp0_ = {0};
gboolean _tmp1_ = FALSE;
-#line 1149 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1154 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE);
-#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_get_rational (self, "Exif.Photo.ExposureTime", &_tmp0_);
-#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_exposure = _tmp0_;
-#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp1_;
-#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (exposure) {
-#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*exposure = _vala_exposure;
-#line 8716 "PhotoMetadata.c"
+#line 8800 "PhotoMetadata.c"
}
-#line 1150 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8720 "PhotoMetadata.c"
+#line 8804 "PhotoMetadata.c"
}
@@ -8732,37 +8816,37 @@ gchar* photo_metadata_get_exposure_string (PhotoMetadata* self) {
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
gchar* _tmp3_ = NULL;
-#line 1153 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1160 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_get_rational (self, "Exif.Photo.ExposureTime", &_tmp0_);
-#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1160 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
exposure_time = _tmp0_;
-#line 1155 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1160 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp1_) {
-#line 1156 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = NULL;
-#line 1156 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8743 "PhotoMetadata.c"
+#line 8827 "PhotoMetadata.c"
}
-#line 1158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1163 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = metadata_rational_is_valid (&exposure_time);
-#line 1158 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1163 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp2_) {
-#line 1159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = NULL;
-#line 1159 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8753 "PhotoMetadata.c"
+#line 8837 "PhotoMetadata.c"
}
-#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.ExposureTime", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp3_;
-#line 1161 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1166 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8761 "PhotoMetadata.c"
+#line 8845 "PhotoMetadata.c"
}
@@ -8775,70 +8859,70 @@ gboolean photo_metadata_get_iso (PhotoMetadata* self, glong* iso) {
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
glong _tmp4_ = 0L;
-#line 1164 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1169 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE);
-#line 1165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1170 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_get_long (self, "Exif.Photo.ISOSpeedRatings", &_tmp0_);
-#line 1165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1170 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_iso = _tmp0_;
-#line 1165 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1170 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
fetched_ok = _tmp1_;
-#line 1167 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = fetched_ok;
-#line 1167 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp2_ == FALSE) {
-#line 1168 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = FALSE;
-#line 1168 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (iso) {
-#line 1168 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*iso = _vala_iso;
-#line 8792 "PhotoMetadata.c"
+#line 8876 "PhotoMetadata.c"
}
-#line 1168 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8796 "PhotoMetadata.c"
+#line 8880 "PhotoMetadata.c"
}
-#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1177 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = _vala_iso;
-#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1177 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp4_ < ((glong) 6)) {
-#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1177 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = TRUE;
-#line 8804 "PhotoMetadata.c"
+#line 8888 "PhotoMetadata.c"
} else {
glong _tmp5_ = 0L;
-#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1177 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = _vala_iso;
-#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1177 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = _tmp5_ > ((glong) 409600);
-#line 8811 "PhotoMetadata.c"
+#line 8895 "PhotoMetadata.c"
}
-#line 1172 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1177 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp3_) {
-#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = FALSE;
-#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (iso) {
-#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*iso = _vala_iso;
-#line 8821 "PhotoMetadata.c"
+#line 8905 "PhotoMetadata.c"
}
-#line 1173 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8825 "PhotoMetadata.c"
+#line 8909 "PhotoMetadata.c"
}
-#line 1175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = TRUE;
-#line 1175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (iso) {
-#line 1175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*iso = _vala_iso;
-#line 8833 "PhotoMetadata.c"
+#line 8917 "PhotoMetadata.c"
}
-#line 1175 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8837 "PhotoMetadata.c"
+#line 8921 "PhotoMetadata.c"
}
@@ -8848,27 +8932,27 @@ gchar* photo_metadata_get_iso_string (PhotoMetadata* self) {
glong _tmp0_ = 0L;
gboolean _tmp1_ = FALSE;
gchar* _tmp2_ = NULL;
-#line 1178 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1183 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1185 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_get_iso (self, &_tmp0_);
-#line 1180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1185 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
iso = _tmp0_;
-#line 1180 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1185 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp1_) {
-#line 1181 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1186 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = NULL;
-#line 1181 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1186 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8859 "PhotoMetadata.c"
+#line 8943 "PhotoMetadata.c"
}
-#line 1183 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1188 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.ISOSpeedRatings", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1183 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1188 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp2_;
-#line 1183 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1188 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8867 "PhotoMetadata.c"
+#line 8951 "PhotoMetadata.c"
}
@@ -8877,23 +8961,23 @@ gboolean photo_metadata_get_aperture (PhotoMetadata* self, MetadataRational* ape
gboolean result = FALSE;
MetadataRational _tmp0_ = {0};
gboolean _tmp1_ = FALSE;
-#line 1186 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1191 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE);
-#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_get_rational (self, "Exif.Photo.FNumber", &_tmp0_);
-#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_aperture = _tmp0_;
-#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp1_;
-#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (aperture) {
-#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*aperture = _vala_aperture;
-#line 8888 "PhotoMetadata.c"
+#line 8972 "PhotoMetadata.c"
}
-#line 1187 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8892 "PhotoMetadata.c"
+#line 8976 "PhotoMetadata.c"
}
@@ -8917,105 +9001,105 @@ gchar* photo_metadata_get_aperture_string (PhotoMetadata* self, gboolean pango_f
gchar* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
-#line 1190 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_get_aperture (self, &_tmp0_);
-#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
aperture = _tmp0_;
-#line 1192 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1197 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp1_) {
-#line 1193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = NULL;
-#line 1193 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8928 "PhotoMetadata.c"
+#line 9012 "PhotoMetadata.c"
}
-#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = aperture;
-#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = _tmp2_.numerator;
-#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = aperture;
-#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = _tmp4_.denominator;
-#line 1195 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1200 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
aperture_value = ((gdouble) _tmp3_) / ((gdouble) _tmp5_);
-#line 1196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = aperture_value;
-#line 1196 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
aperture_value = ((gint) (_tmp6_ * 10.0)) / 10.0;
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_ = pango_formatted;
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp8_) {
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = "<i>f</i>/";
-#line 8950 "PhotoMetadata.c"
+#line 9034 "PhotoMetadata.c"
} else {
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = "f/";
-#line 8954 "PhotoMetadata.c"
+#line 9038 "PhotoMetadata.c"
}
-#line 1199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1204 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = aperture_value;
-#line 1199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1204 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (fmod (_tmp10_, 1) == ((gdouble) 0)) {
-#line 1199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1204 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = "%.0f";
-#line 8962 "PhotoMetadata.c"
+#line 9046 "PhotoMetadata.c"
} else {
-#line 1199 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1204 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = "%.1f";
-#line 8966 "PhotoMetadata.c"
+#line 9050 "PhotoMetadata.c"
}
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = aperture_value;
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp12_ = g_strdup_printf (_tmp9_, _tmp11_);
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = _tmp12_;
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp14_ = g_strconcat (_tmp7_, _tmp13_, NULL);
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp15_ = _tmp14_;
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_tmp13_);
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp15_;
-#line 1198 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8984 "PhotoMetadata.c"
+#line 9068 "PhotoMetadata.c"
}
gchar* photo_metadata_get_camera_make (PhotoMetadata* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
-#line 1202 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1207 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1208 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Image.Make", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1208 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp0_;
-#line 1203 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1208 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 8999 "PhotoMetadata.c"
+#line 9083 "PhotoMetadata.c"
}
gchar* photo_metadata_get_camera_model (PhotoMetadata* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
-#line 1206 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1207 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Image.Model", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1207 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp0_;
-#line 1207 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9014 "PhotoMetadata.c"
+#line 9098 "PhotoMetadata.c"
}
@@ -9024,38 +9108,38 @@ gboolean photo_metadata_get_flash (PhotoMetadata* self, glong* flash) {
gboolean result = FALSE;
glong _tmp0_ = 0L;
gboolean _tmp1_ = FALSE;
-#line 1210 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1215 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE);
-#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_get_long (self, "Exif.Photo.Flash", &_tmp0_);
-#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_flash = _tmp0_;
-#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp1_;
-#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (flash) {
-#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*flash = _vala_flash;
-#line 9035 "PhotoMetadata.c"
+#line 9119 "PhotoMetadata.c"
}
-#line 1212 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9039 "PhotoMetadata.c"
+#line 9123 "PhotoMetadata.c"
}
gchar* photo_metadata_get_flash_string (PhotoMetadata* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
-#line 1215 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1220 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1222 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.Flash", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1222 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp0_;
-#line 1217 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1222 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9054 "PhotoMetadata.c"
+#line 9138 "PhotoMetadata.c"
}
@@ -9064,38 +9148,38 @@ gboolean photo_metadata_get_focal_length (PhotoMetadata* self, MetadataRational*
gboolean result = FALSE;
MetadataRational _tmp0_ = {0};
gboolean _tmp1_ = FALSE;
-#line 1220 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1225 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), FALSE);
-#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_get_rational (self, "Exif.Photo.FocalLength", &_tmp0_);
-#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_focal_length = _tmp0_;
-#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp1_;
-#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (focal_length) {
-#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*focal_length = _vala_focal_length;
-#line 9075 "PhotoMetadata.c"
+#line 9159 "PhotoMetadata.c"
}
-#line 1221 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9079 "PhotoMetadata.c"
+#line 9163 "PhotoMetadata.c"
}
gchar* photo_metadata_get_focal_length_string (PhotoMetadata* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
-#line 1224 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1229 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1225 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1230 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.FocalLength", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1225 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1230 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp0_;
-#line 1225 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1230 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9094 "PhotoMetadata.c"
+#line 9178 "PhotoMetadata.c"
}
@@ -9104,49 +9188,49 @@ gchar* photo_metadata_get_artist (PhotoMetadata* self) {
gchar** _tmp0_ = NULL;
gint _tmp0__length1 = 0;
gchar* _tmp1_ = NULL;
-#line 1234 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1239 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_ARTIST_TAGS;
-#line 1235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = photo_metadata_ARTIST_TAGS_length1;
-#line 1235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_get_first_string_interpreted (self, _tmp0_, _tmp0__length1);
-#line 1235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp1_;
-#line 1235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1240 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9115 "PhotoMetadata.c"
+#line 9199 "PhotoMetadata.c"
}
gchar* photo_metadata_get_copyright (PhotoMetadata* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
-#line 1238 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1239 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1244 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Image.Copyright", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1239 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1244 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp0_;
-#line 1239 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1244 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9130 "PhotoMetadata.c"
+#line 9214 "PhotoMetadata.c"
}
gchar* photo_metadata_get_software (PhotoMetadata* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
-#line 1242 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1247 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Image.Software", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp0_;
-#line 1243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9145 "PhotoMetadata.c"
+#line 9229 "PhotoMetadata.c"
}
@@ -9156,69 +9240,69 @@ void photo_metadata_set_software (PhotoMetadata* self, const gchar* software, co
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 1246 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail (IS_PHOTO_METADATA (self));
-#line 1246 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail (software != NULL);
-#line 1246 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail (version != NULL);
-#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1253 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = software;
-#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1253 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = version;
-#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1253 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = g_strdup_printf ("%s %s", _tmp0_, _tmp1_);
-#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1253 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = _tmp2_;
-#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1253 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string (self, "Exif.Image.Software", _tmp3_, PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1248 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1253 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_tmp3_);
-#line 1250 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = photo_metadata_has_iptc (self);
-#line 1250 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1255 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp4_) {
-#line 9177 "PhotoMetadata.c"
+#line 9261 "PhotoMetadata.c"
const gchar* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
-#line 1251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1256 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = software;
-#line 1251 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1256 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string (self, "Iptc.Application2.Program", _tmp5_, PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1252 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1257 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = version;
-#line 1252 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1257 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string (self, "Iptc.Application2.ProgramVersion", _tmp6_, PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 9188 "PhotoMetadata.c"
+#line 9272 "PhotoMetadata.c"
}
}
void photo_metadata_remove_software (PhotoMetadata* self) {
-#line 1256 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1261 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail (IS_PHOTO_METADATA (self));
-#line 1257 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1262 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_remove_tag (self, "Exif.Image.Software");
-#line 1258 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_remove_tag (self, "Iptc.Application2.Program");
-#line 1259 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1264 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_remove_tag (self, "Iptc.Application2.ProgramVersion");
-#line 9202 "PhotoMetadata.c"
+#line 9286 "PhotoMetadata.c"
}
gchar* photo_metadata_get_exposure_bias (PhotoMetadata* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
-#line 1262 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1267 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), NULL);
-#line 1263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1268 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_get_string_interpreted (self, "Exif.Photo.ExposureBiasValue", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1268 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp0_;
-#line 1263 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1268 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9217 "PhotoMetadata.c"
+#line 9301 "PhotoMetadata.c"
}
@@ -9235,134 +9319,134 @@ Rating photo_metadata_get_rating (PhotoMetadata* self) {
const gchar* _tmp8_ = NULL;
gint _tmp9_ = 0;
Rating _tmp18_ = 0;
-#line 1274 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_val_if_fail (IS_PHOTO_METADATA (self), 0);
-#line 1275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1280 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = photo_metadata_RATING_TAGS;
-#line 1275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1280 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0__length1 = photo_metadata_RATING_TAGS_length1;
-#line 1275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1280 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = photo_metadata_get_first_string (self, _tmp0_, _tmp0__length1);
-#line 1275 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1280 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
rating_string = _tmp1_;
-#line 1276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1281 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = rating_string;
-#line 1276 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1281 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp2_ != NULL) {
-#line 9248 "PhotoMetadata.c"
+#line 9332 "PhotoMetadata.c"
const gchar* _tmp3_ = NULL;
gint _tmp4_ = 0;
Rating _tmp5_ = 0;
-#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1282 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = rating_string;
-#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1282 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = atoi (_tmp3_);
-#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1282 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = rating_unserialize (_tmp4_);
-#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1282 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp5_;
-#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1282 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (rating_string);
-#line 1277 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1282 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9264 "PhotoMetadata.c"
+#line 9348 "PhotoMetadata.c"
}
-#line 1279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = photo_metadata_get_string (self, "Exif.Image.RatingPercent", PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (rating_string);
-#line 1279 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
rating_string = _tmp6_;
-#line 1280 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = rating_string;
-#line 1280 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp7_ == NULL) {
-#line 1281 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = RATING_UNRATED;
-#line 1281 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (rating_string);
-#line 1281 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9282 "PhotoMetadata.c"
+#line 9366 "PhotoMetadata.c"
}
-#line 1284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_ = rating_string;
-#line 1284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = atoi (_tmp8_);
-#line 1284 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
int_percent_rating = _tmp9_;
-#line 9290 "PhotoMetadata.c"
+#line 9374 "PhotoMetadata.c"
{
gint i = 0;
-#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
i = 5;
-#line 9295 "PhotoMetadata.c"
+#line 9379 "PhotoMetadata.c"
{
gboolean _tmp10_ = FALSE;
-#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = TRUE;
-#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
while (TRUE) {
-#line 9302 "PhotoMetadata.c"
+#line 9386 "PhotoMetadata.c"
gint _tmp12_ = 0;
gint _tmp13_ = 0;
gint _tmp14_ = 0;
gint _tmp15_ = 0;
-#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!_tmp10_) {
-#line 9309 "PhotoMetadata.c"
+#line 9393 "PhotoMetadata.c"
gint _tmp11_ = 0;
-#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = i;
-#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
i = _tmp11_ - 1;
-#line 9315 "PhotoMetadata.c"
+#line 9399 "PhotoMetadata.c"
}
-#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = FALSE;
-#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp12_ = i;
-#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (!(_tmp12_ >= 0)) {
-#line 1285 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1290 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
break;
-#line 9325 "PhotoMetadata.c"
+#line 9409 "PhotoMetadata.c"
}
-#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = int_percent_rating;
-#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp14_ = i;
-#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp15_ = RESOURCES_rating_thresholds[_tmp14_];
-#line 1286 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1291 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp13_ >= _tmp15_) {
-#line 9335 "PhotoMetadata.c"
+#line 9419 "PhotoMetadata.c"
gint _tmp16_ = 0;
Rating _tmp17_ = 0;
-#line 1287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1292 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp16_ = i;
-#line 1287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1292 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp17_ = rating_unserialize (_tmp16_);
-#line 1287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1292 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp17_;
-#line 1287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1292 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (rating_string);
-#line 1287 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1292 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9348 "PhotoMetadata.c"
+#line 9432 "PhotoMetadata.c"
}
}
}
}
-#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1294 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp18_ = rating_unserialize (-1);
-#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1294 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp18_;
-#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1294 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (rating_string);
-#line 1289 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1294 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9361 "PhotoMetadata.c"
+#line 9445 "PhotoMetadata.c"
}
@@ -9377,71 +9461,71 @@ void photo_metadata_set_rating (PhotoMetadata* self, Rating rating) {
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
gint _tmp8_ = 0;
-#line 1297 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
g_return_if_fail (IS_PHOTO_METADATA (self));
-#line 1298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp0_ = rating;
-#line 1298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp1_ = rating_serialize (_tmp0_);
-#line 1298 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
int_rating = _tmp1_;
-#line 1299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1304 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp2_ = int_rating;
-#line 1299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1304 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp3_ = g_strdup_printf ("%i", _tmp2_);
-#line 1299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1304 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = _tmp3_;
-#line 1299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1304 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string (self, "Xmp.xmp.Rating", _tmp4_, PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1299 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1304 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_tmp4_);
-#line 1300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = int_rating;
-#line 1300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp6_ = g_strdup_printf ("%i", _tmp5_);
-#line 1300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = _tmp6_;
-#line 1300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string (self, "Exif.Image.Rating", _tmp7_, PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1300 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_tmp7_);
-#line 1302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1307 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp8_ = int_rating;
-#line 1302 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1307 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (0 <= _tmp8_) {
-#line 9408 "PhotoMetadata.c"
+#line 9492 "PhotoMetadata.c"
gint _tmp9_ = 0;
gint _tmp10_ = 0;
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
-#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1308 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp9_ = int_rating;
-#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1308 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp10_ = RESOURCES_rating_thresholds[_tmp9_];
-#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1308 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp11_ = g_strdup_printf ("%i", _tmp10_);
-#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1308 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp12_ = _tmp11_;
-#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1308 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string (self, "Exif.Image.RatingPercent", _tmp12_, PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1303 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1308 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_tmp12_);
-#line 9425 "PhotoMetadata.c"
+#line 9509 "PhotoMetadata.c"
} else {
gint _tmp13_ = 0;
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
-#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1310 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp13_ = int_rating;
-#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1310 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp14_ = g_strdup_printf ("%i", _tmp13_);
-#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1310 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp15_ = _tmp14_;
-#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1310 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_set_string (self, "Exif.Image.RatingPercent", _tmp15_, PHOTO_METADATA_PREPARE_STRING_OPTIONS);
-#line 1305 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1310 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_g_free0 (_tmp15_);
-#line 9440 "PhotoMetadata.c"
+#line 9524 "PhotoMetadata.c"
}
}
@@ -9449,7 +9533,7 @@ void photo_metadata_set_rating (PhotoMetadata* self, Rating rating) {
static gpointer _media_metadata_ref0 (gpointer self) {
#line 235 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self ? media_metadata_ref (self) : NULL;
-#line 9448 "PhotoMetadata.c"
+#line 9532 "PhotoMetadata.c"
}
@@ -9516,21 +9600,21 @@ static PhotoMetadataInternalPhotoPreview* photo_metadata_internal_photo_preview_
self->number = _tmp14_;
#line 230 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return self;
-#line 9515 "PhotoMetadata.c"
+#line 9599 "PhotoMetadata.c"
}
static PhotoMetadataInternalPhotoPreview* photo_metadata_internal_photo_preview_new (PhotoMetadata* owner, const gchar* name, guint number, GExiv2PreviewProperties* props) {
#line 230 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return photo_metadata_internal_photo_preview_construct (PHOTO_METADATA_TYPE_INTERNAL_PHOTO_PREVIEW, owner, name, number, props);
-#line 9522 "PhotoMetadata.c"
+#line 9606 "PhotoMetadata.c"
}
static guint8* _vala_array_dup6 (guint8* self, int length) {
#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return g_memdup (self, length * sizeof (guint8));
-#line 9529 "PhotoMetadata.c"
+#line 9613 "PhotoMetadata.c"
}
@@ -9583,7 +9667,7 @@ static guint8* photo_metadata_internal_photo_preview_real_flatten (PhotoPreview*
_tmp5__length1 = props_length1;
#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
if (_tmp5_ != NULL) {
-#line 9582 "PhotoMetadata.c"
+#line 9666 "PhotoMetadata.c"
GExiv2PreviewProperties** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
guint _tmp7_ = 0U;
@@ -9595,11 +9679,11 @@ static guint8* photo_metadata_internal_photo_preview_real_flatten (PhotoPreview*
_tmp7_ = self->number;
#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = ((guint) _tmp6__length1) > _tmp7_;
-#line 9594 "PhotoMetadata.c"
+#line 9678 "PhotoMetadata.c"
} else {
#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp4_ = FALSE;
-#line 9598 "PhotoMetadata.c"
+#line 9682 "PhotoMetadata.c"
}
#line 241 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_vala_assert (_tmp4_, "props != null && props.length > number");
@@ -9639,13 +9723,13 @@ static guint8* photo_metadata_internal_photo_preview_real_flatten (PhotoPreview*
if (result_length1) {
#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
*result_length1 = _tmp19__length1;
-#line 9638 "PhotoMetadata.c"
+#line 9722 "PhotoMetadata.c"
}
#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
result = _tmp19_;
#line 243 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
return result;
-#line 9644 "PhotoMetadata.c"
+#line 9728 "PhotoMetadata.c"
}
@@ -9656,7 +9740,7 @@ static void photo_metadata_internal_photo_preview_class_init (PhotoMetadataInter
((PhotoPreviewClass *) klass)->finalize = photo_metadata_internal_photo_preview_finalize;
#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
((PhotoPreviewClass *) klass)->flatten = (guint8* (*)(PhotoPreview*, int*, GError**)) photo_metadata_internal_photo_preview_real_flatten;
-#line 9655 "PhotoMetadata.c"
+#line 9739 "PhotoMetadata.c"
}
@@ -9672,7 +9756,7 @@ static void photo_metadata_internal_photo_preview_finalize (PhotoPreview* obj) {
_media_metadata_unref0 (self->owner);
#line 226 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
PHOTO_PREVIEW_CLASS (photo_metadata_internal_photo_preview_parent_class)->finalize (obj);
-#line 9671 "PhotoMetadata.c"
+#line 9755 "PhotoMetadata.c"
}
@@ -9917,115 +10001,115 @@ static void photo_metadata_class_init (PhotoMetadataClass * klass) {
photo_metadata_COMMENT_TAGS = _tmp33_;
#line 962 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_COMMENT_TAGS_length1 = 2;
-#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp34_ = g_strdup ("Xmp.dc.subject");
-#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp35_ = g_strdup ("Iptc.Application2.Keywords");
-#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp36_ = g_strdup ("Xmp.xmp.Label");
-#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp37_ = g_new0 (gchar*, 3 + 1);
-#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp37_[0] = _tmp34_;
-#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp37_[1] = _tmp35_;
-#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp37_[2] = _tmp36_;
-#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_KEYWORD_TAGS = _tmp37_;
-#line 979 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 984 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_KEYWORD_TAGS_length1 = 3;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp38_ = null_keyword_transformer_new ();
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp39_ = _tmp38_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp40_ = hierarchical_keyword_field_new ("Xmp.lr.hierarchicalSubject", "|", FALSE, FALSE, G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer));
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp41_ = null_keyword_transformer_new ();
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp42_ = _tmp41_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp43_ = hierarchical_keyword_field_new ("Xmp.acdsee.keywords", "|", FALSE, FALSE, G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer));
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp44_ = acd_see_keyword_transformer_new ();
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp45_ = _tmp44_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp46_ = hierarchical_keyword_field_new ("Xmp.acdsee.categories", "|", FALSE, FALSE, G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer));
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp47_ = null_keyword_transformer_new ();
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp48_ = _tmp47_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp49_ = hierarchical_keyword_field_new ("Xmp.digiKam.TagsList", "/", FALSE, TRUE, G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer));
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp50_ = null_keyword_transformer_new ();
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp51_ = _tmp50_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp52_ = hierarchical_keyword_field_new ("Xmp.MicrosoftPhoto.LastKeywordXMP", "/", FALSE, TRUE, G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, TYPE_KEYWORD_TRANSFORMER, KeywordTransformer));
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp53_ = g_new0 (HierarchicalKeywordField*, 5 + 1);
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp53_[0] = _tmp40_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp53_[1] = _tmp43_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp53_[2] = _tmp46_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp53_[3] = _tmp49_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp53_[4] = _tmp52_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_HIERARCHICAL_KEYWORD_TAGS = _tmp53_;
-#line 985 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 990 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_HIERARCHICAL_KEYWORD_TAGS_length1 = 5;
-#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1233 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp54_ = g_strdup ("Exif.Image.Artist");
-#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1233 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp55_ = g_strdup ("Exif.Canon.OwnerName");
-#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1233 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp56_ = g_strdup ("Xmp.acdsee.author");
-#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1233 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp57_ = g_new0 (gchar*, 3 + 1);
-#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1233 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp57_[0] = _tmp54_;
-#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1233 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp57_[1] = _tmp55_;
-#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1233 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp57_[2] = _tmp56_;
-#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1233 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_ARTIST_TAGS = _tmp57_;
-#line 1228 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1233 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_ARTIST_TAGS_length1 = 3;
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp58_ = g_strdup ("Xmp.xmp.Rating");
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp59_ = g_strdup ("Iptc.Application2.Urgency");
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp60_ = g_strdup ("Xmp.photoshop.Urgency");
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp61_ = g_strdup ("Exif.Image.Rating");
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp62_ = g_strdup ("Xmp.acdsee.rating");
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp63_ = g_new0 (gchar*, 5 + 1);
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp63_[0] = _tmp58_;
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp63_[1] = _tmp59_;
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp63_[2] = _tmp60_;
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp63_[3] = _tmp61_;
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp63_[4] = _tmp62_;
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_RATING_TAGS = _tmp63_;
-#line 1266 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
+#line 1271 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
photo_metadata_RATING_TAGS_length1 = 5;
-#line 10024 "PhotoMetadata.c"
+#line 10108 "PhotoMetadata.c"
}
@@ -10044,7 +10128,7 @@ static void photo_metadata_instance_init (PhotoMetadata * self) {
_tmp1_ = g_strdup ("<uninitialized>");
#line 249 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
self->priv->source_name = _tmp1_;
-#line 10043 "PhotoMetadata.c"
+#line 10127 "PhotoMetadata.c"
}
@@ -10060,7 +10144,7 @@ static void photo_metadata_finalize (MediaMetadata* obj) {
_g_free0 (self->priv->source_name);
#line 211 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
MEDIA_METADATA_CLASS (photo_metadata_parent_class)->finalize (obj);
-#line 10059 "PhotoMetadata.c"
+#line 10143 "PhotoMetadata.c"
}
diff --git a/src/photos/PhotoMetadata.vala b/src/photos/PhotoMetadata.vala
index 7764415..e9a9042 100644
--- a/src/photos/PhotoMetadata.vala
+++ b/src/photos/PhotoMetadata.vala
@@ -970,8 +970,13 @@ public class PhotoMetadata : MediaMetadata {
public void set_comment(string? comment,
SetOption option = SetOption.ALL_DOMAINS) {
+ /* https://bugzilla.gnome.org/show_bug.cgi?id=781897 - Do not strip
+ * newlines from comments */
if (!is_string_empty(comment))
- set_all_string(COMMENT_TAGS, comment, option);
+ set_all_generic(COMMENT_TAGS, option, (tag) => {
+ set_string(tag, comment, PREPARE_STRING_OPTIONS &
+ ~PrepareInputTextOptions.STRIP_CRLF);
+ });
else
remove_tags(COMMENT_TAGS);
}
diff --git a/src/publishing/PublishingUI.c b/src/publishing/PublishingUI.c
index c54634b..0da6971 100644
--- a/src/publishing/PublishingUI.c
+++ b/src/publishing/PublishingUI.c
@@ -171,6 +171,26 @@ typedef struct _ThumbnailSourceClass ThumbnailSourceClass;
typedef struct _MediaSource MediaSource;
typedef struct _MediaSourceClass MediaSourceClass;
+#define TYPE_PAGE_WINDOW (page_window_get_type ())
+#define PAGE_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PAGE_WINDOW, PageWindow))
+#define PAGE_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PAGE_WINDOW, PageWindowClass))
+#define IS_PAGE_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PAGE_WINDOW))
+#define IS_PAGE_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PAGE_WINDOW))
+#define PAGE_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PAGE_WINDOW, PageWindowClass))
+
+typedef struct _PageWindow PageWindow;
+typedef struct _PageWindowClass PageWindowClass;
+
+#define TYPE_APP_WINDOW (app_window_get_type ())
+#define APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_APP_WINDOW, AppWindow))
+#define APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_APP_WINDOW, AppWindowClass))
+#define IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_APP_WINDOW))
+#define IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_APP_WINDOW))
+#define APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_APP_WINDOW, AppWindowClass))
+
+typedef struct _AppWindow AppWindow;
+typedef struct _AppWindowClass AppWindowClass;
+
#define PUBLISHING_GLUE_TYPE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER (publishing_glue_media_source_publishable_wrapper_get_type ())
#define PUBLISHING_GLUE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PUBLISHING_GLUE_TYPE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER, PublishingGlueMediaSourcePublishableWrapper))
#define PUBLISHING_GLUE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PUBLISHING_GLUE_TYPE_MEDIA_SOURCE_PUBLISHABLE_WRAPPER, PublishingGlueMediaSourcePublishableWrapperClass))
@@ -455,6 +475,9 @@ GType thumbnail_source_get_type (void) G_GNUC_CONST;
GType media_source_get_type (void) G_GNUC_CONST;
PublishingUIPublishingDialog* publishing_ui_publishing_dialog_new (GeeCollection* to_publish);
PublishingUIPublishingDialog* publishing_ui_publishing_dialog_construct (GType object_type, GeeCollection* to_publish);
+GType page_window_get_type (void) G_GNUC_CONST;
+GType app_window_get_type (void) G_GNUC_CONST;
+AppWindow* app_window_get_instance (void);
static gboolean publishing_ui_publishing_dialog_on_window_close (PublishingUIPublishingDialog* self, GdkEventAny* evt);
static gboolean _publishing_ui_publishing_dialog_on_window_close_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self);
PublishingGlueMediaSourcePublishableWrapper* publishing_glue_media_source_publishable_wrapper_new (MediaSource* to_wrap);
@@ -478,9 +501,9 @@ static SpitPublishingService** publishing_ui_publishing_dialog_load_all_services
GeeCollection* plugins_get_pluggables_for_type (GType type, GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify, gboolean include_disabled);
gchar* plugins_get_pluggable_module_id (SpitPluggable* needle);
static void _vala_array_add56 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value);
-static gint __lambda14_ (void* a, void* b);
+static gint __lambda15_ (void* a, void* b);
gint utf8_cs_compare (void* a, void* b);
-static gint ___lambda14____compar_fn_t (void* key1, void* key2);
+static gint ___lambda15____compar_fn_t (void* key1, void* key2);
static void _vala_array_add57 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value);
static void _vala_array_add58 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value);
static void _vala_array_add59 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value);
@@ -525,21 +548,21 @@ PublishingUIConcreteDialogPane* publishing_ui_concrete_dialog_pane_construct (GT
self->builder = _tmp0_;
#line 13 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return self;
-#line 529 "PublishingUI.c"
+#line 552 "PublishingUI.c"
}
PublishingUIConcreteDialogPane* publishing_ui_concrete_dialog_pane_new (void) {
#line 13 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return publishing_ui_concrete_dialog_pane_construct (PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE);
-#line 536 "PublishingUI.c"
+#line 559 "PublishingUI.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 18 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return self ? g_object_ref (self) : NULL;
-#line 543 "PublishingUI.c"
+#line 566 "PublishingUI.c"
}
@@ -558,7 +581,7 @@ static GtkWidget* publishing_ui_concrete_dialog_pane_real_get_widget (SpitPublis
result = _tmp1_;
#line 18 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return result;
-#line 562 "PublishingUI.c"
+#line 585 "PublishingUI.c"
}
@@ -571,7 +594,7 @@ static SpitPublishingDialogPaneGeometryOptions publishing_ui_concrete_dialog_pan
result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
#line 22 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return result;
-#line 575 "PublishingUI.c"
+#line 598 "PublishingUI.c"
}
@@ -579,7 +602,7 @@ static void publishing_ui_concrete_dialog_pane_real_on_pane_installed (SpitPubli
PublishingUIConcreteDialogPane * self;
#line 25 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane);
-#line 583 "PublishingUI.c"
+#line 606 "PublishingUI.c"
}
@@ -587,7 +610,7 @@ static void publishing_ui_concrete_dialog_pane_real_on_pane_uninstalled (SpitPub
PublishingUIConcreteDialogPane * self;
#line 28 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_UI_TYPE_CONCRETE_DIALOG_PANE, PublishingUIConcreteDialogPane);
-#line 591 "PublishingUI.c"
+#line 614 "PublishingUI.c"
}
@@ -596,7 +619,7 @@ static void publishing_ui_concrete_dialog_pane_class_init (PublishingUIConcreteD
publishing_ui_concrete_dialog_pane_parent_class = g_type_class_peek_parent (klass);
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_ui_concrete_dialog_pane_finalize;
-#line 600 "PublishingUI.c"
+#line 623 "PublishingUI.c"
}
@@ -611,7 +634,7 @@ static void publishing_ui_concrete_dialog_pane_spit_publishing_dialog_pane_inter
iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_ui_concrete_dialog_pane_real_on_pane_installed;
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_ui_concrete_dialog_pane_real_on_pane_uninstalled;
-#line 615 "PublishingUI.c"
+#line 638 "PublishingUI.c"
}
@@ -620,7 +643,7 @@ static void publishing_ui_concrete_dialog_pane_instance_init (PublishingUIConcre
self->pane_widget = NULL;
#line 11 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->builder = NULL;
-#line 624 "PublishingUI.c"
+#line 647 "PublishingUI.c"
}
@@ -634,7 +657,7 @@ static void publishing_ui_concrete_dialog_pane_finalize (GObject* obj) {
_g_object_unref0 (self->builder);
#line 9 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_OBJECT_CLASS (publishing_ui_concrete_dialog_pane_parent_class)->finalize (obj);
-#line 638 "PublishingUI.c"
+#line 661 "PublishingUI.c"
}
@@ -689,7 +712,7 @@ PublishingUIStaticMessagePane* publishing_ui_static_message_pane_construct (GTyp
_tmp6_ = enable_markup;
#line 40 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp6_) {
-#line 693 "PublishingUI.c"
+#line 716 "PublishingUI.c"
GtkLabel* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
GtkLabel* _tmp9_ = NULL;
@@ -708,7 +731,7 @@ PublishingUIStaticMessagePane* publishing_ui_static_message_pane_construct (GTyp
_tmp10_ = self->priv->msg_label;
#line 43 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_label_set_use_markup (_tmp10_, TRUE);
-#line 712 "PublishingUI.c"
+#line 735 "PublishingUI.c"
} else {
GtkLabel* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
@@ -718,18 +741,18 @@ PublishingUIStaticMessagePane* publishing_ui_static_message_pane_construct (GTyp
_tmp12_ = message_string;
#line 45 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_label_set_label (_tmp11_, _tmp12_);
-#line 722 "PublishingUI.c"
+#line 745 "PublishingUI.c"
}
#line 35 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return self;
-#line 726 "PublishingUI.c"
+#line 749 "PublishingUI.c"
}
PublishingUIStaticMessagePane* publishing_ui_static_message_pane_new (const gchar* message_string, gboolean enable_markup) {
#line 35 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return publishing_ui_static_message_pane_construct (PUBLISHING_UI_TYPE_STATIC_MESSAGE_PANE, message_string, enable_markup);
-#line 733 "PublishingUI.c"
+#line 756 "PublishingUI.c"
}
@@ -740,7 +763,7 @@ static void publishing_ui_static_message_pane_class_init (PublishingUIStaticMess
g_type_class_add_private (klass, sizeof (PublishingUIStaticMessagePanePrivate));
#line 32 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_ui_static_message_pane_finalize;
-#line 744 "PublishingUI.c"
+#line 767 "PublishingUI.c"
}
@@ -749,7 +772,7 @@ static void publishing_ui_static_message_pane_instance_init (PublishingUIStaticM
self->priv = PUBLISHING_UI_STATIC_MESSAGE_PANE_GET_PRIVATE (self);
#line 33 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv->msg_label = NULL;
-#line 753 "PublishingUI.c"
+#line 776 "PublishingUI.c"
}
@@ -761,7 +784,7 @@ static void publishing_ui_static_message_pane_finalize (GObject* obj) {
_g_object_unref0 (self->priv->msg_label);
#line 32 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_OBJECT_CLASS (publishing_ui_static_message_pane_parent_class)->finalize (obj);
-#line 765 "PublishingUI.c"
+#line 788 "PublishingUI.c"
}
@@ -780,7 +803,7 @@ GType publishing_ui_static_message_pane_get_type (void) {
static void _publishing_ui_login_welcome_pane_on_login_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 62 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_login_welcome_pane_on_login_clicked ((PublishingUILoginWelcomePane*) self);
-#line 784 "PublishingUI.c"
+#line 807 "PublishingUI.c"
}
@@ -849,14 +872,14 @@ PublishingUILoginWelcomePane* publishing_ui_login_welcome_pane_construct (GType
gtk_label_set_markup (_tmp11_, _tmp12_);
#line 56 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return self;
-#line 853 "PublishingUI.c"
+#line 876 "PublishingUI.c"
}
PublishingUILoginWelcomePane* publishing_ui_login_welcome_pane_new (const gchar* service_welcome_message) {
#line 56 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return publishing_ui_login_welcome_pane_construct (PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE, service_welcome_message);
-#line 860 "PublishingUI.c"
+#line 883 "PublishingUI.c"
}
@@ -865,7 +888,7 @@ static void publishing_ui_login_welcome_pane_on_login_clicked (PublishingUILogin
g_return_if_fail (PUBLISHING_UI_IS_LOGIN_WELCOME_PANE (self));
#line 68 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_signal_emit_by_name (self, "login-requested");
-#line 869 "PublishingUI.c"
+#line 892 "PublishingUI.c"
}
@@ -878,7 +901,7 @@ static void publishing_ui_login_welcome_pane_class_init (PublishingUILoginWelcom
G_OBJECT_CLASS (klass)->finalize = publishing_ui_login_welcome_pane_finalize;
#line 50 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_signal_new ("login_requested", PUBLISHING_UI_TYPE_LOGIN_WELCOME_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 882 "PublishingUI.c"
+#line 905 "PublishingUI.c"
}
@@ -889,7 +912,7 @@ static void publishing_ui_login_welcome_pane_instance_init (PublishingUILoginWel
self->priv->login_button = NULL;
#line 52 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv->not_logged_in_label = NULL;
-#line 893 "PublishingUI.c"
+#line 916 "PublishingUI.c"
}
@@ -903,7 +926,7 @@ static void publishing_ui_login_welcome_pane_finalize (GObject* obj) {
_g_object_unref0 (self->priv->not_logged_in_label);
#line 50 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_OBJECT_CLASS (publishing_ui_login_welcome_pane_parent_class)->finalize (obj);
-#line 907 "PublishingUI.c"
+#line 930 "PublishingUI.c"
}
@@ -951,14 +974,14 @@ PublishingUIProgressPane* publishing_ui_progress_pane_construct (GType object_ty
self->priv->progress_bar = _tmp5_;
#line 75 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return self;
-#line 955 "PublishingUI.c"
+#line 978 "PublishingUI.c"
}
PublishingUIProgressPane* publishing_ui_progress_pane_new (void) {
#line 75 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return publishing_ui_progress_pane_construct (PUBLISHING_UI_TYPE_PROGRESS_PANE);
-#line 962 "PublishingUI.c"
+#line 985 "PublishingUI.c"
}
@@ -975,7 +998,7 @@ void publishing_ui_progress_pane_set_text (PublishingUIProgressPane* self, const
_tmp1_ = text;
#line 82 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_progress_bar_set_text (_tmp0_, _tmp1_);
-#line 979 "PublishingUI.c"
+#line 1002 "PublishingUI.c"
}
@@ -990,7 +1013,7 @@ void publishing_ui_progress_pane_set_progress (PublishingUIProgressPane* self, g
_tmp1_ = progress;
#line 86 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_progress_bar_set_fraction (_tmp0_, _tmp1_);
-#line 994 "PublishingUI.c"
+#line 1017 "PublishingUI.c"
}
@@ -1011,7 +1034,7 @@ void publishing_ui_progress_pane_set_status (PublishingUIProgressPane* self, con
_tmp2_ = gtk_progress_bar_get_text (_tmp1_);
#line 90 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (g_strcmp0 (_tmp0_, _tmp2_) != 0) {
-#line 1015 "PublishingUI.c"
+#line 1038 "PublishingUI.c"
GtkProgressBar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
#line 91 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
@@ -1020,13 +1043,13 @@ void publishing_ui_progress_pane_set_status (PublishingUIProgressPane* self, con
_tmp4_ = status_text;
#line 91 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_progress_bar_set_text (_tmp3_, _tmp4_);
-#line 1024 "PublishingUI.c"
+#line 1047 "PublishingUI.c"
}
#line 93 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp5_ = progress;
#line 93 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_progress_pane_set_progress (self, _tmp5_);
-#line 1030 "PublishingUI.c"
+#line 1053 "PublishingUI.c"
}
@@ -1037,7 +1060,7 @@ static void publishing_ui_progress_pane_class_init (PublishingUIProgressPaneClas
g_type_class_add_private (klass, sizeof (PublishingUIProgressPanePrivate));
#line 72 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_ui_progress_pane_finalize;
-#line 1041 "PublishingUI.c"
+#line 1064 "PublishingUI.c"
}
@@ -1046,7 +1069,7 @@ static void publishing_ui_progress_pane_instance_init (PublishingUIProgressPane
self->priv = PUBLISHING_UI_PROGRESS_PANE_GET_PRIVATE (self);
#line 73 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv->progress_bar = NULL;
-#line 1050 "PublishingUI.c"
+#line 1073 "PublishingUI.c"
}
@@ -1058,7 +1081,7 @@ static void publishing_ui_progress_pane_finalize (GObject* obj) {
_g_object_unref0 (self->priv->progress_bar);
#line 72 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_OBJECT_CLASS (publishing_ui_progress_pane_parent_class)->finalize (obj);
-#line 1062 "PublishingUI.c"
+#line 1085 "PublishingUI.c"
}
@@ -1085,7 +1108,7 @@ PublishingUISuccessPane* publishing_ui_success_pane_construct (GType object_type
_tmp0_ = published_media;
#line 103 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp0_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
-#line 1089 "PublishingUI.c"
+#line 1112 "PublishingUI.c"
gint _tmp1_ = 0;
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
@@ -1099,14 +1122,14 @@ PublishingUISuccessPane* publishing_ui_success_pane_construct (GType object_type
_g_free0 (message_string);
#line 104 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
message_string = _tmp3_;
-#line 1103 "PublishingUI.c"
+#line 1126 "PublishingUI.c"
} else {
SpitPublishingPublisherMediaType _tmp4_ = 0;
#line 108 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp4_ = published_media;
#line 108 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp4_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) {
-#line 1110 "PublishingUI.c"
+#line 1133 "PublishingUI.c"
gint _tmp5_ = 0;
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
@@ -1120,14 +1143,14 @@ PublishingUISuccessPane* publishing_ui_success_pane_construct (GType object_type
_g_free0 (message_string);
#line 109 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
message_string = _tmp7_;
-#line 1124 "PublishingUI.c"
+#line 1147 "PublishingUI.c"
} else {
SpitPublishingPublisherMediaType _tmp8_ = 0;
#line 113 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp8_ = published_media;
#line 113 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp8_ == (SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO | SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO)) {
-#line 1131 "PublishingUI.c"
+#line 1154 "PublishingUI.c"
const gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
#line 115 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
@@ -1138,11 +1161,11 @@ PublishingUISuccessPane* publishing_ui_success_pane_construct (GType object_type
_g_free0 (message_string);
#line 115 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
message_string = _tmp10_;
-#line 1142 "PublishingUI.c"
+#line 1165 "PublishingUI.c"
} else {
#line 118 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_assert_not_reached ();
-#line 1146 "PublishingUI.c"
+#line 1169 "PublishingUI.c"
}
}
}
@@ -1154,21 +1177,21 @@ PublishingUISuccessPane* publishing_ui_success_pane_construct (GType object_type
_g_free0 (message_string);
#line 98 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return self;
-#line 1158 "PublishingUI.c"
+#line 1181 "PublishingUI.c"
}
PublishingUISuccessPane* publishing_ui_success_pane_new (SpitPublishingPublisherMediaType published_media, gint num_uploaded) {
#line 98 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return publishing_ui_success_pane_construct (PUBLISHING_UI_TYPE_SUCCESS_PANE, published_media, num_uploaded);
-#line 1165 "PublishingUI.c"
+#line 1188 "PublishingUI.c"
}
static void publishing_ui_success_pane_class_init (PublishingUISuccessPaneClass * klass) {
#line 97 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_success_pane_parent_class = g_type_class_peek_parent (klass);
-#line 1172 "PublishingUI.c"
+#line 1195 "PublishingUI.c"
}
@@ -1197,21 +1220,21 @@ PublishingUIAccountFetchWaitPane* publishing_ui_account_fetch_wait_pane_construc
self = (PublishingUIAccountFetchWaitPane*) publishing_ui_static_message_pane_construct (object_type, _tmp0_, FALSE);
#line 126 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return self;
-#line 1201 "PublishingUI.c"
+#line 1224 "PublishingUI.c"
}
PublishingUIAccountFetchWaitPane* publishing_ui_account_fetch_wait_pane_new (void) {
#line 126 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return publishing_ui_account_fetch_wait_pane_construct (PUBLISHING_UI_TYPE_ACCOUNT_FETCH_WAIT_PANE);
-#line 1208 "PublishingUI.c"
+#line 1231 "PublishingUI.c"
}
static void publishing_ui_account_fetch_wait_pane_class_init (PublishingUIAccountFetchWaitPaneClass * klass) {
#line 125 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_account_fetch_wait_pane_parent_class = g_type_class_peek_parent (klass);
-#line 1215 "PublishingUI.c"
+#line 1238 "PublishingUI.c"
}
@@ -1240,21 +1263,21 @@ PublishingUILoginWaitPane* publishing_ui_login_wait_pane_construct (GType object
self = (PublishingUILoginWaitPane*) publishing_ui_static_message_pane_construct (object_type, _tmp0_, FALSE);
#line 132 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return self;
-#line 1244 "PublishingUI.c"
+#line 1267 "PublishingUI.c"
}
PublishingUILoginWaitPane* publishing_ui_login_wait_pane_new (void) {
#line 132 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return publishing_ui_login_wait_pane_construct (PUBLISHING_UI_TYPE_LOGIN_WAIT_PANE);
-#line 1251 "PublishingUI.c"
+#line 1274 "PublishingUI.c"
}
static void publishing_ui_login_wait_pane_class_init (PublishingUILoginWaitPaneClass * klass) {
#line 131 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_login_wait_pane_parent_class = g_type_class_peek_parent (klass);
-#line 1258 "PublishingUI.c"
+#line 1281 "PublishingUI.c"
}
@@ -1277,40 +1300,40 @@ GType publishing_ui_login_wait_pane_get_type (void) {
static gboolean _publishing_ui_publishing_dialog_on_window_close_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
gboolean result;
result = publishing_ui_publishing_dialog_on_window_close ((PublishingUIPublishingDialog*) self, event);
-#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 173 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return result;
-#line 1283 "PublishingUI.c"
+#line 1306 "PublishingUI.c"
}
static void _vala_array_add55 (SpitPublishingPublishable*** array, int* length, int* size, SpitPublishingPublishable* value) {
-#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((*length) == (*size)) {
-#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*array = g_renew (SpitPublishingPublishable*, *array, (*size) + 1);
-#line 1294 "PublishingUI.c"
+#line 1317 "PublishingUI.c"
}
-#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
(*array)[(*length)++] = value;
-#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
(*array)[*length] = NULL;
-#line 1300 "PublishingUI.c"
+#line 1323 "PublishingUI.c"
}
static void _publishing_ui_publishing_dialog_on_service_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 252 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 254 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_on_service_changed ((PublishingUIPublishingDialog*) self);
-#line 1307 "PublishingUI.c"
+#line 1330 "PublishingUI.c"
}
static void _publishing_ui_publishing_dialog_on_close_cancel_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 304 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 306 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_on_close_cancel_clicked ((PublishingUIPublishingDialog*) self);
-#line 1314 "PublishingUI.c"
+#line 1337 "PublishingUI.c"
}
@@ -1324,52 +1347,54 @@ PublishingUIPublishingDialog* publishing_ui_publishing_dialog_construct (GType o
gint _tmp4_ = 0;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
- SpitPublishingPublishable** _tmp8_ = NULL;
+ AppWindow* _tmp8_ = NULL;
+ AppWindow* _tmp9_ = NULL;
+ SpitPublishingPublishable** _tmp10_ = NULL;
gboolean has_photos = FALSE;
gboolean has_videos = FALSE;
gchar* title = NULL;
gchar* label = NULL;
- gboolean _tmp24_ = FALSE;
- gboolean _tmp25_ = FALSE;
- const gchar* _tmp42_ = NULL;
- GtkListStore* _tmp43_ = NULL;
- GtkListStore* _tmp44_ = NULL;
- GtkComboBox* _tmp45_ = NULL;
- GtkCellRendererPixbuf* renderer_pix = NULL;
- GtkCellRendererPixbuf* _tmp46_ = NULL;
+ gboolean _tmp26_ = FALSE;
+ gboolean _tmp27_ = FALSE;
+ const gchar* _tmp44_ = NULL;
+ GtkListStore* _tmp45_ = NULL;
+ GtkListStore* _tmp46_ = NULL;
GtkComboBox* _tmp47_ = NULL;
+ GtkCellRendererPixbuf* renderer_pix = NULL;
GtkCellRendererPixbuf* _tmp48_ = NULL;
GtkComboBox* _tmp49_ = NULL;
GtkCellRendererPixbuf* _tmp50_ = NULL;
+ GtkComboBox* _tmp51_ = NULL;
+ GtkCellRendererPixbuf* _tmp52_ = NULL;
GtkCellRendererText* renderer_text = NULL;
- GtkCellRendererText* _tmp51_ = NULL;
- GtkComboBox* _tmp52_ = NULL;
GtkCellRendererText* _tmp53_ = NULL;
GtkComboBox* _tmp54_ = NULL;
GtkCellRendererText* _tmp55_ = NULL;
GtkComboBox* _tmp56_ = NULL;
+ GtkCellRendererText* _tmp57_ = NULL;
+ GtkComboBox* _tmp58_ = NULL;
gchar* last_used_service = NULL;
- ConfigFacade* _tmp57_ = NULL;
- ConfigFacade* _tmp58_ = NULL;
- gchar* _tmp59_ = NULL;
- gchar* _tmp60_ = NULL;
+ ConfigFacade* _tmp59_ = NULL;
+ ConfigFacade* _tmp60_ = NULL;
+ gchar* _tmp61_ = NULL;
+ gchar* _tmp62_ = NULL;
SpitPublishingService** loaded_services = NULL;
- gboolean _tmp61_ = FALSE;
- gboolean _tmp62_ = FALSE;
- gint _tmp63_ = 0;
- SpitPublishingService** _tmp64_ = NULL;
+ gboolean _tmp63_ = FALSE;
+ gboolean _tmp64_ = FALSE;
+ gint _tmp65_ = 0;
+ SpitPublishingService** _tmp66_ = NULL;
gint loaded_services_length1 = 0;
gint _loaded_services_size_ = 0;
GtkTreeIter iter = {0};
- SpitPublishingService** _tmp65_ = NULL;
- gint _tmp65__length1 = 0;
- GtkComboBox* _tmp103_ = NULL;
- gboolean _tmp104_ = FALSE;
- GtkBox* _tmp134_ = NULL;
- GtkBox* _tmp135_ = NULL;
+ SpitPublishingService** _tmp67_ = NULL;
+ gint _tmp67__length1 = 0;
+ GtkComboBox* _tmp105_ = NULL;
+ gboolean _tmp106_ = FALSE;
GtkBox* _tmp136_ = NULL;
- gboolean _tmp137_ = FALSE;
- GtkButton* _tmp147_ = NULL;
+ GtkBox* _tmp137_ = NULL;
+ GtkBox* _tmp138_ = NULL;
+ gboolean _tmp139_ = FALSE;
+ GtkButton* _tmp149_ = NULL;
#line 161 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_val_if_fail (GEE_IS_COLLECTION (to_publish), NULL);
#line 162 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
@@ -1392,11 +1417,11 @@ PublishingUIPublishingDialog* publishing_ui_publishing_dialog_construct (GType o
if (_tmp5_) {
#line 166 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp4_ = 1;
-#line 1396 "PublishingUI.c"
+#line 1421 "PublishingUI.c"
} else {
#line 166 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp4_ = 0;
-#line 1400 "PublishingUI.c"
+#line 1425 "PublishingUI.c"
}
#line 166 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self = (PublishingUIPublishingDialog*) g_object_new (object_type, "use-header-bar", _tmp4_, NULL);
@@ -1404,760 +1429,770 @@ PublishingUIPublishingDialog* publishing_ui_publishing_dialog_construct (GType o
_tmp6_ = use_header;
#line 167 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp6_) {
-#line 1408 "PublishingUI.c"
+#line 1433 "PublishingUI.c"
GtkWidget* _tmp7_ = NULL;
#line 168 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp7_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 168 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_header_bar_set_show_close_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_header_bar_get_type (), GtkHeaderBar), FALSE);
-#line 1414 "PublishingUI.c"
+#line 1439 "PublishingUI.c"
}
#line 170 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 171 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _publishing_ui_publishing_dialog_on_window_close_gtk_widget_delete_event, self, 0);
-#line 173 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp8_ = g_new0 (SpitPublishingPublishable*, 0 + 1);
+ gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
+#line 172 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp8_ = app_window_get_instance ();
+#line 172 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp9_ = _tmp8_;
+#line 172 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_window_get_type (), GtkWindow));
+#line 172 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _g_object_unref0 (_tmp9_);
#line 173 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _publishing_ui_publishing_dialog_on_window_close_gtk_widget_delete_event, self, 0);
+#line 175 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp10_ = g_new0 (SpitPublishingPublishable*, 0 + 1);
+#line 175 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv->publishables = (_vala_array_free (self->priv->publishables, self->priv->publishables_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 173 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- self->priv->publishables = _tmp8_;
-#line 173 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 175 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ self->priv->publishables = _tmp10_;
+#line 175 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv->publishables_length1 = 0;
-#line 173 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 175 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv->_publishables_size_ = self->priv->publishables_length1;
-#line 174 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
has_photos = FALSE;
-#line 175 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 177 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
has_videos = FALSE;
-#line 1434 "PublishingUI.c"
+#line 1469 "PublishingUI.c"
{
GeeIterator* _media_it = NULL;
- GeeCollection* _tmp9_ = NULL;
- GeeIterator* _tmp10_ = NULL;
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp9_ = to_publish;
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp10_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _media_it = _tmp10_;
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ GeeCollection* _tmp11_ = NULL;
+ GeeIterator* _tmp12_ = NULL;
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp11_ = to_publish;
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp12_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ITERABLE, GeeIterable));
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _media_it = _tmp12_;
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
while (TRUE) {
-#line 1447 "PublishingUI.c"
- GeeIterator* _tmp11_ = NULL;
- gboolean _tmp12_ = FALSE;
- MediaSource* media = NULL;
+#line 1482 "PublishingUI.c"
GeeIterator* _tmp13_ = NULL;
- gpointer _tmp14_ = NULL;
+ gboolean _tmp14_ = FALSE;
+ MediaSource* media = NULL;
+ GeeIterator* _tmp15_ = NULL;
+ gpointer _tmp16_ = NULL;
SpitPublishingPublishable* publishable = NULL;
- MediaSource* _tmp15_ = NULL;
- PublishingGlueMediaSourcePublishableWrapper* _tmp16_ = NULL;
- SpitPublishingPublishable* _tmp17_ = NULL;
- SpitPublishingPublisherMediaType _tmp18_ = 0;
- SpitPublishingPublishable** _tmp21_ = NULL;
- gint _tmp21__length1 = 0;
- SpitPublishingPublishable* _tmp22_ = NULL;
- SpitPublishingPublishable* _tmp23_ = NULL;
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp11_ = _media_it;
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp12_ = gee_iterator_next (_tmp11_);
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (!_tmp12_) {
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ MediaSource* _tmp17_ = NULL;
+ PublishingGlueMediaSourcePublishableWrapper* _tmp18_ = NULL;
+ SpitPublishingPublishable* _tmp19_ = NULL;
+ SpitPublishingPublisherMediaType _tmp20_ = 0;
+ SpitPublishingPublishable** _tmp23_ = NULL;
+ gint _tmp23__length1 = 0;
+ SpitPublishingPublishable* _tmp24_ = NULL;
+ SpitPublishingPublishable* _tmp25_ = NULL;
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp13_ = _media_it;
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp14_ = gee_iterator_next (_tmp13_);
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ if (!_tmp14_) {
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
break;
-#line 1470 "PublishingUI.c"
+#line 1505 "PublishingUI.c"
}
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp13_ = _media_it;
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp14_ = gee_iterator_get (_tmp13_);
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- media = (MediaSource*) _tmp14_;
-#line 177 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp15_ = media;
-#line 177 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp16_ = publishing_glue_media_source_publishable_wrapper_new (_tmp15_);
-#line 177 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- publishable = G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, SPIT_PUBLISHING_TYPE_PUBLISHABLE, SpitPublishingPublishable);
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp15_ = _media_it;
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp16_ = gee_iterator_get (_tmp15_);
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ media = (MediaSource*) _tmp16_;
#line 179 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp17_ = publishable;
+ _tmp17_ = media;
#line 179 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp18_ = spit_publishing_publishable_get_media_type (_tmp17_);
+ _tmp18_ = publishing_glue_media_source_publishable_wrapper_new (_tmp17_);
#line 179 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (_tmp18_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) {
-#line 180 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- has_photos = TRUE;
-#line 1492 "PublishingUI.c"
- } else {
- SpitPublishingPublishable* _tmp19_ = NULL;
- SpitPublishingPublisherMediaType _tmp20_ = 0;
+ publishable = G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, SPIT_PUBLISHING_TYPE_PUBLISHABLE, SpitPublishingPublishable);
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp19_ = publishable;
+ _tmp19_ = publishable;
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp20_ = spit_publishing_publishable_get_media_type (_tmp19_);
+ _tmp20_ = spit_publishing_publishable_get_media_type (_tmp19_);
#line 181 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (_tmp20_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
+ if (_tmp20_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) {
#line 182 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ has_photos = TRUE;
+#line 1527 "PublishingUI.c"
+ } else {
+ SpitPublishingPublishable* _tmp21_ = NULL;
+ SpitPublishingPublisherMediaType _tmp22_ = 0;
+#line 183 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp21_ = publishable;
+#line 183 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp22_ = spit_publishing_publishable_get_media_type (_tmp21_);
+#line 183 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ if (_tmp22_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
+#line 184 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
has_videos = TRUE;
-#line 1504 "PublishingUI.c"
+#line 1539 "PublishingUI.c"
} else {
-#line 184 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_assert_not_reached ();
-#line 1508 "PublishingUI.c"
+#line 1543 "PublishingUI.c"
}
}
-#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp21_ = self->priv->publishables;
-#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp21__length1 = self->priv->publishables_length1;
-#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp22_ = publishable;
-#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp23_ = _g_object_ref0 (_tmp22_);
-#line 186 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _vala_array_add55 (&self->priv->publishables, &self->priv->publishables_length1, &self->priv->_publishables_size_, _tmp23_);
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp23_ = self->priv->publishables;
+#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp23__length1 = self->priv->publishables_length1;
+#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp24_ = publishable;
+#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp25_ = _g_object_ref0 (_tmp24_);
+#line 188 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _vala_array_add55 (&self->priv->publishables, &self->priv->publishables_length1, &self->priv->_publishables_size_, _tmp25_);
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (publishable);
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (media);
-#line 1525 "PublishingUI.c"
+#line 1560 "PublishingUI.c"
}
-#line 176 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 178 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (_media_it);
-#line 1529 "PublishingUI.c"
+#line 1564 "PublishingUI.c"
}
-#line 189 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 191 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
title = NULL;
-#line 190 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- label = NULL;
-#line 192 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp25_ = has_photos;
-#line 192 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (_tmp25_) {
-#line 1539 "PublishingUI.c"
- gboolean _tmp26_ = FALSE;
-#line 192 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp26_ = has_videos;
-#line 192 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp24_ = !_tmp26_;
-#line 1545 "PublishingUI.c"
- } else {
#line 192 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp24_ = FALSE;
-#line 1549 "PublishingUI.c"
- }
-#line 192 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (_tmp24_) {
-#line 1553 "PublishingUI.c"
- const gchar* _tmp27_ = NULL;
- gchar* _tmp28_ = NULL;
- const gchar* _tmp29_ = NULL;
- gchar* _tmp30_ = NULL;
-#line 193 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp27_ = _ ("Publish Photos");
-#line 193 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp28_ = g_strdup (_tmp27_);
-#line 193 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_free0 (title);
-#line 193 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- title = _tmp28_;
+ label = NULL;
#line 194 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp29_ = _ ("Publish photos _to:");
+ _tmp27_ = has_photos;
#line 194 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp30_ = g_strdup (_tmp29_);
+ if (_tmp27_) {
+#line 1574 "PublishingUI.c"
+ gboolean _tmp28_ = FALSE;
#line 194 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_free0 (label);
+ _tmp28_ = has_videos;
#line 194 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- label = _tmp30_;
-#line 1574 "PublishingUI.c"
+ _tmp26_ = !_tmp28_;
+#line 1580 "PublishingUI.c"
} else {
- gboolean _tmp31_ = FALSE;
- gboolean _tmp32_ = FALSE;
-#line 195 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp32_ = has_photos;
-#line 195 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (!_tmp32_) {
-#line 1582 "PublishingUI.c"
- gboolean _tmp33_ = FALSE;
+#line 194 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp26_ = FALSE;
+#line 1584 "PublishingUI.c"
+ }
+#line 194 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ if (_tmp26_) {
+#line 1588 "PublishingUI.c"
+ const gchar* _tmp29_ = NULL;
+ gchar* _tmp30_ = NULL;
+ const gchar* _tmp31_ = NULL;
+ gchar* _tmp32_ = NULL;
#line 195 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp33_ = has_videos;
+ _tmp29_ = _ ("Publish Photos");
#line 195 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp31_ = _tmp33_;
-#line 1588 "PublishingUI.c"
- } else {
+ _tmp30_ = g_strdup (_tmp29_);
#line 195 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp31_ = FALSE;
-#line 1592 "PublishingUI.c"
- }
+ _g_free0 (title);
#line 195 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (_tmp31_) {
-#line 1596 "PublishingUI.c"
- const gchar* _tmp34_ = NULL;
- gchar* _tmp35_ = NULL;
- const gchar* _tmp36_ = NULL;
- gchar* _tmp37_ = NULL;
+ title = _tmp30_;
#line 196 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp34_ = _ ("Publish Videos");
+ _tmp31_ = _ ("Publish photos _to:");
#line 196 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp35_ = g_strdup (_tmp34_);
+ _tmp32_ = g_strdup (_tmp31_);
#line 196 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_free0 (title);
+ _g_free0 (label);
#line 196 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- title = _tmp35_;
+ label = _tmp32_;
+#line 1609 "PublishingUI.c"
+ } else {
+ gboolean _tmp33_ = FALSE;
+ gboolean _tmp34_ = FALSE;
#line 197 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp36_ = _ ("Publish videos _to");
+ _tmp34_ = has_photos;
#line 197 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp37_ = g_strdup (_tmp36_);
+ if (!_tmp34_) {
+#line 1617 "PublishingUI.c"
+ gboolean _tmp35_ = FALSE;
#line 197 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_free0 (label);
+ _tmp35_ = has_videos;
#line 197 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- label = _tmp37_;
-#line 1617 "PublishingUI.c"
+ _tmp33_ = _tmp35_;
+#line 1623 "PublishingUI.c"
} else {
+#line 197 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp33_ = FALSE;
+#line 1627 "PublishingUI.c"
+ }
+#line 197 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ if (_tmp33_) {
+#line 1631 "PublishingUI.c"
+ const gchar* _tmp36_ = NULL;
+ gchar* _tmp37_ = NULL;
const gchar* _tmp38_ = NULL;
gchar* _tmp39_ = NULL;
- const gchar* _tmp40_ = NULL;
- gchar* _tmp41_ = NULL;
+#line 198 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp36_ = _ ("Publish Videos");
+#line 198 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp37_ = g_strdup (_tmp36_);
+#line 198 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _g_free0 (title);
+#line 198 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ title = _tmp37_;
#line 199 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp38_ = _ ("Publish Photos and Videos");
+ _tmp38_ = _ ("Publish videos _to");
#line 199 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp39_ = g_strdup (_tmp38_);
#line 199 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_free0 (title);
+ _g_free0 (label);
#line 199 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- title = _tmp39_;
-#line 200 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp40_ = _ ("Publish photos and videos _to");
-#line 200 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ label = _tmp39_;
+#line 1652 "PublishingUI.c"
+ } else {
+ const gchar* _tmp40_ = NULL;
+ gchar* _tmp41_ = NULL;
+ const gchar* _tmp42_ = NULL;
+ gchar* _tmp43_ = NULL;
+#line 201 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp40_ = _ ("Publish Photos and Videos");
+#line 201 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp41_ = g_strdup (_tmp40_);
-#line 200 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 201 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _g_free0 (title);
+#line 201 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ title = _tmp41_;
+#line 202 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp42_ = _ ("Publish photos and videos _to");
+#line 202 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp43_ = g_strdup (_tmp42_);
+#line 202 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_free0 (label);
-#line 200 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- label = _tmp41_;
-#line 1639 "PublishingUI.c"
+#line 202 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ label = _tmp43_;
+#line 1674 "PublishingUI.c"
}
}
-#line 202 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp42_ = title;
-#line 202 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp42_);
#line 204 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp43_ = gtk_list_store_new (2, gdk_pixbuf_get_type (), G_TYPE_STRING, -1);
+ _tmp44_ = title;
#line 204 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp44_);
+#line 206 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp45_ = gtk_list_store_new (2, gdk_pixbuf_get_type (), G_TYPE_STRING, -1);
+#line 206 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (self->priv->service_selector_box_model);
-#line 204 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- self->priv->service_selector_box_model = _tmp43_;
-#line 205 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp44_ = self->priv->service_selector_box_model;
-#line 205 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp45_ = (GtkComboBox*) gtk_combo_box_new_with_model (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, GTK_TYPE_TREE_MODEL, GtkTreeModel));
-#line 205 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_object_ref_sink (_tmp45_);
-#line 205 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_object_unref0 (self->priv->service_selector_box);
-#line 205 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- self->priv->service_selector_box = _tmp45_;
+#line 206 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ self->priv->service_selector_box_model = _tmp45_;
+#line 207 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp46_ = self->priv->service_selector_box_model;
#line 207 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp46_ = (GtkCellRendererPixbuf*) gtk_cell_renderer_pixbuf_new ();
+ _tmp47_ = (GtkComboBox*) gtk_combo_box_new_with_model (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, GTK_TYPE_TREE_MODEL, GtkTreeModel));
#line 207 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_object_ref_sink (_tmp46_);
+ g_object_ref_sink (_tmp47_);
#line 207 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- renderer_pix = _tmp46_;
-#line 208 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp47_ = self->priv->service_selector_box;
-#line 208 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp48_ = renderer_pix;
-#line 208 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
+ _g_object_unref0 (self->priv->service_selector_box);
+#line 207 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ self->priv->service_selector_box = _tmp47_;
#line 209 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp49_ = self->priv->service_selector_box;
+ _tmp48_ = (GtkCellRendererPixbuf*) gtk_cell_renderer_pixbuf_new ();
#line 209 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp50_ = renderer_pix;
+ g_object_ref_sink (_tmp48_);
#line 209 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_cell_renderer_get_type (), GtkCellRenderer), "pixbuf", 0);
+ renderer_pix = _tmp48_;
+#line 210 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp49_ = self->priv->service_selector_box;
+#line 210 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp50_ = renderer_pix;
+#line 210 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
#line 211 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp51_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
+ _tmp51_ = self->priv->service_selector_box;
#line 211 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_object_ref_sink (_tmp51_);
+ _tmp52_ = renderer_pix;
#line 211 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- renderer_text = _tmp51_;
-#line 212 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp52_ = self->priv->service_selector_box;
-#line 212 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp53_ = renderer_text;
-#line 212 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
+ gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_cell_renderer_get_type (), GtkCellRenderer), "pixbuf", 0);
#line 213 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp54_ = self->priv->service_selector_box;
+ _tmp53_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 213 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp55_ = renderer_text;
+ g_object_ref_sink (_tmp53_);
#line 213 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, gtk_cell_renderer_get_type (), GtkCellRenderer), "text", 1);
+ renderer_text = _tmp53_;
+#line 214 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp54_ = self->priv->service_selector_box;
+#line 214 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp55_ = renderer_text;
+#line 214 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
#line 215 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp56_ = self->priv->service_selector_box;
#line 215 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_combo_box_set_active (_tmp56_, 0);
-#line 218 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp57_ = config_facade_get_instance ();
-#line 218 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp58_ = _tmp57_;
-#line 218 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp59_ = configuration_facade_get_last_used_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 218 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp60_ = _tmp59_;
-#line 218 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_object_unref0 (_tmp58_);
-#line 218 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- last_used_service = _tmp60_;
+ _tmp57_ = renderer_text;
+#line 215 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, gtk_cell_renderer_get_type (), GtkCellRenderer), "text", 1);
+#line 217 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp58_ = self->priv->service_selector_box;
+#line 217 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_combo_box_set_active (_tmp58_, 0);
#line 220 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp61_ = has_photos;
+ _tmp59_ = config_facade_get_instance ();
#line 220 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp62_ = has_videos;
+ _tmp60_ = _tmp59_;
#line 220 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp64_ = publishing_ui_publishing_dialog_load_services (_tmp61_, _tmp62_, &_tmp63_);
+ _tmp61_ = configuration_facade_get_last_used_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 220 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- loaded_services = _tmp64_;
+ _tmp62_ = _tmp61_;
#line 220 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- loaded_services_length1 = _tmp63_;
+ _g_object_unref0 (_tmp60_);
#line 220 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ last_used_service = _tmp62_;
+#line 222 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp63_ = has_photos;
+#line 222 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp64_ = has_videos;
+#line 222 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp66_ = publishing_ui_publishing_dialog_load_services (_tmp63_, _tmp64_, &_tmp65_);
+#line 222 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ loaded_services = _tmp66_;
+#line 222 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ loaded_services_length1 = _tmp65_;
+#line 222 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_loaded_services_size_ = loaded_services_length1;
-#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp65_ = loaded_services;
-#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp65__length1 = loaded_services_length1;
-#line 1730 "PublishingUI.c"
+#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp67_ = loaded_services;
+#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp67__length1 = loaded_services_length1;
+#line 1765 "PublishingUI.c"
{
SpitPublishingService** service_collection = NULL;
gint service_collection_length1 = 0;
gint _service_collection_size_ = 0;
gint service_it = 0;
-#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- service_collection = _tmp65_;
-#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- service_collection_length1 = _tmp65__length1;
-#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- for (service_it = 0; service_it < _tmp65__length1; service_it = service_it + 1) {
-#line 1742 "PublishingUI.c"
- SpitPublishingService* _tmp66_ = NULL;
+#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ service_collection = _tmp67_;
+#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ service_collection_length1 = _tmp67__length1;
+#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ for (service_it = 0; service_it < _tmp67__length1; service_it = service_it + 1) {
+#line 1777 "PublishingUI.c"
+ SpitPublishingService* _tmp68_ = NULL;
SpitPublishingService* service = NULL;
-#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp66_ = _g_object_ref0 (service_collection[service_it]);
-#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- service = _tmp66_;
-#line 1749 "PublishingUI.c"
+#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp68_ = _g_object_ref0 (service_collection[service_it]);
+#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ service = _tmp68_;
+#line 1784 "PublishingUI.c"
{
- GtkListStore* _tmp67_ = NULL;
- GtkTreeIter _tmp68_ = {0};
+ GtkListStore* _tmp69_ = NULL;
+ GtkTreeIter _tmp70_ = {0};
gchar* curr_service_id = NULL;
- SpitPublishingService* _tmp69_ = NULL;
- const gchar* _tmp70_ = NULL;
- gchar* _tmp71_ = NULL;
- SpitPublishingService* _tmp72_ = NULL;
- gboolean _tmp73_ = FALSE;
- SpitPluggableInfo _tmp74_ = {0};
- GdkPixbuf** _tmp75_ = NULL;
- gint _tmp75__length1 = 0;
- const gchar* _tmp93_ = NULL;
-#line 225 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp67_ = self->priv->service_selector_box_model;
-#line 225 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_list_store_append (_tmp67_, &_tmp68_);
-#line 225 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- iter = _tmp68_;
-#line 227 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp69_ = service;
+ SpitPublishingService* _tmp71_ = NULL;
+ const gchar* _tmp72_ = NULL;
+ gchar* _tmp73_ = NULL;
+ SpitPublishingService* _tmp74_ = NULL;
+ gboolean _tmp75_ = FALSE;
+ SpitPluggableInfo _tmp76_ = {0};
+ GdkPixbuf** _tmp77_ = NULL;
+ gint _tmp77__length1 = 0;
+ const gchar* _tmp95_ = NULL;
#line 227 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp70_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
+ _tmp69_ = self->priv->service_selector_box_model;
#line 227 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp71_ = g_strdup (_tmp70_);
+ gtk_list_store_append (_tmp69_, &_tmp70_);
#line 227 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- curr_service_id = _tmp71_;
+ iter = _tmp70_;
#line 229 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp72_ = service;
+ _tmp71_ = service;
#line 229 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- spit_pluggable_get_info (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, SPIT_TYPE_PLUGGABLE, SpitPluggable), &self->priv->info);
-#line 231 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp74_ = self->priv->info;
-#line 231 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp75_ = _tmp74_.icons;
-#line 231 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp75__length1 = _tmp74_.icons_length1;
-#line 231 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (NULL != _tmp75_) {
-#line 1789 "PublishingUI.c"
- SpitPluggableInfo _tmp76_ = {0};
- GdkPixbuf** _tmp77_ = NULL;
- gint _tmp77__length1 = 0;
-#line 231 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp76_ = self->priv->info;
-#line 231 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp77_ = _tmp76_.icons;
-#line 231 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp77__length1 = _tmp76_.icons_length1;
-#line 231 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp73_ = 0 < _tmp77__length1;
-#line 1801 "PublishingUI.c"
- } else {
+ _tmp72_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
+#line 229 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp73_ = g_strdup (_tmp72_);
+#line 229 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ curr_service_id = _tmp73_;
#line 231 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp73_ = FALSE;
-#line 1805 "PublishingUI.c"
- }
+ _tmp74_ = service;
#line 231 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (_tmp73_) {
-#line 1809 "PublishingUI.c"
- GtkListStore* _tmp78_ = NULL;
- GtkTreeIter _tmp79_ = {0};
- SpitPluggableInfo _tmp80_ = {0};
- GdkPixbuf** _tmp81_ = NULL;
- gint _tmp81__length1 = 0;
- GdkPixbuf* _tmp82_ = NULL;
- SpitPublishingService* _tmp83_ = NULL;
- const gchar* _tmp84_ = NULL;
- GdkPixbuf* _tmp85_ = NULL;
- GdkPixbuf* _tmp86_ = NULL;
+ spit_pluggable_get_info (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, SPIT_TYPE_PLUGGABLE, SpitPluggable), &self->priv->info);
#line 233 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp78_ = self->priv->service_selector_box_model;
+ _tmp76_ = self->priv->info;
#line 233 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp79_ = iter;
+ _tmp77_ = _tmp76_.icons;
#line 233 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp80_ = self->priv->info;
+ _tmp77__length1 = _tmp76_.icons_length1;
#line 233 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp81_ = _tmp80_.icons;
+ if (NULL != _tmp77_) {
+#line 1824 "PublishingUI.c"
+ SpitPluggableInfo _tmp78_ = {0};
+ GdkPixbuf** _tmp79_ = NULL;
+ gint _tmp79__length1 = 0;
#line 233 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp81__length1 = _tmp80_.icons_length1;
+ _tmp78_ = self->priv->info;
#line 233 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp82_ = _tmp81_[0];
+ _tmp79_ = _tmp78_.icons;
#line 233 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp83_ = service;
+ _tmp79__length1 = _tmp78_.icons_length1;
#line 233 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp84_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
+ _tmp75_ = 0 < _tmp79__length1;
+#line 1836 "PublishingUI.c"
+ } else {
#line 233 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_list_store_set (_tmp78_, &_tmp79_, 0, _tmp82_, 1, _tmp84_, -1);
-#line 237 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp85_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, RESOURCES_DEFAULT_ICON_SCALE);
-#line 237 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp75_ = FALSE;
+#line 1840 "PublishingUI.c"
+ }
+#line 233 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ if (_tmp75_) {
+#line 1844 "PublishingUI.c"
+ GtkListStore* _tmp80_ = NULL;
+ GtkTreeIter _tmp81_ = {0};
+ SpitPluggableInfo _tmp82_ = {0};
+ GdkPixbuf** _tmp83_ = NULL;
+ gint _tmp83__length1 = 0;
+ GdkPixbuf* _tmp84_ = NULL;
+ SpitPublishingService* _tmp85_ = NULL;
+ const gchar* _tmp86_ = NULL;
+ GdkPixbuf* _tmp87_ = NULL;
+ GdkPixbuf* _tmp88_ = NULL;
+#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp80_ = self->priv->service_selector_box_model;
+#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp81_ = iter;
+#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp82_ = self->priv->info;
+#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp83_ = _tmp82_.icons;
+#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp83__length1 = _tmp82_.icons_length1;
+#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp84_ = _tmp83_[0];
+#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp85_ = service;
+#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp86_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp85_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
+#line 235 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_list_store_set (_tmp80_, &_tmp81_, 0, _tmp84_, 1, _tmp86_, -1);
+#line 239 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp87_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, RESOURCES_DEFAULT_ICON_SCALE);
+#line 239 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (self->priv->info.icons[0]);
-#line 237 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- self->priv->info.icons[0] = _tmp85_;
-#line 237 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp86_ = self->priv->info.icons[0];
-#line 1846 "PublishingUI.c"
+#line 239 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ self->priv->info.icons[0] = _tmp87_;
+#line 239 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp88_ = self->priv->info.icons[0];
+#line 1881 "PublishingUI.c"
} else {
- GtkListStore* _tmp87_ = NULL;
- GtkTreeIter _tmp88_ = {0};
- GdkPixbuf* _tmp89_ = NULL;
- GdkPixbuf* _tmp90_ = NULL;
- SpitPublishingService* _tmp91_ = NULL;
- const gchar* _tmp92_ = NULL;
-#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp87_ = self->priv->service_selector_box_model;
-#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp88_ = iter;
-#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp89_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, RESOURCES_DEFAULT_ICON_SCALE);
-#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp90_ = _tmp89_;
-#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp91_ = service;
-#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp92_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp91_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
-#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_list_store_set (_tmp87_, &_tmp88_, 0, _tmp90_, 1, _tmp92_, -1);
-#line 240 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_object_unref0 (_tmp90_);
-#line 1870 "PublishingUI.c"
+ GtkListStore* _tmp89_ = NULL;
+ GtkTreeIter _tmp90_ = {0};
+ GdkPixbuf* _tmp91_ = NULL;
+ GdkPixbuf* _tmp92_ = NULL;
+ SpitPublishingService* _tmp93_ = NULL;
+ const gchar* _tmp94_ = NULL;
+#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp89_ = self->priv->service_selector_box_model;
+#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp90_ = iter;
+#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp91_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, RESOURCES_DEFAULT_ICON_SCALE);
+#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp92_ = _tmp91_;
+#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp93_ = service;
+#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp94_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp93_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
+#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_list_store_set (_tmp89_, &_tmp90_, 0, _tmp92_, 1, _tmp94_, -1);
+#line 242 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _g_object_unref0 (_tmp92_);
+#line 1905 "PublishingUI.c"
}
-#line 244 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp93_ = last_used_service;
-#line 244 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (_tmp93_ == NULL) {
-#line 1876 "PublishingUI.c"
- GtkComboBox* _tmp94_ = NULL;
- GtkTreeIter _tmp95_ = {0};
- SpitPublishingService* _tmp96_ = NULL;
- const gchar* _tmp97_ = NULL;
- gchar* _tmp98_ = NULL;
-#line 245 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp94_ = self->priv->service_selector_box;
-#line 245 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp95_ = iter;
-#line 245 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_combo_box_set_active_iter (_tmp94_, &_tmp95_);
-#line 246 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp96_ = service;
-#line 246 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp97_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp96_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 246 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp98_ = g_strdup (_tmp97_);
-#line 246 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_free0 (last_used_service);
+ _tmp95_ = last_used_service;
#line 246 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- last_used_service = _tmp98_;
-#line 1898 "PublishingUI.c"
- } else {
+ if (_tmp95_ == NULL) {
+#line 1911 "PublishingUI.c"
+ GtkComboBox* _tmp96_ = NULL;
+ GtkTreeIter _tmp97_ = {0};
+ SpitPublishingService* _tmp98_ = NULL;
const gchar* _tmp99_ = NULL;
- const gchar* _tmp100_ = NULL;
+ gchar* _tmp100_ = NULL;
#line 247 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp99_ = last_used_service;
+ _tmp96_ = self->priv->service_selector_box;
#line 247 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp100_ = curr_service_id;
+ _tmp97_ = iter;
#line 247 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (g_strcmp0 (_tmp99_, _tmp100_) == 0) {
-#line 1908 "PublishingUI.c"
- GtkComboBox* _tmp101_ = NULL;
- GtkTreeIter _tmp102_ = {0};
+ gtk_combo_box_set_active_iter (_tmp96_, &_tmp97_);
+#line 248 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp98_ = service;
#line 248 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp101_ = self->priv->service_selector_box;
+ _tmp99_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp98_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 248 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp102_ = iter;
+ _tmp100_ = g_strdup (_tmp99_);
+#line 248 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _g_free0 (last_used_service);
#line 248 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_combo_box_set_active_iter (_tmp101_, &_tmp102_);
-#line 1917 "PublishingUI.c"
+ last_used_service = _tmp100_;
+#line 1933 "PublishingUI.c"
+ } else {
+ const gchar* _tmp101_ = NULL;
+ const gchar* _tmp102_ = NULL;
+#line 249 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp101_ = last_used_service;
+#line 249 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp102_ = curr_service_id;
+#line 249 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ if (g_strcmp0 (_tmp101_, _tmp102_) == 0) {
+#line 1943 "PublishingUI.c"
+ GtkComboBox* _tmp103_ = NULL;
+ GtkTreeIter _tmp104_ = {0};
+#line 250 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp103_ = self->priv->service_selector_box;
+#line 250 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp104_ = iter;
+#line 250 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_combo_box_set_active_iter (_tmp103_, &_tmp104_);
+#line 1952 "PublishingUI.c"
}
}
-#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_free0 (curr_service_id);
-#line 224 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 226 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (service);
-#line 1924 "PublishingUI.c"
+#line 1959 "PublishingUI.c"
}
}
}
-#line 252 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp103_ = self->priv->service_selector_box;
-#line 252 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_signal_connect_object (_tmp103_, "changed", (GCallback) _publishing_ui_publishing_dialog_on_service_changed_gtk_combo_box_changed, self, 0);
#line 254 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp104_ = use_header;
+ _tmp105_ = self->priv->service_selector_box;
#line 254 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (!_tmp104_) {
-#line 1936 "PublishingUI.c"
+ g_signal_connect_object (_tmp105_, "changed", (GCallback) _publishing_ui_publishing_dialog_on_service_changed_gtk_combo_box_changed, self, 0);
+#line 256 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp106_ = use_header;
+#line 256 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ if (!_tmp106_) {
+#line 1971 "PublishingUI.c"
GtkLabel* service_selector_box_label = NULL;
- const gchar* _tmp105_ = NULL;
- GtkLabel* _tmp106_ = NULL;
- GtkLabel* _tmp107_ = NULL;
- GtkComboBox* _tmp108_ = NULL;
+ const gchar* _tmp107_ = NULL;
+ GtkLabel* _tmp108_ = NULL;
GtkLabel* _tmp109_ = NULL;
- GtkLabel* _tmp110_ = NULL;
- GtkComboBox* _tmp111_ = NULL;
- GtkComboBox* _tmp112_ = NULL;
+ GtkComboBox* _tmp110_ = NULL;
+ GtkLabel* _tmp111_ = NULL;
+ GtkLabel* _tmp112_ = NULL;
GtkComboBox* _tmp113_ = NULL;
GtkComboBox* _tmp114_ = NULL;
+ GtkComboBox* _tmp115_ = NULL;
+ GtkComboBox* _tmp116_ = NULL;
GtkBox* service_selector_layouter = NULL;
- GtkBox* _tmp115_ = NULL;
- GtkBox* _tmp116_ = NULL;
GtkBox* _tmp117_ = NULL;
GtkBox* _tmp118_ = NULL;
- GtkLabel* _tmp119_ = NULL;
+ GtkBox* _tmp119_ = NULL;
GtkBox* _tmp120_ = NULL;
- GtkComboBox* _tmp121_ = NULL;
- GtkBox* service_area_layouter = NULL;
+ GtkLabel* _tmp121_ = NULL;
GtkBox* _tmp122_ = NULL;
- GtkBox* _tmp123_ = NULL;
+ GtkComboBox* _tmp123_ = NULL;
+ GtkBox* service_area_layouter = NULL;
GtkBox* _tmp124_ = NULL;
GtkBox* _tmp125_ = NULL;
- GtkSeparator* _tmp126_ = NULL;
- GtkSeparator* _tmp127_ = NULL;
- GtkBox* _tmp128_ = NULL;
- GtkBox* _tmp129_ = NULL;
+ GtkBox* _tmp126_ = NULL;
+ GtkBox* _tmp127_ = NULL;
+ GtkSeparator* _tmp128_ = NULL;
+ GtkSeparator* _tmp129_ = NULL;
GtkBox* _tmp130_ = NULL;
GtkBox* _tmp131_ = NULL;
GtkBox* _tmp132_ = NULL;
GtkBox* _tmp133_ = NULL;
-#line 256 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp105_ = label;
-#line 256 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp106_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp105_);
-#line 256 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_object_ref_sink (_tmp106_);
-#line 256 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- service_selector_box_label = _tmp106_;
-#line 257 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp107_ = service_selector_box_label;
-#line 257 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp108_ = self->priv->service_selector_box;
-#line 257 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_label_set_mnemonic_widget (_tmp107_, G_TYPE_CHECK_INSTANCE_CAST (_tmp108_, gtk_widget_get_type (), GtkWidget));
+ GtkBox* _tmp134_ = NULL;
+ GtkBox* _tmp135_ = NULL;
#line 258 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp109_ = service_selector_box_label;
+ _tmp107_ = label;
+#line 258 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp108_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp107_);
+#line 258 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_object_ref_sink (_tmp108_);
#line 258 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp109_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
+ service_selector_box_label = _tmp108_;
+#line 259 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp109_ = service_selector_box_label;
#line 259 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp110_ = service_selector_box_label;
+ _tmp110_ = self->priv->service_selector_box;
#line 259 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp110_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 265 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp111_ = self->priv->service_selector_box;
-#line 265 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp111_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_END);
-#line 266 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp112_ = self->priv->service_selector_box;
-#line 266 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_label_set_mnemonic_widget (_tmp109_, G_TYPE_CHECK_INSTANCE_CAST (_tmp110_, gtk_widget_get_type (), GtkWidget));
+#line 260 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp111_ = service_selector_box_label;
+#line 260 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp111_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
+#line 261 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp112_ = service_selector_box_label;
+#line 261 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp112_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
#line 267 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp113_ = self->priv->service_selector_box;
#line 267 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp113_, gtk_widget_get_type (), GtkWidget), FALSE);
+ gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp113_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_END);
#line 268 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp114_ = self->priv->service_selector_box;
#line 268 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp114_, gtk_widget_get_type (), GtkWidget), FALSE);
+ gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp114_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
+#line 269 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp115_ = self->priv->service_selector_box;
+#line 269 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp115_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 270 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp115_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
+ _tmp116_ = self->priv->service_selector_box;
#line 270 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_object_ref_sink (_tmp115_);
-#line 270 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- service_selector_layouter = _tmp115_;
-#line 271 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp116_ = service_selector_layouter;
-#line 271 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp116_, gtk_container_get_type (), GtkContainer), (guint) 12);
+ gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp116_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 272 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp117_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
#line 272 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp117_ = service_selector_layouter;
+ g_object_ref_sink (_tmp117_);
#line 272 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp117_, gtk_widget_get_type (), GtkWidget), TRUE);
+ service_selector_layouter = _tmp117_;
#line 273 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp118_ = service_selector_layouter;
#line 273 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp119_ = service_selector_box_label;
-#line 273 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp118_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp119_, gtk_widget_get_type (), GtkWidget));
-#line 274 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp120_ = service_selector_layouter;
+ gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp118_, gtk_container_get_type (), GtkContainer), (guint) 12);
#line 274 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp121_ = self->priv->service_selector_box;
+ _tmp119_ = service_selector_layouter;
#line 274 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_box_pack_start (_tmp120_, G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
-#line 278 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp122_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 278 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_object_ref_sink (_tmp122_);
-#line 278 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- service_area_layouter = _tmp122_;
-#line 279 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp123_ = service_area_layouter;
-#line 279 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp124_ = service_selector_layouter;
-#line 279 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp123_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp124_, gtk_widget_get_type (), GtkWidget));
-#line 280 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp125_ = service_area_layouter;
-#line 280 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp126_ = (GtkSeparator*) gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
-#line 280 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_object_ref_sink (_tmp126_);
+ gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp119_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 275 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp120_ = service_selector_layouter;
+#line 275 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp121_ = service_selector_box_label;
+#line 275 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp120_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_widget_get_type (), GtkWidget));
+#line 276 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp122_ = service_selector_layouter;
+#line 276 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp123_ = self->priv->service_selector_box;
+#line 276 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_box_pack_start (_tmp122_, G_TYPE_CHECK_INSTANCE_CAST (_tmp123_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 280 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp127_ = _tmp126_;
+ _tmp124_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 280 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp125_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp127_, gtk_widget_get_type (), GtkWidget));
+ g_object_ref_sink (_tmp124_);
#line 280 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_object_unref0 (_tmp127_);
+ service_area_layouter = _tmp124_;
+#line 281 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp125_ = service_area_layouter;
#line 281 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp128_ = service_area_layouter;
+ _tmp126_ = service_selector_layouter;
#line 281 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp128_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL);
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp125_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp126_, gtk_widget_get_type (), GtkWidget));
+#line 282 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp127_ = service_area_layouter;
+#line 282 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp128_ = (GtkSeparator*) gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
#line 282 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp129_ = service_area_layouter;
+ g_object_ref_sink (_tmp128_);
#line 282 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp129_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
+ _tmp129_ = _tmp128_;
+#line 282 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp127_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp129_, gtk_widget_get_type (), GtkWidget));
+#line 282 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _g_object_unref0 (_tmp129_);
#line 283 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp130_ = service_area_layouter;
#line 283 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp130_, gtk_widget_get_type (), GtkWidget), TRUE);
+ gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp130_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL);
#line 284 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp131_ = service_area_layouter;
#line 284 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp131_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 286 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp132_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+ gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp131_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
+#line 285 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp132_ = service_area_layouter;
+#line 285 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp132_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 286 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp133_ = service_area_layouter;
#line 286 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_box_pack_start (_tmp132_, G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 254 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 288 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp134_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+#line 288 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp135_ = service_area_layouter;
+#line 288 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_box_pack_start (_tmp134_, G_TYPE_CHECK_INSTANCE_CAST (_tmp135_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+#line 256 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (service_area_layouter);
-#line 254 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 256 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (service_selector_layouter);
-#line 254 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 256 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (service_selector_box_label);
-#line 2085 "PublishingUI.c"
+#line 2120 "PublishingUI.c"
}
-#line 289 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp134_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 289 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_object_ref_sink (_tmp134_);
-#line 289 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_object_unref0 (self->priv->central_area_layouter);
-#line 289 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- self->priv->central_area_layouter = _tmp134_;
#line 291 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp135_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+ _tmp136_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+#line 291 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_object_ref_sink (_tmp136_);
#line 291 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp136_ = self->priv->central_area_layouter;
+ _g_object_unref0 (self->priv->central_area_layouter);
#line 291 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_box_pack_start (_tmp135_, G_TYPE_CHECK_INSTANCE_CAST (_tmp136_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+ self->priv->central_area_layouter = _tmp136_;
#line 293 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp137_ = use_header;
+ _tmp137_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 293 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- if (_tmp137_) {
-#line 2105 "PublishingUI.c"
- GtkButton* _tmp138_ = NULL;
- GtkButton* _tmp139_ = NULL;
- GtkWidget* _tmp140_ = NULL;
+ _tmp138_ = self->priv->central_area_layouter;
+#line 293 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_box_pack_start (_tmp137_, G_TYPE_CHECK_INSTANCE_CAST (_tmp138_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+#line 295 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp139_ = use_header;
+#line 295 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ if (_tmp139_) {
+#line 2140 "PublishingUI.c"
+ GtkButton* _tmp140_ = NULL;
GtkButton* _tmp141_ = NULL;
GtkWidget* _tmp142_ = NULL;
- GtkComboBox* _tmp143_ = NULL;
-#line 294 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp138_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Cancel");
-#line 294 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_object_ref_sink (_tmp138_);
-#line 294 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ GtkButton* _tmp143_ = NULL;
+ GtkWidget* _tmp144_ = NULL;
+ GtkComboBox* _tmp145_ = NULL;
+#line 296 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp140_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Cancel");
+#line 296 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_object_ref_sink (_tmp140_);
+#line 296 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (self->priv->close_cancel_button);
-#line 294 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- self->priv->close_cancel_button = _tmp138_;
-#line 295 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp139_ = self->priv->close_cancel_button;
-#line 295 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp139_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 297 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp140_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+#line 296 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ self->priv->close_cancel_button = _tmp140_;
#line 297 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp141_ = self->priv->close_cancel_button;
#line 297 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_header_bar_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp140_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp141_, gtk_widget_get_type (), GtkWidget));
-#line 298 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp141_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 299 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp142_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
-#line 298 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp143_ = self->priv->service_selector_box;
-#line 298 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_header_bar_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp142_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp143_, gtk_widget_get_type (), GtkWidget));
-#line 2136 "PublishingUI.c"
+#line 299 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp143_ = self->priv->close_cancel_button;
+#line 299 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_header_bar_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp142_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp143_, gtk_widget_get_type (), GtkWidget));
+#line 300 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp144_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+#line 300 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp145_ = self->priv->service_selector_box;
+#line 300 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_header_bar_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp144_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp145_, gtk_widget_get_type (), GtkWidget));
+#line 2171 "PublishingUI.c"
} else {
- const gchar* _tmp144_ = NULL;
- GtkWidget* _tmp145_ = NULL;
- GtkButton* _tmp146_ = NULL;
-#line 301 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp144_ = _ ("_Cancel");
-#line 301 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), _tmp144_, (gint) GTK_RESPONSE_CANCEL);
-#line 302 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp145_ = gtk_dialog_get_widget_for_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_CANCEL);
-#line 302 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp146_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp145_, gtk_button_get_type ()) ? ((GtkButton*) _tmp145_) : NULL);
-#line 302 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_object_unref0 (self->priv->close_cancel_button);
-#line 302 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- self->priv->close_cancel_button = _tmp146_;
-#line 2153 "PublishingUI.c"
- }
+ const gchar* _tmp146_ = NULL;
+ GtkWidget* _tmp147_ = NULL;
+ GtkButton* _tmp148_ = NULL;
+#line 303 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp146_ = _ ("_Cancel");
+#line 303 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), _tmp146_, (gint) GTK_RESPONSE_CANCEL);
+#line 304 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _tmp147_ = gtk_dialog_get_widget_for_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_CANCEL);
#line 304 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp147_ = self->priv->close_cancel_button;
+ _tmp148_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp147_, gtk_button_get_type ()) ? ((GtkButton*) _tmp147_) : NULL);
+#line 304 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _g_object_unref0 (self->priv->close_cancel_button);
#line 304 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_signal_connect_object (_tmp147_, "clicked", (GCallback) _publishing_ui_publishing_dialog_on_close_cancel_clicked_gtk_button_clicked, self, 0);
+ self->priv->close_cancel_button = _tmp148_;
+#line 2188 "PublishingUI.c"
+ }
#line 306 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- publishing_ui_publishing_dialog_set_standard_window_mode (self);
+ _tmp149_ = self->priv->close_cancel_button;
+#line 306 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_signal_connect_object (_tmp149_, "clicked", (GCallback) _publishing_ui_publishing_dialog_on_close_cancel_clicked_gtk_button_clicked, self, 0);
#line 308 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ publishing_ui_publishing_dialog_set_standard_window_mode (self);
+#line 310 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 161 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
loaded_services = (_vala_array_free (loaded_services, loaded_services_length1, (GDestroyNotify) g_object_unref), NULL);
@@ -2173,65 +2208,65 @@ PublishingUIPublishingDialog* publishing_ui_publishing_dialog_construct (GType o
_g_free0 (title);
#line 161 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return self;
-#line 2177 "PublishingUI.c"
+#line 2212 "PublishingUI.c"
}
PublishingUIPublishingDialog* publishing_ui_publishing_dialog_new (GeeCollection* to_publish) {
#line 161 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return publishing_ui_publishing_dialog_construct (PUBLISHING_UI_TYPE_PUBLISHING_DIALOG, to_publish);
-#line 2184 "PublishingUI.c"
+#line 2219 "PublishingUI.c"
}
static void _vala_array_add56 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value) {
-#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((*length) == (*size)) {
-#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*array = g_renew (SpitPublishingService*, *array, (*size) + 1);
-#line 2195 "PublishingUI.c"
+#line 2230 "PublishingUI.c"
}
-#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
(*array)[(*length)++] = value;
-#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
(*array)[*length] = NULL;
-#line 2201 "PublishingUI.c"
+#line 2236 "PublishingUI.c"
}
-static gint __lambda14_ (void* a, void* b) {
+static gint __lambda15_ (void* a, void* b) {
gint result = 0;
void* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
void* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
gint _tmp4_ = 0;
-#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = a;
-#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp1_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (*((SpitPublishingService**) _tmp0_), SPIT_TYPE_PLUGGABLE, SpitPluggable));
-#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp2_ = b;
-#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp3_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (*((SpitPublishingService**) _tmp2_), SPIT_TYPE_PLUGGABLE, SpitPluggable));
-#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp4_ = utf8_cs_compare (_tmp1_, _tmp3_);
-#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
result = _tmp4_;
-#line 341 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 343 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return result;
-#line 2226 "PublishingUI.c"
+#line 2261 "PublishingUI.c"
}
-static gint ___lambda14____compar_fn_t (void* key1, void* key2) {
+static gint ___lambda15____compar_fn_t (void* key1, void* key2) {
gint result;
- result = __lambda14_ (key1, key2);
-#line 340 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ result = __lambda15_ (key1, key2);
+#line 342 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return result;
-#line 2235 "PublishingUI.c"
+#line 2270 "PublishingUI.c"
}
@@ -2252,41 +2287,41 @@ static SpitPublishingService** publishing_ui_publishing_dialog_load_all_services
gint _tmp26__length1 = 0;
SpitPublishingService** _tmp27_ = NULL;
gint _tmp27__length1 = 0;
-#line 312 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 314 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = g_new0 (SpitPublishingService*, 0 + 1);
-#line 312 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 314 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
loaded_services = _tmp0_;
-#line 312 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 314 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
loaded_services_length1 = 0;
-#line 312 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 314 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_loaded_services_size_ = loaded_services_length1;
-#line 315 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 317 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp1_ = plugins_get_pluggables_for_type (SPIT_PUBLISHING_TYPE_SERVICE, NULL, NULL, NULL, FALSE);
-#line 315 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 317 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
pluggables = _tmp1_;
-#line 318 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp2_ = pluggables;
-#line 318 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp3_ = gee_collection_get_size (_tmp2_);
-#line 318 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp4_ = _tmp3_;
-#line 318 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_debug ("PublishingUI.vala:318: PublisingDialog: discovered %d pluggable publis" \
+#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_debug ("PublishingUI.vala:320: PublisingDialog: discovered %d pluggable publis" \
"hing services.", _tmp4_);
-#line 2276 "PublishingUI.c"
+#line 2311 "PublishingUI.c"
{
GeeIterator* _pluggable_it = NULL;
GeeCollection* _tmp5_ = NULL;
GeeIterator* _tmp6_ = NULL;
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp5_ = pluggables;
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp6_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_pluggable_it = _tmp6_;
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
while (TRUE) {
-#line 2289 "PublishingUI.c"
+#line 2324 "PublishingUI.c"
GeeIterator* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
SpitPluggable* pluggable = NULL;
@@ -2305,167 +2340,167 @@ static SpitPublishingService** publishing_ui_publishing_dialog_load_all_services
gint _tmp22__length1 = 0;
SpitPublishingService* _tmp23_ = NULL;
SpitPublishingService* _tmp24_ = NULL;
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp7_ = _pluggable_it;
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp8_ = gee_iterator_next (_tmp7_);
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (!_tmp8_) {
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
break;
-#line 2316 "PublishingUI.c"
+#line 2351 "PublishingUI.c"
}
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp9_ = _pluggable_it;
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp10_ = gee_iterator_get (_tmp9_);
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
pluggable = (SpitPluggable*) _tmp10_;
-#line 321 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp11_ = pluggable;
-#line 321 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp12_ = spit_pluggable_get_pluggable_interface (_tmp11_, SPIT_PUBLISHING_CURRENT_INTERFACE, SPIT_PUBLISHING_CURRENT_INTERFACE);
-#line 321 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- pluggable_interface = _tmp12_;
#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ pluggable_interface = _tmp12_;
+#line 325 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp13_ = pluggable_interface;
-#line 323 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 325 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp13_ != SPIT_PUBLISHING_CURRENT_INTERFACE) {
-#line 2334 "PublishingUI.c"
+#line 2369 "PublishingUI.c"
SpitPluggable* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
gint _tmp17_ = 0;
-#line 324 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 326 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp14_ = pluggable;
-#line 324 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 326 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp15_ = plugins_get_pluggable_module_id (_tmp14_);
-#line 324 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 326 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp16_ = _tmp15_;
-#line 324 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 326 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp17_ = pluggable_interface;
-#line 324 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_warning ("PublishingUI.vala:324: Unable to load publisher %s: reported interface" \
+#line 326 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_warning ("PublishingUI.vala:326: Unable to load publisher %s: reported interface" \
" %d.", _tmp16_, _tmp17_);
-#line 324 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 326 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_free0 (_tmp16_);
-#line 327 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 329 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (pluggable);
-#line 327 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 329 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
continue;
-#line 2355 "PublishingUI.c"
+#line 2390 "PublishingUI.c"
}
-#line 330 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 332 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp18_ = pluggable;
-#line 330 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 332 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp19_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, SPIT_PUBLISHING_TYPE_SERVICE, SpitPublishingService));
-#line 330 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 332 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
service = _tmp19_;
-#line 333 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 335 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp20_ = service;
-#line 333 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 335 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp21_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
-#line 333 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_debug ("PublishingUI.vala:333: PublishingDialog: discovered pluggable publishi" \
+#line 335 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_debug ("PublishingUI.vala:335: PublishingDialog: discovered pluggable publishi" \
"ng service '%s'.", _tmp21_);
-#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp22_ = loaded_services;
-#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp22__length1 = loaded_services_length1;
-#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp23_ = service;
-#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp24_ = _g_object_ref0 (_tmp23_);
-#line 336 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 338 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_vala_array_add56 (&loaded_services, &loaded_services_length1, &_loaded_services_size_, _tmp24_);
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (service);
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (pluggable);
-#line 2383 "PublishingUI.c"
+#line 2418 "PublishingUI.c"
}
-#line 320 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 322 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (_pluggable_it);
-#line 2387 "PublishingUI.c"
+#line 2422 "PublishingUI.c"
}
-#line 340 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 342 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp25_ = loaded_services;
-#line 340 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 342 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp25__length1 = loaded_services_length1;
-#line 340 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 342 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp26_ = loaded_services;
-#line 340 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 342 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp26__length1 = loaded_services_length1;
-#line 340 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- qsort (_tmp25_, (gsize) _tmp26__length1, (gsize) sizeof (SpitPublishingService*), ___lambda14____compar_fn_t);
-#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 342 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ qsort (_tmp25_, (gsize) _tmp26__length1, (gsize) sizeof (SpitPublishingService*), ___lambda15____compar_fn_t);
+#line 347 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp27_ = loaded_services;
-#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 347 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp27__length1 = loaded_services_length1;
-#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 347 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (result_length1) {
-#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 347 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*result_length1 = _tmp27__length1;
-#line 2407 "PublishingUI.c"
+#line 2442 "PublishingUI.c"
}
-#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 347 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
result = _tmp27_;
-#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 347 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (pluggables);
-#line 345 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 347 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return result;
-#line 2415 "PublishingUI.c"
+#line 2450 "PublishingUI.c"
}
static void _vala_array_add57 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value) {
-#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((*length) == (*size)) {
-#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*array = g_renew (SpitPublishingService*, *array, (*size) + 1);
-#line 2426 "PublishingUI.c"
+#line 2461 "PublishingUI.c"
}
-#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
(*array)[(*length)++] = value;
-#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
(*array)[*length] = NULL;
-#line 2432 "PublishingUI.c"
+#line 2467 "PublishingUI.c"
}
static void _vala_array_add58 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value) {
-#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((*length) == (*size)) {
-#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*array = g_renew (SpitPublishingService*, *array, (*size) + 1);
-#line 2443 "PublishingUI.c"
+#line 2478 "PublishingUI.c"
}
-#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
(*array)[(*length)++] = value;
-#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
(*array)[*length] = NULL;
-#line 2449 "PublishingUI.c"
+#line 2484 "PublishingUI.c"
}
static void _vala_array_add59 (SpitPublishingService*** array, int* length, int* size, SpitPublishingService* value) {
-#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 367 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((*length) == (*size)) {
-#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 367 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 367 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*array = g_renew (SpitPublishingService*, *array, (*size) + 1);
-#line 2460 "PublishingUI.c"
+#line 2495 "PublishingUI.c"
}
-#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 367 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
(*array)[(*length)++] = value;
-#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 367 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
(*array)[*length] = NULL;
-#line 2466 "PublishingUI.c"
+#line 2501 "PublishingUI.c"
}
@@ -2486,226 +2521,226 @@ static SpitPublishingService** publishing_ui_publishing_dialog_load_services (gb
gint _tmp6__length1 = 0;
SpitPublishingService** _tmp32_ = NULL;
gint _tmp32__length1 = 0;
-#line 349 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp1_ = has_photos;
-#line 349 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp1_) {
-#line 349 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = TRUE;
-#line 2493 "PublishingUI.c"
+#line 2528 "PublishingUI.c"
} else {
gboolean _tmp2_ = FALSE;
-#line 349 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp2_ = has_videos;
-#line 349 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = _tmp2_;
-#line 2500 "PublishingUI.c"
+#line 2535 "PublishingUI.c"
}
-#line 349 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _vala_assert (_tmp0_, "has_photos || has_videos");
#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _vala_assert (_tmp0_, "has_photos || has_videos");
+#line 353 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp3_ = g_new0 (SpitPublishingService*, 0 + 1);
-#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 353 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
filtered_services = _tmp3_;
-#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 353 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
filtered_services_length1 = 0;
-#line 351 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 353 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_filtered_services_size_ = filtered_services_length1;
-#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp5_ = publishing_ui_publishing_dialog_load_all_services (&_tmp4_);
-#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
all_services = _tmp5_;
-#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
all_services_length1 = _tmp4_;
-#line 352 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _all_services_size_ = all_services_length1;
#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _all_services_size_ = all_services_length1;
+#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp6_ = all_services;
-#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp6__length1 = all_services_length1;
-#line 2524 "PublishingUI.c"
+#line 2559 "PublishingUI.c"
{
SpitPublishingService** service_collection = NULL;
gint service_collection_length1 = 0;
gint _service_collection_size_ = 0;
gint service_it = 0;
-#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
service_collection = _tmp6_;
-#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
service_collection_length1 = _tmp6__length1;
-#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
for (service_it = 0; service_it < _tmp6__length1; service_it = service_it + 1) {
-#line 2536 "PublishingUI.c"
+#line 2571 "PublishingUI.c"
SpitPublishingService* _tmp7_ = NULL;
SpitPublishingService* service = NULL;
-#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp7_ = _g_object_ref0 (service_collection[service_it]);
-#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
service = _tmp7_;
-#line 2543 "PublishingUI.c"
+#line 2578 "PublishingUI.c"
{
gboolean _tmp8_ = FALSE;
gboolean _tmp9_ = FALSE;
-#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp9_ = has_photos;
-#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp9_) {
-#line 2551 "PublishingUI.c"
+#line 2586 "PublishingUI.c"
gboolean _tmp10_ = FALSE;
-#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp10_ = has_videos;
-#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp8_ = !_tmp10_;
-#line 2557 "PublishingUI.c"
+#line 2592 "PublishingUI.c"
} else {
-#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp8_ = FALSE;
-#line 2561 "PublishingUI.c"
+#line 2596 "PublishingUI.c"
}
-#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp8_) {
-#line 2565 "PublishingUI.c"
+#line 2600 "PublishingUI.c"
SpitPublishingService* _tmp11_ = NULL;
SpitPublishingPublisherMediaType _tmp12_ = 0;
-#line 357 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 359 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp11_ = service;
-#line 357 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 359 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp12_ = spit_publishing_service_get_supported_media (_tmp11_);
-#line 357 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 359 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((_tmp12_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) != 0) {
-#line 2574 "PublishingUI.c"
+#line 2609 "PublishingUI.c"
SpitPublishingService** _tmp13_ = NULL;
gint _tmp13__length1 = 0;
SpitPublishingService* _tmp14_ = NULL;
SpitPublishingService* _tmp15_ = NULL;
-#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp13_ = filtered_services;
-#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp13__length1 = filtered_services_length1;
-#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp14_ = service;
-#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp15_ = _g_object_ref0 (_tmp14_);
-#line 358 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_vala_array_add57 (&filtered_services, &filtered_services_length1, &_filtered_services_size_, _tmp15_);
-#line 2589 "PublishingUI.c"
+#line 2624 "PublishingUI.c"
}
} else {
gboolean _tmp16_ = FALSE;
gboolean _tmp17_ = FALSE;
-#line 359 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp17_ = has_photos;
-#line 359 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (!_tmp17_) {
-#line 2598 "PublishingUI.c"
+#line 2633 "PublishingUI.c"
gboolean _tmp18_ = FALSE;
-#line 359 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp18_ = has_videos;
-#line 359 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp16_ = _tmp18_;
-#line 2604 "PublishingUI.c"
+#line 2639 "PublishingUI.c"
} else {
-#line 359 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp16_ = FALSE;
-#line 2608 "PublishingUI.c"
+#line 2643 "PublishingUI.c"
}
-#line 359 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp16_) {
-#line 2612 "PublishingUI.c"
+#line 2647 "PublishingUI.c"
SpitPublishingService* _tmp19_ = NULL;
SpitPublishingPublisherMediaType _tmp20_ = 0;
-#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 362 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp19_ = service;
-#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 362 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp20_ = spit_publishing_service_get_supported_media (_tmp19_);
-#line 360 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 362 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((_tmp20_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) != 0) {
-#line 2621 "PublishingUI.c"
+#line 2656 "PublishingUI.c"
SpitPublishingService** _tmp21_ = NULL;
gint _tmp21__length1 = 0;
SpitPublishingService* _tmp22_ = NULL;
SpitPublishingService* _tmp23_ = NULL;
-#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp21_ = filtered_services;
-#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp21__length1 = filtered_services_length1;
-#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp22_ = service;
-#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp23_ = _g_object_ref0 (_tmp22_);
-#line 361 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_vala_array_add58 (&filtered_services, &filtered_services_length1, &_filtered_services_size_, _tmp23_);
-#line 2636 "PublishingUI.c"
+#line 2671 "PublishingUI.c"
}
} else {
gboolean _tmp24_ = FALSE;
SpitPublishingService* _tmp25_ = NULL;
SpitPublishingPublisherMediaType _tmp26_ = 0;
-#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp25_ = service;
-#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp26_ = spit_publishing_service_get_supported_media (_tmp25_);
-#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((_tmp26_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) != 0) {
-#line 2648 "PublishingUI.c"
+#line 2683 "PublishingUI.c"
SpitPublishingService* _tmp27_ = NULL;
SpitPublishingPublisherMediaType _tmp28_ = 0;
-#line 364 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 366 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp27_ = service;
-#line 364 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 366 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp28_ = spit_publishing_service_get_supported_media (_tmp27_);
-#line 364 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 366 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp24_ = (_tmp28_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) != 0;
-#line 2657 "PublishingUI.c"
+#line 2692 "PublishingUI.c"
} else {
-#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp24_ = FALSE;
-#line 2661 "PublishingUI.c"
+#line 2696 "PublishingUI.c"
}
-#line 363 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp24_) {
-#line 2665 "PublishingUI.c"
+#line 2700 "PublishingUI.c"
SpitPublishingService** _tmp29_ = NULL;
gint _tmp29__length1 = 0;
SpitPublishingService* _tmp30_ = NULL;
SpitPublishingService* _tmp31_ = NULL;
-#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 367 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp29_ = filtered_services;
-#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 367 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp29__length1 = filtered_services_length1;
-#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 367 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp30_ = service;
-#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 367 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp31_ = _g_object_ref0 (_tmp30_);
-#line 365 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 367 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_vala_array_add59 (&filtered_services, &filtered_services_length1, &_filtered_services_size_, _tmp31_);
-#line 2680 "PublishingUI.c"
+#line 2715 "PublishingUI.c"
}
}
}
-#line 354 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 356 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (service);
-#line 2686 "PublishingUI.c"
+#line 2721 "PublishingUI.c"
}
}
}
-#line 369 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 371 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp32_ = filtered_services;
-#line 369 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 371 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp32__length1 = filtered_services_length1;
-#line 369 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 371 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (result_length1) {
-#line 369 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 371 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
*result_length1 = _tmp32__length1;
-#line 2698 "PublishingUI.c"
+#line 2733 "PublishingUI.c"
}
-#line 369 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 371 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
result = _tmp32_;
-#line 369 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 371 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
all_services = (_vala_array_free (all_services, all_services_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 369 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 371 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return result;
-#line 2706 "PublishingUI.c"
+#line 2741 "PublishingUI.c"
}
@@ -2736,208 +2771,208 @@ void publishing_ui_publishing_dialog_go (GeeCollection* to_publish) {
PublishingUIPublishingDialog* _tmp29_ = NULL;
PublishingUIPublishingDialog* _tmp30_ = NULL;
GTimer* _tmp31_ = NULL;
-#line 383 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 385 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (GEE_IS_COLLECTION (to_publish));
-#line 384 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 386 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = publishing_ui_publishing_dialog_active_instance;
-#line 384 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 386 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp0_ != NULL) {
-#line 385 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 387 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return;
-#line 2745 "PublishingUI.c"
+#line 2780 "PublishingUI.c"
}
-#line 387 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 389 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp1_ = publishing_ui_publishing_dialog_since_last_start;
-#line 387 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 389 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp1_ == NULL) {
-#line 2751 "PublishingUI.c"
+#line 2786 "PublishingUI.c"
GTimer* _tmp2_ = NULL;
GTimer* _tmp3_ = NULL;
GTimer* _tmp4_ = NULL;
-#line 390 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 392 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp2_ = g_timer_new ();
-#line 390 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 392 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_timer_destroy0 (publishing_ui_publishing_dialog_since_last_start);
-#line 390 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 392 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_since_last_start = _tmp2_;
-#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 393 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp3_ = publishing_ui_publishing_dialog_since_last_start;
-#line 391 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 393 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_timer_stop (_tmp3_);
-#line 392 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 394 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp4_ = publishing_ui_publishing_dialog_since_last_start;
-#line 392 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 394 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_timer_reset (_tmp4_);
-#line 393 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 395 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_elapsed_is_valid = FALSE;
-#line 2771 "PublishingUI.c"
+#line 2806 "PublishingUI.c"
} else {
gdouble elapsed = 0.0;
GTimer* _tmp5_ = NULL;
gdouble _tmp6_ = 0.0;
gboolean _tmp7_ = FALSE;
gdouble _tmp8_ = 0.0;
-#line 395 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 397 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp5_ = publishing_ui_publishing_dialog_since_last_start;
-#line 395 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 397 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp6_ = g_timer_elapsed (_tmp5_, NULL);
-#line 395 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 397 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
elapsed = _tmp6_;
-#line 396 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 398 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp8_ = elapsed;
-#line 396 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 398 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp8_ < 0.05) {
-#line 2788 "PublishingUI.c"
+#line 2823 "PublishingUI.c"
gboolean _tmp9_ = FALSE;
-#line 396 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 398 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp9_ = publishing_ui_publishing_dialog_elapsed_is_valid;
-#line 396 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 398 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp7_ = _tmp9_;
-#line 2794 "PublishingUI.c"
+#line 2829 "PublishingUI.c"
} else {
-#line 396 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 398 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp7_ = FALSE;
-#line 2798 "PublishingUI.c"
+#line 2833 "PublishingUI.c"
}
-#line 396 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 398 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp7_) {
-#line 397 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 399 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return;
-#line 2804 "PublishingUI.c"
+#line 2839 "PublishingUI.c"
}
}
-#line 400 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 402 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp10_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
-#line 400 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 402 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
photos = _tmp10_;
-#line 401 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 403 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp11_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL);
-#line 401 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 403 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
videos = _tmp11_;
-#line 402 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp12_ = to_publish;
-#line 402 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp13_ = photos;
-#line 402 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp14_ = videos;
-#line 402 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- media_source_collection_filter_media (_tmp12_, G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection));
#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ media_source_collection_filter_media (_tmp12_, G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 406 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp15_ = photos;
-#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 406 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp16_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
-#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 406 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp17_ = _tmp16_;
-#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 406 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp18_ = videos;
-#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 406 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp19_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection));
-#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 406 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp20_ = _tmp19_;
-#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 406 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp22_ = publishing_ui_publishing_dialog_load_services (_tmp17_ > 0, _tmp20_ > 0, &_tmp21_);
-#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 406 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
avail_services = _tmp22_;
-#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 406 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
avail_services_length1 = _tmp21_;
-#line 404 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 406 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_avail_services_size_ = avail_services_length1;
-#line 407 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 409 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp23_ = avail_services;
-#line 407 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 409 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp23__length1 = avail_services_length1;
-#line 407 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 409 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp23__length1 == 0) {
-#line 2849 "PublishingUI.c"
+#line 2884 "PublishingUI.c"
const gchar* _tmp24_ = NULL;
const gchar* _tmp25_ = NULL;
gchar* _tmp26_ = NULL;
gchar* _tmp27_ = NULL;
-#line 410 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 412 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp24_ = _ ("Unable to publish");
-#line 410 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 412 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp25_ = _ ("Shotwell cannot publish the selected items because you do not have a c" \
"ompatible publishing plugin enabled. To correct this, choose <b>Edit %" \
"s Preferences</b> and enable one or more of the publishing plugins on " \
"the <b>Plugins</b> tab.");
-#line 410 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 412 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp26_ = g_strdup_printf (_tmp25_, "â–¸");
-#line 410 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 412 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp27_ = _tmp26_;
-#line 410 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 412 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
app_window_error_message_with_title (_tmp24_, _tmp27_, NULL, FALSE);
-#line 410 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 412 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_free0 (_tmp27_);
-#line 414 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 416 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
avail_services = (_vala_array_free (avail_services, avail_services_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 414 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 416 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (videos);
-#line 414 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 416 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (photos);
-#line 414 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 416 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return;
-#line 2874 "PublishingUI.c"
+#line 2909 "PublishingUI.c"
}
-#line 420 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_debug ("PublishingUI.vala:420: PublishingDialog.go( )");
#line 422 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_debug ("PublishingUI.vala:422: PublishingDialog.go( )");
+#line 424 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp28_ = to_publish;
-#line 422 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 424 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp29_ = publishing_ui_publishing_dialog_new (_tmp28_);
-#line 422 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 424 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_object_ref_sink (_tmp29_);
-#line 422 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 424 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (publishing_ui_publishing_dialog_active_instance);
-#line 422 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- publishing_ui_publishing_dialog_active_instance = _tmp29_;
#line 424 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ publishing_ui_publishing_dialog_active_instance = _tmp29_;
+#line 426 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp30_ = publishing_ui_publishing_dialog_active_instance;
-#line 424 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- publishing_ui_publishing_dialog_run (_tmp30_);
#line 426 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ publishing_ui_publishing_dialog_run (_tmp30_);
+#line 428 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (publishing_ui_publishing_dialog_active_instance);
-#line 426 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 428 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_active_instance = NULL;
-#line 429 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 431 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp31_ = publishing_ui_publishing_dialog_since_last_start;
-#line 429 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 431 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_timer_start (_tmp31_);
-#line 430 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 432 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_elapsed_is_valid = TRUE;
-#line 383 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 385 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
avail_services = (_vala_array_free (avail_services, avail_services_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 383 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 385 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (videos);
-#line 383 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 385 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (photos);
-#line 2908 "PublishingUI.c"
+#line 2943 "PublishingUI.c"
}
static gboolean publishing_ui_publishing_dialog_on_window_close (PublishingUIPublishingDialog* self, GdkEventAny* evt) {
gboolean result = FALSE;
SpitPublishingConcretePublishingHost* _tmp0_ = NULL;
-#line 433 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 435 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_val_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self), FALSE);
-#line 433 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 435 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_val_if_fail (evt != NULL, FALSE);
-#line 434 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 436 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->host;
-#line 434 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 436 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
spit_publishing_plugin_host_stop_publishing (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_PUBLISHING_TYPE_PLUGIN_HOST, SpitPublishingPluginHost));
-#line 435 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 437 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (self->priv->host);
-#line 435 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 437 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv->host = NULL;
-#line 436 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 438 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 437 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 439 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
+#line 441 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
result = TRUE;
-#line 439 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 441 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return result;
-#line 2935 "PublishingUI.c"
+#line 2970 "PublishingUI.c"
}
@@ -2973,253 +3008,253 @@ static void publishing_ui_publishing_dialog_on_service_changed (PublishingUIPubl
gint _tmp27__length1 = 0;
SpitPublishingConcretePublishingHost* _tmp28_ = NULL;
SpitPublishingConcretePublishingHost* _tmp29_ = NULL;
-#line 442 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
#line 444 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
+#line 446 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
have_active_iter = FALSE;
-#line 445 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 447 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->service_selector_box;
-#line 445 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 447 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp2_ = gtk_combo_box_get_active_iter (_tmp0_, &_tmp1_);
-#line 445 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 447 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
iter = _tmp1_;
-#line 445 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 447 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
have_active_iter = _tmp2_;
-#line 448 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp3_ = have_active_iter;
-#line 448 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (!_tmp3_) {
-#line 2987 "PublishingUI.c"
+#line 3022 "PublishingUI.c"
GtkComboBox* _tmp4_ = NULL;
GtkComboBox* _tmp5_ = NULL;
GtkTreeIter _tmp6_ = {0};
-#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 452 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp4_ = self->priv->service_selector_box;
-#line 450 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 452 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_combo_box_set_active (_tmp4_, 0);
-#line 453 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 455 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp5_ = self->priv->service_selector_box;
-#line 453 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 455 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_combo_box_get_active_iter (_tmp5_, &_tmp6_);
-#line 453 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 455 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
iter = _tmp6_;
-#line 3001 "PublishingUI.c"
+#line 3036 "PublishingUI.c"
}
-#line 457 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 459 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp7_ = self->priv->service_selector_box_model;
-#line 457 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 459 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp8_ = iter;
-#line 457 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 459 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_tree_model_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GTK_TYPE_TREE_MODEL, GtkTreeModel), &_tmp8_, 1, &_tmp9_);
-#line 457 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 459 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_IS_VALUE (&service_name_val) ? (g_value_unset (&service_name_val), NULL) : NULL;
-#line 457 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- service_name_val = _tmp9_;
#line 459 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ service_name_val = _tmp9_;
+#line 461 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp10_ = service_name_val;
-#line 459 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 461 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp11_ = g_strdup (g_value_get_string (&_tmp10_));
-#line 459 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- service_name = _tmp11_;
#line 461 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ service_name = _tmp11_;
+#line 463 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
selected_service = NULL;
-#line 462 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 464 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp13_ = publishing_ui_publishing_dialog_load_all_services (&_tmp12_);
-#line 462 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 464 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
services = _tmp13_;
-#line 462 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 464 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
services_length1 = _tmp12_;
-#line 462 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 464 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_services_size_ = services_length1;
-#line 463 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp14_ = services;
-#line 463 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp14__length1 = services_length1;
-#line 3033 "PublishingUI.c"
+#line 3068 "PublishingUI.c"
{
SpitPublishingService** service_collection = NULL;
gint service_collection_length1 = 0;
gint _service_collection_size_ = 0;
gint service_it = 0;
-#line 463 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
service_collection = _tmp14_;
-#line 463 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
service_collection_length1 = _tmp14__length1;
-#line 463 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
for (service_it = 0; service_it < _tmp14__length1; service_it = service_it + 1) {
-#line 3045 "PublishingUI.c"
+#line 3080 "PublishingUI.c"
SpitPublishingService* _tmp15_ = NULL;
SpitPublishingService* service = NULL;
-#line 463 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp15_ = _g_object_ref0 (service_collection[service_it]);
-#line 463 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
service = _tmp15_;
-#line 3052 "PublishingUI.c"
+#line 3087 "PublishingUI.c"
{
SpitPublishingService* _tmp16_ = NULL;
const gchar* _tmp17_ = NULL;
const gchar* _tmp18_ = NULL;
-#line 464 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 466 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp16_ = service;
-#line 464 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 466 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp17_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
-#line 464 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 466 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp18_ = service_name;
-#line 464 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 466 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (g_strcmp0 (_tmp17_, _tmp18_) == 0) {
-#line 3065 "PublishingUI.c"
+#line 3100 "PublishingUI.c"
SpitPublishingService* _tmp19_ = NULL;
SpitPublishingService* _tmp20_ = NULL;
-#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 467 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp19_ = service;
-#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 467 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp20_ = _g_object_ref0 (_tmp19_);
-#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 467 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (selected_service);
-#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 467 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
selected_service = _tmp20_;
-#line 466 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 468 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (service);
-#line 466 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 468 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
break;
-#line 3080 "PublishingUI.c"
+#line 3115 "PublishingUI.c"
}
-#line 463 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 465 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (service);
-#line 3084 "PublishingUI.c"
+#line 3119 "PublishingUI.c"
}
}
}
-#line 469 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 471 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp21_ = selected_service;
-#line 469 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _vala_assert (_tmp21_ != NULL, "selected_service != null");
#line 471 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _vala_assert (_tmp21_ != NULL, "selected_service != null");
+#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp22_ = config_facade_get_instance ();
-#line 471 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp23_ = _tmp22_;
-#line 471 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp24_ = selected_service;
-#line 471 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp25_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
-#line 471 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
configuration_facade_set_last_used_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp25_);
-#line 471 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _g_object_unref0 (_tmp23_);
#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _g_object_unref0 (_tmp23_);
+#line 475 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp26_ = selected_service;
-#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 475 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp27_ = self->priv->publishables;
-#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 475 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp27__length1 = self->priv->publishables_length1;
-#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 475 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp28_ = spit_publishing_concrete_publishing_host_new (_tmp26_, self, _tmp27_, _tmp27__length1);
-#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 475 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (self->priv->host);
-#line 473 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 475 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv->host = _tmp28_;
-#line 474 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 476 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp29_ = self->priv->host;
-#line 474 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 476 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
spit_publishing_concrete_publishing_host_start_publishing (_tmp29_);
-#line 442 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 444 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
services = (_vala_array_free (services, services_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 442 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 444 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (selected_service);
-#line 442 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 444 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_free0 (service_name);
-#line 442 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 444 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_IS_VALUE (&service_name_val) ? (g_value_unset (&service_name_val), NULL) : NULL;
-#line 3128 "PublishingUI.c"
+#line 3163 "PublishingUI.c"
}
static void publishing_ui_publishing_dialog_on_close_cancel_clicked (PublishingUIPublishingDialog* self) {
SpitPublishingConcretePublishingHost* _tmp0_ = NULL;
-#line 477 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 479 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 478 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_debug ("PublishingUI.vala:478: PublishingDialog: on_close_cancel_clicked( ): i" \
-"nvoked.");
#line 480 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_debug ("PublishingUI.vala:480: PublishingDialog: on_close_cancel_clicked( ): i" \
+"nvoked.");
+#line 482 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->host;
-#line 480 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 482 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
spit_publishing_plugin_host_stop_publishing (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_PUBLISHING_TYPE_PLUGIN_HOST, SpitPublishingPluginHost));
-#line 481 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 483 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (self->priv->host);
-#line 481 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 483 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv->host = NULL;
-#line 482 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 484 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 483 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 485 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 3150 "PublishingUI.c"
+#line 3185 "PublishingUI.c"
}
static void publishing_ui_publishing_dialog_set_large_window_mode (PublishingUIPublishingDialog* self) {
GtkBox* _tmp0_ = NULL;
-#line 486 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 488 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 487 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 489 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_HEIGHT);
-#line 488 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 490 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->central_area_layouter;
-#line 488 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_WIDTH - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_HEIGHT - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_HEIGHT);
#line 490 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_WIDTH - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_LARGE_WINDOW_HEIGHT - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_HEIGHT);
+#line 492 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 3166 "PublishingUI.c"
+#line 3201 "PublishingUI.c"
}
static void publishing_ui_publishing_dialog_set_colossal_window_mode (PublishingUIPublishingDialog* self) {
GtkBox* _tmp0_ = NULL;
-#line 493 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 495 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 494 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 496 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_HEIGHT);
-#line 495 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 497 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->central_area_layouter;
-#line 495 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_WIDTH - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_HEIGHT - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_HEIGHT);
#line 497 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_WIDTH - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_COLOSSAL_WINDOW_HEIGHT - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_HEIGHT);
+#line 499 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 3182 "PublishingUI.c"
+#line 3217 "PublishingUI.c"
}
static void publishing_ui_publishing_dialog_set_standard_window_mode (PublishingUIPublishingDialog* self) {
GtkBox* _tmp0_ = NULL;
-#line 500 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 502 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 501 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 503 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_HEIGHT);
-#line 502 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 504 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->central_area_layouter;
-#line 502 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_WIDTH - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_HEIGHT - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_HEIGHT);
#line 504 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_WIDTH - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_WIDTH, PUBLISHING_UI_PUBLISHING_DIALOG_STANDARD_WINDOW_HEIGHT - PUBLISHING_UI_PUBLISHING_DIALOG_BORDER_REGION_HEIGHT);
+#line 506 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 3198 "PublishingUI.c"
+#line 3233 "PublishingUI.c"
}
static void publishing_ui_publishing_dialog_set_free_sizable_window_mode (PublishingUIPublishingDialog* self) {
-#line 507 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 509 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 508 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 510 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
-#line 3207 "PublishingUI.c"
+#line 3242 "PublishingUI.c"
}
static void publishing_ui_publishing_dialog_clear_free_sizable_window_mode (PublishingUIPublishingDialog* self) {
-#line 511 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 513 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 512 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 514 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 3216 "PublishingUI.c"
+#line 3251 "PublishingUI.c"
}
@@ -3227,17 +3262,17 @@ SpitPublishingDialogPane* publishing_ui_publishing_dialog_get_active_pane (Publi
SpitPublishingDialogPane* result = NULL;
SpitPublishingDialogPane* _tmp0_ = NULL;
SpitPublishingDialogPane* _tmp1_ = NULL;
-#line 515 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 517 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_val_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self), NULL);
-#line 516 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 518 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->active_pane;
-#line 516 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 518 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 516 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 518 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
result = _tmp1_;
-#line 516 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 518 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return result;
-#line 3234 "PublishingUI.c"
+#line 3269 "PublishingUI.c"
}
@@ -3245,58 +3280,58 @@ void publishing_ui_publishing_dialog_set_close_button_mode (PublishingUIPublishi
GtkButton* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
GtkButton* _tmp2_ = NULL;
-#line 519 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 521 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 520 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 522 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->close_cancel_button;
-#line 520 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 522 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp1_ = _ ("_Close");
-#line 520 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 522 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_button_set_label (_tmp0_, _tmp1_);
-#line 521 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 523 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp2_ = self->priv->close_cancel_button;
-#line 521 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 523 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 3254 "PublishingUI.c"
+#line 3289 "PublishingUI.c"
}
void publishing_ui_publishing_dialog_set_cancel_button_mode (PublishingUIPublishingDialog* self) {
GtkButton* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 524 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 526 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 525 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 527 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->close_cancel_button;
-#line 525 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 527 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp1_ = _ ("_Cancel");
-#line 525 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 527 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_button_set_label (_tmp0_, _tmp1_);
-#line 3269 "PublishingUI.c"
+#line 3304 "PublishingUI.c"
}
void publishing_ui_publishing_dialog_lock_service (PublishingUIPublishingDialog* self) {
GtkComboBox* _tmp0_ = NULL;
-#line 528 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 530 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 529 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 531 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->service_selector_box;
-#line 529 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 531 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 3281 "PublishingUI.c"
+#line 3316 "PublishingUI.c"
}
void publishing_ui_publishing_dialog_unlock_service (PublishingUIPublishingDialog* self) {
GtkComboBox* _tmp0_ = NULL;
-#line 532 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 534 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 533 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 535 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->service_selector_box;
-#line 533 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 535 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 3293 "PublishingUI.c"
+#line 3328 "PublishingUI.c"
}
@@ -3314,110 +3349,110 @@ void publishing_ui_publishing_dialog_install_pane (PublishingUIPublishingDialog*
SpitPublishingDialogPane* _tmp15_ = NULL;
SpitPublishingDialogPane* _tmp16_ = NULL;
SpitPublishingDialogPane* _tmp17_ = NULL;
-#line 536 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 538 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self));
-#line 536 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 538 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (pane));
-#line 537 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_debug ("PublishingUI.vala:537: PublishingDialog: install_pane( ): invoked.");
#line 539 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_debug ("PublishingUI.vala:539: PublishingDialog: install_pane( ): invoked.");
+#line 541 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = self->priv->active_pane;
-#line 539 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 541 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if (_tmp0_ != NULL) {
-#line 3321 "PublishingUI.c"
+#line 3356 "PublishingUI.c"
SpitPublishingDialogPane* _tmp1_ = NULL;
GtkBox* _tmp2_ = NULL;
SpitPublishingDialogPane* _tmp3_ = NULL;
GtkWidget* _tmp4_ = NULL;
GtkWidget* _tmp5_ = NULL;
-#line 540 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- g_debug ("PublishingUI.vala:540: PublishingDialog: install_pane( ): a pane is al" \
-"ready installed; removing it.");
#line 542 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ g_debug ("PublishingUI.vala:542: PublishingDialog: install_pane( ): a pane is al" \
+"ready installed; removing it.");
+#line 544 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp1_ = self->priv->active_pane;
-#line 542 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 544 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
spit_publishing_dialog_pane_on_pane_uninstalled (_tmp1_);
-#line 543 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 545 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp2_ = self->priv->central_area_layouter;
-#line 543 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 545 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp3_ = self->priv->active_pane;
-#line 543 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 545 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp4_ = spit_publishing_dialog_pane_get_widget (_tmp3_);
-#line 543 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 545 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp5_ = _tmp4_;
-#line 543 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 545 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_container_get_type (), GtkContainer), _tmp5_);
-#line 543 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 545 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (_tmp5_);
-#line 3345 "PublishingUI.c"
+#line 3380 "PublishingUI.c"
}
-#line 546 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 548 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp6_ = self->priv->central_area_layouter;
-#line 546 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 548 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp7_ = pane;
-#line 546 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 548 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp8_ = spit_publishing_dialog_pane_get_widget (_tmp7_);
-#line 546 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 548 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp9_ = _tmp8_;
-#line 546 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 548 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_box_pack_start (_tmp6_, _tmp9_, TRUE, TRUE, (guint) 0);
-#line 546 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 548 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (_tmp9_);
-#line 547 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 549 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
+#line 551 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp10_ = pane;
-#line 549 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 551 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp11_ = spit_publishing_dialog_pane_get_preferred_geometry (_tmp10_);
-#line 549 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- geometry_options = _tmp11_;
#line 551 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ geometry_options = _tmp11_;
+#line 553 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp12_ = geometry_options;
-#line 551 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 553 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((_tmp12_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE) != 0) {
-#line 552 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 554 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_set_large_window_mode (self);
-#line 3373 "PublishingUI.c"
+#line 3408 "PublishingUI.c"
} else {
SpitPublishingDialogPaneGeometryOptions _tmp13_ = 0;
-#line 553 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 555 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp13_ = geometry_options;
-#line 553 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 555 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((_tmp13_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE) != 0) {
-#line 554 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 556 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_set_colossal_window_mode (self);
-#line 3382 "PublishingUI.c"
+#line 3417 "PublishingUI.c"
} else {
-#line 556 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 558 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_set_standard_window_mode (self);
-#line 3386 "PublishingUI.c"
+#line 3421 "PublishingUI.c"
}
}
-#line 558 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 560 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp14_ = geometry_options;
-#line 558 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 560 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
if ((_tmp14_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE) != 0) {
-#line 559 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 561 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_set_free_sizable_window_mode (self);
-#line 3395 "PublishingUI.c"
+#line 3430 "PublishingUI.c"
} else {
-#line 561 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 563 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
publishing_ui_publishing_dialog_clear_free_sizable_window_mode (self);
-#line 3399 "PublishingUI.c"
+#line 3434 "PublishingUI.c"
}
-#line 563 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 565 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp15_ = pane;
-#line 563 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 565 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp16_ = _g_object_ref0 (_tmp15_);
-#line 563 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 565 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (self->priv->active_pane);
-#line 563 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 565 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv->active_pane = _tmp16_;
-#line 564 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 566 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp17_ = pane;
-#line 564 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 566 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
spit_publishing_dialog_pane_on_pane_installed (_tmp17_);
-#line 3413 "PublishingUI.c"
+#line 3448 "PublishingUI.c"
}
@@ -3425,23 +3460,23 @@ gint publishing_ui_publishing_dialog_run (PublishingUIPublishingDialog* self) {
gint result = 0;
gint _result_ = 0;
gint _tmp0_ = 0;
-#line 567 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 569 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
g_return_val_if_fail (PUBLISHING_UI_IS_PUBLISHING_DIALOG (self), 0);
-#line 568 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- publishing_ui_publishing_dialog_on_service_changed (self);
#line 570 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ publishing_ui_publishing_dialog_on_service_changed (self);
+#line 572 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
-#line 570 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _result_ = _tmp0_;
#line 572 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ _result_ = _tmp0_;
+#line 574 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (self->priv->host);
-#line 572 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- self->priv->host = NULL;
#line 574 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+ self->priv->host = NULL;
+#line 576 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
result = _result_;
-#line 574 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
+#line 576 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
return result;
-#line 3437 "PublishingUI.c"
+#line 3472 "PublishingUI.c"
}
@@ -3452,14 +3487,14 @@ static void publishing_ui_publishing_dialog_class_init (PublishingUIPublishingDi
g_type_class_add_private (klass, sizeof (PublishingUIPublishingDialogPrivate));
#line 137 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_ui_publishing_dialog_finalize;
-#line 3448 "PublishingUI.c"
+#line 3483 "PublishingUI.c"
}
static void publishing_ui_publishing_dialog_instance_init (PublishingUIPublishingDialog * self) {
#line 137 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
self->priv = PUBLISHING_UI_PUBLISHING_DIALOG_GET_PRIVATE (self);
-#line 3455 "PublishingUI.c"
+#line 3490 "PublishingUI.c"
}
@@ -3485,7 +3520,7 @@ static void publishing_ui_publishing_dialog_finalize (GObject* obj) {
spit_pluggable_info_destroy (&self->priv->info);
#line 137 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
G_OBJECT_CLASS (publishing_ui_publishing_dialog_parent_class)->finalize (obj);
-#line 3481 "PublishingUI.c"
+#line 3516 "PublishingUI.c"
}
diff --git a/src/publishing/PublishingUI.vala b/src/publishing/PublishingUI.vala
index 91a2bf4..c975564 100644
--- a/src/publishing/PublishingUI.vala
+++ b/src/publishing/PublishingUI.vala
@@ -168,6 +168,8 @@ public class PublishingDialog : Gtk.Dialog {
((Gtk.HeaderBar) get_header_bar()).set_show_close_button(false);
resizable = false;
+ modal = true;
+ set_transient_for(AppWindow.get_instance());
delete_event.connect(on_window_close);
publishables = new Spit.Publishing.Publishable[0];
diff --git a/src/searches/Branch.c b/src/searches/Branch.c
index cce6434..2da9433 100644
--- a/src/searches/Branch.c
+++ b/src/searches/Branch.c
@@ -1447,7 +1447,7 @@ static void searches_sidebar_entry_class_init (SearchesSidebarEntryClass * klass
#line 90 "/home/jens/Source/shotwell/src/searches/Branch.vala"
G_OBJECT_CLASS (klass)->finalize = searches_sidebar_entry_finalize;
#line 92 "/home/jens/Source/shotwell/src/searches/Branch.vala"
- _tmp0_ = g_strdup ("find");
+ _tmp0_ = g_strdup ("edit-find");
#line 92 "/home/jens/Source/shotwell/src/searches/Branch.vala"
searches_sidebar_entry_single_search_icon = _tmp0_;
#line 1454 "Branch.c"
diff --git a/src/searches/Branch.vala b/src/searches/Branch.vala
index 1c4ee90..3b54acf 100644
--- a/src/searches/Branch.vala
+++ b/src/searches/Branch.vala
@@ -89,7 +89,7 @@ public class Searches.Header : Sidebar.Header, Sidebar.Contextable {
public class Searches.SidebarEntry : Sidebar.SimplePageEntry, Sidebar.RenameableEntry,
Sidebar.DestroyableEntry {
- private static string single_search_icon = "find";
+ private static string single_search_icon = "edit-find";
private SavedSearch search;
diff --git a/src/searches/SavedSearchDialog.c b/src/searches/SavedSearchDialog.c
index 5050916..2489f21 100644
--- a/src/searches/SavedSearchDialog.c
+++ b/src/searches/SavedSearchDialog.c
@@ -278,7 +278,7 @@ typedef struct _SavedSearchDialogSearchRowDatePrivate SavedSearchDialogSearchRow
typedef struct _SearchConditionDate SearchConditionDate;
typedef struct _SearchConditionDateClass SearchConditionDateClass;
-typedef struct _Block9Data Block9Data;
+typedef struct _Block10Data Block10Data;
typedef struct _ParamSpecSavedSearchDialog ParamSpecSavedSearchDialog;
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
@@ -534,7 +534,7 @@ typedef enum {
SEARCH_CONDITION_DATE_CONTEXT_IS_NOT_SET
} SearchConditionDateContext;
-struct _Block9Data {
+struct _Block10Data {
int _ref_count_;
SavedSearchDialogSearchRowDate* self;
GtkDialog* d;
@@ -808,14 +808,14 @@ GDateTime* search_condition_date_get_date_one (SearchConditionDate* self);
GDateTime* search_condition_date_get_date_two (SearchConditionDate* self);
static gboolean saved_search_dialog_search_row_date_real_is_complete (SavedSearchDialogSearchRow* base);
static void saved_search_dialog_search_row_date_popup_calendar (SavedSearchDialogSearchRowDate* self, GtkCalendar* cal);
-static Block9Data* block9_data_ref (Block9Data* _data9_);
-static void block9_data_unref (void * _userdata_);
+static Block10Data* block10_data_ref (Block10Data* _data10_);
+static void block10_data_unref (void * _userdata_);
#define RESOURCES_CANCEL_LABEL _ ("_Cancel")
#define RESOURCES_OK_LABEL _ ("_OK")
-static void __lambda12_ (SavedSearchDialogSearchRowDate* self);
-static void ___lambda12__gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self);
-static void __lambda13_ (Block9Data* _data9_);
-static void ___lambda13__gtk_calendar_day_selected_double_click (GtkCalendar* _sender, gpointer self);
+static void __lambda13_ (SavedSearchDialogSearchRowDate* self);
+static void ___lambda13__gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self);
+static void __lambda14_ (Block10Data* _data10_);
+static void ___lambda14__gtk_calendar_day_selected_double_click (GtkCalendar* _sender, gpointer self);
static void saved_search_dialog_search_row_date_finalize (SavedSearchDialogSearchRow* obj);
static void saved_search_dialog_finalize (SavedSearchDialog* obj);
@@ -5838,71 +5838,71 @@ static void saved_search_dialog_search_row_date_on_changed (SavedSearchDialogSea
}
-static Block9Data* block9_data_ref (Block9Data* _data9_) {
+static Block10Data* block10_data_ref (Block10Data* _data10_) {
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- g_atomic_int_inc (&_data9_->_ref_count_);
+ g_atomic_int_inc (&_data10_->_ref_count_);
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- return _data9_;
+ return _data10_;
#line 5847 "SavedSearchDialog.c"
}
-static void block9_data_unref (void * _userdata_) {
- Block9Data* _data9_;
- _data9_ = (Block9Data*) _userdata_;
+static void block10_data_unref (void * _userdata_) {
+ Block10Data* _data10_;
+ _data10_ = (Block10Data*) _userdata_;
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- if (g_atomic_int_dec_and_test (&_data9_->_ref_count_)) {
+ if (g_atomic_int_dec_and_test (&_data10_->_ref_count_)) {
#line 5856 "SavedSearchDialog.c"
SavedSearchDialogSearchRowDate* self;
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- self = _data9_->self;
+ self = _data10_->self;
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _g_object_unref0 (_data9_->d);
+ _g_object_unref0 (_data10_->d);
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_saved_search_dialog_search_row_unref0 (self);
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- g_slice_free (Block9Data, _data9_);
+ g_slice_free (Block10Data, _data10_);
#line 5866 "SavedSearchDialog.c"
}
}
-static void __lambda12_ (SavedSearchDialogSearchRowDate* self) {
+static void __lambda13_ (SavedSearchDialogSearchRowDate* self) {
#line 610 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_update_date_labels (self);
#line 5874 "SavedSearchDialog.c"
}
-static void ___lambda12__gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self) {
+static void ___lambda13__gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self) {
#line 610 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- __lambda12_ ((SavedSearchDialogSearchRowDate*) self);
+ __lambda13_ ((SavedSearchDialogSearchRowDate*) self);
#line 5881 "SavedSearchDialog.c"
}
-static void __lambda13_ (Block9Data* _data9_) {
+static void __lambda14_ (Block10Data* _data10_) {
SavedSearchDialogSearchRowDate* self;
GtkDialog* _tmp0_ = NULL;
#line 611 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- self = _data9_->self;
+ self = _data10_->self;
#line 612 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp0_ = _data9_->d;
+ _tmp0_ = _data10_->d;
#line 612 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_dialog_response (_tmp0_, (gint) GTK_RESPONSE_ACCEPT);
#line 5894 "SavedSearchDialog.c"
}
-static void ___lambda13__gtk_calendar_day_selected_double_click (GtkCalendar* _sender, gpointer self) {
+static void ___lambda14__gtk_calendar_day_selected_double_click (GtkCalendar* _sender, gpointer self) {
#line 611 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- __lambda13_ (self);
+ __lambda14_ (self);
#line 5901 "SavedSearchDialog.c"
}
static void saved_search_dialog_search_row_date_popup_calendar (SavedSearchDialogSearchRowDate* self, GtkCalendar* cal) {
- Block9Data* _data9_;
+ Block10Data* _data10_;
gint orig_day = 0;
GtkCalendar* _tmp0_ = NULL;
gint _tmp1_ = 0;
@@ -5943,11 +5943,11 @@ static void saved_search_dialog_search_row_date_popup_calendar (SavedSearchDialo
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_return_if_fail (GTK_IS_CALENDAR (cal));
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _data9_ = g_slice_new0 (Block9Data);
+ _data10_ = g_slice_new0 (Block10Data);
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _data9_->_ref_count_ = 1;
+ _data10_->_ref_count_ = 1;
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _data9_->self = saved_search_dialog_search_row_ref (self);
+ _data10_->self = saved_search_dialog_search_row_ref (self);
#line 600 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp0_ = cal;
#line 600 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
@@ -5977,21 +5977,21 @@ static void saved_search_dialog_search_row_date_popup_calendar (SavedSearchDialo
#line 603 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_object_ref_sink (_tmp9_);
#line 603 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _data9_->d = _tmp9_;
+ _data10_->d = _tmp9_;
#line 606 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp10_ = _data9_->d;
+ _tmp10_ = _data10_->d;
#line 606 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_window_get_type (), GtkWindow), TRUE);
#line 607 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp11_ = _data9_->d;
+ _tmp11_ = _data10_->d;
#line 607 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_window_get_type (), GtkWindow), FALSE);
#line 608 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp12_ = _data9_->d;
+ _tmp12_ = _data10_->d;
#line 608 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_window_set_decorated (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_window_get_type (), GtkWindow), FALSE);
#line 609 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp13_ = _data9_->d;
+ _tmp13_ = _data10_->d;
#line 609 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp14_ = (GtkBox*) gtk_dialog_get_content_area (_tmp13_);
#line 609 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
@@ -6001,21 +6001,21 @@ static void saved_search_dialog_search_row_date_popup_calendar (SavedSearchDialo
#line 610 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp16_ = cal;
#line 610 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp17_ = g_signal_connect (_tmp16_, "day-selected", (GCallback) ___lambda12__gtk_calendar_day_selected, self);
+ _tmp17_ = g_signal_connect (_tmp16_, "day-selected", (GCallback) ___lambda13__gtk_calendar_day_selected, self);
#line 610 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
id_1 = _tmp17_;
#line 611 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp18_ = cal;
#line 611 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp19_ = g_signal_connect_data (_tmp18_, "day-selected-double-click", (GCallback) ___lambda13__gtk_calendar_day_selected_double_click, block9_data_ref (_data9_), (GClosureNotify) block9_data_unref, 0);
+ _tmp19_ = g_signal_connect_data (_tmp18_, "day-selected-double-click", (GCallback) ___lambda14__gtk_calendar_day_selected_double_click, block10_data_ref (_data10_), (GClosureNotify) block10_data_unref, 0);
#line 611 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
id_2 = _tmp19_;
#line 614 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp20_ = _data9_->d;
+ _tmp20_ = _data10_->d;
#line 614 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget));
#line 615 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp21_ = _data9_->d;
+ _tmp21_ = _data10_->d;
#line 615 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
_tmp22_ = gtk_dialog_run (_tmp21_);
#line 615 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
@@ -6064,15 +6064,15 @@ static void saved_search_dialog_search_row_date_popup_calendar (SavedSearchDialo
#line 623 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
g_signal_handler_disconnect (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, G_TYPE_OBJECT, GObject), _tmp33_);
#line 624 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _tmp34_ = _data9_->d;
+ _tmp34_ = _data10_->d;
#line 624 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget));
#line 625 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
saved_search_dialog_search_row_date_update_date_labels (self);
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- block9_data_unref (_data9_);
+ block10_data_unref (_data10_);
#line 599 "/home/jens/Source/shotwell/src/searches/SavedSearchDialog.vala"
- _data9_ = NULL;
+ _data10_ = NULL;
#line 6077 "SavedSearchDialog.c"
}
diff --git a/src/searches/SearchBoolean.c b/src/searches/SearchBoolean.c
index 2667236..86c96d0 100644
--- a/src/searches/SearchBoolean.c
+++ b/src/searches/SearchBoolean.c
@@ -742,10 +742,10 @@ enum {
};
SearchConditionSearchType* search_condition_search_type_as_array (int* result_length1);
void search_condition_search_type_sort_array (SearchConditionSearchType** array, int* array_length1);
-static gint __lambda11_ (void* a, void* b);
+static gint __lambda12_ (void* a, void* b);
gint utf8_cs_compare (void* a, void* b);
gchar* search_condition_search_type_display_text (SearchConditionSearchType self);
-static gint ___lambda11____compar_fn_t (void* key1, void* key2);
+static gint ___lambda12____compar_fn_t (void* key1, void* key2);
gchar* search_condition_search_type_to_string (SearchConditionSearchType self);
SearchConditionSearchType search_condition_search_type_from_string (const gchar* str);
gboolean search_condition_predicate (SearchCondition* self, MediaSource* source);
@@ -1156,7 +1156,7 @@ SearchConditionSearchType* search_condition_search_type_as_array (int* result_le
}
-static gint __lambda11_ (void* a, void* b) {
+static gint __lambda12_ (void* a, void* b) {
gint result = 0;
void* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
@@ -1181,9 +1181,9 @@ static gint __lambda11_ (void* a, void* b) {
}
-static gint ___lambda11____compar_fn_t (void* key1, void* key2) {
+static gint ___lambda12____compar_fn_t (void* key1, void* key2) {
gint result;
- result = __lambda11_ (key1, key2);
+ result = __lambda12_ (key1, key2);
#line 70 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
return result;
#line 1190 "SearchBoolean.c"
@@ -1204,7 +1204,7 @@ void search_condition_search_type_sort_array (SearchConditionSearchType** array,
#line 70 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
_tmp1__length1 = *array_length1;
#line 70 "/home/jens/Source/shotwell/src/searches/SearchBoolean.vala"
- qsort (_tmp0_, (gsize) _tmp1__length1, (gsize) sizeof (SearchConditionSearchType), ___lambda11____compar_fn_t);
+ qsort (_tmp0_, (gsize) _tmp1__length1, (gsize) sizeof (SearchConditionSearchType), ___lambda12____compar_fn_t);
#line 1209 "SearchBoolean.c"
}