summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Printing.c3910
-rw-r--r--src/Printing.vala3
-rw-r--r--src/Resources.c544
-rw-r--r--src/Resources.vala6
-rw-r--r--src/camera/ImportPage.c4790
-rw-r--r--src/camera/ImportPage.vala17
-rw-r--r--src/photos/JfifSupport.c157
-rw-r--r--src/photos/JfifSupport.vala2
-rw-r--r--src/sidebar/Tree.c173
-rw-r--r--src/sidebar/Tree.vala2
10 files changed, 4829 insertions, 4775 deletions
diff --git a/src/Printing.c b/src/Printing.c
index 4a61b49..3a3da76 100644
--- a/src/Printing.c
+++ b/src/Printing.c
@@ -16,7 +16,7 @@
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
-#include <locale.h>
+#include <langinfo.h>
#include <gee.h>
#include <gio/gio.h>
#include <cairo.h>
@@ -3525,21 +3525,19 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
GtkEntry* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
gint _tmp3_ = 0;
- gchar* decimal_point = NULL;
- struct lconv* _tmp7_ = NULL;
- const gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
+ const gchar* decimal_point = NULL;
+ const gchar* _tmp7_ = NULL;
gboolean contains_decimal_point = FALSE;
- GtkEntry* _tmp10_ = NULL;
- const gchar* _tmp11_ = NULL;
- const gchar* _tmp12_ = NULL;
- gboolean _tmp13_ = FALSE;
+ GtkEntry* _tmp8_ = NULL;
+ const gchar* _tmp9_ = NULL;
+ const gchar* _tmp10_ = NULL;
+ gboolean _tmp11_ = FALSE;
gchar* new_text = NULL;
- gchar* _tmp14_ = NULL;
- const gchar* _tmp44_ = NULL;
- gint _tmp45_ = 0;
- gint _tmp46_ = 0;
- GtkEntry* _tmp52_ = NULL;
+ gchar* _tmp12_ = NULL;
+ const gchar* _tmp42_ = NULL;
+ gint _tmp43_ = 0;
+ gint _tmp44_ = 0;
+ GtkEntry* _tmp50_ = NULL;
#line 503 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 503 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -3560,7 +3558,7 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_g_object_unref0 (sender);
#line 509 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 3564 "Printing.c"
+#line 3562 "Printing.c"
}
#line 511 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->is_text_insertion_in_progress = TRUE;
@@ -3568,7 +3566,7 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_tmp3_ = length;
#line 513 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp3_ == -1) {
-#line 3572 "Printing.c"
+#line 3570 "Printing.c"
const gchar* _tmp4_ = NULL;
gint _tmp5_ = 0;
gint _tmp6_ = 0;
@@ -3580,218 +3578,212 @@ static void custom_print_tab_on_entry_insert_text (CustomPrintTab* self, GtkEdit
_tmp6_ = _tmp5_;
#line 514 "/home/jens/Source/shotwell/src/Printing.vala"
length = (gint) _tmp6_;
-#line 3584 "Printing.c"
+#line 3582 "Printing.c"
}
#line 516 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp7_ = localeconv ();
+ _tmp7_ = nl_langinfo (RADIXCHAR);
#line 516 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp8_ = _tmp7_->decimal_point;
-#line 516 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp9_ = g_strdup (_tmp8_);
-#line 516 "/home/jens/Source/shotwell/src/Printing.vala"
- decimal_point = _tmp9_;
-#line 517 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp10_ = sender;
-#line 517 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp11_ = gtk_entry_get_text (_tmp10_);
-#line 517 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp12_ = decimal_point;
-#line 517 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp13_ = string_contains (_tmp11_, _tmp12_);
-#line 517 "/home/jens/Source/shotwell/src/Printing.vala"
- contains_decimal_point = _tmp13_;
-#line 519 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp14_ = g_strdup ("");
-#line 519 "/home/jens/Source/shotwell/src/Printing.vala"
- new_text = _tmp14_;
-#line 3608 "Printing.c"
+ decimal_point = _tmp7_;
+#line 518 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp8_ = sender;
+#line 518 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp9_ = gtk_entry_get_text (_tmp8_);
+#line 518 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp10_ = decimal_point;
+#line 518 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp11_ = string_contains (_tmp9_, _tmp10_);
+#line 518 "/home/jens/Source/shotwell/src/Printing.vala"
+ contains_decimal_point = _tmp11_;
+#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp12_ = g_strdup ("");
+#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
+ new_text = _tmp12_;
+#line 3602 "Printing.c"
{
gint ctr = 0;
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
ctr = 0;
-#line 3613 "Printing.c"
+#line 3607 "Printing.c"
{
- gboolean _tmp15_ = FALSE;
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp15_ = TRUE;
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
+ gboolean _tmp13_ = FALSE;
+#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp13_ = TRUE;
+#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
while (TRUE) {
-#line 3620 "Printing.c"
- gint _tmp17_ = 0;
+#line 3614 "Printing.c"
+ gint _tmp15_ = 0;
+ gint _tmp16_ = 0;
+ const gchar* _tmp17_ = NULL;
gint _tmp18_ = 0;
- const gchar* _tmp19_ = NULL;
- gint _tmp20_ = 0;
- gchar _tmp21_ = '\0';
- gboolean _tmp22_ = FALSE;
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
- if (!_tmp15_) {
+ gchar _tmp19_ = '\0';
+ gboolean _tmp20_ = FALSE;
+#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
+ if (!_tmp13_) {
+#line 3623 "Printing.c"
+ gint _tmp14_ = 0;
+#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp14_ = ctr;
+#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
+ ctr = _tmp14_ + 1;
#line 3629 "Printing.c"
- gint _tmp16_ = 0;
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp16_ = ctr;
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
- ctr = _tmp16_ + 1;
-#line 3635 "Printing.c"
- }
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp15_ = FALSE;
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp17_ = ctr;
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp18_ = length;
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
- if (!(_tmp17_ < _tmp18_)) {
-#line 520 "/home/jens/Source/shotwell/src/Printing.vala"
- break;
-#line 3647 "Printing.c"
}
#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp19_ = text;
+ _tmp13_ = FALSE;
#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp20_ = ctr;
+ _tmp15_ = ctr;
#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp21_ = string_get (_tmp19_, (glong) _tmp20_);
+ _tmp16_ = length;
#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp22_ = g_ascii_isdigit (_tmp21_);
+ if (!(_tmp15_ < _tmp16_)) {
#line 521 "/home/jens/Source/shotwell/src/Printing.vala"
- if (_tmp22_) {
-#line 3659 "Printing.c"
- const gchar* _tmp23_ = NULL;
- const gchar* _tmp24_ = NULL;
- gint _tmp25_ = 0;
- gchar _tmp26_ = '\0';
- gchar* _tmp27_ = NULL;
- gchar* _tmp28_ = NULL;
- gchar* _tmp29_ = NULL;
-#line 522 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp23_ = new_text;
-#line 522 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp24_ = text;
-#line 522 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp25_ = ctr;
-#line 522 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp26_ = string_get (_tmp24_, (glong) _tmp25_);
+ break;
+#line 3641 "Printing.c"
+ }
#line 522 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp27_ = g_strdup_printf ("%c", (gchar) _tmp26_);
+ _tmp17_ = text;
#line 522 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp28_ = _tmp27_;
+ _tmp18_ = ctr;
#line 522 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp29_ = g_strconcat (_tmp23_, _tmp28_, NULL);
+ _tmp19_ = string_get (_tmp17_, (glong) _tmp18_);
#line 522 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_free0 (new_text);
+ _tmp20_ = g_ascii_isdigit (_tmp19_);
#line 522 "/home/jens/Source/shotwell/src/Printing.vala"
- new_text = _tmp29_;
-#line 522 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_free0 (_tmp28_);
-#line 3687 "Printing.c"
- } else {
- gboolean _tmp30_ = FALSE;
- gboolean _tmp31_ = FALSE;
+ if (_tmp20_) {
+#line 3653 "Printing.c"
+ const gchar* _tmp21_ = NULL;
+ const gchar* _tmp22_ = NULL;
+ gint _tmp23_ = 0;
+ gchar _tmp24_ = '\0';
+ gchar* _tmp25_ = NULL;
+ gchar* _tmp26_ = NULL;
+ gchar* _tmp27_ = NULL;
#line 523 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp31_ = contains_decimal_point;
+ _tmp21_ = new_text;
#line 523 "/home/jens/Source/shotwell/src/Printing.vala"
- if (!_tmp31_) {
-#line 3695 "Printing.c"
- const gchar* _tmp32_ = NULL;
- gint _tmp33_ = 0;
- gchar _tmp34_ = '\0';
- const gchar* _tmp35_ = NULL;
- gchar _tmp36_ = '\0';
+ _tmp22_ = text;
#line 523 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp32_ = text;
+ _tmp23_ = ctr;
#line 523 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp33_ = ctr;
+ _tmp24_ = string_get (_tmp22_, (glong) _tmp23_);
#line 523 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp34_ = string_get (_tmp32_, (glong) _tmp33_);
+ _tmp25_ = g_strdup_printf ("%c", (gchar) _tmp24_);
#line 523 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp35_ = decimal_point;
+ _tmp26_ = _tmp25_;
#line 523 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp36_ = string_get (_tmp35_, (glong) 0);
+ _tmp27_ = g_strconcat (_tmp21_, _tmp26_, NULL);
#line 523 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp30_ = _tmp34_ == _tmp36_;
-#line 3713 "Printing.c"
- } else {
+ _g_free0 (new_text);
#line 523 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp30_ = FALSE;
-#line 3717 "Printing.c"
- }
+ new_text = _tmp27_;
#line 523 "/home/jens/Source/shotwell/src/Printing.vala"
- if (_tmp30_) {
-#line 3721 "Printing.c"
- const gchar* _tmp37_ = NULL;
- const gchar* _tmp38_ = NULL;
- gint _tmp39_ = 0;
- gchar _tmp40_ = '\0';
- gchar* _tmp41_ = NULL;
- gchar* _tmp42_ = NULL;
- gchar* _tmp43_ = NULL;
+ _g_free0 (_tmp26_);
+#line 3681 "Printing.c"
+ } else {
+ gboolean _tmp28_ = FALSE;
+ gboolean _tmp29_ = FALSE;
#line 524 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp37_ = new_text;
+ _tmp29_ = contains_decimal_point;
#line 524 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp38_ = text;
+ if (!_tmp29_) {
+#line 3689 "Printing.c"
+ const gchar* _tmp30_ = NULL;
+ gint _tmp31_ = 0;
+ gchar _tmp32_ = '\0';
+ const gchar* _tmp33_ = NULL;
+ gchar _tmp34_ = '\0';
#line 524 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp39_ = ctr;
+ _tmp30_ = text;
#line 524 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp40_ = string_get (_tmp38_, (glong) _tmp39_);
+ _tmp31_ = ctr;
#line 524 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp41_ = g_strdup_printf ("%c", (gchar) _tmp40_);
+ _tmp32_ = string_get (_tmp30_, (glong) _tmp31_);
#line 524 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp42_ = _tmp41_;
+ _tmp33_ = decimal_point;
#line 524 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp43_ = g_strconcat (_tmp37_, _tmp42_, NULL);
+ _tmp34_ = string_get (_tmp33_, (glong) 0);
#line 524 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_free0 (new_text);
+ _tmp28_ = _tmp32_ == _tmp34_;
+#line 3707 "Printing.c"
+ } else {
#line 524 "/home/jens/Source/shotwell/src/Printing.vala"
- new_text = _tmp43_;
+ _tmp28_ = FALSE;
+#line 3711 "Printing.c"
+ }
#line 524 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_free0 (_tmp42_);
-#line 3749 "Printing.c"
+ if (_tmp28_) {
+#line 3715 "Printing.c"
+ const gchar* _tmp35_ = NULL;
+ const gchar* _tmp36_ = NULL;
+ gint _tmp37_ = 0;
+ gchar _tmp38_ = '\0';
+ gchar* _tmp39_ = NULL;
+ gchar* _tmp40_ = NULL;
+ gchar* _tmp41_ = NULL;
+#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp35_ = new_text;
+#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp36_ = text;
+#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp37_ = ctr;
+#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp38_ = string_get (_tmp36_, (glong) _tmp37_);
+#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp39_ = g_strdup_printf ("%c", (gchar) _tmp38_);
+#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp40_ = _tmp39_;
+#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp41_ = g_strconcat (_tmp35_, _tmp40_, NULL);
+#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
+ _g_free0 (new_text);
+#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
+ new_text = _tmp41_;
+#line 525 "/home/jens/Source/shotwell/src/Printing.vala"
+ _g_free0 (_tmp40_);
+#line 3743 "Printing.c"
}
}
}
}
}
-#line 528 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp44_ = new_text;
-#line 528 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp45_ = strlen (_tmp44_);
-#line 528 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp46_ = _tmp45_;
-#line 528 "/home/jens/Source/shotwell/src/Printing.vala"
- if (_tmp46_ > 0) {
-#line 3763 "Printing.c"
- GtkEntry* _tmp47_ = NULL;
- const gchar* _tmp48_ = NULL;
- const gchar* _tmp49_ = NULL;
- gint _tmp50_ = 0;
- gint _tmp51_ = 0;
#line 529 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp47_ = sender;
+ _tmp42_ = new_text;
#line 529 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp48_ = new_text;
+ _tmp43_ = strlen (_tmp42_);
#line 529 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp49_ = new_text;
+ _tmp44_ = _tmp43_;
#line 529 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp50_ = strlen (_tmp49_);
-#line 529 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp51_ = _tmp50_;
-#line 529 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_editable_insert_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, GTK_TYPE_EDITABLE, GtkEditable), _tmp48_, (gint) _tmp51_, position);
-#line 3781 "Printing.c"
+ if (_tmp44_ > 0) {
+#line 3757 "Printing.c"
+ GtkEntry* _tmp45_ = NULL;
+ const gchar* _tmp46_ = NULL;
+ const gchar* _tmp47_ = NULL;
+ gint _tmp48_ = 0;
+ gint _tmp49_ = 0;
+#line 530 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp45_ = sender;
+#line 530 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp46_ = new_text;
+#line 530 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp47_ = new_text;
+#line 530 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp48_ = strlen (_tmp47_);
+#line 530 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp49_ = _tmp48_;
+#line 530 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_editable_insert_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, GTK_TYPE_EDITABLE, GtkEditable), _tmp46_, (gint) _tmp49_, position);
+#line 3775 "Printing.c"
}
-#line 531 "/home/jens/Source/shotwell/src/Printing.vala"
- _tmp52_ = sender;
-#line 531 "/home/jens/Source/shotwell/src/Printing.vala"
- g_signal_stop_emission_by_name (_tmp52_, "insert-text");
-#line 533 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 532 "/home/jens/Source/shotwell/src/Printing.vala"
+ _tmp50_ = sender;
+#line 532 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_signal_stop_emission_by_name (_tmp50_, "insert-text");
+#line 534 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->is_text_insertion_in_progress = FALSE;
#line 503 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (new_text);
#line 503 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_free0 (decimal_point);
-#line 503 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (sender);
-#line 3795 "Printing.c"
+#line 3787 "Printing.c"
}
@@ -3851,65 +3843,65 @@ static void custom_print_tab_sync_state_from_job (CustomPrintTab* self, PrintJob
PrintSettings* _tmp63_ = NULL;
gchar* _tmp64_ = NULL;
gchar* _tmp65_ = NULL;
-#line 536 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
-#line 536 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_PRINT_JOB (job));
#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_PRINT_JOB (job));
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = job;
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = print_job_get_local_settings (_tmp0_);
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = _tmp1_;
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_get_content_width (_tmp2_, &_tmp3_);
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = _tmp3_.unit;
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = job;
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = print_job_get_local_settings (_tmp5_);
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = _tmp6_;
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_get_content_height (_tmp7_, &_tmp8_);
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = _tmp8_.unit;
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_assert (_tmp4_ == _tmp9_, "job.get_local_settings().get_content_width().unit == job.get_local_settings().get_content_height().unit");
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp7_);
-#line 537 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 538 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp2_);
-#line 540 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = job;
-#line 540 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = print_job_get_local_settings (_tmp10_);
-#line 540 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = _tmp11_;
-#line 540 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_get_content_width (_tmp12_, &_tmp13_);
-#line 540 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = _tmp13_;
-#line 540 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp12_);
-#line 540 "/home/jens/Source/shotwell/src/Printing.vala"
- constrained_width = _tmp14_;
#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
+ constrained_width = _tmp14_;
+#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = job;
-#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = print_job_get_local_settings (_tmp15_);
-#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = _tmp16_;
-#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = print_settings_is_match_aspect_ratio_enabled (_tmp17_);
-#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp19_ = _tmp18_;
-#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp17_);
-#line 541 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp19_) {
-#line 3913 "Printing.c"
+#line 3905 "Printing.c"
PrintJob* _tmp20_ = NULL;
PrintSettings* _tmp21_ = NULL;
PrintSettings* _tmp22_ = NULL;
@@ -3922,143 +3914,143 @@ static void custom_print_tab_sync_state_from_job (CustomPrintTab* self, PrintJob
PrintSettings* _tmp29_ = NULL;
Measurement _tmp30_ = {0};
MeasurementUnit _tmp31_ = 0;
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp20_ = job;
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21_ = print_job_get_local_settings (_tmp20_);
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp22_ = _tmp21_;
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_get_content_height (_tmp22_, &_tmp23_);
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp24_ = _tmp23_.value;
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp25_ = job;
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp26_ = print_job_get_source_aspect_ratio (_tmp25_);
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp27_ = job;
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp28_ = print_job_get_local_settings (_tmp27_);
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp29_ = _tmp28_;
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_get_content_height (_tmp29_, &_tmp30_);
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp31_ = _tmp30_.unit;
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&constrained_width, _tmp24_ * _tmp26_, _tmp31_);
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp29_);
-#line 542 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 543 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp22_);
-#line 3956 "Printing.c"
+#line 3948 "Printing.c"
}
-#line 544 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 545 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp32_ = constrained_width;
-#line 544 "/home/jens/Source/shotwell/src/Printing.vala"
- custom_print_tab_set_content_width (self, &_tmp32_);
#line 545 "/home/jens/Source/shotwell/src/Printing.vala"
+ custom_print_tab_set_content_width (self, &_tmp32_);
+#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp33_ = job;
-#line 545 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp34_ = print_job_get_local_settings (_tmp33_);
-#line 545 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp35_ = _tmp34_;
-#line 545 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_get_content_height (_tmp35_, &_tmp36_);
-#line 545 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_content_height (self, &_tmp36_);
-#line 545 "/home/jens/Source/shotwell/src/Printing.vala"
- _print_settings_unref0 (_tmp35_);
#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
+ _print_settings_unref0 (_tmp35_);
+#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp37_ = job;
-#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp38_ = print_job_get_local_settings (_tmp37_);
-#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp39_ = _tmp38_;
-#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp40_ = print_settings_get_content_layout (_tmp39_);
-#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_content_layout (self, _tmp40_);
-#line 546 "/home/jens/Source/shotwell/src/Printing.vala"
- _print_settings_unref0 (_tmp39_);
#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
+ _print_settings_unref0 (_tmp39_);
+#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp41_ = job;
-#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp42_ = print_job_get_local_settings (_tmp41_);
-#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp43_ = _tmp42_;
-#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp44_ = print_settings_get_content_ppi (_tmp43_);
-#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_content_ppi (self, _tmp44_);
-#line 547 "/home/jens/Source/shotwell/src/Printing.vala"
- _print_settings_unref0 (_tmp43_);
#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
+ _print_settings_unref0 (_tmp43_);
+#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp45_ = job;
-#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp46_ = print_job_get_local_settings (_tmp45_);
-#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp47_ = _tmp46_;
-#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp48_ = print_settings_get_image_per_page_selection (_tmp47_);
-#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_image_per_page_selection (self, _tmp48_);
-#line 548 "/home/jens/Source/shotwell/src/Printing.vala"
- _print_settings_unref0 (_tmp47_);
#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
+ _print_settings_unref0 (_tmp47_);
+#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp49_ = job;
-#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp50_ = print_job_get_local_settings (_tmp49_);
-#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp51_ = _tmp50_;
-#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp52_ = print_settings_get_size_selection (_tmp51_);
-#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_size_selection (self, _tmp52_);
-#line 549 "/home/jens/Source/shotwell/src/Printing.vala"
- _print_settings_unref0 (_tmp51_);
#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
+ _print_settings_unref0 (_tmp51_);
+#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp53_ = job;
-#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp54_ = print_job_get_local_settings (_tmp53_);
-#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp55_ = _tmp54_;
-#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp56_ = print_settings_is_match_aspect_ratio_enabled (_tmp55_);
-#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_match_aspect_ratio_enabled (self, _tmp56_);
-#line 550 "/home/jens/Source/shotwell/src/Printing.vala"
- _print_settings_unref0 (_tmp55_);
#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
+ _print_settings_unref0 (_tmp55_);
+#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp57_ = job;
-#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp58_ = print_job_get_local_settings (_tmp57_);
-#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp59_ = _tmp58_;
-#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp60_ = print_settings_is_print_titles_enabled (_tmp59_);
-#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_print_titles_enabled (self, _tmp60_);
-#line 551 "/home/jens/Source/shotwell/src/Printing.vala"
- _print_settings_unref0 (_tmp59_);
#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
+ _print_settings_unref0 (_tmp59_);
+#line 553 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp61_ = job;
-#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 553 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp62_ = print_job_get_local_settings (_tmp61_);
-#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 553 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp63_ = _tmp62_;
-#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 553 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp64_ = print_settings_get_print_titles_font (_tmp63_);
-#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 553 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp65_ = _tmp64_;
-#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 553 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_print_titles_font (self, _tmp65_);
-#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 553 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp65_);
-#line 552 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 553 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp63_);
-#line 4062 "Printing.c"
+#line 4054 "Printing.c"
}
@@ -4068,67 +4060,67 @@ static void custom_print_tab_on_radio_group_click (CustomPrintTab* self, GtkButt
GtkRadioButton* _tmp1_ = NULL;
GtkRadioButton* _tmp2_ = NULL;
GtkRadioButton* _tmp3_ = NULL;
-#line 555 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 556 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
-#line 555 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (GTK_IS_BUTTON (b));
#line 556 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (GTK_IS_BUTTON (b));
+#line 557 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = b;
-#line 556 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 557 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_radio_button_get_type (), GtkRadioButton));
-#line 556 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 557 "/home/jens/Source/shotwell/src/Printing.vala"
sender = _tmp1_;
-#line 558 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 559 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = sender;
-#line 558 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 559 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->standard_size_radio;
-#line 558 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 559 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_ == _tmp3_) {
-#line 4088 "Printing.c"
+#line 4080 "Printing.c"
GtkComboBox* _tmp4_ = NULL;
-#line 559 "/home/jens/Source/shotwell/src/Printing.vala"
- custom_print_tab_set_content_layout_control_state (self, CONTENT_LAYOUT_STANDARD_SIZE);
#line 560 "/home/jens/Source/shotwell/src/Printing.vala"
+ custom_print_tab_set_content_layout_control_state (self, CONTENT_LAYOUT_STANDARD_SIZE);
+#line 561 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->standard_sizes_combo;
-#line 560 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 561 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget));
-#line 4096 "Printing.c"
+#line 4088 "Printing.c"
} else {
GtkRadioButton* _tmp5_ = NULL;
GtkRadioButton* _tmp6_ = NULL;
-#line 561 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 562 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = sender;
-#line 561 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 562 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = self->priv->custom_size_radio;
-#line 561 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 562 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp5_ == _tmp6_) {
-#line 4106 "Printing.c"
+#line 4098 "Printing.c"
GtkEntry* _tmp7_ = NULL;
-#line 562 "/home/jens/Source/shotwell/src/Printing.vala"
- custom_print_tab_set_content_layout_control_state (self, CONTENT_LAYOUT_CUSTOM_SIZE);
#line 563 "/home/jens/Source/shotwell/src/Printing.vala"
+ custom_print_tab_set_content_layout_control_state (self, CONTENT_LAYOUT_CUSTOM_SIZE);
+#line 564 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = self->priv->custom_height_entry;
-#line 563 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 564 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
-#line 4114 "Printing.c"
+#line 4106 "Printing.c"
} else {
GtkRadioButton* _tmp8_ = NULL;
GtkRadioButton* _tmp9_ = NULL;
-#line 564 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 565 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = sender;
-#line 564 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 565 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = self->priv->image_per_page_radio;
-#line 564 "/home/jens/Source/shotwell/src/Printing.vala"
- if (_tmp8_ == _tmp9_) {
#line 565 "/home/jens/Source/shotwell/src/Printing.vala"
+ if (_tmp8_ == _tmp9_) {
+#line 566 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_set_content_layout_control_state (self, CONTENT_LAYOUT_IMAGE_PER_PAGE);
-#line 4126 "Printing.c"
+#line 4118 "Printing.c"
}
}
}
-#line 555 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 556 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (sender);
-#line 4132 "Printing.c"
+#line 4124 "Printing.c"
}
@@ -4143,51 +4135,51 @@ static void custom_print_tab_on_units_combo_changed (CustomPrintTab* self) {
MeasurementUnit _tmp7_ = 0;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 569 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 570 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
+#line 571 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->custom_height_entry;
-#line 570 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 571 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = self->priv->local_content_height;
-#line 570 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 571 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = custom_print_tab_get_user_unit_choice (self);
-#line 570 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 571 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = custom_print_tab_format_measurement_as (self, &_tmp1_, _tmp2_);
-#line 570 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 571 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = _tmp3_;
-#line 570 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 571 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_entry_set_text (_tmp0_, _tmp4_);
-#line 570 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 571 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp4_);
-#line 572 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 573 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = self->priv->custom_width_entry;
-#line 572 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 573 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = self->priv->local_content_width;
-#line 572 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 573 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = custom_print_tab_get_user_unit_choice (self);
-#line 572 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 573 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = custom_print_tab_format_measurement_as (self, &_tmp6_, _tmp7_);
-#line 572 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 573 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = _tmp8_;
-#line 572 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 573 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_entry_set_text (_tmp5_, _tmp9_);
-#line 572 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 573 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp9_);
-#line 4177 "Printing.c"
+#line 4169 "Printing.c"
}
static void custom_print_tab_set_content_layout_control_state (CustomPrintTab* self, ContentLayout layout) {
ContentLayout _tmp0_ = 0;
-#line 576 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 577 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
+#line 578 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = layout;
-#line 577 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 578 "/home/jens/Source/shotwell/src/Printing.vala"
switch (_tmp0_) {
-#line 577 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 578 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_STANDARD_SIZE:
-#line 4191 "Printing.c"
+#line 4183 "Printing.c"
{
GtkComboBox* _tmp1_ = NULL;
GtkComboBoxText* _tmp2_ = NULL;
@@ -4195,37 +4187,37 @@ static void custom_print_tab_set_content_layout_control_state (CustomPrintTab* s
GtkEntry* _tmp4_ = NULL;
GtkCheckButton* _tmp5_ = NULL;
GtkComboBox* _tmp6_ = NULL;
-#line 579 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 580 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = self->priv->standard_sizes_combo;
-#line 579 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 580 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 581 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->units_combo;
-#line 580 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 581 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 582 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->custom_width_entry;
-#line 581 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 582 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 583 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->custom_height_entry;
-#line 582 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 583 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 584 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = self->priv->aspect_ratio_check;
-#line 583 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 584 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 585 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = self->priv->image_per_page_combo;
-#line 584 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 585 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 586 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 4225 "Printing.c"
+#line 4217 "Printing.c"
}
-#line 577 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 578 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_CUSTOM_SIZE:
-#line 4229 "Printing.c"
+#line 4221 "Printing.c"
{
GtkComboBox* _tmp7_ = NULL;
GtkComboBoxText* _tmp8_ = NULL;
@@ -4233,37 +4225,37 @@ static void custom_print_tab_set_content_layout_control_state (CustomPrintTab* s
GtkEntry* _tmp10_ = NULL;
GtkCheckButton* _tmp11_ = NULL;
GtkComboBox* _tmp12_ = NULL;
-#line 588 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 589 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = self->priv->standard_sizes_combo;
-#line 588 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 589 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 590 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = self->priv->units_combo;
-#line 589 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 590 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 591 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = self->priv->custom_width_entry;
-#line 590 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 591 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 592 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = self->priv->custom_height_entry;
-#line 591 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 592 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 593 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = self->priv->aspect_ratio_check;
-#line 592 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 593 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 594 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = self->priv->image_per_page_combo;
-#line 593 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 594 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 595 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 4263 "Printing.c"
+#line 4255 "Printing.c"
}
-#line 577 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 578 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_IMAGE_PER_PAGE:
-#line 4267 "Printing.c"
+#line 4259 "Printing.c"
{
GtkComboBox* _tmp13_ = NULL;
GtkComboBoxText* _tmp14_ = NULL;
@@ -4271,39 +4263,39 @@ static void custom_print_tab_set_content_layout_control_state (CustomPrintTab* s
GtkEntry* _tmp16_ = NULL;
GtkCheckButton* _tmp17_ = NULL;
GtkComboBox* _tmp18_ = NULL;
-#line 597 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 598 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = self->priv->standard_sizes_combo;
-#line 597 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 598 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 599 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = self->priv->units_combo;
-#line 598 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 599 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 600 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = self->priv->custom_width_entry;
-#line 599 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 600 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 601 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = self->priv->custom_height_entry;
-#line 600 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 601 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 602 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = self->priv->aspect_ratio_check;
-#line 601 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 602 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 603 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = self->priv->image_per_page_combo;
-#line 602 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 603 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), TRUE);
+#line 604 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 4301 "Printing.c"
+#line 4293 "Printing.c"
}
default:
{
-#line 606 "/home/jens/Source/shotwell/src/Printing.vala"
- g_error ("Printing.vala:606: unknown ContentLayout enumeration value");
-#line 4307 "Printing.c"
+#line 607 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_error ("Printing.vala:607: unknown ContentLayout enumeration value");
+#line 4299 "Printing.c"
}
}
}
@@ -4318,95 +4310,95 @@ static gboolean custom_print_tab_standard_sizes_combo_separator_func (GtkTreeMod
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 610 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 611 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (GTK_IS_TREE_MODEL (model), FALSE);
-#line 610 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 611 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (iter != NULL, FALSE);
-#line 613 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 614 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = model;
-#line 613 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 614 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = *iter;
-#line 613 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 614 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_tree_model_get_value (_tmp0_, &_tmp1_, 0, &_tmp2_);
-#line 613 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 614 "/home/jens/Source/shotwell/src/Printing.vala"
G_IS_VALUE (&val) ? (g_value_unset (&val), NULL) : NULL;
-#line 613 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 614 "/home/jens/Source/shotwell/src/Printing.vala"
val = _tmp2_;
-#line 615 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 616 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = g_value_dup_string (&val);
-#line 615 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 616 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = _tmp3_;
-#line 615 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 616 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = g_strcmp0 (_tmp4_, "-") == 0;
-#line 615 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 616 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp4_);
-#line 615 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 616 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp5_;
-#line 615 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 616 "/home/jens/Source/shotwell/src/Printing.vala"
G_IS_VALUE (&val) ? (g_value_unset (&val), NULL) : NULL;
-#line 615 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 616 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4350 "Printing.c"
+#line 4342 "Printing.c"
}
static void custom_print_tab_set_content_layout (CustomPrintTab* self, ContentLayout content_layout) {
ContentLayout _tmp0_ = 0;
ContentLayout _tmp1_ = 0;
-#line 618 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 619 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
+#line 620 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = content_layout;
-#line 619 "/home/jens/Source/shotwell/src/Printing.vala"
- custom_print_tab_set_content_layout_control_state (self, _tmp0_);
#line 620 "/home/jens/Source/shotwell/src/Printing.vala"
+ custom_print_tab_set_content_layout_control_state (self, _tmp0_);
+#line 621 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = content_layout;
-#line 620 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 621 "/home/jens/Source/shotwell/src/Printing.vala"
switch (_tmp1_) {
-#line 620 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 621 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_STANDARD_SIZE:
-#line 4369 "Printing.c"
+#line 4361 "Printing.c"
{
GtkRadioButton* _tmp2_ = NULL;
-#line 622 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 623 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->standard_size_radio;
-#line 622 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 623 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
+#line 624 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 4378 "Printing.c"
+#line 4370 "Printing.c"
}
-#line 620 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 621 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_CUSTOM_SIZE:
-#line 4382 "Printing.c"
+#line 4374 "Printing.c"
{
GtkRadioButton* _tmp3_ = NULL;
-#line 626 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 627 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->custom_size_radio;
-#line 626 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 627 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
+#line 628 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 4391 "Printing.c"
+#line 4383 "Printing.c"
}
-#line 620 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 621 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_IMAGE_PER_PAGE:
-#line 4395 "Printing.c"
+#line 4387 "Printing.c"
{
GtkRadioButton* _tmp4_ = NULL;
-#line 630 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 631 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->image_per_page_radio;
-#line 630 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 631 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
+#line 632 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 4404 "Printing.c"
+#line 4396 "Printing.c"
}
default:
{
-#line 634 "/home/jens/Source/shotwell/src/Printing.vala"
- g_error ("Printing.vala:634: unknown ContentLayout enumeration value");
-#line 4410 "Printing.c"
+#line 635 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_error ("Printing.vala:635: unknown ContentLayout enumeration value");
+#line 4402 "Printing.c"
}
}
}
@@ -4420,48 +4412,48 @@ static ContentLayout custom_print_tab_get_content_layout (CustomPrintTab* self)
gboolean _tmp3_ = FALSE;
GtkRadioButton* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 638 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
#line 639 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
+#line 640 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->standard_size_radio;
-#line 639 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 640 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 639 "/home/jens/Source/shotwell/src/Printing.vala"
- if (_tmp1_) {
#line 640 "/home/jens/Source/shotwell/src/Printing.vala"
+ if (_tmp1_) {
+#line 641 "/home/jens/Source/shotwell/src/Printing.vala"
result = CONTENT_LAYOUT_STANDARD_SIZE;
-#line 640 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 641 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4436 "Printing.c"
+#line 4428 "Printing.c"
}
-#line 641 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 642 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->custom_size_radio;
-#line 641 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 642 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 641 "/home/jens/Source/shotwell/src/Printing.vala"
- if (_tmp3_) {
#line 642 "/home/jens/Source/shotwell/src/Printing.vala"
+ if (_tmp3_) {
+#line 643 "/home/jens/Source/shotwell/src/Printing.vala"
result = CONTENT_LAYOUT_CUSTOM_SIZE;
-#line 642 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 643 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4448 "Printing.c"
+#line 4440 "Printing.c"
}
-#line 643 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 644 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->image_per_page_radio;
-#line 643 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 644 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 643 "/home/jens/Source/shotwell/src/Printing.vala"
- if (_tmp5_) {
#line 644 "/home/jens/Source/shotwell/src/Printing.vala"
+ if (_tmp5_) {
+#line 645 "/home/jens/Source/shotwell/src/Printing.vala"
result = CONTENT_LAYOUT_IMAGE_PER_PAGE;
-#line 644 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 645 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4460 "Printing.c"
+#line 4452 "Printing.c"
}
-#line 646 "/home/jens/Source/shotwell/src/Printing.vala"
- g_error ("Printing.vala:646: inconsistent content layout radio button group stat" \
+#line 647 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_error ("Printing.vala:647: inconsistent content layout radio button group stat" \
"e");
-#line 4464 "Printing.c"
+#line 4456 "Printing.c"
}
@@ -4475,21 +4467,21 @@ static void custom_print_tab_set_content_width (CustomPrintTab* self, Measuremen
Measurement _tmp15_ = {0};
gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
-#line 649 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 650 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
-#line 649 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (content_width != NULL);
#line 650 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (content_width != NULL);
+#line 651 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = *content_width;
-#line 650 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 651 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _tmp0_.unit;
-#line 650 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 651 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->local_content_height;
-#line 650 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 651 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = _tmp2_.unit;
-#line 650 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 651 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp1_ != _tmp3_) {
-#line 4492 "Printing.c"
+#line 4484 "Printing.c"
Measurement _tmp4_ = {0};
MeasurementUnit _tmp5_ = 0;
Measurement _tmp6_ = {0};
@@ -4499,65 +4491,65 @@ static void custom_print_tab_set_content_width (CustomPrintTab* self, Measuremen
Measurement _tmp10_ = {0};
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
-#line 651 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 652 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = *content_width;
-#line 651 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 652 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = _tmp4_.unit;
-#line 651 "/home/jens/Source/shotwell/src/Printing.vala"
- custom_print_tab_set_user_unit_choice (self, _tmp5_);
#line 652 "/home/jens/Source/shotwell/src/Printing.vala"
+ custom_print_tab_set_user_unit_choice (self, _tmp5_);
+#line 653 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = *content_width;
-#line 652 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 653 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = _tmp6_.unit;
-#line 652 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 653 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_convert_to (&self->priv->local_content_height, _tmp7_, &_tmp8_);
-#line 652 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->local_content_height = _tmp8_;
#line 653 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->priv->local_content_height = _tmp8_;
+#line 654 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = self->priv->custom_height_entry;
-#line 653 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 654 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = self->priv->local_content_height;
-#line 653 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 654 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = custom_print_tab_format_measurement (self, &_tmp10_);
-#line 653 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 654 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = _tmp11_;
-#line 653 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 654 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_entry_set_text (_tmp9_, _tmp12_);
-#line 653 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 654 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp12_);
-#line 4528 "Printing.c"
+#line 4520 "Printing.c"
}
-#line 655 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 656 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = *content_width;
-#line 655 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->local_content_width = _tmp13_;
#line 656 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->priv->local_content_width = _tmp13_;
+#line 657 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = self->priv->custom_width_entry;
-#line 656 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 657 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = *content_width;
-#line 656 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 657 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = custom_print_tab_format_measurement (self, &_tmp15_);
-#line 656 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 657 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = _tmp16_;
-#line 656 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 657 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_entry_set_text (_tmp14_, _tmp17_);
-#line 656 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 657 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp17_);
-#line 4546 "Printing.c"
+#line 4538 "Printing.c"
}
static void custom_print_tab_get_content_width (CustomPrintTab* self, Measurement* result) {
Measurement _tmp0_ = {0};
-#line 659 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 660 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
+#line 661 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->local_content_width;
-#line 660 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 661 "/home/jens/Source/shotwell/src/Printing.vala"
*result = _tmp0_;
-#line 660 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 661 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 4560 "Printing.c"
+#line 4552 "Printing.c"
}
@@ -4571,21 +4563,21 @@ static void custom_print_tab_set_content_height (CustomPrintTab* self, Measureme
Measurement _tmp15_ = {0};
gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
-#line 663 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 664 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
-#line 663 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (content_height != NULL);
#line 664 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (content_height != NULL);
+#line 665 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = *content_height;
-#line 664 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 665 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _tmp0_.unit;
-#line 664 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 665 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->local_content_width;
-#line 664 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 665 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = _tmp2_.unit;
-#line 664 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 665 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp1_ != _tmp3_) {
-#line 4588 "Printing.c"
+#line 4580 "Printing.c"
Measurement _tmp4_ = {0};
MeasurementUnit _tmp5_ = 0;
Measurement _tmp6_ = {0};
@@ -4595,65 +4587,65 @@ static void custom_print_tab_set_content_height (CustomPrintTab* self, Measureme
Measurement _tmp10_ = {0};
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
-#line 665 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 666 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = *content_height;
-#line 665 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 666 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = _tmp4_.unit;
-#line 665 "/home/jens/Source/shotwell/src/Printing.vala"
- custom_print_tab_set_user_unit_choice (self, _tmp5_);
#line 666 "/home/jens/Source/shotwell/src/Printing.vala"
+ custom_print_tab_set_user_unit_choice (self, _tmp5_);
+#line 667 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = *content_height;
-#line 666 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 667 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = _tmp6_.unit;
-#line 666 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 667 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_convert_to (&self->priv->local_content_width, _tmp7_, &_tmp8_);
-#line 666 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->local_content_width = _tmp8_;
#line 667 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->priv->local_content_width = _tmp8_;
+#line 668 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = self->priv->custom_width_entry;
-#line 667 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 668 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = self->priv->local_content_width;
-#line 667 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 668 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = custom_print_tab_format_measurement (self, &_tmp10_);
-#line 667 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 668 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = _tmp11_;
-#line 667 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 668 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_entry_set_text (_tmp9_, _tmp12_);
-#line 667 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 668 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp12_);
-#line 4624 "Printing.c"
+#line 4616 "Printing.c"
}
-#line 669 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 670 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = *content_height;
-#line 669 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->local_content_height = _tmp13_;
#line 670 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->priv->local_content_height = _tmp13_;
+#line 671 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = self->priv->custom_height_entry;
-#line 670 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 671 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = *content_height;
-#line 670 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 671 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = custom_print_tab_format_measurement (self, &_tmp15_);
-#line 670 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 671 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = _tmp16_;
-#line 670 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 671 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_entry_set_text (_tmp14_, _tmp17_);
-#line 670 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 671 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp17_);
-#line 4642 "Printing.c"
+#line 4634 "Printing.c"
}
static void custom_print_tab_get_content_height (CustomPrintTab* self, Measurement* result) {
Measurement _tmp0_ = {0};
-#line 673 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 674 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
+#line 675 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->local_content_height;
-#line 674 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 675 "/home/jens/Source/shotwell/src/Printing.vala"
*result = _tmp0_;
-#line 674 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 675 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 4656 "Printing.c"
+#line 4648 "Printing.c"
}
@@ -4664,57 +4656,57 @@ static void custom_print_tab_set_content_ppi (CustomPrintTab* self, gint content
gint _tmp3_ = 0;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 677 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 678 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
+#line 679 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = content_ppi;
-#line 678 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 679 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = CLAMP (_tmp0_, PRINT_SETTINGS_MIN_CONTENT_PPI, PRINT_SETTINGS_MAX_CONTENT_PPI);
-#line 678 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 679 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->local_content_ppi = _tmp1_;
-#line 681 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 682 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->ppi_entry;
-#line 681 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 682 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->local_content_ppi;
-#line 681 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 682 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = g_strdup_printf ("%d", _tmp3_);
-#line 681 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 682 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = _tmp4_;
-#line 681 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 682 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_entry_set_text (_tmp2_, _tmp5_);
-#line 681 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 682 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp5_);
-#line 4687 "Printing.c"
+#line 4679 "Printing.c"
}
static gint custom_print_tab_get_content_ppi (CustomPrintTab* self) {
gint result = 0;
gint _tmp0_ = 0;
-#line 684 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
#line 685 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
+#line 686 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->local_content_ppi;
-#line 685 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 686 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp0_;
-#line 685 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 686 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4702 "Printing.c"
+#line 4694 "Printing.c"
}
static void custom_print_tab_set_image_per_page_selection (CustomPrintTab* self, gint image_per_page) {
GtkComboBox* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 688 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 689 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
+#line 690 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->image_per_page_combo;
-#line 689 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 690 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = image_per_page;
-#line 689 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 690 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_combo_box_set_active (_tmp0_, _tmp1_);
-#line 4717 "Printing.c"
+#line 4709 "Printing.c"
}
@@ -4722,32 +4714,32 @@ static gint custom_print_tab_get_image_per_page_selection (CustomPrintTab* self)
gint result = 0;
GtkComboBox* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 692 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
#line 693 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
+#line 694 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->image_per_page_combo;
-#line 693 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 694 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gtk_combo_box_get_active (_tmp0_);
-#line 693 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 694 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp1_;
-#line 693 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 694 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4735 "Printing.c"
+#line 4727 "Printing.c"
}
static void custom_print_tab_set_size_selection (CustomPrintTab* self, gint size_selection) {
GtkComboBox* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 696 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 697 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
+#line 698 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->standard_sizes_combo;
-#line 697 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 698 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = size_selection;
-#line 697 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 698 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_combo_box_set_active (_tmp0_, _tmp1_);
-#line 4750 "Printing.c"
+#line 4742 "Printing.c"
}
@@ -4755,64 +4747,64 @@ static gint custom_print_tab_get_size_selection (CustomPrintTab* self) {
gint result = 0;
GtkComboBox* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 700 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
#line 701 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), 0);
+#line 702 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->standard_sizes_combo;
-#line 701 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 702 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gtk_combo_box_get_active (_tmp0_);
-#line 701 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 702 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp1_;
-#line 701 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 702 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4768 "Printing.c"
+#line 4760 "Printing.c"
}
static void custom_print_tab_set_match_aspect_ratio_enabled (CustomPrintTab* self, gboolean enable_state) {
GtkCheckButton* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 704 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 705 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
+#line 706 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->aspect_ratio_check;
-#line 705 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 706 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = enable_state;
-#line 705 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 706 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp1_);
-#line 4783 "Printing.c"
+#line 4775 "Printing.c"
}
static void custom_print_tab_set_print_titles_enabled (CustomPrintTab* self, gboolean print_titles) {
GtkCheckButton* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 708 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
#line 709 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
+#line 710 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->title_print_check;
-#line 709 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 710 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = print_titles;
-#line 709 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 710 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp1_);
-#line 4798 "Printing.c"
+#line 4790 "Printing.c"
}
static void custom_print_tab_set_print_titles_font (CustomPrintTab* self, const gchar* fontname) {
GtkFontButton* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 712 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 713 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_CUSTOM_PRINT_TAB (self));
-#line 712 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (fontname != NULL);
#line 713 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (fontname != NULL);
+#line 714 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->title_print_font;
-#line 713 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 714 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = fontname;
-#line 713 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 714 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_font_button_set_font_name (_tmp0_, _tmp1_);
-#line 4815 "Printing.c"
+#line 4807 "Printing.c"
}
@@ -4820,17 +4812,17 @@ static gboolean custom_print_tab_is_match_aspect_ratio_enabled (CustomPrintTab*
gboolean result = FALSE;
GtkCheckButton* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 717 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), FALSE);
#line 718 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), FALSE);
+#line 719 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->aspect_ratio_check;
-#line 718 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 719 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 718 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 719 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp1_;
-#line 718 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 719 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4833 "Printing.c"
+#line 4825 "Printing.c"
}
@@ -4838,17 +4830,17 @@ static gboolean custom_print_tab_is_print_titles_enabled (CustomPrintTab* self)
gboolean result = FALSE;
GtkCheckButton* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 721 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), FALSE);
#line 722 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), FALSE);
+#line 723 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->title_print_check;
-#line 722 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 723 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 722 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 723 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp1_;
-#line 722 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 723 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4851 "Printing.c"
+#line 4843 "Printing.c"
}
@@ -4857,19 +4849,19 @@ static gchar* custom_print_tab_get_print_titles_font (CustomPrintTab* self) {
GtkFontButton* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 725 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
#line 726 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
+#line 727 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->title_print_font;
-#line 726 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 727 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gtk_font_button_get_font_name (_tmp0_);
-#line 726 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 727 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 726 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 727 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp2_;
-#line 726 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 727 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4872 "Printing.c"
+#line 4864 "Printing.c"
}
@@ -4877,17 +4869,17 @@ PrintJob* custom_print_tab_get_source_job (CustomPrintTab* self) {
PrintJob* result = NULL;
PrintJob* _tmp0_ = NULL;
PrintJob* _tmp1_ = NULL;
-#line 729 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
#line 730 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
+#line 731 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->source_job;
-#line 730 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 731 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 730 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 731 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp1_;
-#line 730 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 731 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4890 "Printing.c"
+#line 4882 "Printing.c"
}
@@ -4905,57 +4897,57 @@ PrintSettings* custom_print_tab_get_local_settings (CustomPrintTab* self) {
gboolean _tmp8_ = FALSE;
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
-#line 733 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
#line 734 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_CUSTOM_PRINT_TAB (self), NULL);
+#line 735 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = print_settings_new ();
-#line 734 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 735 "/home/jens/Source/shotwell/src/Printing.vala"
_result_ = _tmp0_;
-#line 736 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 737 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_get_content_width (self, &_tmp1_);
-#line 736 "/home/jens/Source/shotwell/src/Printing.vala"
- print_settings_set_content_width (_result_, &_tmp1_);
#line 737 "/home/jens/Source/shotwell/src/Printing.vala"
+ print_settings_set_content_width (_result_, &_tmp1_);
+#line 738 "/home/jens/Source/shotwell/src/Printing.vala"
custom_print_tab_get_content_height (self, &_tmp2_);
-#line 737 "/home/jens/Source/shotwell/src/Printing.vala"
- print_settings_set_content_height (_result_, &_tmp2_);
#line 738 "/home/jens/Source/shotwell/src/Printing.vala"
+ print_settings_set_content_height (_result_, &_tmp2_);
+#line 739 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = custom_print_tab_get_content_layout (self);
-#line 738 "/home/jens/Source/shotwell/src/Printing.vala"
- print_settings_set_content_layout (_result_, _tmp3_);
#line 739 "/home/jens/Source/shotwell/src/Printing.vala"
+ print_settings_set_content_layout (_result_, _tmp3_);
+#line 740 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = custom_print_tab_get_content_ppi (self);
-#line 739 "/home/jens/Source/shotwell/src/Printing.vala"
- print_settings_set_content_ppi (_result_, _tmp4_);
#line 740 "/home/jens/Source/shotwell/src/Printing.vala"
+ print_settings_set_content_ppi (_result_, _tmp4_);
+#line 741 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = custom_print_tab_get_image_per_page_selection (self);
-#line 740 "/home/jens/Source/shotwell/src/Printing.vala"
- print_settings_set_image_per_page_selection (_result_, _tmp5_);
#line 741 "/home/jens/Source/shotwell/src/Printing.vala"
+ print_settings_set_image_per_page_selection (_result_, _tmp5_);
+#line 742 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = custom_print_tab_get_size_selection (self);
-#line 741 "/home/jens/Source/shotwell/src/Printing.vala"
- print_settings_set_size_selection (_result_, _tmp6_);
#line 742 "/home/jens/Source/shotwell/src/Printing.vala"
+ print_settings_set_size_selection (_result_, _tmp6_);
+#line 743 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = custom_print_tab_is_match_aspect_ratio_enabled (self);
-#line 742 "/home/jens/Source/shotwell/src/Printing.vala"
- print_settings_set_match_aspect_ratio_enabled (_result_, _tmp7_);
#line 743 "/home/jens/Source/shotwell/src/Printing.vala"
+ print_settings_set_match_aspect_ratio_enabled (_result_, _tmp7_);
+#line 744 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = custom_print_tab_is_print_titles_enabled (self);
-#line 743 "/home/jens/Source/shotwell/src/Printing.vala"
- print_settings_set_print_titles_enabled (_result_, _tmp8_);
#line 744 "/home/jens/Source/shotwell/src/Printing.vala"
+ print_settings_set_print_titles_enabled (_result_, _tmp8_);
+#line 745 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = custom_print_tab_get_print_titles_font (self);
-#line 744 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 745 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = _tmp9_;
-#line 744 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 745 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_set_print_titles_font (_result_, _tmp10_);
-#line 744 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 745 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp10_);
-#line 746 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 747 "/home/jens/Source/shotwell/src/Printing.vala"
result = _result_;
-#line 746 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 747 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 4958 "Printing.c"
+#line 4950 "Printing.c"
}
@@ -4966,7 +4958,7 @@ static void custom_print_tab_class_init (CustomPrintTabClass * klass) {
g_type_class_add_private (klass, sizeof (CustomPrintTabPrivate));
#line 268 "/home/jens/Source/shotwell/src/Printing.vala"
G_OBJECT_CLASS (klass)->finalize = custom_print_tab_finalize;
-#line 4969 "Printing.c"
+#line 4961 "Printing.c"
}
@@ -5003,7 +4995,7 @@ static void custom_print_tab_instance_init (CustomPrintTab * self) {
measurement_init (&self->priv->local_content_height, 5.0, MEASUREMENT_UNIT_INCHES);
#line 288 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->is_text_insertion_in_progress = FALSE;
-#line 5006 "Printing.c"
+#line 4998 "Printing.c"
}
@@ -5041,7 +5033,7 @@ static void custom_print_tab_finalize (GObject* obj) {
_g_object_unref0 (self->priv->source_job);
#line 268 "/home/jens/Source/shotwell/src/Printing.vala"
G_OBJECT_CLASS (custom_print_tab_parent_class)->finalize (obj);
-#line 5044 "Printing.c"
+#line 5036 "Printing.c"
}
@@ -5072,68 +5064,68 @@ PrintJob* print_job_construct (GType object_type, GeeCollection* to_print) {
gdouble _tmp9_ = 0.0;
gdouble _tmp10_ = 0.0;
gdouble _tmp11_ = 0.0;
-#line 754 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 755 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (GEE_IS_COLLECTION (to_print), NULL);
-#line 754 "/home/jens/Source/shotwell/src/Printing.vala"
- self = (PrintJob*) g_object_new (object_type, NULL);
#line 755 "/home/jens/Source/shotwell/src/Printing.vala"
+ self = (PrintJob*) g_object_new (object_type, NULL);
+#line 756 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = print_manager_get_instance ();
-#line 755 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 756 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _tmp0_;
-#line 755 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 756 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = print_manager_get_global_settings (_tmp1_);
-#line 755 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 756 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (self->priv->settings);
-#line 755 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 756 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->settings = _tmp2_;
-#line 755 "/home/jens/Source/shotwell/src/Printing.vala"
- _print_manager_unref0 (_tmp1_);
#line 756 "/home/jens/Source/shotwell/src/Printing.vala"
+ _print_manager_unref0 (_tmp1_);
+#line 757 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->photos;
-#line 756 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 757 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = to_print;
-#line 756 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 757 "/home/jens/Source/shotwell/src/Printing.vala"
gee_array_list_add_all (_tmp3_, _tmp4_);
-#line 758 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_print_operation_set_embed_page_setup (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_print_operation_get_type (), GtkPrintOperation), TRUE);
#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_print_operation_set_embed_page_setup (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_print_operation_get_type (), GtkPrintOperation), TRUE);
+#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = self->priv->photos;
-#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), 0);
-#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = (Photo*) _tmp6_;
-#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp8_);
-#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = dimensions_get_aspect_ratio (&_tmp8_);
-#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = _tmp9_;
-#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp7_);
-#line 759 "/home/jens/Source/shotwell/src/Printing.vala"
- photo_aspect_ratio = _tmp10_;
#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
+ photo_aspect_ratio = _tmp10_;
+#line 761 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = photo_aspect_ratio;
-#line 760 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 761 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp11_ < 1.0) {
-#line 5119 "Printing.c"
+#line 5111 "Printing.c"
gdouble _tmp12_ = 0.0;
-#line 761 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 762 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = photo_aspect_ratio;
-#line 761 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 762 "/home/jens/Source/shotwell/src/Printing.vala"
photo_aspect_ratio = 1.0 / _tmp12_;
-#line 5125 "Printing.c"
+#line 5117 "Printing.c"
}
-#line 754 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 755 "/home/jens/Source/shotwell/src/Printing.vala"
return self;
-#line 5129 "Printing.c"
+#line 5121 "Printing.c"
}
PrintJob* print_job_new (GeeCollection* to_print) {
-#line 754 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 755 "/home/jens/Source/shotwell/src/Printing.vala"
return print_job_construct (TYPE_PRINT_JOB, to_print);
-#line 5136 "Printing.c"
+#line 5128 "Printing.c"
}
@@ -5141,17 +5133,17 @@ GeeList* print_job_get_photos (PrintJob* self) {
GeeList* result = NULL;
GeeArrayList* _tmp0_ = NULL;
GeeList* _tmp1_ = NULL;
-#line 764 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_PRINT_JOB (self), NULL);
#line 765 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_PRINT_JOB (self), NULL);
+#line 766 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->photos;
-#line 765 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 766 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_LIST, GeeList));
-#line 765 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 766 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp1_;
-#line 765 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 766 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 5154 "Printing.c"
+#line 5146 "Printing.c"
}
@@ -5159,17 +5151,17 @@ Photo* print_job_get_source_photo (PrintJob* self) {
Photo* result = NULL;
GeeArrayList* _tmp0_ = NULL;
gpointer _tmp1_ = NULL;
-#line 768 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_PRINT_JOB (self), NULL);
#line 769 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_PRINT_JOB (self), NULL);
+#line 770 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->photos;
-#line 769 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 770 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), 0);
-#line 769 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 770 "/home/jens/Source/shotwell/src/Printing.vala"
result = (Photo*) _tmp1_;
-#line 769 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 770 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 5172 "Printing.c"
+#line 5164 "Printing.c"
}
@@ -5184,55 +5176,55 @@ gdouble print_job_get_source_aspect_ratio (PrintJob* self) {
gdouble _tmp5_ = 0.0;
gdouble _tmp6_ = 0.0;
gdouble _tmp7_ = 0.0;
-#line 772 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_PRINT_JOB (self), 0.0);
#line 773 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_PRINT_JOB (self), 0.0);
+#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->photos;
-#line 773 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), 0);
-#line 773 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = (Photo*) _tmp1_;
-#line 773 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp3_);
-#line 773 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = dimensions_get_aspect_ratio (&_tmp3_);
-#line 773 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = _tmp4_;
-#line 773 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp2_);
-#line 773 "/home/jens/Source/shotwell/src/Printing.vala"
- aspect_ratio = _tmp5_;
#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
+ aspect_ratio = _tmp5_;
+#line 775 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = aspect_ratio;
-#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 775 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp7_ < 1.0) {
-#line 5209 "Printing.c"
+#line 5201 "Printing.c"
gdouble _tmp8_ = 0.0;
-#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 775 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = aspect_ratio;
-#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 775 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = 1.0 / _tmp8_;
-#line 5215 "Printing.c"
+#line 5207 "Printing.c"
} else {
gdouble _tmp9_ = 0.0;
-#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 775 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = aspect_ratio;
-#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 775 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = _tmp9_;
-#line 5222 "Printing.c"
+#line 5214 "Printing.c"
}
-#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 775 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp6_;
-#line 774 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 775 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 5228 "Printing.c"
+#line 5220 "Printing.c"
}
static gpointer _print_settings_ref0 (gpointer self) {
-#line 778 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 779 "/home/jens/Source/shotwell/src/Printing.vala"
return self ? print_settings_ref (self) : NULL;
-#line 5235 "Printing.c"
+#line 5227 "Printing.c"
}
@@ -5240,73 +5232,73 @@ PrintSettings* print_job_get_local_settings (PrintJob* self) {
PrintSettings* result = NULL;
PrintSettings* _tmp0_ = NULL;
PrintSettings* _tmp1_ = NULL;
-#line 777 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_PRINT_JOB (self), NULL);
#line 778 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_PRINT_JOB (self), NULL);
+#line 779 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->settings;
-#line 778 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 779 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _print_settings_ref0 (_tmp0_);
-#line 778 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 779 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp1_;
-#line 778 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 779 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 5253 "Printing.c"
+#line 5245 "Printing.c"
}
void print_job_set_local_settings (PrintJob* self, PrintSettings* settings) {
PrintSettings* _tmp0_ = NULL;
PrintSettings* _tmp1_ = NULL;
-#line 781 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 782 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_JOB (self));
-#line 781 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_PRINT_SETTINGS (settings));
#line 782 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_PRINT_SETTINGS (settings));
+#line 783 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = settings;
-#line 782 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 783 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _print_settings_ref0 (_tmp0_);
-#line 782 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 783 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (self->priv->settings);
-#line 782 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 783 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->settings = _tmp1_;
-#line 5272 "Printing.c"
+#line 5264 "Printing.c"
}
static void print_job_class_init (PrintJobClass * klass) {
-#line 750 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 751 "/home/jens/Source/shotwell/src/Printing.vala"
print_job_parent_class = g_type_class_peek_parent (klass);
-#line 750 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 751 "/home/jens/Source/shotwell/src/Printing.vala"
g_type_class_add_private (klass, sizeof (PrintJobPrivate));
-#line 750 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 751 "/home/jens/Source/shotwell/src/Printing.vala"
G_OBJECT_CLASS (klass)->finalize = print_job_finalize;
-#line 5283 "Printing.c"
+#line 5275 "Printing.c"
}
static void print_job_instance_init (PrintJob * self) {
GeeArrayList* _tmp0_ = NULL;
-#line 750 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 751 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv = PRINT_JOB_GET_PRIVATE (self);
-#line 752 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 753 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = gee_array_list_new (TYPE_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 752 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 753 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->photos = _tmp0_;
-#line 5295 "Printing.c"
+#line 5287 "Printing.c"
}
static void print_job_finalize (GObject* obj) {
PrintJob * self;
-#line 750 "/home/jens/Source/shotwell/src/Printing.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PRINT_JOB, PrintJob);
#line 751 "/home/jens/Source/shotwell/src/Printing.vala"
- _print_settings_unref0 (self->priv->settings);
+ self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PRINT_JOB, PrintJob);
#line 752 "/home/jens/Source/shotwell/src/Printing.vala"
+ _print_settings_unref0 (self->priv->settings);
+#line 753 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->photos);
-#line 750 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 751 "/home/jens/Source/shotwell/src/Printing.vala"
G_OBJECT_CLASS (print_job_parent_class)->finalize (obj);
-#line 5309 "Printing.c"
+#line 5301 "Printing.c"
}
@@ -5328,248 +5320,248 @@ StandardPrintSize* standard_print_size_construct (GType object_type, const gchar
gchar* _tmp1_ = NULL;
Measurement _tmp2_ = {0};
Measurement _tmp3_ = {0};
-#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 788 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 788 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (width != NULL, NULL);
-#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 788 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (height != NULL, NULL);
-#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
- self = (StandardPrintSize*) g_type_create_instance (object_type);
#line 788 "/home/jens/Source/shotwell/src/Printing.vala"
+ self = (StandardPrintSize*) g_type_create_instance (object_type);
+#line 789 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = name;
-#line 788 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 789 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 788 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 789 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (self->name);
-#line 788 "/home/jens/Source/shotwell/src/Printing.vala"
- self->name = _tmp1_;
#line 789 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->name = _tmp1_;
+#line 790 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = *width;
-#line 789 "/home/jens/Source/shotwell/src/Printing.vala"
- self->width = _tmp2_;
#line 790 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->width = _tmp2_;
+#line 791 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = *height;
-#line 790 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 791 "/home/jens/Source/shotwell/src/Printing.vala"
self->height = _tmp3_;
-#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 788 "/home/jens/Source/shotwell/src/Printing.vala"
return self;
-#line 5357 "Printing.c"
+#line 5349 "Printing.c"
}
StandardPrintSize* standard_print_size_new (const gchar* name, Measurement* width, Measurement* height) {
-#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 788 "/home/jens/Source/shotwell/src/Printing.vala"
return standard_print_size_construct (TYPE_STANDARD_PRINT_SIZE, name, width, height);
-#line 5364 "Printing.c"
+#line 5356 "Printing.c"
}
static void value_standard_print_size_init (GValue* value) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 5371 "Printing.c"
+#line 5363 "Printing.c"
}
static void value_standard_print_size_free_value (GValue* value) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (value->data[0].v_pointer) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
standard_print_size_unref (value->data[0].v_pointer);
-#line 5380 "Printing.c"
+#line 5372 "Printing.c"
}
}
static void value_standard_print_size_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (src_value->data[0].v_pointer) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
dest_value->data[0].v_pointer = standard_print_size_ref (src_value->data[0].v_pointer);
-#line 5390 "Printing.c"
+#line 5382 "Printing.c"
} else {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 5394 "Printing.c"
+#line 5386 "Printing.c"
}
}
static gpointer value_standard_print_size_peek_pointer (const GValue* value) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
return value->data[0].v_pointer;
-#line 5402 "Printing.c"
+#line 5394 "Printing.c"
}
static gchar* value_standard_print_size_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (collect_values[0].v_pointer) {
-#line 5409 "Printing.c"
+#line 5401 "Printing.c"
StandardPrintSize* object;
object = collect_values[0].v_pointer;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (object->parent_instance.g_class == NULL) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 5416 "Printing.c"
+#line 5408 "Printing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.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 5420 "Printing.c"
+#line 5412 "Printing.c"
}
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = standard_print_size_ref (object);
-#line 5424 "Printing.c"
+#line 5416 "Printing.c"
} else {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 5428 "Printing.c"
+#line 5420 "Printing.c"
}
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
return NULL;
-#line 5432 "Printing.c"
+#line 5424 "Printing.c"
}
static gchar* value_standard_print_size_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
StandardPrintSize** object_p;
object_p = collect_values[0].v_pointer;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (!object_p) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 5443 "Printing.c"
+#line 5435 "Printing.c"
}
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (!value->data[0].v_pointer) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = NULL;
-#line 5449 "Printing.c"
+#line 5441 "Printing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = value->data[0].v_pointer;
-#line 5453 "Printing.c"
+#line 5445 "Printing.c"
} else {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = standard_print_size_ref (value->data[0].v_pointer);
-#line 5457 "Printing.c"
+#line 5449 "Printing.c"
}
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
return NULL;
-#line 5461 "Printing.c"
+#line 5453 "Printing.c"
}
GParamSpec* param_spec_standard_print_size (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecStandardPrintSize* spec;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_STANDARD_PRINT_SIZE), NULL);
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
return G_PARAM_SPEC (spec);
-#line 5475 "Printing.c"
+#line 5467 "Printing.c"
}
gpointer value_get_standard_print_size (const GValue* value) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_STANDARD_PRINT_SIZE), NULL);
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
return value->data[0].v_pointer;
-#line 5484 "Printing.c"
+#line 5476 "Printing.c"
}
void value_set_standard_print_size (GValue* value, gpointer v_object) {
StandardPrintSize* old;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_STANDARD_PRINT_SIZE));
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
old = value->data[0].v_pointer;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (v_object) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_STANDARD_PRINT_SIZE));
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = v_object;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
standard_print_size_ref (value->data[0].v_pointer);
-#line 5504 "Printing.c"
+#line 5496 "Printing.c"
} else {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 5508 "Printing.c"
+#line 5500 "Printing.c"
}
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (old) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
standard_print_size_unref (old);
-#line 5514 "Printing.c"
+#line 5506 "Printing.c"
}
}
void value_take_standard_print_size (GValue* value, gpointer v_object) {
StandardPrintSize* old;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_STANDARD_PRINT_SIZE));
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
old = value->data[0].v_pointer;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (v_object) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_STANDARD_PRINT_SIZE));
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = v_object;
-#line 5533 "Printing.c"
+#line 5525 "Printing.c"
} else {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 5537 "Printing.c"
+#line 5529 "Printing.c"
}
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (old) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
standard_print_size_unref (old);
-#line 5543 "Printing.c"
+#line 5535 "Printing.c"
}
}
static void standard_print_size_class_init (StandardPrintSizeClass * klass) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
standard_print_size_parent_class = g_type_class_peek_parent (klass);
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
((StandardPrintSizeClass *) klass)->finalize = standard_print_size_finalize;
-#line 5553 "Printing.c"
+#line 5545 "Printing.c"
}
static void standard_print_size_instance_init (StandardPrintSize * self) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
self->ref_count = 1;
-#line 5560 "Printing.c"
+#line 5552 "Printing.c"
}
static void standard_print_size_finalize (StandardPrintSize* obj) {
StandardPrintSize * self;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_STANDARD_PRINT_SIZE, StandardPrintSize);
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_signal_handlers_destroy (self);
-#line 793 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 794 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (self->name);
-#line 5572 "Printing.c"
+#line 5564 "Printing.c"
}
@@ -5590,24 +5582,24 @@ GType standard_print_size_get_type (void) {
gpointer standard_print_size_ref (gpointer instance) {
StandardPrintSize* self;
self = instance;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_atomic_int_inc (&self->ref_count);
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
return instance;
-#line 5597 "Printing.c"
+#line 5589 "Printing.c"
}
void standard_print_size_unref (gpointer instance) {
StandardPrintSize* self;
self = instance;
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
STANDARD_PRINT_SIZE_GET_CLASS (self)->finalize (self);
-#line 786 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 787 "/home/jens/Source/shotwell/src/Printing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 5610 "Printing.c"
+#line 5602 "Printing.c"
}
}
@@ -5616,285 +5608,285 @@ static PrintManager* print_manager_construct (GType object_type) {
PrintManager* self = NULL;
GtkPageSetup* _tmp0_ = NULL;
PrintSettings* _tmp1_ = NULL;
-#line 809 "/home/jens/Source/shotwell/src/Printing.vala"
- self = (PrintManager*) g_type_create_instance (object_type);
#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
+ self = (PrintManager*) g_type_create_instance (object_type);
+#line 811 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = gtk_page_setup_new ();
-#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 811 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->user_page_setup);
-#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->user_page_setup = _tmp0_;
#line 811 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->priv->user_page_setup = _tmp0_;
+#line 812 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = print_settings_new ();
-#line 811 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 812 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (self->priv->settings);
-#line 811 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 812 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->settings = _tmp1_;
-#line 809 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
return self;
-#line 5635 "Printing.c"
+#line 5627 "Printing.c"
}
static PrintManager* print_manager_new (void) {
-#line 809 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 810 "/home/jens/Source/shotwell/src/Printing.vala"
return print_manager_construct (TYPE_PRINT_MANAGER);
-#line 5642 "Printing.c"
+#line 5634 "Printing.c"
}
static void _vala_array_add278 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5653 "Printing.c"
+#line 5645 "Printing.c"
}
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5659 "Printing.c"
+#line 5651 "Printing.c"
}
static void _vala_array_add279 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5670 "Printing.c"
+#line 5662 "Printing.c"
}
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5676 "Printing.c"
+#line 5668 "Printing.c"
}
static void _vala_array_add280 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5687 "Printing.c"
+#line 5679 "Printing.c"
}
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5693 "Printing.c"
+#line 5685 "Printing.c"
}
static void _vala_array_add281 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5704 "Printing.c"
+#line 5696 "Printing.c"
}
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5710 "Printing.c"
+#line 5702 "Printing.c"
}
static void _vala_array_add282 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5721 "Printing.c"
+#line 5713 "Printing.c"
}
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5727 "Printing.c"
+#line 5719 "Printing.c"
}
static void _vala_array_add283 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5738 "Printing.c"
+#line 5730 "Printing.c"
}
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5744 "Printing.c"
+#line 5736 "Printing.c"
}
static void _vala_array_add284 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5755 "Printing.c"
+#line 5747 "Printing.c"
}
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5761 "Printing.c"
+#line 5753 "Printing.c"
}
static void _vala_array_add285 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5772 "Printing.c"
+#line 5764 "Printing.c"
}
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5778 "Printing.c"
+#line 5770 "Printing.c"
}
static void _vala_array_add286 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5789 "Printing.c"
+#line 5781 "Printing.c"
}
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5795 "Printing.c"
+#line 5787 "Printing.c"
}
static void _vala_array_add287 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5806 "Printing.c"
+#line 5798 "Printing.c"
}
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5812 "Printing.c"
+#line 5804 "Printing.c"
}
static void _vala_array_add288 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5823 "Printing.c"
+#line 5815 "Printing.c"
}
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5829 "Printing.c"
+#line 5821 "Printing.c"
}
static void _vala_array_add289 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5840 "Printing.c"
+#line 5832 "Printing.c"
}
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5846 "Printing.c"
+#line 5838 "Printing.c"
}
static void _vala_array_add290 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5857 "Printing.c"
+#line 5849 "Printing.c"
}
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5863 "Printing.c"
+#line 5855 "Printing.c"
}
static void _vala_array_add291 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5874 "Printing.c"
+#line 5866 "Printing.c"
}
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5880 "Printing.c"
+#line 5872 "Printing.c"
}
static void _vala_array_add292 (StandardPrintSize*** array, int* length, int* size, StandardPrintSize* value) {
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
if ((*length) == (*size)) {
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
*array = g_renew (StandardPrintSize*, *array, (*size) + 1);
-#line 5891 "Printing.c"
+#line 5883 "Printing.c"
}
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[(*length)++] = value;
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
(*array)[*length] = NULL;
-#line 5897 "Printing.c"
+#line 5889 "Printing.c"
}
@@ -5995,246 +5987,246 @@ StandardPrintSize** print_manager_get_standard_sizes (PrintManager* self, int* r
StandardPrintSize* _tmp74_ = NULL;
StandardPrintSize** _tmp75_ = NULL;
gint _tmp75__length1 = 0;
-#line 814 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_PRINT_MANAGER (self), NULL);
#line 815 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_PRINT_MANAGER (self), NULL);
+#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = g_new0 (StandardPrintSize*, 0 + 1);
-#line 815 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
_result_ = _tmp0_;
-#line 815 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
_result__length1 = 0;
-#line 815 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 816 "/home/jens/Source/shotwell/src/Printing.vala"
__result__size_ = _result__length1;
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _result_;
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1__length1 = _result__length1;
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = _ ("Wallet (2 x 3 in.)");
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp3_, (gdouble) 3, MEASUREMENT_UNIT_INCHES);
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp4_, (gdouble) 2, MEASUREMENT_UNIT_INCHES);
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = standard_print_size_new (_tmp2_, &_tmp3_, &_tmp4_);
-#line 817 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 818 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add278 (&_result_, &_result__length1, &__result__size_, _tmp5_);
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = _result_;
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6__length1 = _result__length1;
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = _ ("Notecard (3 x 5 in.)");
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp8_, (gdouble) 5, MEASUREMENT_UNIT_INCHES);
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp9_, (gdouble) 3, MEASUREMENT_UNIT_INCHES);
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = standard_print_size_new (_tmp7_, &_tmp8_, &_tmp9_);
-#line 820 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 821 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add279 (&_result_, &_result__length1, &__result__size_, _tmp10_);
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = _result_;
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11__length1 = _result__length1;
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = _ ("4 x 6 in.");
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp13_, (gdouble) 6, MEASUREMENT_UNIT_INCHES);
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp14_, (gdouble) 4, MEASUREMENT_UNIT_INCHES);
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = standard_print_size_new (_tmp12_, &_tmp13_, &_tmp14_);
-#line 823 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 824 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add280 (&_result_, &_result__length1, &__result__size_, _tmp15_);
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = _result_;
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16__length1 = _result__length1;
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = _ ("5 x 7 in.");
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp18_, (gdouble) 7, MEASUREMENT_UNIT_INCHES);
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp19_, (gdouble) 5, MEASUREMENT_UNIT_INCHES);
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp20_ = standard_print_size_new (_tmp17_, &_tmp18_, &_tmp19_);
-#line 826 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 827 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add281 (&_result_, &_result__length1, &__result__size_, _tmp20_);
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21_ = _result_;
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21__length1 = _result__length1;
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp22_ = _ ("8 x 10 in.");
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp23_, (gdouble) 10, MEASUREMENT_UNIT_INCHES);
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp24_, (gdouble) 8, MEASUREMENT_UNIT_INCHES);
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp25_ = standard_print_size_new (_tmp22_, &_tmp23_, &_tmp24_);
-#line 829 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 830 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add282 (&_result_, &_result__length1, &__result__size_, _tmp25_);
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp26_ = _result_;
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp26__length1 = _result__length1;
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp27_ = _ ("11 x 14 in.");
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp28_, (gdouble) 14, MEASUREMENT_UNIT_INCHES);
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp29_, (gdouble) 11, MEASUREMENT_UNIT_INCHES);
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp30_ = standard_print_size_new (_tmp27_, &_tmp28_, &_tmp29_);
-#line 832 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 833 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add283 (&_result_, &_result__length1, &__result__size_, _tmp30_);
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp31_ = _result_;
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp31__length1 = _result__length1;
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp32_ = _ ("16 x 20 in.");
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp33_, (gdouble) 20, MEASUREMENT_UNIT_INCHES);
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp34_, (gdouble) 16, MEASUREMENT_UNIT_INCHES);
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp35_ = standard_print_size_new (_tmp32_, &_tmp33_, &_tmp34_);
-#line 835 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 836 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add284 (&_result_, &_result__length1, &__result__size_, _tmp35_);
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp36_ = _result_;
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp36__length1 = _result__length1;
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp37_, (gdouble) 0, MEASUREMENT_UNIT_INCHES);
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp38_, (gdouble) 0, MEASUREMENT_UNIT_INCHES);
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp39_ = standard_print_size_new ("-", &_tmp37_, &_tmp38_);
-#line 838 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 839 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add285 (&_result_, &_result__length1, &__result__size_, _tmp39_);
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp40_ = _result_;
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp40__length1 = _result__length1;
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp41_ = _ ("Metric Wallet (9 x 13 cm)");
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp42_, (gdouble) 13, MEASUREMENT_UNIT_CENTIMETERS);
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp43_, (gdouble) 9, MEASUREMENT_UNIT_CENTIMETERS);
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp44_ = standard_print_size_new (_tmp41_, &_tmp42_, &_tmp43_);
-#line 841 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 842 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add286 (&_result_, &_result__length1, &__result__size_, _tmp44_);
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp45_ = _result_;
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp45__length1 = _result__length1;
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp46_ = _ ("Postcard (10 x 15 cm)");
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp47_, (gdouble) 15, MEASUREMENT_UNIT_CENTIMETERS);
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp48_, (gdouble) 10, MEASUREMENT_UNIT_CENTIMETERS);
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp49_ = standard_print_size_new (_tmp46_, &_tmp47_, &_tmp48_);
-#line 844 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 845 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add287 (&_result_, &_result__length1, &__result__size_, _tmp49_);
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp50_ = _result_;
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp50__length1 = _result__length1;
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp51_ = _ ("13 x 18 cm");
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp52_, (gdouble) 18, MEASUREMENT_UNIT_CENTIMETERS);
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp53_, (gdouble) 13, MEASUREMENT_UNIT_CENTIMETERS);
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp54_ = standard_print_size_new (_tmp51_, &_tmp52_, &_tmp53_);
-#line 847 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 848 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add288 (&_result_, &_result__length1, &__result__size_, _tmp54_);
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp55_ = _result_;
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp55__length1 = _result__length1;
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp56_ = _ ("18 x 24 cm");
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp57_, (gdouble) 24, MEASUREMENT_UNIT_CENTIMETERS);
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp58_, (gdouble) 18, MEASUREMENT_UNIT_CENTIMETERS);
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp59_ = standard_print_size_new (_tmp56_, &_tmp57_, &_tmp58_);
-#line 850 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 851 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add289 (&_result_, &_result__length1, &__result__size_, _tmp59_);
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp60_ = _result_;
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp60__length1 = _result__length1;
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp61_ = _ ("20 x 30 cm");
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp62_, (gdouble) 30, MEASUREMENT_UNIT_CENTIMETERS);
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp63_, (gdouble) 20, MEASUREMENT_UNIT_CENTIMETERS);
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp64_ = standard_print_size_new (_tmp61_, &_tmp62_, &_tmp63_);
-#line 853 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 854 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add290 (&_result_, &_result__length1, &__result__size_, _tmp64_);
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp65_ = _result_;
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp65__length1 = _result__length1;
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp66_ = _ ("24 x 40 cm");
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp67_, (gdouble) 40, MEASUREMENT_UNIT_CENTIMETERS);
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp68_, (gdouble) 24, MEASUREMENT_UNIT_CENTIMETERS);
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp69_ = standard_print_size_new (_tmp66_, &_tmp67_, &_tmp68_);
-#line 856 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 857 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add291 (&_result_, &_result__length1, &__result__size_, _tmp69_);
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp70_ = _result_;
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp70__length1 = _result__length1;
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp71_ = _ ("30 x 40 cm");
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp72_, (gdouble) 40, MEASUREMENT_UNIT_CENTIMETERS);
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_init (&_tmp73_, (gdouble) 30, MEASUREMENT_UNIT_CENTIMETERS);
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp74_ = standard_print_size_new (_tmp71_, &_tmp72_, &_tmp73_);
-#line 859 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 860 "/home/jens/Source/shotwell/src/Printing.vala"
_vala_array_add292 (&_result_, &_result__length1, &__result__size_, _tmp74_);
-#line 863 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp75_ = _result_;
-#line 863 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp75__length1 = _result__length1;
-#line 863 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
if (result_length1) {
-#line 863 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
*result_length1 = _tmp75__length1;
-#line 6224 "Printing.c"
+#line 6216 "Printing.c"
}
-#line 863 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp75_;
-#line 863 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 864 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 6230 "Printing.c"
+#line 6222 "Printing.c"
}
static gpointer _print_manager_ref0 (gpointer self) {
-#line 870 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 871 "/home/jens/Source/shotwell/src/Printing.vala"
return self ? print_manager_ref (self) : NULL;
-#line 6237 "Printing.c"
+#line 6229 "Printing.c"
}
@@ -6243,59 +6235,59 @@ PrintManager* print_manager_get_instance (void) {
PrintManager* _tmp0_ = NULL;
PrintManager* _tmp2_ = NULL;
PrintManager* _tmp3_ = NULL;
-#line 867 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = print_manager_instance;
-#line 867 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp0_ == NULL) {
-#line 6250 "Printing.c"
+#line 6242 "Printing.c"
PrintManager* _tmp1_ = NULL;
-#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 869 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = print_manager_new ();
-#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 869 "/home/jens/Source/shotwell/src/Printing.vala"
_print_manager_unref0 (print_manager_instance);
-#line 868 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 869 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_instance = _tmp1_;
-#line 6258 "Printing.c"
+#line 6250 "Printing.c"
}
-#line 870 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 871 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = print_manager_instance;
-#line 870 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 871 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = _print_manager_ref0 (_tmp2_);
-#line 870 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 871 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp3_;
-#line 870 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 871 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 6268 "Printing.c"
+#line 6260 "Printing.c"
}
static void _print_manager_on_begin_print_gtk_print_operation_begin_print (GtkPrintOperation* _sender, GtkPrintContext* context, gpointer self) {
-#line 880 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 881 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_on_begin_print ((PrintManager*) self, _sender, context);
-#line 6275 "Printing.c"
+#line 6267 "Printing.c"
}
static void _print_manager_on_draw_page_gtk_print_operation_draw_page (GtkPrintOperation* _sender, GtkPrintContext* context, gint page_nr, gpointer self) {
-#line 881 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 882 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_on_draw_page ((PrintManager*) self, _sender, context, page_nr);
-#line 6282 "Printing.c"
+#line 6274 "Printing.c"
}
static GObject* _print_manager_on_create_custom_widget_gtk_print_operation_create_custom_widget (GtkPrintOperation* _sender, gpointer self) {
GObject* result;
result = print_manager_on_create_custom_widget ((PrintManager*) self, _sender);
-#line 882 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 883 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 6291 "Printing.c"
+#line 6283 "Printing.c"
}
static void _print_manager_on_status_changed_gtk_print_operation_status_changed (GtkPrintOperation* _sender, gpointer self) {
-#line 883 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 884 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_on_status_changed ((PrintManager*) self, _sender);
-#line 6298 "Printing.c"
+#line 6290 "Printing.c"
}
@@ -6323,122 +6315,122 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
AppWindow* _tmp27_ = NULL;
const gchar* _tmp28_ = NULL;
GError * _inner_error_ = NULL;
-#line 873 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
-#line 873 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (GEE_IS_COLLECTION (to_print));
#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (GEE_IS_COLLECTION (to_print));
+#line 875 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = to_print;
-#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 875 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = print_job_new (_tmp0_);
-#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
- job = _tmp1_;
#line 875 "/home/jens/Source/shotwell/src/Printing.vala"
+ job = _tmp1_;
+#line 876 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = _ ("Image Settings");
-#line 875 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_print_operation_set_custom_tab_label (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _tmp2_);
#line 876 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_print_operation_set_unit (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), GTK_UNIT_INCH);
+ gtk_print_operation_set_custom_tab_label (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _tmp2_);
#line 877 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_print_operation_set_n_pages (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), 1);
+ gtk_print_operation_set_unit (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), GTK_UNIT_INCH);
#line 878 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_print_operation_set_n_pages (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), 1);
+#line 879 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = print_job_get_source_photo (job);
-#line 878 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 879 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = _tmp3_;
-#line 878 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 879 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_OBJECT, DataObject));
-#line 878 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 879 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = _tmp5_;
-#line 878 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 879 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_set_job_name (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _tmp6_);
-#line 878 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 879 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp6_);
-#line 878 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_object_unref0 (_tmp4_);
#line 879 "/home/jens/Source/shotwell/src/Printing.vala"
+ _g_object_unref0 (_tmp4_);
+#line 880 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = self->priv->user_page_setup;
-#line 879 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_print_operation_set_default_page_setup (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _tmp7_);
#line 880 "/home/jens/Source/shotwell/src/Printing.vala"
- g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), "begin-print", (GCallback) _print_manager_on_begin_print_gtk_print_operation_begin_print, self);
+ gtk_print_operation_set_default_page_setup (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), _tmp7_);
#line 881 "/home/jens/Source/shotwell/src/Printing.vala"
- g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), "draw-page", (GCallback) _print_manager_on_draw_page_gtk_print_operation_draw_page, self);
+ g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), "begin-print", (GCallback) _print_manager_on_begin_print_gtk_print_operation_begin_print, self);
#line 882 "/home/jens/Source/shotwell/src/Printing.vala"
- g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), "create-custom-widget", (GCallback) _print_manager_on_create_custom_widget_gtk_print_operation_create_custom_widget, self);
+ g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), "draw-page", (GCallback) _print_manager_on_draw_page_gtk_print_operation_draw_page, self);
#line 883 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), "create-custom-widget", (GCallback) _print_manager_on_create_custom_widget_gtk_print_operation_create_custom_widget, self);
+#line 884 "/home/jens/Source/shotwell/src/Printing.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), "status-changed", (GCallback) _print_manager_on_status_changed_gtk_print_operation_status_changed, self);
-#line 885 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 886 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = app_window_get_instance ();
-#line 885 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 886 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = _tmp8_;
-#line 885 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 886 "/home/jens/Source/shotwell/src/Printing.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_PAGE_WINDOW, PageWindow));
-#line 885 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 886 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp9_);
-#line 887 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = g_cancellable_new ();
-#line 887 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->cancellable);
-#line 887 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->cancellable = _tmp10_;
#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->priv->cancellable = _tmp10_;
+#line 889 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = app_window_get_instance ();
-#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 889 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = _tmp11_;
-#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 889 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = _ ("Printing...");
-#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 889 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = self->priv->cancellable;
-#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 889 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = progress_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_window_get_type (), GtkWindow), _tmp13_, _tmp14_);
-#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 889 "/home/jens/Source/shotwell/src/Printing.vala"
g_object_ref_sink (_tmp15_);
-#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 889 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->progress_dialog);
-#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 889 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->progress_dialog = _tmp15_;
-#line 888 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 889 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp12_);
-#line 890 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 891 "/home/jens/Source/shotwell/src/Printing.vala"
err_msg = NULL;
-#line 6404 "Printing.c"
+#line 6396 "Printing.c"
{
GtkPrintOperationResult _result_ = 0;
AppWindow* _tmp16_ = NULL;
AppWindow* _tmp17_ = NULL;
GtkPrintOperationResult _tmp18_ = 0;
GtkPrintOperationResult _tmp19_ = 0;
-#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = app_window_get_instance ();
-#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = _tmp16_;
-#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = gtk_print_operation_run (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation), GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_window_get_type (), GtkWindow), &_inner_error_);
-#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp19_ = _tmp18_;
-#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp17_);
-#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
_result_ = _tmp19_;
-#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 6425 "Printing.c"
+#line 6417 "Printing.c"
goto __catch457_g_error;
}
-#line 894 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 895 "/home/jens/Source/shotwell/src/Printing.vala"
if (_result_ == GTK_PRINT_OPERATION_RESULT_APPLY) {
-#line 6430 "Printing.c"
+#line 6422 "Printing.c"
GtkPageSetup* _tmp20_ = NULL;
GtkPageSetup* _tmp21_ = NULL;
-#line 895 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 896 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp20_ = gtk_print_operation_get_default_page_setup (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation));
-#line 895 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 896 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21_ = _g_object_ref0 (_tmp20_);
-#line 895 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 896 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->user_page_setup);
-#line 895 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 896 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->user_page_setup = _tmp21_;
-#line 6441 "Printing.c"
+#line 6433 "Printing.c"
}
}
goto __finally457;
@@ -6448,89 +6440,89 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
GError* _tmp22_ = NULL;
const gchar* _tmp23_ = NULL;
gchar* _tmp24_ = NULL;
-#line 891 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
e = _inner_error_;
-#line 891 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
_inner_error_ = NULL;
-#line 897 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_print_operation_cancel (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation));
#line 898 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_print_operation_cancel (G_TYPE_CHECK_INSTANCE_CAST (job, gtk_print_operation_get_type (), GtkPrintOperation));
+#line 899 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp22_ = e;
-#line 898 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 899 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp23_ = _tmp22_->message;
-#line 898 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 899 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp24_ = g_strdup (_tmp23_);
-#line 898 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 899 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (err_msg);
-#line 898 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 899 "/home/jens/Source/shotwell/src/Printing.vala"
err_msg = _tmp24_;
-#line 891 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
_g_error_free0 (e);
-#line 6469 "Printing.c"
+#line 6461 "Printing.c"
}
__finally457:
-#line 891 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 891 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (err_msg);
-#line 891 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (job);
-#line 891 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 892 "/home/jens/Source/shotwell/src/Printing.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 891 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
g_clear_error (&_inner_error_);
-#line 891 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 6484 "Printing.c"
+#line 6476 "Printing.c"
}
-#line 901 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 902 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp25_ = self->priv->progress_dialog;
-#line 901 "/home/jens/Source/shotwell/src/Printing.vala"
- progress_dialog_close (_tmp25_);
#line 902 "/home/jens/Source/shotwell/src/Printing.vala"
+ progress_dialog_close (_tmp25_);
+#line 903 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->progress_dialog);
-#line 902 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->progress_dialog = NULL;
#line 903 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->priv->progress_dialog = NULL;
+#line 904 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->cancellable);
-#line 903 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 904 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->cancellable = NULL;
-#line 905 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 906 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp26_ = app_window_get_instance ();
-#line 905 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 906 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp27_ = _tmp26_;
-#line 905 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 906 "/home/jens/Source/shotwell/src/Printing.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_PAGE_WINDOW, PageWindow));
-#line 905 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 906 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp27_);
-#line 907 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 908 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp28_ = err_msg;
-#line 907 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 908 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp28_ != NULL) {
-#line 6510 "Printing.c"
+#line 6502 "Printing.c"
const gchar* _tmp29_ = NULL;
const gchar* _tmp30_ = NULL;
gchar* _tmp31_ = NULL;
gchar* _tmp32_ = NULL;
-#line 908 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 909 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp29_ = _ ("Unable to print photo:\n\n%s");
-#line 908 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 909 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp30_ = err_msg;
-#line 908 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 909 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp31_ = g_strdup_printf (_tmp29_, _tmp30_);
-#line 908 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 909 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp32_ = _tmp31_;
-#line 908 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 909 "/home/jens/Source/shotwell/src/Printing.vala"
app_window_error_message (_tmp32_, NULL);
-#line 908 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 909 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp32_);
-#line 6527 "Printing.c"
+#line 6519 "Printing.c"
}
-#line 873 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (err_msg);
-#line 873 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 874 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (job);
-#line 6533 "Printing.c"
+#line 6525 "Printing.c"
}
@@ -6548,74 +6540,74 @@ static void print_manager_on_begin_print (PrintManager* self, GtkPrintOperation*
PrintSettings* _tmp11_ = NULL;
ContentLayout _tmp12_ = 0;
gboolean _tmp13_ = FALSE;
-#line 911 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 912 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
-#line 911 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 912 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (GTK_IS_PRINT_OPERATION (emitting_object));
-#line 911 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (GTK_IS_PRINT_CONTEXT (job_context));
#line 912 "/home/jens/Source/shotwell/src/Printing.vala"
- g_debug ("Printing.vala:912: on_begin_print");
-#line 914 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (GTK_IS_PRINT_CONTEXT (job_context));
+#line 913 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_debug ("Printing.vala:913: on_begin_print");
+#line 915 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = emitting_object;
-#line 914 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 915 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_PRINT_JOB, PrintJob));
-#line 914 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 915 "/home/jens/Source/shotwell/src/Printing.vala"
job = _tmp1_;
-#line 917 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 918 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->cancellable;
-#line 917 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 918 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp3_ != NULL) {
-#line 6569 "Printing.c"
+#line 6561 "Printing.c"
GCancellable* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 917 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 918 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->cancellable;
-#line 917 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 918 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = g_cancellable_is_cancelled (_tmp4_);
-#line 917 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 918 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = _tmp5_;
-#line 6578 "Printing.c"
+#line 6570 "Printing.c"
} else {
-#line 917 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 918 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = FALSE;
-#line 6582 "Printing.c"
+#line 6574 "Printing.c"
}
-#line 917 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 918 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_) {
-#line 6586 "Printing.c"
+#line 6578 "Printing.c"
PrintJob* _tmp6_ = NULL;
-#line 918 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 919 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = job;
-#line 918 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 919 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_cancel (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_print_operation_get_type (), GtkPrintOperation));
-#line 920 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 921 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (job);
-#line 920 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 921 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 6596 "Printing.c"
+#line 6588 "Printing.c"
}
-#line 923 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 924 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = job;
-#line 923 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 924 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = print_job_get_photos (_tmp7_);
-#line 923 "/home/jens/Source/shotwell/src/Printing.vala"
- photos = _tmp8_;
#line 924 "/home/jens/Source/shotwell/src/Printing.vala"
+ photos = _tmp8_;
+#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = job;
-#line 924 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = print_job_get_local_settings (_tmp9_);
-#line 924 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = _tmp10_;
-#line 924 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = print_settings_get_content_layout (_tmp11_);
-#line 924 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = _tmp12_ == CONTENT_LAYOUT_IMAGE_PER_PAGE;
-#line 924 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp11_);
-#line 924 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp13_) {
-#line 6618 "Printing.c"
+#line 6610 "Printing.c"
PrintLayout layout = 0;
PrintJob* _tmp14_ = NULL;
PrintSettings* _tmp15_ = NULL;
@@ -6629,61 +6621,61 @@ static void print_manager_on_begin_print (PrintManager* self, GtkPrintOperation*
PrintLayout _tmp23_ = 0;
gint _tmp24_ = 0;
gdouble _tmp25_ = 0.0;
-#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = job;
-#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = print_job_get_local_settings (_tmp14_);
-#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = _tmp15_;
-#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = print_settings_get_image_per_page_selection (_tmp16_);
-#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = (PrintLayout) _tmp17_;
-#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp16_);
-#line 925 "/home/jens/Source/shotwell/src/Printing.vala"
- layout = _tmp18_;
#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
+ layout = _tmp18_;
+#line 927 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp19_ = job;
-#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 927 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp20_ = photos;
-#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 927 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 927 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp22_ = _tmp21_;
-#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 927 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp23_ = layout;
-#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 927 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp24_ = print_layout_get_per_page (_tmp23_);
-#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 927 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp25_ = ceil (((gdouble) _tmp22_) / ((gdouble) _tmp24_));
-#line 926 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 927 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_set_n_pages (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_print_operation_get_type (), GtkPrintOperation), (gint) _tmp25_);
-#line 6662 "Printing.c"
+#line 6654 "Printing.c"
} else {
PrintJob* _tmp26_ = NULL;
GeeList* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 928 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 929 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp26_ = job;
-#line 928 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 929 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp27_ = photos;
-#line 928 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 929 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp28_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 928 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 929 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp29_ = _tmp28_;
-#line 928 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 929 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_set_n_pages (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_print_operation_get_type (), GtkPrintOperation), _tmp29_);
-#line 6678 "Printing.c"
+#line 6670 "Printing.c"
}
-#line 931 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 932 "/home/jens/Source/shotwell/src/Printing.vala"
spin_event_loop ();
-#line 911 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 912 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (photos);
-#line 911 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 912 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (job);
-#line 6686 "Printing.c"
+#line 6678 "Printing.c"
}
@@ -6691,43 +6683,43 @@ static void print_manager_on_status_changed (PrintManager* self, GtkPrintOperati
GtkPrintOperation* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
ProgressDialog* _tmp2_ = NULL;
-#line 934 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 935 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
-#line 934 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (GTK_IS_PRINT_OPERATION (job));
#line 935 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (GTK_IS_PRINT_OPERATION (job));
+#line 936 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = job;
-#line 935 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 936 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gtk_print_operation_get_status_string (_tmp0_);
-#line 935 "/home/jens/Source/shotwell/src/Printing.vala"
- g_debug ("Printing.vala:935: on_status_changed: %s", _tmp1_);
-#line 937 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 936 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_debug ("Printing.vala:936: on_status_changed: %s", _tmp1_);
+#line 938 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = self->priv->progress_dialog;
-#line 937 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 938 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_ != NULL) {
-#line 6708 "Printing.c"
+#line 6700 "Printing.c"
ProgressDialog* _tmp3_ = NULL;
GtkPrintOperation* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
-#line 938 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 939 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->progress_dialog;
-#line 938 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 939 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = job;
-#line 938 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 939 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = gtk_print_operation_get_status_string (_tmp4_);
-#line 938 "/home/jens/Source/shotwell/src/Printing.vala"
- progress_dialog_set_status (_tmp3_, _tmp5_);
#line 939 "/home/jens/Source/shotwell/src/Printing.vala"
+ progress_dialog_set_status (_tmp3_, _tmp5_);
+#line 940 "/home/jens/Source/shotwell/src/Printing.vala"
spin_event_loop ();
-#line 6722 "Printing.c"
+#line 6714 "Printing.c"
}
}
static gpointer _cairo_reference0 (gpointer self) {
-#line 964 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 965 "/home/jens/Source/shotwell/src/Printing.vala"
return self ? cairo_reference (self) : NULL;
-#line 6730 "Printing.c"
+#line 6722 "Printing.c"
}
@@ -6772,138 +6764,138 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
ContentLayout _tmp31_ = 0;
ContentLayout _tmp32_ = 0;
ContentLayout _tmp33_ = 0;
-#line 943 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 944 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
-#line 943 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 944 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (GTK_IS_PRINT_OPERATION (emitting_object));
-#line 943 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 944 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (GTK_IS_PRINT_CONTEXT (job_context));
-#line 945 "/home/jens/Source/shotwell/src/Printing.vala"
- g_debug ("Printing.vala:945: on_draw_page");
-#line 947 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 946 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_debug ("Printing.vala:946: on_draw_page");
+#line 948 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = emitting_object;
-#line 947 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 948 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_PRINT_JOB, PrintJob));
-#line 947 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 948 "/home/jens/Source/shotwell/src/Printing.vala"
job = _tmp1_;
-#line 950 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 951 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->cancellable;
-#line 950 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 951 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp3_ != NULL) {
-#line 6793 "Printing.c"
+#line 6785 "Printing.c"
GCancellable* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 950 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 951 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = self->priv->cancellable;
-#line 950 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 951 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = g_cancellable_is_cancelled (_tmp4_);
-#line 950 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 951 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = _tmp5_;
-#line 6802 "Printing.c"
+#line 6794 "Printing.c"
} else {
-#line 950 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 951 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = FALSE;
-#line 6806 "Printing.c"
+#line 6798 "Printing.c"
}
-#line 950 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 951 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp2_) {
-#line 6810 "Printing.c"
+#line 6802 "Printing.c"
PrintJob* _tmp6_ = NULL;
-#line 951 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 952 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = job;
-#line 951 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 952 "/home/jens/Source/shotwell/src/Printing.vala"
gtk_print_operation_cancel (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_print_operation_get_type (), GtkPrintOperation));
-#line 953 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 954 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (job);
-#line 953 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 954 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 6820 "Printing.c"
+#line 6812 "Printing.c"
}
-#line 956 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 957 "/home/jens/Source/shotwell/src/Printing.vala"
spin_event_loop ();
-#line 958 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 959 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = job_context;
-#line 958 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 959 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = gtk_print_context_get_page_setup (_tmp7_);
-#line 958 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 959 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = _g_object_ref0 (_tmp8_);
-#line 958 "/home/jens/Source/shotwell/src/Printing.vala"
- page_setup = _tmp9_;
#line 959 "/home/jens/Source/shotwell/src/Printing.vala"
+ page_setup = _tmp9_;
+#line 960 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = page_setup;
-#line 959 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 960 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = gtk_page_setup_get_page_width (_tmp10_, GTK_UNIT_INCH);
-#line 959 "/home/jens/Source/shotwell/src/Printing.vala"
- page_width = _tmp11_;
#line 960 "/home/jens/Source/shotwell/src/Printing.vala"
+ page_width = _tmp11_;
+#line 961 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = page_setup;
-#line 960 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 961 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = gtk_page_setup_get_page_height (_tmp12_, GTK_UNIT_INCH);
-#line 960 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 961 "/home/jens/Source/shotwell/src/Printing.vala"
page_height = _tmp13_;
-#line 962 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 963 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = job;
-#line 962 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 963 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = print_job_get_local_settings (_tmp14_);
-#line 962 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 963 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = _tmp15_;
-#line 962 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 963 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = print_settings_get_content_ppi (_tmp16_);
-#line 962 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 963 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = (gdouble) _tmp17_;
-#line 962 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 963 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp16_);
-#line 962 "/home/jens/Source/shotwell/src/Printing.vala"
- dpi = _tmp18_;
#line 963 "/home/jens/Source/shotwell/src/Printing.vala"
+ dpi = _tmp18_;
+#line 964 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp19_ = dpi;
-#line 963 "/home/jens/Source/shotwell/src/Printing.vala"
- inv_dpi = 1.0 / _tmp19_;
#line 964 "/home/jens/Source/shotwell/src/Printing.vala"
+ inv_dpi = 1.0 / _tmp19_;
+#line 965 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp20_ = job_context;
-#line 964 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 965 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21_ = gtk_print_context_get_cairo_context (_tmp20_);
-#line 964 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 965 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp22_ = _cairo_reference0 (_tmp21_);
-#line 964 "/home/jens/Source/shotwell/src/Printing.vala"
- dc = _tmp22_;
#line 965 "/home/jens/Source/shotwell/src/Printing.vala"
+ dc = _tmp22_;
+#line 966 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp23_ = dc;
-#line 965 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 966 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp24_ = inv_dpi;
-#line 965 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 966 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp25_ = inv_dpi;
-#line 965 "/home/jens/Source/shotwell/src/Printing.vala"
- cairo_scale (_tmp23_, _tmp24_, _tmp25_);
#line 966 "/home/jens/Source/shotwell/src/Printing.vala"
+ cairo_scale (_tmp23_, _tmp24_, _tmp25_);
+#line 967 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp26_ = job;
-#line 966 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 967 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp27_ = print_job_get_photos (_tmp26_);
-#line 966 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 967 "/home/jens/Source/shotwell/src/Printing.vala"
photos = _tmp27_;
-#line 968 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp28_ = job;
-#line 968 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp29_ = print_job_get_local_settings (_tmp28_);
-#line 968 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp30_ = _tmp29_;
-#line 968 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp31_ = print_settings_get_content_layout (_tmp30_);
-#line 968 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp32_ = _tmp31_;
-#line 968 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp30_);
-#line 968 "/home/jens/Source/shotwell/src/Printing.vala"
- content_layout = _tmp32_;
#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
+ content_layout = _tmp32_;
+#line 970 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp33_ = content_layout;
-#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 970 "/home/jens/Source/shotwell/src/Printing.vala"
switch (_tmp33_) {
-#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 970 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_STANDARD_SIZE:
-#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 970 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_CUSTOM_SIZE:
-#line 6906 "Printing.c"
+#line 6898 "Printing.c"
{
gdouble canvas_width = 0.0;
gdouble canvas_height = 0.0;
@@ -6913,11 +6905,11 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
gint _tmp70_ = 0;
gint _tmp71_ = 0;
ProgressDialog* _tmp117_ = NULL;
-#line 973 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp34_ = content_layout;
-#line 973 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp34_ == CONTENT_LAYOUT_STANDARD_SIZE) {
-#line 6920 "Printing.c"
+#line 6912 "Printing.c"
gint _tmp35_ = 0;
StandardPrintSize** _tmp36_ = NULL;
StandardPrintSize** _tmp37_ = NULL;
@@ -6940,59 +6932,59 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
StandardPrintSize* _tmp52_ = NULL;
Measurement _tmp53_ = {0};
gdouble _tmp54_ = 0.0;
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp36_ = print_manager_get_standard_sizes (self, &_tmp35_);
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp37_ = _tmp36_;
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp37__length1 = _tmp35_;
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp38_ = job;
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp39_ = print_job_get_local_settings (_tmp38_);
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp40_ = _tmp39_;
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp41_ = print_settings_get_size_selection (_tmp40_);
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp42_ = _tmp37_[_tmp41_];
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_convert_to (&_tmp42_->width, MEASUREMENT_UNIT_INCHES, &_tmp43_);
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp44_ = _tmp43_.value;
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
canvas_width = _tmp44_;
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp40_);
-#line 974 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 975 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp37_ = (_vala_array_free (_tmp37_, _tmp37__length1, (GDestroyNotify) standard_print_size_unref), NULL);
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp46_ = print_manager_get_standard_sizes (self, &_tmp45_);
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp47_ = _tmp46_;
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp47__length1 = _tmp45_;
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp48_ = job;
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp49_ = print_job_get_local_settings (_tmp48_);
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp50_ = _tmp49_;
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp51_ = print_settings_get_size_selection (_tmp50_);
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp52_ = _tmp47_[_tmp51_];
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_convert_to (&_tmp52_->height, MEASUREMENT_UNIT_INCHES, &_tmp53_);
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp54_ = _tmp53_.value;
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
canvas_height = _tmp54_;
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp50_);
-#line 976 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 977 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp47_ = (_vala_array_free (_tmp47_, _tmp47__length1, (GDestroyNotify) standard_print_size_unref), NULL);
-#line 6995 "Printing.c"
+#line 6987 "Printing.c"
} else {
ContentLayout _tmp55_ = 0;
PrintJob* _tmp56_ = NULL;
@@ -7007,55 +6999,55 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
Measurement _tmp65_ = {0};
Measurement _tmp66_ = {0};
gdouble _tmp67_ = 0.0;
-#line 979 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 980 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp55_ = content_layout;
-#line 979 "/home/jens/Source/shotwell/src/Printing.vala"
- _vala_assert (_tmp55_ == CONTENT_LAYOUT_CUSTOM_SIZE, "content_layout == ContentLayout.CUSTOM_SIZE");
#line 980 "/home/jens/Source/shotwell/src/Printing.vala"
+ _vala_assert (_tmp55_ == CONTENT_LAYOUT_CUSTOM_SIZE, "content_layout == ContentLayout.CUSTOM_SIZE");
+#line 981 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp56_ = job;
-#line 980 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 981 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp57_ = print_job_get_local_settings (_tmp56_);
-#line 980 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 981 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp58_ = _tmp57_;
-#line 980 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 981 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_get_content_width (_tmp58_, &_tmp59_);
-#line 980 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 981 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_convert_to (&_tmp59_, MEASUREMENT_UNIT_INCHES, &_tmp60_);
-#line 980 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 981 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp61_ = _tmp60_.value;
-#line 980 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 981 "/home/jens/Source/shotwell/src/Printing.vala"
canvas_width = _tmp61_;
-#line 980 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 981 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp58_);
-#line 982 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp62_ = job;
-#line 982 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp63_ = print_job_get_local_settings (_tmp62_);
-#line 982 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp64_ = _tmp63_;
-#line 982 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_get_content_height (_tmp64_, &_tmp65_);
-#line 982 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
measurement_convert_to (&_tmp65_, MEASUREMENT_UNIT_INCHES, &_tmp66_);
-#line 982 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp67_ = _tmp66_.value;
-#line 982 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
canvas_height = _tmp67_;
-#line 982 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 983 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp64_);
-#line 7046 "Printing.c"
+#line 7038 "Printing.c"
}
-#line 986 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp68_ = page_num;
-#line 986 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp69_ = photos;
-#line 986 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp70_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 986 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp71_ = _tmp70_;
-#line 986 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp68_ < _tmp71_) {
-#line 7058 "Printing.c"
+#line 7050 "Printing.c"
Dimensions photo_dimensions = {0};
GeeList* _tmp72_ = NULL;
gint _tmp73_ = 0;
@@ -7093,112 +7085,112 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
PrintSettings* _tmp104_ = NULL;
gboolean _tmp105_ = FALSE;
gboolean _tmp106_ = FALSE;
-#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 988 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp72_ = photos;
-#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 988 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp73_ = page_num;
-#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 988 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp74_ = gee_list_get (_tmp72_, _tmp73_);
-#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 988 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp75_ = (Photo*) _tmp74_;
-#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 988 "/home/jens/Source/shotwell/src/Printing.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp76_);
-#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 988 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp77_ = _tmp76_;
-#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 988 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp75_);
-#line 987 "/home/jens/Source/shotwell/src/Printing.vala"
- photo_dimensions = _tmp77_;
#line 988 "/home/jens/Source/shotwell/src/Printing.vala"
+ photo_dimensions = _tmp77_;
+#line 989 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp78_ = dimensions_get_aspect_ratio (&photo_dimensions);
-#line 988 "/home/jens/Source/shotwell/src/Printing.vala"
- photo_aspect_ratio = _tmp78_;
#line 989 "/home/jens/Source/shotwell/src/Printing.vala"
+ photo_aspect_ratio = _tmp78_;
+#line 990 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp79_ = canvas_width;
-#line 989 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 990 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp80_ = canvas_height;
-#line 989 "/home/jens/Source/shotwell/src/Printing.vala"
- canvas_aspect_ratio = ((gdouble) _tmp79_) / _tmp80_;
#line 990 "/home/jens/Source/shotwell/src/Printing.vala"
+ canvas_aspect_ratio = ((gdouble) _tmp79_) / _tmp80_;
+#line 991 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp81_ = canvas_aspect_ratio;
-#line 990 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 991 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp82_ = floor (_tmp81_);
-#line 990 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 991 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp83_ = photo_aspect_ratio;
-#line 990 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 991 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp84_ = floor (_tmp83_);
-#line 990 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 991 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp82_ != _tmp84_) {
-#line 7132 "Printing.c"
+#line 7124 "Printing.c"
gdouble canvas_tmp = 0.0;
gdouble _tmp85_ = 0.0;
gdouble _tmp86_ = 0.0;
gdouble _tmp87_ = 0.0;
-#line 991 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 992 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp85_ = canvas_width;
-#line 991 "/home/jens/Source/shotwell/src/Printing.vala"
- canvas_tmp = _tmp85_;
#line 992 "/home/jens/Source/shotwell/src/Printing.vala"
+ canvas_tmp = _tmp85_;
+#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp86_ = canvas_height;
-#line 992 "/home/jens/Source/shotwell/src/Printing.vala"
- canvas_width = _tmp86_;
#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
+ canvas_width = _tmp86_;
+#line 994 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp87_ = canvas_tmp;
-#line 993 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 994 "/home/jens/Source/shotwell/src/Printing.vala"
canvas_height = _tmp87_;
-#line 7149 "Printing.c"
+#line 7141 "Printing.c"
}
-#line 996 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 997 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp88_ = page_width;
-#line 996 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 997 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp89_ = canvas_width;
-#line 996 "/home/jens/Source/shotwell/src/Printing.vala"
- dx = (_tmp88_ - _tmp89_) / 2.0;
#line 997 "/home/jens/Source/shotwell/src/Printing.vala"
+ dx = (_tmp88_ - _tmp89_) / 2.0;
+#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp90_ = page_height;
-#line 997 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp91_ = canvas_height;
-#line 997 "/home/jens/Source/shotwell/src/Printing.vala"
- dy = (_tmp90_ - _tmp91_) / 2.0;
#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+ dy = (_tmp90_ - _tmp91_) / 2.0;
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp92_ = photos;
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp93_ = page_num;
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp94_ = gee_list_get (_tmp92_, _tmp93_);
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp95_ = (Photo*) _tmp94_;
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp96_ = dx;
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp97_ = dy;
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp98_ = canvas_width;
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp99_ = canvas_height;
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp100_ = job;
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp101_ = job_context;
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_fit_image_to_canvas (self, _tmp95_, _tmp96_, _tmp97_, _tmp98_, _tmp99_, TRUE, _tmp100_, _tmp101_);
-#line 998 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 999 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp95_);
-#line 1000 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp102_ = job;
-#line 1000 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp103_ = print_job_get_local_settings (_tmp102_);
-#line 1000 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp104_ = _tmp103_;
-#line 1000 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp105_ = print_settings_is_print_titles_enabled (_tmp104_);
-#line 1000 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp106_ = _tmp105_;
-#line 1000 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp104_);
-#line 1000 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp106_) {
-#line 7201 "Printing.c"
+#line 7193 "Printing.c"
gdouble _tmp107_ = 0.0;
gdouble _tmp108_ = 0.0;
GeeList* _tmp109_ = NULL;
@@ -7209,66 +7201,66 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
gchar* _tmp114_ = NULL;
PrintJob* _tmp115_ = NULL;
GtkPrintContext* _tmp116_ = NULL;
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp107_ = page_width;
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp108_ = page_height;
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp109_ = photos;
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp110_ = page_num;
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp111_ = gee_list_get (_tmp109_, _tmp110_);
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp112_ = (Photo*) _tmp111_;
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp113_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp112_, TYPE_DATA_OBJECT, DataObject));
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp114_ = _tmp113_;
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp115_ = job;
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp116_ = job_context;
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_add_title_to_canvas (self, _tmp107_ / 2, _tmp108_, _tmp114_, _tmp115_, _tmp116_);
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp114_);
-#line 1001 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp112_);
-#line 7238 "Printing.c"
+#line 7230 "Printing.c"
}
}
-#line 1006 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1007 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp117_ = self->priv->progress_dialog;
-#line 1006 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1007 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp117_ != NULL) {
-#line 7245 "Printing.c"
+#line 7237 "Printing.c"
ProgressDialog* _tmp118_ = NULL;
gint _tmp119_ = 0;
GeeList* _tmp120_ = NULL;
gint _tmp121_ = 0;
gint _tmp122_ = 0;
-#line 1007 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1008 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp118_ = self->priv->progress_dialog;
-#line 1007 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1008 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp119_ = page_num;
-#line 1007 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1008 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp120_ = photos;
-#line 1007 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1008 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp121_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp120_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1007 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1008 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp122_ = _tmp121_;
-#line 1007 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1008 "/home/jens/Source/shotwell/src/Printing.vala"
progress_dialog_monitor (_tmp118_, (guint64) _tmp119_, (guint64) _tmp122_, TRUE);
-#line 7263 "Printing.c"
+#line 7255 "Printing.c"
}
-#line 1008 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1009 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 7267 "Printing.c"
+#line 7259 "Printing.c"
}
-#line 969 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 970 "/home/jens/Source/shotwell/src/Printing.vala"
case CONTENT_LAYOUT_IMAGE_PER_PAGE:
-#line 7271 "Printing.c"
+#line 7263 "Printing.c"
{
PrintLayout layout = 0;
PrintJob* _tmp123_ = NULL;
@@ -7294,105 +7286,105 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
gdouble _tmp138_ = 0.0;
gint _tmp139_ = 0;
gint _tmp140_ = 0;
-#line 1011 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1012 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp123_ = job;
-#line 1011 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1012 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp124_ = print_job_get_local_settings (_tmp123_);
-#line 1011 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1012 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp125_ = _tmp124_;
-#line 1011 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1012 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp126_ = print_settings_get_image_per_page_selection (_tmp125_);
-#line 1011 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1012 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp127_ = (PrintLayout) _tmp126_;
-#line 1011 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1012 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp125_);
-#line 1011 "/home/jens/Source/shotwell/src/Printing.vala"
- layout = _tmp127_;
#line 1012 "/home/jens/Source/shotwell/src/Printing.vala"
+ layout = _tmp127_;
+#line 1013 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp128_ = layout;
-#line 1012 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1013 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp129_ = print_layout_get_x (_tmp128_);
-#line 1012 "/home/jens/Source/shotwell/src/Printing.vala"
- nx = _tmp129_;
#line 1013 "/home/jens/Source/shotwell/src/Printing.vala"
+ nx = _tmp129_;
+#line 1014 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp130_ = layout;
-#line 1013 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1014 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp131_ = print_layout_get_y (_tmp130_);
-#line 1013 "/home/jens/Source/shotwell/src/Printing.vala"
- ny = _tmp131_;
#line 1014 "/home/jens/Source/shotwell/src/Printing.vala"
+ ny = _tmp131_;
+#line 1015 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp132_ = page_num;
-#line 1014 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1015 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp133_ = layout;
-#line 1014 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1015 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp134_ = print_layout_get_per_page (_tmp133_);
-#line 1014 "/home/jens/Source/shotwell/src/Printing.vala"
- start = _tmp132_ * _tmp134_;
#line 1015 "/home/jens/Source/shotwell/src/Printing.vala"
+ start = _tmp132_ * _tmp134_;
+#line 1016 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp135_ = page_width;
-#line 1015 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1016 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp136_ = nx;
-#line 1015 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1016 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp137_ = nx;
-#line 1015 "/home/jens/Source/shotwell/src/Printing.vala"
- canvas_width = ((gdouble) (_tmp135_ - (PRINT_MANAGER_IMAGE_DISTANCE * (_tmp136_ - 1)))) / _tmp137_;
#line 1016 "/home/jens/Source/shotwell/src/Printing.vala"
+ canvas_width = ((gdouble) (_tmp135_ - (PRINT_MANAGER_IMAGE_DISTANCE * (_tmp136_ - 1)))) / _tmp137_;
+#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp138_ = page_height;
-#line 1016 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp139_ = ny;
-#line 1016 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp140_ = ny;
-#line 1016 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
canvas_height = ((gdouble) (_tmp138_ - (PRINT_MANAGER_IMAGE_DISTANCE * (_tmp139_ - 1)))) / _tmp140_;
-#line 7347 "Printing.c"
+#line 7339 "Printing.c"
{
gint y = 0;
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
y = 0;
-#line 7352 "Printing.c"
+#line 7344 "Printing.c"
{
gboolean _tmp141_ = FALSE;
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp141_ = TRUE;
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
while (TRUE) {
-#line 7359 "Printing.c"
+#line 7351 "Printing.c"
gint _tmp143_ = 0;
gint _tmp144_ = 0;
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
if (!_tmp141_) {
-#line 7364 "Printing.c"
+#line 7356 "Printing.c"
gint _tmp142_ = 0;
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp142_ = y;
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
y = _tmp142_ + 1;
-#line 7370 "Printing.c"
+#line 7362 "Printing.c"
}
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp141_ = FALSE;
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp143_ = y;
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp144_ = ny;
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
if (!(_tmp143_ < _tmp144_)) {
-#line 1017 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 7382 "Printing.c"
+#line 7374 "Printing.c"
}
{
gint x = 0;
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
x = 0;
-#line 7388 "Printing.c"
+#line 7380 "Printing.c"
{
gboolean _tmp145_ = FALSE;
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp145_ = TRUE;
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
while (TRUE) {
-#line 7395 "Printing.c"
+#line 7387 "Printing.c"
gint _tmp147_ = 0;
gint _tmp148_ = 0;
gint i = 0;
@@ -7405,49 +7397,49 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
gint _tmp155_ = 0;
gint _tmp156_ = 0;
ProgressDialog* _tmp190_ = NULL;
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
if (!_tmp145_) {
-#line 7410 "Printing.c"
+#line 7402 "Printing.c"
gint _tmp146_ = 0;
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp146_ = x;
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
x = _tmp146_ + 1;
-#line 7416 "Printing.c"
+#line 7408 "Printing.c"
}
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp145_ = FALSE;
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp147_ = x;
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp148_ = nx;
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
if (!(_tmp147_ < _tmp148_)) {
-#line 1018 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 7428 "Printing.c"
+#line 7420 "Printing.c"
}
-#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1020 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp149_ = start;
-#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1020 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp150_ = y;
-#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1020 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp151_ = nx;
-#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1020 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp152_ = x;
-#line 1019 "/home/jens/Source/shotwell/src/Printing.vala"
- i = (_tmp149_ + (_tmp150_ * _tmp151_)) + _tmp152_;
#line 1020 "/home/jens/Source/shotwell/src/Printing.vala"
+ i = (_tmp149_ + (_tmp150_ * _tmp151_)) + _tmp152_;
+#line 1021 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp153_ = i;
-#line 1020 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1021 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp154_ = photos;
-#line 1020 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1021 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp155_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp154_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1020 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1021 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp156_ = _tmp155_;
-#line 1020 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1021 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp153_ < _tmp156_) {
-#line 7450 "Printing.c"
+#line 7442 "Printing.c"
gdouble dx = 0.0;
gint _tmp157_ = 0;
gdouble _tmp158_ = 0.0;
@@ -7471,61 +7463,61 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
PrintSettings* _tmp175_ = NULL;
gboolean _tmp176_ = FALSE;
gboolean _tmp177_ = FALSE;
-#line 1021 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1022 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp157_ = x;
-#line 1021 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1022 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp158_ = canvas_width;
-#line 1021 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1022 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp159_ = x;
-#line 1021 "/home/jens/Source/shotwell/src/Printing.vala"
- dx = (_tmp157_ * _tmp158_) + (_tmp159_ * PRINT_MANAGER_IMAGE_DISTANCE);
#line 1022 "/home/jens/Source/shotwell/src/Printing.vala"
+ dx = (_tmp157_ * _tmp158_) + (_tmp159_ * PRINT_MANAGER_IMAGE_DISTANCE);
+#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp160_ = y;
-#line 1022 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp161_ = canvas_height;
-#line 1022 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp162_ = y;
-#line 1022 "/home/jens/Source/shotwell/src/Printing.vala"
- dy = (_tmp160_ * _tmp161_) + (_tmp162_ * PRINT_MANAGER_IMAGE_DISTANCE);
#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+ dy = (_tmp160_ * _tmp161_) + (_tmp162_ * PRINT_MANAGER_IMAGE_DISTANCE);
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp163_ = photos;
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp164_ = i;
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp165_ = gee_list_get (_tmp163_, _tmp164_);
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp166_ = (Photo*) _tmp165_;
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp167_ = dx;
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp168_ = dy;
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp169_ = canvas_width;
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp170_ = canvas_height;
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp171_ = job;
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp172_ = job_context;
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_fit_image_to_canvas (self, _tmp166_, _tmp167_, _tmp168_, _tmp169_, _tmp170_, FALSE, _tmp171_, _tmp172_);
-#line 1023 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp166_);
-#line 1025 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp173_ = job;
-#line 1025 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp174_ = print_job_get_local_settings (_tmp173_);
-#line 1025 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp175_ = _tmp174_;
-#line 1025 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp176_ = print_settings_is_print_titles_enabled (_tmp175_);
-#line 1025 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp177_ = _tmp176_;
-#line 1025 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp175_);
-#line 1025 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp177_) {
-#line 7528 "Printing.c"
+#line 7520 "Printing.c"
gdouble _tmp178_ = 0.0;
gdouble _tmp179_ = 0.0;
gdouble _tmp180_ = 0.0;
@@ -7538,62 +7530,62 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
gchar* _tmp187_ = NULL;
PrintJob* _tmp188_ = NULL;
GtkPrintContext* _tmp189_ = NULL;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp178_ = dx;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp179_ = canvas_width;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp180_ = dy;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp181_ = canvas_height;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp182_ = photos;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp183_ = i;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp184_ = gee_list_get (_tmp182_, _tmp183_);
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp185_ = (Photo*) _tmp184_;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp186_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp185_, TYPE_DATA_OBJECT, DataObject));
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp187_ = _tmp186_;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp188_ = job;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp189_ = job_context;
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_add_title_to_canvas (self, _tmp178_ + (_tmp179_ / 2), _tmp180_ + _tmp181_, _tmp187_, _tmp188_, _tmp189_);
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp187_);
-#line 1026 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1027 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (_tmp185_);
-#line 7571 "Printing.c"
+#line 7563 "Printing.c"
}
}
-#line 1031 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1032 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp190_ = self->priv->progress_dialog;
-#line 1031 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1032 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp190_ != NULL) {
-#line 7578 "Printing.c"
+#line 7570 "Printing.c"
ProgressDialog* _tmp191_ = NULL;
gint _tmp192_ = 0;
GeeList* _tmp193_ = NULL;
gint _tmp194_ = 0;
gint _tmp195_ = 0;
-#line 1032 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1033 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp191_ = self->priv->progress_dialog;
-#line 1032 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1033 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp192_ = i;
-#line 1032 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1033 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp193_ = photos;
-#line 1032 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1033 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp194_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp193_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1032 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1033 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp195_ = _tmp194_;
-#line 1032 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1033 "/home/jens/Source/shotwell/src/Printing.vala"
progress_dialog_monitor (_tmp191_, (guint64) _tmp192_, (guint64) _tmp195_, TRUE);
-#line 7596 "Printing.c"
+#line 7588 "Printing.c"
}
}
}
@@ -7601,33 +7593,33 @@ static void print_manager_on_draw_page (PrintManager* self, GtkPrintOperation* e
}
}
}
-#line 1035 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1036 "/home/jens/Source/shotwell/src/Printing.vala"
break;
-#line 7606 "Printing.c"
+#line 7598 "Printing.c"
}
default:
{
-#line 1038 "/home/jens/Source/shotwell/src/Printing.vala"
- g_error ("Printing.vala:1038: unknown or unsupported layout mode");
-#line 7612 "Printing.c"
+#line 1039 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_error ("Printing.vala:1039: unknown or unsupported layout mode");
+#line 7604 "Printing.c"
}
}
-#line 943 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 944 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (photos);
-#line 943 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 944 "/home/jens/Source/shotwell/src/Printing.vala"
_cairo_destroy0 (dc);
-#line 943 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 944 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (page_setup);
-#line 943 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 944 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (job);
-#line 7623 "Printing.c"
+#line 7615 "Printing.c"
}
static void _print_manager_on_custom_widget_apply_gtk_print_operation_custom_widget_apply (GtkPrintOperation* _sender, GtkWidget* widget, gpointer self) {
-#line 1044 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1045 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_on_custom_widget_apply ((PrintManager*) self, widget);
-#line 7630 "Printing.c"
+#line 7622 "Printing.c"
}
@@ -7637,31 +7629,31 @@ static GObject* print_manager_on_create_custom_widget (PrintManager* self, GtkPr
CustomPrintTab* _tmp1_ = NULL;
GtkPrintOperation* _tmp2_ = NULL;
CustomPrintTab* _tmp3_ = NULL;
-#line 1042 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1043 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (IS_PRINT_MANAGER (self), NULL);
-#line 1042 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (GTK_IS_PRINT_OPERATION (emitting_object), NULL);
#line 1043 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (GTK_IS_PRINT_OPERATION (emitting_object), NULL);
+#line 1044 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = emitting_object;
-#line 1043 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1044 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = custom_print_tab_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_PRINT_JOB, PrintJob));
-#line 1043 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1044 "/home/jens/Source/shotwell/src/Printing.vala"
g_object_ref_sink (_tmp1_);
-#line 1043 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1044 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->custom_tab);
-#line 1043 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->custom_tab = _tmp1_;
#line 1044 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->priv->custom_tab = _tmp1_;
+#line 1045 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = emitting_object;
-#line 1044 "/home/jens/Source/shotwell/src/Printing.vala"
- g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_PRINT_JOB, PrintJob), gtk_print_operation_get_type (), GtkPrintOperation), "custom-widget-apply", (GCallback) _print_manager_on_custom_widget_apply_gtk_print_operation_custom_widget_apply, self);
#line 1045 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_PRINT_JOB, PrintJob), gtk_print_operation_get_type (), GtkPrintOperation), "custom-widget-apply", (GCallback) _print_manager_on_custom_widget_apply_gtk_print_operation_custom_widget_apply, self);
+#line 1046 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = self->priv->custom_tab;
-#line 1045 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1046 "/home/jens/Source/shotwell/src/Printing.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, G_TYPE_OBJECT, GObject);
-#line 1045 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1046 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 7664 "Printing.c"
+#line 7656 "Printing.c"
}
@@ -7675,41 +7667,41 @@ static void print_manager_on_custom_widget_apply (PrintManager* self, GtkWidget*
PrintSettings* _tmp5_ = NULL;
PrintSettings* _tmp6_ = NULL;
PrintSettings* _tmp7_ = NULL;
-#line 1048 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1049 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
-#line 1048 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (GTK_IS_WIDGET (custom_widget));
#line 1049 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (GTK_IS_WIDGET (custom_widget));
+#line 1050 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = custom_widget;
-#line 1049 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1050 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_CUSTOM_PRINT_TAB, CustomPrintTab));
-#line 1049 "/home/jens/Source/shotwell/src/Printing.vala"
- tab = _tmp1_;
#line 1050 "/home/jens/Source/shotwell/src/Printing.vala"
+ tab = _tmp1_;
+#line 1051 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = custom_print_tab_get_source_job (tab);
-#line 1050 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1051 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = _tmp2_;
-#line 1050 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1051 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = custom_print_tab_get_local_settings (tab);
-#line 1050 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1051 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = _tmp4_;
-#line 1050 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1051 "/home/jens/Source/shotwell/src/Printing.vala"
print_job_set_local_settings (_tmp3_, _tmp5_);
-#line 1050 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1051 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp5_);
-#line 1050 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_object_unref0 (_tmp3_);
#line 1051 "/home/jens/Source/shotwell/src/Printing.vala"
+ _g_object_unref0 (_tmp3_);
+#line 1052 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = custom_print_tab_get_local_settings (tab);
-#line 1051 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1052 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = _tmp6_;
-#line 1051 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1052 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_set_global_settings (self, _tmp7_);
-#line 1051 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1052 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp7_);
-#line 1048 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1049 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (tab);
-#line 7712 "Printing.c"
+#line 7704 "Printing.c"
}
@@ -7756,61 +7748,61 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
gint _tmp41_ = 0;
cairo_t* _tmp96_ = NULL;
GError * _inner_error_ = NULL;
-#line 1054 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1055 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
-#line 1054 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1055 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PHOTO (photo));
-#line 1054 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1055 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_JOB (job));
-#line 1054 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (GTK_IS_PRINT_CONTEXT (job_context));
#line 1055 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (GTK_IS_PRINT_CONTEXT (job_context));
+#line 1056 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = job_context;
-#line 1055 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1056 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gtk_print_context_get_cairo_context (_tmp0_);
-#line 1055 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1056 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = _cairo_reference0 (_tmp1_);
-#line 1055 "/home/jens/Source/shotwell/src/Printing.vala"
- dc = _tmp2_;
#line 1056 "/home/jens/Source/shotwell/src/Printing.vala"
+ dc = _tmp2_;
+#line 1057 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = photo;
-#line 1056 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1057 "/home/jens/Source/shotwell/src/Printing.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp4_);
-#line 1056 "/home/jens/Source/shotwell/src/Printing.vala"
- photo_dimensions = _tmp4_;
#line 1057 "/home/jens/Source/shotwell/src/Printing.vala"
+ photo_dimensions = _tmp4_;
+#line 1058 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = dimensions_get_aspect_ratio (&photo_dimensions);
-#line 1057 "/home/jens/Source/shotwell/src/Printing.vala"
- photo_aspect_ratio = _tmp5_;
#line 1058 "/home/jens/Source/shotwell/src/Printing.vala"
+ photo_aspect_ratio = _tmp5_;
+#line 1059 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = canvas_width;
-#line 1058 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1059 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = canvas_height;
-#line 1058 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1059 "/home/jens/Source/shotwell/src/Printing.vala"
canvas_aspect_ratio = ((gdouble) _tmp6_) / _tmp7_;
-#line 1060 "/home/jens/Source/shotwell/src/Printing.vala"
- target_width = 0.0;
#line 1061 "/home/jens/Source/shotwell/src/Printing.vala"
- target_height = 0.0;
+ target_width = 0.0;
#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
+ target_height = 0.0;
+#line 1063 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = job;
-#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = print_job_get_local_settings (_tmp8_);
-#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = _tmp9_;
-#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = print_settings_get_content_ppi (_tmp10_);
-#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = (gdouble) _tmp11_;
-#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp10_);
-#line 1062 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Printing.vala"
dpi = _tmp12_;
-#line 1064 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1065 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = crop;
-#line 1064 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1065 "/home/jens/Source/shotwell/src/Printing.vala"
if (!_tmp13_) {
-#line 7813 "Printing.c"
+#line 7805 "Printing.c"
gdouble _tmp14_ = 0.0;
gdouble _tmp15_ = 0.0;
gdouble _tmp22_ = 0.0;
@@ -7819,133 +7811,133 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
gdouble _tmp25_ = 0.0;
gdouble _tmp26_ = 0.0;
gdouble _tmp27_ = 0.0;
-#line 1065 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1066 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = canvas_aspect_ratio;
-#line 1065 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1066 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = photo_aspect_ratio;
-#line 1065 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1066 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp14_ < _tmp15_) {
-#line 7828 "Printing.c"
+#line 7820 "Printing.c"
gdouble _tmp16_ = 0.0;
gdouble _tmp17_ = 0.0;
gdouble _tmp18_ = 0.0;
-#line 1066 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1067 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = canvas_width;
-#line 1066 "/home/jens/Source/shotwell/src/Printing.vala"
- target_width = _tmp16_;
#line 1067 "/home/jens/Source/shotwell/src/Printing.vala"
+ target_width = _tmp16_;
+#line 1068 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = target_width;
-#line 1067 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1068 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = photo_aspect_ratio;
-#line 1067 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1068 "/home/jens/Source/shotwell/src/Printing.vala"
target_height = _tmp17_ * (1.0 / _tmp18_);
-#line 7842 "Printing.c"
+#line 7834 "Printing.c"
} else {
gdouble _tmp19_ = 0.0;
gdouble _tmp20_ = 0.0;
gdouble _tmp21_ = 0.0;
-#line 1069 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1070 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp19_ = canvas_height;
-#line 1069 "/home/jens/Source/shotwell/src/Printing.vala"
- target_height = _tmp19_;
#line 1070 "/home/jens/Source/shotwell/src/Printing.vala"
+ target_height = _tmp19_;
+#line 1071 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp20_ = target_height;
-#line 1070 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1071 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21_ = photo_aspect_ratio;
-#line 1070 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1071 "/home/jens/Source/shotwell/src/Printing.vala"
target_width = _tmp20_ * _tmp21_;
-#line 7857 "Printing.c"
+#line 7849 "Printing.c"
}
-#line 1072 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1073 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp22_ = x;
-#line 1072 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1073 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp23_ = canvas_width;
-#line 1072 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1073 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp24_ = target_width;
-#line 1072 "/home/jens/Source/shotwell/src/Printing.vala"
- x = _tmp22_ + ((_tmp23_ - _tmp24_) / 2.0);
#line 1073 "/home/jens/Source/shotwell/src/Printing.vala"
+ x = _tmp22_ + ((_tmp23_ - _tmp24_) / 2.0);
+#line 1074 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp25_ = y;
-#line 1073 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1074 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp26_ = canvas_height;
-#line 1073 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1074 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp27_ = target_height;
-#line 1073 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1074 "/home/jens/Source/shotwell/src/Printing.vala"
y = _tmp25_ + ((_tmp26_ - _tmp27_) / 2.0);
-#line 7875 "Printing.c"
+#line 7867 "Printing.c"
}
-#line 1076 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1077 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp28_ = dpi;
-#line 1076 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1077 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp29_ = x;
-#line 1076 "/home/jens/Source/shotwell/src/Printing.vala"
- x_offset = _tmp28_ * _tmp29_;
#line 1077 "/home/jens/Source/shotwell/src/Printing.vala"
+ x_offset = _tmp28_ * _tmp29_;
+#line 1078 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp30_ = dpi;
-#line 1077 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1078 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp31_ = y;
-#line 1077 "/home/jens/Source/shotwell/src/Printing.vala"
- y_offset = _tmp30_ * _tmp31_;
#line 1078 "/home/jens/Source/shotwell/src/Printing.vala"
+ y_offset = _tmp30_ * _tmp31_;
+#line 1079 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp32_ = dc;
-#line 1078 "/home/jens/Source/shotwell/src/Printing.vala"
- cairo_save (_tmp32_);
#line 1079 "/home/jens/Source/shotwell/src/Printing.vala"
+ cairo_save (_tmp32_);
+#line 1080 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp33_ = dc;
-#line 1079 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1080 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp34_ = x_offset;
-#line 1079 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1080 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp35_ = y_offset;
-#line 1079 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1080 "/home/jens/Source/shotwell/src/Printing.vala"
cairo_translate (_tmp33_, _tmp34_, _tmp35_);
-#line 1081 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp36_ = dpi;
-#line 1081 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp37_ = canvas_width;
-#line 1081 "/home/jens/Source/shotwell/src/Printing.vala"
- w = (gint) (_tmp36_ * _tmp37_);
#line 1082 "/home/jens/Source/shotwell/src/Printing.vala"
+ w = (gint) (_tmp36_ * _tmp37_);
+#line 1083 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp38_ = dpi;
-#line 1082 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1083 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp39_ = canvas_height;
-#line 1082 "/home/jens/Source/shotwell/src/Printing.vala"
- h = (gint) (_tmp38_ * _tmp39_);
#line 1083 "/home/jens/Source/shotwell/src/Printing.vala"
+ h = (gint) (_tmp38_ * _tmp39_);
+#line 1084 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp40_ = w;
-#line 1083 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp41_ = h;
-#line 1083 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Printing.vala"
dimensions_init (&viewport, _tmp40_, _tmp41_);
-#line 7919 "Printing.c"
+#line 7911 "Printing.c"
{
gboolean _tmp42_ = FALSE;
gboolean _tmp43_ = FALSE;
cairo_t* _tmp89_ = NULL;
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp43_ = crop;
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp43_) {
-#line 7928 "Printing.c"
+#line 7920 "Printing.c"
gdouble _tmp44_ = 0.0;
gdouble _tmp45_ = 0.0;
gboolean _tmp46_ = FALSE;
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp44_ = canvas_aspect_ratio;
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp45_ = photo_aspect_ratio;
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp46_ = print_manager_are_approximately_equal (self, _tmp44_, _tmp45_);
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp42_ = !_tmp46_;
-#line 7940 "Printing.c"
+#line 7932 "Printing.c"
} else {
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp42_ = FALSE;
-#line 7944 "Printing.c"
+#line 7936 "Printing.c"
}
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp42_) {
-#line 7948 "Printing.c"
+#line 7940 "Printing.c"
Scaling pixbuf_scaling = {0};
Dimensions _tmp47_ = {0};
Scaling _tmp48_ = {0};
@@ -7975,121 +7967,121 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
GdkPixbuf* _tmp77_ = NULL;
cairo_t* _tmp78_ = NULL;
GdkPixbuf* _tmp79_ = NULL;
-#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1088 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp47_ = viewport;
-#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1088 "/home/jens/Source/shotwell/src/Printing.vala"
scaling_to_fill_viewport (&_tmp47_, &_tmp48_);
-#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
- pixbuf_scaling = _tmp48_;
#line 1088 "/home/jens/Source/shotwell/src/Printing.vala"
+ pixbuf_scaling = _tmp48_;
+#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp49_ = photo;
-#line 1088 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp50_ = pixbuf_scaling;
-#line 1088 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp51_ = photo_source_get_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, TYPE_PHOTO_SOURCE, PhotoSource), &_tmp50_, &_inner_error_);
-#line 1088 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
photo_pixbuf = _tmp51_;
-#line 1088 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7994 "Printing.c"
+#line 7986 "Printing.c"
goto __catch458_g_error;
}
-#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1090 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp52_ = photo_pixbuf;
-#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1090 "/home/jens/Source/shotwell/src/Printing.vala"
dimensions_for_pixbuf (_tmp52_, &_tmp53_);
-#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
- scaled_photo_dimensions = _tmp53_;
#line 1090 "/home/jens/Source/shotwell/src/Printing.vala"
- shave_vertical = 0;
+ scaled_photo_dimensions = _tmp53_;
#line 1091 "/home/jens/Source/shotwell/src/Printing.vala"
- shave_horizontal = 0;
+ shave_vertical = 0;
#line 1092 "/home/jens/Source/shotwell/src/Printing.vala"
+ shave_horizontal = 0;
+#line 1093 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp54_ = canvas_aspect_ratio;
-#line 1092 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1093 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp55_ = photo_aspect_ratio;
-#line 1092 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1093 "/home/jens/Source/shotwell/src/Printing.vala"
if (_tmp54_ < _tmp55_) {
-#line 8013 "Printing.c"
+#line 8005 "Printing.c"
Dimensions _tmp56_ = {0};
gint _tmp57_ = 0;
Dimensions _tmp58_ = {0};
gint _tmp59_ = 0;
gdouble _tmp60_ = 0.0;
-#line 1093 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1094 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp56_ = scaled_photo_dimensions;
-#line 1093 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1094 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp57_ = _tmp56_.width;
-#line 1093 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1094 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp58_ = scaled_photo_dimensions;
-#line 1093 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1094 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp59_ = _tmp58_.height;
-#line 1093 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1094 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp60_ = canvas_aspect_ratio;
-#line 1093 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1094 "/home/jens/Source/shotwell/src/Printing.vala"
shave_vertical = (gint) ((_tmp57_ - (_tmp59_ * _tmp60_)) / 2.0);
-#line 8031 "Printing.c"
+#line 8023 "Printing.c"
} else {
Dimensions _tmp61_ = {0};
gint _tmp62_ = 0;
Dimensions _tmp63_ = {0};
gint _tmp64_ = 0;
gdouble _tmp65_ = 0.0;
-#line 1095 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1096 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp61_ = scaled_photo_dimensions;
-#line 1095 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1096 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp62_ = _tmp61_.height;
-#line 1095 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1096 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp63_ = scaled_photo_dimensions;
-#line 1095 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1096 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp64_ = _tmp63_.width;
-#line 1095 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1096 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp65_ = canvas_aspect_ratio;
-#line 1095 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1096 "/home/jens/Source/shotwell/src/Printing.vala"
shave_horizontal = (gint) ((_tmp62_ - (_tmp64_ * (1.0 / _tmp65_))) / 2.0);
-#line 8050 "Printing.c"
+#line 8042 "Printing.c"
}
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp66_ = photo_pixbuf;
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp67_ = shave_vertical;
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp68_ = shave_horizontal;
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp69_ = scaled_photo_dimensions;
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp70_ = _tmp69_.width;
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp71_ = shave_vertical;
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp72_ = scaled_photo_dimensions;
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp73_ = _tmp72_.height;
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp74_ = shave_horizontal;
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp75_ = gdk_pixbuf_new_subpixbuf (_tmp66_, _tmp67_, _tmp68_, _tmp70_ - (2 * _tmp71_), _tmp73_ - (2 * _tmp74_));
-#line 1097 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Printing.vala"
shaved_pixbuf = _tmp75_;
-#line 1099 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1100 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp76_ = shaved_pixbuf;
-#line 1099 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1100 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp77_ = scaling_perform_on_pixbuf (&pixbuf_scaling, _tmp76_, GDK_INTERP_HYPER, TRUE);
-#line 1099 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1100 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (photo_pixbuf);
-#line 1099 "/home/jens/Source/shotwell/src/Printing.vala"
- photo_pixbuf = _tmp77_;
#line 1100 "/home/jens/Source/shotwell/src/Printing.vala"
+ photo_pixbuf = _tmp77_;
+#line 1101 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp78_ = dc;
-#line 1100 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp79_ = photo_pixbuf;
-#line 1100 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Printing.vala"
gdk_cairo_set_source_pixbuf (_tmp78_, _tmp79_, 0.0, 0.0);
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (shaved_pixbuf);
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (photo_pixbuf);
-#line 8092 "Printing.c"
+#line 8084 "Printing.c"
} else {
Scaling pixbuf_scaling = {0};
Dimensions _tmp80_ = {0};
@@ -8102,48 +8094,48 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
GdkPixbuf* _tmp86_ = NULL;
cairo_t* _tmp87_ = NULL;
GdkPixbuf* _tmp88_ = NULL;
-#line 1102 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1103 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp80_ = viewport;
-#line 1102 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1103 "/home/jens/Source/shotwell/src/Printing.vala"
scaling_for_viewport (&_tmp80_, TRUE, &_tmp81_);
-#line 1102 "/home/jens/Source/shotwell/src/Printing.vala"
- pixbuf_scaling = _tmp81_;
#line 1103 "/home/jens/Source/shotwell/src/Printing.vala"
+ pixbuf_scaling = _tmp81_;
+#line 1104 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp82_ = photo;
-#line 1103 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1104 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp83_ = pixbuf_scaling;
-#line 1103 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1104 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp84_ = photo_source_get_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, TYPE_PHOTO_SOURCE, PhotoSource), &_tmp83_, &_inner_error_);
-#line 1103 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1104 "/home/jens/Source/shotwell/src/Printing.vala"
photo_pixbuf = _tmp84_;
-#line 1103 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1104 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8121 "Printing.c"
+#line 8113 "Printing.c"
goto __catch458_g_error;
}
-#line 1104 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1105 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp85_ = photo_pixbuf;
-#line 1104 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1105 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp86_ = scaling_perform_on_pixbuf (&pixbuf_scaling, _tmp85_, GDK_INTERP_HYPER, TRUE);
-#line 1104 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1105 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (photo_pixbuf);
-#line 1104 "/home/jens/Source/shotwell/src/Printing.vala"
- photo_pixbuf = _tmp86_;
#line 1105 "/home/jens/Source/shotwell/src/Printing.vala"
+ photo_pixbuf = _tmp86_;
+#line 1106 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp87_ = dc;
-#line 1105 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1106 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp88_ = photo_pixbuf;
-#line 1105 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1106 "/home/jens/Source/shotwell/src/Printing.vala"
gdk_cairo_set_source_pixbuf (_tmp87_, _tmp88_, 0.0, 0.0);
-#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1087 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (photo_pixbuf);
-#line 8140 "Printing.c"
+#line 8132 "Printing.c"
}
-#line 1107 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1108 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp89_ = dc;
-#line 1107 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1108 "/home/jens/Source/shotwell/src/Printing.vala"
cairo_paint (_tmp89_);
-#line 8146 "Printing.c"
+#line 8138 "Printing.c"
}
goto __finally458;
__catch458_g_error:
@@ -8155,59 +8147,59 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
const gchar* _tmp93_ = NULL;
gchar* _tmp94_ = NULL;
gchar* _tmp95_ = NULL;
-#line 1085 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
e = _inner_error_;
-#line 1085 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
_inner_error_ = NULL;
-#line 1110 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1111 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp90_ = job;
-#line 1110 "/home/jens/Source/shotwell/src/Printing.vala"
- gtk_print_operation_cancel (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, gtk_print_operation_get_type (), GtkPrintOperation));
#line 1111 "/home/jens/Source/shotwell/src/Printing.vala"
+ gtk_print_operation_cancel (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, gtk_print_operation_get_type (), GtkPrintOperation));
+#line 1112 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp91_ = _ ("Unable to print photo:\n\n%s");
-#line 1111 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1112 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp92_ = e;
-#line 1111 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1112 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp93_ = _tmp92_->message;
-#line 1111 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1112 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp94_ = g_strdup_printf (_tmp91_, _tmp93_);
-#line 1111 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1112 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp95_ = _tmp94_;
-#line 1111 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1112 "/home/jens/Source/shotwell/src/Printing.vala"
app_window_error_message (_tmp95_, NULL);
-#line 1111 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1112 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp95_);
-#line 1085 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
_g_error_free0 (e);
-#line 8182 "Printing.c"
+#line 8174 "Printing.c"
}
__finally458:
-#line 1085 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1085 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
_cairo_destroy0 (dc);
-#line 1085 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1086 "/home/jens/Source/shotwell/src/Printing.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 1085 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
g_clear_error (&_inner_error_);
-#line 1085 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
return;
-#line 8195 "Printing.c"
+#line 8187 "Printing.c"
}
-#line 1113 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1114 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp96_ = dc;
-#line 1113 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1114 "/home/jens/Source/shotwell/src/Printing.vala"
cairo_restore (_tmp96_);
-#line 1054 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1055 "/home/jens/Source/shotwell/src/Printing.vala"
_cairo_destroy0 (dc);
-#line 8203 "Printing.c"
+#line 8195 "Printing.c"
}
static void _vala_PangoFontDescription_free (PangoFontDescription* self) {
-#line 1116 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
g_boxed_free (pango_font_description_get_type (), self);
-#line 8210 "Printing.c"
+#line 8202 "Printing.c"
}
@@ -8244,115 +8236,115 @@ static void print_manager_add_title_to_canvas (PrintManager* self, gdouble x, gd
gdouble _tmp21_ = 0.0;
gdouble ty = 0.0;
gdouble _tmp22_ = 0.0;
-#line 1116 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
-#line 1116 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (title != NULL);
-#line 1116 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_JOB (job));
-#line 1116 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (GTK_IS_PRINT_CONTEXT (job_context));
#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (GTK_IS_PRINT_CONTEXT (job_context));
+#line 1118 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = job_context;
-#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = gtk_print_context_get_cairo_context (_tmp0_);
-#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = _cairo_reference0 (_tmp1_);
-#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
- dc = _tmp2_;
#line 1118 "/home/jens/Source/shotwell/src/Printing.vala"
+ dc = _tmp2_;
+#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp3_ = job;
-#line 1118 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp4_ = print_job_get_local_settings (_tmp3_);
-#line 1118 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp5_ = _tmp4_;
-#line 1118 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp6_ = print_settings_get_content_ppi (_tmp5_);
-#line 1118 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp7_ = (gdouble) _tmp6_;
-#line 1118 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp5_);
-#line 1118 "/home/jens/Source/shotwell/src/Printing.vala"
- dpi = _tmp7_;
#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
+ dpi = _tmp7_;
+#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp8_ = job;
-#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp9_ = print_job_get_local_settings (_tmp8_);
-#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp10_ = _tmp9_;
-#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp11_ = print_settings_get_print_titles_font (_tmp10_);
-#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp12_ = _tmp11_;
-#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp13_ = pango_font_description_from_string (_tmp12_);
-#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp14_ = _tmp13_;
-#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
_g_free0 (_tmp12_);
-#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (_tmp10_);
-#line 1119 "/home/jens/Source/shotwell/src/Printing.vala"
- title_font_description = _tmp14_;
#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
+ title_font_description = _tmp14_;
+#line 1121 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp15_ = pango_cairo_create_layout (dc);
-#line 1120 "/home/jens/Source/shotwell/src/Printing.vala"
- title_layout = _tmp15_;
#line 1121 "/home/jens/Source/shotwell/src/Printing.vala"
+ title_layout = _tmp15_;
+#line 1122 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp16_ = pango_layout_get_context (title_layout);
-#line 1121 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1122 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp17_ = _g_object_ref0 (_tmp16_);
-#line 1121 "/home/jens/Source/shotwell/src/Printing.vala"
- context = _tmp17_;
#line 1122 "/home/jens/Source/shotwell/src/Printing.vala"
- pango_cairo_context_set_resolution (context, dpi);
+ context = _tmp17_;
#line 1123 "/home/jens/Source/shotwell/src/Printing.vala"
- pango_layout_set_font_description (title_layout, title_font_description);
+ pango_cairo_context_set_resolution (context, dpi);
#line 1124 "/home/jens/Source/shotwell/src/Printing.vala"
+ pango_layout_set_font_description (title_layout, title_font_description);
+#line 1125 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp18_ = title;
-#line 1124 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1125 "/home/jens/Source/shotwell/src/Printing.vala"
pango_layout_set_text (title_layout, _tmp18_, -1);
-#line 1126 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1127 "/home/jens/Source/shotwell/src/Printing.vala"
pango_layout_get_pixel_size (title_layout, &_tmp19_, &_tmp20_);
-#line 1126 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1127 "/home/jens/Source/shotwell/src/Printing.vala"
title_width = _tmp19_;
-#line 1126 "/home/jens/Source/shotwell/src/Printing.vala"
- title_height = _tmp20_;
#line 1127 "/home/jens/Source/shotwell/src/Printing.vala"
+ title_height = _tmp20_;
+#line 1128 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp21_ = x;
-#line 1127 "/home/jens/Source/shotwell/src/Printing.vala"
- tx = (dpi * _tmp21_) - (title_width / 2);
#line 1128 "/home/jens/Source/shotwell/src/Printing.vala"
+ tx = (dpi * _tmp21_) - (title_width / 2);
+#line 1129 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp22_ = y;
-#line 1128 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1129 "/home/jens/Source/shotwell/src/Printing.vala"
ty = (dpi * _tmp22_) - title_height;
-#line 1131 "/home/jens/Source/shotwell/src/Printing.vala"
- cairo_rectangle (dc, tx - 10, ty + 2, (gdouble) (title_width + 20), (gdouble) title_height);
#line 1132 "/home/jens/Source/shotwell/src/Printing.vala"
- cairo_set_source_rgba (dc, (gdouble) 1, (gdouble) 1, (gdouble) 1, (gdouble) 1);
+ cairo_rectangle (dc, tx - 10, ty + 2, (gdouble) (title_width + 20), (gdouble) title_height);
#line 1133 "/home/jens/Source/shotwell/src/Printing.vala"
- cairo_set_line_width (dc, (gdouble) 2);
+ cairo_set_source_rgba (dc, (gdouble) 1, (gdouble) 1, (gdouble) 1, (gdouble) 1);
#line 1134 "/home/jens/Source/shotwell/src/Printing.vala"
- cairo_stroke_preserve (dc);
+ cairo_set_line_width (dc, (gdouble) 2);
#line 1135 "/home/jens/Source/shotwell/src/Printing.vala"
- cairo_set_source_rgba (dc, (gdouble) 1, (gdouble) 1, (gdouble) 1, 0.5);
+ cairo_stroke_preserve (dc);
#line 1136 "/home/jens/Source/shotwell/src/Printing.vala"
- cairo_fill (dc);
+ cairo_set_source_rgba (dc, (gdouble) 1, (gdouble) 1, (gdouble) 1, 0.5);
#line 1137 "/home/jens/Source/shotwell/src/Printing.vala"
+ cairo_fill (dc);
+#line 1138 "/home/jens/Source/shotwell/src/Printing.vala"
cairo_set_source_rgba (dc, (gdouble) 0, (gdouble) 0, (gdouble) 0, (gdouble) 1);
-#line 1139 "/home/jens/Source/shotwell/src/Printing.vala"
- cairo_move_to (dc, tx, ty + 2);
#line 1140 "/home/jens/Source/shotwell/src/Printing.vala"
+ cairo_move_to (dc, tx, ty + 2);
+#line 1141 "/home/jens/Source/shotwell/src/Printing.vala"
pango_cairo_show_layout (dc, title_layout);
-#line 1116 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (context);
-#line 1116 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (title_layout);
-#line 1116 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
__vala_PangoFontDescription_free0 (title_font_description);
-#line 1116 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Printing.vala"
_cairo_destroy0 (dc);
-#line 8355 "Printing.c"
+#line 8347 "Printing.c"
}
@@ -8362,21 +8354,21 @@ static gboolean print_manager_are_approximately_equal (PrintManager* self, gdoub
gdouble _tmp0_ = 0.0;
gdouble _tmp1_ = 0.0;
gdouble _tmp2_ = 0.0;
-#line 1143 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_PRINT_MANAGER (self), FALSE);
#line 1144 "/home/jens/Source/shotwell/src/Printing.vala"
- accept_err = 0.005;
+ g_return_val_if_fail (IS_PRINT_MANAGER (self), FALSE);
#line 1145 "/home/jens/Source/shotwell/src/Printing.vala"
+ accept_err = 0.005;
+#line 1146 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = val1;
-#line 1145 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1146 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = val2;
-#line 1145 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1146 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = fabs (_tmp0_ - _tmp1_);
-#line 1145 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1146 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp2_ <= accept_err;
-#line 1145 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1146 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 8379 "Printing.c"
+#line 8371 "Printing.c"
}
@@ -8384,17 +8376,17 @@ PrintSettings* print_manager_get_global_settings (PrintManager* self) {
PrintSettings* result = NULL;
PrintSettings* _tmp0_ = NULL;
PrintSettings* _tmp1_ = NULL;
-#line 1148 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_val_if_fail (IS_PRINT_MANAGER (self), NULL);
#line 1149 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_val_if_fail (IS_PRINT_MANAGER (self), NULL);
+#line 1150 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = self->priv->settings;
-#line 1149 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _print_settings_ref0 (_tmp0_);
-#line 1149 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Printing.vala"
result = _tmp1_;
-#line 1149 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Printing.vala"
return result;
-#line 8397 "Printing.c"
+#line 8389 "Printing.c"
}
@@ -8402,247 +8394,247 @@ void print_manager_set_global_settings (PrintManager* self, PrintSettings* setti
PrintSettings* _tmp0_ = NULL;
PrintSettings* _tmp1_ = NULL;
PrintSettings* _tmp2_ = NULL;
-#line 1152 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1153 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (IS_PRINT_MANAGER (self));
-#line 1152 "/home/jens/Source/shotwell/src/Printing.vala"
- g_return_if_fail (IS_PRINT_SETTINGS (settings));
#line 1153 "/home/jens/Source/shotwell/src/Printing.vala"
+ g_return_if_fail (IS_PRINT_SETTINGS (settings));
+#line 1154 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp0_ = settings;
-#line 1153 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1154 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp1_ = _print_settings_ref0 (_tmp0_);
-#line 1153 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1154 "/home/jens/Source/shotwell/src/Printing.vala"
_print_settings_unref0 (self->priv->settings);
-#line 1153 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->settings = _tmp1_;
#line 1154 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->priv->settings = _tmp1_;
+#line 1155 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp2_ = settings;
-#line 1154 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Printing.vala"
print_settings_save (_tmp2_);
-#line 8421 "Printing.c"
+#line 8413 "Printing.c"
}
static void value_print_manager_init (GValue* value) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 8428 "Printing.c"
+#line 8420 "Printing.c"
}
static void value_print_manager_free_value (GValue* value) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (value->data[0].v_pointer) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_unref (value->data[0].v_pointer);
-#line 8437 "Printing.c"
+#line 8429 "Printing.c"
}
}
static void value_print_manager_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (src_value->data[0].v_pointer) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
dest_value->data[0].v_pointer = print_manager_ref (src_value->data[0].v_pointer);
-#line 8447 "Printing.c"
+#line 8439 "Printing.c"
} else {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 8451 "Printing.c"
+#line 8443 "Printing.c"
}
}
static gpointer value_print_manager_peek_pointer (const GValue* value) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
return value->data[0].v_pointer;
-#line 8459 "Printing.c"
+#line 8451 "Printing.c"
}
static gchar* value_print_manager_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (collect_values[0].v_pointer) {
-#line 8466 "Printing.c"
+#line 8458 "Printing.c"
PrintManager* object;
object = collect_values[0].v_pointer;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (object->parent_instance.g_class == NULL) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 8473 "Printing.c"
+#line 8465 "Printing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.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 8477 "Printing.c"
+#line 8469 "Printing.c"
}
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = print_manager_ref (object);
-#line 8481 "Printing.c"
+#line 8473 "Printing.c"
} else {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 8485 "Printing.c"
+#line 8477 "Printing.c"
}
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
return NULL;
-#line 8489 "Printing.c"
+#line 8481 "Printing.c"
}
static gchar* value_print_manager_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
PrintManager** object_p;
object_p = collect_values[0].v_pointer;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (!object_p) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 8500 "Printing.c"
+#line 8492 "Printing.c"
}
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (!value->data[0].v_pointer) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = NULL;
-#line 8506 "Printing.c"
+#line 8498 "Printing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = value->data[0].v_pointer;
-#line 8510 "Printing.c"
+#line 8502 "Printing.c"
} else {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
*object_p = print_manager_ref (value->data[0].v_pointer);
-#line 8514 "Printing.c"
+#line 8506 "Printing.c"
}
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
return NULL;
-#line 8518 "Printing.c"
+#line 8510 "Printing.c"
}
GParamSpec* param_spec_print_manager (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecPrintManager* spec;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_PRINT_MANAGER), NULL);
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
return G_PARAM_SPEC (spec);
-#line 8532 "Printing.c"
+#line 8524 "Printing.c"
}
gpointer value_get_print_manager (const GValue* value) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PRINT_MANAGER), NULL);
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
return value->data[0].v_pointer;
-#line 8541 "Printing.c"
+#line 8533 "Printing.c"
}
void value_set_print_manager (GValue* value, gpointer v_object) {
PrintManager* old;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PRINT_MANAGER));
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
old = value->data[0].v_pointer;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (v_object) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PRINT_MANAGER));
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = v_object;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_ref (value->data[0].v_pointer);
-#line 8561 "Printing.c"
+#line 8553 "Printing.c"
} else {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 8565 "Printing.c"
+#line 8557 "Printing.c"
}
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (old) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_unref (old);
-#line 8571 "Printing.c"
+#line 8563 "Printing.c"
}
}
void value_take_print_manager (GValue* value, gpointer v_object) {
PrintManager* old;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PRINT_MANAGER));
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
old = value->data[0].v_pointer;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (v_object) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PRINT_MANAGER));
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = v_object;
-#line 8590 "Printing.c"
+#line 8582 "Printing.c"
} else {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
value->data[0].v_pointer = NULL;
-#line 8594 "Printing.c"
+#line 8586 "Printing.c"
}
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (old) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_unref (old);
-#line 8600 "Printing.c"
+#line 8592 "Printing.c"
}
}
static void print_manager_class_init (PrintManagerClass * klass) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
print_manager_parent_class = g_type_class_peek_parent (klass);
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
((PrintManagerClass *) klass)->finalize = print_manager_finalize;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_type_class_add_private (klass, sizeof (PrintManagerPrivate));
-#line 8612 "Printing.c"
+#line 8604 "Printing.c"
}
static void print_manager_instance_init (PrintManager * self) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv = PRINT_MANAGER_GET_PRIVATE (self);
-#line 806 "/home/jens/Source/shotwell/src/Printing.vala"
- self->priv->progress_dialog = NULL;
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
+ self->priv->progress_dialog = NULL;
+#line 808 "/home/jens/Source/shotwell/src/Printing.vala"
self->priv->cancellable = NULL;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
self->ref_count = 1;
-#line 8625 "Printing.c"
+#line 8617 "Printing.c"
}
static void print_manager_finalize (PrintManager* obj) {
PrintManager * self;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PRINT_MANAGER, PrintManager);
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_signal_handlers_destroy (self);
-#line 803 "/home/jens/Source/shotwell/src/Printing.vala"
- _print_settings_unref0 (self->priv->settings);
#line 804 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_object_unref0 (self->priv->user_page_setup);
+ _print_settings_unref0 (self->priv->settings);
#line 805 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_object_unref0 (self->priv->custom_tab);
+ _g_object_unref0 (self->priv->user_page_setup);
#line 806 "/home/jens/Source/shotwell/src/Printing.vala"
- _g_object_unref0 (self->priv->progress_dialog);
+ _g_object_unref0 (self->priv->custom_tab);
#line 807 "/home/jens/Source/shotwell/src/Printing.vala"
+ _g_object_unref0 (self->priv->progress_dialog);
+#line 808 "/home/jens/Source/shotwell/src/Printing.vala"
_g_object_unref0 (self->priv->cancellable);
-#line 8645 "Printing.c"
+#line 8637 "Printing.c"
}
@@ -8663,24 +8655,24 @@ GType print_manager_get_type (void) {
gpointer print_manager_ref (gpointer instance) {
PrintManager* self;
self = instance;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_atomic_int_inc (&self->ref_count);
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
return instance;
-#line 8670 "Printing.c"
+#line 8662 "Printing.c"
}
void print_manager_unref (gpointer instance) {
PrintManager* self;
self = instance;
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
PRINT_MANAGER_GET_CLASS (self)->finalize (self);
-#line 798 "/home/jens/Source/shotwell/src/Printing.vala"
+#line 799 "/home/jens/Source/shotwell/src/Printing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 8683 "Printing.c"
+#line 8675 "Printing.c"
}
}
diff --git a/src/Printing.vala b/src/Printing.vala
index a7505ef..1f255b3 100644
--- a/src/Printing.vala
+++ b/src/Printing.vala
@@ -513,7 +513,8 @@ public class CustomPrintTab : Gtk.Fixed {
if (length == -1)
length = (int) text.length;
- string decimal_point = Intl.localeconv().decimal_point;
+ unowned string decimal_point = Posix.nl_langinfo (Posix.NLItem.RADIXCHAR);
+
bool contains_decimal_point = sender.get_text().contains(decimal_point);
string new_text = "";
diff --git a/src/Resources.c b/src/Resources.c
index e97ed4c..62a6c92 100644
--- a/src/Resources.c
+++ b/src/Resources.c
@@ -20,6 +20,7 @@
#include <gee.h>
#include <gio/gio.h>
#include <locale.h>
+#include <langinfo.h>
#include <gdk/gdk.h>
#define _g_free0(var) (var = (g_free (var), NULL))
@@ -517,7 +518,7 @@ gchar* resources_launch_editor_failed (GError* err) {
result = _tmp3_;
#line 335 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 490 "Resources.c"
+#line 491 "Resources.c"
}
@@ -531,7 +532,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
_tmp0__length1 = names_length1;
#line 339 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0__length1 == 1) {
-#line 504 "Resources.c"
+#line 505 "Resources.c"
const gchar* _tmp1_ = NULL;
gchar** _tmp2_ = NULL;
gint _tmp2__length1 = 0;
@@ -562,7 +563,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
result = _tmp7_;
#line 340 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 535 "Resources.c"
+#line 536 "Resources.c"
} else {
gchar** _tmp8_ = NULL;
gint _tmp8__length1 = 0;
@@ -572,7 +573,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
_tmp8__length1 = names_length1;
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp8__length1 == 2) {
-#line 545 "Resources.c"
+#line 546 "Resources.c"
const gchar* _tmp9_ = NULL;
gchar** _tmp10_ = NULL;
gint _tmp10__length1 = 0;
@@ -620,7 +621,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
result = _tmp19_;
#line 343 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 593 "Resources.c"
+#line 594 "Resources.c"
} else {
const gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
@@ -632,7 +633,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
result = _tmp21_;
#line 348 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 605 "Resources.c"
+#line 606 "Resources.c"
}
}
}
@@ -655,7 +656,7 @@ gchar* resources_delete_tag_menu (const gchar* name) {
result = _tmp2_;
#line 353 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 628 "Resources.c"
+#line 629 "Resources.c"
}
@@ -676,7 +677,7 @@ gchar* resources_delete_tag_label (const gchar* name) {
result = _tmp2_;
#line 357 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 649 "Resources.c"
+#line 650 "Resources.c"
}
@@ -697,7 +698,7 @@ gchar* resources_rename_tag_menu (const gchar* name) {
result = _tmp2_;
#line 366 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 670 "Resources.c"
+#line 671 "Resources.c"
}
@@ -723,7 +724,7 @@ gchar* resources_rename_tag_label (const gchar* old_name, const gchar* new_name)
result = _tmp3_;
#line 370 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 696 "Resources.c"
+#line 697 "Resources.c"
}
@@ -739,20 +740,20 @@ gchar* resources_tag_photos_label (const gchar* name, gint count) {
_tmp1_ = count;
#line 379 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp1_ == 1) {
-#line 712 "Resources.c"
+#line 713 "Resources.c"
const gchar* _tmp2_ = NULL;
#line 379 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = _ ("Tag Photo as \"%s\"");
#line 379 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = _tmp2_;
-#line 718 "Resources.c"
+#line 719 "Resources.c"
} else {
const gchar* _tmp3_ = NULL;
#line 379 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = _ ("Tag Photos as \"%s\"");
#line 379 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = _tmp3_;
-#line 725 "Resources.c"
+#line 726 "Resources.c"
}
#line 379 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = name;
@@ -762,7 +763,7 @@ gchar* resources_tag_photos_label (const gchar* name, gint count) {
result = _tmp5_;
#line 379 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 735 "Resources.c"
+#line 736 "Resources.c"
}
@@ -778,20 +779,20 @@ gchar* resources_tag_photos_tooltip (const gchar* name, gint count) {
_tmp1_ = count;
#line 383 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp1_ == 1) {
-#line 751 "Resources.c"
+#line 752 "Resources.c"
const gchar* _tmp2_ = NULL;
#line 383 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = _ ("Tag the selected photo as \"%s\"");
#line 383 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = _tmp2_;
-#line 757 "Resources.c"
+#line 758 "Resources.c"
} else {
const gchar* _tmp3_ = NULL;
#line 384 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = _ ("Tag the selected photos as \"%s\"");
#line 384 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = _tmp3_;
-#line 764 "Resources.c"
+#line 765 "Resources.c"
}
#line 383 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = name;
@@ -801,7 +802,7 @@ gchar* resources_tag_photos_tooltip (const gchar* name, gint count) {
result = _tmp5_;
#line 383 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 774 "Resources.c"
+#line 775 "Resources.c"
}
@@ -817,20 +818,20 @@ gchar* resources_untag_photos_menu (const gchar* name, gint count) {
_tmp1_ = count;
#line 388 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp1_ == 1) {
-#line 790 "Resources.c"
+#line 791 "Resources.c"
const gchar* _tmp2_ = NULL;
#line 388 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = _ ("Remove Tag \"%s\" From _Photo");
#line 388 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = _tmp2_;
-#line 796 "Resources.c"
+#line 797 "Resources.c"
} else {
const gchar* _tmp3_ = NULL;
#line 389 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = _ ("Remove Tag \"%s\" From _Photos");
#line 389 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = _tmp3_;
-#line 803 "Resources.c"
+#line 804 "Resources.c"
}
#line 388 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = name;
@@ -840,7 +841,7 @@ gchar* resources_untag_photos_menu (const gchar* name, gint count) {
result = _tmp5_;
#line 388 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 813 "Resources.c"
+#line 814 "Resources.c"
}
@@ -856,20 +857,20 @@ gchar* resources_untag_photos_label (const gchar* name, gint count) {
_tmp1_ = count;
#line 393 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp1_ == 1) {
-#line 829 "Resources.c"
+#line 830 "Resources.c"
const gchar* _tmp2_ = NULL;
#line 393 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = _ ("Remove Tag \"%s\" From Photo");
#line 393 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = _tmp2_;
-#line 835 "Resources.c"
+#line 836 "Resources.c"
} else {
const gchar* _tmp3_ = NULL;
#line 394 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = _ ("Remove Tag \"%s\" From Photos");
#line 394 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = _tmp3_;
-#line 842 "Resources.c"
+#line 843 "Resources.c"
}
#line 393 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = name;
@@ -879,7 +880,7 @@ gchar* resources_untag_photos_label (const gchar* name, gint count) {
result = _tmp5_;
#line 393 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 852 "Resources.c"
+#line 853 "Resources.c"
}
@@ -900,7 +901,7 @@ gchar* resources_rename_tag_exists_message (const gchar* name) {
result = _tmp2_;
#line 398 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 873 "Resources.c"
+#line 874 "Resources.c"
}
@@ -921,7 +922,7 @@ gchar* resources_rename_search_exists_message (const gchar* name) {
result = _tmp2_;
#line 402 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 894 "Resources.c"
+#line 895 "Resources.c"
}
@@ -947,7 +948,7 @@ gchar* resources_rename_search_label (const gchar* old_name, const gchar* new_na
result = _tmp3_;
#line 414 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 920 "Resources.c"
+#line 921 "Resources.c"
}
@@ -968,7 +969,7 @@ gchar* resources_delete_search_label (const gchar* name) {
result = _tmp2_;
#line 418 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 941 "Resources.c"
+#line 942 "Resources.c"
}
@@ -981,27 +982,27 @@ const gchar* resources_rating_menu (Rating rating) {
switch (_tmp0_) {
#line 422 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 954 "Resources.c"
+#line 955 "Resources.c"
{
#line 424 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_REJECTED_MENU;
#line 424 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 960 "Resources.c"
+#line 961 "Resources.c"
}
#line 422 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_UNRATED:
-#line 964 "Resources.c"
+#line 965 "Resources.c"
{
#line 426 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_UNRATED_MENU;
#line 426 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 970 "Resources.c"
+#line 971 "Resources.c"
}
#line 422 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 974 "Resources.c"
+#line 975 "Resources.c"
{
const gchar* _tmp1_ = NULL;
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1010,11 +1011,11 @@ const gchar* resources_rating_menu (Rating rating) {
result = _tmp1_;
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 983 "Resources.c"
+#line 984 "Resources.c"
}
#line 422 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 987 "Resources.c"
+#line 988 "Resources.c"
{
const gchar* _tmp2_ = NULL;
#line 430 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1023,11 +1024,11 @@ const gchar* resources_rating_menu (Rating rating) {
result = _tmp2_;
#line 430 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 996 "Resources.c"
+#line 997 "Resources.c"
}
#line 422 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1000 "Resources.c"
+#line 1001 "Resources.c"
{
const gchar* _tmp3_ = NULL;
#line 432 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1036,11 +1037,11 @@ const gchar* resources_rating_menu (Rating rating) {
result = _tmp3_;
#line 432 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1009 "Resources.c"
+#line 1010 "Resources.c"
}
#line 422 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1013 "Resources.c"
+#line 1014 "Resources.c"
{
const gchar* _tmp4_ = NULL;
#line 434 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1049,11 +1050,11 @@ const gchar* resources_rating_menu (Rating rating) {
result = _tmp4_;
#line 434 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1022 "Resources.c"
+#line 1023 "Resources.c"
}
#line 422 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1026 "Resources.c"
+#line 1027 "Resources.c"
{
const gchar* _tmp5_ = NULL;
#line 436 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1062,7 +1063,7 @@ const gchar* resources_rating_menu (Rating rating) {
result = _tmp5_;
#line 436 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1035 "Resources.c"
+#line 1036 "Resources.c"
}
default:
{
@@ -1070,7 +1071,7 @@ const gchar* resources_rating_menu (Rating rating) {
result = RESOURCES_RATE_UNRATED_MENU;
#line 438 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1043 "Resources.c"
+#line 1044 "Resources.c"
}
}
}
@@ -1085,27 +1086,27 @@ const gchar* resources_rating_label (Rating rating) {
switch (_tmp0_) {
#line 443 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 1058 "Resources.c"
+#line 1059 "Resources.c"
{
#line 445 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_REJECTED_LABEL;
#line 445 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1064 "Resources.c"
+#line 1065 "Resources.c"
}
#line 443 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_UNRATED:
-#line 1068 "Resources.c"
+#line 1069 "Resources.c"
{
#line 447 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_UNRATED_LABEL;
#line 447 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1074 "Resources.c"
+#line 1075 "Resources.c"
}
#line 443 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1078 "Resources.c"
+#line 1079 "Resources.c"
{
const gchar* _tmp1_ = NULL;
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1114,11 +1115,11 @@ const gchar* resources_rating_label (Rating rating) {
result = _tmp1_;
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1087 "Resources.c"
+#line 1088 "Resources.c"
}
#line 443 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1091 "Resources.c"
+#line 1092 "Resources.c"
{
const gchar* _tmp2_ = NULL;
#line 451 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1127,11 +1128,11 @@ const gchar* resources_rating_label (Rating rating) {
result = _tmp2_;
#line 451 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1100 "Resources.c"
+#line 1101 "Resources.c"
}
#line 443 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1104 "Resources.c"
+#line 1105 "Resources.c"
{
const gchar* _tmp3_ = NULL;
#line 453 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1140,11 +1141,11 @@ const gchar* resources_rating_label (Rating rating) {
result = _tmp3_;
#line 453 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1113 "Resources.c"
+#line 1114 "Resources.c"
}
#line 443 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1117 "Resources.c"
+#line 1118 "Resources.c"
{
const gchar* _tmp4_ = NULL;
#line 455 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1153,11 +1154,11 @@ const gchar* resources_rating_label (Rating rating) {
result = _tmp4_;
#line 455 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1126 "Resources.c"
+#line 1127 "Resources.c"
}
#line 443 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1130 "Resources.c"
+#line 1131 "Resources.c"
{
const gchar* _tmp5_ = NULL;
#line 457 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1166,7 +1167,7 @@ const gchar* resources_rating_label (Rating rating) {
result = _tmp5_;
#line 457 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1139 "Resources.c"
+#line 1140 "Resources.c"
}
default:
{
@@ -1174,7 +1175,7 @@ const gchar* resources_rating_label (Rating rating) {
result = RESOURCES_RATE_UNRATED_LABEL;
#line 459 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1147 "Resources.c"
+#line 1148 "Resources.c"
}
}
}
@@ -1189,27 +1190,27 @@ const gchar* resources_rating_combo_box (Rating rating) {
switch (_tmp0_) {
#line 464 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 1162 "Resources.c"
+#line 1163 "Resources.c"
{
#line 466 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_REJECTED_COMBO_BOX;
#line 466 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1168 "Resources.c"
+#line 1169 "Resources.c"
}
#line 464 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_UNRATED:
-#line 1172 "Resources.c"
+#line 1173 "Resources.c"
{
#line 468 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_UNRATED_COMBO_BOX;
#line 468 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1178 "Resources.c"
+#line 1179 "Resources.c"
}
#line 464 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1182 "Resources.c"
+#line 1183 "Resources.c"
{
const gchar* _tmp1_ = NULL;
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1218,11 +1219,11 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = _tmp1_;
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1191 "Resources.c"
+#line 1192 "Resources.c"
}
#line 464 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1195 "Resources.c"
+#line 1196 "Resources.c"
{
const gchar* _tmp2_ = NULL;
#line 472 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1231,11 +1232,11 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = _tmp2_;
#line 472 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1204 "Resources.c"
+#line 1205 "Resources.c"
}
#line 464 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1208 "Resources.c"
+#line 1209 "Resources.c"
{
const gchar* _tmp3_ = NULL;
#line 474 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1244,11 +1245,11 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = _tmp3_;
#line 474 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1217 "Resources.c"
+#line 1218 "Resources.c"
}
#line 464 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1221 "Resources.c"
+#line 1222 "Resources.c"
{
const gchar* _tmp4_ = NULL;
#line 476 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1257,11 +1258,11 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = _tmp4_;
#line 476 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1230 "Resources.c"
+#line 1231 "Resources.c"
}
#line 464 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1234 "Resources.c"
+#line 1235 "Resources.c"
{
const gchar* _tmp5_ = NULL;
#line 478 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1270,7 +1271,7 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = _tmp5_;
#line 478 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1243 "Resources.c"
+#line 1244 "Resources.c"
}
default:
{
@@ -1278,7 +1279,7 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = RESOURCES_RATE_UNRATED_MENU;
#line 480 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1251 "Resources.c"
+#line 1252 "Resources.c"
}
}
}
@@ -1293,7 +1294,7 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
switch (_tmp0_) {
#line 485 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 1266 "Resources.c"
+#line 1267 "Resources.c"
{
gchar* _tmp1_ = NULL;
#line 487 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1302,11 +1303,11 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp1_;
#line 487 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1275 "Resources.c"
+#line 1276 "Resources.c"
}
#line 485 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 1279 "Resources.c"
+#line 1280 "Resources.c"
{
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
@@ -1318,11 +1319,11 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp3_;
#line 490 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1291 "Resources.c"
+#line 1292 "Resources.c"
}
#line 485 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 1295 "Resources.c"
+#line 1296 "Resources.c"
{
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
@@ -1334,11 +1335,11 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp5_;
#line 493 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1307 "Resources.c"
+#line 1308 "Resources.c"
}
#line 485 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 1311 "Resources.c"
+#line 1312 "Resources.c"
{
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
@@ -1350,11 +1351,11 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp7_;
#line 496 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1323 "Resources.c"
+#line 1324 "Resources.c"
}
#line 485 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 1327 "Resources.c"
+#line 1328 "Resources.c"
{
const gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
@@ -1366,13 +1367,13 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp9_;
#line 499 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1339 "Resources.c"
+#line 1340 "Resources.c"
}
#line 485 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_FIVE_ONLY:
#line 485 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_FIVE_OR_HIGHER:
-#line 1345 "Resources.c"
+#line 1346 "Resources.c"
{
const gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
@@ -1384,11 +1385,11 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp11_;
#line 503 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1357 "Resources.c"
+#line 1358 "Resources.c"
}
#line 485 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 1361 "Resources.c"
+#line 1362 "Resources.c"
{
gchar* _tmp12_ = NULL;
#line 506 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1397,12 +1398,12 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp12_;
#line 506 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1370 "Resources.c"
+#line 1371 "Resources.c"
}
default:
#line 485 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 1375 "Resources.c"
+#line 1376 "Resources.c"
{
gchar* _tmp13_ = NULL;
#line 510 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1411,7 +1412,7 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp13_;
#line 510 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1384 "Resources.c"
+#line 1385 "Resources.c"
}
}
}
@@ -1426,7 +1427,7 @@ gchar* resources_rating_progress (Rating rating) {
switch (_tmp0_) {
#line 515 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 1399 "Resources.c"
+#line 1400 "Resources.c"
{
gchar* _tmp1_ = NULL;
#line 517 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1435,11 +1436,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp1_;
#line 517 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1408 "Resources.c"
+#line 1409 "Resources.c"
}
#line 515 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_UNRATED:
-#line 1412 "Resources.c"
+#line 1413 "Resources.c"
{
gchar* _tmp2_ = NULL;
#line 519 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1448,11 +1449,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp2_;
#line 519 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1421 "Resources.c"
+#line 1422 "Resources.c"
}
#line 515 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1425 "Resources.c"
+#line 1426 "Resources.c"
{
const gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
@@ -1464,11 +1465,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp4_;
#line 521 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1437 "Resources.c"
+#line 1438 "Resources.c"
}
#line 515 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1441 "Resources.c"
+#line 1442 "Resources.c"
{
const gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
@@ -1480,11 +1481,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp6_;
#line 523 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1453 "Resources.c"
+#line 1454 "Resources.c"
}
#line 515 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1457 "Resources.c"
+#line 1458 "Resources.c"
{
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
@@ -1496,11 +1497,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp8_;
#line 525 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1469 "Resources.c"
+#line 1470 "Resources.c"
}
#line 515 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1473 "Resources.c"
+#line 1474 "Resources.c"
{
const gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
@@ -1512,11 +1513,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp10_;
#line 527 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1485 "Resources.c"
+#line 1486 "Resources.c"
}
#line 515 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1489 "Resources.c"
+#line 1490 "Resources.c"
{
const gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
@@ -1528,7 +1529,7 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp12_;
#line 529 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1501 "Resources.c"
+#line 1502 "Resources.c"
}
default:
{
@@ -1539,7 +1540,7 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp13_;
#line 531 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1512 "Resources.c"
+#line 1513 "Resources.c"
}
}
}
@@ -1554,7 +1555,7 @@ gchar* resources_get_stars (Rating rating) {
switch (_tmp0_) {
#line 538 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1527 "Resources.c"
+#line 1528 "Resources.c"
{
gchar* _tmp1_ = NULL;
#line 540 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1563,11 +1564,11 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp1_;
#line 540 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1536 "Resources.c"
+#line 1537 "Resources.c"
}
#line 538 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1540 "Resources.c"
+#line 1541 "Resources.c"
{
gchar* _tmp2_ = NULL;
#line 542 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1576,11 +1577,11 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp2_;
#line 542 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1549 "Resources.c"
+#line 1550 "Resources.c"
}
#line 538 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1553 "Resources.c"
+#line 1554 "Resources.c"
{
gchar* _tmp3_ = NULL;
#line 544 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1589,11 +1590,11 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp3_;
#line 544 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1562 "Resources.c"
+#line 1563 "Resources.c"
}
#line 538 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1566 "Resources.c"
+#line 1567 "Resources.c"
{
gchar* _tmp4_ = NULL;
#line 546 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1602,11 +1603,11 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp4_;
#line 546 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1575 "Resources.c"
+#line 1576 "Resources.c"
}
#line 538 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1579 "Resources.c"
+#line 1580 "Resources.c"
{
gchar* _tmp5_ = NULL;
#line 548 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1615,7 +1616,7 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp5_;
#line 548 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1588 "Resources.c"
+#line 1589 "Resources.c"
}
default:
{
@@ -1626,7 +1627,7 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp6_;
#line 550 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1599 "Resources.c"
+#line 1600 "Resources.c"
}
}
}
@@ -1641,7 +1642,7 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
switch (_tmp0_) {
#line 555 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 1614 "Resources.c"
+#line 1615 "Resources.c"
{
gint _tmp1_ = 0;
GdkPixbuf* _tmp2_ = NULL;
@@ -1653,11 +1654,11 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp2_;
#line 557 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1626 "Resources.c"
+#line 1627 "Resources.c"
}
#line 555 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1630 "Resources.c"
+#line 1631 "Resources.c"
{
gint _tmp3_ = 0;
GdkPixbuf* _tmp4_ = NULL;
@@ -1669,11 +1670,11 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp4_;
#line 560 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1642 "Resources.c"
+#line 1643 "Resources.c"
}
#line 555 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1646 "Resources.c"
+#line 1647 "Resources.c"
{
gint _tmp5_ = 0;
GdkPixbuf* _tmp6_ = NULL;
@@ -1685,11 +1686,11 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp6_;
#line 562 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1658 "Resources.c"
+#line 1659 "Resources.c"
}
#line 555 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1662 "Resources.c"
+#line 1663 "Resources.c"
{
gint _tmp7_ = 0;
GdkPixbuf* _tmp8_ = NULL;
@@ -1701,11 +1702,11 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp8_;
#line 564 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1674 "Resources.c"
+#line 1675 "Resources.c"
}
#line 555 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1678 "Resources.c"
+#line 1679 "Resources.c"
{
gint _tmp9_ = 0;
GdkPixbuf* _tmp10_ = NULL;
@@ -1717,11 +1718,11 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp10_;
#line 566 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1690 "Resources.c"
+#line 1691 "Resources.c"
}
#line 555 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1694 "Resources.c"
+#line 1695 "Resources.c"
{
gint _tmp11_ = 0;
GdkPixbuf* _tmp12_ = NULL;
@@ -1733,7 +1734,7 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp12_;
#line 568 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1706 "Resources.c"
+#line 1707 "Resources.c"
}
default:
{
@@ -1741,7 +1742,7 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = NULL;
#line 570 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1714 "Resources.c"
+#line 1715 "Resources.c"
}
}
}
@@ -2377,7 +2378,7 @@ void resources_generate_rating_strings (void) {
_g_free0 (label_base);
#line 574 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (menu_base);
-#line 2350 "Resources.c"
+#line 2351 "Resources.c"
}
@@ -2399,14 +2400,14 @@ gchar* resources_jump_to_file_failed (GError* err) {
result = _tmp3_;
#line 685 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2372 "Resources.c"
+#line 2373 "Resources.c"
}
static void _dim_pixbuf_resources_add_stock_icon_modify (GdkPixbuf* pixbuf, gpointer self) {
#line 726 "/home/jens/Source/shotwell/src/Resources.vala"
dim_pixbuf (pixbuf);
-#line 2379 "Resources.c"
+#line 2380 "Resources.c"
}
@@ -2614,7 +2615,7 @@ void resources_init (void) {
resources_generate_rating_strings ();
#line 707 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (icons_dir);
-#line 2587 "Resources.c"
+#line 2588 "Resources.c"
}
@@ -2644,22 +2645,21 @@ void resources_fetch_lc_time_format (void) {
const gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
- const gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
- const gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
- const gchar* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
- const gchar* _tmp17_ = NULL;
- gchar* _tmp18_ = NULL;
- const gchar* _tmp19_ = NULL;
- gchar* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
- gchar* _tmp22_ = NULL;
- const gchar* _tmp23_ = NULL;
- const gchar* _tmp25_ = NULL;
+ gchar* _tmp9_ = NULL;
+ const gchar* _tmp10_ = NULL;
+ gchar* _tmp11_ = NULL;
+ const gchar* _tmp12_ = NULL;
+ gchar* _tmp13_ = NULL;
+ const gchar* _tmp14_ = NULL;
+ gchar* _tmp15_ = NULL;
+ const gchar* _tmp16_ = NULL;
+ gchar* _tmp17_ = NULL;
+ const gchar* _tmp18_ = NULL;
+ gchar* _tmp19_ = NULL;
+ const gchar* _tmp20_ = NULL;
+ gchar* _tmp21_ = NULL;
+ const gchar* _tmp22_ = NULL;
+ const gchar* _tmp24_ = NULL;
#line 756 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = g_getenv ("LANGUAGE");
#line 756 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -2699,84 +2699,82 @@ void resources_fetch_lc_time_format (void) {
#line 2669 "Resources.c"
}
#line 773 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp9_ = _ ("%-I:%M %p");
-#line 773 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp10_ = g_strdup (_tmp9_);
+ _tmp9_ = g_strdup ("%X");
#line 773 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_HH_MM_FORMAT_STRING);
#line 773 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_HH_MM_FORMAT_STRING = _tmp10_;
+ resources_HH_MM_FORMAT_STRING = _tmp9_;
#line 778 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp11_ = _ ("%-I:%M:%S %p");
+ _tmp10_ = nl_langinfo (T_FMT);
#line 778 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp12_ = g_strdup (_tmp11_);
+ _tmp11_ = g_strdup (_tmp10_);
#line 778 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_HH_MM_SS_FORMAT_STRING);
#line 778 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_HH_MM_SS_FORMAT_STRING = _tmp12_;
+ resources_HH_MM_SS_FORMAT_STRING = _tmp11_;
#line 782 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp13_ = _ ("%a %b %d, %Y");
+ _tmp12_ = _ ("%a %b %d, %Y");
#line 782 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp14_ = g_strdup (_tmp13_);
+ _tmp13_ = g_strdup (_tmp12_);
#line 782 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_LONG_DATE_FORMAT_STRING);
#line 782 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_LONG_DATE_FORMAT_STRING = _tmp14_;
+ resources_LONG_DATE_FORMAT_STRING = _tmp13_;
#line 787 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp15_ = C_ ("MultidayFormat", "%a %b %d");
+ _tmp14_ = C_ ("MultidayFormat", "%a %b %d");
#line 787 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp16_ = g_strdup (_tmp15_);
+ _tmp15_ = g_strdup (_tmp14_);
#line 787 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_START_MULTIDAY_DATE_FORMAT_STRING);
#line 787 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_START_MULTIDAY_DATE_FORMAT_STRING = _tmp16_;
+ resources_START_MULTIDAY_DATE_FORMAT_STRING = _tmp15_;
#line 792 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp17_ = C_ ("MultidayFormat", "%d, %Y");
+ _tmp16_ = C_ ("MultidayFormat", "%d, %Y");
#line 792 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp18_ = g_strdup (_tmp17_);
+ _tmp17_ = g_strdup (_tmp16_);
#line 792 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_END_MULTIDAY_DATE_FORMAT_STRING);
#line 792 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_END_MULTIDAY_DATE_FORMAT_STRING = _tmp18_;
+ resources_END_MULTIDAY_DATE_FORMAT_STRING = _tmp17_;
#line 797 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp19_ = C_ ("MultimonthFormat", "%a %b %d");
+ _tmp18_ = C_ ("MultimonthFormat", "%a %b %d");
#line 797 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp20_ = g_strdup (_tmp19_);
+ _tmp19_ = g_strdup (_tmp18_);
#line 797 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_START_MULTIMONTH_DATE_FORMAT_STRING);
#line 797 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_START_MULTIMONTH_DATE_FORMAT_STRING = _tmp20_;
+ resources_START_MULTIMONTH_DATE_FORMAT_STRING = _tmp19_;
#line 802 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp21_ = C_ ("MultimonthFormat", "%a %b %d, %Y");
+ _tmp20_ = C_ ("MultimonthFormat", "%a %b %d, %Y");
#line 802 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp22_ = g_strdup (_tmp21_);
+ _tmp21_ = g_strdup (_tmp20_);
#line 802 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_END_MULTIMONTH_DATE_FORMAT_STRING);
#line 802 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_END_MULTIMONTH_DATE_FORMAT_STRING = _tmp22_;
+ resources_END_MULTIMONTH_DATE_FORMAT_STRING = _tmp21_;
#line 805 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp23_ = old_messages;
+ _tmp22_ = old_messages;
#line 805 "/home/jens/Source/shotwell/src/Resources.vala"
- if (_tmp23_ != NULL) {
-#line 2731 "Resources.c"
- const gchar* _tmp24_ = NULL;
+ if (_tmp22_ != NULL) {
+#line 2729 "Resources.c"
+ const gchar* _tmp23_ = NULL;
#line 806 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp24_ = old_messages;
+ _tmp23_ = old_messages;
#line 806 "/home/jens/Source/shotwell/src/Resources.vala"
- setlocale (LC_MESSAGES, _tmp24_);
-#line 2737 "Resources.c"
+ setlocale (LC_MESSAGES, _tmp23_);
+#line 2735 "Resources.c"
}
#line 809 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp25_ = old_language;
+ _tmp24_ = old_language;
#line 809 "/home/jens/Source/shotwell/src/Resources.vala"
- if (_tmp25_ != NULL) {
-#line 2743 "Resources.c"
- const gchar* _tmp26_ = NULL;
+ if (_tmp24_ != NULL) {
+#line 2741 "Resources.c"
+ const gchar* _tmp25_ = NULL;
#line 810 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp26_ = old_language;
+ _tmp25_ = old_language;
#line 810 "/home/jens/Source/shotwell/src/Resources.vala"
- g_setenv ("LANGUAGE", _tmp26_, TRUE);
-#line 2749 "Resources.c"
+ g_setenv ("LANGUAGE", _tmp25_, TRUE);
+#line 2747 "Resources.c"
}
#line 753 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (lc_time);
@@ -2784,7 +2782,7 @@ void resources_fetch_lc_time_format (void) {
_g_free0 (old_messages);
#line 753 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (old_language);
-#line 2757 "Resources.c"
+#line 2755 "Resources.c"
}
@@ -2803,7 +2801,7 @@ gchar* resources_get_hh_mm_format_string (void) {
if (_tmp0_ == NULL) {
#line 820 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2776 "Resources.c"
+#line 2774 "Resources.c"
}
#line 823 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_HH_MM_FORMAT_STRING;
@@ -2813,7 +2811,7 @@ gchar* resources_get_hh_mm_format_string (void) {
result = _tmp2_;
#line 823 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2786 "Resources.c"
+#line 2784 "Resources.c"
}
@@ -2828,7 +2826,7 @@ gchar* resources_get_hh_mm_ss_format_string (void) {
if (_tmp0_ == NULL) {
#line 828 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2801 "Resources.c"
+#line 2799 "Resources.c"
}
#line 831 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_HH_MM_SS_FORMAT_STRING;
@@ -2838,7 +2836,7 @@ gchar* resources_get_hh_mm_ss_format_string (void) {
result = _tmp2_;
#line 831 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2811 "Resources.c"
+#line 2809 "Resources.c"
}
@@ -2853,7 +2851,7 @@ gchar* resources_get_long_date_format_string (void) {
if (_tmp0_ == NULL) {
#line 836 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2826 "Resources.c"
+#line 2824 "Resources.c"
}
#line 839 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_LONG_DATE_FORMAT_STRING;
@@ -2863,7 +2861,7 @@ gchar* resources_get_long_date_format_string (void) {
result = _tmp2_;
#line 839 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2836 "Resources.c"
+#line 2834 "Resources.c"
}
@@ -2878,7 +2876,7 @@ gchar* resources_get_start_multiday_span_format_string (void) {
if (_tmp0_ == NULL) {
#line 844 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2851 "Resources.c"
+#line 2849 "Resources.c"
}
#line 847 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_START_MULTIDAY_DATE_FORMAT_STRING;
@@ -2888,7 +2886,7 @@ gchar* resources_get_start_multiday_span_format_string (void) {
result = _tmp2_;
#line 847 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2861 "Resources.c"
+#line 2859 "Resources.c"
}
@@ -2903,7 +2901,7 @@ gchar* resources_get_end_multiday_span_format_string (void) {
if (_tmp0_ == NULL) {
#line 852 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2876 "Resources.c"
+#line 2874 "Resources.c"
}
#line 855 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_END_MULTIDAY_DATE_FORMAT_STRING;
@@ -2913,7 +2911,7 @@ gchar* resources_get_end_multiday_span_format_string (void) {
result = _tmp2_;
#line 855 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2886 "Resources.c"
+#line 2884 "Resources.c"
}
@@ -2928,7 +2926,7 @@ gchar* resources_get_start_multimonth_span_format_string (void) {
if (_tmp0_ == NULL) {
#line 860 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2901 "Resources.c"
+#line 2899 "Resources.c"
}
#line 863 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_START_MULTIMONTH_DATE_FORMAT_STRING;
@@ -2938,7 +2936,7 @@ gchar* resources_get_start_multimonth_span_format_string (void) {
result = _tmp2_;
#line 863 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2911 "Resources.c"
+#line 2909 "Resources.c"
}
@@ -2953,7 +2951,7 @@ gchar* resources_get_end_multimonth_span_format_string (void) {
if (_tmp0_ == NULL) {
#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2926 "Resources.c"
+#line 2924 "Resources.c"
}
#line 871 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_END_MULTIMONTH_DATE_FORMAT_STRING;
@@ -2963,7 +2961,7 @@ gchar* resources_get_end_multimonth_span_format_string (void) {
result = _tmp2_;
#line 871 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2936 "Resources.c"
+#line 2934 "Resources.c"
}
@@ -3000,14 +2998,14 @@ GFile* resources_get_ui (const gchar* filename) {
result = _tmp6_;
#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2973 "Resources.c"
+#line 2971 "Resources.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 891 "/home/jens/Source/shotwell/src/Resources.vala"
return self ? g_object_ref (self) : NULL;
-#line 2980 "Resources.c"
+#line 2978 "Resources.c"
}
@@ -3021,7 +3019,7 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
_tmp0_ = resources_noninterpretable_badge_pixbuf;
#line 882 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 2994 "Resources.c"
+#line 2992 "Resources.c"
{
GdkPixbuf* _tmp1_ = NULL;
GFile* _tmp2_ = NULL;
@@ -3067,7 +3065,7 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
_tmp1_ = _tmp11_;
#line 884 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3040 "Resources.c"
+#line 3038 "Resources.c"
goto __catch416_g_error;
}
#line 884 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3080,7 +3078,7 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
resources_noninterpretable_badge_pixbuf = _tmp12_;
#line 883 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp1_);
-#line 3053 "Resources.c"
+#line 3051 "Resources.c"
}
goto __finally416;
__catch416_g_error:
@@ -3098,7 +3096,7 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
"e: %s", _tmp13_);
#line 883 "/home/jens/Source/shotwell/src/Resources.vala"
_g_error_free0 (err);
-#line 3070 "Resources.c"
+#line 3068 "Resources.c"
}
__finally416:
#line 883 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3109,7 +3107,7 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
g_clear_error (&_inner_error_);
#line 883 "/home/jens/Source/shotwell/src/Resources.vala"
return NULL;
-#line 3081 "Resources.c"
+#line 3079 "Resources.c"
}
}
#line 891 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3120,7 +3118,7 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
result = _tmp15_;
#line 891 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3092 "Resources.c"
+#line 3090 "Resources.c"
}
@@ -3165,7 +3163,7 @@ GtkIconTheme* resources_get_icon_theme_engine (void) {
result = icon_theme;
#line 898 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3137 "Resources.c"
+#line 3135 "Resources.c"
}
@@ -3196,7 +3194,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_tmp0_ = resources_scaled_icon_cache;
#line 904 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ != NULL) {
-#line 3168 "Resources.c"
+#line 3166 "Resources.c"
gchar* scaled_name = NULL;
const gchar* _tmp1_ = NULL;
gint _tmp2_ = 0;
@@ -3220,7 +3218,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_tmp6_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp5_);
#line 906 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp6_) {
-#line 3192 "Resources.c"
+#line 3190 "Resources.c"
GeeHashMap* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
gpointer _tmp9_ = NULL;
@@ -3236,17 +3234,17 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_g_free0 (scaled_name);
#line 907 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3208 "Resources.c"
+#line 3206 "Resources.c"
}
#line 904 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (scaled_name);
-#line 3212 "Resources.c"
+#line 3210 "Resources.c"
}
#line 912 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = resources_icon_cache;
#line 912 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp10_ == NULL) {
-#line 3218 "Resources.c"
+#line 3216 "Resources.c"
GeeHashMap* _tmp11_ = NULL;
#line 913 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, GDK_TYPE_PIXBUF, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -3254,7 +3252,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_g_object_unref0 (resources_icon_cache);
#line 913 "/home/jens/Source/shotwell/src/Resources.vala"
resources_icon_cache = _tmp11_;
-#line 3226 "Resources.c"
+#line 3224 "Resources.c"
}
#line 916 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = resources_icon_cache;
@@ -3268,7 +3266,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_tmp15_ = pixbuf;
#line 917 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp15_ == NULL) {
-#line 3240 "Resources.c"
+#line 3238 "Resources.c"
const gchar* _tmp16_ = NULL;
GdkPixbuf* _tmp17_ = NULL;
GdkPixbuf* _tmp18_ = NULL;
@@ -3293,7 +3291,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_g_object_unref0 (pixbuf);
#line 920 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3265 "Resources.c"
+#line 3263 "Resources.c"
}
#line 922 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp19_ = resources_icon_cache;
@@ -3303,7 +3301,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_tmp21_ = pixbuf;
#line 922 "/home/jens/Source/shotwell/src/Resources.vala"
gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp20_, _tmp21_);
-#line 3275 "Resources.c"
+#line 3273 "Resources.c"
}
#line 925 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp22_ = scale;
@@ -3313,7 +3311,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
result = pixbuf;
#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3285 "Resources.c"
+#line 3283 "Resources.c"
}
#line 928 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp23_ = pixbuf;
@@ -3327,7 +3325,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_tmp26_ = resources_scaled_icon_cache;
#line 930 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp26_ == NULL) {
-#line 3299 "Resources.c"
+#line 3297 "Resources.c"
GeeHashMap* _tmp27_ = NULL;
#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp27_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, GDK_TYPE_PIXBUF, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -3335,7 +3333,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_g_object_unref0 (resources_scaled_icon_cache);
#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
resources_scaled_icon_cache = _tmp27_;
-#line 3307 "Resources.c"
+#line 3305 "Resources.c"
}
#line 933 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp28_ = resources_scaled_icon_cache;
@@ -3359,7 +3357,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_g_object_unref0 (pixbuf);
#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3331 "Resources.c"
+#line 3329 "Resources.c"
}
@@ -3391,7 +3389,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
icons_dir = _tmp3_;
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
pixbuf = NULL;
-#line 3363 "Resources.c"
+#line 3361 "Resources.c"
{
GdkPixbuf* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
@@ -3424,7 +3422,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
_tmp4_ = _tmp11_;
#line 943 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3396 "Resources.c"
+#line 3394 "Resources.c"
goto __catch417_g_error;
}
#line 943 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3437,7 +3435,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
pixbuf = _tmp12_;
#line 942 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp4_);
-#line 3409 "Resources.c"
+#line 3407 "Resources.c"
}
goto __finally417;
__catch417_g_error:
@@ -3460,7 +3458,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
g_critical ("Resources.vala:945: Unable to load icon %s: %s", _tmp13_, _tmp15_);
#line 942 "/home/jens/Source/shotwell/src/Resources.vala"
_g_error_free0 (err);
-#line 3432 "Resources.c"
+#line 3430 "Resources.c"
}
__finally417:
#line 942 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3475,7 +3473,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
g_clear_error (&_inner_error_);
#line 942 "/home/jens/Source/shotwell/src/Resources.vala"
return NULL;
-#line 3447 "Resources.c"
+#line 3445 "Resources.c"
}
#line 948 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp16_ = pixbuf;
@@ -3489,13 +3487,13 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
_g_object_unref0 (icons_dir);
#line 949 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3461 "Resources.c"
+#line 3459 "Resources.c"
}
#line 951 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp18_ = scale;
#line 951 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp18_ > 0) {
-#line 3467 "Resources.c"
+#line 3465 "Resources.c"
GdkPixbuf* _tmp19_ = NULL;
gint _tmp20_ = 0;
GdkPixbuf* _tmp21_ = NULL;
@@ -3509,7 +3507,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
_g_object_unref0 (_tmp17_);
#line 951 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ = _tmp21_;
-#line 3481 "Resources.c"
+#line 3479 "Resources.c"
} else {
GdkPixbuf* _tmp22_ = NULL;
GdkPixbuf* _tmp23_ = NULL;
@@ -3521,7 +3519,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
_g_object_unref0 (_tmp17_);
#line 951 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ = _tmp23_;
-#line 3493 "Resources.c"
+#line 3491 "Resources.c"
}
#line 951 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp17_;
@@ -3531,7 +3529,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
_g_object_unref0 (icons_dir);
#line 951 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3503 "Resources.c"
+#line 3501 "Resources.c"
}
@@ -3549,7 +3547,7 @@ void resources_add_stock_icon (GFile* file, const gchar* stock_id) {
g_return_if_fail (stock_id != NULL);
#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
pixbuf = NULL;
-#line 3521 "Resources.c"
+#line 3519 "Resources.c"
{
GdkPixbuf* _tmp0_ = NULL;
GFile* _tmp1_ = NULL;
@@ -3574,7 +3572,7 @@ void resources_add_stock_icon (GFile* file, const gchar* stock_id) {
_tmp0_ = _tmp5_;
#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3546 "Resources.c"
+#line 3544 "Resources.c"
goto __catch418_g_error;
}
#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3587,7 +3585,7 @@ void resources_add_stock_icon (GFile* file, const gchar* stock_id) {
pixbuf = _tmp6_;
#line 956 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp0_);
-#line 3559 "Resources.c"
+#line 3557 "Resources.c"
}
goto __finally418;
__catch418_g_error:
@@ -3610,7 +3608,7 @@ void resources_add_stock_icon (GFile* file, const gchar* stock_id) {
g_critical ("Resources.vala:959: Unable to load stock icon %s: %s", _tmp7_, _tmp9_);
#line 956 "/home/jens/Source/shotwell/src/Resources.vala"
_g_error_free0 (err);
-#line 3582 "Resources.c"
+#line 3580 "Resources.c"
}
__finally418:
#line 956 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3623,7 +3621,7 @@ void resources_add_stock_icon (GFile* file, const gchar* stock_id) {
g_clear_error (&_inner_error_);
#line 956 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3595 "Resources.c"
+#line 3593 "Resources.c"
}
#line 962 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = pixbuf;
@@ -3641,7 +3639,7 @@ void resources_add_stock_icon (GFile* file, const gchar* stock_id) {
_gtk_icon_set_unref0 (icon_set);
#line 954 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (pixbuf);
-#line 3613 "Resources.c"
+#line 3611 "Resources.c"
}
@@ -3706,7 +3704,7 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar*
_tmp12_ = info;
#line 975 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp12_ == NULL) {
-#line 3678 "Resources.c"
+#line 3676 "Resources.c"
const gchar* _tmp13_ = NULL;
#line 976 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp13_ = stock_id;
@@ -3718,7 +3716,7 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar*
_g_object_unref0 (icon_theme);
#line 977 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3690 "Resources.c"
+#line 3688 "Resources.c"
}
{
GdkPixbuf* pix = NULL;
@@ -3740,7 +3738,7 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar*
pix = _tmp15_;
#line 981 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3712 "Resources.c"
+#line 3710 "Resources.c"
goto __catch419_g_error;
}
#line 982 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3749,7 +3747,7 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar*
_tmp16__target = modify_target;
#line 982 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp16_ != NULL) {
-#line 3721 "Resources.c"
+#line 3719 "Resources.c"
ResourcesAddStockIconModify _tmp17_ = NULL;
void* _tmp17__target = NULL;
GdkPixbuf* _tmp18_ = NULL;
@@ -3761,7 +3759,7 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar*
_tmp18_ = pix;
#line 983 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ (_tmp18_, _tmp17__target);
-#line 3733 "Resources.c"
+#line 3731 "Resources.c"
}
#line 985 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp19_ = pix;
@@ -3781,7 +3779,7 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar*
_gtk_icon_set_unref0 (icon_set);
#line 980 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (pix);
-#line 3753 "Resources.c"
+#line 3751 "Resources.c"
}
goto __finally419;
__catch419_g_error:
@@ -3801,7 +3799,7 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar*
g_debug ("Resources.vala:988: %s", _tmp25_);
#line 980 "/home/jens/Source/shotwell/src/Resources.vala"
_g_error_free0 (err);
-#line 3773 "Resources.c"
+#line 3771 "Resources.c"
}
__finally419:
#line 980 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3816,13 +3814,13 @@ void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar*
g_clear_error (&_inner_error_);
#line 980 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3788 "Resources.c"
+#line 3786 "Resources.c"
}
#line 968 "/home/jens/Source/shotwell/src/Resources.vala"
_gtk_icon_info_free0 (info);
#line 968 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (icon_theme);
-#line 3794 "Resources.c"
+#line 3792 "Resources.c"
}
@@ -3870,7 +3868,7 @@ gchar* resources_get_help_path (void) {
_tmp9_ = g_file_query_exists (_tmp8_, NULL);
#line 1003 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp9_) {
-#line 3842 "Resources.c"
+#line 3840 "Resources.c"
gchar* help_path = NULL;
GFile* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
@@ -3890,7 +3888,7 @@ gchar* resources_get_help_path (void) {
_tmp13_ = g_str_has_suffix (_tmp12_, "/");
#line 1008 "/home/jens/Source/shotwell/src/Resources.vala"
if (!_tmp13_) {
-#line 3862 "Resources.c"
+#line 3860 "Resources.c"
const gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
#line 1009 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3901,7 +3899,7 @@ gchar* resources_get_help_path (void) {
_g_free0 (help_path);
#line 1009 "/home/jens/Source/shotwell/src/Resources.vala"
help_path = _tmp15_;
-#line 3873 "Resources.c"
+#line 3871 "Resources.c"
}
#line 1012 "/home/jens/Source/shotwell/src/Resources.vala"
result = help_path;
@@ -3911,7 +3909,7 @@ gchar* resources_get_help_path (void) {
_g_object_unref0 (help_dir);
#line 1012 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3883 "Resources.c"
+#line 3881 "Resources.c"
}
#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
result = NULL;
@@ -3921,7 +3919,7 @@ gchar* resources_get_help_path (void) {
_g_object_unref0 (help_dir);
#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3893 "Resources.c"
+#line 3891 "Resources.c"
}
@@ -3941,7 +3939,7 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_tmp1_ = help_path;
#line 1024 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp1_ != NULL) {
-#line 3913 "Resources.c"
+#line 3911 "Resources.c"
const gchar* _tmp2_ = NULL;
gchar** argv = NULL;
gchar** _tmp6_ = NULL;
@@ -3977,7 +3975,7 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_tmp2_ = anchor;
#line 1028 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp2_ != NULL) {
-#line 3949 "Resources.c"
+#line 3947 "Resources.c"
const gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
@@ -3991,7 +3989,7 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_g_free0 (help_path);
#line 1029 "/home/jens/Source/shotwell/src/Resources.vala"
help_path = _tmp5_;
-#line 3963 "Resources.c"
+#line 3961 "Resources.c"
}
#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = g_new0 (gchar*, 3 + 1);
@@ -4071,7 +4069,7 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_g_free0 (help_path);
#line 1038 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 4043 "Resources.c"
+#line 4041 "Resources.c"
}
#line 1038 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp16_) {
@@ -4081,7 +4079,7 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_g_free0 (help_path);
#line 1040 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 4053 "Resources.c"
+#line 4051 "Resources.c"
}
#line 1043 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp25_ = argv;
@@ -4093,13 +4091,13 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
g_warning ("Resources.vala:1043: Unable to launch %s", _tmp26_);
#line 1024 "/home/jens/Source/shotwell/src/Resources.vala"
argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL);
-#line 4065 "Resources.c"
+#line 4063 "Resources.c"
}
#line 1047 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp27_ = anchor;
#line 1047 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp27_ != NULL) {
-#line 4071 "Resources.c"
+#line 4069 "Resources.c"
GdkScreen* _tmp28_ = NULL;
const gchar* _tmp29_ = NULL;
gchar* _tmp30_ = NULL;
@@ -4124,7 +4122,7 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_g_free0 (help_path);
#line 1048 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 4096 "Resources.c"
+#line 4094 "Resources.c"
}
} else {
GdkScreen* _tmp32_ = NULL;
@@ -4140,12 +4138,12 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_g_free0 (help_path);
#line 1050 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 4112 "Resources.c"
+#line 4110 "Resources.c"
}
}
#line 1021 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (help_path);
-#line 4117 "Resources.c"
+#line 4115 "Resources.c"
}
@@ -4187,7 +4185,7 @@ gchar* resources_to_css_color (GdkRGBA* color) {
result = _tmp6_;
#line 1059 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 4159 "Resources.c"
+#line 4157 "Resources.c"
}
@@ -4213,7 +4211,7 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
_tmp0_ = resources_providers;
#line 1067 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 4185 "Resources.c"
+#line 4183 "Resources.c"
GeeHashMap* _tmp1_ = NULL;
#line 1068 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = gee_hash_map_new (gtk_widget_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, GTK_TYPE_CSS_PROVIDER, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
@@ -4221,7 +4219,7 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
_g_object_unref0 (resources_providers);
#line 1068 "/home/jens/Source/shotwell/src/Resources.vala"
resources_providers = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_MAP, GeeMap);
-#line 4193 "Resources.c"
+#line 4191 "Resources.c"
}
#line 1070 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = resources_providers;
@@ -4231,7 +4229,7 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
_tmp4_ = gee_map_has_key (_tmp2_, _tmp3_);
#line 1070 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp4_) {
-#line 4203 "Resources.c"
+#line 4201 "Resources.c"
GtkWidget* _tmp5_ = NULL;
GtkStyleContext* _tmp6_ = NULL;
GeeMap* _tmp7_ = NULL;
@@ -4254,13 +4252,13 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
gtk_style_context_remove_provider (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GTK_TYPE_STYLE_PROVIDER, GtkStyleProvider));
#line 1071 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp10_);
-#line 4226 "Resources.c"
+#line 4224 "Resources.c"
}
#line 1073 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = gtk_css_provider_new ();
#line 1073 "/home/jens/Source/shotwell/src/Resources.vala"
styler = _tmp11_;
-#line 4232 "Resources.c"
+#line 4230 "Resources.c"
{
GtkCssProvider* _tmp12_ = NULL;
const gchar* _tmp13_ = NULL;
@@ -4272,7 +4270,7 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
gtk_css_provider_load_from_data (_tmp12_, _tmp13_, (gssize) RESOURCES_ALL_DATA, &_inner_error_);
#line 1076 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4244 "Resources.c"
+#line 4242 "Resources.c"
goto __catch420_g_error;
}
}
@@ -4301,7 +4299,7 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
_g_object_unref0 (styler);
#line 1082 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 4273 "Resources.c"
+#line 4271 "Resources.c"
}
__finally420:
#line 1075 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -4314,7 +4312,7 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
g_clear_error (&_inner_error_);
#line 1075 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 4286 "Resources.c"
+#line 4284 "Resources.c"
}
#line 1085 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ = widget;
@@ -4334,7 +4332,7 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
gee_map_set (_tmp20_, _tmp21_, _tmp22_);
#line 1066 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (styler);
-#line 4306 "Resources.c"
+#line 4304 "Resources.c"
}
diff --git a/src/Resources.vala b/src/Resources.vala
index acc933c..cceb82b 100644
--- a/src/Resources.vala
+++ b/src/Resources.vala
@@ -770,13 +770,13 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc.,
/// Locale-specific time format for 12-hour time, i.e. 8:31 PM
/// Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes
/// See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
- HH_MM_FORMAT_STRING = _("%-I:%M %p");
+ HH_MM_FORMAT_STRING = "%X";
/// Locale-specific time format for 12-hour time with seconds, i.e. 8:31:42 PM
/// Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes
/// See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
- HH_MM_SS_FORMAT_STRING = _("%-I:%M:%S %p");
-
+ HH_MM_SS_FORMAT_STRING = Posix.nl_langinfo (Posix.NLItem.T_FMT);
+
/// Locale-specific calendar date format, i.e. "Tue Mar 08, 2006"
/// See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
LONG_DATE_FORMAT_STRING = _("%a %b %d, %Y");
diff --git a/src/camera/ImportPage.c b/src/camera/ImportPage.c
index 810c2b6..03f2d8d 100644
--- a/src/camera/ImportPage.c
+++ b/src/camera/ImportPage.c
@@ -1859,6 +1859,7 @@ GtkAction* page_get_action (Page* self, const gchar* name);
static void import_page_update_toolbar_state (ImportPage* self);
static CoreViewTracker* import_page_real_get_view_tracker (CheckerboardPage* base);
static gchar* import_page_real_get_view_empty_message (CheckerboardPage* base);
+static gchar* import_page_real_get_filter_no_match_message (CheckerboardPage* base);
gboolean alteration_has_detail (Alteration* self, const gchar* subject, const gchar* detail);
static gint64 import_page_import_job_comparator (ImportPage* self, void* a, void* b);
gpointer batch_import_job_ref (gpointer instance);
@@ -1927,6 +1928,7 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const gchar* dir, GeeArrayList* import_list);
static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* import_list);
static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* import_list);
+gchar* checkerboard_page_get_view_empty_message (CheckerboardPage* self);
static gchar* import_page_chomp_ch (const gchar* str, gchar ch);
gchar* import_page_append_path (const gchar* basepath, const gchar* addition);
gchar* import_page_get_fs_basedir (Camera* camera, gint fsid);
@@ -2093,14 +2095,14 @@ ImportSourceCollection* import_source_collection_construct (GType object_type, c
self = (ImportSourceCollection*) source_collection_construct (object_type, _tmp0_);
#line 8 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 2096 "ImportPage.c"
+#line 2098 "ImportPage.c"
}
ImportSourceCollection* import_source_collection_new (const gchar* name) {
#line 8 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_source_collection_construct (TYPE_IMPORT_SOURCE_COLLECTION, name);
-#line 2103 "ImportPage.c"
+#line 2105 "ImportPage.c"
}
@@ -2118,7 +2120,7 @@ static gboolean import_source_collection_real_holds_type_of_source (SourceCollec
result = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_IMPORT_SOURCE);
#line 13 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2121 "ImportPage.c"
+#line 2123 "ImportPage.c"
}
@@ -2127,7 +2129,7 @@ static void import_source_collection_class_init (ImportSourceCollectionClass * k
import_source_collection_parent_class = g_type_class_peek_parent (klass);
#line 7 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((SourceCollectionClass *) klass)->holds_type_of_source = import_source_collection_real_holds_type_of_source;
-#line 2130 "ImportPage.c"
+#line 2132 "ImportPage.c"
}
@@ -2150,7 +2152,7 @@ GType import_source_collection_get_type (void) {
static gpointer _GPHOTO_REF_CAMERA0 (gpointer self) {
#line 31 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self ? GPHOTO_REF_CAMERA (self) : NULL;
-#line 2153 "ImportPage.c"
+#line 2155 "ImportPage.c"
}
@@ -2233,14 +2235,14 @@ ImportSource* import_source_construct (GType object_type, const gchar* camera_na
self->priv->indexable_keywords = _tmp12_;
#line 28 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 2236 "ImportPage.c"
+#line 2238 "ImportPage.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 41 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self ? g_object_ref (self) : NULL;
-#line 2243 "ImportPage.c"
+#line 2245 "ImportPage.c"
}
@@ -2259,7 +2261,7 @@ void import_source_set_preview (ImportSource* self, GdkPixbuf* preview) {
_g_object_unref0 (self->priv->preview);
#line 41 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->preview = _tmp1_;
-#line 2262 "ImportPage.c"
+#line 2264 "ImportPage.c"
}
@@ -2277,7 +2279,7 @@ gchar* import_source_get_camera_name (ImportSource* self) {
result = _tmp1_;
#line 45 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2280 "ImportPage.c"
+#line 2282 "ImportPage.c"
}
@@ -2295,7 +2297,7 @@ Camera* import_source_get_camera (ImportSource* self) {
result = _tmp1_;
#line 49 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2298 "ImportPage.c"
+#line 2300 "ImportPage.c"
}
@@ -2310,7 +2312,7 @@ gint import_source_get_fsid (ImportSource* self) {
result = _tmp0_;
#line 53 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2313 "ImportPage.c"
+#line 2315 "ImportPage.c"
}
@@ -2328,7 +2330,7 @@ gchar* import_source_get_folder (ImportSource* self) {
result = _tmp1_;
#line 57 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2331 "ImportPage.c"
+#line 2333 "ImportPage.c"
}
@@ -2346,7 +2348,7 @@ gchar* import_source_get_filename (ImportSource* self) {
result = _tmp1_;
#line 61 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2349 "ImportPage.c"
+#line 2351 "ImportPage.c"
}
@@ -2361,7 +2363,7 @@ gulong import_source_get_filesize (ImportSource* self) {
result = _tmp0_;
#line 65 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2364 "ImportPage.c"
+#line 2366 "ImportPage.c"
}
@@ -2376,7 +2378,7 @@ time_t import_source_get_modification_time (ImportSource* self) {
result = _tmp0_;
#line 69 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2379 "ImportPage.c"
+#line 2381 "ImportPage.c"
}
@@ -2392,7 +2394,7 @@ static GdkPixbuf* import_source_real_get_preview (ImportSource* self) {
result = _tmp1_;
#line 73 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2395 "ImportPage.c"
+#line 2397 "ImportPage.c"
}
@@ -2401,7 +2403,7 @@ GdkPixbuf* import_source_get_preview (ImportSource* self) {
g_return_val_if_fail (IS_IMPORT_SOURCE (self), NULL);
#line 72 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return IMPORT_SOURCE_GET_CLASS (self)->get_preview (self);
-#line 2404 "ImportPage.c"
+#line 2406 "ImportPage.c"
}
@@ -2414,7 +2416,7 @@ static time_t import_source_real_get_exposure_time (ImportSource* self) {
result = _tmp0_;
#line 77 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2417 "ImportPage.c"
+#line 2419 "ImportPage.c"
}
@@ -2423,7 +2425,7 @@ time_t import_source_get_exposure_time (ImportSource* self) {
g_return_val_if_fail (IS_IMPORT_SOURCE (self), 0);
#line 76 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return IMPORT_SOURCE_GET_CLASS (self)->get_exposure_time (self);
-#line 2426 "ImportPage.c"
+#line 2428 "ImportPage.c"
}
@@ -2468,7 +2470,7 @@ gchar* import_source_get_fulldir (ImportSource* self) {
result = _tmp8_;
#line 81 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2471 "ImportPage.c"
+#line 2473 "ImportPage.c"
}
@@ -2511,7 +2513,7 @@ static gchar* import_source_real_to_string (DataObject* base) {
result = _tmp7_;
#line 85 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2514 "ImportPage.c"
+#line 2516 "ImportPage.c"
}
@@ -2527,7 +2529,7 @@ static gchar* gp_result_to_full_string (int self) {
result = _tmp1_;
#line 480 "/home/jens/Source/shotwell/vapi/libgphoto2.vapi"
return result;
-#line 2530 "ImportPage.c"
+#line 2532 "ImportPage.c"
}
@@ -2575,7 +2577,7 @@ static gboolean import_source_real_internal_delete_backing (DataSource* base, GE
_tmp4_ = fulldir;
#line 92 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp4_ == NULL) {
-#line 2578 "ImportPage.c"
+#line 2580 "ImportPage.c"
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
@@ -2603,7 +2605,7 @@ static gboolean import_source_real_internal_delete_backing (DataSource* base, GE
_g_free0 (fulldir);
#line 95 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 2606 "ImportPage.c"
+#line 2608 "ImportPage.c"
}
#line 95 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp8_;
@@ -2611,7 +2613,7 @@ static gboolean import_source_real_internal_delete_backing (DataSource* base, GE
_g_free0 (fulldir);
#line 95 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2614 "ImportPage.c"
+#line 2616 "ImportPage.c"
}
#line 98 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = import_source_get_camera (self);
@@ -2641,7 +2643,7 @@ static gboolean import_source_real_internal_delete_backing (DataSource* base, GE
_tmp19_ = _result_;
#line 100 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp19_ != GP_OK) {
-#line 2644 "ImportPage.c"
+#line 2646 "ImportPage.c"
gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
const gchar* _tmp22_ = NULL;
@@ -2666,7 +2668,7 @@ static gboolean import_source_real_internal_delete_backing (DataSource* base, GE
_g_free0 (_tmp25_);
#line 101 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp21_);
-#line 2669 "ImportPage.c"
+#line 2671 "ImportPage.c"
}
#line 103 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp28_ = DATA_SOURCE_CLASS (import_source_parent_class)->internal_delete_backing (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), TYPE_DATA_SOURCE, DataSource), &_inner_error_);
@@ -2680,21 +2682,21 @@ static gboolean import_source_real_internal_delete_backing (DataSource* base, GE
_g_free0 (fulldir);
#line 103 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 2683 "ImportPage.c"
+#line 2685 "ImportPage.c"
}
#line 103 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp27_) {
-#line 2687 "ImportPage.c"
+#line 2689 "ImportPage.c"
int _tmp29_ = 0;
#line 103 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = _result_;
#line 103 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp26_ = _tmp29_ == GP_OK;
-#line 2693 "ImportPage.c"
+#line 2695 "ImportPage.c"
} else {
#line 103 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp26_ = FALSE;
-#line 2697 "ImportPage.c"
+#line 2699 "ImportPage.c"
}
#line 103 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp26_;
@@ -2702,7 +2704,7 @@ static gboolean import_source_real_internal_delete_backing (DataSource* base, GE
_g_free0 (fulldir);
#line 103 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2705 "ImportPage.c"
+#line 2707 "ImportPage.c"
}
@@ -2718,7 +2720,7 @@ static const gchar* import_source_real_get_indexable_keywords (Indexable* base)
result = _tmp0_;
#line 107 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2721 "ImportPage.c"
+#line 2723 "ImportPage.c"
}
@@ -2737,7 +2739,7 @@ static void import_source_class_init (ImportSourceClass * klass) {
((DataSourceClass *) klass)->internal_delete_backing = import_source_real_internal_delete_backing;
#line 17 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (klass)->finalize = import_source_finalize;
-#line 2740 "ImportPage.c"
+#line 2742 "ImportPage.c"
}
@@ -2746,7 +2748,7 @@ static void import_source_indexable_interface_init (IndexableIface * iface) {
import_source_indexable_parent_iface = g_type_interface_peek_parent (iface);
#line 17 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
iface->get_indexable_keywords = (const gchar* (*)(Indexable*)) import_source_real_get_indexable_keywords;
-#line 2749 "ImportPage.c"
+#line 2751 "ImportPage.c"
}
@@ -2757,7 +2759,7 @@ static void import_source_instance_init (ImportSource * self) {
self->priv->preview = NULL;
#line 26 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->indexable_keywords = NULL;
-#line 2760 "ImportPage.c"
+#line 2762 "ImportPage.c"
}
@@ -2779,7 +2781,7 @@ static void import_source_finalize (GObject* obj) {
_g_free0 (self->priv->indexable_keywords);
#line 17 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (import_source_parent_class)->finalize (obj);
-#line 2782 "ImportPage.c"
+#line 2784 "ImportPage.c"
}
@@ -2832,14 +2834,14 @@ VideoImportSource* video_import_source_construct (GType object_type, const gchar
self = (VideoImportSource*) import_source_construct (object_type, _tmp0_, _tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_, _tmp6_);
#line 112 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 2835 "ImportPage.c"
+#line 2837 "ImportPage.c"
}
VideoImportSource* video_import_source_new (const gchar* camera_name, Camera* camera, gint fsid, const gchar* folder, const gchar* filename, gulong file_size, time_t modification_time) {
#line 112 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return video_import_source_construct (TYPE_VIDEO_IMPORT_SOURCE, camera_name, camera, fsid, folder, filename, file_size, modification_time);
-#line 2842 "ImportPage.c"
+#line 2844 "ImportPage.c"
}
@@ -2865,7 +2867,7 @@ static GdkPixbuf* video_import_source_real_get_thumbnail (ThumbnailSource* base,
g_propagate_error (error, _inner_error_);
#line 118 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return NULL;
-#line 2868 "ImportPage.c"
+#line 2870 "ImportPage.c"
}
#line 118 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = _tmp0_;
@@ -2877,7 +2879,7 @@ static GdkPixbuf* video_import_source_real_get_thumbnail (ThumbnailSource* base,
_g_object_unref0 (_tmp0_);
#line 118 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2880 "ImportPage.c"
+#line 2882 "ImportPage.c"
}
@@ -2905,13 +2907,13 @@ static GdkPixbuf* video_import_source_real_create_thumbnail (ThumbnailSource* ba
result = NULL;
#line 123 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2908 "ImportPage.c"
+#line 2910 "ImportPage.c"
}
#line 127 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = scale;
#line 127 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp4_ > 0) {
-#line 2914 "ImportPage.c"
+#line 2916 "ImportPage.c"
GdkPixbuf* _tmp5_ = NULL;
GdkPixbuf* _tmp6_ = NULL;
gint _tmp7_ = 0;
@@ -2930,7 +2932,7 @@ static GdkPixbuf* video_import_source_real_create_thumbnail (ThumbnailSource* ba
_tmp3_ = _tmp8_;
#line 127 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp6_);
-#line 2933 "ImportPage.c"
+#line 2935 "ImportPage.c"
} else {
GdkPixbuf* _tmp9_ = NULL;
#line 128 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -2939,13 +2941,13 @@ static GdkPixbuf* video_import_source_real_create_thumbnail (ThumbnailSource* ba
_g_object_unref0 (_tmp3_);
#line 128 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = _tmp9_;
-#line 2942 "ImportPage.c"
+#line 2944 "ImportPage.c"
}
#line 127 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp3_;
#line 127 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2948 "ImportPage.c"
+#line 2950 "ImportPage.c"
}
@@ -2961,7 +2963,7 @@ static gchar* video_import_source_real_get_typename (DataSource* base) {
result = _tmp0_;
#line 132 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2964 "ImportPage.c"
+#line 2966 "ImportPage.c"
}
@@ -2977,7 +2979,7 @@ static gint64 video_import_source_real_get_instance_id (DataSource* base) {
result = _tmp0_;
#line 136 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2980 "ImportPage.c"
+#line 2982 "ImportPage.c"
}
@@ -2993,7 +2995,7 @@ static PhotoFileFormat video_import_source_real_get_preferred_thumbnail_format (
result = _tmp0_;
#line 140 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 2996 "ImportPage.c"
+#line 2998 "ImportPage.c"
}
@@ -3009,7 +3011,7 @@ static gchar* video_import_source_real_get_name (DataObject* base) {
result = _tmp0_;
#line 144 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3012 "ImportPage.c"
+#line 3014 "ImportPage.c"
}
@@ -3024,7 +3026,7 @@ void video_import_source_update (VideoImportSource* self, GdkPixbuf* preview) {
_tmp1_ = preview;
#line 148 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp1_ != NULL) {
-#line 3027 "ImportPage.c"
+#line 3029 "ImportPage.c"
GdkPixbuf* _tmp2_ = NULL;
GdkPixbuf* _tmp3_ = NULL;
#line 148 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3035,7 +3037,7 @@ void video_import_source_update (VideoImportSource* self, GdkPixbuf* preview) {
_g_object_unref0 (_tmp0_);
#line 148 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp3_;
-#line 3038 "ImportPage.c"
+#line 3040 "ImportPage.c"
} else {
GdkPixbuf* _tmp4_ = NULL;
#line 148 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3044,13 +3046,13 @@ void video_import_source_update (VideoImportSource* self, GdkPixbuf* preview) {
_g_object_unref0 (_tmp0_);
#line 148 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp4_;
-#line 3047 "ImportPage.c"
+#line 3049 "ImportPage.c"
}
#line 148 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_source_set_preview (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_IMPORT_SOURCE, ImportSource), _tmp0_);
#line 147 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp0_);
-#line 3053 "ImportPage.c"
+#line 3055 "ImportPage.c"
}
@@ -3069,7 +3071,7 @@ static void video_import_source_class_init (VideoImportSourceClass * klass) {
((ThumbnailSourceClass *) klass)->get_preferred_thumbnail_format = video_import_source_real_get_preferred_thumbnail_format;
#line 111 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((DataObjectClass *) klass)->get_name = video_import_source_real_get_name;
-#line 3072 "ImportPage.c"
+#line 3074 "ImportPage.c"
}
@@ -3129,14 +3131,14 @@ PhotoImportSource* photo_import_source_construct (GType object_type, const gchar
self->priv->file_format = _tmp7_;
#line 161 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 3132 "ImportPage.c"
+#line 3134 "ImportPage.c"
}
PhotoImportSource* photo_import_source_new (const gchar* camera_name, Camera* camera, gint fsid, const gchar* folder, const gchar* filename, gulong file_size, time_t modification_time, PhotoFileFormat file_format) {
#line 161 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return photo_import_source_construct (TYPE_PHOTO_IMPORT_SOURCE, camera_name, camera, fsid, folder, filename, file_size, modification_time, file_format);
-#line 3139 "ImportPage.c"
+#line 3141 "ImportPage.c"
}
@@ -3160,7 +3162,7 @@ static gchar* photo_import_source_real_get_name (DataObject* base) {
_tmp3_ = is_string_empty (_tmp2_);
#line 170 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp3_) {
-#line 3163 "ImportPage.c"
+#line 3165 "ImportPage.c"
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
#line 170 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3171,7 +3173,7 @@ static gchar* photo_import_source_real_get_name (DataObject* base) {
_g_free0 (_tmp1_);
#line 170 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _tmp5_;
-#line 3174 "ImportPage.c"
+#line 3176 "ImportPage.c"
} else {
gchar* _tmp6_ = NULL;
#line 170 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3180,7 +3182,7 @@ static gchar* photo_import_source_real_get_name (DataObject* base) {
_g_free0 (_tmp1_);
#line 170 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _tmp6_;
-#line 3183 "ImportPage.c"
+#line 3185 "ImportPage.c"
}
#line 170 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp1_;
@@ -3188,7 +3190,7 @@ static gchar* photo_import_source_real_get_name (DataObject* base) {
_g_free0 (title);
#line 170 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3191 "ImportPage.c"
+#line 3193 "ImportPage.c"
}
@@ -3204,7 +3206,7 @@ static gchar* photo_import_source_real_get_typename (DataSource* base) {
result = _tmp0_;
#line 174 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3207 "ImportPage.c"
+#line 3209 "ImportPage.c"
}
@@ -3220,7 +3222,7 @@ static gint64 photo_import_source_real_get_instance_id (DataSource* base) {
result = _tmp0_;
#line 178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3223 "ImportPage.c"
+#line 3225 "ImportPage.c"
}
@@ -3238,26 +3240,26 @@ static PhotoFileFormat photo_import_source_real_get_preferred_thumbnail_format (
_tmp2_ = photo_file_format_can_write (_tmp1_);
#line 182 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp2_) {
-#line 3241 "ImportPage.c"
+#line 3243 "ImportPage.c"
PhotoFileFormat _tmp3_ = 0;
#line 182 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = self->priv->file_format;
#line 182 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp3_;
-#line 3247 "ImportPage.c"
+#line 3249 "ImportPage.c"
} else {
PhotoFileFormat _tmp4_ = 0;
#line 183 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = photo_file_format_get_system_default_format ();
#line 183 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp4_;
-#line 3254 "ImportPage.c"
+#line 3256 "ImportPage.c"
}
#line 182 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp0_;
#line 182 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3260 "ImportPage.c"
+#line 3262 "ImportPage.c"
}
@@ -3285,13 +3287,13 @@ static GdkPixbuf* photo_import_source_real_create_thumbnail (ThumbnailSource* ba
result = NULL;
#line 188 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3288 "ImportPage.c"
+#line 3290 "ImportPage.c"
}
#line 192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = scale;
#line 192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp4_ > 0) {
-#line 3294 "ImportPage.c"
+#line 3296 "ImportPage.c"
GdkPixbuf* _tmp5_ = NULL;
GdkPixbuf* _tmp6_ = NULL;
gint _tmp7_ = 0;
@@ -3310,7 +3312,7 @@ static GdkPixbuf* photo_import_source_real_create_thumbnail (ThumbnailSource* ba
_tmp3_ = _tmp8_;
#line 192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp6_);
-#line 3313 "ImportPage.c"
+#line 3315 "ImportPage.c"
} else {
GdkPixbuf* _tmp9_ = NULL;
#line 192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3319,20 +3321,20 @@ static GdkPixbuf* photo_import_source_real_create_thumbnail (ThumbnailSource* ba
_g_object_unref0 (_tmp3_);
#line 192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = _tmp9_;
-#line 3322 "ImportPage.c"
+#line 3324 "ImportPage.c"
}
#line 192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp3_;
#line 192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3328 "ImportPage.c"
+#line 3330 "ImportPage.c"
}
static gpointer _media_metadata_ref0 (gpointer self) {
#line 199 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self ? media_metadata_ref (self) : NULL;
-#line 3335 "ImportPage.c"
+#line 3337 "ImportPage.c"
}
@@ -3378,7 +3380,7 @@ void photo_import_source_update (PhotoImportSource* self, GdkPixbuf* preview, co
_g_free0 (self->priv->exif_md5);
#line 200 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->exif_md5 = _tmp6_;
-#line 3381 "ImportPage.c"
+#line 3383 "ImportPage.c"
}
@@ -3397,7 +3399,7 @@ static time_t photo_import_source_real_get_exposure_time (ImportSource* base) {
_tmp0_ = self->priv->metadata;
#line 204 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_ == NULL) {
-#line 3400 "ImportPage.c"
+#line 3402 "ImportPage.c"
time_t _tmp1_ = 0;
#line 205 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = import_source_get_modification_time (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_IMPORT_SOURCE, ImportSource));
@@ -3405,7 +3407,7 @@ static time_t photo_import_source_real_get_exposure_time (ImportSource* base) {
result = _tmp1_;
#line 205 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3408 "ImportPage.c"
+#line 3410 "ImportPage.c"
}
#line 207 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = self->priv->metadata;
@@ -3417,7 +3419,7 @@ static time_t photo_import_source_real_get_exposure_time (ImportSource* base) {
_tmp5_ = date_time;
#line 209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp5_ != NULL) {
-#line 3420 "ImportPage.c"
+#line 3422 "ImportPage.c"
MetadataDateTime* _tmp6_ = NULL;
time_t _tmp7_ = 0;
#line 209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3426,14 +3428,14 @@ static time_t photo_import_source_real_get_exposure_time (ImportSource* base) {
_tmp7_ = metadata_date_time_get_timestamp (_tmp6_);
#line 209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = _tmp7_;
-#line 3429 "ImportPage.c"
+#line 3431 "ImportPage.c"
} else {
time_t _tmp8_ = 0;
#line 209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = import_source_get_modification_time (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_IMPORT_SOURCE, ImportSource));
#line 209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = _tmp8_;
-#line 3436 "ImportPage.c"
+#line 3438 "ImportPage.c"
}
#line 209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp4_;
@@ -3441,7 +3443,7 @@ static time_t photo_import_source_real_get_exposure_time (ImportSource* base) {
_metadata_date_time_unref0 (date_time);
#line 209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3444 "ImportPage.c"
+#line 3446 "ImportPage.c"
}
@@ -3455,7 +3457,7 @@ gchar* photo_import_source_get_title (PhotoImportSource* self) {
_tmp1_ = self->priv->metadata;
#line 213 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp1_ != NULL) {
-#line 3458 "ImportPage.c"
+#line 3460 "ImportPage.c"
PhotoMetadata* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
#line 213 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3466,19 +3468,19 @@ gchar* photo_import_source_get_title (PhotoImportSource* self) {
_g_free0 (_tmp0_);
#line 213 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp3_;
-#line 3469 "ImportPage.c"
+#line 3471 "ImportPage.c"
} else {
#line 213 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp0_);
#line 213 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = NULL;
-#line 3475 "ImportPage.c"
+#line 3477 "ImportPage.c"
}
#line 213 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp0_;
#line 213 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3481 "ImportPage.c"
+#line 3483 "ImportPage.c"
}
@@ -3493,7 +3495,7 @@ PhotoMetadata* photo_import_source_get_metadata (PhotoImportSource* self) {
_tmp0_ = self->priv->associated;
#line 217 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_ != NULL) {
-#line 3496 "ImportPage.c"
+#line 3498 "ImportPage.c"
PhotoImportSource* _tmp1_ = NULL;
PhotoMetadata* _tmp2_ = NULL;
#line 218 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3504,7 +3506,7 @@ PhotoMetadata* photo_import_source_get_metadata (PhotoImportSource* self) {
result = _tmp2_;
#line 218 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3507 "ImportPage.c"
+#line 3509 "ImportPage.c"
}
#line 220 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = self->priv->metadata;
@@ -3514,7 +3516,7 @@ PhotoMetadata* photo_import_source_get_metadata (PhotoImportSource* self) {
result = _tmp4_;
#line 220 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3517 "ImportPage.c"
+#line 3519 "ImportPage.c"
}
@@ -3531,7 +3533,7 @@ static GdkPixbuf* photo_import_source_real_get_preview (ImportSource* base) {
_tmp0_ = self->priv->associated;
#line 224 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_ != NULL) {
-#line 3534 "ImportPage.c"
+#line 3536 "ImportPage.c"
PhotoImportSource* _tmp1_ = NULL;
GdkPixbuf* _tmp2_ = NULL;
#line 225 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3542,7 +3544,7 @@ static GdkPixbuf* photo_import_source_real_get_preview (ImportSource* base) {
result = _tmp2_;
#line 225 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3545 "ImportPage.c"
+#line 3547 "ImportPage.c"
}
#line 227 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = IMPORT_SOURCE_CLASS (photo_import_source_parent_class)->get_preview (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_IMPORT_SOURCE, ImportSource));
@@ -3554,7 +3556,7 @@ static GdkPixbuf* photo_import_source_real_get_preview (ImportSource* base) {
_g_object_unref0 (_tmp4_);
#line 227 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp5_) {
-#line 3557 "ImportPage.c"
+#line 3559 "ImportPage.c"
GdkPixbuf* _tmp6_ = NULL;
#line 228 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = IMPORT_SOURCE_CLASS (photo_import_source_parent_class)->get_preview (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_IMPORT_SOURCE, ImportSource));
@@ -3562,13 +3564,13 @@ static GdkPixbuf* photo_import_source_real_get_preview (ImportSource* base) {
result = _tmp6_;
#line 228 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3565 "ImportPage.c"
+#line 3567 "ImportPage.c"
}
#line 230 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = NULL;
#line 230 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3571 "ImportPage.c"
+#line 3573 "ImportPage.c"
}
@@ -3596,13 +3598,13 @@ static GdkPixbuf* photo_import_source_real_get_thumbnail (ThumbnailSource* base,
result = NULL;
#line 235 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3599 "ImportPage.c"
+#line 3601 "ImportPage.c"
}
#line 237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = scale;
#line 237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp4_ > 0) {
-#line 3605 "ImportPage.c"
+#line 3607 "ImportPage.c"
GdkPixbuf* _tmp5_ = NULL;
GdkPixbuf* _tmp6_ = NULL;
gint _tmp7_ = 0;
@@ -3621,7 +3623,7 @@ static GdkPixbuf* photo_import_source_real_get_thumbnail (ThumbnailSource* base,
_tmp3_ = _tmp8_;
#line 237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp6_);
-#line 3624 "ImportPage.c"
+#line 3626 "ImportPage.c"
} else {
GdkPixbuf* _tmp9_ = NULL;
#line 237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3630,13 +3632,13 @@ static GdkPixbuf* photo_import_source_real_get_thumbnail (ThumbnailSource* base,
_g_object_unref0 (_tmp3_);
#line 237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = _tmp9_;
-#line 3633 "ImportPage.c"
+#line 3635 "ImportPage.c"
}
#line 237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp3_;
#line 237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3639 "ImportPage.c"
+#line 3641 "ImportPage.c"
}
@@ -3651,7 +3653,7 @@ PhotoFileFormat photo_import_source_get_file_format (PhotoImportSource* self) {
result = _tmp0_;
#line 241 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3654 "ImportPage.c"
+#line 3656 "ImportPage.c"
}
@@ -3669,7 +3671,7 @@ gchar* photo_import_source_get_preview_md5 (PhotoImportSource* self) {
result = _tmp1_;
#line 245 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3672 "ImportPage.c"
+#line 3674 "ImportPage.c"
}
@@ -3688,7 +3690,7 @@ void photo_import_source_set_associated (PhotoImportSource* self, PhotoImportSou
_g_object_unref0 (self->priv->associated);
#line 249 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->associated = _tmp1_;
-#line 3691 "ImportPage.c"
+#line 3693 "ImportPage.c"
}
@@ -3706,7 +3708,7 @@ PhotoImportSource* photo_import_source_get_associated (PhotoImportSource* self)
result = _tmp1_;
#line 253 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3709 "ImportPage.c"
+#line 3711 "ImportPage.c"
}
@@ -3729,13 +3731,13 @@ static gboolean photo_import_source_real_internal_delete_backing (DataSource* ba
g_propagate_error (error, _inner_error_);
#line 257 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 3732 "ImportPage.c"
+#line 3734 "ImportPage.c"
}
#line 258 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = self->priv->associated;
#line 258 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp1_ != NULL) {
-#line 3738 "ImportPage.c"
+#line 3740 "ImportPage.c"
gboolean _tmp2_ = FALSE;
PhotoImportSource* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -3752,19 +3754,19 @@ static gboolean photo_import_source_real_internal_delete_backing (DataSource* ba
g_propagate_error (error, _inner_error_);
#line 259 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 3755 "ImportPage.c"
+#line 3757 "ImportPage.c"
}
#line 259 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = ret;
#line 259 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ret = _tmp5_ & _tmp2_;
-#line 3761 "ImportPage.c"
+#line 3763 "ImportPage.c"
}
#line 260 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = ret;
#line 260 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 3767 "ImportPage.c"
+#line 3769 "ImportPage.c"
}
@@ -3793,7 +3795,7 @@ static void photo_import_source_class_init (PhotoImportSourceClass * klass) {
((DataSourceClass *) klass)->internal_delete_backing = photo_import_source_real_internal_delete_backing;
#line 152 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (klass)->finalize = photo_import_source_finalize;
-#line 3796 "ImportPage.c"
+#line 3798 "ImportPage.c"
}
@@ -3808,7 +3810,7 @@ static void photo_import_source_instance_init (PhotoImportSource * self) {
self->priv->exif_md5 = NULL;
#line 159 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->associated = NULL;
-#line 3811 "ImportPage.c"
+#line 3813 "ImportPage.c"
}
@@ -3826,7 +3828,7 @@ static void photo_import_source_finalize (GObject* obj) {
_g_object_unref0 (self->priv->associated);
#line 152 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (photo_import_source_parent_class)->finalize (obj);
-#line 3829 "ImportPage.c"
+#line 3831 "ImportPage.c"
}
@@ -3886,11 +3888,11 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, TYPE_VIDEO_IMPORT_SOURCE)) {
#line 278 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
media_source_item_set_enable_sprockets (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE_ITEM, MediaSourceItem), TRUE);
-#line 3889 "ImportPage.c"
+#line 3891 "ImportPage.c"
}
#line 281 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
pixbuf = NULL;
-#line 3893 "ImportPage.c"
+#line 3895 "ImportPage.c"
{
GdkPixbuf* _tmp6_ = NULL;
ImportSource* _tmp7_ = NULL;
@@ -3904,7 +3906,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_tmp6_ = _tmp8_;
#line 283 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3907 "ImportPage.c"
+#line 3909 "ImportPage.c"
goto __catch61_g_error;
}
#line 283 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3917,7 +3919,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
pixbuf = _tmp9_;
#line 282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp6_);
-#line 3920 "ImportPage.c"
+#line 3922 "ImportPage.c"
}
goto __finally61;
__catch61_g_error:
@@ -3945,7 +3947,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_g_free0 (_tmp11_);
#line 282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 3948 "ImportPage.c"
+#line 3950 "ImportPage.c"
}
__finally61:
#line 282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -3958,7 +3960,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
g_clear_error (&_inner_error_);
#line 282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return NULL;
-#line 3961 "ImportPage.c"
+#line 3963 "ImportPage.c"
}
#line 289 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = pixbuf;
@@ -3968,7 +3970,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_tmp15_ = pixbuf;
#line 290 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp15_ == NULL) {
-#line 3971 "ImportPage.c"
+#line 3973 "ImportPage.c"
GdkPixbuf* _tmp16_ = NULL;
GdkPixbuf* _tmp20_ = NULL;
GdkPixbuf* _tmp21_ = NULL;
@@ -3976,7 +3978,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_tmp16_ = import_preview_placeholder_preview;
#line 291 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp16_ == NULL) {
-#line 3979 "ImportPage.c"
+#line 3981 "ImportPage.c"
GdkPixbuf* _tmp17_ = NULL;
GdkPixbuf* _tmp18_ = NULL;
GdkPixbuf* _tmp19_ = NULL;
@@ -3994,7 +3996,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_g_object_unref0 (import_preview_placeholder_preview);
#line 293 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_preview_placeholder_preview = _tmp19_;
-#line 3997 "ImportPage.c"
+#line 3999 "ImportPage.c"
}
#line 297 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp20_ = import_preview_placeholder_preview;
@@ -4004,7 +4006,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_g_object_unref0 (pixbuf);
#line 297 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
pixbuf = _tmp21_;
-#line 4007 "ImportPage.c"
+#line 4009 "ImportPage.c"
}
#line 301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp23_ = pixbuf;
@@ -4014,7 +4016,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
if (_tmp24_ > IMPORT_PREVIEW_MAX_SCALE) {
#line 301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = TRUE;
-#line 4017 "ImportPage.c"
+#line 4019 "ImportPage.c"
} else {
GdkPixbuf* _tmp25_ = NULL;
gint _tmp26_ = 0;
@@ -4024,11 +4026,11 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_tmp26_ = gdk_pixbuf_get_height (_tmp25_);
#line 301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = _tmp26_ > IMPORT_PREVIEW_MAX_SCALE;
-#line 4027 "ImportPage.c"
+#line 4029 "ImportPage.c"
}
#line 301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp22_) {
-#line 4031 "ImportPage.c"
+#line 4033 "ImportPage.c"
GdkPixbuf* _tmp27_ = NULL;
GdkPixbuf* _tmp28_ = NULL;
#line 302 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -4039,13 +4041,13 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_g_object_unref0 (pixbuf);
#line 302 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
pixbuf = _tmp28_;
-#line 4042 "ImportPage.c"
+#line 4044 "ImportPage.c"
}
#line 304 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = source;
#line 304 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp29_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 4048 "ImportPage.c"
+#line 4050 "ImportPage.c"
PhotoImportSource* photo_import_source = NULL;
ImportSource* _tmp30_ = NULL;
PhotoImportSource* _tmp31_ = NULL;
@@ -4065,7 +4067,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_tmp33_ = using_placeholder;
#line 307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp33_) {
-#line 4068 "ImportPage.c"
+#line 4070 "ImportPage.c"
PhotoImportSource* _tmp34_ = NULL;
PhotoMetadata* _tmp35_ = NULL;
PhotoMetadata* _tmp36_ = NULL;
@@ -4079,15 +4081,15 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_tmp32_ = _tmp36_ != NULL;
#line 307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (_tmp36_);
-#line 4082 "ImportPage.c"
+#line 4084 "ImportPage.c"
} else {
#line 307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp32_ = FALSE;
-#line 4086 "ImportPage.c"
+#line 4088 "ImportPage.c"
}
#line 307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp32_) {
-#line 4090 "ImportPage.c"
+#line 4092 "ImportPage.c"
PhotoImportSource* _tmp37_ = NULL;
PhotoMetadata* _tmp38_ = NULL;
PhotoMetadata* _tmp39_ = NULL;
@@ -4112,7 +4114,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
pixbuf = _tmp42_;
#line 308 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (_tmp39_);
-#line 4115 "ImportPage.c"
+#line 4117 "ImportPage.c"
}
#line 310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp43_ = photo_import_source;
@@ -4126,7 +4128,7 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_g_object_unref0 (_tmp45_);
#line 310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp46_) {
-#line 4129 "ImportPage.c"
+#line 4131 "ImportPage.c"
const gchar* _tmp47_ = NULL;
gchar* _tmp48_ = NULL;
gchar* _tmp49_ = NULL;
@@ -4140,11 +4142,11 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
checkerboard_item_set_subtitle (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_ITEM, CheckerboardItem), _tmp49_, TRUE, PANGO_ALIGN_LEFT);
#line 311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp49_);
-#line 4143 "ImportPage.c"
+#line 4145 "ImportPage.c"
}
#line 304 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (photo_import_source);
-#line 4147 "ImportPage.c"
+#line 4149 "ImportPage.c"
}
#line 315 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp50_ = pixbuf;
@@ -4154,14 +4156,14 @@ ImportPreview* import_preview_construct (GType object_type, ImportSource* source
_g_object_unref0 (pixbuf);
#line 271 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 4157 "ImportPage.c"
+#line 4159 "ImportPage.c"
}
ImportPreview* import_preview_new (ImportSource* source) {
#line 271 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_preview_construct (TYPE_IMPORT_PREVIEW, source);
-#line 4164 "ImportPage.c"
+#line 4166 "ImportPage.c"
}
@@ -4185,7 +4187,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
if (_tmp1_ == NULL) {
#line 319 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp0_);
-#line 4188 "ImportPage.c"
+#line 4190 "ImportPage.c"
}
#line 319 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
photo_import_source = _tmp1_;
@@ -4193,7 +4195,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_tmp2_ = photo_import_source;
#line 320 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp2_ != NULL) {
-#line 4196 "ImportPage.c"
+#line 4198 "ImportPage.c"
gchar* preview_md5 = NULL;
PhotoImportSource* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
@@ -4222,7 +4224,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_tmp9_ = is_string_empty (_tmp8_);
#line 325 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp9_) {
-#line 4225 "ImportPage.c"
+#line 4227 "ImportPage.c"
const gchar* _tmp10_ = NULL;
PhotoFileFormat _tmp11_ = 0;
gboolean _tmp12_ = FALSE;
@@ -4234,15 +4236,15 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_tmp12_ = library_photo_has_nontrash_duplicate (NULL, _tmp10_, NULL, _tmp11_);
#line 326 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = _tmp12_;
-#line 4237 "ImportPage.c"
+#line 4239 "ImportPage.c"
} else {
#line 325 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = FALSE;
-#line 4241 "ImportPage.c"
+#line 4243 "ImportPage.c"
}
#line 325 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp7_) {
-#line 4245 "ImportPage.c"
+#line 4247 "ImportPage.c"
const gchar* _tmp13_ = NULL;
PhotoFileFormat _tmp14_ = 0;
PhotoID _tmp15_ = {0};
@@ -4267,13 +4269,13 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_g_object_unref0 (photo_import_source);
#line 331 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4270 "ImportPage.c"
+#line 4272 "ImportPage.c"
}
#line 337 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = file_format;
#line 337 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp17_ == PHOTO_FILE_FORMAT_RAW) {
-#line 4276 "ImportPage.c"
+#line 4278 "ImportPage.c"
guint64 filesize = 0ULL;
ImportSource* _tmp18_ = NULL;
ImportSource* _tmp19_ = NULL;
@@ -4296,7 +4298,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_tmp22_ = filesize;
#line 340 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp22_ <= ((guint64) G_MAXINT64)) {
-#line 4299 "ImportPage.c"
+#line 4301 "ImportPage.c"
LibraryPhotoSourceCollection* _tmp23_ = NULL;
ImportSource* _tmp24_ = NULL;
ImportSource* _tmp25_ = NULL;
@@ -4327,7 +4329,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_g_object_unref0 (_tmp25_);
#line 341 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp30_) {
-#line 4330 "ImportPage.c"
+#line 4332 "ImportPage.c"
LibraryPhotoSourceCollection* _tmp31_ = NULL;
ImportSource* _tmp32_ = NULL;
ImportSource* _tmp33_ = NULL;
@@ -4368,7 +4370,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_g_object_unref0 (photo_import_source);
#line 348 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4371 "ImportPage.c"
+#line 4373 "ImportPage.c"
}
}
}
@@ -4380,7 +4382,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_g_object_unref0 (photo_import_source);
#line 353 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4383 "ImportPage.c"
+#line 4385 "ImportPage.c"
}
#line 356 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = import_preview_get_import_source (self);
@@ -4390,7 +4392,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
if (_tmp40_ == NULL) {
#line 356 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp39_);
-#line 4393 "ImportPage.c"
+#line 4395 "ImportPage.c"
}
#line 356 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
video_import_source = _tmp40_;
@@ -4398,7 +4400,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_tmp41_ = video_import_source;
#line 357 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp41_ != NULL) {
-#line 4401 "ImportPage.c"
+#line 4403 "ImportPage.c"
VideoSourceCollection* _tmp42_ = NULL;
VideoImportSource* _tmp43_ = NULL;
gchar* _tmp44_ = NULL;
@@ -4427,7 +4429,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_g_free0 (_tmp45_);
#line 362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp49_) {
-#line 4430 "ImportPage.c"
+#line 4432 "ImportPage.c"
VideoSourceCollection* _tmp50_ = NULL;
VideoImportSource* _tmp51_ = NULL;
gchar* _tmp52_ = NULL;
@@ -4466,7 +4468,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_g_object_unref0 (photo_import_source);
#line 370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4469 "ImportPage.c"
+#line 4471 "ImportPage.c"
}
#line 373 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = FALSE;
@@ -4476,7 +4478,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_g_object_unref0 (photo_import_source);
#line 373 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4479 "ImportPage.c"
+#line 4481 "ImportPage.c"
}
#line 376 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = FALSE;
@@ -4486,7 +4488,7 @@ gboolean import_preview_is_already_imported (ImportPreview* self) {
_g_object_unref0 (photo_import_source);
#line 376 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4489 "ImportPage.c"
+#line 4491 "ImportPage.c"
}
@@ -4505,7 +4507,7 @@ DuplicatedFile* import_preview_get_duplicated_file (ImportPreview* self) {
result = NULL;
#line 381 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4508 "ImportPage.c"
+#line 4510 "ImportPage.c"
}
#line 383 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = self->priv->duplicated_file;
@@ -4515,7 +4517,7 @@ DuplicatedFile* import_preview_get_duplicated_file (ImportPreview* self) {
result = _tmp2_;
#line 383 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4518 "ImportPage.c"
+#line 4520 "ImportPage.c"
}
@@ -4530,7 +4532,7 @@ ImportSource* import_preview_get_import_source (ImportPreview* self) {
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_IMPORT_SOURCE, ImportSource);
#line 387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4533 "ImportPage.c"
+#line 4535 "ImportPage.c"
}
@@ -4541,14 +4543,14 @@ static void import_preview_class_init (ImportPreviewClass * klass) {
g_type_class_add_private (klass, sizeof (ImportPreviewPrivate));
#line 264 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (klass)->finalize = import_preview_finalize;
-#line 4544 "ImportPage.c"
+#line 4546 "ImportPage.c"
}
static void import_preview_instance_init (ImportPreview * self) {
#line 264 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv = IMPORT_PREVIEW_GET_PRIVATE (self);
-#line 4551 "ImportPage.c"
+#line 4553 "ImportPage.c"
}
@@ -4560,7 +4562,7 @@ static void import_preview_finalize (GObject* obj) {
_g_object_unref0 (self->priv->duplicated_file);
#line 264 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (import_preview_parent_class)->finalize (obj);
-#line 4563 "ImportPage.c"
+#line 4565 "ImportPage.c"
}
@@ -4598,14 +4600,14 @@ CameraViewTracker* camera_view_tracker_construct (GType object_type, ViewCollect
core_view_tracker_start (G_TYPE_CHECK_INSTANCE_CAST (self, CORE_TYPE_VIEW_TRACKER, CoreViewTracker), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, CORE_TYPE_TRACKER_ACCUMULATOR, CoreTrackerAccumulator), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, CORE_TYPE_TRACKER_ACCUMULATOR, CoreTrackerAccumulator), G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, CORE_TYPE_TRACKER_ACCUMULATOR, CoreTrackerAccumulator));
#line 396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 4601 "ImportPage.c"
+#line 4603 "ImportPage.c"
}
CameraViewTracker* camera_view_tracker_new (ViewCollection* collection) {
#line 396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return camera_view_tracker_construct (TYPE_CAMERA_VIEW_TRACKER, collection);
-#line 4608 "ImportPage.c"
+#line 4610 "ImportPage.c"
}
@@ -4614,7 +4616,7 @@ static void camera_view_tracker_class_init (CameraViewTrackerClass * klass) {
camera_view_tracker_parent_class = g_type_class_peek_parent (klass);
#line 391 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((CoreTrackerClass *) klass)->finalize = camera_view_tracker_finalize;
-#line 4617 "ImportPage.c"
+#line 4619 "ImportPage.c"
}
@@ -4634,7 +4636,7 @@ static void camera_view_tracker_instance_init (CameraViewTracker * self) {
_tmp2_ = camera_accumulator_new ();
#line 394 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->selected = _tmp2_;
-#line 4637 "ImportPage.c"
+#line 4639 "ImportPage.c"
}
@@ -4650,7 +4652,7 @@ static void camera_view_tracker_finalize (CoreTracker* obj) {
_g_object_unref0 (self->selected);
#line 391 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
CORE_TRACKER_CLASS (camera_view_tracker_parent_class)->finalize (obj);
-#line 4653 "ImportPage.c"
+#line 4655 "ImportPage.c"
}
@@ -4702,7 +4704,7 @@ static gboolean camera_accumulator_real_include (CoreTrackerAccumulator* base, D
_tmp6_ = photo;
#line 415 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp6_ != NULL) {
-#line 4705 "ImportPage.c"
+#line 4707 "ImportPage.c"
PhotoImportSource* _tmp7_ = NULL;
PhotoFileFormat _tmp8_ = 0;
#line 415 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -4711,21 +4713,21 @@ static gboolean camera_accumulator_real_include (CoreTrackerAccumulator* base, D
_tmp8_ = photo_import_source_get_file_format (_tmp7_);
#line 415 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = _tmp8_ != PHOTO_FILE_FORMAT_RAW;
-#line 4714 "ImportPage.c"
+#line 4716 "ImportPage.c"
} else {
#line 415 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = FALSE;
-#line 4718 "ImportPage.c"
+#line 4720 "ImportPage.c"
}
#line 415 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp5_) {
-#line 4722 "ImportPage.c"
+#line 4724 "ImportPage.c"
gint _tmp9_ = 0;
#line 416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = self->priv->_photos;
#line 416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
camera_accumulator_set_photos (self, _tmp9_ + 1);
-#line 4728 "ImportPage.c"
+#line 4730 "ImportPage.c"
} else {
gboolean _tmp10_ = FALSE;
PhotoImportSource* _tmp11_ = NULL;
@@ -4733,7 +4735,7 @@ static gboolean camera_accumulator_real_include (CoreTrackerAccumulator* base, D
_tmp11_ = photo;
#line 417 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp11_ != NULL) {
-#line 4736 "ImportPage.c"
+#line 4738 "ImportPage.c"
PhotoImportSource* _tmp12_ = NULL;
PhotoFileFormat _tmp13_ = 0;
#line 417 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -4742,34 +4744,34 @@ static gboolean camera_accumulator_real_include (CoreTrackerAccumulator* base, D
_tmp13_ = photo_import_source_get_file_format (_tmp12_);
#line 417 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = _tmp13_ == PHOTO_FILE_FORMAT_RAW;
-#line 4745 "ImportPage.c"
+#line 4747 "ImportPage.c"
} else {
#line 417 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = FALSE;
-#line 4749 "ImportPage.c"
+#line 4751 "ImportPage.c"
}
#line 417 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp10_) {
-#line 4753 "ImportPage.c"
+#line 4755 "ImportPage.c"
gint _tmp14_ = 0;
#line 418 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = self->priv->_raw;
#line 418 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
camera_accumulator_set_raw (self, _tmp14_ + 1);
-#line 4759 "ImportPage.c"
+#line 4761 "ImportPage.c"
} else {
ImportSource* _tmp15_ = NULL;
#line 419 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = source;
#line 419 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, TYPE_VIDEO_IMPORT_SOURCE)) {
-#line 4766 "ImportPage.c"
+#line 4768 "ImportPage.c"
gint _tmp16_ = 0;
#line 420 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp16_ = self->priv->_videos;
#line 420 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
camera_accumulator_set_videos (self, _tmp16_ + 1);
-#line 4772 "ImportPage.c"
+#line 4774 "ImportPage.c"
}
}
}
@@ -4781,7 +4783,7 @@ static gboolean camera_accumulator_real_include (CoreTrackerAccumulator* base, D
_g_object_unref0 (source);
#line 423 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4784 "ImportPage.c"
+#line 4786 "ImportPage.c"
}
@@ -4821,7 +4823,7 @@ static gboolean camera_accumulator_real_uninclude (CoreTrackerAccumulator* base,
_tmp6_ = photo;
#line 432 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp6_ != NULL) {
-#line 4824 "ImportPage.c"
+#line 4826 "ImportPage.c"
PhotoImportSource* _tmp7_ = NULL;
PhotoFileFormat _tmp8_ = 0;
#line 432 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -4830,15 +4832,15 @@ static gboolean camera_accumulator_real_uninclude (CoreTrackerAccumulator* base,
_tmp8_ = photo_import_source_get_file_format (_tmp7_);
#line 432 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = _tmp8_ != PHOTO_FILE_FORMAT_RAW;
-#line 4833 "ImportPage.c"
+#line 4835 "ImportPage.c"
} else {
#line 432 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = FALSE;
-#line 4837 "ImportPage.c"
+#line 4839 "ImportPage.c"
}
#line 432 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp5_) {
-#line 4841 "ImportPage.c"
+#line 4843 "ImportPage.c"
gint _tmp9_ = 0;
gint _tmp10_ = 0;
#line 433 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -4849,7 +4851,7 @@ static gboolean camera_accumulator_real_uninclude (CoreTrackerAccumulator* base,
_tmp10_ = self->priv->_photos;
#line 434 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
camera_accumulator_set_photos (self, _tmp10_ - 1);
-#line 4852 "ImportPage.c"
+#line 4854 "ImportPage.c"
} else {
gboolean _tmp11_ = FALSE;
PhotoImportSource* _tmp12_ = NULL;
@@ -4857,7 +4859,7 @@ static gboolean camera_accumulator_real_uninclude (CoreTrackerAccumulator* base,
_tmp12_ = photo;
#line 435 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp12_ != NULL) {
-#line 4860 "ImportPage.c"
+#line 4862 "ImportPage.c"
PhotoImportSource* _tmp13_ = NULL;
PhotoFileFormat _tmp14_ = 0;
#line 435 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -4866,15 +4868,15 @@ static gboolean camera_accumulator_real_uninclude (CoreTrackerAccumulator* base,
_tmp14_ = photo_import_source_get_file_format (_tmp13_);
#line 435 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = _tmp14_ == PHOTO_FILE_FORMAT_RAW;
-#line 4869 "ImportPage.c"
+#line 4871 "ImportPage.c"
} else {
#line 435 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = FALSE;
-#line 4873 "ImportPage.c"
+#line 4875 "ImportPage.c"
}
#line 435 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp11_) {
-#line 4877 "ImportPage.c"
+#line 4879 "ImportPage.c"
gint _tmp15_ = 0;
gint _tmp16_ = 0;
#line 436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -4885,14 +4887,14 @@ static gboolean camera_accumulator_real_uninclude (CoreTrackerAccumulator* base,
_tmp16_ = self->priv->_raw;
#line 437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
camera_accumulator_set_raw (self, _tmp16_ - 1);
-#line 4888 "ImportPage.c"
+#line 4890 "ImportPage.c"
} else {
ImportSource* _tmp17_ = NULL;
#line 438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = source;
#line 438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp17_, TYPE_VIDEO_IMPORT_SOURCE)) {
-#line 4895 "ImportPage.c"
+#line 4897 "ImportPage.c"
gint _tmp18_ = 0;
gint _tmp19_ = 0;
#line 439 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -4903,7 +4905,7 @@ static gboolean camera_accumulator_real_uninclude (CoreTrackerAccumulator* base,
_tmp19_ = self->priv->_videos;
#line 440 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
camera_accumulator_set_videos (self, _tmp19_ - 1);
-#line 4906 "ImportPage.c"
+#line 4908 "ImportPage.c"
}
}
}
@@ -4915,7 +4917,7 @@ static gboolean camera_accumulator_real_uninclude (CoreTrackerAccumulator* base,
_g_object_unref0 (source);
#line 444 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4918 "ImportPage.c"
+#line 4920 "ImportPage.c"
}
@@ -4932,7 +4934,7 @@ static gboolean camera_accumulator_real_altered (CoreTrackerAccumulator* base, D
result = FALSE;
#line 449 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4935 "ImportPage.c"
+#line 4937 "ImportPage.c"
}
@@ -4959,7 +4961,7 @@ gchar* camera_accumulator_to_string (CameraAccumulator* self) {
result = _tmp4_;
#line 453 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4962 "ImportPage.c"
+#line 4964 "ImportPage.c"
}
@@ -4969,14 +4971,14 @@ CameraAccumulator* camera_accumulator_construct (GType object_type) {
self = (CameraAccumulator*) g_object_new (object_type, NULL);
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 4972 "ImportPage.c"
+#line 4974 "ImportPage.c"
}
CameraAccumulator* camera_accumulator_new (void) {
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return camera_accumulator_construct (TYPE_CAMERA_ACCUMULATOR);
-#line 4979 "ImportPage.c"
+#line 4981 "ImportPage.c"
}
@@ -4991,7 +4993,7 @@ gint camera_accumulator_get_total (CameraAccumulator* self) {
result = _tmp0_;
#line 404 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 4994 "ImportPage.c"
+#line 4996 "ImportPage.c"
}
@@ -5005,7 +5007,7 @@ static void camera_accumulator_set_total (CameraAccumulator* self, gint value) {
self->priv->_total = _tmp0_;
#line 404 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_object_notify ((GObject *) self, "total");
-#line 5008 "ImportPage.c"
+#line 5010 "ImportPage.c"
}
@@ -5020,7 +5022,7 @@ gint camera_accumulator_get_photos (CameraAccumulator* self) {
result = _tmp0_;
#line 405 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 5023 "ImportPage.c"
+#line 5025 "ImportPage.c"
}
@@ -5034,7 +5036,7 @@ static void camera_accumulator_set_photos (CameraAccumulator* self, gint value)
self->priv->_photos = _tmp0_;
#line 405 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_object_notify ((GObject *) self, "photos");
-#line 5037 "ImportPage.c"
+#line 5039 "ImportPage.c"
}
@@ -5049,7 +5051,7 @@ gint camera_accumulator_get_videos (CameraAccumulator* self) {
result = _tmp0_;
#line 406 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 5052 "ImportPage.c"
+#line 5054 "ImportPage.c"
}
@@ -5063,7 +5065,7 @@ static void camera_accumulator_set_videos (CameraAccumulator* self, gint value)
self->priv->_videos = _tmp0_;
#line 406 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_object_notify ((GObject *) self, "videos");
-#line 5066 "ImportPage.c"
+#line 5068 "ImportPage.c"
}
@@ -5078,7 +5080,7 @@ gint camera_accumulator_get_raw (CameraAccumulator* self) {
result = _tmp0_;
#line 407 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 5081 "ImportPage.c"
+#line 5083 "ImportPage.c"
}
@@ -5092,7 +5094,7 @@ static void camera_accumulator_set_raw (CameraAccumulator* self, gint value) {
self->priv->_raw = _tmp0_;
#line 407 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_object_notify ((GObject *) self, "raw");
-#line 5095 "ImportPage.c"
+#line 5097 "ImportPage.c"
}
@@ -5115,7 +5117,7 @@ static void camera_accumulator_class_init (CameraAccumulatorClass * klass) {
g_object_class_install_property (G_OBJECT_CLASS (klass), CAMERA_ACCUMULATOR_VIDEOS, g_param_spec_int ("videos", "videos", "videos", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_object_class_install_property (G_OBJECT_CLASS (klass), CAMERA_ACCUMULATOR_RAW, g_param_spec_int ("raw", "raw", "raw", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 5118 "ImportPage.c"
+#line 5120 "ImportPage.c"
}
@@ -5128,7 +5130,7 @@ static void camera_accumulator_core_tracker_accumulator_interface_init (CoreTrac
iface->uninclude = (gboolean (*)(CoreTrackerAccumulator*, DataObject*)) camera_accumulator_real_uninclude;
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
iface->altered = (gboolean (*)(CoreTrackerAccumulator*, DataObject*, Alteration*)) camera_accumulator_real_altered;
-#line 5131 "ImportPage.c"
+#line 5133 "ImportPage.c"
}
@@ -5143,7 +5145,7 @@ static void camera_accumulator_instance_init (CameraAccumulator * self) {
self->priv->_videos = 0;
#line 407 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->_raw = 0;
-#line 5146 "ImportPage.c"
+#line 5148 "ImportPage.c"
}
@@ -5153,7 +5155,7 @@ static void camera_accumulator_finalize (GObject* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CAMERA_ACCUMULATOR, CameraAccumulator);
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (camera_accumulator_parent_class)->finalize (obj);
-#line 5156 "ImportPage.c"
+#line 5158 "ImportPage.c"
}
@@ -5200,13 +5202,13 @@ static void _vala_camera_accumulator_get_property (GObject * object, guint prope
g_value_set_int (value, camera_accumulator_get_raw (self));
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 5203 "ImportPage.c"
+#line 5205 "ImportPage.c"
default:
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 5209 "ImportPage.c"
+#line 5211 "ImportPage.c"
}
}
@@ -5240,13 +5242,13 @@ static void _vala_camera_accumulator_set_property (GObject * object, guint prope
camera_accumulator_set_raw (self, g_value_get_int (value));
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 5243 "ImportPage.c"
+#line 5245 "ImportPage.c"
default:
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 5249 "ImportPage.c"
+#line 5251 "ImportPage.c"
}
}
@@ -5254,7 +5256,7 @@ static void _vala_camera_accumulator_set_property (GObject * object, guint prope
static void _import_page_on_media_added_removed_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
#line 766 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_media_added_removed ((ImportPage*) self);
-#line 5257 "ImportPage.c"
+#line 5259 "ImportPage.c"
}
@@ -5275,7 +5277,7 @@ static gint64 _import_page_preview_comparator_comparator (void* a, void* b, gpoi
result = import_page_preview_comparator (a, b);
#line 747 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 5278 "ImportPage.c"
+#line 5280 "ImportPage.c"
}
@@ -5284,28 +5286,28 @@ static gboolean _import_page_preview_comparator_predicate_comparator_predicate (
result = import_page_preview_comparator_predicate (object, alteration);
#line 747 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 5287 "ImportPage.c"
+#line 5289 "ImportPage.c"
}
static void _import_page_on_view_changed_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
#line 750 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_view_changed ((ImportPage*) self);
-#line 5294 "ImportPage.c"
+#line 5296 "ImportPage.c"
}
static void _import_page_on_view_changed_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
#line 751 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_view_changed ((ImportPage*) self);
-#line 5301 "ImportPage.c"
+#line 5303 "ImportPage.c"
}
static void _import_page_on_view_changed_view_collection_items_visibility_changed (ViewCollection* _sender, GeeCollection* changed, gpointer self) {
#line 752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_view_changed ((ImportPage*) self);
-#line 5308 "ImportPage.c"
+#line 5310 "ImportPage.c"
}
@@ -5414,7 +5416,7 @@ ImportPage* import_page_construct (GType object_type, Camera* camera, const gcha
_tmp14_ = display_name;
#line 719 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (NULL != _tmp14_) {
-#line 5417 "ImportPage.c"
+#line 5419 "ImportPage.c"
const gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
#line 720 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -5425,7 +5427,7 @@ ImportPage* import_page_construct (GType object_type, Camera* camera, const gcha
_g_free0 (self->priv->camera_name);
#line 720 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->camera_name = _tmp16_;
-#line 5428 "ImportPage.c"
+#line 5430 "ImportPage.c"
} else {
CameraAbilities abilities = {0};
int res = 0;
@@ -5447,7 +5449,7 @@ ImportPage* import_page_construct (GType object_type, Camera* camera, const gcha
_tmp20_ = res;
#line 724 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp20_ != GP_OK) {
-#line 5450 "ImportPage.c"
+#line 5452 "ImportPage.c"
int _tmp21_ = 0;
gchar* _tmp22_ = NULL;
gchar* _tmp23_ = NULL;
@@ -5471,11 +5473,11 @@ ImportPage* import_page_construct (GType object_type, Camera* camera, const gcha
_g_free0 (self->priv->camera_name);
#line 726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->camera_name = _tmp25_;
-#line 5474 "ImportPage.c"
+#line 5476 "ImportPage.c"
}
#line 719 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(abilities);
-#line 5478 "ImportPage.c"
+#line 5480 "ImportPage.c"
}
#line 729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp26_ = self->priv->camera_label;
@@ -5497,7 +5499,7 @@ ImportPage* import_page_construct (GType object_type, Camera* camera, const gcha
_tmp30_ = import_page_null_context;
#line 736 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp30_ == NULL) {
-#line 5500 "ImportPage.c"
+#line 5502 "ImportPage.c"
GPContextWrapper* _tmp31_ = NULL;
#line 737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp31_ = gp_context_wrapper_new ();
@@ -5505,13 +5507,13 @@ ImportPage* import_page_construct (GType object_type, Camera* camera, const gcha
_gp_context_wrapper_unref0 (import_page_null_context);
#line 737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_null_context = _tmp31_;
-#line 5508 "ImportPage.c"
+#line 5510 "ImportPage.c"
}
#line 740 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp32_ = import_page_spin_idle_context;
#line 740 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp32_ == NULL) {
-#line 5514 "ImportPage.c"
+#line 5516 "ImportPage.c"
GPSpinIdleWrapper* _tmp33_ = NULL;
#line 741 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp33_ = gp_spin_idle_wrapper_new ();
@@ -5519,7 +5521,7 @@ ImportPage* import_page_construct (GType object_type, Camera* camera, const gcha
_gp_context_wrapper_unref0 (import_page_spin_idle_context);
#line 741 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_spin_idle_context = _tmp33_;
-#line 5522 "ImportPage.c"
+#line 5524 "ImportPage.c"
}
#line 744 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp34_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5601,21 +5603,21 @@ ImportPage* import_page_construct (GType object_type, Camera* camera, const gcha
checkerboard_page_init_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), "/ImportContextMenu");
#line 709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 5604 "ImportPage.c"
+#line 5606 "ImportPage.c"
}
ImportPage* import_page_new (Camera* camera, const gchar* uri, const gchar* display_name, const gchar* icon) {
#line 709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_page_construct (TYPE_IMPORT_PAGE, camera, uri, display_name, icon);
-#line 5611 "ImportPage.c"
+#line 5613 "ImportPage.c"
}
static void _import_page_on_hide_imported_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 777 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_hide_imported ((ImportPage*) self);
-#line 5618 "ImportPage.c"
+#line 5620 "ImportPage.c"
}
@@ -5631,7 +5633,7 @@ static GtkToolbar* import_page_real_get_toolbar (Page* base) {
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->toolbar;
#line 771 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_ == NULL) {
-#line 5634 "ImportPage.c"
+#line 5636 "ImportPage.c"
GtkToolbar* _tmp1_ = NULL;
GtkToolbar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
@@ -5913,7 +5915,7 @@ static GtkToolbar* import_page_real_get_toolbar (Page* base) {
_g_object_unref0 (separator);
#line 771 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (hide_item);
-#line 5916 "ImportPage.c"
+#line 5918 "ImportPage.c"
}
#line 834 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp56_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->toolbar;
@@ -5923,14 +5925,14 @@ static GtkToolbar* import_page_real_get_toolbar (Page* base) {
result = _tmp57_;
#line 834 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 5926 "ImportPage.c"
+#line 5928 "ImportPage.c"
}
static gpointer _core_tracker_ref0 (gpointer self) {
#line 838 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self ? core_tracker_ref (self) : NULL;
-#line 5933 "ImportPage.c"
+#line 5935 "ImportPage.c"
}
@@ -5949,7 +5951,7 @@ static CoreViewTracker* import_page_real_get_view_tracker (CheckerboardPage* bas
result = _tmp1_;
#line 838 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 5952 "ImportPage.c"
+#line 5954 "ImportPage.c"
}
@@ -5958,17 +5960,36 @@ static gchar* import_page_real_get_view_empty_message (CheckerboardPage* base) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
+#line 841 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_IMPORT_PAGE, ImportPage);
+#line 842 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp0_ = _ ("The camera seems to be empty. No photos/videos found to import");
+#line 842 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp1_ = g_strdup (_tmp0_);
+#line 842 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ result = _tmp1_;
+#line 842 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ return result;
+#line 5973 "ImportPage.c"
+}
+
+
+static gchar* import_page_real_get_filter_no_match_message (CheckerboardPage* base) {
+ ImportPage * self;
+ gchar* result = NULL;
+ const gchar* _tmp0_ = NULL;
+ gchar* _tmp1_ = NULL;
#line 845 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_IMPORT_PAGE, ImportPage);
#line 846 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp0_ = _ ("Starting import, please wait...");
+ _tmp0_ = _ ("No new photos/videos found on camera");
#line 846 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = g_strdup (_tmp0_);
#line 846 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp1_;
#line 846 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 5971 "ImportPage.c"
+#line 5992 "ImportPage.c"
}
@@ -6009,7 +6030,7 @@ static gint64 import_page_preview_comparator (void* a, void* b) {
result = _tmp8_;
#line 850 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6012 "ImportPage.c"
+#line 6033 "ImportPage.c"
}
@@ -6029,7 +6050,7 @@ static gboolean import_page_preview_comparator_predicate (DataObject* object, Al
result = _tmp1_;
#line 855 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6032 "ImportPage.c"
+#line 6053 "ImportPage.c"
}
@@ -6053,7 +6074,7 @@ static gint64 import_page_import_job_comparator (ImportPage* self, void* a, void
result = (gint64) (_tmp1_ - _tmp3_);
#line 859 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6056 "ImportPage.c"
+#line 6077 "ImportPage.c"
}
@@ -6073,14 +6094,14 @@ static void import_page_real_init_collect_ui_filenames (Page* base, GeeList* ui_
_tmp1_ = ui_filenames;
#line 865 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection), "import.ui");
-#line 6076 "ImportPage.c"
+#line 6097 "ImportPage.c"
}
static void _import_page_on_display_titles_gtk_action_callback (GtkAction* action, gpointer self) {
#line 871 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_display_titles ((ImportPage*) self, action);
-#line 6083 "ImportPage.c"
+#line 6104 "ImportPage.c"
}
@@ -6091,11 +6112,11 @@ static void _vala_array_add143 (GtkToggleActionEntry** array, int* length, int*
*size = (*size) ? (2 * (*size)) : 4;
#line 875 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*array = g_renew (GtkToggleActionEntry, *array, *size);
-#line 6094 "ImportPage.c"
+#line 6115 "ImportPage.c"
}
#line 875 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(*array)[(*length)++] = *value;
-#line 6098 "ImportPage.c"
+#line 6119 "ImportPage.c"
}
@@ -6180,20 +6201,20 @@ static GtkToggleActionEntry* import_page_real_init_collect_toggle_action_entries
if (result_length1) {
#line 877 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*result_length1 = _tmp11__length1;
-#line 6183 "ImportPage.c"
+#line 6204 "ImportPage.c"
}
#line 877 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp11_;
#line 877 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6189 "ImportPage.c"
+#line 6210 "ImportPage.c"
}
static void _import_page_on_import_selected_gtk_action_callback (GtkAction* action, gpointer self) {
#line 883 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_import_selected ((ImportPage*) self);
-#line 6196 "ImportPage.c"
+#line 6217 "ImportPage.c"
}
@@ -6204,18 +6225,18 @@ static void _vala_array_add144 (GtkActionEntry** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 887 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*array = g_renew (GtkActionEntry, *array, *size);
-#line 6207 "ImportPage.c"
+#line 6228 "ImportPage.c"
}
#line 887 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(*array)[(*length)++] = *value;
-#line 6211 "ImportPage.c"
+#line 6232 "ImportPage.c"
}
static void _import_page_on_import_all_gtk_action_callback (GtkAction* action, gpointer self) {
#line 889 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_import_all ((ImportPage*) self);
-#line 6218 "ImportPage.c"
+#line 6239 "ImportPage.c"
}
@@ -6226,11 +6247,11 @@ static void _vala_array_add145 (GtkActionEntry** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 893 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*array = g_renew (GtkActionEntry, *array, *size);
-#line 6229 "ImportPage.c"
+#line 6250 "ImportPage.c"
}
#line 893 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(*array)[(*length)++] = *value;
-#line 6233 "ImportPage.c"
+#line 6254 "ImportPage.c"
}
@@ -6336,13 +6357,13 @@ static GtkActionEntry* import_page_real_init_collect_action_entries (Page* base,
if (result_length1) {
#line 895 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*result_length1 = _tmp12__length1;
-#line 6339 "ImportPage.c"
+#line 6360 "ImportPage.c"
}
#line 895 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp12_;
#line 895 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6345 "ImportPage.c"
+#line 6366 "ImportPage.c"
}
@@ -6360,7 +6381,7 @@ Camera* import_page_get_camera (ImportPage* self) {
result = _tmp1_;
#line 899 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6363 "ImportPage.c"
+#line 6384 "ImportPage.c"
}
@@ -6378,7 +6399,7 @@ gchar* import_page_get_uri (ImportPage* self) {
result = _tmp1_;
#line 903 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6381 "ImportPage.c"
+#line 6402 "ImportPage.c"
}
@@ -6393,7 +6414,7 @@ gboolean import_page_is_busy (ImportPage* self) {
result = _tmp0_;
#line 907 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6396 "ImportPage.c"
+#line 6417 "ImportPage.c"
}
@@ -6415,7 +6436,7 @@ static void import_page_real_init_actions (Page* base, gint selected_count, gint
_tmp1_ = count;
#line 916 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
PAGE_CLASS (import_page_parent_class)->init_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp0_, _tmp1_);
-#line 6418 "ImportPage.c"
+#line 6439 "ImportPage.c"
}
@@ -6429,23 +6450,23 @@ gboolean import_page_is_refreshed (ImportPage* self) {
_tmp1_ = self->priv->refreshed;
#line 920 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp1_) {
-#line 6432 "ImportPage.c"
+#line 6453 "ImportPage.c"
gboolean _tmp2_ = FALSE;
#line 920 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = self->priv->busy;
#line 920 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = !_tmp2_;
-#line 6438 "ImportPage.c"
+#line 6459 "ImportPage.c"
} else {
#line 920 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = FALSE;
-#line 6442 "ImportPage.c"
+#line 6463 "ImportPage.c"
}
#line 920 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp0_;
#line 920 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6448 "ImportPage.c"
+#line 6469 "ImportPage.c"
}
@@ -6461,7 +6482,7 @@ gchar* import_page_get_refresh_message (ImportPage* self) {
_tmp0_ = self->priv->refresh_error;
#line 925 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_ != NULL) {
-#line 6464 "ImportPage.c"
+#line 6485 "ImportPage.c"
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
#line 926 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -6472,14 +6493,14 @@ gchar* import_page_get_refresh_message (ImportPage* self) {
_g_free0 (msg);
#line 926 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
msg = _tmp2_;
-#line 6475 "ImportPage.c"
+#line 6496 "ImportPage.c"
} else {
int _tmp3_ = 0;
#line 927 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = self->priv->refresh_result;
#line 927 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp3_ == GP_OK) {
-#line 6482 "ImportPage.c"
+#line 6503 "ImportPage.c"
} else {
int _tmp4_ = 0;
gchar* _tmp5_ = NULL;
@@ -6491,14 +6512,14 @@ gchar* import_page_get_refresh_message (ImportPage* self) {
_g_free0 (msg);
#line 930 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
msg = _tmp5_;
-#line 6494 "ImportPage.c"
+#line 6515 "ImportPage.c"
}
}
#line 933 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = msg;
#line 933 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6501 "ImportPage.c"
+#line 6522 "ImportPage.c"
}
@@ -6517,7 +6538,7 @@ static void import_page_update_status (ImportPage* self, gboolean busy, gboolean
self->priv->refreshed = _tmp1_;
#line 940 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_view_changed (self);
-#line 6520 "ImportPage.c"
+#line 6541 "ImportPage.c"
}
@@ -6529,7 +6550,7 @@ static void import_page_update_toolbar_state (ImportPage* self) {
_tmp0_ = self->priv->hide_imported;
#line 944 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_ != NULL) {
-#line 6532 "ImportPage.c"
+#line 6553 "ImportPage.c"
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
@@ -6538,21 +6559,21 @@ static void import_page_update_toolbar_state (ImportPage* self) {
_tmp3_ = self->priv->busy;
#line 945 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp3_) {
-#line 6541 "ImportPage.c"
+#line 6562 "ImportPage.c"
gboolean _tmp4_ = FALSE;
#line 945 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = self->priv->refreshed;
#line 945 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = _tmp4_;
-#line 6547 "ImportPage.c"
+#line 6568 "ImportPage.c"
} else {
#line 945 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = FALSE;
-#line 6551 "ImportPage.c"
+#line 6572 "ImportPage.c"
}
#line 945 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp2_) {
-#line 6555 "ImportPage.c"
+#line 6576 "ImportPage.c"
ViewCollection* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
gint _tmp7_ = 0;
@@ -6566,17 +6587,17 @@ static void import_page_update_toolbar_state (ImportPage* self) {
_tmp1_ = _tmp7_ > 0;
#line 945 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 6569 "ImportPage.c"
+#line 6590 "ImportPage.c"
} else {
#line 945 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = FALSE;
-#line 6573 "ImportPage.c"
+#line 6594 "ImportPage.c"
}
#line 945 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = self->priv->hide_imported;
#line 945 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), _tmp1_);
-#line 6579 "ImportPage.c"
+#line 6600 "ImportPage.c"
}
}
@@ -6598,21 +6619,21 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp2_ = self->priv->busy;
#line 949 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp2_) {
-#line 6601 "ImportPage.c"
+#line 6622 "ImportPage.c"
gboolean _tmp3_ = FALSE;
#line 949 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = self->priv->refreshed;
#line 949 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _tmp3_;
-#line 6607 "ImportPage.c"
+#line 6628 "ImportPage.c"
} else {
#line 949 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = FALSE;
-#line 6611 "ImportPage.c"
+#line 6632 "ImportPage.c"
}
#line 949 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp1_) {
-#line 6615 "ImportPage.c"
+#line 6636 "ImportPage.c"
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
gint _tmp6_ = 0;
@@ -6626,11 +6647,11 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp0_ = _tmp6_ > 0;
#line 949 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 6629 "ImportPage.c"
+#line 6650 "ImportPage.c"
} else {
#line 949 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = FALSE;
-#line 6633 "ImportPage.c"
+#line 6654 "ImportPage.c"
}
#line 949 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ImportSelected", _tmp0_);
@@ -6638,21 +6659,21 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp9_ = self->priv->busy;
#line 950 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp9_) {
-#line 6641 "ImportPage.c"
+#line 6662 "ImportPage.c"
gboolean _tmp10_ = FALSE;
#line 950 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = self->priv->refreshed;
#line 950 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = _tmp10_;
-#line 6647 "ImportPage.c"
+#line 6668 "ImportPage.c"
} else {
#line 950 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = FALSE;
-#line 6651 "ImportPage.c"
+#line 6672 "ImportPage.c"
}
#line 950 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp8_) {
-#line 6655 "ImportPage.c"
+#line 6676 "ImportPage.c"
ViewCollection* _tmp11_ = NULL;
ViewCollection* _tmp12_ = NULL;
gint _tmp13_ = 0;
@@ -6666,11 +6687,11 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp7_ = _tmp13_ > 0;
#line 950 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp12_);
-#line 6669 "ImportPage.c"
+#line 6690 "ImportPage.c"
} else {
#line 950 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = FALSE;
-#line 6673 "ImportPage.c"
+#line 6694 "ImportPage.c"
}
#line 950 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ImportAll", _tmp7_);
@@ -6678,7 +6699,7 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp15_ = self->priv->busy;
#line 952 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp15_) {
-#line 6681 "ImportPage.c"
+#line 6702 "ImportPage.c"
ViewCollection* _tmp16_ = NULL;
ViewCollection* _tmp17_ = NULL;
gint _tmp18_ = 0;
@@ -6692,11 +6713,11 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp14_ = _tmp18_ > 0;
#line 952 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp17_);
-#line 6695 "ImportPage.c"
+#line 6716 "ImportPage.c"
} else {
#line 952 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = FALSE;
-#line 6699 "ImportPage.c"
+#line 6720 "ImportPage.c"
}
#line 951 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = app_window_get_instance ();
@@ -6708,7 +6729,7 @@ static void import_page_on_view_changed (ImportPage* self) {
_g_object_unref0 (_tmp20_);
#line 954 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_update_toolbar_state (self);
-#line 6711 "ImportPage.c"
+#line 6732 "ImportPage.c"
}
@@ -6720,7 +6741,7 @@ static void import_page_on_media_added_removed (ImportPage* self) {
_tmp0_ = self->priv->search_filter;
#line 958 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_VIEW_FILTER, ViewFilter), "refresh");
-#line 6723 "ImportPage.c"
+#line 6744 "ImportPage.c"
}
@@ -6750,7 +6771,7 @@ static void import_page_on_display_titles (ImportPage* self, GtkAction* action)
configuration_facade_set_display_photo_titles (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), display);
#line 965 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp3_);
-#line 6753 "ImportPage.c"
+#line 6774 "ImportPage.c"
}
@@ -6773,7 +6794,7 @@ static void import_page_real_switched_to (Page* base) {
_g_object_unref0 (_tmp1_);
#line 971 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
PAGE_CLASS (import_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page));
-#line 6776 "ImportPage.c"
+#line 6797 "ImportPage.c"
}
@@ -6788,7 +6809,7 @@ static void import_page_real_ready (Page* base) {
_tmp0_ = self->priv->hide_imported_filter;
#line 976 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_VIEW_FILTER, ViewFilter), "refresh");
-#line 6791 "ImportPage.c"
+#line 6812 "ImportPage.c"
}
@@ -6807,20 +6828,20 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
if (_tmp1_) {
#line 981 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = TRUE;
-#line 6810 "ImportPage.c"
+#line 6831 "ImportPage.c"
} else {
gboolean _tmp2_ = FALSE;
#line 981 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = self->priv->busy;
#line 981 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp2_;
-#line 6817 "ImportPage.c"
+#line 6838 "ImportPage.c"
}
#line 981 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_) {
#line 982 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 6823 "ImportPage.c"
+#line 6844 "ImportPage.c"
}
#line 984 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = import_page_refresh_camera (self);
@@ -6834,15 +6855,15 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
case IMPORT_PAGE_REFRESH_RESULT_OK:
#line 985 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
case IMPORT_PAGE_REFRESH_RESULT_BUSY:
-#line 6837 "ImportPage.c"
+#line 6858 "ImportPage.c"
{
#line 990 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 6841 "ImportPage.c"
+#line 6862 "ImportPage.c"
}
#line 985 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
case IMPORT_PAGE_REFRESH_RESULT_LOCKED:
-#line 6845 "ImportPage.c"
+#line 6866 "ImportPage.c"
{
gboolean _tmp5_ = FALSE;
const gchar* _tmp6_ = NULL;
@@ -6859,7 +6880,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
app_window_error_message (IMPORT_PAGE_UNMOUNT_FAILED_MSG, NULL);
#line 996 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 6862 "ImportPage.c"
+#line 6883 "ImportPage.c"
}
#line 1000 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = self->priv->uri;
@@ -6873,7 +6894,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
uri = _tmp8_;
#line 1004 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
mount = NULL;
-#line 6876 "ImportPage.c"
+#line 6897 "ImportPage.c"
{
GMount* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
@@ -6887,7 +6908,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_tmp9_ = _tmp11_;
#line 1006 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 6890 "ImportPage.c"
+#line 6911 "ImportPage.c"
goto __catch62_g_error;
}
#line 1006 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -6900,7 +6921,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
mount = _tmp12_;
#line 1005 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp9_);
-#line 6903 "ImportPage.c"
+#line 6924 "ImportPage.c"
}
goto __finally62;
__catch62_g_error:
@@ -6912,7 +6933,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_inner_error_ = NULL;
#line 1005 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 6915 "ImportPage.c"
+#line 6936 "ImportPage.c"
}
__finally62:
#line 1005 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -6927,13 +6948,13 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
g_clear_error (&_inner_error_);
#line 1005 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 6930 "ImportPage.c"
+#line 6951 "ImportPage.c"
}
#line 1011 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = mount;
#line 1011 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp13_ != NULL) {
-#line 6936 "ImportPage.c"
+#line 6957 "ImportPage.c"
gchar* mounted_message = NULL;
const gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
@@ -6998,26 +7019,26 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_tmp27_ = dialog_res;
#line 1023 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp27_ != ((gint) GTK_RESPONSE_YES)) {
-#line 7000 "ImportPage.c"
+#line 7021 "ImportPage.c"
const gchar* _tmp28_ = NULL;
#line 1024 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp28_ = _ ("Please unmount the camera.");
#line 1024 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
checkerboard_page_set_page_message (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp28_);
-#line 7006 "ImportPage.c"
+#line 7027 "ImportPage.c"
} else {
GMount* _tmp29_ = NULL;
#line 1026 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = mount;
#line 1026 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_unmount_camera (self, _tmp29_);
-#line 7013 "ImportPage.c"
+#line 7034 "ImportPage.c"
}
#line 1011 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (dialog);
#line 1011 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (mounted_message);
-#line 7019 "ImportPage.c"
+#line 7040 "ImportPage.c"
} else {
gchar* locked_message = NULL;
const gchar* _tmp30_ = NULL;
@@ -7076,7 +7097,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_g_object_unref0 (dialog);
#line 1011 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (locked_message);
-#line 7076 "ImportPage.c"
+#line 7097 "ImportPage.c"
}
#line 1041 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (mount);
@@ -7084,11 +7105,11 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_g_object_unref0 (uri);
#line 1041 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 7084 "ImportPage.c"
+#line 7105 "ImportPage.c"
}
#line 985 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
case IMPORT_PAGE_REFRESH_RESULT_LIBRARY_ERROR:
-#line 7088 "ImportPage.c"
+#line 7109 "ImportPage.c"
{
const gchar* _tmp41_ = NULL;
gchar* _tmp42_ = NULL;
@@ -7113,7 +7134,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_g_free0 (_tmp43_);
#line 1046 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 7113 "ImportPage.c"
+#line 7134 "ImportPage.c"
}
default:
{
@@ -7122,7 +7143,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_tmp46_ = res;
#line 1049 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_error ("ImportPage.vala:1049: Unknown result type %d", (gint) _tmp46_);
-#line 7122 "ImportPage.c"
+#line 7143 "ImportPage.c"
}
}
}
@@ -7131,7 +7152,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
static void _import_page_on_unmounted_g_mount_unmounted (GMount* _sender, gpointer self) {
#line 1066 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_unmounted ((ImportPage*) self, _sender);
-#line 7131 "ImportPage.c"
+#line 7152 "ImportPage.c"
}
@@ -7140,7 +7161,7 @@ static void _import_page_on_unmount_finished_gasync_ready_callback (GObject* sou
import_page_on_unmount_finished ((ImportPage*) self, source_object, res);
#line 1069 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_object_unref (self);
-#line 7140 "ImportPage.c"
+#line 7161 "ImportPage.c"
}
@@ -7170,7 +7191,7 @@ gboolean import_page_unmount_camera (ImportPage* self, GMount* mount) {
result = FALSE;
#line 1055 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7170 "ImportPage.c"
+#line 7191 "ImportPage.c"
}
#line 1057 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_update_status (self, TRUE, FALSE);
@@ -7218,7 +7239,7 @@ gboolean import_page_unmount_camera (ImportPage* self, GMount* mount) {
result = TRUE;
#line 1072 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7218 "ImportPage.c"
+#line 7239 "ImportPage.c"
}
@@ -7241,7 +7262,7 @@ static void import_page_on_unmount_finished (ImportPage* self, GObject* source,
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_mount_get_type (), GMount));
#line 1078 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
mount = _tmp1_;
-#line 7241 "ImportPage.c"
+#line 7262 "ImportPage.c"
{
GAsyncResult* _tmp2_ = NULL;
#line 1080 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7250,7 +7271,7 @@ static void import_page_on_unmount_finished (ImportPage* self, GObject* source,
g_mount_unmount_with_operation_finish (mount, _tmp2_, &_inner_error_);
#line 1080 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7250 "ImportPage.c"
+#line 7271 "ImportPage.c"
goto __catch63_g_error;
}
}
@@ -7291,7 +7312,7 @@ static void import_page_on_unmount_finished (ImportPage* self, GObject* source,
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 1079 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 7291 "ImportPage.c"
+#line 7312 "ImportPage.c"
}
__finally63:
#line 1079 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7304,11 +7325,11 @@ static void import_page_on_unmount_finished (ImportPage* self, GObject* source,
g_clear_error (&_inner_error_);
#line 1079 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 7304 "ImportPage.c"
+#line 7325 "ImportPage.c"
}
#line 1075 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (mount);
-#line 7308 "ImportPage.c"
+#line 7329 "ImportPage.c"
}
@@ -7341,7 +7362,7 @@ static void import_page_on_unmounted (ImportPage* self, GMount* mount) {
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 1102 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_try_refreshing_camera (self, TRUE);
-#line 7341 "ImportPage.c"
+#line 7362 "ImportPage.c"
}
@@ -7366,7 +7387,7 @@ static void import_page_clear_all_import_sources (ImportPage* self) {
source_collection_destroy_marked (_tmp2_, marker, FALSE, NULL, NULL, NULL);
#line 1105 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (marker);
-#line 7366 "ImportPage.c"
+#line 7387 "ImportPage.c"
}
@@ -7438,7 +7459,7 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
_g_free0 (fulldir);
#line 1126 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7438 "ImportPage.c"
+#line 7459 "ImportPage.c"
}
#line 1129 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = self->priv->camera;
@@ -7466,7 +7487,7 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
_g_free0 (fulldir);
#line 1132 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7466 "ImportPage.c"
+#line 7487 "ImportPage.c"
}
#line 1135 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = folders;
@@ -7474,19 +7495,19 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
_tmp16_ = gp_list_count (_tmp15_);
#line 1135 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
list_len = _tmp16_;
-#line 7474 "ImportPage.c"
+#line 7495 "ImportPage.c"
{
gint list_index = 0;
#line 1137 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
list_index = 0;
-#line 7479 "ImportPage.c"
+#line 7500 "ImportPage.c"
{
gboolean _tmp17_ = FALSE;
#line 1137 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = TRUE;
#line 1137 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 7486 "ImportPage.c"
+#line 7507 "ImportPage.c"
gint _tmp19_ = 0;
gint _tmp20_ = 0;
gchar* tmp = NULL;
@@ -7498,13 +7519,13 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
const gchar* _tmp26_ = NULL;
#line 1137 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp17_) {
-#line 7498 "ImportPage.c"
+#line 7519 "ImportPage.c"
gint _tmp18_ = 0;
#line 1137 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp18_ = list_index;
#line 1137 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
list_index = _tmp18_ + 1;
-#line 7504 "ImportPage.c"
+#line 7525 "ImportPage.c"
}
#line 1137 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = FALSE;
@@ -7516,7 +7537,7 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
if (!(_tmp19_ < _tmp20_)) {
#line 1137 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 7516 "ImportPage.c"
+#line 7537 "ImportPage.c"
}
#line 1140 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp21_ = folders;
@@ -7546,11 +7567,11 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
_g_free0 (fulldir);
#line 1142 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7546 "ImportPage.c"
+#line 7567 "ImportPage.c"
}
#line 1137 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (tmp);
-#line 7550 "ImportPage.c"
+#line 7571 "ImportPage.c"
}
}
}
@@ -7562,50 +7583,51 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
_g_free0 (fulldir);
#line 1145 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7562 "ImportPage.c"
+#line 7583 "ImportPage.c"
}
static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
ImportPageRefreshResult result = 0;
gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
- Camera* _tmp2_ = NULL;
- GPSpinIdleWrapper* _tmp3_ = NULL;
- GPContext* _tmp4_ = NULL;
- int _tmp5_ = 0;
+ const gchar* _tmp1_ = NULL;
+ gboolean _tmp2_ = FALSE;
+ Camera* _tmp3_ = NULL;
+ GPSpinIdleWrapper* _tmp4_ = NULL;
+ GPContext* _tmp5_ = NULL;
int _tmp6_ = 0;
- gboolean _tmp12_ = FALSE;
- GtkProgressBar* _tmp13_ = NULL;
+ int _tmp7_ = 0;
+ gboolean _tmp13_ = FALSE;
GtkProgressBar* _tmp14_ = NULL;
- const gchar* _tmp15_ = NULL;
- GtkProgressBar* _tmp16_ = NULL;
+ GtkProgressBar* _tmp15_ = NULL;
+ const gchar* _tmp16_ = NULL;
GtkProgressBar* _tmp17_ = NULL;
GtkProgressBar* _tmp18_ = NULL;
+ GtkProgressBar* _tmp19_ = NULL;
GeeArrayList* import_list = NULL;
- GeeArrayList* _tmp19_ = NULL;
+ GeeArrayList* _tmp20_ = NULL;
CameraStorageInformation* sifs = NULL;
gint count = 0;
- Camera* _tmp20_ = NULL;
- GPSpinIdleWrapper* _tmp21_ = NULL;
- GPContext* _tmp22_ = NULL;
- gint _tmp23_ = 0;
- int _tmp24_ = 0;
+ Camera* _tmp21_ = NULL;
+ GPSpinIdleWrapper* _tmp22_ = NULL;
+ GPContext* _tmp23_ = NULL;
+ gint _tmp24_ = 0;
int _tmp25_ = 0;
- GeeArrayList* _tmp74_ = NULL;
+ int _tmp26_ = 0;
GeeArrayList* _tmp75_ = NULL;
- GtkProgressBar* _tmp76_ = NULL;
+ GeeArrayList* _tmp76_ = NULL;
GtkProgressBar* _tmp77_ = NULL;
GtkProgressBar* _tmp78_ = NULL;
GtkProgressBar* _tmp79_ = NULL;
+ GtkProgressBar* _tmp80_ = NULL;
int res = 0;
- Camera* _tmp80_ = NULL;
- GPSpinIdleWrapper* _tmp81_ = NULL;
- GPContext* _tmp82_ = NULL;
- int _tmp83_ = 0;
+ Camera* _tmp81_ = NULL;
+ GPSpinIdleWrapper* _tmp82_ = NULL;
+ GPContext* _tmp83_ = NULL;
int _tmp84_ = 0;
- int _tmp88_ = 0;
+ int _tmp85_ = 0;
int _tmp89_ = 0;
+ int _tmp94_ = 0;
#line 1148 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (IS_IMPORT_PAGE (self), 0);
#line 1149 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7616,506 +7638,532 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
result = IMPORT_PAGE_REFRESH_RESULT_BUSY;
#line 1150 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7616 "ImportPage.c"
+#line 7638 "ImportPage.c"
}
#line 1152 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp1_ = self->priv->busy;
+ _tmp1_ = _ ("Starting import, please wait...");
#line 1152 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_update_status (self, _tmp1_, FALSE);
+ checkerboard_page_set_page_message (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp1_);
#line 1154 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _g_free0 (self->priv->refresh_error);
+ _tmp2_ = self->priv->busy;
#line 1154 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- self->priv->refresh_error = NULL;
-#line 1155 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp2_ = self->priv->camera;
-#line 1155 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp3_ = import_page_spin_idle_context;
-#line 1155 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
-#line 1155 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp5_ = gp_camera_init (_tmp2_, _tmp4_);
-#line 1155 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- self->priv->refresh_result = _tmp5_;
+ import_page_update_status (self, _tmp2_, FALSE);
#line 1156 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp6_ = self->priv->refresh_result;
+ _g_free0 (self->priv->refresh_error);
#line 1156 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp6_ != GP_OK) {
-#line 7640 "ImportPage.c"
- int _tmp7_ = 0;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- ImportPageRefreshResult _tmp10_ = 0;
- int _tmp11_ = 0;
+ self->priv->refresh_error = NULL;
#line 1157 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp7_ = self->priv->refresh_result;
+ _tmp3_ = self->priv->camera;
#line 1157 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp8_ = gp_result_to_full_string (_tmp7_);
+ _tmp4_ = import_page_spin_idle_context;
#line 1157 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp9_ = _tmp8_;
+ _tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
#line 1157 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1157: Unable to initialize camera: %s", _tmp9_);
+ _tmp6_ = gp_camera_init (_tmp3_, _tmp5_);
#line 1157 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _g_free0 (_tmp9_);
+ self->priv->refresh_result = _tmp6_;
+#line 1158 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp7_ = self->priv->refresh_result;
+#line 1158 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp7_ != GP_OK) {
+#line 7666 "ImportPage.c"
+ int _tmp8_ = 0;
+ gchar* _tmp9_ = NULL;
+ gchar* _tmp10_ = NULL;
+ ImportPageRefreshResult _tmp11_ = 0;
+ int _tmp12_ = 0;
#line 1159 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp11_ = self->priv->refresh_result;
+ _tmp8_ = self->priv->refresh_result;
#line 1159 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp11_ == GP_ERROR_IO_LOCK) {
+ _tmp9_ = gp_result_to_full_string (_tmp8_);
#line 1159 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp10_ = IMPORT_PAGE_REFRESH_RESULT_LOCKED;
-#line 7662 "ImportPage.c"
- } else {
-#line 1159 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp10_ = IMPORT_PAGE_REFRESH_RESULT_LIBRARY_ERROR;
-#line 7666 "ImportPage.c"
- }
+ _tmp10_ = _tmp9_;
#line 1159 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- result = _tmp10_;
+ g_warning ("ImportPage.vala:1159: Unable to initialize camera: %s", _tmp10_);
#line 1159 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _g_free0 (_tmp10_);
+#line 1161 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp12_ = self->priv->refresh_result;
+#line 1161 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp12_ == GP_ERROR_IO_LOCK) {
+#line 1161 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp11_ = IMPORT_PAGE_REFRESH_RESULT_LOCKED;
+#line 7688 "ImportPage.c"
+ } else {
+#line 1161 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp11_ = IMPORT_PAGE_REFRESH_RESULT_LIBRARY_ERROR;
+#line 7692 "ImportPage.c"
+ }
+#line 1161 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ result = _tmp11_;
+#line 1161 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7672 "ImportPage.c"
+#line 7698 "ImportPage.c"
}
-#line 1162 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp12_ = self->priv->refreshed;
-#line 1162 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_update_status (self, TRUE, _tmp12_);
#line 1164 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_on_view_changed (self);
-#line 1166 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp13_ = self->priv->progress_bar;
+ _tmp13_ = self->priv->refreshed;
+#line 1164 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_update_status (self, TRUE, _tmp13_);
#line 1166 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- gtk_progress_bar_set_ellipsize (_tmp13_, PANGO_ELLIPSIZE_NONE);
-#line 1167 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp14_ = self->priv->progress_bar;
-#line 1167 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp15_ = _ ("Fetching photo information");
-#line 1167 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- gtk_progress_bar_set_text (_tmp14_, _tmp15_);
+ import_page_on_view_changed (self);
#line 1168 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp16_ = self->priv->progress_bar;
+ _tmp14_ = self->priv->progress_bar;
#line 1168 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- gtk_progress_bar_set_fraction (_tmp16_, 0.0);
+ gtk_progress_bar_set_ellipsize (_tmp14_, PANGO_ELLIPSIZE_NONE);
#line 1169 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp17_ = self->priv->progress_bar;
+ _tmp15_ = self->priv->progress_bar;
#line 1169 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- gtk_progress_bar_set_pulse_step (_tmp17_, 0.01);
+ _tmp16_ = _ ("Fetching photo information");
+#line 1169 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ gtk_progress_bar_set_text (_tmp15_, _tmp16_);
#line 1170 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp18_ = self->priv->progress_bar;
+ _tmp17_ = self->priv->progress_bar;
#line 1170 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), TRUE);
+ gtk_progress_bar_set_fraction (_tmp17_, 0.0);
+#line 1171 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp18_ = self->priv->progress_bar;
+#line 1171 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ gtk_progress_bar_set_pulse_step (_tmp18_, 0.01);
#line 1172 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp19_ = gee_array_list_new (TYPE_IMPORT_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
+ _tmp19_ = self->priv->progress_bar;
#line 1172 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_list = _tmp19_;
+ gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 1174 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- sifs = NULL;
-#line 1175 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- count = 0;
-#line 1176 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp20_ = self->priv->camera;
-#line 1176 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp21_ = import_page_spin_idle_context;
-#line 1176 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp22_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
-#line 1176 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp24_ = gp_camera_get_storageinfo (_tmp20_, &sifs, &_tmp23_, _tmp22_);
-#line 1176 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- count = _tmp23_;
+ _tmp20_ = gee_array_list_new (TYPE_IMPORT_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
+#line 1174 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_list = _tmp20_;
#line 1176 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- self->priv->refresh_result = _tmp24_;
-#line 1177 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp25_ = self->priv->refresh_result;
+ sifs = NULL;
#line 1177 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp25_ == GP_OK) {
-#line 7726 "ImportPage.c"
+ count = 0;
+#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp21_ = self->priv->camera;
+#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp22_ = import_page_spin_idle_context;
+#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp23_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
+#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp25_ = gp_camera_get_storageinfo (_tmp21_, &sifs, &_tmp24_, _tmp23_);
+#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ count = _tmp24_;
+#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ self->priv->refresh_result = _tmp25_;
+#line 1179 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp26_ = self->priv->refresh_result;
+#line 1179 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp26_ == GP_OK) {
+#line 7752 "ImportPage.c"
{
gint fsid = 0;
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
fsid = 0;
-#line 7731 "ImportPage.c"
+#line 7757 "ImportPage.c"
{
- gboolean _tmp26_ = FALSE;
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp26_ = TRUE;
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ gboolean _tmp27_ = FALSE;
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp27_ = TRUE;
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 7738 "ImportPage.c"
- gint _tmp28_ = 0;
+#line 7764 "ImportPage.c"
gint _tmp29_ = 0;
- gboolean got_well_known_dir = FALSE;
gint _tmp30_ = 0;
- gboolean _tmp31_ = FALSE;
- gint _tmp34_ = 0;
- gboolean _tmp35_ = FALSE;
- gint _tmp38_ = 0;
- gboolean _tmp39_ = FALSE;
- gint _tmp42_ = 0;
- gboolean _tmp43_ = FALSE;
- gint _tmp46_ = 0;
- gboolean _tmp47_ = FALSE;
- gint _tmp50_ = 0;
- gboolean _tmp51_ = FALSE;
- gint _tmp54_ = 0;
- gboolean _tmp55_ = FALSE;
- gint _tmp58_ = 0;
- gboolean _tmp59_ = FALSE;
- gint _tmp62_ = 0;
- gboolean _tmp63_ = FALSE;
- gint _tmp66_ = 0;
- gboolean _tmp67_ = FALSE;
- gboolean _tmp70_ = FALSE;
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (!_tmp26_) {
-#line 7765 "ImportPage.c"
- gint _tmp27_ = 0;
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp27_ = fsid;
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- fsid = _tmp27_ + 1;
-#line 7771 "ImportPage.c"
+ gboolean got_well_known_dir = FALSE;
+ gint _tmp31_ = 0;
+ gboolean _tmp32_ = FALSE;
+ gint _tmp35_ = 0;
+ gboolean _tmp36_ = FALSE;
+ gint _tmp39_ = 0;
+ gboolean _tmp40_ = FALSE;
+ gint _tmp43_ = 0;
+ gboolean _tmp44_ = FALSE;
+ gint _tmp47_ = 0;
+ gboolean _tmp48_ = FALSE;
+ gint _tmp51_ = 0;
+ gboolean _tmp52_ = FALSE;
+ gint _tmp55_ = 0;
+ gboolean _tmp56_ = FALSE;
+ gint _tmp59_ = 0;
+ gboolean _tmp60_ = FALSE;
+ gint _tmp63_ = 0;
+ gboolean _tmp64_ = FALSE;
+ gint _tmp67_ = 0;
+ gboolean _tmp68_ = FALSE;
+ gboolean _tmp71_ = FALSE;
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (!_tmp27_) {
+#line 7791 "ImportPage.c"
+ gint _tmp28_ = 0;
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp28_ = fsid;
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ fsid = _tmp28_ + 1;
+#line 7797 "ImportPage.c"
}
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp26_ = FALSE;
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp28_ = fsid;
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp29_ = count;
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (!(_tmp28_ < _tmp29_)) {
-#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp27_ = FALSE;
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp29_ = fsid;
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp30_ = count;
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (!(_tmp29_ < _tmp30_)) {
+#line 1180 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 7783 "ImportPage.c"
+#line 7809 "ImportPage.c"
}
-#line 1182 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1184 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = FALSE;
-#line 1185 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp30_ = fsid;
-#line 1185 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp31_ = import_page_check_directory_exists (self, _tmp30_, "/", "DCIM");
-#line 1185 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp31_) {
-#line 7793 "ImportPage.c"
- gint _tmp32_ = 0;
- GeeArrayList* _tmp33_ = NULL;
-#line 1186 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp32_ = fsid;
-#line 1186 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp33_ = import_list;
-#line 1186 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_enumerate_files (self, _tmp32_, "/DCIM", _tmp33_);
#line 1187 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp31_ = fsid;
+#line 1187 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp32_ = import_page_check_directory_exists (self, _tmp31_, "/", "DCIM");
+#line 1187 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp32_) {
+#line 7819 "ImportPage.c"
+ gint _tmp33_ = 0;
+ GeeArrayList* _tmp34_ = NULL;
+#line 1188 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp33_ = fsid;
+#line 1188 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp34_ = import_list;
+#line 1188 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_enumerate_files (self, _tmp33_, "/DCIM", _tmp34_);
+#line 1189 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7804 "ImportPage.c"
+#line 7830 "ImportPage.c"
}
-#line 1189 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp34_ = fsid;
-#line 1189 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp35_ = import_page_check_directory_exists (self, _tmp34_, "/", "dcim");
-#line 1189 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp35_) {
-#line 7812 "ImportPage.c"
- gint _tmp36_ = 0;
- GeeArrayList* _tmp37_ = NULL;
-#line 1190 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp36_ = fsid;
-#line 1190 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp37_ = import_list;
-#line 1190 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_enumerate_files (self, _tmp36_, "/dcim", _tmp37_);
#line 1191 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp35_ = fsid;
+#line 1191 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp36_ = import_page_check_directory_exists (self, _tmp35_, "/", "dcim");
+#line 1191 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp36_) {
+#line 7838 "ImportPage.c"
+ gint _tmp37_ = 0;
+ GeeArrayList* _tmp38_ = NULL;
+#line 1192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp37_ = fsid;
+#line 1192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp38_ = import_list;
+#line 1192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_enumerate_files (self, _tmp37_, "/dcim", _tmp38_);
+#line 1193 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7823 "ImportPage.c"
+#line 7849 "ImportPage.c"
}
-#line 1196 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp38_ = fsid;
-#line 1196 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp39_ = import_page_check_directory_exists (self, _tmp38_, "/PRIVATE/", "AVCHD");
-#line 1196 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp39_) {
-#line 7831 "ImportPage.c"
- gint _tmp40_ = 0;
- GeeArrayList* _tmp41_ = NULL;
-#line 1197 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp40_ = fsid;
-#line 1197 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp41_ = import_list;
-#line 1197 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_enumerate_files (self, _tmp40_, "/PRIVATE/AVCHD", _tmp41_);
#line 1198 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp39_ = fsid;
+#line 1198 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp40_ = import_page_check_directory_exists (self, _tmp39_, "/PRIVATE/", "AVCHD");
+#line 1198 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp40_) {
+#line 7857 "ImportPage.c"
+ gint _tmp41_ = 0;
+ GeeArrayList* _tmp42_ = NULL;
+#line 1199 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp41_ = fsid;
+#line 1199 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp42_ = import_list;
+#line 1199 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_enumerate_files (self, _tmp41_, "/PRIVATE/AVCHD", _tmp42_);
+#line 1200 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7842 "ImportPage.c"
+#line 7868 "ImportPage.c"
}
-#line 1200 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp42_ = fsid;
-#line 1200 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp43_ = import_page_check_directory_exists (self, _tmp42_, "/private/", "avchd");
-#line 1200 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp43_) {
-#line 7850 "ImportPage.c"
- gint _tmp44_ = 0;
- GeeArrayList* _tmp45_ = NULL;
-#line 1201 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp44_ = fsid;
-#line 1201 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp45_ = import_list;
-#line 1201 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_enumerate_files (self, _tmp44_, "/private/avchd", _tmp45_);
#line 1202 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp43_ = fsid;
+#line 1202 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp44_ = import_page_check_directory_exists (self, _tmp43_, "/private/", "avchd");
+#line 1202 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp44_) {
+#line 7876 "ImportPage.c"
+ gint _tmp45_ = 0;
+ GeeArrayList* _tmp46_ = NULL;
+#line 1203 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp45_ = fsid;
+#line 1203 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp46_ = import_list;
+#line 1203 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_enumerate_files (self, _tmp45_, "/private/avchd", _tmp46_);
+#line 1204 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7861 "ImportPage.c"
+#line 7887 "ImportPage.c"
}
-#line 1204 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp46_ = fsid;
-#line 1204 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp47_ = import_page_check_directory_exists (self, _tmp46_, "/", "AVCHD");
-#line 1204 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp47_) {
-#line 7869 "ImportPage.c"
- gint _tmp48_ = 0;
- GeeArrayList* _tmp49_ = NULL;
-#line 1205 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp48_ = fsid;
-#line 1205 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp49_ = import_list;
-#line 1205 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_enumerate_files (self, _tmp48_, "/AVCHD", _tmp49_);
#line 1206 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp47_ = fsid;
+#line 1206 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp48_ = import_page_check_directory_exists (self, _tmp47_, "/", "AVCHD");
+#line 1206 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp48_) {
+#line 7895 "ImportPage.c"
+ gint _tmp49_ = 0;
+ GeeArrayList* _tmp50_ = NULL;
+#line 1207 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp49_ = fsid;
+#line 1207 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp50_ = import_list;
+#line 1207 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_enumerate_files (self, _tmp49_, "/AVCHD", _tmp50_);
+#line 1208 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7880 "ImportPage.c"
+#line 7906 "ImportPage.c"
}
-#line 1208 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp50_ = fsid;
-#line 1208 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp51_ = import_page_check_directory_exists (self, _tmp50_, "/", "avchd");
-#line 1208 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp51_) {
-#line 7888 "ImportPage.c"
- gint _tmp52_ = 0;
- GeeArrayList* _tmp53_ = NULL;
-#line 1209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp52_ = fsid;
-#line 1209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp53_ = import_list;
-#line 1209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_enumerate_files (self, _tmp52_, "/avchd", _tmp53_);
#line 1210 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp51_ = fsid;
+#line 1210 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp52_ = import_page_check_directory_exists (self, _tmp51_, "/", "avchd");
+#line 1210 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp52_) {
+#line 7914 "ImportPage.c"
+ gint _tmp53_ = 0;
+ GeeArrayList* _tmp54_ = NULL;
+#line 1211 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp53_ = fsid;
+#line 1211 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp54_ = import_list;
+#line 1211 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_enumerate_files (self, _tmp53_, "/avchd", _tmp54_);
+#line 1212 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7899 "ImportPage.c"
+#line 7925 "ImportPage.c"
}
-#line 1215 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp54_ = fsid;
-#line 1215 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp55_ = import_page_check_directory_exists (self, _tmp54_, "/PRIVATE/", "SONY");
-#line 1215 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp55_) {
-#line 7907 "ImportPage.c"
- gint _tmp56_ = 0;
- GeeArrayList* _tmp57_ = NULL;
-#line 1216 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp56_ = fsid;
-#line 1216 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp57_ = import_list;
-#line 1216 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_enumerate_files (self, _tmp56_, "/PRIVATE/SONY", _tmp57_);
#line 1217 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp55_ = fsid;
+#line 1217 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp56_ = import_page_check_directory_exists (self, _tmp55_, "/PRIVATE/", "SONY");
+#line 1217 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp56_) {
+#line 7933 "ImportPage.c"
+ gint _tmp57_ = 0;
+ GeeArrayList* _tmp58_ = NULL;
+#line 1218 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp57_ = fsid;
+#line 1218 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp58_ = import_list;
+#line 1218 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_enumerate_files (self, _tmp57_, "/PRIVATE/SONY", _tmp58_);
+#line 1219 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7918 "ImportPage.c"
+#line 7944 "ImportPage.c"
}
-#line 1219 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp58_ = fsid;
-#line 1219 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp59_ = import_page_check_directory_exists (self, _tmp58_, "/private/", "sony");
-#line 1219 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp59_) {
-#line 7926 "ImportPage.c"
- gint _tmp60_ = 0;
- GeeArrayList* _tmp61_ = NULL;
-#line 1220 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp60_ = fsid;
-#line 1220 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp61_ = import_list;
-#line 1220 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_enumerate_files (self, _tmp60_, "/private/sony", _tmp61_);
#line 1221 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp59_ = fsid;
+#line 1221 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp60_ = import_page_check_directory_exists (self, _tmp59_, "/private/", "sony");
+#line 1221 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp60_) {
+#line 7952 "ImportPage.c"
+ gint _tmp61_ = 0;
+ GeeArrayList* _tmp62_ = NULL;
+#line 1222 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp61_ = fsid;
+#line 1222 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp62_ = import_list;
+#line 1222 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_enumerate_files (self, _tmp61_, "/private/sony", _tmp62_);
+#line 1223 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7937 "ImportPage.c"
+#line 7963 "ImportPage.c"
}
-#line 1225 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp62_ = fsid;
-#line 1225 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp63_ = import_page_check_directory_exists (self, _tmp62_, "/", "MP_ROOT");
-#line 1225 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp63_) {
-#line 7945 "ImportPage.c"
- gint _tmp64_ = 0;
- GeeArrayList* _tmp65_ = NULL;
-#line 1226 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp64_ = fsid;
-#line 1226 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp65_ = import_list;
-#line 1226 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_enumerate_files (self, _tmp64_, "/MP_ROOT", _tmp65_);
#line 1227 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp63_ = fsid;
+#line 1227 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp64_ = import_page_check_directory_exists (self, _tmp63_, "/", "MP_ROOT");
+#line 1227 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp64_) {
+#line 7971 "ImportPage.c"
+ gint _tmp65_ = 0;
+ GeeArrayList* _tmp66_ = NULL;
+#line 1228 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp65_ = fsid;
+#line 1228 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp66_ = import_list;
+#line 1228 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_enumerate_files (self, _tmp65_, "/MP_ROOT", _tmp66_);
+#line 1229 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7956 "ImportPage.c"
+#line 7982 "ImportPage.c"
}
-#line 1229 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp66_ = fsid;
-#line 1229 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp67_ = import_page_check_directory_exists (self, _tmp66_, "/", "mp_root");
-#line 1229 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp67_) {
-#line 7964 "ImportPage.c"
- gint _tmp68_ = 0;
- GeeArrayList* _tmp69_ = NULL;
-#line 1230 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp68_ = fsid;
-#line 1230 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp69_ = import_list;
-#line 1230 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_enumerate_files (self, _tmp68_, "/mp_root", _tmp69_);
#line 1231 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp67_ = fsid;
+#line 1231 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp68_ = import_page_check_directory_exists (self, _tmp67_, "/", "mp_root");
+#line 1231 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp68_) {
+#line 7990 "ImportPage.c"
+ gint _tmp69_ = 0;
+ GeeArrayList* _tmp70_ = NULL;
+#line 1232 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp69_ = fsid;
+#line 1232 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp70_ = import_list;
+#line 1232 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_enumerate_files (self, _tmp69_, "/mp_root", _tmp70_);
+#line 1233 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7975 "ImportPage.c"
+#line 8001 "ImportPage.c"
}
-#line 1236 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp70_ = got_well_known_dir;
-#line 1236 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (!_tmp70_) {
-#line 7981 "ImportPage.c"
- gint _tmp71_ = 0;
- GeeArrayList* _tmp72_ = NULL;
- gboolean _tmp73_ = FALSE;
-#line 1237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp71_ = fsid;
-#line 1237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp72_ = import_list;
-#line 1237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp73_ = import_page_enumerate_files (self, _tmp71_, "/", _tmp72_);
-#line 1237 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (!_tmp73_) {
#line 1238 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp71_ = got_well_known_dir;
+#line 1238 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (!_tmp71_) {
+#line 8007 "ImportPage.c"
+ gint _tmp72_ = 0;
+ GeeArrayList* _tmp73_ = NULL;
+ gboolean _tmp74_ = FALSE;
+#line 1239 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp72_ = fsid;
+#line 1239 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp73_ = import_list;
+#line 1239 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp74_ = import_page_enumerate_files (self, _tmp72_, "/", _tmp73_);
+#line 1239 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (!_tmp74_) {
+#line 1240 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 7995 "ImportPage.c"
+#line 8021 "ImportPage.c"
}
}
}
}
}
}
-#line 1243 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1245 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_clear_all_import_sources (self);
-#line 1246 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp74_ = import_list;
-#line 1246 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_auto_match_raw_jpeg (self, _tmp74_);
-#line 1253 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1248 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp75_ = import_list;
-#line 1253 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- import_page_load_previews_and_metadata (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, GEE_TYPE_LIST, GeeList));
-#line 1260 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp76_ = self->priv->progress_bar;
-#line 1260 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1261 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1248 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_auto_match_raw_jpeg (self, _tmp75_);
+#line 1255 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp76_ = import_list;
+#line 1255 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ import_page_load_previews_and_metadata (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, GEE_TYPE_LIST, GeeList));
+#line 1262 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp77_ = self->priv->progress_bar;
-#line 1261 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- gtk_progress_bar_set_ellipsize (_tmp77_, PANGO_ELLIPSIZE_NONE);
#line 1262 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, gtk_widget_get_type (), GtkWidget), FALSE);
+#line 1263 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp78_ = self->priv->progress_bar;
-#line 1262 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- gtk_progress_bar_set_text (_tmp78_, "");
#line 1263 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ gtk_progress_bar_set_ellipsize (_tmp78_, PANGO_ELLIPSIZE_NONE);
+#line 1264 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp79_ = self->priv->progress_bar;
-#line 1263 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- gtk_progress_bar_set_fraction (_tmp79_, 0.0);
-#line 1265 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp80_ = self->priv->camera;
-#line 1265 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp81_ = import_page_spin_idle_context;
-#line 1265 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp82_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp81_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
+#line 1264 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ gtk_progress_bar_set_text (_tmp79_, "");
#line 1265 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp83_ = gp_camera_exit (_tmp80_, _tmp82_);
+ _tmp80_ = self->priv->progress_bar;
#line 1265 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- res = _tmp83_;
-#line 1266 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp84_ = res;
-#line 1266 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp84_ != GP_OK) {
-#line 8042 "ImportPage.c"
- int _tmp85_ = 0;
- gchar* _tmp86_ = NULL;
- gchar* _tmp87_ = NULL;
-#line 1268 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp85_ = res;
-#line 1268 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp86_ = gp_result_to_full_string (_tmp85_);
-#line 1268 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp87_ = _tmp86_;
+ gtk_progress_bar_set_fraction (_tmp80_, 0.0);
+#line 1267 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp81_ = self->priv->camera;
+#line 1267 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp82_ = import_page_spin_idle_context;
+#line 1267 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp83_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
+#line 1267 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp84_ = gp_camera_exit (_tmp81_, _tmp83_);
+#line 1267 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ res = _tmp84_;
#line 1268 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1268: Unable to unlock camera: %s", _tmp87_);
+ _tmp85_ = res;
#line 1268 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _g_free0 (_tmp87_);
-#line 8056 "ImportPage.c"
- }
-#line 1271 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp88_ = self->priv->refresh_result;
-#line 1271 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp88_ == GP_OK) {
-#line 1272 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp85_ != GP_OK) {
+#line 8068 "ImportPage.c"
+ int _tmp86_ = 0;
+ gchar* _tmp87_ = NULL;
+ gchar* _tmp88_ = NULL;
+#line 1270 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp86_ = res;
+#line 1270 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp87_ = gp_result_to_full_string (_tmp86_);
+#line 1270 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp88_ = _tmp87_;
+#line 1270 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1270: Unable to unlock camera: %s", _tmp88_);
+#line 1270 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _g_free0 (_tmp88_);
+#line 8082 "ImportPage.c"
+ }
+#line 1273 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp89_ = self->priv->refresh_result;
+#line 1273 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp89_ == GP_OK) {
+#line 8088 "ImportPage.c"
+ SourceCollection* _tmp90_ = NULL;
+ gint _tmp91_ = 0;
+#line 1274 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp90_ = self->priv->import_sources;
+#line 1274 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp91_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, TYPE_DATA_COLLECTION, DataCollection));
+#line 1274 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ if (_tmp91_ == 0) {
+#line 8097 "ImportPage.c"
+ gchar* _tmp92_ = NULL;
+ gchar* _tmp93_ = NULL;
+#line 1275 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp92_ = checkerboard_page_get_view_empty_message (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
+#line 1275 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp93_ = _tmp92_;
+#line 1275 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ checkerboard_page_set_page_message (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp93_);
+#line 1275 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _g_free0 (_tmp93_);
+#line 8108 "ImportPage.c"
+ }
+#line 1277 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_update_status (self, FALSE, TRUE);
-#line 8064 "ImportPage.c"
+#line 8112 "ImportPage.c"
} else {
-#line 1274 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1279 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_update_status (self, FALSE, FALSE);
-#line 1277 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_clear_all_import_sources (self);
-#line 8070 "ImportPage.c"
+#line 8118 "ImportPage.c"
}
-#line 1280 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1285 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_view_changed (self);
-#line 1282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp89_ = self->priv->refresh_result;
-#line 1282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- switch (_tmp89_) {
-#line 1282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1287 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _tmp94_ = self->priv->refresh_result;
+#line 1287 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ switch (_tmp94_) {
+#line 1287 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
case GP_OK:
-#line 8080 "ImportPage.c"
+#line 8128 "ImportPage.c"
{
-#line 1284 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1289 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = IMPORT_PAGE_REFRESH_RESULT_OK;
-#line 1284 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1289 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_list);
-#line 1284 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1289 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8088 "ImportPage.c"
+#line 8136 "ImportPage.c"
}
-#line 1282 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1287 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
case GP_ERROR_IO_LOCK:
-#line 8092 "ImportPage.c"
+#line 8140 "ImportPage.c"
{
-#line 1287 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1292 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = IMPORT_PAGE_REFRESH_RESULT_LOCKED;
-#line 1287 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1292 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_list);
-#line 1287 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1292 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8100 "ImportPage.c"
+#line 8148 "ImportPage.c"
}
default:
{
-#line 1290 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1295 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = IMPORT_PAGE_REFRESH_RESULT_LIBRARY_ERROR;
-#line 1290 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1295 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_list);
-#line 1290 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1295 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8110 "ImportPage.c"
+#line 8158 "ImportPage.c"
}
}
#line 1148 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_list);
-#line 8115 "ImportPage.c"
+#line 8163 "ImportPage.c"
}
@@ -8133,7 +8181,7 @@ static gchar string_get (const gchar* self, glong index) {
result = _tmp1_;
#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 8133 "ImportPage.c"
+#line 8181 "ImportPage.c"
}
@@ -8166,7 +8214,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp2_ = start;
#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_ < ((glong) 0)) {
-#line 8166 "ImportPage.c"
+#line 8214 "ImportPage.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
@@ -8175,13 +8223,13 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp4_ = start;
#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
start = _tmp3_ + _tmp4_;
-#line 8175 "ImportPage.c"
+#line 8223 "ImportPage.c"
}
#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp5_ < ((glong) 0)) {
-#line 8181 "ImportPage.c"
+#line 8229 "ImportPage.c"
glong _tmp6_ = 0L;
glong _tmp7_ = 0L;
#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
@@ -8190,13 +8238,13 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp7_ = end;
#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp6_ + _tmp7_;
-#line 8190 "ImportPage.c"
+#line 8238 "ImportPage.c"
}
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = start;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp9_ >= ((glong) 0)) {
-#line 8196 "ImportPage.c"
+#line 8244 "ImportPage.c"
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
@@ -8205,11 +8253,11 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp11_ = string_length;
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp10_ <= _tmp11_;
-#line 8205 "ImportPage.c"
+#line 8253 "ImportPage.c"
} else {
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = FALSE;
-#line 8209 "ImportPage.c"
+#line 8257 "ImportPage.c"
}
#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp8_, NULL);
@@ -8217,7 +8265,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp13_ = end;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13_ >= ((glong) 0)) {
-#line 8217 "ImportPage.c"
+#line 8265 "ImportPage.c"
glong _tmp14_ = 0L;
glong _tmp15_ = 0L;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
@@ -8226,11 +8274,11 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
_tmp15_ = string_length;
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ <= _tmp15_;
-#line 8226 "ImportPage.c"
+#line 8274 "ImportPage.c"
} else {
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
-#line 8230 "ImportPage.c"
+#line 8278 "ImportPage.c"
}
#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_, NULL);
@@ -8252,7 +8300,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
result = _tmp21_;
#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 8252 "ImportPage.c"
+#line 8300 "ImportPage.c"
}
@@ -8263,71 +8311,71 @@ static gchar* import_page_chomp_ch (const gchar* str, gchar ch) {
gint _tmp1_ = 0;
gint _tmp2_ = 0;
gchar* _tmp12_ = NULL;
-#line 1294 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1299 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (str != NULL, NULL);
-#line 1295 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1300 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = str;
-#line 1295 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1300 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = strlen (_tmp0_);
-#line 1295 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1300 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = _tmp1_;
-#line 1295 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1300 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
offset = (glong) _tmp2_;
-#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 8275 "ImportPage.c"
+#line 8323 "ImportPage.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
const gchar* _tmp5_ = NULL;
glong _tmp6_ = 0L;
gchar _tmp7_ = '\0';
gchar _tmp8_ = '\0';
-#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = offset;
-#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
offset = _tmp3_ - 1;
-#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = offset;
-#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!(_tmp4_ >= ((glong) 0))) {
-#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 8292 "ImportPage.c"
+#line 8340 "ImportPage.c"
}
-#line 1297 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1302 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = str;
-#line 1297 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1302 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = offset;
-#line 1297 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1302 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = string_get (_tmp5_, _tmp6_);
-#line 1297 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1302 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = ch;
-#line 1297 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1302 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp7_ != _tmp8_) {
-#line 8304 "ImportPage.c"
+#line 8352 "ImportPage.c"
const gchar* _tmp9_ = NULL;
glong _tmp10_ = 0L;
gchar* _tmp11_ = NULL;
-#line 1298 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1303 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = str;
-#line 1298 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1303 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = offset;
-#line 1298 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1303 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = string_slice (_tmp9_, (glong) 0, _tmp10_);
-#line 1298 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1303 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp11_;
-#line 1298 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1303 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8318 "ImportPage.c"
+#line 8366 "ImportPage.c"
}
}
-#line 1301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = g_strdup ("");
-#line 1301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp12_;
-#line 1301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8327 "ImportPage.c"
+#line 8375 "ImportPage.c"
}
@@ -8336,127 +8384,127 @@ gchar* import_page_append_path (const gchar* basepath, const gchar* addition) {
gboolean _tmp0_ = FALSE;
const gchar* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
-#line 1304 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1309 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (basepath != NULL, NULL);
-#line 1304 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1309 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (addition != NULL, NULL);
-#line 1305 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = basepath;
-#line 1305 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = g_str_has_suffix (_tmp1_, "/");
-#line 1305 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp2_) {
-#line 8346 "ImportPage.c"
+#line 8394 "ImportPage.c"
const gchar* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 1305 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = addition;
-#line 1305 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = g_str_has_prefix (_tmp3_, "/");
-#line 1305 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = !_tmp4_;
-#line 8355 "ImportPage.c"
+#line 8403 "ImportPage.c"
} else {
-#line 1305 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = FALSE;
-#line 8359 "ImportPage.c"
+#line 8407 "ImportPage.c"
}
-#line 1305 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_) {
-#line 8363 "ImportPage.c"
+#line 8411 "ImportPage.c"
const gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
-#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = basepath;
-#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = g_strconcat (_tmp5_, "/", NULL);
-#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = _tmp6_;
-#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = addition;
-#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = g_strconcat (_tmp7_, _tmp8_, NULL);
-#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = _tmp9_;
-#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp7_);
-#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp10_;
-#line 1306 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8388 "ImportPage.c"
+#line 8436 "ImportPage.c"
} else {
gboolean _tmp11_ = FALSE;
const gchar* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
-#line 1307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1312 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = basepath;
-#line 1307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1312 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = g_str_has_suffix (_tmp12_, "/");
-#line 1307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1312 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp13_) {
-#line 8399 "ImportPage.c"
+#line 8447 "ImportPage.c"
const gchar* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
-#line 1307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1312 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = addition;
-#line 1307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1312 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = g_str_has_prefix (_tmp14_, "/");
-#line 1307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1312 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = _tmp15_;
-#line 8408 "ImportPage.c"
+#line 8456 "ImportPage.c"
} else {
-#line 1307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1312 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = FALSE;
-#line 8412 "ImportPage.c"
+#line 8460 "ImportPage.c"
}
-#line 1307 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1312 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp11_) {
-#line 8416 "ImportPage.c"
+#line 8464 "ImportPage.c"
const gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
const gchar* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
-#line 1308 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1313 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp16_ = basepath;
-#line 1308 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1313 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = import_page_chomp_ch (_tmp16_, '/');
-#line 1308 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1313 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp18_ = _tmp17_;
-#line 1308 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1313 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = addition;
-#line 1308 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1313 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp20_ = g_strconcat (_tmp18_, _tmp19_, NULL);
-#line 1308 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1313 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp21_ = _tmp20_;
-#line 1308 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1313 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp18_);
-#line 1308 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1313 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp21_;
-#line 1308 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1313 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8441 "ImportPage.c"
+#line 8489 "ImportPage.c"
} else {
const gchar* _tmp22_ = NULL;
const gchar* _tmp23_ = NULL;
gchar* _tmp24_ = NULL;
-#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1315 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = basepath;
-#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1315 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp23_ = addition;
-#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1315 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = g_strconcat (_tmp22_, _tmp23_, NULL);
-#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1315 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp24_;
-#line 1310 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1315 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8456 "ImportPage.c"
+#line 8504 "ImportPage.c"
}
}
}
@@ -8482,80 +8530,80 @@ gchar* import_page_get_fs_basedir (Camera* camera, gint fsid) {
CameraStorageInformation* _tmp11_ = NULL;
CameraStorageInfoFields _tmp12_ = 0;
gchar* _tmp15_ = NULL;
-#line 1315 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1320 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (camera != NULL, NULL);
-#line 1316 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1321 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
sifs = NULL;
-#line 1317 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1322 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
count = 0;
-#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1323 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = camera;
-#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1323 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = import_page_null_context;
-#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1323 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = _tmp1_->context;
-#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1323 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = gp_camera_get_storageinfo (_tmp0_, &sifs, &_tmp3_, _tmp2_);
-#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1323 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
count = _tmp3_;
-#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1323 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
res = _tmp4_;
-#line 1319 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1324 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = res;
-#line 1319 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1324 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp5_ != GP_OK) {
-#line 1320 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1325 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = NULL;
-#line 1320 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1325 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8508 "ImportPage.c"
+#line 8556 "ImportPage.c"
}
-#line 1322 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = fsid;
-#line 1322 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = count;
-#line 1322 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp6_ >= _tmp7_) {
-#line 1323 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1328 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = NULL;
-#line 1323 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1328 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8520 "ImportPage.c"
+#line 8568 "ImportPage.c"
}
-#line 1325 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1330 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = sifs;
-#line 1325 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1330 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = fsid;
-#line 1325 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1330 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ifs = _tmp8_ + _tmp9_;
-#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = ifs;
-#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = (*_tmp11_).fields;
-#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if ((_tmp12_ & GP_STORAGEINFO_BASE) != 0) {
-#line 8534 "ImportPage.c"
+#line 8582 "ImportPage.c"
CameraStorageInformation* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
-#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = ifs;
-#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = (*_tmp13_).basedir;
-#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = _tmp14_;
-#line 8543 "ImportPage.c"
+#line 8591 "ImportPage.c"
} else {
-#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = "/";
-#line 8547 "ImportPage.c"
+#line 8595 "ImportPage.c"
}
-#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = g_strdup (_tmp10_);
-#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp15_;
-#line 1327 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8555 "ImportPage.c"
+#line 8603 "ImportPage.c"
}
@@ -8572,74 +8620,74 @@ gchar* import_page_get_fulldir (Camera* camera, const gchar* camera_name, gint f
const gchar* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
-#line 1330 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1335 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (camera != NULL, NULL);
-#line 1330 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1335 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (camera_name != NULL, NULL);
-#line 1330 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1335 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (folder != NULL, NULL);
-#line 1331 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1336 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = folder;
-#line 1331 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1336 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = strlen (_tmp0_);
-#line 1331 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1336 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = _tmp1_;
-#line 1331 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1336 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp2_ > GP_MAX_BASEDIR_LENGTH) {
-#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1337 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = NULL;
-#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1337 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8590 "ImportPage.c"
+#line 8638 "ImportPage.c"
}
-#line 1334 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1339 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = camera;
-#line 1334 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1339 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = fsid;
-#line 1334 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1339 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = import_page_get_fs_basedir (_tmp3_, _tmp4_);
-#line 1334 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1339 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
basedir = _tmp5_;
-#line 1335 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1340 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = basedir;
-#line 1335 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1340 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp6_ == NULL) {
-#line 8604 "ImportPage.c"
+#line 8652 "ImportPage.c"
const gchar* _tmp7_ = NULL;
gint _tmp8_ = 0;
const gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
-#line 1336 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1341 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = camera_name;
-#line 1336 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1341 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = fsid;
-#line 1336 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_debug ("ImportPage.vala:1336: Unable to find base directory for %s fsid %d", _tmp7_, _tmp8_);
-#line 1338 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1341 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_debug ("ImportPage.vala:1341: Unable to find base directory for %s fsid %d", _tmp7_, _tmp8_);
+#line 1343 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = folder;
-#line 1338 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1343 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = g_strdup (_tmp9_);
-#line 1338 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1343 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp10_;
-#line 1338 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1343 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (basedir);
-#line 1338 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1343 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8625 "ImportPage.c"
+#line 8673 "ImportPage.c"
}
-#line 1341 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1346 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = basedir;
-#line 1341 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1346 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = folder;
-#line 1341 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1346 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = import_page_append_path (_tmp11_, _tmp12_);
-#line 1341 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1346 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp13_;
-#line 1341 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1346 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (basedir);
-#line 1341 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1346 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8639 "ImportPage.c"
+#line 8687 "ImportPage.c"
}
@@ -8675,137 +8723,137 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
int _tmp120_ = 0;
int _tmp121_ = 0;
GError * _inner_error_ = NULL;
-#line 1344 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1349 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (IS_IMPORT_PAGE (self), FALSE);
-#line 1344 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1349 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (dir != NULL, FALSE);
-#line 1344 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1349 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_val_if_fail (GEE_IS_ARRAY_LIST (import_list), FALSE);
-#line 1345 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1350 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = self->priv->camera;
-#line 1345 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1350 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = self->priv->camera_name;
-#line 1345 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1350 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = fsid;
-#line 1345 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1350 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = dir;
-#line 1345 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1350 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = import_page_get_fulldir (_tmp0_, _tmp1_, _tmp2_, _tmp3_);
-#line 1345 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1350 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
fulldir = _tmp4_;
-#line 1346 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1351 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = fulldir;
-#line 1346 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1351 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp5_ == NULL) {
-#line 8697 "ImportPage.c"
+#line 8745 "ImportPage.c"
const gchar* _tmp6_ = NULL;
-#line 1347 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1352 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = dir;
-#line 1347 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1347: Skipping enumerating %s: invalid folder name", _tmp6_);
-#line 1349 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1352 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1352: Skipping enumerating %s: invalid folder name", _tmp6_);
+#line 1354 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = TRUE;
-#line 1349 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1354 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1349 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1354 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8709 "ImportPage.c"
+#line 8757 "ImportPage.c"
}
-#line 1353 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1358 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = gp_list_new (&_tmp7_);
-#line 1353 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1358 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1353 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1358 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
files = _tmp7_;
-#line 1353 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1358 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->refresh_result = _tmp8_;
-#line 1354 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1359 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = self->priv->refresh_result;
-#line 1354 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1359 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp9_ != GP_OK) {
-#line 8723 "ImportPage.c"
+#line 8771 "ImportPage.c"
int _tmp10_ = 0;
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
-#line 1355 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = self->priv->refresh_result;
-#line 1355 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = gp_result_to_full_string (_tmp10_);
-#line 1355 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = _tmp11_;
-#line 1355 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1355: Unable to create file list: %s", _tmp12_);
-#line 1355 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1360: Unable to create file list: %s", _tmp12_);
+#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp12_);
-#line 1357 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = FALSE;
-#line 1357 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1357 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1357 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8745 "ImportPage.c"
+#line 8793 "ImportPage.c"
}
-#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1365 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = self->priv->camera;
-#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1365 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = fulldir;
-#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1365 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = files;
-#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1365 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp16_ = import_page_spin_idle_context;
-#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1365 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
-#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1365 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp18_ = gp_camera_folder_list_files (_tmp13_, _tmp14_, _tmp15_, _tmp17_);
-#line 1360 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1365 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->refresh_result = _tmp18_;
-#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1366 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = self->priv->refresh_result;
-#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1366 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp19_ != GP_OK) {
-#line 8765 "ImportPage.c"
+#line 8813 "ImportPage.c"
const gchar* _tmp20_ = NULL;
int _tmp21_ = 0;
gchar* _tmp22_ = NULL;
gchar* _tmp23_ = NULL;
-#line 1362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1367 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp20_ = fulldir;
-#line 1362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1367 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp21_ = self->priv->refresh_result;
-#line 1362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1367 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = gp_result_to_full_string (_tmp21_);
-#line 1362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1367 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp23_ = _tmp22_;
-#line 1362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1362: Unable to list files in %s: %s", _tmp20_, _tmp23_);
-#line 1362 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1367 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1367: Unable to list files in %s: %s", _tmp20_, _tmp23_);
+#line 1367 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp23_);
-#line 1365 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->refresh_result = GP_OK;
-#line 1367 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = TRUE;
-#line 1367 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1367 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1367 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8792 "ImportPage.c"
+#line 8840 "ImportPage.c"
}
{
gint ctr = 0;
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ctr = 0;
-#line 8798 "ImportPage.c"
+#line 8846 "ImportPage.c"
{
gboolean _tmp24_ = FALSE;
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = TRUE;
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 8805 "ImportPage.c"
+#line 8853 "ImportPage.c"
gint _tmp26_ = 0;
CameraList* _tmp27_ = NULL;
gint _tmp28_ = 0;
@@ -8816,79 +8864,79 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
int _tmp32_ = 0;
gchar* _tmp33_ = NULL;
int _tmp34_ = 0;
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp24_) {
-#line 8818 "ImportPage.c"
+#line 8866 "ImportPage.c"
gint _tmp25_ = 0;
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp25_ = ctr;
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ctr = _tmp25_ + 1;
-#line 8824 "ImportPage.c"
+#line 8872 "ImportPage.c"
}
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = FALSE;
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp26_ = ctr;
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp27_ = files;
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp28_ = gp_list_count (_tmp27_);
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!(_tmp26_ < _tmp28_)) {
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 8838 "ImportPage.c"
+#line 8886 "ImportPage.c"
}
-#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = files;
-#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp30_ = ctr;
-#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp32_ = gp_list_get_name (_tmp29_, _tmp30_, &_tmp31_);
-#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp33_ = g_strdup (_tmp31_);
-#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
filename = _tmp33_;
-#line 1372 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->refresh_result = _tmp32_;
-#line 1373 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1378 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp34_ = self->priv->refresh_result;
-#line 1373 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1378 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp34_ != GP_OK) {
-#line 8858 "ImportPage.c"
+#line 8906 "ImportPage.c"
gint _tmp35_ = 0;
const gchar* _tmp36_ = NULL;
int _tmp37_ = 0;
gchar* _tmp38_ = NULL;
gchar* _tmp39_ = NULL;
-#line 1374 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1379 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp35_ = ctr;
-#line 1374 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1379 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp36_ = fulldir;
-#line 1374 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1379 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp37_ = self->priv->refresh_result;
-#line 1374 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1379 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp38_ = gp_result_to_full_string (_tmp37_);
-#line 1374 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1379 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = _tmp38_;
-#line 1374 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1374: Unable to get the name of file %d in %s: %s", _tmp35_, _tmp36_, _tmp39_);
-#line 1374 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1379 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1379: Unable to get the name of file %d in %s: %s", _tmp35_, _tmp36_, _tmp39_);
+#line 1379 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp39_);
-#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = FALSE;
-#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1377 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8888 "ImportPage.c"
+#line 8936 "ImportPage.c"
}
{
CameraFileInfo info = {0};
@@ -8906,91 +8954,91 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
const gchar* _tmp58_ = NULL;
gboolean _tmp59_ = FALSE;
GtkProgressBar* _tmp102_ = NULL;
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp41_ = import_page_spin_idle_context;
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp42_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp43_ = self->priv->camera;
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp44_ = fulldir;
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp45_ = filename;
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp47_ = gp_get_info (_tmp42_, _tmp43_, _tmp44_, _tmp45_, &_tmp46_, &_inner_error_);
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(info);
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
info = _tmp46_;
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp40_ = _tmp47_;
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(info);
-#line 8928 "ImportPage.c"
+#line 8976 "ImportPage.c"
goto __catch64_g_error;
}
-#line 1382 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1387 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp40_) {
-#line 8933 "ImportPage.c"
+#line 8981 "ImportPage.c"
const gchar* _tmp48_ = NULL;
const gchar* _tmp49_ = NULL;
-#line 1383 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1388 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp48_ = fulldir;
-#line 1383 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1388 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp49_ = filename;
-#line 1383 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1383: Skipping import of %s/%s: name too long", _tmp48_, _tmp49_);
-#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1388 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1388: Skipping import of %s/%s: name too long", _tmp48_, _tmp49_);
+#line 1390 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(info);
-#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1390 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1390 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
continue;
-#line 8948 "ImportPage.c"
+#line 8996 "ImportPage.c"
}
-#line 1388 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1393 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp50_ = info;
-#line 1388 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1393 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp51_ = _tmp50_.file;
-#line 1388 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1393 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = _tmp51_.fields;
-#line 1388 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1393 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if ((_tmp52_ & GP_FILE_INFO_TYPE) == 0) {
-#line 8958 "ImportPage.c"
+#line 9006 "ImportPage.c"
const gchar* _tmp53_ = NULL;
const gchar* _tmp54_ = NULL;
CameraFileInfo _tmp55_ = {0};
CameraFileInfoFile _tmp56_ = {0};
CameraFileInfoFields _tmp57_ = 0;
-#line 1389 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1394 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp53_ = fulldir;
-#line 1389 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1394 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp54_ = filename;
-#line 1389 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1394 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp55_ = info;
-#line 1389 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1394 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp56_ = _tmp55_.file;
-#line 1389 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1394 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp57_ = _tmp56_.fields;
-#line 1389 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_message ("ImportPage.vala:1389: Skipping %s/%s: No file (file=%02Xh)", _tmp53_, _tmp54_, (guint) _tmp57_);
-#line 1392 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1394 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_message ("ImportPage.vala:1394: Skipping %s/%s: No file (file=%02Xh)", _tmp53_, _tmp54_, (guint) _tmp57_);
+#line 1397 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(info);
-#line 1392 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1397 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1392 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1397 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
continue;
-#line 8982 "ImportPage.c"
+#line 9030 "ImportPage.c"
}
-#line 1395 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1400 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp58_ = filename;
-#line 1395 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1400 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp59_ = video_reader_is_supported_video_filename (_tmp58_);
-#line 1395 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1400 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp59_) {
-#line 8990 "ImportPage.c"
+#line 9038 "ImportPage.c"
VideoImportSource* video_source = NULL;
const gchar* _tmp60_ = NULL;
Camera* _tmp61_ = NULL;
@@ -9006,41 +9054,41 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
VideoImportSource* _tmp71_ = NULL;
GeeArrayList* _tmp72_ = NULL;
VideoImportSource* _tmp73_ = NULL;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp60_ = self->priv->camera_name;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp61_ = self->priv->camera;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp62_ = fsid;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp63_ = dir;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp64_ = filename;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp65_ = info;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp66_ = _tmp65_.file;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp67_ = _tmp66_.size;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp68_ = info;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp69_ = _tmp68_.file;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp70_ = _tmp69_.mtime;
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp71_ = video_import_source_new (_tmp60_, _tmp61_, _tmp62_, _tmp63_, _tmp64_, _tmp67_, _tmp70_);
-#line 1396 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
video_source = _tmp71_;
-#line 1398 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp72_ = import_list;
-#line 1398 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp73_ = video_source;
-#line 1398 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1395 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1400 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (video_source);
-#line 9040 "ImportPage.c"
+#line 9088 "ImportPage.c"
} else {
PhotoFileFormat file_format = 0;
CameraFileInfo _tmp74_ = {0};
@@ -9063,107 +9111,107 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
PhotoFileFormat _tmp99_ = 0;
PhotoImportSource* _tmp100_ = NULL;
PhotoImportSource* _tmp101_ = NULL;
-#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1406 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp74_ = info;
-#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1406 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp75_ = _tmp74_.file;
-#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1406 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp76_ = _tmp75_.type;
-#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1406 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp77_ = photo_file_format_from_gphoto_type (_tmp76_);
-#line 1401 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1406 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
file_format = _tmp77_;
-#line 1402 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1407 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp78_ = file_format;
-#line 1402 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1407 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp78_ == PHOTO_FILE_FORMAT_UNKNOWN) {
-#line 9077 "ImportPage.c"
+#line 9125 "ImportPage.c"
const gchar* _tmp79_ = NULL;
PhotoFileFormat _tmp80_ = 0;
PhotoFileFormat _tmp81_ = 0;
-#line 1403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1408 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp79_ = filename;
-#line 1403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1408 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp80_ = photo_file_format_get_by_basename_extension (_tmp79_);
-#line 1403 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1408 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
file_format = _tmp80_;
-#line 1404 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1409 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp81_ = file_format;
-#line 1404 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1409 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp81_ == PHOTO_FILE_FORMAT_UNKNOWN) {
-#line 9091 "ImportPage.c"
+#line 9139 "ImportPage.c"
const gchar* _tmp82_ = NULL;
const gchar* _tmp83_ = NULL;
CameraFileInfo _tmp84_ = {0};
CameraFileInfoFile _tmp85_ = {0};
const gchar* _tmp86_ = NULL;
-#line 1405 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1410 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp82_ = fulldir;
-#line 1405 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1410 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp83_ = filename;
-#line 1405 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1410 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp84_ = info;
-#line 1405 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1410 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp85_ = _tmp84_.file;
-#line 1405 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1410 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp86_ = _tmp85_.type;
-#line 1405 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_message ("ImportPage.vala:1405: Skipping %s/%s: Not a supported file extension (" \
+#line 1410 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_message ("ImportPage.vala:1410: Skipping %s/%s: Not a supported file extension (" \
"%s)", _tmp82_, _tmp83_, _tmp86_);
-#line 1408 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1413 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(info);
-#line 1408 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1413 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1408 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1413 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
continue;
-#line 9115 "ImportPage.c"
+#line 9163 "ImportPage.c"
}
}
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp87_ = import_list;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp88_ = self->priv->camera_name;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp89_ = self->priv->camera;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp90_ = fsid;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp91_ = dir;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp92_ = filename;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp93_ = info;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp94_ = _tmp93_.file;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp95_ = _tmp94_.size;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp96_ = info;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp97_ = _tmp96_.file;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp98_ = _tmp97_.mtime;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp99_ = file_format;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp100_ = photo_import_source_new (_tmp88_, _tmp89_, _tmp90_, _tmp91_, _tmp92_, _tmp95_, _tmp98_, _tmp99_);
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp101_ = _tmp100_;
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp101_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1411 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1416 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp101_);
-#line 9152 "ImportPage.c"
+#line 9200 "ImportPage.c"
}
-#line 1415 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1420 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp102_ = self->priv->progress_bar;
-#line 1415 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1420 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gtk_progress_bar_pulse (_tmp102_);
-#line 1418 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1423 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
spin_event_loop ();
-#line 1380 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(info);
-#line 9162 "ImportPage.c"
+#line 9210 "ImportPage.c"
}
goto __finally64;
__catch64_g_error:
@@ -9175,164 +9223,164 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
GError* _tmp106_ = NULL;
const gchar* _tmp107_ = NULL;
gchar* _tmp108_ = NULL;
-#line 1380 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
err = _inner_error_;
-#line 1380 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_inner_error_ = NULL;
-#line 1420 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1425 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp103_ = fulldir;
-#line 1420 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1425 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp104_ = err;
-#line 1420 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1425 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp105_ = _tmp104_->message;
-#line 1420 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1420: Error while enumerating files in %s: %s", _tmp103_, _tmp105_);
-#line 1422 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1425 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1425: Error while enumerating files in %s: %s", _tmp103_, _tmp105_);
+#line 1427 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp106_ = err;
-#line 1422 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1427 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp107_ = _tmp106_->message;
-#line 1422 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1427 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp108_ = g_strdup (_tmp107_);
-#line 1422 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1427 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (self->priv->refresh_error);
-#line 1422 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1427 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->refresh_error = _tmp108_;
-#line 1424 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1429 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = FALSE;
-#line 1424 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1429 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 1424 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1429 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1424 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1429 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1424 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1429 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1424 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1429 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9208 "ImportPage.c"
+#line 9256 "ImportPage.c"
}
__finally64:
-#line 1380 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1380 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1380 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1380 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1380 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.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 1380 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_clear_error (&_inner_error_);
-#line 1380 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1385 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 9225 "ImportPage.c"
+#line 9273 "ImportPage.c"
}
-#line 1370 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1375 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 9229 "ImportPage.c"
+#line 9277 "ImportPage.c"
}
}
}
-#line 1429 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1434 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp110_ = gp_list_new (&_tmp109_);
-#line 1429 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1434 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (folders);
-#line 1429 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1434 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
folders = _tmp109_;
-#line 1429 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1434 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->refresh_result = _tmp110_;
-#line 1430 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1435 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp111_ = self->priv->refresh_result;
-#line 1430 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1435 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp111_ != GP_OK) {
-#line 9245 "ImportPage.c"
+#line 9293 "ImportPage.c"
int _tmp112_ = 0;
gchar* _tmp113_ = NULL;
gchar* _tmp114_ = NULL;
-#line 1431 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp112_ = self->priv->refresh_result;
-#line 1431 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp113_ = gp_result_to_full_string (_tmp112_);
-#line 1431 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp114_ = _tmp113_;
-#line 1431 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1431: Unable to create folder list: %s", _tmp114_);
-#line 1431 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1436: Unable to create folder list: %s", _tmp114_);
+#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp114_);
-#line 1433 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = FALSE;
-#line 1433 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (folders);
-#line 1433 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1433 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1433 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9269 "ImportPage.c"
+#line 9317 "ImportPage.c"
}
-#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1441 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp115_ = self->priv->camera;
-#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1441 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp116_ = fulldir;
-#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1441 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp117_ = folders;
-#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1441 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp118_ = import_page_spin_idle_context;
-#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1441 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp119_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp118_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
-#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1441 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp120_ = gp_camera_folder_list_folders (_tmp115_, _tmp116_, _tmp117_, _tmp119_);
-#line 1436 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1441 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->refresh_result = _tmp120_;
-#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1442 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp121_ = self->priv->refresh_result;
-#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1442 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp121_ != GP_OK) {
-#line 9289 "ImportPage.c"
+#line 9337 "ImportPage.c"
const gchar* _tmp122_ = NULL;
int _tmp123_ = 0;
gchar* _tmp124_ = NULL;
gchar* _tmp125_ = NULL;
-#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp122_ = fulldir;
-#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp123_ = self->priv->refresh_result;
-#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp124_ = gp_result_to_full_string (_tmp123_);
-#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp125_ = _tmp124_;
-#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1438: Unable to list folders in %s: %s", _tmp122_, _tmp125_);
-#line 1438 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1443: Unable to list folders in %s: %s", _tmp122_, _tmp125_);
+#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp125_);
-#line 1441 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->refresh_result = GP_OK;
-#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = TRUE;
-#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (folders);
-#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9318 "ImportPage.c"
+#line 9366 "ImportPage.c"
}
{
gint ctr = 0;
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ctr = 0;
-#line 9324 "ImportPage.c"
+#line 9372 "ImportPage.c"
{
gboolean _tmp126_ = FALSE;
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp126_ = TRUE;
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 9331 "ImportPage.c"
+#line 9379 "ImportPage.c"
gint _tmp128_ = 0;
CameraList* _tmp129_ = NULL;
gint _tmp130_ = 0;
@@ -9351,151 +9399,151 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
GeeArrayList* _tmp146_ = NULL;
gboolean _tmp147_ = FALSE;
gboolean _tmp148_ = FALSE;
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp126_) {
-#line 9352 "ImportPage.c"
+#line 9400 "ImportPage.c"
gint _tmp127_ = 0;
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp127_ = ctr;
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ctr = _tmp127_ + 1;
-#line 9358 "ImportPage.c"
+#line 9406 "ImportPage.c"
}
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp126_ = FALSE;
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp128_ = ctr;
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp129_ = folders;
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp130_ = gp_list_count (_tmp129_);
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!(_tmp128_ < _tmp130_)) {
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 9372 "ImportPage.c"
+#line 9420 "ImportPage.c"
}
-#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1453 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp131_ = folders;
-#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1453 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp132_ = ctr;
-#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1453 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp134_ = gp_list_get_name (_tmp131_, _tmp132_, &_tmp133_);
-#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1453 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (subdir);
-#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1453 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp135_ = g_strdup (_tmp133_);
-#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1453 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
subdir = _tmp135_;
-#line 1448 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1453 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->refresh_result = _tmp134_;
-#line 1449 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1454 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp136_ = self->priv->refresh_result;
-#line 1449 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1454 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp136_ != GP_OK) {
-#line 9392 "ImportPage.c"
+#line 9440 "ImportPage.c"
gint _tmp137_ = 0;
int _tmp138_ = 0;
gchar* _tmp139_ = NULL;
gchar* _tmp140_ = NULL;
-#line 1450 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp137_ = ctr;
-#line 1450 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp138_ = self->priv->refresh_result;
-#line 1450 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp139_ = gp_result_to_full_string (_tmp138_);
-#line 1450 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp140_ = _tmp139_;
-#line 1450 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1450: Unable to get name of folder %d: %s", _tmp137_, _tmp140_);
-#line 1450 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1455: Unable to get name of folder %d: %s", _tmp137_, _tmp140_);
+#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp140_);
-#line 1452 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = FALSE;
-#line 1452 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (subdir);
-#line 1452 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (folders);
-#line 1452 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1452 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1452 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9421 "ImportPage.c"
+#line 9469 "ImportPage.c"
}
-#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp141_ = fsid;
-#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp142_ = dir;
-#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp143_ = subdir;
-#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp144_ = import_page_append_path (_tmp142_, _tmp143_);
-#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp145_ = _tmp144_;
-#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp146_ = import_list;
-#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp147_ = import_page_enumerate_files (self, _tmp141_, _tmp145_, _tmp146_);
-#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp148_ = !_tmp147_;
-#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp145_);
-#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp148_) {
-#line 1456 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = FALSE;
-#line 1456 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (subdir);
-#line 1456 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (folders);
-#line 1456 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1456 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1456 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9455 "ImportPage.c"
+#line 9503 "ImportPage.c"
}
-#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1451 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (subdir);
-#line 9459 "ImportPage.c"
+#line 9507 "ImportPage.c"
}
}
}
-#line 1459 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = TRUE;
-#line 1459 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (folders);
-#line 1459 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_gp_list_unref0 (files);
-#line 1459 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1459 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9473 "ImportPage.c"
+#line 9521 "ImportPage.c"
}
static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* import_list) {
-#line 1463 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_IMPORT_PAGE (self));
-#line 1463 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (GEE_IS_ARRAY_LIST (import_list));
-#line 9482 "ImportPage.c"
+#line 9530 "ImportPage.c"
{
gint i = 0;
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
i = 0;
-#line 9487 "ImportPage.c"
+#line 9535 "ImportPage.c"
{
gboolean _tmp0_ = FALSE;
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = TRUE;
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 9494 "ImportPage.c"
+#line 9542 "ImportPage.c"
gint _tmp2_ = 0;
GeeArrayList* _tmp3_ = NULL;
gint _tmp4_ = 0;
@@ -9519,162 +9567,162 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
PhotoImportSource* _tmp29_ = NULL;
gboolean _tmp30_ = FALSE;
PhotoImportSource* _tmp31_ = NULL;
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp0_) {
-#line 9520 "ImportPage.c"
+#line 9568 "ImportPage.c"
gint _tmp1_ = 0;
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = i;
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
i = _tmp1_ + 1;
-#line 9526 "ImportPage.c"
+#line 9574 "ImportPage.c"
}
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = FALSE;
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = i;
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = import_list;
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = _tmp4_;
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!(_tmp2_ < _tmp5_)) {
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 9542 "ImportPage.c"
+#line 9590 "ImportPage.c"
}
-#line 1465 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = import_list;
-#line 1465 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = i;
-#line 1465 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp7_);
-#line 1465 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = (ImportSource*) _tmp8_;
-#line 1465 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, TYPE_PHOTO_IMPORT_SOURCE) ? ((PhotoImportSource*) _tmp9_) : NULL;
-#line 1465 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp10_ == NULL) {
-#line 1465 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp9_);
-#line 9558 "ImportPage.c"
+#line 9606 "ImportPage.c"
}
-#line 1465 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
current = _tmp10_;
-#line 1466 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1471 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = i;
-#line 1466 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1471 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = import_list;
-#line 1466 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1471 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1466 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1471 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = _tmp14_;
-#line 1466 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1471 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if ((_tmp12_ + 1) < _tmp15_) {
-#line 9572 "ImportPage.c"
+#line 9620 "ImportPage.c"
GeeArrayList* _tmp16_ = NULL;
gint _tmp17_ = 0;
gpointer _tmp18_ = NULL;
ImportSource* _tmp19_ = NULL;
PhotoImportSource* _tmp20_ = NULL;
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp16_ = import_list;
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = i;
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp18_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp17_ + 1);
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = (ImportSource*) _tmp18_;
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_PHOTO_IMPORT_SOURCE) ? ((PhotoImportSource*) _tmp19_) : NULL;
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp20_ == NULL) {
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp19_);
-#line 9592 "ImportPage.c"
+#line 9640 "ImportPage.c"
}
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp11_);
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = _tmp20_;
-#line 9598 "ImportPage.c"
+#line 9646 "ImportPage.c"
} else {
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp11_);
-#line 1467 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = NULL;
-#line 9604 "ImportPage.c"
+#line 9652 "ImportPage.c"
}
-#line 1466 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1471 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp21_ = _g_object_ref0 (_tmp11_);
-#line 1466 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1471 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
next = _tmp21_;
-#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp23_ = i;
-#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp23_ > 0) {
-#line 9614 "ImportPage.c"
+#line 9662 "ImportPage.c"
GeeArrayList* _tmp24_ = NULL;
gint _tmp25_ = 0;
gpointer _tmp26_ = NULL;
ImportSource* _tmp27_ = NULL;
PhotoImportSource* _tmp28_ = NULL;
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = import_list;
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp25_ = i;
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp26_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp25_ - 1);
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp27_ = (ImportSource*) _tmp26_;
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp28_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp27_, TYPE_PHOTO_IMPORT_SOURCE) ? ((PhotoImportSource*) _tmp27_) : NULL;
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp28_ == NULL) {
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp27_);
-#line 9634 "ImportPage.c"
+#line 9682 "ImportPage.c"
}
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp22_);
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = _tmp28_;
-#line 9640 "ImportPage.c"
+#line 9688 "ImportPage.c"
} else {
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp22_);
-#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = NULL;
-#line 9646 "ImportPage.c"
+#line 9694 "ImportPage.c"
}
-#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = _g_object_ref0 (_tmp22_);
-#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
prev = _tmp29_;
-#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1475 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp31_ = current;
-#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1475 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp31_ != NULL) {
-#line 9656 "ImportPage.c"
+#line 9704 "ImportPage.c"
PhotoImportSource* _tmp32_ = NULL;
PhotoFileFormat _tmp33_ = 0;
-#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1475 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp32_ = current;
-#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1475 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp33_ = photo_import_source_get_file_format (_tmp32_);
-#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1475 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp30_ = _tmp33_ == PHOTO_FILE_FORMAT_RAW;
-#line 9665 "ImportPage.c"
+#line 9713 "ImportPage.c"
} else {
-#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1475 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp30_ = FALSE;
-#line 9669 "ImportPage.c"
+#line 9717 "ImportPage.c"
}
-#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1475 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp30_) {
-#line 9673 "ImportPage.c"
+#line 9721 "ImportPage.c"
gchar* current_name = NULL;
gchar* ext = NULL;
PhotoImportSource* _tmp34_ = NULL;
@@ -9688,48 +9736,48 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
gboolean _tmp52_ = FALSE;
PhotoImportSource* _tmp53_ = NULL;
PhotoImportSource* _tmp65_ = NULL;
-#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp34_ = current;
-#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp35_ = import_source_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp36_ = _tmp35_;
-#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
disassemble_filename (_tmp36_, &_tmp37_, &_tmp38_);
-#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (current_name);
-#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
current_name = _tmp37_;
-#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (ext);
-#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ext = _tmp38_;
-#line 1473 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp36_);
-#line 1476 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1481 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
associated = NULL;
-#line 1477 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp40_ = next;
-#line 1477 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp40_ != NULL) {
-#line 9711 "ImportPage.c"
+#line 9759 "ImportPage.c"
PhotoImportSource* _tmp41_ = NULL;
PhotoFileFormat _tmp42_ = 0;
-#line 1477 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp41_ = next;
-#line 1477 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp42_ = photo_import_source_get_file_format (_tmp41_);
-#line 1477 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = _tmp42_ == PHOTO_FILE_FORMAT_JFIF;
-#line 9720 "ImportPage.c"
+#line 9768 "ImportPage.c"
} else {
-#line 1477 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = FALSE;
-#line 9724 "ImportPage.c"
+#line 9772 "ImportPage.c"
}
-#line 1477 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp39_) {
-#line 9728 "ImportPage.c"
+#line 9776 "ImportPage.c"
gchar* next_name = NULL;
PhotoImportSource* _tmp43_ = NULL;
gchar* _tmp44_ = NULL;
@@ -9738,69 +9786,69 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
gchar* _tmp47_ = NULL;
const gchar* _tmp48_ = NULL;
const gchar* _tmp49_ = NULL;
-#line 1479 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1484 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp43_ = next;
-#line 1479 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1484 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp44_ = import_source_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1479 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1484 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp45_ = _tmp44_;
-#line 1479 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1484 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
disassemble_filename (_tmp45_, &_tmp46_, &_tmp47_);
-#line 1479 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1484 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (next_name);
-#line 1479 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1484 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
next_name = _tmp46_;
-#line 1479 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1484 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (ext);
-#line 1479 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1484 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ext = _tmp47_;
-#line 1479 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1484 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp45_);
-#line 1480 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp48_ = next_name;
-#line 1480 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp49_ = current_name;
-#line 1480 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (g_strcmp0 (_tmp48_, _tmp49_) == 0) {
-#line 9761 "ImportPage.c"
+#line 9809 "ImportPage.c"
PhotoImportSource* _tmp50_ = NULL;
PhotoImportSource* _tmp51_ = NULL;
-#line 1481 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1486 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp50_ = next;
-#line 1481 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1486 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp51_ = _g_object_ref0 (_tmp50_);
-#line 1481 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1486 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (associated);
-#line 1481 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1486 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
associated = _tmp51_;
-#line 9772 "ImportPage.c"
+#line 9820 "ImportPage.c"
}
-#line 1477 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (next_name);
-#line 9776 "ImportPage.c"
+#line 9824 "ImportPage.c"
}
-#line 1483 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1488 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp53_ = prev;
-#line 1483 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1488 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp53_ != NULL) {
-#line 9782 "ImportPage.c"
+#line 9830 "ImportPage.c"
PhotoImportSource* _tmp54_ = NULL;
PhotoFileFormat _tmp55_ = 0;
-#line 1483 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1488 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp54_ = prev;
-#line 1483 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1488 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp55_ = photo_import_source_get_file_format (_tmp54_);
-#line 1483 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1488 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = _tmp55_ == PHOTO_FILE_FORMAT_JFIF;
-#line 9791 "ImportPage.c"
+#line 9839 "ImportPage.c"
} else {
-#line 1483 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1488 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = FALSE;
-#line 9795 "ImportPage.c"
+#line 9843 "ImportPage.c"
}
-#line 1483 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1488 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp52_) {
-#line 9799 "ImportPage.c"
+#line 9847 "ImportPage.c"
gchar* prev_name = NULL;
PhotoImportSource* _tmp56_ = NULL;
gchar* _tmp57_ = NULL;
@@ -9809,52 +9857,52 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
gchar* _tmp60_ = NULL;
const gchar* _tmp61_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1490 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp56_ = prev;
-#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1490 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp57_ = import_source_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1490 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp58_ = _tmp57_;
-#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1490 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
disassemble_filename (_tmp58_, &_tmp59_, &_tmp60_);
-#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1490 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (prev_name);
-#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1490 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
prev_name = _tmp59_;
-#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1490 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (ext);
-#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1490 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ext = _tmp60_;
-#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1490 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp58_);
-#line 1486 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1491 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp61_ = prev_name;
-#line 1486 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1491 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp62_ = current_name;
-#line 1486 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1491 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (g_strcmp0 (_tmp61_, _tmp62_) == 0) {
-#line 9832 "ImportPage.c"
+#line 9880 "ImportPage.c"
PhotoImportSource* _tmp63_ = NULL;
PhotoImportSource* _tmp64_ = NULL;
-#line 1487 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp63_ = prev;
-#line 1487 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp64_ = _g_object_ref0 (_tmp63_);
-#line 1487 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (associated);
-#line 1487 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
associated = _tmp64_;
-#line 9843 "ImportPage.c"
+#line 9891 "ImportPage.c"
}
-#line 1483 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1488 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (prev_name);
-#line 9847 "ImportPage.c"
+#line 9895 "ImportPage.c"
}
-#line 1491 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1496 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp65_ = associated;
-#line 1491 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1496 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp65_ != NULL) {
-#line 9853 "ImportPage.c"
+#line 9901 "ImportPage.c"
PhotoImportSource* _tmp66_ = NULL;
gchar* _tmp67_ = NULL;
gchar* _tmp68_ = NULL;
@@ -9866,68 +9914,68 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
GeeArrayList* _tmp74_ = NULL;
PhotoImportSource* _tmp75_ = NULL;
gboolean _tmp76_ = FALSE;
-#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1497 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp66_ = current;
-#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1497 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp67_ = import_source_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp66_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1497 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp68_ = _tmp67_;
-#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1497 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp69_ = associated;
-#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1497 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp70_ = import_source_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1497 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp71_ = _tmp70_;
-#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_debug ("ImportPage.vala:1492: Found RAW+JPEG pair: %s and %s", _tmp68_, _tmp71_);
-#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1497 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_debug ("ImportPage.vala:1497: Found RAW+JPEG pair: %s and %s", _tmp68_, _tmp71_);
+#line 1497 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp71_);
-#line 1492 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1497 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp68_);
-#line 1493 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1498 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp72_ = current;
-#line 1493 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1498 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp73_ = associated;
-#line 1493 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1498 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
photo_import_source_set_associated (_tmp72_, _tmp73_);
-#line 1494 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp74_ = import_list;
-#line 1494 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp75_ = associated;
-#line 1494 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp76_ = gee_abstract_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1494 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp76_) {
-#line 9897 "ImportPage.c"
+#line 9945 "ImportPage.c"
PhotoImportSource* _tmp77_ = NULL;
-#line 1495 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_debug ("ImportPage.vala:1495: Unable to associate files");
-#line 1496 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1500 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_debug ("ImportPage.vala:1500: Unable to associate files");
+#line 1501 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp77_ = current;
-#line 1496 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1501 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
photo_import_source_set_associated (_tmp77_, NULL);
-#line 9905 "ImportPage.c"
+#line 9953 "ImportPage.c"
}
}
-#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1475 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (associated);
-#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1475 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (ext);
-#line 1470 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1475 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (current_name);
-#line 9914 "ImportPage.c"
+#line 9962 "ImportPage.c"
}
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (prev);
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp22_);
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (next);
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp11_);
-#line 1464 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1469 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (current);
-#line 9926 "ImportPage.c"
+#line 9974 "ImportPage.c"
}
}
}
@@ -9937,13 +9985,13 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* import_list) {
gint loaded_photos = 0;
GError * _inner_error_ = NULL;
-#line 1503 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1508 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_IMPORT_PAGE (self));
-#line 1503 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1508 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (GEE_IS_LIST (import_list));
-#line 1504 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1509 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
loaded_photos = 0;
-#line 9942 "ImportPage.c"
+#line 9990 "ImportPage.c"
{
GeeList* _import_source_list = NULL;
GeeList* _tmp0_ = NULL;
@@ -9953,25 +10001,25 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
gint _tmp3_ = 0;
gint _tmp4_ = 0;
gint _import_source_index = 0;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = import_list;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_import_source_list = _tmp1_;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = _import_source_list;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = _tmp3_;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_import_source_size = _tmp4_;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_import_source_index = -1;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 9970 "ImportPage.c"
+#line 10018 "ImportPage.c"
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _tmp7_ = 0;
@@ -10022,143 +10070,143 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
GeeList* _tmp130_ = NULL;
gint _tmp131_ = 0;
gint _tmp132_ = 0;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = _import_source_index;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_import_source_index = _tmp5_ + 1;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = _import_source_index;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = _import_source_size;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!(_tmp6_ < _tmp7_)) {
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 10033 "ImportPage.c"
+#line 10081 "ImportPage.c"
}
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = _import_source_list;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = _import_source_index;
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = gee_list_get (_tmp8_, _tmp9_);
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_source = (ImportSource*) _tmp10_;
-#line 1506 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1511 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = import_source;
-#line 1506 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1511 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = import_source_get_filename (_tmp11_);
-#line 1506 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1511 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
filename = _tmp12_;
-#line 1507 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = import_source;
-#line 1507 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = import_source_get_fulldir (_tmp13_);
-#line 1507 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
fulldir = _tmp14_;
-#line 1508 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1513 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = fulldir;
-#line 1508 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1513 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp15_ == NULL) {
-#line 10059 "ImportPage.c"
+#line 10107 "ImportPage.c"
ImportSource* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
-#line 1509 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1514 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp16_ = import_source;
-#line 1509 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1514 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_DATA_OBJECT, DataObject));
-#line 1509 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1514 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp18_ = _tmp17_;
-#line 1509 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1509: Skipping loading preview of %s: invalid folder n" \
+#line 1514 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1514: Skipping loading preview of %s: invalid folder n" \
"ame", _tmp18_);
-#line 1509 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1514 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp18_);
-#line 1511 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1516 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1511 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1516 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1511 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1516 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_source);
-#line 1511 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1516 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
continue;
-#line 10081 "ImportPage.c"
+#line 10129 "ImportPage.c"
}
-#line 1515 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1520 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
associated = NULL;
-#line 1516 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1521 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp20_ = import_source;
-#line 1516 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1521 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp20_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 10089 "ImportPage.c"
+#line 10137 "ImportPage.c"
ImportSource* _tmp21_ = NULL;
PhotoImportSource* _tmp22_ = NULL;
PhotoImportSource* _tmp23_ = NULL;
-#line 1517 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp21_ = import_source;
-#line 1517 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = photo_import_source_get_associated (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSource));
-#line 1517 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp23_ = _tmp22_;
-#line 1517 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = _tmp23_ != NULL;
-#line 1517 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp23_);
-#line 10103 "ImportPage.c"
+#line 10151 "ImportPage.c"
} else {
-#line 1516 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1521 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = FALSE;
-#line 10107 "ImportPage.c"
+#line 10155 "ImportPage.c"
}
-#line 1516 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1521 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp19_) {
-#line 10111 "ImportPage.c"
+#line 10159 "ImportPage.c"
ImportSource* _tmp24_ = NULL;
PhotoImportSource* _tmp25_ = NULL;
-#line 1518 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1523 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = import_source;
-#line 1518 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1523 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp25_ = photo_import_source_get_associated (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSource));
-#line 1518 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1523 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (associated);
-#line 1518 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1523 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
associated = _tmp25_;
-#line 10122 "ImportPage.c"
+#line 10170 "ImportPage.c"
}
-#line 1521 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1526 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp26_ = self->priv->progress_bar;
-#line 1521 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1526 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gtk_progress_bar_set_ellipsize (_tmp26_, PANGO_ELLIPSIZE_MIDDLE);
-#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1527 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp27_ = self->priv->progress_bar;
-#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1527 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp28_ = _ ("Fetching preview for %s");
-#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1527 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = import_source;
-#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1527 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp30_ = data_object_get_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, TYPE_DATA_OBJECT, DataObject));
-#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1527 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp31_ = _tmp30_;
-#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1527 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp32_ = g_strdup_printf (_tmp28_, _tmp31_);
-#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1527 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp33_ = _tmp32_;
-#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1527 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gtk_progress_bar_set_text (_tmp27_, _tmp33_);
-#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1527 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp33_);
-#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1527 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp31_);
-#line 1529 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1534 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
metadata = NULL;
-#line 1530 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp34_ = filename;
-#line 1530 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp35_ = video_reader_is_supported_video_filename (_tmp34_);
-#line 1530 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp35_) {
-#line 10156 "ImportPage.c"
+#line 10204 "ImportPage.c"
{
PhotoMetadata* _tmp36_ = NULL;
GPSpinIdleWrapper* _tmp37_ = NULL;
@@ -10168,36 +10216,36 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
const gchar* _tmp41_ = NULL;
PhotoMetadata* _tmp42_ = NULL;
PhotoMetadata* _tmp43_ = NULL;
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp37_ = import_page_spin_idle_context;
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp38_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = self->priv->camera;
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp40_ = fulldir;
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp41_ = filename;
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp42_ = gp_load_metadata (_tmp38_, _tmp39_, _tmp40_, _tmp41_, &_inner_error_);
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp36_ = _tmp42_;
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 10182 "ImportPage.c"
+#line 10230 "ImportPage.c"
goto __catch65_g_error;
}
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp43_ = _tmp36_;
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp36_ = NULL;
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (metadata);
-#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1537 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
metadata = _tmp43_;
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (_tmp36_);
-#line 10195 "ImportPage.c"
+#line 10243 "ImportPage.c"
}
goto __finally65;
__catch65_g_error:
@@ -10207,55 +10255,55 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
const gchar* _tmp45_ = NULL;
GError* _tmp46_ = NULL;
const gchar* _tmp47_ = NULL;
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
err = _inner_error_;
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_inner_error_ = NULL;
-#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1540 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp44_ = fulldir;
-#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1540 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp45_ = filename;
-#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1540 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp46_ = err;
-#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1540 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp47_ = _tmp46_->message;
-#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1535: Unable to fetch metadata for %s/%s: %s", _tmp44_, _tmp45_, _tmp47_);
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1540 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1540: Unable to fetch metadata for %s/%s: %s", _tmp44_, _tmp45_, _tmp47_);
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 10221 "ImportPage.c"
+#line 10269 "ImportPage.c"
}
__finally65:
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (metadata);
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (associated);
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_source);
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_import_source_list);
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.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 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_clear_error (&_inner_error_);
-#line 1531 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 10244 "ImportPage.c"
+#line 10292 "ImportPage.c"
}
}
-#line 1541 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1546 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
exif_only_md5 = NULL;
-#line 1542 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp48_ = metadata;
-#line 1542 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp48_ != NULL) {
-#line 10253 "ImportPage.c"
+#line 10301 "ImportPage.c"
guint8* flattened_sans_thumbnail = NULL;
PhotoMetadata* _tmp49_ = NULL;
gint _tmp50_ = 0;
@@ -10265,76 +10313,76 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
gboolean _tmp52_ = FALSE;
guint8* _tmp53_ = NULL;
gint _tmp53__length1 = 0;
-#line 1543 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1548 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp49_ = metadata;
-#line 1543 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1548 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp51_ = photo_metadata_flatten_exif (_tmp49_, FALSE, &_tmp50_);
-#line 1543 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1548 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
flattened_sans_thumbnail = _tmp51_;
-#line 1543 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1548 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
flattened_sans_thumbnail_length1 = _tmp50_;
-#line 1543 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1548 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_flattened_sans_thumbnail_size_ = flattened_sans_thumbnail_length1;
-#line 1544 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1549 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp53_ = flattened_sans_thumbnail;
-#line 1544 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1549 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp53__length1 = flattened_sans_thumbnail_length1;
-#line 1544 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1549 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp53_ != NULL) {
-#line 10279 "ImportPage.c"
+#line 10327 "ImportPage.c"
guint8* _tmp54_ = NULL;
gint _tmp54__length1 = 0;
-#line 1544 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1549 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp54_ = flattened_sans_thumbnail;
-#line 1544 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1549 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp54__length1 = flattened_sans_thumbnail_length1;
-#line 1544 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1549 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = _tmp54__length1 > 0;
-#line 10288 "ImportPage.c"
+#line 10336 "ImportPage.c"
} else {
-#line 1544 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1549 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = FALSE;
-#line 10292 "ImportPage.c"
+#line 10340 "ImportPage.c"
}
-#line 1544 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1549 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp52_) {
-#line 10296 "ImportPage.c"
+#line 10344 "ImportPage.c"
guint8* _tmp55_ = NULL;
gint _tmp55__length1 = 0;
guint8* _tmp56_ = NULL;
gint _tmp56__length1 = 0;
gchar* _tmp57_ = NULL;
-#line 1545 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1550 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp55_ = flattened_sans_thumbnail;
-#line 1545 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1550 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp55__length1 = flattened_sans_thumbnail_length1;
-#line 1545 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1550 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp56_ = flattened_sans_thumbnail;
-#line 1545 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1550 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp56__length1 = flattened_sans_thumbnail_length1;
-#line 1545 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1550 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp57_ = md5_binary (_tmp55_, (gsize) _tmp56__length1);
-#line 1545 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1550 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (exif_only_md5);
-#line 1545 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1550 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
exif_only_md5 = _tmp57_;
-#line 10316 "ImportPage.c"
+#line 10364 "ImportPage.c"
}
-#line 1542 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
flattened_sans_thumbnail = (g_free (flattened_sans_thumbnail), NULL);
-#line 10320 "ImportPage.c"
+#line 10368 "ImportPage.c"
}
-#line 1554 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1559 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw = NULL;
-#line 1554 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1559 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw_length1 = 0;
-#line 1554 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1559 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_preview_raw_size_ = preview_raw_length1;
-#line 1555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1560 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw_length = (gsize) 0;
-#line 1556 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1561 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview = NULL;
-#line 10332 "ImportPage.c"
+#line 10380 "ImportPage.c"
{
gchar* preview_fulldir = NULL;
const gchar* _tmp58_ = NULL;
@@ -10354,93 +10402,93 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
gsize _tmp75_ = 0UL;
GdkPixbuf* _tmp76_ = NULL;
GdkPixbuf* _tmp77_ = NULL;
-#line 1558 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1563 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp58_ = fulldir;
-#line 1558 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1563 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp59_ = g_strdup (_tmp58_);
-#line 1558 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1563 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_fulldir = _tmp59_;
-#line 1559 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp60_ = filename;
-#line 1559 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp61_ = g_strdup (_tmp60_);
-#line 1559 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_filename = _tmp61_;
-#line 1560 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1565 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp62_ = associated;
-#line 1560 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1565 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp62_ != NULL) {
-#line 10368 "ImportPage.c"
+#line 10416 "ImportPage.c"
PhotoImportSource* _tmp63_ = NULL;
gchar* _tmp64_ = NULL;
PhotoImportSource* _tmp65_ = NULL;
gchar* _tmp66_ = NULL;
-#line 1561 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1566 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp63_ = associated;
-#line 1561 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1566 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp64_ = import_source_get_fulldir (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1561 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1566 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_fulldir);
-#line 1561 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1566 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_fulldir = _tmp64_;
-#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp65_ = associated;
-#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp66_ = import_source_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_filename);
-#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_filename = _tmp66_;
-#line 10389 "ImportPage.c"
+#line 10437 "ImportPage.c"
}
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp68_ = import_page_spin_idle_context;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp69_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp70_ = self->priv->camera;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp71_ = preview_fulldir;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp72_ = preview_filename;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp76_ = gp_load_preview (_tmp69_, _tmp70_, _tmp71_, _tmp72_, &_tmp73_, &_tmp74_, &_tmp75_, &_inner_error_);
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw = (g_free (preview_raw), NULL);
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw = _tmp73_;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw_length1 = _tmp74_;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_preview_raw_size_ = preview_raw_length1;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw_length = _tmp75_;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp67_ = _tmp76_;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_filename);
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_fulldir);
-#line 10421 "ImportPage.c"
+#line 10469 "ImportPage.c"
goto __catch66_g_error;
}
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp77_ = _tmp67_;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp67_ = NULL;
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (preview);
-#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview = _tmp77_;
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp67_);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_filename);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_fulldir);
-#line 10438 "ImportPage.c"
+#line 10486 "ImportPage.c"
}
goto __finally66;
__catch66_g_error:
@@ -10448,166 +10496,166 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
GError* err = NULL;
const gchar* _tmp78_ = NULL;
gboolean _tmp79_ = FALSE;
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
err = _inner_error_;
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_inner_error_ = NULL;
-#line 1572 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1577 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp78_ = filename;
-#line 1572 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1577 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp79_ = video_reader_is_supported_video_filename (_tmp78_);
-#line 1572 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1577 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp79_) {
-#line 10456 "ImportPage.c"
+#line 10504 "ImportPage.c"
const gchar* _tmp80_ = NULL;
const gchar* _tmp81_ = NULL;
GError* _tmp82_ = NULL;
const gchar* _tmp83_ = NULL;
-#line 1573 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1578 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp80_ = fulldir;
-#line 1573 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1578 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp81_ = filename;
-#line 1573 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1578 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp82_ = err;
-#line 1573 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1578 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp83_ = _tmp82_->message;
-#line 1573 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1573: Unable to fetch preview for %s/%s: %s", _tmp80_, _tmp81_, _tmp83_);
-#line 10471 "ImportPage.c"
+#line 1578 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1578: Unable to fetch preview for %s/%s: %s", _tmp80_, _tmp81_, _tmp83_);
+#line 10519 "ImportPage.c"
}
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 10475 "ImportPage.c"
+#line 10523 "ImportPage.c"
}
__finally66:
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (preview);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw = (g_free (preview_raw), NULL);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (exif_only_md5);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (metadata);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (associated);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_source);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_import_source_list);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.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 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_clear_error (&_inner_error_);
-#line 1557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1562 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 10504 "ImportPage.c"
+#line 10552 "ImportPage.c"
}
-#line 1578 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1583 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_md5 = NULL;
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp86_ = preview;
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp86_ != NULL) {
-#line 10512 "ImportPage.c"
+#line 10560 "ImportPage.c"
guint8* _tmp87_ = NULL;
gint _tmp87__length1 = 0;
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp87_ = preview_raw;
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp87__length1 = preview_raw_length1;
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp85_ = _tmp87_ != NULL;
-#line 10521 "ImportPage.c"
+#line 10569 "ImportPage.c"
} else {
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp85_ = FALSE;
-#line 10525 "ImportPage.c"
+#line 10573 "ImportPage.c"
}
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp85_) {
-#line 10529 "ImportPage.c"
+#line 10577 "ImportPage.c"
gsize _tmp88_ = 0UL;
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp88_ = preview_raw_length;
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp84_ = _tmp88_ > ((gsize) 0);
-#line 10535 "ImportPage.c"
+#line 10583 "ImportPage.c"
} else {
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp84_ = FALSE;
-#line 10539 "ImportPage.c"
+#line 10587 "ImportPage.c"
}
-#line 1579 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp84_) {
-#line 10543 "ImportPage.c"
+#line 10591 "ImportPage.c"
guint8* _tmp89_ = NULL;
gint _tmp89__length1 = 0;
gsize _tmp90_ = 0UL;
gchar* _tmp91_ = NULL;
-#line 1580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1585 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp89_ = preview_raw;
-#line 1580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1585 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp89__length1 = preview_raw_length1;
-#line 1580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1585 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp90_ = preview_raw_length;
-#line 1580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1585 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp91_ = md5_binary (_tmp89_, _tmp90_);
-#line 1580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1585 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_md5);
-#line 1580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1585 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_md5 = _tmp91_;
-#line 10560 "ImportPage.c"
+#line 10608 "ImportPage.c"
}
-#line 1586 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1591 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp92_ = import_source;
-#line 1586 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1591 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp92_, TYPE_VIDEO_IMPORT_SOURCE)) {
-#line 10566 "ImportPage.c"
+#line 10614 "ImportPage.c"
ImportSource* _tmp93_ = NULL;
GdkPixbuf* _tmp94_ = NULL;
-#line 1587 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp93_ = import_source;
-#line 1587 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp94_ = preview;
-#line 1587 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
video_import_source_update (G_TYPE_CHECK_INSTANCE_TYPE (_tmp93_, TYPE_VIDEO_IMPORT_SOURCE) ? ((VideoImportSource*) _tmp93_) : NULL, _tmp94_);
-#line 10575 "ImportPage.c"
+#line 10623 "ImportPage.c"
}
-#line 1589 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp95_ = import_source;
-#line 1589 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp95_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 10581 "ImportPage.c"
+#line 10629 "ImportPage.c"
ImportSource* _tmp96_ = NULL;
GdkPixbuf* _tmp97_ = NULL;
const gchar* _tmp98_ = NULL;
PhotoMetadata* _tmp99_ = NULL;
const gchar* _tmp100_ = NULL;
-#line 1590 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp96_ = import_source;
-#line 1590 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp97_ = preview;
-#line 1590 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp98_ = preview_md5;
-#line 1590 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp99_ = metadata;
-#line 1590 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp100_ = exif_only_md5;
-#line 1590 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
photo_import_source_update (G_TYPE_CHECK_INSTANCE_TYPE (_tmp96_, TYPE_PHOTO_IMPORT_SOURCE) ? ((PhotoImportSource*) _tmp96_) : NULL, _tmp97_, _tmp98_, _tmp99_, _tmp100_);
-#line 10599 "ImportPage.c"
+#line 10647 "ImportPage.c"
}
-#line 1593 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1598 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp101_ = associated;
-#line 1593 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1598 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp101_ != NULL) {
-#line 10605 "ImportPage.c"
+#line 10653 "ImportPage.c"
{
PhotoMetadata* associated_metadata = NULL;
GPSpinIdleWrapper* _tmp102_ = NULL;
@@ -10625,52 +10673,52 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
GdkPixbuf* _tmp114_ = NULL;
const gchar* _tmp115_ = NULL;
PhotoMetadata* _tmp116_ = NULL;
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp102_ = import_page_spin_idle_context;
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp103_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp102_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp104_ = self->priv->camera;
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp105_ = associated;
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp106_ = import_source_get_fulldir (G_TYPE_CHECK_INSTANCE_CAST (_tmp105_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp107_ = _tmp106_;
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp108_ = associated;
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp109_ = import_source_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp108_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp110_ = _tmp109_;
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp111_ = gp_load_metadata (_tmp103_, _tmp104_, _tmp107_, _tmp110_, &_inner_error_);
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp112_ = _tmp111_;
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp110_);
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp107_);
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
associated_metadata = _tmp112_;
-#line 1595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1600 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 10653 "ImportPage.c"
+#line 10701 "ImportPage.c"
goto __catch67_g_error;
}
-#line 1597 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1602 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp113_ = associated;
-#line 1597 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1602 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp114_ = preview;
-#line 1597 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1602 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp115_ = preview_md5;
-#line 1597 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1602 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp116_ = associated_metadata;
-#line 1597 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1602 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
photo_import_source_update (_tmp113_, _tmp114_, _tmp115_, _tmp116_, NULL);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (associated_metadata);
-#line 10668 "ImportPage.c"
+#line 10716 "ImportPage.c"
}
goto __finally67;
__catch67_g_error:
@@ -10684,115 +10732,115 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
gchar* _tmp122_ = NULL;
GError* _tmp123_ = NULL;
const gchar* _tmp124_ = NULL;
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
err = _inner_error_;
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _inner_error_ = NULL;
#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ _inner_error_ = NULL;
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp117_ = associated;
-#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp118_ = import_source_get_fulldir (G_TYPE_CHECK_INSTANCE_CAST (_tmp117_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp119_ = _tmp118_;
-#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp120_ = associated;
-#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp121_ = import_source_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp120_, TYPE_IMPORT_SOURCE, ImportSource));
-#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp122_ = _tmp121_;
-#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp123_ = err;
-#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp124_ = _tmp123_->message;
-#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_warning ("ImportPage.vala:1599: Unable to fetch metadata for %s/%s: %s", _tmp119_, _tmp122_, _tmp124_);
-#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_warning ("ImportPage.vala:1604: Unable to fetch metadata for %s/%s: %s", _tmp119_, _tmp122_, _tmp124_);
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp122_);
-#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1604 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp119_);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 10710 "ImportPage.c"
+#line 10758 "ImportPage.c"
}
__finally67:
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_md5);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (preview);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw = (g_free (preview_raw), NULL);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (exif_only_md5);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (metadata);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (associated);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_source);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_import_source_list);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.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 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_clear_error (&_inner_error_);
-#line 1594 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1599 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 10741 "ImportPage.c"
+#line 10789 "ImportPage.c"
}
}
-#line 1605 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1610 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp125_ = self->priv->import_sources;
-#line 1605 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1610 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp126_ = import_source;
-#line 1605 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1610 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
data_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp125_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp126_, TYPE_DATA_OBJECT, DataObject));
-#line 1607 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1612 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp127_ = self->priv->progress_bar;
-#line 1607 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1612 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp128_ = loaded_photos;
-#line 1607 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1612 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
loaded_photos = _tmp128_ + 1;
-#line 1607 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1612 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp129_ = loaded_photos;
-#line 1607 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1612 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp130_ = import_list;
-#line 1607 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1612 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp131_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp130_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1607 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1612 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp132_ = _tmp131_;
-#line 1607 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1612 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gtk_progress_bar_set_fraction (_tmp127_, ((gdouble) _tmp129_) / ((gdouble) _tmp132_));
-#line 1614 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1619 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
spin_event_loop ();
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_md5);
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (preview);
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw = (g_free (preview_raw), NULL);
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (exif_only_md5);
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (metadata);
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (associated);
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (fulldir);
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_source);
-#line 10786 "ImportPage.c"
+#line 10834 "ImportPage.c"
}
-#line 1505 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1510 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_import_source_list);
-#line 10790 "ImportPage.c"
+#line 10838 "ImportPage.c"
}
}
@@ -10804,58 +10852,58 @@ static void import_page_on_hide_imported (ImportPage* self) {
ConfigFacade* _tmp9_ = NULL;
GtkCheckButton* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 1618 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1623 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_IMPORT_PAGE (self));
-#line 1619 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1624 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = self->priv->hide_imported;
-#line 1619 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1624 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1619 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1624 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp1_) {
-#line 10810 "ImportPage.c"
+#line 10858 "ImportPage.c"
ViewCollection* _tmp2_ = NULL;
ViewCollection* _tmp3_ = NULL;
ImportPageHideImportedViewFilter* _tmp4_ = NULL;
-#line 1620 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1625 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1620 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1625 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = _tmp2_;
-#line 1620 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1625 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = self->priv->hide_imported_filter;
-#line 1620 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1625 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
view_collection_install_view_filter (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_VIEW_FILTER, ViewFilter));
-#line 1620 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1625 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 10824 "ImportPage.c"
+#line 10872 "ImportPage.c"
} else {
ViewCollection* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
ImportPageHideImportedViewFilter* _tmp7_ = NULL;
-#line 1622 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1622 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = _tmp5_;
-#line 1622 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = self->priv->hide_imported_filter;
-#line 1622 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
view_collection_remove_view_filter (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_VIEW_FILTER, ViewFilter));
-#line 1622 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 10839 "ImportPage.c"
+#line 10887 "ImportPage.c"
}
-#line 1624 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1629 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = config_facade_get_instance ();
-#line 1624 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1629 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = _tmp8_;
-#line 1624 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1629 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = self->priv->hide_imported;
-#line 1624 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1629 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1624 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1629 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
configuration_facade_set_hide_photos_already_imported (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp11_);
-#line 1624 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1629 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp9_);
-#line 10853 "ImportPage.c"
+#line 10901 "ImportPage.c"
}
@@ -10864,23 +10912,23 @@ static void import_page_on_import_selected (ImportPage* self) {
ViewCollection* _tmp1_ = NULL;
GeeList* _tmp2_ = NULL;
GeeList* _tmp3_ = NULL;
-#line 1627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1632 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_IMPORT_PAGE (self));
-#line 1628 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1633 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1628 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1633 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _tmp0_;
-#line 1628 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1633 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = view_collection_get_selected (_tmp1_);
-#line 1628 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1633 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = _tmp2_;
-#line 1628 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1633 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_import (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1628 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1633 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp3_);
-#line 1628 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1633 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 10878 "ImportPage.c"
+#line 10926 "ImportPage.c"
}
@@ -10889,53 +10937,53 @@ static void import_page_on_import_all (ImportPage* self) {
ViewCollection* _tmp1_ = NULL;
GeeCollection* _tmp2_ = NULL;
GeeCollection* _tmp3_ = NULL;
-#line 1631 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_IMPORT_PAGE (self));
-#line 1632 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1632 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _tmp0_;
-#line 1632 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1632 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = _tmp2_;
-#line 1632 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_import (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1632 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp3_);
-#line 1632 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 10903 "ImportPage.c"
+#line 10951 "ImportPage.c"
}
static gint64 _import_page_import_job_comparator_comparator (void* a, void* b, gpointer self) {
gint64 result;
result = import_page_import_job_comparator ((ImportPage*) self, a, b);
-#line 1648 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1653 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 10912 "ImportPage.c"
+#line 10960 "ImportPage.c"
}
static void _import_page_import_reporter_batch_import_import_reporter (ImportManifest* manifest, BatchImportRoll* import_roll, gpointer self) {
-#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_import_reporter ((ImportPage*) self, manifest);
-#line 10919 "ImportPage.c"
+#line 10967 "ImportPage.c"
}
static void _import_page_on_import_job_failed_batch_import_import_job_failed (BatchImport* _sender, BatchImportResult* _result_, gpointer self) {
-#line 1686 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1691 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_import_job_failed ((ImportPage*) self, _result_);
-#line 10926 "ImportPage.c"
+#line 10974 "ImportPage.c"
}
static void _import_page_close_import_batch_import_import_complete (BatchImport* _sender, ImportManifest* manifest, BatchImportRoll* import_roll, gpointer self) {
-#line 1687 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1692 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_close_import ((ImportPage*) self);
-#line 10933 "ImportPage.c"
+#line 10981 "ImportPage.c"
}
@@ -10959,85 +11007,85 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
SortedList* _tmp59_ = NULL;
gint _tmp60_ = 0;
gint _tmp61_ = 0;
-#line 1635 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1640 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_IMPORT_PAGE (self));
-#line 1635 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1640 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (GEE_IS_ITERABLE (items));
-#line 1636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1641 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = self->priv->camera;
-#line 1636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1641 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = import_page_spin_idle_context;
-#line 1636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1641 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
-#line 1636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1641 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = gp_camera_init (_tmp0_, _tmp2_);
-#line 1636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1641 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
res = _tmp3_;
-#line 1637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1642 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = res;
-#line 1637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1642 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp4_ != GP_OK) {
-#line 10975 "ImportPage.c"
+#line 11023 "ImportPage.c"
const gchar* _tmp5_ = NULL;
int _tmp6_ = 0;
gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
-#line 1638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = _ ("Unable to lock camera: %s");
-#line 1638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = res;
-#line 1638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = gp_result_to_full_string (_tmp6_);
-#line 1638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = _tmp7_;
-#line 1638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = g_strdup_printf (_tmp5_, _tmp8_);
-#line 1638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = _tmp9_;
-#line 1638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
app_window_error_message (_tmp10_, NULL);
-#line 1638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp10_);
-#line 1638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp8_);
-#line 1640 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1645 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 11002 "ImportPage.c"
+#line 11050 "ImportPage.c"
}
-#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1648 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = self->priv->refreshed;
-#line 1643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1648 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_update_status (self, TRUE, _tmp11_);
-#line 1645 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1650 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_view_changed (self);
-#line 1646 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = self->priv->progress_bar;
-#line 1646 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1648 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1653 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = sorted_list_new (IMPORT_PAGE_TYPE_CAMERA_IMPORT_JOB, (GBoxedCopyFunc) batch_import_job_ref, batch_import_job_unref, _import_page_import_job_comparator_comparator, self);
-#line 1648 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1653 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
jobs = _tmp13_;
-#line 1649 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1654 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = gee_array_list_new (IMPORT_PAGE_TYPE_CAMERA_IMPORT_JOB, (GBoxedCopyFunc) batch_import_job_ref, batch_import_job_unref, NULL, NULL, NULL);
-#line 1649 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1654 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
already_imported = _tmp14_;
-#line 11022 "ImportPage.c"
+#line 11070 "ImportPage.c"
{
GeeIterator* _object_it = NULL;
GeeIterable* _tmp15_ = NULL;
GeeIterator* _tmp16_ = NULL;
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = items;
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp16_ = gee_iterable_iterator (_tmp15_);
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_object_it = _tmp16_;
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 11035 "ImportPage.c"
+#line 11083 "ImportPage.c"
GeeIterator* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
DataObject* object = NULL;
@@ -11059,41 +11107,41 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
ImportSource* _tmp42_ = NULL;
SortedList* _tmp53_ = NULL;
ImportPageCameraImportJob* _tmp54_ = NULL;
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = _object_it;
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp18_ = gee_iterator_next (_tmp17_);
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp18_) {
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 11065 "ImportPage.c"
+#line 11113 "ImportPage.c"
}
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = _object_it;
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp20_ = gee_iterator_get (_tmp19_);
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
object = (DataObject*) _tmp20_;
-#line 1652 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1657 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp21_ = object;
-#line 1652 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1657 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_IMPORT_PREVIEW, ImportPreview));
-#line 1652 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1657 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview = _tmp22_;
-#line 1653 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1658 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp23_ = preview;
-#line 1653 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1658 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = data_view_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_DATA_VIEW, DataView));
-#line 1653 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1658 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_file = G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_IMPORT_SOURCE, ImportSource);
-#line 1655 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1660 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp25_ = preview;
-#line 1655 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1660 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp26_ = import_preview_is_already_imported (_tmp25_);
-#line 1655 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1660 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp26_) {
-#line 11091 "ImportPage.c"
+#line 11139 "ImportPage.c"
ImportSource* _tmp27_ = NULL;
gchar* _tmp28_ = NULL;
gchar* _tmp29_ = NULL;
@@ -11105,84 +11153,84 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
DuplicatedFile* _tmp35_ = NULL;
ImportPageCameraImportJob* _tmp36_ = NULL;
ImportPageCameraImportJob* _tmp37_ = NULL;
-#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1661 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp27_ = import_file;
-#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1661 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp28_ = import_source_get_filename (_tmp27_);
-#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1661 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = _tmp28_;
-#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_message ("ImportPage.vala:1656: Skipping import of %s: checksum detected in libr" \
+#line 1661 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_message ("ImportPage.vala:1661: Skipping import of %s: checksum detected in libr" \
"ary", _tmp29_);
-#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1661 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp29_);
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp30_ = already_imported;
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp31_ = import_page_null_context;
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp32_ = import_file;
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp33_ = preview;
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp34_ = import_preview_get_duplicated_file (_tmp33_);
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp35_ = _tmp34_;
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp36_ = import_page_camera_import_job_new (_tmp31_, _tmp32_, _tmp35_);
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp37_ = _tmp36_;
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp37_);
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_batch_import_job_unref0 (_tmp37_);
-#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1664 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp35_);
-#line 1662 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1667 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_file);
-#line 1662 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1667 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (preview);
-#line 1662 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1667 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (object);
-#line 1662 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1667 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
continue;
-#line 11143 "ImportPage.c"
+#line 11191 "ImportPage.c"
}
-#line 1665 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp38_ = import_page_null_context;
-#line 1665 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = import_file;
-#line 1665 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp40_ = import_page_camera_import_job_new (_tmp38_, _tmp39_, NULL);
-#line 1665 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_job = _tmp40_;
-#line 1668 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1673 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp42_ = import_file;
-#line 1668 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1673 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp42_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 11157 "ImportPage.c"
+#line 11205 "ImportPage.c"
ImportSource* _tmp43_ = NULL;
PhotoImportSource* _tmp44_ = NULL;
PhotoImportSource* _tmp45_ = NULL;
-#line 1669 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1674 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp43_ = import_file;
-#line 1669 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1674 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp44_ = photo_import_source_get_associated (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSource));
-#line 1669 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1674 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp45_ = _tmp44_;
-#line 1669 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1674 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp41_ = _tmp45_ != NULL;
-#line 1669 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1674 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp45_);
-#line 11171 "ImportPage.c"
+#line 11219 "ImportPage.c"
} else {
-#line 1668 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1673 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp41_ = FALSE;
-#line 11175 "ImportPage.c"
+#line 11223 "ImportPage.c"
}
-#line 1668 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1673 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp41_) {
-#line 11179 "ImportPage.c"
+#line 11227 "ImportPage.c"
ImportPageCameraImportJob* _tmp46_ = NULL;
GPContextWrapper* _tmp47_ = NULL;
ImportSource* _tmp48_ = NULL;
@@ -11190,67 +11238,67 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
PhotoImportSource* _tmp50_ = NULL;
ImportPageCameraImportJob* _tmp51_ = NULL;
ImportPageCameraImportJob* _tmp52_ = NULL;
-#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp46_ = import_job;
-#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp47_ = import_page_null_context;
-#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp48_ = import_file;
-#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp49_ = photo_import_source_get_associated (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_PHOTO_IMPORT_SOURCE, PhotoImportSource));
-#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp50_ = _tmp49_;
-#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp51_ = import_page_camera_import_job_new (_tmp47_, G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, TYPE_IMPORT_SOURCE, ImportSource), NULL);
-#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = _tmp51_;
-#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
batch_import_job_set_associated (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, TYPE_BATCH_IMPORT_JOB, BatchImportJob), G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, TYPE_BATCH_IMPORT_JOB, BatchImportJob));
-#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_batch_import_job_unref0 (_tmp52_);
-#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp50_);
-#line 11207 "ImportPage.c"
+#line 11255 "ImportPage.c"
}
-#line 1674 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1679 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp53_ = jobs;
-#line 1674 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1679 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp54_ = import_job;
-#line 1674 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1679 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, GEE_TYPE_COLLECTION, GeeCollection), _tmp54_);
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_batch_import_job_unref0 (import_job);
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_file);
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (preview);
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (object);
-#line 11223 "ImportPage.c"
+#line 11271 "ImportPage.c"
}
-#line 1651 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_object_it);
-#line 11227 "ImportPage.c"
+#line 11275 "ImportPage.c"
}
-#line 1677 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1682 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp55_ = jobs;
-#line 1677 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1682 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp56_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1677 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1682 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp57_ = _tmp56_;
-#line 1677 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1682 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp58_ = self->priv->camera_name;
-#line 1677 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_debug ("ImportPage.vala:1677: Importing %d files from %s", _tmp57_, _tmp58_);
-#line 1679 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1682 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_debug ("ImportPage.vala:1682: Importing %d files from %s", _tmp57_, _tmp58_);
+#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp59_ = jobs;
-#line 1679 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp60_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1679 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp61_ = _tmp60_;
-#line 1679 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp61_ > 0) {
-#line 11247 "ImportPage.c"
+#line 11295 "ImportPage.c"
ImportPage* _tmp62_ = NULL;
ImportPage* _tmp63_ = NULL;
BatchImport* batch_import = NULL;
@@ -11265,92 +11313,92 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
BatchImport* _tmp72_ = NULL;
LibraryWindow* _tmp73_ = NULL;
LibraryWindow* _tmp74_ = NULL;
-#line 1681 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1686 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp62_ = self->priv->local_ref;
-#line 1681 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1686 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_vala_assert (_tmp62_ == NULL, "local_ref == null");
-#line 1682 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1687 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp63_ = _g_object_ref0 (self);
-#line 1682 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1687 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (self->priv->local_ref);
-#line 1682 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1687 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->local_ref = _tmp63_;
-#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp64_ = jobs;
-#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp65_ = self->priv->camera_name;
-#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp66_ = already_imported;
-#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp67_ = batch_import_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, GEE_TYPE_ITERABLE, GeeIterable), _tmp65_, _import_page_import_reporter_batch_import_import_reporter, self, NULL, _tmp66_, NULL, NULL, NULL);
-#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
batch_import = _tmp67_;
-#line 1686 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1691 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp68_ = batch_import;
-#line 1686 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1691 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_signal_connect_object (_tmp68_, "import-job-failed", (GCallback) _import_page_on_import_job_failed_batch_import_import_job_failed, self, 0);
-#line 1687 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1692 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp69_ = batch_import;
-#line 1687 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1692 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_signal_connect_object (_tmp69_, "import-complete", (GCallback) _import_page_close_import_batch_import_import_complete, self, 0);
-#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1694 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp70_ = library_window_get_app ();
-#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1694 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp71_ = _tmp70_;
-#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1694 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp72_ = batch_import;
-#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1694 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
library_window_enqueue_batch_import (_tmp71_, _tmp72_, TRUE);
-#line 1689 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1694 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp71_);
-#line 1690 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp73_ = library_window_get_app ();
-#line 1690 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp74_ = _tmp73_;
-#line 1690 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
library_window_switch_to_import_queue_page (_tmp74_);
-#line 1690 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp74_);
-#line 1679 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1684 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (batch_import);
-#line 11310 "ImportPage.c"
+#line 11358 "ImportPage.c"
} else {
GeeArrayList* _tmp75_ = NULL;
gint _tmp76_ = 0;
gint _tmp77_ = 0;
-#line 1694 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1699 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp75_ = already_imported;
-#line 1694 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1699 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp76_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1694 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1699 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp77_ = _tmp76_;
-#line 1694 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1699 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp77_ > 0) {
-#line 11323 "ImportPage.c"
+#line 11371 "ImportPage.c"
GeeArrayList* _tmp78_ = NULL;
ImportManifest* _tmp79_ = NULL;
ImportManifest* _tmp80_ = NULL;
-#line 1695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1700 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp78_ = already_imported;
-#line 1695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1700 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp79_ = import_manifest_new (NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, GEE_TYPE_LIST, GeeList));
-#line 1695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1700 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp80_ = _tmp79_;
-#line 1695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1700 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_import_reporter (self, _tmp80_);
-#line 1695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1700 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_import_manifest_unref0 (_tmp80_);
-#line 11337 "ImportPage.c"
+#line 11385 "ImportPage.c"
}
-#line 1697 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1702 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_close_import (self);
-#line 11341 "ImportPage.c"
+#line 11389 "ImportPage.c"
}
-#line 1635 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1640 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (already_imported);
-#line 1635 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1640 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (jobs);
-#line 11347 "ImportPage.c"
+#line 11395 "ImportPage.c"
}
@@ -11359,48 +11407,48 @@ static void import_page_on_import_job_failed (ImportPage* self, BatchImportResul
BatchImportResult* _tmp1_ = NULL;
GFile* _tmp2_ = NULL;
GError * _inner_error_ = NULL;
-#line 1701 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1706 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_IMPORT_PAGE (self));
-#line 1701 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1706 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_BATCH_IMPORT_RESULT (_result_));
-#line 1702 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _result_;
-#line 1702 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = _tmp1_->file;
-#line 1702 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp2_ == NULL) {
-#line 1702 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = TRUE;
-#line 11368 "ImportPage.c"
+#line 11416 "ImportPage.c"
} else {
BatchImportResult* _tmp3_ = NULL;
ImportResult _tmp4_ = 0;
-#line 1702 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = _result_;
-#line 1702 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = _tmp3_->result;
-#line 1702 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp4_ == IMPORT_RESULT_SUCCESS;
-#line 11378 "ImportPage.c"
+#line 11426 "ImportPage.c"
}
-#line 1702 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_) {
-#line 1703 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1708 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 11384 "ImportPage.c"
+#line 11432 "ImportPage.c"
}
{
BatchImportResult* _tmp5_ = NULL;
GFile* _tmp6_ = NULL;
-#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1712 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = _result_;
-#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1712 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = _tmp5_->file;
-#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1712 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_file_delete (_tmp6_, NULL, &_inner_error_);
-#line 1707 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1712 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 11397 "ImportPage.c"
+#line 11445 "ImportPage.c"
goto __catch68_g_error;
}
}
@@ -11414,57 +11462,57 @@ static void import_page_on_import_job_failed (ImportPage* self, BatchImportResul
gchar* _tmp10_ = NULL;
GError* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
-#line 1706 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1711 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
err = _inner_error_;
-#line 1706 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1711 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_inner_error_ = NULL;
-#line 1709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1714 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = _result_;
-#line 1709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1714 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = _tmp7_->file;
-#line 1709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1714 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = g_file_get_path (_tmp8_);
-#line 1709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1714 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = _tmp9_;
-#line 1709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1714 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = err;
-#line 1709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1714 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = _tmp11_->message;
-#line 1709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_message ("ImportPage.vala:1709: Unable to delete downloaded file %s: %s", _tmp10_, _tmp12_);
-#line 1709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1714 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_message ("ImportPage.vala:1714: Unable to delete downloaded file %s: %s", _tmp10_, _tmp12_);
+#line 1714 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp10_);
-#line 1706 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1711 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 11433 "ImportPage.c"
+#line 11481 "ImportPage.c"
}
__finally68:
-#line 1706 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1711 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1706 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1711 "/home/jens/Source/shotwell/src/camera/ImportPage.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 1706 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1711 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_clear_error (&_inner_error_);
-#line 1706 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1711 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 11444 "ImportPage.c"
+#line 11492 "ImportPage.c"
}
}
static gpointer _batch_import_job_ref0 (gpointer self) {
-#line 1753 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self ? batch_import_job_ref (self) : NULL;
-#line 11452 "ImportPage.c"
+#line 11500 "ImportPage.c"
}
static gboolean _progress_dialog_monitor_progress_monitor (guint64 current, guint64 total, gboolean do_event_loop, gpointer self) {
gboolean result;
result = progress_dialog_monitor ((ProgressDialog*) self, current, total, do_event_loop);
-#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1765 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 11461 "ImportPage.c"
+#line 11509 "ImportPage.c"
}
@@ -11494,31 +11542,31 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
gint _tmp91_ = 0;
gint _tmp92_ = 0;
ProgressDialog* _tmp98_ = NULL;
-#line 1713 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1718 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_IMPORT_PAGE (self));
-#line 1713 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1718 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_IMPORT_MANIFEST (manifest));
-#line 1719 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1724 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = self->priv->local_ref;
-#line 1719 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1724 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 1719 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1724 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
local_ref = _tmp1_;
-#line 1720 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1725 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (self->priv->local_ref);
-#line 1720 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1725 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->local_ref = NULL;
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = manifest;
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = _tmp2_->success;
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = _tmp4_;
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp5_ > 0) {
-#line 11515 "ImportPage.c"
+#line 11563 "ImportPage.c"
gchar* photos_string = NULL;
ImportManifest* _tmp6_ = NULL;
GeeList* _tmp7_ = NULL;
@@ -11578,176 +11626,176 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
ImportManifest* _tmp56_ = NULL;
ImportUIQuestionParams* _tmp57_ = NULL;
gboolean _tmp58_ = FALSE;
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = manifest;
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = _tmp6_->success;
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp9_ = _tmp8_;
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = ngettext ("Delete this photo from camera?", "Delete these %d photos from camera?", (gulong) _tmp9_);
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = manifest;
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = _tmp11_->success;
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = _tmp13_;
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = g_strdup_printf (_tmp10_, _tmp14_);
-#line 1723 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1728 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
photos_string = _tmp15_;
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp16_ = manifest;
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = _tmp16_->success;
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp18_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = _tmp18_;
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp20_ = ngettext ("Delete this video from camera?", "Delete these %d videos from camera?", (gulong) _tmp19_);
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp21_ = manifest;
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = _tmp21_->success;
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp23_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = _tmp23_;
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp25_ = g_strdup_printf (_tmp20_, _tmp24_);
-#line 1726 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1731 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
videos_string = _tmp25_;
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp26_ = manifest;
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp27_ = _tmp26_->success;
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp28_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = _tmp28_;
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp30_ = ngettext ("Delete this photo/video from camera?", "Delete these %d photos/videos from camera?", (gulong) _tmp29_);
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp31_ = manifest;
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp32_ = _tmp31_->success;
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp33_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp34_ = _tmp33_;
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp35_ = g_strdup_printf (_tmp30_, _tmp34_);
-#line 1729 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
both_string = _tmp35_;
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp36_ = manifest;
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp37_ = _tmp36_->success;
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp38_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = _tmp38_;
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp40_ = ngettext ("Delete these files from camera?", "Delete these %d files from camera?", (gulong) _tmp39_);
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp41_ = manifest;
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp42_ = _tmp41_->success;
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp43_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp44_ = _tmp43_;
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp45_ = g_strdup_printf (_tmp40_, _tmp44_);
-#line 1732 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
neither_string = _tmp45_;
-#line 1736 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1741 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp46_ = manifest;
-#line 1736 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1741 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp47_ = _tmp46_->success;
-#line 1736 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1741 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp48_ = photos_string;
-#line 1736 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1741 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp49_ = videos_string;
-#line 1736 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1741 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp50_ = both_string;
-#line 1736 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1741 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp51_ = neither_string;
-#line 1736 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1741 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = import_ui_get_media_specific_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, GEE_TYPE_COLLECTION, GeeCollection), _tmp48_, _tmp49_, _tmp50_, _tmp51_);
-#line 1736 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1741 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
question_string = _tmp52_;
-#line 1739 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1744 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp53_ = question_string;
-#line 1739 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1744 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp54_ = _ ("_Keep");
-#line 1739 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1744 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp55_ = import_ui_question_params_new (_tmp53_, RESOURCES_DELETE_LABEL, _tmp54_);
-#line 1739 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1744 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
question = _tmp55_;
-#line 1742 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1747 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp56_ = manifest;
-#line 1742 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1747 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp57_ = question;
-#line 1742 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1747 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp58_ = import_ui_report_manifest (_tmp56_, FALSE, _tmp57_);
-#line 1742 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1747 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp58_) {
-#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1748 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_import_ui_question_params_unref0 (question);
-#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1748 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (question_string);
-#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1748 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (neither_string);
-#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1748 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (both_string);
-#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1748 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (videos_string);
-#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1748 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (photos_string);
-#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1748 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (local_ref);
-#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1748 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 11711 "ImportPage.c"
+#line 11759 "ImportPage.c"
}
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_import_ui_question_params_unref0 (question);
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (question_string);
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (neither_string);
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (both_string);
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (videos_string);
-#line 1722 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1727 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (photos_string);
-#line 11725 "ImportPage.c"
+#line 11773 "ImportPage.c"
} else {
ImportManifest* _tmp59_ = NULL;
-#line 1745 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1750 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp59_ = manifest;
-#line 1745 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1750 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_ui_report_manifest (_tmp59_, FALSE, NULL);
-#line 1746 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1751 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (local_ref);
-#line 1746 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1751 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 11736 "ImportPage.c"
+#line 11784 "ImportPage.c"
}
-#line 1751 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1756 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp60_ = self->priv->import_sources;
-#line 1751 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1756 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp61_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1751 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1756 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
marker = _tmp61_;
-#line 11744 "ImportPage.c"
+#line 11792 "ImportPage.c"
{
GeeList* _batch_result_list = NULL;
ImportManifest* _tmp62_ = NULL;
@@ -11758,27 +11806,27 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
gint _tmp66_ = 0;
gint _tmp67_ = 0;
gint _batch_result_index = 0;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp62_ = manifest;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp63_ = _tmp62_->success;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp64_ = _g_object_ref0 (_tmp63_);
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_batch_result_list = _tmp64_;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp65_ = _batch_result_list;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp66_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp67_ = _tmp66_;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_batch_result_size = _tmp67_;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_batch_result_index = -1;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 11775 "ImportPage.c"
+#line 11823 "ImportPage.c"
gint _tmp68_ = 0;
gint _tmp69_ = 0;
gint _tmp70_ = 0;
@@ -11794,134 +11842,134 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
ImportPageCameraImportJob* _tmp78_ = NULL;
ImportSource* _tmp79_ = NULL;
ImportSource* _tmp80_ = NULL;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp68_ = _batch_result_index;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_batch_result_index = _tmp68_ + 1;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp69_ = _batch_result_index;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp70_ = _batch_result_size;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!(_tmp69_ < _tmp70_)) {
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 11803 "ImportPage.c"
+#line 11851 "ImportPage.c"
}
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp71_ = _batch_result_list;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp72_ = _batch_result_index;
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp73_ = gee_list_get (_tmp71_, _tmp72_);
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
batch_result = (BatchImportResult*) _tmp73_;
-#line 1753 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp74_ = batch_result;
-#line 1753 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp75_ = _tmp74_->job;
-#line 1753 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp76_ = _batch_import_job_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp75_, IMPORT_PAGE_TYPE_CAMERA_IMPORT_JOB) ? ((ImportPageCameraImportJob*) _tmp75_) : NULL);
-#line 1753 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
job = _tmp76_;
-#line 1755 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp77_ = marker;
-#line 1755 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp78_ = job;
-#line 1755 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp79_ = import_page_camera_import_job_get_source (_tmp78_);
-#line 1755 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp80_ = _tmp79_;
-#line 1755 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
marker_mark (_tmp77_, G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, TYPE_DATA_OBJECT, DataObject));
-#line 1755 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp80_);
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_batch_import_job_unref0 (job);
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_batch_import_result_unref0 (batch_result);
-#line 11837 "ImportPage.c"
+#line 11885 "ImportPage.c"
}
-#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1757 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_batch_result_list);
-#line 11841 "ImportPage.c"
+#line 11889 "ImportPage.c"
}
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp81_ = app_window_get_instance ();
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp82_ = _tmp81_;
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp83_ = _ ("Removing photos/videos from camera");
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp84_ = g_cancellable_new ();
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp85_ = _tmp84_;
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp86_ = progress_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, gtk_window_get_type (), GtkWindow), _tmp83_, _tmp85_);
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_object_ref_sink (_tmp86_);
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp87_ = _tmp86_;
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp85_);
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp82_);
-#line 1758 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1763 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
progress = _tmp87_;
-#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1765 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp88_ = self->priv->import_sources;
-#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1765 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp89_ = marker;
-#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1765 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp90_ = progress;
-#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1765 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp91_ = source_collection_destroy_marked (_tmp88_, _tmp89_, TRUE, _progress_dialog_monitor_progress_monitor, _tmp90_, NULL);
-#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1765 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
error_count = _tmp91_;
-#line 1761 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1766 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp92_ = error_count;
-#line 1761 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1766 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp92_ > 0) {
-#line 11879 "ImportPage.c"
+#line 11927 "ImportPage.c"
gchar* error_string = NULL;
gint _tmp93_ = 0;
const gchar* _tmp94_ = NULL;
gint _tmp95_ = 0;
gchar* _tmp96_ = NULL;
const gchar* _tmp97_ = NULL;
-#line 1762 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1767 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp93_ = error_count;
-#line 1762 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1767 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp94_ = ngettext ("Unable to delete %d photo/video from the camera due to errors.", "Unable to delete %d photos/videos from the camera due to errors.", (gulong) _tmp93_);
-#line 1762 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1767 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp95_ = error_count;
-#line 1762 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1767 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp96_ = g_strdup_printf (_tmp94_, _tmp95_);
-#line 1762 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1767 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
error_string = _tmp96_;
-#line 1766 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1771 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp97_ = error_string;
-#line 1766 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1771 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
app_window_error_message (_tmp97_, NULL);
-#line 1761 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1766 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (error_string);
-#line 11902 "ImportPage.c"
+#line 11950 "ImportPage.c"
}
-#line 1769 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1774 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp98_ = progress;
-#line 1769 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1774 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
progress_dialog_close (_tmp98_);
-#line 1772 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1777 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (local_ref);
-#line 1772 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1777 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
local_ref = NULL;
-#line 1713 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1718 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (progress);
-#line 1713 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1718 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (marker);
-#line 1713 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1718 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (local_ref);
-#line 11918 "ImportPage.c"
+#line 11966 "ImportPage.c"
}
@@ -11933,45 +11981,45 @@ static void import_page_close_import (ImportPage* self) {
int _tmp3_ = 0;
int _tmp4_ = 0;
gboolean _tmp8_ = FALSE;
-#line 1775 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1780 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (IS_IMPORT_PAGE (self));
-#line 1776 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1781 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = self->priv->camera;
-#line 1776 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1781 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = import_page_spin_idle_context;
-#line 1776 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1781 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)->context;
-#line 1776 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1781 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = gp_camera_exit (_tmp0_, _tmp2_);
-#line 1776 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1781 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
res = _tmp3_;
-#line 1777 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1782 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = res;
-#line 1777 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1782 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp4_ != GP_OK) {
-#line 11946 "ImportPage.c"
+#line 11994 "ImportPage.c"
int _tmp5_ = 0;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 1779 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1784 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = res;
-#line 1779 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1784 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = gp_result_to_full_string (_tmp5_);
-#line 1779 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1784 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = _tmp6_;
-#line 1779 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_message ("ImportPage.vala:1779: Unable to unlock camera: %s", _tmp7_);
-#line 1779 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1784 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ g_message ("ImportPage.vala:1784: Unable to unlock camera: %s", _tmp7_);
+#line 1784 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp7_);
-#line 11960 "ImportPage.c"
+#line 12008 "ImportPage.c"
}
-#line 1782 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1787 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = self->priv->refreshed;
-#line 1782 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1787 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_update_status (self, FALSE, _tmp8_);
-#line 1784 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1789 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_view_changed (self);
-#line 11968 "ImportPage.c"
+#line 12016 "ImportPage.c"
}
@@ -11982,49 +12030,49 @@ static void import_page_real_set_display_titles (CheckerboardPage* base, gboolea
GtkAction* _tmp1_ = NULL;
GtkToggleAction* _tmp2_ = NULL;
GtkToggleAction* _tmp3_ = NULL;
-#line 1787 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1792 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_IMPORT_PAGE, ImportPage);
-#line 1788 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1793 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = display;
-#line 1788 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1793 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
CHECKERBOARD_PAGE_CLASS (import_page_parent_class)->set_display_titles (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp0_);
-#line 1790 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1795 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTitle");
-#line 1790 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1795 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_toggle_action_get_type ()) ? ((GtkToggleAction*) _tmp1_) : NULL;
-#line 1790 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1795 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp2_ == NULL) {
-#line 1790 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1795 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp1_);
-#line 11993 "ImportPage.c"
+#line 12041 "ImportPage.c"
}
-#line 1790 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1795 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
action = _tmp2_;
-#line 1791 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1796 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = action;
-#line 1791 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1796 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp3_ != NULL) {
-#line 12001 "ImportPage.c"
+#line 12049 "ImportPage.c"
GtkToggleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 1792 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1797 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = action;
-#line 1792 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1797 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = display;
-#line 1792 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1797 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gtk_toggle_action_set_active (_tmp4_, _tmp5_);
-#line 12010 "ImportPage.c"
+#line 12058 "ImportPage.c"
}
-#line 1787 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1792 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (action);
-#line 12014 "ImportPage.c"
+#line 12062 "ImportPage.c"
}
static gpointer _view_filter_ref0 (gpointer self) {
-#line 1797 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1802 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self ? view_filter_ref (self) : NULL;
-#line 12021 "ImportPage.c"
+#line 12069 "ImportPage.c"
}
@@ -12033,17 +12081,17 @@ static SearchViewFilter* import_page_real_get_search_view_filter (CheckerboardPa
SearchViewFilter* result = NULL;
ImportPageImportPageSearchViewFilter* _tmp0_ = NULL;
SearchViewFilter* _tmp1_ = NULL;
-#line 1796 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1801 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_IMPORT_PAGE, ImportPage);
-#line 1797 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1802 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = self->priv->search_filter;
-#line 1797 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1802 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _view_filter_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 1797 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1802 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp1_;
-#line 1797 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+#line 1802 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12040 "ImportPage.c"
+#line 12088 "ImportPage.c"
}
@@ -12065,14 +12113,14 @@ static ImportPageImportViewManager* import_page_import_view_manager_construct (G
self->priv->owner = _tmp1_;
#line 463 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 12062 "ImportPage.c"
+#line 12110 "ImportPage.c"
}
static ImportPageImportViewManager* import_page_import_view_manager_new (ImportPage* owner) {
#line 463 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_page_import_view_manager_construct (IMPORT_PAGE_TYPE_IMPORT_VIEW_MANAGER, owner);
-#line 12069 "ImportPage.c"
+#line 12117 "ImportPage.c"
}
@@ -12093,7 +12141,7 @@ static DataView* import_page_import_view_manager_real_create_view (ViewManager*
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_VIEW, DataView);
#line 468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12090 "ImportPage.c"
+#line 12138 "ImportPage.c"
}
@@ -12106,14 +12154,14 @@ static void import_page_import_view_manager_class_init (ImportPageImportViewMana
g_type_class_add_private (klass, sizeof (ImportPageImportViewManagerPrivate));
#line 460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((ViewManagerClass *) klass)->create_view = import_page_import_view_manager_real_create_view;
-#line 12103 "ImportPage.c"
+#line 12151 "ImportPage.c"
}
static void import_page_import_view_manager_instance_init (ImportPageImportViewManager * self) {
#line 460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv = IMPORT_PAGE_IMPORT_VIEW_MANAGER_GET_PRIVATE (self);
-#line 12110 "ImportPage.c"
+#line 12158 "ImportPage.c"
}
@@ -12125,7 +12173,7 @@ static void import_page_import_view_manager_finalize (ViewManager* obj) {
_g_object_unref0 (self->priv->owner);
#line 460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
VIEW_MANAGER_CLASS (import_page_import_view_manager_parent_class)->finalize (obj);
-#line 12122 "ImportPage.c"
+#line 12170 "ImportPage.c"
}
@@ -12144,7 +12192,7 @@ static GType import_page_import_view_manager_get_type (void) {
static gpointer _gp_context_wrapper_ref0 (gpointer self) {
#line 487 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self ? gp_context_wrapper_ref (self) : NULL;
-#line 12141 "ImportPage.c"
+#line 12189 "ImportPage.c"
}
@@ -12240,7 +12288,7 @@ static ImportPageCameraImportJob* import_page_camera_import_job_construct (GType
_tmp16_ = import_file;
#line 498 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 12237 "ImportPage.c"
+#line 12285 "ImportPage.c"
ImportSource* _tmp17_ = NULL;
PhotoMetadata* _tmp18_ = NULL;
#line 499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12251,13 +12299,13 @@ static ImportPageCameraImportJob* import_page_camera_import_job_construct (GType
_media_metadata_unref0 (_tmp15_);
#line 499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = _tmp18_;
-#line 12248 "ImportPage.c"
+#line 12296 "ImportPage.c"
} else {
#line 499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (_tmp15_);
#line 499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = NULL;
-#line 12254 "ImportPage.c"
+#line 12302 "ImportPage.c"
}
#line 498 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = _media_metadata_ref0 (_tmp15_);
@@ -12275,14 +12323,14 @@ static ImportPageCameraImportJob* import_page_camera_import_job_construct (GType
_media_metadata_unref0 (_tmp15_);
#line 485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 12272 "ImportPage.c"
+#line 12320 "ImportPage.c"
}
static ImportPageCameraImportJob* import_page_camera_import_job_new (GPContextWrapper* context, ImportSource* import_file, DuplicatedFile* duplicated_file) {
#line 485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_page_camera_import_job_construct (IMPORT_PAGE_TYPE_CAMERA_IMPORT_JOB, context, import_file, duplicated_file);
-#line 12279 "ImportPage.c"
+#line 12327 "ImportPage.c"
}
@@ -12297,7 +12345,7 @@ static time_t import_page_camera_import_job_get_exposure_time (ImportPageCameraI
result = _tmp0_;
#line 504 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12294 "ImportPage.c"
+#line 12342 "ImportPage.c"
}
@@ -12316,7 +12364,7 @@ static DuplicatedFile* import_page_camera_import_job_real_get_duplicated_file (B
result = _tmp1_;
#line 508 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12313 "ImportPage.c"
+#line 12361 "ImportPage.c"
}
@@ -12331,23 +12379,23 @@ static time_t import_page_camera_import_job_real_get_exposure_time_override (Bat
_tmp1_ = self->priv->import_file;
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_VIDEO_IMPORT_SOURCE)) {
-#line 12328 "ImportPage.c"
+#line 12376 "ImportPage.c"
time_t _tmp2_ = 0;
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = import_page_camera_import_job_get_exposure_time (self);
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp2_;
-#line 12334 "ImportPage.c"
+#line 12382 "ImportPage.c"
} else {
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = (time_t) 0;
-#line 12338 "ImportPage.c"
+#line 12386 "ImportPage.c"
}
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp0_;
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12344 "ImportPage.c"
+#line 12392 "ImportPage.c"
}
@@ -12366,7 +12414,7 @@ static gchar* import_page_camera_import_job_real_get_dest_identifier (BatchImpor
result = _tmp1_;
#line 516 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12363 "ImportPage.c"
+#line 12411 "ImportPage.c"
}
@@ -12385,7 +12433,7 @@ static gchar* import_page_camera_import_job_real_get_source_identifier (BatchImp
result = _tmp1_;
#line 520 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12382 "ImportPage.c"
+#line 12430 "ImportPage.c"
}
@@ -12404,7 +12452,7 @@ static gchar* import_page_camera_import_job_real_get_basename (BatchImportJob* b
result = _tmp1_;
#line 524 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12401 "ImportPage.c"
+#line 12449 "ImportPage.c"
}
@@ -12423,7 +12471,7 @@ static gchar* import_page_camera_import_job_real_get_path (BatchImportJob* base)
result = _tmp1_;
#line 528 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12420 "ImportPage.c"
+#line 12468 "ImportPage.c"
}
@@ -12443,7 +12491,7 @@ static void import_page_camera_import_job_real_set_associated (BatchImportJob* b
_batch_import_job_unref0 (self->priv->associated);
#line 532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->associated = _tmp1_;
-#line 12440 "ImportPage.c"
+#line 12488 "ImportPage.c"
}
@@ -12461,7 +12509,7 @@ static ImportSource* import_page_camera_import_job_get_source (ImportPageCameraI
result = _tmp1_;
#line 536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12458 "ImportPage.c"
+#line 12506 "ImportPage.c"
}
@@ -12474,7 +12522,7 @@ static gboolean import_page_camera_import_job_real_is_directory (BatchImportJob*
result = FALSE;
#line 540 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12471 "ImportPage.c"
+#line 12519 "ImportPage.c"
}
@@ -12500,21 +12548,21 @@ static gboolean import_page_camera_import_job_real_determine_file_size (BatchImp
if (filesize) {
#line 547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*filesize = _vala_filesize;
-#line 12497 "ImportPage.c"
+#line 12545 "ImportPage.c"
}
#line 547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (file) {
#line 547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*file = _vala_file;
-#line 12503 "ImportPage.c"
+#line 12551 "ImportPage.c"
} else {
#line 547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_vala_file);
-#line 12507 "ImportPage.c"
+#line 12555 "ImportPage.c"
}
#line 547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12511 "ImportPage.c"
+#line 12559 "ImportPage.c"
}
@@ -12540,7 +12588,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_vala_copy_to_library = FALSE;
#line 554 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
dest_file = NULL;
-#line 12537 "ImportPage.c"
+#line 12585 "ImportPage.c"
{
gboolean collision = FALSE;
GFile* _tmp0_ = NULL;
@@ -12564,7 +12612,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_tmp0_ = _tmp5_;
#line 557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12561 "ImportPage.c"
+#line 12609 "ImportPage.c"
goto __catch69_g_error;
}
#line 557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12577,7 +12625,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
dest_file = _tmp6_;
#line 555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp0_);
-#line 12574 "ImportPage.c"
+#line 12622 "ImportPage.c"
}
goto __finally69;
__catch69_g_error:
@@ -12608,7 +12656,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_g_free0 (_tmp9_);
#line 555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 12605 "ImportPage.c"
+#line 12653 "ImportPage.c"
}
__finally69:
#line 555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12619,13 +12667,13 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_g_object_unref0 (dest_file);
#line 555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 12616 "ImportPage.c"
+#line 12664 "ImportPage.c"
}
#line 564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = dest_file;
#line 564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp12_ == NULL) {
-#line 12622 "ImportPage.c"
+#line 12670 "ImportPage.c"
ImportSource* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
@@ -12647,27 +12695,27 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
if (file_to_import) {
#line 567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*file_to_import = _vala_file_to_import;
-#line 12644 "ImportPage.c"
+#line 12692 "ImportPage.c"
} else {
#line 567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_vala_file_to_import);
-#line 12648 "ImportPage.c"
+#line 12696 "ImportPage.c"
}
#line 567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (copy_to_library) {
#line 567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*copy_to_library = _vala_copy_to_library;
-#line 12654 "ImportPage.c"
+#line 12702 "ImportPage.c"
}
#line 567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12658 "ImportPage.c"
+#line 12706 "ImportPage.c"
}
#line 572 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp16_ = dest_file;
#line 572 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
library_monitor_blacklist_file (_tmp16_, "CameraImportJob.prepare");
-#line 12664 "ImportPage.c"
+#line 12712 "ImportPage.c"
{
GPContextWrapper* _tmp17_ = NULL;
GPContext* _tmp18_ = NULL;
@@ -12691,7 +12739,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
gp_save_image (_tmp18_, _tmp19_, _tmp20_, _tmp21_, _tmp22_, &_inner_error_);
#line 574 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12688 "ImportPage.c"
+#line 12736 "ImportPage.c"
goto __finally70;
}
}
@@ -12702,7 +12750,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_tmp23_ = dest_file;
#line 576 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
library_monitor_unblacklist_file (_tmp23_);
-#line 12699 "ImportPage.c"
+#line 12747 "ImportPage.c"
}
#line 573 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
@@ -12712,13 +12760,13 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_g_object_unref0 (dest_file);
#line 573 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 12709 "ImportPage.c"
+#line 12757 "ImportPage.c"
}
#line 580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = self->priv->associated;
#line 580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp24_ != NULL) {
-#line 12715 "ImportPage.c"
+#line 12763 "ImportPage.c"
BackingPhotoRow* _tmp39_ = NULL;
GFile* assoc_dest = NULL;
BackingPhotoRow* _tmp42_ = NULL;
@@ -12760,7 +12808,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_tmp25_ = _tmp33_;
#line 583 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12757 "ImportPage.c"
+#line 12805 "ImportPage.c"
goto __catch71_g_error;
}
#line 582 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12773,7 +12821,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
self->priv->associated_file = _tmp34_;
#line 581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_backing_photo_row_unref0 (_tmp25_);
-#line 12770 "ImportPage.c"
+#line 12818 "ImportPage.c"
}
goto __finally71;
__catch71_g_error:
@@ -12800,7 +12848,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
": %s", _tmp36_, _tmp38_);
#line 581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 12796 "ImportPage.c"
+#line 12844 "ImportPage.c"
}
__finally71:
#line 581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12811,13 +12859,13 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_g_object_unref0 (dest_file);
#line 581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 12807 "ImportPage.c"
+#line 12855 "ImportPage.c"
}
#line 590 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = self->priv->associated_file;
#line 590 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp39_ == NULL) {
-#line 12813 "ImportPage.c"
+#line 12861 "ImportPage.c"
ImportPageCameraImportJob* _tmp40_ = NULL;
const gchar* _tmp41_ = NULL;
#line 591 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12834,21 +12882,21 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
if (file_to_import) {
#line 592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*file_to_import = _vala_file_to_import;
-#line 12830 "ImportPage.c"
+#line 12878 "ImportPage.c"
} else {
#line 592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_vala_file_to_import);
-#line 12834 "ImportPage.c"
+#line 12882 "ImportPage.c"
}
#line 592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (copy_to_library) {
#line 592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*copy_to_library = _vala_copy_to_library;
-#line 12840 "ImportPage.c"
+#line 12888 "ImportPage.c"
}
#line 592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12844 "ImportPage.c"
+#line 12892 "ImportPage.c"
}
#line 595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp42_ = self->priv->associated_file;
@@ -12862,7 +12910,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_tmp45_ = assoc_dest;
#line 596 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
library_monitor_blacklist_file (_tmp45_, "CameraImportJob.prepare");
-#line 12858 "ImportPage.c"
+#line 12906 "ImportPage.c"
{
GPContextWrapper* _tmp46_ = NULL;
GPContext* _tmp47_ = NULL;
@@ -12892,7 +12940,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
gp_save_image (_tmp47_, _tmp48_, _tmp50_, _tmp52_, _tmp53_, &_inner_error_);
#line 598 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12888 "ImportPage.c"
+#line 12936 "ImportPage.c"
goto __finally72;
}
}
@@ -12903,7 +12951,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_tmp54_ = assoc_dest;
#line 601 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
library_monitor_unblacklist_file (_tmp54_);
-#line 12899 "ImportPage.c"
+#line 12947 "ImportPage.c"
}
#line 597 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
@@ -12915,11 +12963,11 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_g_object_unref0 (dest_file);
#line 597 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 12911 "ImportPage.c"
+#line 12959 "ImportPage.c"
}
#line 580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (assoc_dest);
-#line 12915 "ImportPage.c"
+#line 12963 "ImportPage.c"
}
#line 605 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp55_ = dest_file;
@@ -12939,21 +12987,21 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
if (file_to_import) {
#line 608 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*file_to_import = _vala_file_to_import;
-#line 12935 "ImportPage.c"
+#line 12983 "ImportPage.c"
} else {
#line 608 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_vala_file_to_import);
-#line 12939 "ImportPage.c"
+#line 12987 "ImportPage.c"
}
#line 608 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (copy_to_library) {
#line 608 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*copy_to_library = _vala_copy_to_library;
-#line 12945 "ImportPage.c"
+#line 12993 "ImportPage.c"
}
#line 608 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12949 "ImportPage.c"
+#line 12997 "ImportPage.c"
}
@@ -12975,7 +13023,7 @@ static gboolean import_page_camera_import_job_real_complete (BatchImportJob* bas
_tmp0_ = source;
#line 613 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_PHOTO)) {
-#line 12971 "ImportPage.c"
+#line 13019 "ImportPage.c"
Photo* photo = NULL;
MediaSource* _tmp1_ = NULL;
Photo* _tmp2_ = NULL;
@@ -12990,7 +13038,7 @@ static gboolean import_page_camera_import_job_real_complete (BatchImportJob* bas
_tmp3_ = self->priv->associated_file;
#line 617 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp3_ != NULL) {
-#line 12986 "ImportPage.c"
+#line 13034 "ImportPage.c"
Photo* _tmp4_ = NULL;
BackingPhotoRow* _tmp5_ = NULL;
Photo* _tmp6_ = NULL;
@@ -13011,7 +13059,7 @@ static gboolean import_page_camera_import_job_real_complete (BatchImportJob* bas
_g_object_unref0 (photo);
#line 618 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 13007 "ImportPage.c"
+#line 13055 "ImportPage.c"
}
#line 619 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ret = TRUE;
@@ -13027,17 +13075,17 @@ static gboolean import_page_camera_import_job_real_complete (BatchImportJob* bas
photo_set_raw_developer (_tmp6_, _tmp9_);
#line 620 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp8_);
-#line 13023 "ImportPage.c"
+#line 13071 "ImportPage.c"
}
#line 613 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (photo);
-#line 13027 "ImportPage.c"
+#line 13075 "ImportPage.c"
}
#line 623 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = ret;
#line 623 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13033 "ImportPage.c"
+#line 13081 "ImportPage.c"
}
@@ -13070,7 +13118,7 @@ static void import_page_camera_import_job_class_init (ImportPageCameraImportJobC
((BatchImportJobClass *) klass)->prepare = import_page_camera_import_job_real_prepare;
#line 472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((BatchImportJobClass *) klass)->complete = import_page_camera_import_job_real_complete;
-#line 13066 "ImportPage.c"
+#line 13114 "ImportPage.c"
}
@@ -13081,7 +13129,7 @@ static void import_page_camera_import_job_instance_init (ImportPageCameraImportJ
self->priv->associated = NULL;
#line 482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->associated_file = NULL;
-#line 13077 "ImportPage.c"
+#line 13125 "ImportPage.c"
}
@@ -13109,7 +13157,7 @@ static void import_page_camera_import_job_finalize (BatchImportJob* obj) {
_g_object_unref0 (self->priv->duplicated_file);
#line 472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
BATCH_IMPORT_JOB_CLASS (import_page_camera_import_job_parent_class)->finalize (obj);
-#line 13105 "ImportPage.c"
+#line 13153 "ImportPage.c"
}
@@ -13134,7 +13182,7 @@ static guint import_page_import_page_search_view_filter_real_get_criteria (Searc
result = (guint) (SEARCH_FILTER_CRITERIA_TEXT | SEARCH_FILTER_CRITERIA_MEDIA);
#line 629 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13130 "ImportPage.c"
+#line 13178 "ImportPage.c"
}
@@ -13154,7 +13202,7 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
result = _tmp1_ != NULL;
#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 13150 "ImportPage.c"
+#line 13198 "ImportPage.c"
}
@@ -13181,27 +13229,27 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp3_ = search_view_filter_get_criteria (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if ((gboolean) (SEARCH_FILTER_CRITERIA_MEDIA & _tmp3_)) {
-#line 13177 "ImportPage.c"
+#line 13225 "ImportPage.c"
gboolean _tmp4_ = FALSE;
#line 636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = search_view_filter_filter_by_media_type (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = _tmp4_;
-#line 13183 "ImportPage.c"
+#line 13231 "ImportPage.c"
} else {
#line 636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = FALSE;
-#line 13187 "ImportPage.c"
+#line 13235 "ImportPage.c"
}
#line 636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp2_) {
-#line 13191 "ImportPage.c"
+#line 13239 "ImportPage.c"
ImportSource* _tmp5_ = NULL;
#line 637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = source;
#line 637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, TYPE_VIDEO_IMPORT_SOURCE)) {
-#line 13197 "ImportPage.c"
+#line 13245 "ImportPage.c"
gboolean _tmp6_ = FALSE;
gboolean _tmp7_ = FALSE;
#line 638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -13216,7 +13264,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 639 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13212 "ImportPage.c"
+#line 13260 "ImportPage.c"
}
} else {
ImportSource* _tmp8_ = NULL;
@@ -13224,7 +13272,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp8_ = source;
#line 640 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 13220 "ImportPage.c"
+#line 13268 "ImportPage.c"
PhotoImportSource* photo = NULL;
ImportSource* _tmp9_ = NULL;
PhotoImportSource* _tmp10_ = NULL;
@@ -13242,7 +13290,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp12_ = photo_import_source_get_file_format (_tmp11_);
#line 642 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp12_ == PHOTO_FILE_FORMAT_RAW) {
-#line 13238 "ImportPage.c"
+#line 13286 "ImportPage.c"
PhotoImportSource* _tmp13_ = NULL;
PhotoImportSource* _tmp14_ = NULL;
PhotoImportSource* _tmp15_ = NULL;
@@ -13259,7 +13307,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (_tmp15_);
#line 643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp16_) {
-#line 13255 "ImportPage.c"
+#line 13303 "ImportPage.c"
gboolean _tmp17_ = FALSE;
gboolean _tmp18_ = FALSE;
gboolean _tmp19_ = FALSE;
@@ -13269,7 +13317,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp19_ = _tmp18_;
#line 644 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp19_) {
-#line 13265 "ImportPage.c"
+#line 13313 "ImportPage.c"
gboolean _tmp20_ = FALSE;
gboolean _tmp21_ = FALSE;
#line 644 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -13278,11 +13326,11 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp21_ = _tmp20_;
#line 644 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = !_tmp21_;
-#line 13274 "ImportPage.c"
+#line 13322 "ImportPage.c"
} else {
#line 644 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = FALSE;
-#line 13278 "ImportPage.c"
+#line 13326 "ImportPage.c"
}
#line 644 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp17_) {
@@ -13294,7 +13342,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 645 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13290 "ImportPage.c"
+#line 13338 "ImportPage.c"
}
} else {
gboolean _tmp22_ = FALSE;
@@ -13313,7 +13361,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 647 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13309 "ImportPage.c"
+#line 13357 "ImportPage.c"
}
}
} else {
@@ -13333,12 +13381,12 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 650 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13329 "ImportPage.c"
+#line 13377 "ImportPage.c"
}
}
#line 640 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (photo);
-#line 13334 "ImportPage.c"
+#line 13382 "ImportPage.c"
}
}
}
@@ -13346,7 +13394,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp26_ = search_view_filter_get_criteria (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 654 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if ((gboolean) (SEARCH_FILTER_CRITERIA_TEXT & _tmp26_)) {
-#line 13342 "ImportPage.c"
+#line 13390 "ImportPage.c"
const gchar* keywords = NULL;
ImportSource* _tmp27_ = NULL;
const gchar* _tmp28_ = NULL;
@@ -13372,11 +13420,11 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 657 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13368 "ImportPage.c"
+#line 13416 "ImportPage.c"
}
#line 660 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp32_ = search_view_filter_get_search_filter_words (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter), &_tmp31_);
-#line 13372 "ImportPage.c"
+#line 13420 "ImportPage.c"
{
gchar** word_collection = NULL;
gint word_collection_length1 = 0;
@@ -13388,11 +13436,11 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
word_collection_length1 = _tmp31_;
#line 660 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
for (word_it = 0; word_it < _tmp31_; word_it = word_it + 1) {
-#line 13384 "ImportPage.c"
+#line 13432 "ImportPage.c"
const gchar* word = NULL;
#line 660 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
word = word_collection[word_it];
-#line 13388 "ImportPage.c"
+#line 13436 "ImportPage.c"
{
const gchar* _tmp33_ = NULL;
const gchar* _tmp34_ = NULL;
@@ -13411,7 +13459,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 662 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13407 "ImportPage.c"
+#line 13455 "ImportPage.c"
}
}
}
@@ -13423,7 +13471,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 666 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13419 "ImportPage.c"
+#line 13467 "ImportPage.c"
}
@@ -13433,14 +13481,14 @@ static ImportPageImportPageSearchViewFilter* import_page_import_page_search_view
self = (ImportPageImportPageSearchViewFilter*) search_view_filter_construct (object_type);
#line 627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 13429 "ImportPage.c"
+#line 13477 "ImportPage.c"
}
static ImportPageImportPageSearchViewFilter* import_page_import_page_search_view_filter_new (void) {
#line 627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_page_import_page_search_view_filter_construct (IMPORT_PAGE_TYPE_IMPORT_PAGE_SEARCH_VIEW_FILTER);
-#line 13436 "ImportPage.c"
+#line 13484 "ImportPage.c"
}
@@ -13451,7 +13499,7 @@ static void import_page_import_page_search_view_filter_class_init (ImportPageImp
((SearchViewFilterClass *) klass)->get_criteria = import_page_import_page_search_view_filter_real_get_criteria;
#line 627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((ViewFilterClass *) klass)->predicate = import_page_import_page_search_view_filter_real_predicate;
-#line 13447 "ImportPage.c"
+#line 13495 "ImportPage.c"
}
@@ -13488,7 +13536,7 @@ static gboolean import_page_hide_imported_view_filter_real_predicate (ViewFilter
result = !_tmp1_;
#line 673 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13484 "ImportPage.c"
+#line 13532 "ImportPage.c"
}
@@ -13498,14 +13546,14 @@ static ImportPageHideImportedViewFilter* import_page_hide_imported_view_filter_c
self = (ImportPageHideImportedViewFilter*) view_filter_construct (object_type);
#line 671 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 13494 "ImportPage.c"
+#line 13542 "ImportPage.c"
}
static ImportPageHideImportedViewFilter* import_page_hide_imported_view_filter_new (void) {
#line 671 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_page_hide_imported_view_filter_construct (IMPORT_PAGE_TYPE_HIDE_IMPORTED_VIEW_FILTER);
-#line 13501 "ImportPage.c"
+#line 13549 "ImportPage.c"
}
@@ -13514,7 +13562,7 @@ static void import_page_hide_imported_view_filter_class_init (ImportPageHideImpo
import_page_hide_imported_view_filter_parent_class = g_type_class_peek_parent (klass);
#line 671 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((ViewFilterClass *) klass)->predicate = import_page_hide_imported_view_filter_real_predicate;
-#line 13510 "ImportPage.c"
+#line 13558 "ImportPage.c"
}
@@ -13546,6 +13594,8 @@ static void import_page_class_init (ImportPageClass * klass) {
#line 457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((CheckerboardPageClass *) klass)->get_view_empty_message = import_page_real_get_view_empty_message;
#line 457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
+ ((CheckerboardPageClass *) klass)->get_filter_no_match_message = import_page_real_get_filter_no_match_message;
+#line 457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((PageClass *) klass)->init_collect_ui_filenames = import_page_real_init_collect_ui_filenames;
#line 457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((PageClass *) klass)->init_collect_toggle_action_entries = import_page_real_init_collect_toggle_action_entries;
@@ -13563,7 +13613,7 @@ static void import_page_class_init (ImportPageClass * klass) {
((CheckerboardPageClass *) klass)->get_search_view_filter = import_page_real_get_search_view_filter;
#line 457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (klass)->finalize = import_page_finalize;
-#line 13559 "ImportPage.c"
+#line 13609 "ImportPage.c"
}
@@ -13608,7 +13658,7 @@ static void import_page_instance_init (ImportPage * self) {
_tmp3_ = import_page_hide_imported_view_filter_new ();
#line 695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->hide_imported_filter = _tmp3_;
-#line 13604 "ImportPage.c"
+#line 13654 "ImportPage.c"
}
@@ -13662,7 +13712,7 @@ static void import_page_finalize (GObject* obj) {
_core_tracker_unref0 (self->priv->tracker);
#line 457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (import_page_parent_class)->finalize (obj);
-#line 13658 "ImportPage.c"
+#line 13708 "ImportPage.c"
}
diff --git a/src/camera/ImportPage.vala b/src/camera/ImportPage.vala
index daece35..45924f9 100644
--- a/src/camera/ImportPage.vala
+++ b/src/camera/ImportPage.vala
@@ -837,13 +837,13 @@ public class ImportPage : CheckerboardPage {
public override Core.ViewTracker? get_view_tracker() {
return tracker;
}
-
- // Ticket #3304 - Import page shouldn't display confusing message
- // prior to import.
- // TODO: replace this with approved text for "talking to camera,
- // please wait" once new strings are being accepted.
+
protected override string get_view_empty_message() {
- return _("Starting import, please wait...");
+ return _("The camera seems to be empty. No photos/videos found to import");
+ }
+
+ protected override string get_filter_no_match_message () {
+ return _("No new photos/videos found on camera");
}
private static int64 preview_comparator(void *a, void *b) {
@@ -1149,6 +1149,8 @@ public class ImportPage : CheckerboardPage {
if (busy)
return RefreshResult.BUSY;
+ this.set_page_message (_("Starting import, please wait..."));
+
update_status(busy, false);
refresh_error = null;
@@ -1269,6 +1271,9 @@ public class ImportPage : CheckerboardPage {
}
if (refresh_result == GPhoto.Result.OK) {
+ if (import_sources.get_count () == 0) {
+ this.set_page_message (this.get_view_empty_message ());
+ }
update_status(false, true);
} else {
update_status(false, false);
diff --git a/src/photos/JfifSupport.c b/src/photos/JfifSupport.c
index 5855bf1..3c86a7a 100644
--- a/src/photos/JfifSupport.c
+++ b/src/photos/JfifSupport.c
@@ -1127,9 +1127,10 @@ static void jfif_file_format_properties_class_init (JfifFileFormatPropertiesClas
gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
- gchar** _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar** _tmp5_ = NULL;
+ gchar* _tmp3_ = NULL;
+ gchar** _tmp4_ = NULL;
+ gchar* _tmp5_ = NULL;
+ gchar** _tmp6_ = NULL;
#line 52 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
jfif_file_format_properties_parent_class = g_type_class_peek_parent (klass);
#line 52 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
@@ -1155,28 +1156,32 @@ static void jfif_file_format_properties_class_init (JfifFileFormatPropertiesClas
#line 53 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp2_ = g_strdup ("jpe");
#line 53 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- _tmp3_ = g_new0 (gchar*, 3 + 1);
+ _tmp3_ = g_strdup ("thm");
+#line 53 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
+ _tmp4_ = g_new0 (gchar*, 4 + 1);
#line 53 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- _tmp3_[0] = _tmp0_;
+ _tmp4_[0] = _tmp0_;
#line 53 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- _tmp3_[1] = _tmp1_;
+ _tmp4_[1] = _tmp1_;
#line 53 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- _tmp3_[2] = _tmp2_;
+ _tmp4_[2] = _tmp2_;
#line 53 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- jfif_file_format_properties_KNOWN_EXTENSIONS = _tmp3_;
+ _tmp4_[3] = _tmp3_;
#line 53 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- jfif_file_format_properties_KNOWN_EXTENSIONS_length1 = 3;
+ jfif_file_format_properties_KNOWN_EXTENSIONS = _tmp4_;
+#line 53 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
+ jfif_file_format_properties_KNOWN_EXTENSIONS_length1 = 4;
#line 57 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- _tmp4_ = g_strdup ("image/jpeg");
+ _tmp5_ = g_strdup ("image/jpeg");
#line 57 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- _tmp5_ = g_new0 (gchar*, 1 + 1);
+ _tmp6_ = g_new0 (gchar*, 1 + 1);
#line 57 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- _tmp5_[0] = _tmp4_;
+ _tmp6_[0] = _tmp5_;
#line 57 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- jfif_file_format_properties_KNOWN_MIME_TYPES = _tmp5_;
+ jfif_file_format_properties_KNOWN_MIME_TYPES = _tmp6_;
#line 57 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
jfif_file_format_properties_KNOWN_MIME_TYPES_length1 = 1;
-#line 1180 "JfifSupport.c"
+#line 1185 "JfifSupport.c"
}
@@ -1190,7 +1195,7 @@ static void jfif_file_format_properties_finalize (PhotoFileFormatProperties* obj
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_JFIF_FILE_FORMAT_PROPERTIES, JfifFileFormatProperties);
#line 52 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
PHOTO_FILE_FORMAT_PROPERTIES_CLASS (jfif_file_format_properties_parent_class)->finalize (obj);
-#line 1194 "JfifSupport.c"
+#line 1199 "JfifSupport.c"
}
@@ -1220,21 +1225,21 @@ JfifSniffer* jfif_sniffer_construct (GType object_type, GFile* file, PhotoFileSn
self = (JfifSniffer*) gdk_sniffer_construct (object_type, _tmp0_, _tmp1_);
#line 101 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return self;
-#line 1224 "JfifSupport.c"
+#line 1229 "JfifSupport.c"
}
JfifSniffer* jfif_sniffer_new (GFile* file, PhotoFileSnifferOptions options) {
#line 101 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return jfif_sniffer_construct (TYPE_JFIF_SNIFFER, file, options);
-#line 1231 "JfifSupport.c"
+#line 1236 "JfifSupport.c"
}
static gpointer _detected_photo_information_ref0 (gpointer self) {
#line 116 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return self ? detected_photo_information_ref (self) : NULL;
-#line 1238 "JfifSupport.c"
+#line 1243 "JfifSupport.c"
}
@@ -1270,7 +1275,7 @@ static DetectedPhotoInformation* jfif_sniffer_real_sniff (PhotoFileSniffer* base
g_propagate_error (error, _inner_error_);
#line 109 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return NULL;
-#line 1274 "JfifSupport.c"
+#line 1279 "JfifSupport.c"
}
#line 109 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
if (!_tmp0_) {
@@ -1280,11 +1285,11 @@ static DetectedPhotoInformation* jfif_sniffer_real_sniff (PhotoFileSniffer* base
if (is_corrupted) {
#line 110 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
*is_corrupted = _vala_is_corrupted;
-#line 1284 "JfifSupport.c"
+#line 1289 "JfifSupport.c"
}
#line 110 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1288 "JfifSupport.c"
+#line 1293 "JfifSupport.c"
}
#line 112 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp4_ = PHOTO_FILE_SNIFFER_CLASS (jfif_sniffer_parent_class)->sniff (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_GDK_SNIFFER, GdkSniffer), TYPE_PHOTO_FILE_SNIFFER, PhotoFileSniffer), &_tmp3_, &_inner_error_);
@@ -1298,7 +1303,7 @@ static DetectedPhotoInformation* jfif_sniffer_real_sniff (PhotoFileSniffer* base
g_propagate_error (error, _inner_error_);
#line 112 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return NULL;
-#line 1302 "JfifSupport.c"
+#line 1307 "JfifSupport.c"
}
#line 113 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp5_ = detected;
@@ -1312,11 +1317,11 @@ static DetectedPhotoInformation* jfif_sniffer_real_sniff (PhotoFileSniffer* base
if (is_corrupted) {
#line 114 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
*is_corrupted = _vala_is_corrupted;
-#line 1316 "JfifSupport.c"
+#line 1321 "JfifSupport.c"
}
#line 114 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1320 "JfifSupport.c"
+#line 1325 "JfifSupport.c"
}
#line 116 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp7_ = detected;
@@ -1324,17 +1329,17 @@ static DetectedPhotoInformation* jfif_sniffer_real_sniff (PhotoFileSniffer* base
_tmp8_ = _tmp7_->file_format;
#line 116 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
if (_tmp8_ == PHOTO_FILE_FORMAT_JFIF) {
-#line 1328 "JfifSupport.c"
+#line 1333 "JfifSupport.c"
DetectedPhotoInformation* _tmp9_ = NULL;
#line 116 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp9_ = detected;
#line 116 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp6_ = _tmp9_;
-#line 1334 "JfifSupport.c"
+#line 1339 "JfifSupport.c"
} else {
#line 116 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp6_ = NULL;
-#line 1338 "JfifSupport.c"
+#line 1343 "JfifSupport.c"
}
#line 116 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp10_ = _detected_photo_information_ref0 (_tmp6_);
@@ -1346,11 +1351,11 @@ static DetectedPhotoInformation* jfif_sniffer_real_sniff (PhotoFileSniffer* base
if (is_corrupted) {
#line 116 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
*is_corrupted = _vala_is_corrupted;
-#line 1350 "JfifSupport.c"
+#line 1355 "JfifSupport.c"
}
#line 116 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1354 "JfifSupport.c"
+#line 1359 "JfifSupport.c"
}
@@ -1359,7 +1364,7 @@ static void jfif_sniffer_class_init (JfifSnifferClass * klass) {
jfif_sniffer_parent_class = g_type_class_peek_parent (klass);
#line 100 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
((PhotoFileSnifferClass *) klass)->sniff = jfif_sniffer_real_sniff;
-#line 1363 "JfifSupport.c"
+#line 1368 "JfifSupport.c"
}
@@ -1390,21 +1395,21 @@ JfifReader* jfif_reader_construct (GType object_type, const gchar* filepath) {
self = (JfifReader*) gdk_reader_construct (object_type, _tmp0_, PHOTO_FILE_FORMAT_JFIF);
#line 121 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return self;
-#line 1394 "JfifSupport.c"
+#line 1399 "JfifSupport.c"
}
JfifReader* jfif_reader_new (const gchar* filepath) {
#line 121 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return jfif_reader_construct (TYPE_JFIF_READER, filepath);
-#line 1401 "JfifSupport.c"
+#line 1406 "JfifSupport.c"
}
static void jfif_reader_class_init (JfifReaderClass * klass) {
#line 120 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
jfif_reader_parent_class = g_type_class_peek_parent (klass);
-#line 1408 "JfifSupport.c"
+#line 1413 "JfifSupport.c"
}
@@ -1435,14 +1440,14 @@ JfifWriter* jfif_writer_construct (GType object_type, const gchar* filepath) {
self = (JfifWriter*) photo_file_writer_construct (object_type, _tmp0_, PHOTO_FILE_FORMAT_JFIF);
#line 127 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return self;
-#line 1439 "JfifSupport.c"
+#line 1444 "JfifSupport.c"
}
JfifWriter* jfif_writer_new (const gchar* filepath) {
#line 127 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return jfif_writer_construct (TYPE_JFIF_WRITER, filepath);
-#line 1446 "JfifSupport.c"
+#line 1451 "JfifSupport.c"
}
@@ -1483,7 +1488,7 @@ static void jfif_writer_real_write (PhotoFileWriter* base, GdkPixbuf* pixbuf, Jp
g_propagate_error (error, _inner_error_);
#line 132 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return;
-#line 1487 "JfifSupport.c"
+#line 1492 "JfifSupport.c"
}
}
@@ -1493,7 +1498,7 @@ static void jfif_writer_class_init (JfifWriterClass * klass) {
jfif_writer_parent_class = g_type_class_peek_parent (klass);
#line 126 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
((PhotoFileWriterClass *) klass)->write = jfif_writer_real_write;
-#line 1497 "JfifSupport.c"
+#line 1502 "JfifSupport.c"
}
@@ -1524,14 +1529,14 @@ JfifMetadataWriter* jfif_metadata_writer_construct (GType object_type, const gch
self = (JfifMetadataWriter*) photo_file_metadata_writer_construct (object_type, _tmp0_, PHOTO_FILE_FORMAT_JFIF);
#line 137 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return self;
-#line 1528 "JfifSupport.c"
+#line 1533 "JfifSupport.c"
}
JfifMetadataWriter* jfif_metadata_writer_new (const gchar* filepath) {
#line 137 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return jfif_metadata_writer_construct (TYPE_JFIF_METADATA_WRITER, filepath);
-#line 1535 "JfifSupport.c"
+#line 1540 "JfifSupport.c"
}
@@ -1561,7 +1566,7 @@ static void jfif_metadata_writer_real_write_metadata (PhotoFileMetadataWriter* b
g_propagate_error (error, _inner_error_);
#line 142 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return;
-#line 1565 "JfifSupport.c"
+#line 1570 "JfifSupport.c"
}
}
@@ -1571,7 +1576,7 @@ static void jfif_metadata_writer_class_init (JfifMetadataWriterClass * klass) {
jfif_metadata_writer_parent_class = g_type_class_peek_parent (klass);
#line 136 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
((PhotoFileMetadataWriterClass *) klass)->write_metadata = jfif_metadata_writer_real_write_metadata;
-#line 1575 "JfifSupport.c"
+#line 1580 "JfifSupport.c"
}
@@ -1597,7 +1602,7 @@ guint8 jpeg_marker_get_byte (JpegMarker self) {
result = (guint8) self;
#line 160 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1601 "JfifSupport.c"
+#line 1606 "JfifSupport.c"
}
@@ -1619,7 +1624,7 @@ gint jpeg_quality_get_pct (JpegQuality self) {
result = (gint) self;
#line 171 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1623 "JfifSupport.c"
+#line 1628 "JfifSupport.c"
}
@@ -1632,7 +1637,7 @@ gchar* jpeg_quality_get_pct_text (JpegQuality self) {
result = _tmp0_;
#line 175 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1636 "JfifSupport.c"
+#line 1641 "JfifSupport.c"
}
@@ -1659,13 +1664,13 @@ JpegQuality* jpeg_quality_get_all (int* result_length1) {
if (result_length1) {
#line 179 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
*result_length1 = _tmp1__length1;
-#line 1663 "JfifSupport.c"
+#line 1668 "JfifSupport.c"
}
#line 179 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
result = _tmp1_;
#line 179 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1669 "JfifSupport.c"
+#line 1674 "JfifSupport.c"
}
@@ -1675,7 +1680,7 @@ gchar* jpeg_quality_to_string (JpegQuality self) {
switch (self) {
#line 183 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
case JPEG_QUALITY_LOW:
-#line 1679 "JfifSupport.c"
+#line 1684 "JfifSupport.c"
{
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
@@ -1687,11 +1692,11 @@ gchar* jpeg_quality_to_string (JpegQuality self) {
result = _tmp1_;
#line 185 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1691 "JfifSupport.c"
+#line 1696 "JfifSupport.c"
}
#line 183 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
case JPEG_QUALITY_MEDIUM:
-#line 1695 "JfifSupport.c"
+#line 1700 "JfifSupport.c"
{
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
@@ -1703,11 +1708,11 @@ gchar* jpeg_quality_to_string (JpegQuality self) {
result = _tmp3_;
#line 188 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1707 "JfifSupport.c"
+#line 1712 "JfifSupport.c"
}
#line 183 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
case JPEG_QUALITY_HIGH:
-#line 1711 "JfifSupport.c"
+#line 1716 "JfifSupport.c"
{
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
@@ -1719,11 +1724,11 @@ gchar* jpeg_quality_to_string (JpegQuality self) {
result = _tmp5_;
#line 191 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1723 "JfifSupport.c"
+#line 1728 "JfifSupport.c"
}
#line 183 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
case JPEG_QUALITY_MAXIMUM:
-#line 1727 "JfifSupport.c"
+#line 1732 "JfifSupport.c"
{
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
@@ -1735,12 +1740,12 @@ gchar* jpeg_quality_to_string (JpegQuality self) {
result = _tmp7_;
#line 194 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1739 "JfifSupport.c"
+#line 1744 "JfifSupport.c"
}
default:
#line 183 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
break;
-#line 1744 "JfifSupport.c"
+#line 1749 "JfifSupport.c"
}
#line 197 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
g_warn_if_reached ();
@@ -1748,7 +1753,7 @@ gchar* jpeg_quality_to_string (JpegQuality self) {
result = NULL;
#line 199 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1752 "JfifSupport.c"
+#line 1757 "JfifSupport.c"
}
@@ -1791,7 +1796,7 @@ gboolean jpeg_is_jpeg (GFile* file, GError** error) {
g_propagate_error (error, _inner_error_);
#line 204 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return FALSE;
-#line 1795 "JfifSupport.c"
+#line 1800 "JfifSupport.c"
}
#line 207 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp2_ = fins;
@@ -1809,23 +1814,23 @@ gboolean jpeg_is_jpeg (GFile* file, GError** error) {
_g_object_unref0 (fins);
#line 207 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return FALSE;
-#line 1813 "JfifSupport.c"
+#line 1818 "JfifSupport.c"
}
#line 210 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp6_ = marker;
#line 210 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
if (_tmp6_ == JPEG_MARKER_SOI) {
-#line 1819 "JfifSupport.c"
+#line 1824 "JfifSupport.c"
gint _tmp7_ = 0;
#line 210 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp7_ = segment_length;
#line 210 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp5_ = _tmp7_ == 0;
-#line 1825 "JfifSupport.c"
+#line 1830 "JfifSupport.c"
} else {
#line 210 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp5_ = FALSE;
-#line 1829 "JfifSupport.c"
+#line 1834 "JfifSupport.c"
}
#line 210 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
result = _tmp5_;
@@ -1833,7 +1838,7 @@ gboolean jpeg_is_jpeg (GFile* file, GError** error) {
_g_object_unref0 (fins);
#line 210 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1837 "JfifSupport.c"
+#line 1842 "JfifSupport.c"
}
@@ -1886,7 +1891,7 @@ gint jpeg_read_marker (GFileInputStream* fins, JpegMarker* marker, GError** erro
_g_object_unref0 (dins);
#line 219 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return 0;
-#line 1890 "JfifSupport.c"
+#line 1895 "JfifSupport.c"
}
#line 219 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
if (_tmp3_ != JPEG_MARKER_PREFIX) {
@@ -1898,11 +1903,11 @@ gint jpeg_read_marker (GFileInputStream* fins, JpegMarker* marker, GError** erro
if (marker) {
#line 220 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
*marker = _vala_marker;
-#line 1902 "JfifSupport.c"
+#line 1907 "JfifSupport.c"
}
#line 220 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1906 "JfifSupport.c"
+#line 1911 "JfifSupport.c"
}
#line 222 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp7_ = dins;
@@ -1918,7 +1923,7 @@ gint jpeg_read_marker (GFileInputStream* fins, JpegMarker* marker, GError** erro
_g_object_unref0 (dins);
#line 222 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return 0;
-#line 1922 "JfifSupport.c"
+#line 1927 "JfifSupport.c"
}
#line 222 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_vala_marker = (JpegMarker) _tmp6_;
@@ -1928,14 +1933,14 @@ gint jpeg_read_marker (GFileInputStream* fins, JpegMarker* marker, GError** erro
if (_tmp10_ == JPEG_MARKER_SOI) {
#line 223 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp9_ = TRUE;
-#line 1932 "JfifSupport.c"
+#line 1937 "JfifSupport.c"
} else {
JpegMarker _tmp11_ = 0;
#line 223 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp11_ = _vala_marker;
#line 223 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp9_ = _tmp11_ == JPEG_MARKER_EOI;
-#line 1939 "JfifSupport.c"
+#line 1944 "JfifSupport.c"
}
#line 223 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
if (_tmp9_) {
@@ -1947,11 +1952,11 @@ gint jpeg_read_marker (GFileInputStream* fins, JpegMarker* marker, GError** erro
if (marker) {
#line 225 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
*marker = _vala_marker;
-#line 1951 "JfifSupport.c"
+#line 1956 "JfifSupport.c"
}
#line 225 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 1955 "JfifSupport.c"
+#line 1960 "JfifSupport.c"
}
#line 228 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp12_ = dins;
@@ -1967,13 +1972,13 @@ gint jpeg_read_marker (GFileInputStream* fins, JpegMarker* marker, GError** erro
_g_object_unref0 (dins);
#line 228 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return 0;
-#line 1971 "JfifSupport.c"
+#line 1976 "JfifSupport.c"
}
#line 229 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp14_ = length;
#line 229 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
if (((gint) _tmp14_) < 2) {
-#line 1977 "JfifSupport.c"
+#line 1982 "JfifSupport.c"
guint16 _tmp15_ = 0U;
GFileInputStream* _tmp16_ = NULL;
gint64 _tmp17_ = 0LL;
@@ -1993,11 +1998,11 @@ gint jpeg_read_marker (GFileInputStream* fins, JpegMarker* marker, GError** erro
if (marker) {
#line 232 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
*marker = _vala_marker;
-#line 1997 "JfifSupport.c"
+#line 2002 "JfifSupport.c"
}
#line 232 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 2001 "JfifSupport.c"
+#line 2006 "JfifSupport.c"
}
#line 236 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp18_ = length;
@@ -2009,11 +2014,11 @@ gint jpeg_read_marker (GFileInputStream* fins, JpegMarker* marker, GError** erro
if (marker) {
#line 236 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
*marker = _vala_marker;
-#line 2013 "JfifSupport.c"
+#line 2018 "JfifSupport.c"
}
#line 236 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
return result;
-#line 2017 "JfifSupport.c"
+#line 2022 "JfifSupport.c"
}
diff --git a/src/photos/JfifSupport.vala b/src/photos/JfifSupport.vala
index 3de123e..2861353 100644
--- a/src/photos/JfifSupport.vala
+++ b/src/photos/JfifSupport.vala
@@ -51,7 +51,7 @@ public class JfifFileFormatDriver : PhotoFileFormatDriver {
public class JfifFileFormatProperties : PhotoFileFormatProperties {
private static string[] KNOWN_EXTENSIONS = {
- "jpg", "jpeg", "jpe"
+ "jpg", "jpeg", "jpe", "thm"
};
private static string[] KNOWN_MIME_TYPES = {
diff --git a/src/sidebar/Tree.c b/src/sidebar/Tree.c
index 23f6505..d784043 100644
--- a/src/sidebar/Tree.c
+++ b/src/sidebar/Tree.c
@@ -6356,12 +6356,15 @@ static gboolean sidebar_tree_rename_in_place (SidebarTree* self) {
#line 6357 "Tree.c"
GtkTreePath* _tmp5_ = NULL;
GtkTreeViewColumn* _tmp6_ = NULL;
+ GtkCellRendererText* _tmp7_ = NULL;
#line 1012 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp5_ = cursor_path;
#line 1012 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = cursor_column;
#line 1012 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
- gtk_tree_view_set_cursor (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp5_, _tmp6_, TRUE);
+ _tmp7_ = self->priv->text_renderer;
+#line 1012 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
+ gtk_tree_view_set_cursor_on_cell (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp5_, _tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
#line 1014 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = TRUE;
#line 1014 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
@@ -6370,7 +6373,7 @@ static gboolean sidebar_tree_rename_in_place (SidebarTree* self) {
_gtk_tree_path_free0 (cursor_path);
#line 1014 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6374 "Tree.c"
+#line 6377 "Tree.c"
}
#line 1017 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
result = FALSE;
@@ -6380,7 +6383,7 @@ static gboolean sidebar_tree_rename_in_place (SidebarTree* self) {
_gtk_tree_path_free0 (cursor_path);
#line 1017 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6384 "Tree.c"
+#line 6387 "Tree.c"
}
@@ -6413,7 +6416,7 @@ gboolean sidebar_tree_scroll_to_entry (SidebarTree* self, SidebarEntry* entry) {
_g_object_unref0 (wrapper);
#line 1023 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6417 "Tree.c"
+#line 6420 "Tree.c"
}
#line 1025 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = wrapper;
@@ -6431,7 +6434,7 @@ gboolean sidebar_tree_scroll_to_entry (SidebarTree* self, SidebarEntry* entry) {
_g_object_unref0 (wrapper);
#line 1027 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 6435 "Tree.c"
+#line 6438 "Tree.c"
}
@@ -6454,7 +6457,7 @@ static void sidebar_tree_real_drag_data_get (GtkWidget* base, GdkDragContext* co
_tmp0_ = self->priv->internal_drag_source_entry;
#line 1034 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp0_ != NULL) {
-#line 6458 "Tree.c"
+#line 6461 "Tree.c"
SidebarSelectableEntry* selectable = NULL;
SidebarEntry* _tmp1_ = NULL;
SidebarSelectableEntry* _tmp2_ = NULL;
@@ -6469,7 +6472,7 @@ static void sidebar_tree_real_drag_data_get (GtkWidget* base, GdkDragContext* co
_tmp3_ = selectable;
#line 1037 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp3_ == NULL) {
-#line 6473 "Tree.c"
+#line 6476 "Tree.c"
SidebarEntry* _tmp4_ = NULL;
SidebarInternalDragSourceEntry* _tmp5_ = NULL;
#line 1038 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
@@ -6480,17 +6483,17 @@ static void sidebar_tree_real_drag_data_get (GtkWidget* base, GdkDragContext* co
_g_object_unref0 (drag_source);
#line 1038 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
drag_source = _tmp5_;
-#line 6484 "Tree.c"
+#line 6487 "Tree.c"
}
#line 1034 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (selectable);
-#line 6488 "Tree.c"
+#line 6491 "Tree.c"
}
#line 1042 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp6_ = drag_source;
#line 1042 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp6_ == NULL) {
-#line 6494 "Tree.c"
+#line 6497 "Tree.c"
GtkTreePath* selected_path = NULL;
GtkTreePath* _tmp7_ = NULL;
GtkTreePath* _tmp8_ = NULL;
@@ -6516,7 +6519,7 @@ static void sidebar_tree_real_drag_data_get (GtkWidget* base, GdkDragContext* co
_g_object_unref0 (drag_source);
#line 1045 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6520 "Tree.c"
+#line 6523 "Tree.c"
}
#line 1047 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = selected_path;
@@ -6536,7 +6539,7 @@ static void sidebar_tree_real_drag_data_get (GtkWidget* base, GdkDragContext* co
_g_object_unref0 (drag_source);
#line 1049 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6540 "Tree.c"
+#line 6543 "Tree.c"
}
#line 1051 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp12_ = wrapper;
@@ -6560,13 +6563,13 @@ static void sidebar_tree_real_drag_data_get (GtkWidget* base, GdkDragContext* co
_g_object_unref0 (drag_source);
#line 1053 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6564 "Tree.c"
+#line 6567 "Tree.c"
}
#line 1042 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
#line 1042 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (selected_path);
-#line 6570 "Tree.c"
+#line 6573 "Tree.c"
}
#line 1056 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp16_ = drag_source;
@@ -6576,7 +6579,7 @@ static void sidebar_tree_real_drag_data_get (GtkWidget* base, GdkDragContext* co
sidebar_internal_drag_source_entry_prepare_selection_data (_tmp16_, _tmp17_);
#line 1030 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (drag_source);
-#line 6580 "Tree.c"
+#line 6583 "Tree.c"
}
@@ -6629,7 +6632,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
pos = _tmp3_;
#line 1064 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (!_tmp4_) {
-#line 6633 "Tree.c"
+#line 6636 "Tree.c"
GdkDragContext* _tmp5_ = NULL;
GtkWidget* _tmp6_ = NULL;
#line 1066 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
@@ -6638,7 +6641,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp6_ = gtk_drag_get_source_widget (_tmp5_);
#line 1066 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp6_ == NULL) {
-#line 6642 "Tree.c"
+#line 6645 "Tree.c"
SidebarTreeExternalDropHandler _tmp7_ = NULL;
void* _tmp7__target = NULL;
GdkDragContext* _tmp8_ = NULL;
@@ -6659,7 +6662,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp11_ = time;
#line 1067 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ (_tmp8_, NULL, _tmp9_, _tmp10_, _tmp11_, _tmp7__target);
-#line 6663 "Tree.c"
+#line 6666 "Tree.c"
} else {
GdkDragContext* _tmp12_ = NULL;
guint _tmp13_ = 0U;
@@ -6669,13 +6672,13 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp13_ = time;
#line 1069 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
gtk_drag_finish (_tmp12_, FALSE, FALSE, (guint32) _tmp13_);
-#line 6673 "Tree.c"
+#line 6676 "Tree.c"
}
#line 1071 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
#line 1071 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6679 "Tree.c"
+#line 6682 "Tree.c"
}
#line 1075 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp14_ = path;
@@ -6689,7 +6692,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp17_ = gtk_drag_get_source_widget (_tmp16_);
#line 1078 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp17_ == NULL) {
-#line 6693 "Tree.c"
+#line 6696 "Tree.c"
SidebarEntry* _tmp18_ = NULL;
SidebarTreeEntryWrapper* _tmp19_ = NULL;
SidebarTreeExternalDropHandler _tmp22_ = NULL;
@@ -6702,7 +6705,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp19_ = wrapper;
#line 1079 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp19_ != NULL) {
-#line 6706 "Tree.c"
+#line 6709 "Tree.c"
SidebarTreeEntryWrapper* _tmp20_ = NULL;
SidebarEntry* _tmp21_ = NULL;
#line 1079 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
@@ -6711,11 +6714,11 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp21_ = _tmp20_->entry;
#line 1079 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp18_ = _tmp21_;
-#line 6715 "Tree.c"
+#line 6718 "Tree.c"
} else {
#line 1079 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp18_ = NULL;
-#line 6719 "Tree.c"
+#line 6722 "Tree.c"
}
#line 1079 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp22_ = self->priv->drop_handler;
@@ -6737,13 +6740,13 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_gtk_tree_path_free0 (path);
#line 1082 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6741 "Tree.c"
+#line 6744 "Tree.c"
}
#line 1086 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp27_ = wrapper;
#line 1086 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp27_ == NULL) {
-#line 6747 "Tree.c"
+#line 6750 "Tree.c"
GdkDragContext* _tmp28_ = NULL;
guint _tmp29_ = 0U;
#line 1087 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
@@ -6758,7 +6761,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_gtk_tree_path_free0 (path);
#line 1089 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6762 "Tree.c"
+#line 6765 "Tree.c"
}
#line 1092 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp30_ = wrapper;
@@ -6772,7 +6775,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp33_ = targetable;
#line 1093 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp33_ == NULL) {
-#line 6776 "Tree.c"
+#line 6779 "Tree.c"
GdkDragContext* _tmp34_ = NULL;
guint _tmp35_ = 0U;
#line 1094 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
@@ -6789,7 +6792,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_gtk_tree_path_free0 (path);
#line 1096 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 6793 "Tree.c"
+#line 6796 "Tree.c"
}
#line 1099 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
success = FALSE;
@@ -6807,7 +6810,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_g_free0 (_tmp39_);
#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp40_) {
-#line 6811 "Tree.c"
+#line 6814 "Tree.c"
SidebarInternalDropTargetEntry* _tmp41_ = NULL;
GtkSelectionData* _tmp42_ = NULL;
gboolean _tmp43_ = FALSE;
@@ -6819,7 +6822,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp43_ = sidebar_internal_drop_target_entry_internal_drop_received_arbitrary (_tmp41_, _tmp42_);
#line 1102 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
success = _tmp43_;
-#line 6823 "Tree.c"
+#line 6826 "Tree.c"
} else {
GeeList* media = NULL;
GtkSelectionData* _tmp44_ = NULL;
@@ -6845,7 +6848,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp50_ = media;
#line 1106 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp50_ != NULL) {
-#line 6849 "Tree.c"
+#line 6852 "Tree.c"
GeeList* _tmp51_ = NULL;
gint _tmp52_ = 0;
gint _tmp53_ = 0;
@@ -6857,15 +6860,15 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp53_ = _tmp52_;
#line 1106 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp49_ = _tmp53_ > 0;
-#line 6861 "Tree.c"
+#line 6864 "Tree.c"
} else {
#line 1106 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp49_ = FALSE;
-#line 6865 "Tree.c"
+#line 6868 "Tree.c"
}
#line 1106 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp49_) {
-#line 6869 "Tree.c"
+#line 6872 "Tree.c"
SidebarInternalDropTargetEntry* _tmp54_ = NULL;
GeeList* _tmp55_ = NULL;
gboolean _tmp56_ = FALSE;
@@ -6877,11 +6880,11 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_tmp56_ = sidebar_internal_drop_target_entry_internal_drop_received (_tmp54_, _tmp55_);
#line 1107 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
success = _tmp56_;
-#line 6881 "Tree.c"
+#line 6884 "Tree.c"
}
#line 1101 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (media);
-#line 6885 "Tree.c"
+#line 6888 "Tree.c"
}
#line 1110 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp57_ = context;
@@ -6897,7 +6900,7 @@ static void sidebar_tree_real_drag_data_received (GtkWidget* base, GdkDragContex
_g_object_unref0 (wrapper);
#line 1059 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_gtk_tree_path_free0 (path);
-#line 6901 "Tree.c"
+#line 6904 "Tree.c"
}
@@ -6956,37 +6959,37 @@ static gboolean sidebar_tree_real_drag_motion (GtkWidget* base, GdkDragContext*
if (!_tmp10_) {
#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = TRUE;
-#line 6960 "Tree.c"
+#line 6963 "Tree.c"
} else {
GtkTreeViewDropPosition _tmp11_ = 0;
#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp11_ = pos;
#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp9_ = _tmp11_ == GTK_TREE_VIEW_DROP_BEFORE;
-#line 6967 "Tree.c"
+#line 6970 "Tree.c"
}
#line 1122 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp9_) {
-#line 6971 "Tree.c"
+#line 6974 "Tree.c"
GtkTreePath* _tmp12_ = NULL;
#line 1123 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp12_ = path;
#line 1123 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
gtk_tree_view_set_drag_dest_row (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp12_, GTK_TREE_VIEW_DROP_INTO_OR_BEFORE);
-#line 6977 "Tree.c"
+#line 6980 "Tree.c"
} else {
GtkTreeViewDropPosition _tmp13_ = 0;
#line 1124 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp13_ = pos;
#line 1124 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp13_ == GTK_TREE_VIEW_DROP_AFTER) {
-#line 6984 "Tree.c"
+#line 6987 "Tree.c"
GtkTreePath* _tmp14_ = NULL;
#line 1125 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp14_ = path;
#line 1125 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
gtk_tree_view_set_drag_dest_row (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), _tmp14_, GTK_TREE_VIEW_DROP_INTO_OR_AFTER);
-#line 6990 "Tree.c"
+#line 6993 "Tree.c"
}
}
#line 1127 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
@@ -7005,7 +7008,7 @@ static gboolean sidebar_tree_real_drag_motion (GtkWidget* base, GdkDragContext*
_gtk_tree_path_free0 (path);
#line 1129 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7009 "Tree.c"
+#line 7012 "Tree.c"
}
@@ -7037,7 +7040,7 @@ static gboolean sidebar_tree_can_rename_path (SidebarTree* self, GtkTreePath* pa
result = FALSE;
#line 1135 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7041 "Tree.c"
+#line 7044 "Tree.c"
}
#line 1137 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp1_ = path;
@@ -7055,7 +7058,7 @@ static gboolean sidebar_tree_can_rename_path (SidebarTree* self, GtkTreePath* pa
_g_object_unref0 (wrapper);
#line 1139 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7059 "Tree.c"
+#line 7062 "Tree.c"
}
#line 1141 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp4_ = wrapper;
@@ -7077,7 +7080,7 @@ static gboolean sidebar_tree_can_rename_path (SidebarTree* self, GtkTreePath* pa
_g_object_unref0 (wrapper);
#line 1143 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7081 "Tree.c"
+#line 7084 "Tree.c"
}
#line 1145 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp8_ = wrapper;
@@ -7093,7 +7096,7 @@ static gboolean sidebar_tree_can_rename_path (SidebarTree* self, GtkTreePath* pa
_g_object_unref0 (wrapper);
#line 1146 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7097 "Tree.c"
+#line 7100 "Tree.c"
}
#line 1148 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp10_ = gtk_tree_view_get_selection (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView));
@@ -7109,7 +7112,7 @@ static gboolean sidebar_tree_can_rename_path (SidebarTree* self, GtkTreePath* pa
_g_object_unref0 (wrapper);
#line 1150 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7113 "Tree.c"
+#line 7116 "Tree.c"
}
@@ -7145,7 +7148,7 @@ static gboolean sidebar_tree_destroy_path (SidebarTree* self, GtkTreePath* path)
_g_object_unref0 (wrapper);
#line 1156 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7149 "Tree.c"
+#line 7152 "Tree.c"
}
#line 1158 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp3_ = wrapper;
@@ -7167,7 +7170,7 @@ static gboolean sidebar_tree_destroy_path (SidebarTree* self, GtkTreePath* path)
_g_object_unref0 (wrapper);
#line 1160 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7171 "Tree.c"
+#line 7174 "Tree.c"
}
#line 1162 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp7_ = destroyable;
@@ -7181,14 +7184,14 @@ static gboolean sidebar_tree_destroy_path (SidebarTree* self, GtkTreePath* path)
_g_object_unref0 (wrapper);
#line 1164 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7185 "Tree.c"
+#line 7188 "Tree.c"
}
static void _sidebar_tree_on_editing_done_gtk_cell_editable_editing_done (GtkCellEditable* _sender, gpointer self) {
#line 1170 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
sidebar_tree_on_editing_done ((SidebarTree*) self);
-#line 7192 "Tree.c"
+#line 7195 "Tree.c"
}
@@ -7197,7 +7200,7 @@ static gboolean _sidebar_tree_on_editing_focus_out_gtk_widget_focus_out_event (G
result = sidebar_tree_on_editing_focus_out ((SidebarTree*) self, event);
#line 1171 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7201 "Tree.c"
+#line 7204 "Tree.c"
}
@@ -7213,7 +7216,7 @@ static void sidebar_tree_on_editing_started (SidebarTree* self, GtkCellEditable*
_tmp0_ = editable;
#line 1168 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, gtk_entry_get_type ())) {
-#line 7217 "Tree.c"
+#line 7220 "Tree.c"
GtkCellEditable* _tmp1_ = NULL;
GtkEntry* _tmp2_ = NULL;
GtkEntry* _tmp3_ = NULL;
@@ -7239,7 +7242,7 @@ static void sidebar_tree_on_editing_started (SidebarTree* self, GtkCellEditable*
_tmp5_ = self->priv->text_entry;
#line 1172 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_object_set (_tmp5_, "editable", TRUE, NULL);
-#line 7243 "Tree.c"
+#line 7246 "Tree.c"
}
}
@@ -7268,7 +7271,7 @@ static void sidebar_tree_on_editing_canceled (SidebarTree* self) {
g_signal_parse_name ("focus-out-event", gtk_widget_get_type (), &_tmp4_, NULL, FALSE);
#line 1180 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _sidebar_tree_on_editing_focus_out_gtk_widget_focus_out_event, self);
-#line 7272 "Tree.c"
+#line 7275 "Tree.c"
}
@@ -7306,7 +7309,7 @@ static void sidebar_tree_on_editing_done (SidebarTree* self) {
_tmp5_ = wrapper;
#line 1187 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp5_ != NULL) {
-#line 7310 "Tree.c"
+#line 7313 "Tree.c"
SidebarRenameableEntry* renameable = NULL;
SidebarTreeEntryWrapper* _tmp6_ = NULL;
SidebarEntry* _tmp7_ = NULL;
@@ -7324,7 +7327,7 @@ static void sidebar_tree_on_editing_done (SidebarTree* self) {
_tmp9_ = renameable;
#line 1189 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
if (_tmp9_ != NULL) {
-#line 7328 "Tree.c"
+#line 7331 "Tree.c"
SidebarRenameableEntry* _tmp10_ = NULL;
GtkEntry* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
@@ -7336,11 +7339,11 @@ static void sidebar_tree_on_editing_done (SidebarTree* self) {
_tmp12_ = gtk_entry_get_text (_tmp11_);
#line 1190 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
sidebar_renameable_entry_rename (_tmp10_, _tmp12_);
-#line 7340 "Tree.c"
+#line 7343 "Tree.c"
}
#line 1187 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (renameable);
-#line 7344 "Tree.c"
+#line 7347 "Tree.c"
}
#line 1193 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_tmp13_ = self->priv->text_entry;
@@ -7356,7 +7359,7 @@ static void sidebar_tree_on_editing_done (SidebarTree* self) {
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp16_, 0, NULL, (GCallback) _sidebar_tree_on_editing_focus_out_gtk_widget_focus_out_event, self);
#line 1183 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (wrapper);
-#line 7360 "Tree.c"
+#line 7363 "Tree.c"
}
@@ -7370,7 +7373,7 @@ static gboolean sidebar_tree_on_editing_focus_out (SidebarTree* self, GdkEventFo
result = FALSE;
#line 1201 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7374 "Tree.c"
+#line 7377 "Tree.c"
}
@@ -7387,7 +7390,7 @@ static void sidebar_tree_on_new_search (SidebarTree* self) {
saved_search_dialog_show (_tmp1_);
#line 1205 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_saved_search_dialog_unref0 (_tmp1_);
-#line 7391 "Tree.c"
+#line 7394 "Tree.c"
}
@@ -7430,7 +7433,7 @@ static void sidebar_tree_on_new_tag (SidebarTree* self) {
_g_object_unref0 (_tmp4_);
#line 1208 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
_g_object_unref0 (creation_command);
-#line 7434 "Tree.c"
+#line 7437 "Tree.c"
}
@@ -7449,19 +7452,19 @@ static void g_cclosure_user_marshal_VOID__OBJECT_BOOLEAN (GClosure * closure, GV
data1 = closure->data;
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data2 = param_values->data[0].v_pointer;
-#line 7453 "Tree.c"
+#line 7456 "Tree.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data1 = param_values->data[0].v_pointer;
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data2 = closure->data;
-#line 7459 "Tree.c"
+#line 7462 "Tree.c"
}
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
callback = (GMarshalFunc_VOID__OBJECT_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
callback (data1, g_value_get_object (param_values + 1), g_value_get_boolean (param_values + 2), data2);
-#line 7465 "Tree.c"
+#line 7468 "Tree.c"
}
@@ -7480,19 +7483,19 @@ static void g_cclosure_user_marshal_VOID__OBJECT_OBJECT (GClosure * closure, GVa
data1 = closure->data;
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data2 = param_values->data[0].v_pointer;
-#line 7484 "Tree.c"
+#line 7487 "Tree.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data1 = param_values->data[0].v_pointer;
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
data2 = closure->data;
-#line 7490 "Tree.c"
+#line 7493 "Tree.c"
}
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
callback = (GMarshalFunc_VOID__OBJECT_OBJECT) (marshal_data ? marshal_data : cc->callback);
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
callback (data1, g_value_get_object (param_values + 1), g_value_get_object (param_values + 2), data2);
-#line 7496 "Tree.c"
+#line 7499 "Tree.c"
}
@@ -7531,14 +7534,14 @@ static SidebarTreeEntryWrapper* sidebar_tree_entry_wrapper_construct (GType obje
self->row = _tmp4_;
#line 19 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return self;
-#line 7535 "Tree.c"
+#line 7538 "Tree.c"
}
static SidebarTreeEntryWrapper* sidebar_tree_entry_wrapper_new (GtkTreeModel* model, SidebarEntry* entry, GtkTreePath* path) {
#line 19 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return sidebar_tree_entry_wrapper_construct (SIDEBAR_TREE_TYPE_ENTRY_WRAPPER, model, entry, path);
-#line 7542 "Tree.c"
+#line 7545 "Tree.c"
}
@@ -7556,7 +7559,7 @@ static GtkTreePath* sidebar_tree_entry_wrapper_get_path (SidebarTreeEntryWrapper
result = _tmp1_;
#line 25 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return result;
-#line 7560 "Tree.c"
+#line 7563 "Tree.c"
}
@@ -7596,7 +7599,7 @@ static void sidebar_tree_entry_wrapper_get_iter (SidebarTreeEntryWrapper* self,
*result = iter;
#line 33 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return;
-#line 7600 "Tree.c"
+#line 7603 "Tree.c"
}
@@ -7605,7 +7608,7 @@ static void sidebar_tree_entry_wrapper_class_init (SidebarTreeEntryWrapperClass
sidebar_tree_entry_wrapper_parent_class = g_type_class_peek_parent (klass);
#line 15 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
G_OBJECT_CLASS (klass)->finalize = sidebar_tree_entry_wrapper_finalize;
-#line 7609 "Tree.c"
+#line 7612 "Tree.c"
}
@@ -7623,7 +7626,7 @@ static void sidebar_tree_entry_wrapper_finalize (GObject* obj) {
_gtk_tree_row_reference_free0 (self->row);
#line 15 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
G_OBJECT_CLASS (sidebar_tree_entry_wrapper_parent_class)->finalize (obj);
-#line 7627 "Tree.c"
+#line 7630 "Tree.c"
}
@@ -7665,14 +7668,14 @@ static SidebarTreeRootWrapper* sidebar_tree_root_wrapper_construct (GType object
self->root_position = _tmp3_;
#line 40 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return self;
-#line 7669 "Tree.c"
+#line 7672 "Tree.c"
}
static SidebarTreeRootWrapper* sidebar_tree_root_wrapper_new (GtkTreeModel* model, SidebarEntry* entry, GtkTreePath* path, gint root_position) {
#line 40 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
return sidebar_tree_root_wrapper_construct (SIDEBAR_TREE_TYPE_ROOT_WRAPPER, model, entry, path, root_position);
-#line 7676 "Tree.c"
+#line 7679 "Tree.c"
}
@@ -7681,7 +7684,7 @@ static void sidebar_tree_root_wrapper_class_init (SidebarTreeRootWrapperClass *
sidebar_tree_root_wrapper_parent_class = g_type_class_peek_parent (klass);
#line 37 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
G_OBJECT_CLASS (klass)->finalize = sidebar_tree_root_wrapper_finalize;
-#line 7685 "Tree.c"
+#line 7688 "Tree.c"
}
@@ -7695,7 +7698,7 @@ static void sidebar_tree_root_wrapper_finalize (GObject* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SIDEBAR_TREE_TYPE_ROOT_WRAPPER, SidebarTreeRootWrapper);
#line 37 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
G_OBJECT_CLASS (sidebar_tree_root_wrapper_parent_class)->finalize (obj);
-#line 7699 "Tree.c"
+#line 7702 "Tree.c"
}
@@ -7746,7 +7749,7 @@ static void sidebar_tree_class_init (SidebarTreeClass * klass) {
g_signal_new ("page_created", SIDEBAR_TYPE_TREE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, TYPE_PAGE);
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
g_signal_new ("destroying_page", SIDEBAR_TYPE_TREE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, TYPE_PAGE);
-#line 7750 "Tree.c"
+#line 7753 "Tree.c"
}
@@ -7793,7 +7796,7 @@ static void sidebar_tree_instance_init (SidebarTree * self) {
self->priv->internal_drag_source_entry = NULL;
#line 77 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
self->priv->old_path_ref = NULL;
-#line 7797 "Tree.c"
+#line 7800 "Tree.c"
}
@@ -7837,7 +7840,7 @@ static void sidebar_tree_finalize (GObject* obj) {
_gtk_tree_row_reference_free0 (self->priv->old_path_ref);
#line 7 "/home/jens/Source/shotwell/src/sidebar/Tree.vala"
G_OBJECT_CLASS (sidebar_tree_parent_class)->finalize (obj);
-#line 7841 "Tree.c"
+#line 7844 "Tree.c"
}
diff --git a/src/sidebar/Tree.vala b/src/sidebar/Tree.vala
index 765bc36..f32f87f 100644
--- a/src/sidebar/Tree.vala
+++ b/src/sidebar/Tree.vala
@@ -1009,7 +1009,7 @@ public class Sidebar.Tree : Gtk.TreeView {
get_cursor(out cursor_path, out cursor_column);
if (can_rename_path(cursor_path)) {
- set_cursor(cursor_path, cursor_column, true);
+ set_cursor_on_cell (cursor_path, cursor_column, text_renderer, true);
return true;
}