summaryrefslogtreecommitdiff
path: root/src/Resources.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-15 20:38:57 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-15 20:38:57 +0100
commitf1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (patch)
treea1f2ab30332a6383b0677bfcc2aec687b98851d6 /src/Resources.c
parentf8ca421bdacee8851965a4b802ada1d2366bdbc1 (diff)
parentede50c561ec9811704821a9ea0f04c3d6c20b5af (diff)
Merge branch 'release/0.26.4-1'0.26.4-1
Diffstat (limited to 'src/Resources.c')
-rw-r--r--src/Resources.c2198
1 files changed, 1054 insertions, 1144 deletions
diff --git a/src/Resources.c b/src/Resources.c
index b2e861e..0c894c6 100644
--- a/src/Resources.c
+++ b/src/Resources.c
@@ -1,4 +1,4 @@
-/* Resources.c generated by valac 0.34.7, the Vala compiler
+/* Resources.c generated by valac 0.36.6, the Vala compiler
* generated from Resources.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -374,7 +374,7 @@ GeeMap* resources_providers = NULL;
#define RESOURCES_DISPLAY_REJECTED_ONLY_LABEL _ ("Rejected Only")
#define RESOURCES_DISPLAY_REJECTED_ONLY_TOOLTIP _ ("Show only rejected photos")
#define RESOURCES_DISPLAY_REJECTED_OR_HIGHER_MENU _ ("All + _Rejected")
-#define RESOURCES_DISPLAY_REJECTED_OR_HIGHER_TOOLTIP "Show all photos, including rejected"
+#define RESOURCES_DISPLAY_REJECTED_OR_HIGHER_TOOLTIP NC_ ("Tooltip", "Show all photos, including rejected")
#define RESOURCES_DISPLAY_UNRATED_OR_HIGHER_MENU _ ("_All Photos")
#define RESOURCES_DISPLAY_UNRATED_OR_HIGHER_TOOLTIP _ ("Show all photos")
#define RESOURCES_VIEW_RATINGS_MENU _ ("_Ratings")
@@ -391,7 +391,7 @@ GeeMap* resources_providers = NULL;
#define RESOURCES_PUBLISH_LABEL _ ("Publish")
#define RESOURCES_PUBLISH_TOOLTIP _ ("Publish to various websites")
#define RESOURCES_EDIT_TITLE_MENU _ ("Edit _Title…")
-#define RESOURCES_EDIT_TITLE_LABEL "Edit Title"
+#define RESOURCES_EDIT_TITLE_LABEL NC_ ("Button Label", "Edit Title")
#define RESOURCES_EDIT_COMMENT_MENU _ ("Edit _Comment…")
#define RESOURCES_EDIT_COMMENT_LABEL _ ("Edit Comment")
#define RESOURCES_EDIT_EVENT_COMMENT_MENU _ ("Edit Event _Comment…")
@@ -400,7 +400,7 @@ GeeMap* resources_providers = NULL;
#define RESOURCES_ADJUST_DATE_TIME_LABEL _ ("Adjust Date and Time")
#define RESOURCES_ADD_TAGS_MENU _ ("Add _Tags…")
#define RESOURCES_ADD_TAGS_CONTEXT_MENU _ ("_Add Tags…")
-#define RESOURCES_ADD_TAGS_TITLE "Add Tags"
+#define RESOURCES_ADD_TAGS_TITLE NC_ ("Dialog Title", "Add Tags")
#define RESOURCES_PREFERENCES_MENU _ ("_Preferences")
#define RESOURCES_EXTERNAL_EDIT_MENU _ ("Open With E_xternal Editor")
#define RESOURCES_EXTERNAL_EDIT_RAW_MENU _ ("Open With RA_W Editor")
@@ -465,7 +465,7 @@ void resources_terminate (void);
void resources_fetch_lc_time_format (void);
GType resources_unit_system_get_type (void) G_GNUC_CONST;
ResourcesUnitSystem resources_get_default_measurement_unit (void);
-static gboolean _vala_string_array_contains (const gchar** stack, int stack_length, const gchar* needle);
+static gboolean _vala_string_array_contains (const gchar* * stack, int stack_length, const gchar* needle);
gchar* resources_get_hh_mm_format_string (void);
gchar* resources_get_hh_mm_ss_format_string (void);
gchar* resources_get_long_date_format_string (void);
@@ -505,138 +505,126 @@ const gchar* RESOURCES_IMPERIAL_COUNTRIES[4] = {"unm_US", "es_US", "en_US", "yi_
gchar* resources_launch_editor_failed (GError* err) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- GError* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ GError* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 336 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _ ("Unable to launch editor: %s");
+ _tmp0_ = err;
#line 336 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = err;
+ _tmp1_ = _tmp0_->message;
#line 336 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = _tmp1_->message;
+ _tmp2_ = g_strdup_printf (_ ("Unable to launch editor: %s"), _tmp1_);
#line 336 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
-#line 336 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp3_;
+ result = _tmp2_;
#line 336 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 497 "Resources.c"
+#line 494 "Resources.c"
}
gchar* resources_add_tags_label (gchar** names, int names_length1) {
gchar* result = NULL;
- gchar** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
+ gchar** _tmp0_;
+ gint _tmp0__length1;
#line 340 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = names;
#line 340 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0__length1 = names_length1;
#line 340 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0__length1 == 1) {
-#line 511 "Resources.c"
- const gchar* _tmp1_ = NULL;
- gchar** _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
- const gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
+#line 508 "Resources.c"
+ gchar** _tmp1_;
+ gint _tmp1__length1;
+ const gchar* _tmp2_;
+ gchar* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = _ ("Add Tag “%s”");
+ _tmp1_ = names;
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = names;
+ _tmp1__length1 = names_length1;
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2__length1 = names_length1;
+ _tmp2_ = _tmp1_[0];
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = _tmp2_[0];
+ _tmp3_ = hierarchical_tag_utilities_get_basename (_tmp2_);
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp4_ = hierarchical_tag_utilities_get_basename (_tmp3_);
+ _tmp4_ = _tmp3_;
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp5_ = _tmp4_;
+ _tmp5_ = g_strdup_printf (_ ("Add Tag “%s”"), _tmp4_);
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp6_ = g_strdup_printf (_tmp1_, _tmp5_);
+ _tmp6_ = _tmp5_;
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp7_ = _tmp6_;
+ _g_free0 (_tmp4_);
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp5_);
-#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp7_;
+ result = _tmp6_;
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 542 "Resources.c"
+#line 536 "Resources.c"
} else {
- gchar** _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
+ gchar** _tmp7_;
+ gint _tmp7__length1;
#line 342 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp8_ = names;
+ _tmp7_ = names;
#line 342 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp8__length1 = names_length1;
+ _tmp7__length1 = names_length1;
#line 342 "/home/jens/Source/shotwell/src/Resources.vala"
- if (_tmp8__length1 == 2) {
-#line 552 "Resources.c"
- const gchar* _tmp9_ = NULL;
- gchar** _tmp10_ = NULL;
- gint _tmp10__length1 = 0;
- const gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- gchar** _tmp14_ = NULL;
- gint _tmp14__length1 = 0;
- const gchar* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
- gchar* _tmp18_ = NULL;
- gchar* _tmp19_ = NULL;
-#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp9_ = _ ("Add Tags “%s” and “%s”");
+ if (_tmp7__length1 == 2) {
+#line 546 "Resources.c"
+ gchar** _tmp8_;
+ gint _tmp8__length1;
+ const gchar* _tmp9_;
+ gchar* _tmp10_;
+ gchar* _tmp11_;
+ gchar** _tmp12_;
+ gint _tmp12__length1;
+ const gchar* _tmp13_;
+ gchar* _tmp14_;
+ gchar* _tmp15_;
+ gchar* _tmp16_;
+ gchar* _tmp17_;
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp10_ = names;
+ _tmp8_ = names;
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp10__length1 = names_length1;
+ _tmp8__length1 = names_length1;
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp11_ = _tmp10_[0];
+ _tmp9_ = _tmp8_[0];
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp12_ = hierarchical_tag_utilities_get_basename (_tmp11_);
+ _tmp10_ = hierarchical_tag_utilities_get_basename (_tmp9_);
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp13_ = _tmp12_;
+ _tmp11_ = _tmp10_;
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp14_ = names;
+ _tmp12_ = names;
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp14__length1 = names_length1;
+ _tmp12__length1 = names_length1;
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp15_ = _tmp14_[1];
+ _tmp13_ = _tmp12_[1];
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp16_ = hierarchical_tag_utilities_get_basename (_tmp15_);
+ _tmp14_ = hierarchical_tag_utilities_get_basename (_tmp13_);
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp17_ = _tmp16_;
+ _tmp15_ = _tmp14_;
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp18_ = g_strdup_printf (_tmp9_, _tmp13_, _tmp17_);
+ _tmp16_ = g_strdup_printf (_ ("Add Tags “%s” and “%s”"), _tmp11_, _tmp15_);
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp19_ = _tmp18_;
+ _tmp17_ = _tmp16_;
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp17_);
+ _g_free0 (_tmp15_);
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp13_);
+ _g_free0 (_tmp11_);
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp19_;
+ result = _tmp17_;
#line 344 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 600 "Resources.c"
+#line 591 "Resources.c"
} else {
- const gchar* _tmp20_ = NULL;
- gchar* _tmp21_ = NULL;
+ gchar* _tmp18_;
#line 349 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp20_ = C_ ("UndoRedo menu entry", "Add Tags");
+ _tmp18_ = g_strdup (C_ ("UndoRedo menu entry", "Add Tags"));
#line 349 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp21_ = g_strdup (_tmp20_);
-#line 349 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp21_;
+ result = _tmp18_;
#line 349 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 612 "Resources.c"
+#line 600 "Resources.c"
}
}
}
@@ -644,369 +632,333 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
gchar* resources_delete_tag_menu (const gchar* name) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 353 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 354 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _ ("_Delete Tag “%s”");
+ _tmp0_ = name;
#line 354 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = name;
-#line 354 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = g_strdup_printf (_tmp0_, _tmp1_);
+ _tmp1_ = g_strdup_printf (_ ("_Delete Tag “%s”"), _tmp0_);
#line 354 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp2_;
+ result = _tmp1_;
#line 354 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 635 "Resources.c"
+#line 620 "Resources.c"
}
gchar* resources_delete_tag_label (const gchar* name) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 357 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 358 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _ ("Delete Tag “%s”");
-#line 358 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = name;
+ _tmp0_ = name;
#line 358 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = g_strdup_printf (_tmp0_, _tmp1_);
+ _tmp1_ = g_strdup_printf (_ ("Delete Tag “%s”"), _tmp0_);
#line 358 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp2_;
+ result = _tmp1_;
#line 358 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 656 "Resources.c"
+#line 638 "Resources.c"
}
gchar* resources_rename_tag_menu (const gchar* name) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 366 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 367 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _ ("Re_name Tag “%s”…");
+ _tmp0_ = name;
#line 367 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = name;
+ _tmp1_ = g_strdup_printf (_ ("Re_name Tag “%s”…"), _tmp0_);
#line 367 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = g_strdup_printf (_tmp0_, _tmp1_);
-#line 367 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp2_;
+ result = _tmp1_;
#line 367 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 677 "Resources.c"
+#line 656 "Resources.c"
}
gchar* resources_rename_tag_label (const gchar* old_name, const gchar* new_name) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 370 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (old_name != NULL, NULL);
#line 370 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (new_name != NULL, NULL);
#line 371 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _ ("Rename Tag “%s” to “%s”");
-#line 371 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = old_name;
+ _tmp0_ = old_name;
#line 371 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = new_name;
+ _tmp1_ = new_name;
#line 371 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = g_strdup_printf (_tmp0_, _tmp1_, _tmp2_);
+ _tmp2_ = g_strdup_printf (_ ("Rename Tag “%s” to “%s”"), _tmp0_, _tmp1_);
#line 371 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp3_;
+ result = _tmp2_;
#line 371 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 703 "Resources.c"
+#line 679 "Resources.c"
}
gchar* resources_tag_photos_label (const gchar* name, gint count) {
gchar* result = NULL;
- gint _tmp0_ = 0;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ gint _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 379 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 380 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = count;
#line 380 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = ngettext ("Tag Photo as “%s”", "Tag Photos as “%s”", (gulong) _tmp0_);
-#line 380 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = name;
+ _tmp1_ = name;
#line 380 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = g_strdup_printf (_tmp1_, _tmp2_);
+ _tmp2_ = g_strdup_printf (ngettext ("Tag Photo as “%s”", "Tag Photos as “%s”", (gulong) _tmp0_), _tmp1_);
#line 380 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp3_;
+ result = _tmp2_;
#line 380 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 727 "Resources.c"
+#line 700 "Resources.c"
}
gchar* resources_tag_photos_tooltip (const gchar* name, gint count) {
gchar* result = NULL;
- gint _tmp0_ = 0;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ gint _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 385 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 386 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = count;
#line 386 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = ngettext ("Tag the selected photo as “%s”", "Tag the selected photos as “%s”", (gulong) _tmp0_);
-#line 386 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = name;
+ _tmp1_ = name;
#line 386 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = g_strdup_printf (_tmp1_, _tmp2_);
+ _tmp2_ = g_strdup_printf (ngettext ("Tag the selected photo as “%s”", "Tag the selected photos as “%s”", (gulong) _tmp0_), _tmp1_);
#line 386 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp3_;
+ result = _tmp2_;
#line 386 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 751 "Resources.c"
+#line 721 "Resources.c"
}
gchar* resources_untag_photos_menu (const gchar* name, gint count) {
gchar* result = NULL;
- gint _tmp0_ = 0;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ gint _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 391 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 392 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = count;
#line 392 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = ngettext ("Remove Tag “%s” From _Photo", "Remove Tag “%s” From _Photos", (gulong) _tmp0_);
-#line 392 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = name;
+ _tmp1_ = name;
#line 392 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = g_strdup_printf (_tmp1_, _tmp2_);
+ _tmp2_ = g_strdup_printf (ngettext ("Remove Tag “%s” From _Photo", "Remove Tag “%s” From _Photos", (gulong) _tmp0_), _tmp1_);
#line 392 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp3_;
+ result = _tmp2_;
#line 392 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 775 "Resources.c"
+#line 742 "Resources.c"
}
gchar* resources_untag_photos_label (const gchar* name, gint count) {
gchar* result = NULL;
- gint _tmp0_ = 0;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ gint _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 397 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 398 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = count;
#line 398 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = ngettext ("Remove Tag “%s” From Photo", "Remove Tag “%s” From Photos", (gulong) _tmp0_);
-#line 398 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = name;
+ _tmp1_ = name;
#line 398 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = g_strdup_printf (_tmp1_, _tmp2_);
+ _tmp2_ = g_strdup_printf (ngettext ("Remove Tag “%s” From Photo", "Remove Tag “%s” From Photos", (gulong) _tmp0_), _tmp1_);
#line 398 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp3_;
+ result = _tmp2_;
#line 398 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 799 "Resources.c"
+#line 763 "Resources.c"
}
gchar* resources_rename_tag_exists_message (const gchar* name) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 403 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 404 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _ ("Unable to rename tag to “%s” because the tag already exists.");
+ _tmp0_ = name;
#line 404 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = name;
-#line 404 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = g_strdup_printf (_tmp0_, _tmp1_);
+ _tmp1_ = g_strdup_printf (_ ("Unable to rename tag to “%s” because the tag already exists."), _tmp0_);
#line 404 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp2_;
+ result = _tmp1_;
#line 404 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 820 "Resources.c"
+#line 781 "Resources.c"
}
gchar* resources_rename_search_exists_message (const gchar* name) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 407 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 408 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _ ("Unable to rename search to “%s” because the search already exists.");
-#line 408 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = name;
+ _tmp0_ = name;
#line 408 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = g_strdup_printf (_tmp0_, _tmp1_);
+ _tmp1_ = g_strdup_printf (_ ("Unable to rename search to “%s” because the search already exists."), _tmp0_);
#line 408 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp2_;
+ result = _tmp1_;
#line 408 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 841 "Resources.c"
+#line 799 "Resources.c"
}
gchar* resources_rename_search_label (const gchar* old_name, const gchar* new_name) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 419 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (old_name != NULL, NULL);
#line 419 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (new_name != NULL, NULL);
#line 420 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _ ("Rename Search “%s” to “%s”");
-#line 420 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = old_name;
+ _tmp0_ = old_name;
#line 420 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = new_name;
+ _tmp1_ = new_name;
#line 420 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = g_strdup_printf (_tmp0_, _tmp1_, _tmp2_);
+ _tmp2_ = g_strdup_printf (_ ("Rename Search “%s” to “%s”"), _tmp0_, _tmp1_);
#line 420 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp3_;
+ result = _tmp2_;
#line 420 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 867 "Resources.c"
+#line 822 "Resources.c"
}
gchar* resources_delete_search_label (const gchar* name) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 423 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 424 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _ ("Delete Search “%s”");
-#line 424 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = name;
+ _tmp0_ = name;
#line 424 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = g_strdup_printf (_tmp0_, _tmp1_);
+ _tmp1_ = g_strdup_printf (_ ("Delete Search “%s”"), _tmp0_);
#line 424 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp2_;
+ result = _tmp1_;
#line 424 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 888 "Resources.c"
+#line 840 "Resources.c"
}
const gchar* resources_rating_label (Rating rating) {
const gchar* result = NULL;
- Rating _tmp0_ = 0;
+ Rating _tmp0_;
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = rating;
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
switch (_tmp0_) {
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 901 "Resources.c"
+#line 853 "Resources.c"
{
#line 430 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_REJECTED_LABEL;
#line 430 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 907 "Resources.c"
+#line 859 "Resources.c"
}
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_UNRATED:
-#line 911 "Resources.c"
+#line 863 "Resources.c"
{
#line 432 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_UNRATED_LABEL;
#line 432 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 917 "Resources.c"
+#line 869 "Resources.c"
}
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 921 "Resources.c"
+#line 873 "Resources.c"
{
- const gchar* _tmp1_ = NULL;
+ const gchar* _tmp1_;
#line 434 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_RATE_ONE_LABEL;
#line 434 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp1_;
#line 434 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 930 "Resources.c"
+#line 882 "Resources.c"
}
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 934 "Resources.c"
+#line 886 "Resources.c"
{
- const gchar* _tmp2_ = NULL;
+ const gchar* _tmp2_;
#line 436 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = resources_RATE_TWO_LABEL;
#line 436 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
#line 436 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 943 "Resources.c"
+#line 895 "Resources.c"
}
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 947 "Resources.c"
+#line 899 "Resources.c"
{
- const gchar* _tmp3_ = NULL;
+ const gchar* _tmp3_;
#line 438 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = resources_RATE_THREE_LABEL;
#line 438 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp3_;
#line 438 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 956 "Resources.c"
+#line 908 "Resources.c"
}
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 960 "Resources.c"
+#line 912 "Resources.c"
{
- const gchar* _tmp4_ = NULL;
+ const gchar* _tmp4_;
#line 440 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = resources_RATE_FOUR_LABEL;
#line 440 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp4_;
#line 440 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 969 "Resources.c"
+#line 921 "Resources.c"
}
#line 428 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 973 "Resources.c"
+#line 925 "Resources.c"
{
- const gchar* _tmp5_ = NULL;
+ const gchar* _tmp5_;
#line 442 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = resources_RATE_FIVE_LABEL;
#line 442 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp5_;
#line 442 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 982 "Resources.c"
+#line 934 "Resources.c"
}
default:
{
@@ -1014,7 +966,7 @@ const gchar* resources_rating_label (Rating rating) {
result = RESOURCES_RATE_UNRATED_LABEL;
#line 444 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 990 "Resources.c"
+#line 942 "Resources.c"
}
}
}
@@ -1022,95 +974,95 @@ const gchar* resources_rating_label (Rating rating) {
const gchar* resources_rating_combo_box (Rating rating) {
const gchar* result = NULL;
- Rating _tmp0_ = 0;
+ Rating _tmp0_;
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = rating;
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
switch (_tmp0_) {
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 1005 "Resources.c"
+#line 957 "Resources.c"
{
#line 451 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_REJECTED_COMBO_BOX;
#line 451 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1011 "Resources.c"
+#line 963 "Resources.c"
}
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_UNRATED:
-#line 1015 "Resources.c"
+#line 967 "Resources.c"
{
#line 453 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_UNRATED_COMBO_BOX;
#line 453 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1021 "Resources.c"
+#line 973 "Resources.c"
}
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1025 "Resources.c"
+#line 977 "Resources.c"
{
- const gchar* _tmp1_ = NULL;
+ const gchar* _tmp1_;
#line 455 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_RATE_ONE_MENU;
#line 455 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp1_;
#line 455 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1034 "Resources.c"
+#line 986 "Resources.c"
}
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1038 "Resources.c"
+#line 990 "Resources.c"
{
- const gchar* _tmp2_ = NULL;
+ const gchar* _tmp2_;
#line 457 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = resources_RATE_TWO_MENU;
#line 457 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
#line 457 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1047 "Resources.c"
+#line 999 "Resources.c"
}
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1051 "Resources.c"
+#line 1003 "Resources.c"
{
- const gchar* _tmp3_ = NULL;
+ const gchar* _tmp3_;
#line 459 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = resources_RATE_THREE_MENU;
#line 459 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp3_;
#line 459 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1060 "Resources.c"
+#line 1012 "Resources.c"
}
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1064 "Resources.c"
+#line 1016 "Resources.c"
{
- const gchar* _tmp4_ = NULL;
+ const gchar* _tmp4_;
#line 461 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = resources_RATE_FOUR_MENU;
#line 461 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp4_;
#line 461 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1073 "Resources.c"
+#line 1025 "Resources.c"
}
#line 449 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1077 "Resources.c"
+#line 1029 "Resources.c"
{
- const gchar* _tmp5_ = NULL;
+ const gchar* _tmp5_;
#line 463 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = resources_RATE_FIVE_MENU;
#line 463 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp5_;
#line 463 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1086 "Resources.c"
+#line 1038 "Resources.c"
}
default:
{
@@ -1118,7 +1070,7 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = RESOURCES_RATE_UNRATED_MENU;
#line 465 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1094 "Resources.c"
+#line 1046 "Resources.c"
}
}
}
@@ -1126,30 +1078,30 @@ const gchar* resources_rating_combo_box (Rating rating) {
gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
gchar* result = NULL;
- RatingFilter _tmp0_ = 0;
+ RatingFilter _tmp0_;
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = filter;
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
switch (_tmp0_) {
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 1109 "Resources.c"
+#line 1061 "Resources.c"
{
- gchar* _tmp1_ = NULL;
+ gchar* _tmp1_;
#line 472 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = g_strdup (RESOURCES_DISPLAY_REJECTED_OR_HIGHER_TOOLTIP);
#line 472 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp1_;
#line 472 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1118 "Resources.c"
+#line 1070 "Resources.c"
}
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 1122 "Resources.c"
+#line 1074 "Resources.c"
{
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ const gchar* _tmp2_;
+ gchar* _tmp3_;
#line 475 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = resources_DISPLAY_ONE_OR_HIGHER_TOOLTIP;
#line 475 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1158,14 +1110,14 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp3_;
#line 475 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1134 "Resources.c"
+#line 1086 "Resources.c"
}
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 1138 "Resources.c"
+#line 1090 "Resources.c"
{
- const gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
+ const gchar* _tmp4_;
+ gchar* _tmp5_;
#line 478 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = resources_DISPLAY_TWO_OR_HIGHER_TOOLTIP;
#line 478 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1174,14 +1126,14 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp5_;
#line 478 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1150 "Resources.c"
+#line 1102 "Resources.c"
}
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 1154 "Resources.c"
+#line 1106 "Resources.c"
{
- const gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
+ const gchar* _tmp6_;
+ gchar* _tmp7_;
#line 481 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = resources_DISPLAY_THREE_OR_HIGHER_TOOLTIP;
#line 481 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1190,14 +1142,14 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp7_;
#line 481 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1166 "Resources.c"
+#line 1118 "Resources.c"
}
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 1170 "Resources.c"
+#line 1122 "Resources.c"
{
- const gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
+ const gchar* _tmp8_;
+ gchar* _tmp9_;
#line 484 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp8_ = resources_DISPLAY_FOUR_OR_HIGHER_TOOLTIP;
#line 484 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1206,16 +1158,16 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp9_;
#line 484 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1182 "Resources.c"
+#line 1134 "Resources.c"
}
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_FIVE_ONLY:
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_FIVE_OR_HIGHER:
-#line 1188 "Resources.c"
+#line 1140 "Resources.c"
{
- const gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
+ const gchar* _tmp10_;
+ gchar* _tmp11_;
#line 488 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = resources_DISPLAY_FIVE_OR_HIGHER_TOOLTIP;
#line 488 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1224,34 +1176,34 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp11_;
#line 488 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1200 "Resources.c"
+#line 1152 "Resources.c"
}
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 1204 "Resources.c"
+#line 1156 "Resources.c"
{
- gchar* _tmp12_ = NULL;
+ gchar* _tmp12_;
#line 491 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = g_strdup (RESOURCES_DISPLAY_REJECTED_ONLY_TOOLTIP);
#line 491 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp12_;
#line 491 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1213 "Resources.c"
+#line 1165 "Resources.c"
}
default:
#line 470 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 1218 "Resources.c"
+#line 1170 "Resources.c"
{
- gchar* _tmp13_ = NULL;
+ gchar* _tmp13_;
#line 495 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp13_ = g_strdup (RESOURCES_DISPLAY_UNRATED_OR_HIGHER_TOOLTIP);
#line 495 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp13_;
#line 495 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1227 "Resources.c"
+#line 1179 "Resources.c"
}
}
}
@@ -1259,43 +1211,43 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
gchar* resources_rating_progress (Rating rating) {
gchar* result = NULL;
- Rating _tmp0_ = 0;
+ Rating _tmp0_;
#line 500 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = rating;
#line 500 "/home/jens/Source/shotwell/src/Resources.vala"
switch (_tmp0_) {
#line 500 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 1242 "Resources.c"
+#line 1194 "Resources.c"
{
- gchar* _tmp1_ = NULL;
+ gchar* _tmp1_;
#line 502 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = g_strdup (RESOURCES_RATE_REJECTED_PROGRESS);
#line 502 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp1_;
#line 502 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1251 "Resources.c"
+#line 1203 "Resources.c"
}
#line 500 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_UNRATED:
-#line 1255 "Resources.c"
+#line 1207 "Resources.c"
{
- gchar* _tmp2_ = NULL;
+ gchar* _tmp2_;
#line 504 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_strdup (RESOURCES_RATE_UNRATED_PROGRESS);
#line 504 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
#line 504 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1264 "Resources.c"
+#line 1216 "Resources.c"
}
#line 500 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1268 "Resources.c"
+#line 1220 "Resources.c"
{
- const gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
+ const gchar* _tmp3_;
+ gchar* _tmp4_;
#line 506 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = resources_RATE_ONE_PROGRESS;
#line 506 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1304,14 +1256,14 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp4_;
#line 506 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1280 "Resources.c"
+#line 1232 "Resources.c"
}
#line 500 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1284 "Resources.c"
+#line 1236 "Resources.c"
{
- const gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
+ const gchar* _tmp5_;
+ gchar* _tmp6_;
#line 508 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = resources_RATE_TWO_PROGRESS;
#line 508 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1320,14 +1272,14 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp6_;
#line 508 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1296 "Resources.c"
+#line 1248 "Resources.c"
}
#line 500 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1300 "Resources.c"
+#line 1252 "Resources.c"
{
- const gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
+ const gchar* _tmp7_;
+ gchar* _tmp8_;
#line 510 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = resources_RATE_THREE_PROGRESS;
#line 510 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1336,14 +1288,14 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp8_;
#line 510 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1312 "Resources.c"
+#line 1264 "Resources.c"
}
#line 500 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1316 "Resources.c"
+#line 1268 "Resources.c"
{
- const gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
+ const gchar* _tmp9_;
+ gchar* _tmp10_;
#line 512 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = resources_RATE_FOUR_PROGRESS;
#line 512 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1352,14 +1304,14 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp10_;
#line 512 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1328 "Resources.c"
+#line 1280 "Resources.c"
}
#line 500 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1332 "Resources.c"
+#line 1284 "Resources.c"
{
- const gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
+ const gchar* _tmp11_;
+ gchar* _tmp12_;
#line 514 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = resources_RATE_FIVE_PROGRESS;
#line 514 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1368,18 +1320,18 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp12_;
#line 514 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1344 "Resources.c"
+#line 1296 "Resources.c"
}
default:
{
- gchar* _tmp13_ = NULL;
+ gchar* _tmp13_;
#line 516 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp13_ = g_strdup (RESOURCES_RATE_UNRATED_PROGRESS);
#line 516 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp13_;
#line 516 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1355 "Resources.c"
+#line 1307 "Resources.c"
}
}
}
@@ -1387,86 +1339,86 @@ gchar* resources_rating_progress (Rating rating) {
gchar* resources_get_stars (Rating rating) {
gchar* result = NULL;
- Rating _tmp0_ = 0;
+ Rating _tmp0_;
#line 523 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = rating;
#line 523 "/home/jens/Source/shotwell/src/Resources.vala"
switch (_tmp0_) {
#line 523 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1370 "Resources.c"
+#line 1322 "Resources.c"
{
- gchar* _tmp1_ = NULL;
+ gchar* _tmp1_;
#line 525 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = g_strdup ("\xE2\x98\x85");
#line 525 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp1_;
#line 525 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1379 "Resources.c"
+#line 1331 "Resources.c"
}
#line 523 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1383 "Resources.c"
+#line 1335 "Resources.c"
{
- gchar* _tmp2_ = NULL;
+ gchar* _tmp2_;
#line 527 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_strdup ("\xE2\x98\x85\xE2\x98\x85");
#line 527 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
#line 527 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1392 "Resources.c"
+#line 1344 "Resources.c"
}
#line 523 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1396 "Resources.c"
+#line 1348 "Resources.c"
{
- gchar* _tmp3_ = NULL;
+ gchar* _tmp3_;
#line 529 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = g_strdup ("\xE2\x98\x85\xE2\x98\x85\xE2\x98\x85");
#line 529 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp3_;
#line 529 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1405 "Resources.c"
+#line 1357 "Resources.c"
}
#line 523 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1409 "Resources.c"
+#line 1361 "Resources.c"
{
- gchar* _tmp4_ = NULL;
+ gchar* _tmp4_;
#line 531 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = g_strdup ("\xE2\x98\x85\xE2\x98\x85\xE2\x98\x85\xE2\x98\x85");
#line 531 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp4_;
#line 531 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1418 "Resources.c"
+#line 1370 "Resources.c"
}
#line 523 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1422 "Resources.c"
+#line 1374 "Resources.c"
{
- gchar* _tmp5_ = NULL;
+ gchar* _tmp5_;
#line 533 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = g_strdup ("\xE2\x98\x85\xE2\x98\x85\xE2\x98\x85\xE2\x98\x85\xE2\x98\x85");
#line 533 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp5_;
#line 533 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1431 "Resources.c"
+#line 1383 "Resources.c"
}
default:
{
- gchar* _tmp6_ = NULL;
+ gchar* _tmp6_;
#line 535 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = g_strdup ("");
#line 535 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp6_;
#line 535 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1442 "Resources.c"
+#line 1394 "Resources.c"
}
}
}
@@ -1474,17 +1426,17 @@ gchar* resources_get_stars (Rating rating) {
GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
GdkPixbuf* result = NULL;
- Rating _tmp0_ = 0;
+ Rating _tmp0_;
#line 540 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = rating;
#line 540 "/home/jens/Source/shotwell/src/Resources.vala"
switch (_tmp0_) {
#line 540 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 1457 "Resources.c"
+#line 1409 "Resources.c"
{
- gint _tmp1_ = 0;
- GdkPixbuf* _tmp2_ = NULL;
+ gint _tmp1_;
+ GdkPixbuf* _tmp2_;
#line 542 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = scale;
#line 542 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1493,14 +1445,14 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp2_;
#line 542 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1469 "Resources.c"
+#line 1421 "Resources.c"
}
#line 540 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1473 "Resources.c"
+#line 1425 "Resources.c"
{
- gint _tmp3_ = 0;
- GdkPixbuf* _tmp4_ = NULL;
+ gint _tmp3_;
+ GdkPixbuf* _tmp4_;
#line 545 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = scale;
#line 545 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1509,14 +1461,14 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp4_;
#line 545 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1485 "Resources.c"
+#line 1437 "Resources.c"
}
#line 540 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1489 "Resources.c"
+#line 1441 "Resources.c"
{
- gint _tmp5_ = 0;
- GdkPixbuf* _tmp6_ = NULL;
+ gint _tmp5_;
+ GdkPixbuf* _tmp6_;
#line 547 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = scale;
#line 547 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1525,14 +1477,14 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp6_;
#line 547 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1501 "Resources.c"
+#line 1453 "Resources.c"
}
#line 540 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1505 "Resources.c"
+#line 1457 "Resources.c"
{
- gint _tmp7_ = 0;
- GdkPixbuf* _tmp8_ = NULL;
+ gint _tmp7_;
+ GdkPixbuf* _tmp8_;
#line 549 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = scale;
#line 549 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1541,14 +1493,14 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp8_;
#line 549 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1517 "Resources.c"
+#line 1469 "Resources.c"
}
#line 540 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1521 "Resources.c"
+#line 1473 "Resources.c"
{
- gint _tmp9_ = 0;
- GdkPixbuf* _tmp10_ = NULL;
+ gint _tmp9_;
+ GdkPixbuf* _tmp10_;
#line 551 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = scale;
#line 551 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1557,14 +1509,14 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp10_;
#line 551 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1533 "Resources.c"
+#line 1485 "Resources.c"
}
#line 540 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1537 "Resources.c"
+#line 1489 "Resources.c"
{
- gint _tmp11_ = 0;
- GdkPixbuf* _tmp12_ = NULL;
+ gint _tmp11_;
+ GdkPixbuf* _tmp12_;
#line 553 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = scale;
#line 553 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1573,7 +1525,7 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp12_;
#line 553 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1549 "Resources.c"
+#line 1501 "Resources.c"
}
default:
{
@@ -1581,7 +1533,7 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = NULL;
#line 555 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1557 "Resources.c"
+#line 1509 "Resources.c"
}
}
}
@@ -1589,614 +1541,590 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
void resources_generate_rating_strings (void) {
gchar* menu_base = NULL;
- gchar* _tmp0_ = NULL;
+ gchar* _tmp0_;
gchar* label_base = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ gchar* _tmp1_;
gchar* tooltip_base = NULL;
- const gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
+ gchar* _tmp2_;
gchar* progress_base = NULL;
- const gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
+ gchar* _tmp3_;
gchar* display_rating_menu_base = NULL;
- gchar* _tmp7_ = NULL;
+ gchar* _tmp4_;
gchar* display_rating_label_base = NULL;
- const gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
+ gchar* _tmp5_;
gchar* display_rating_tooltip_base = NULL;
- const gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
+ gchar* _tmp6_;
gchar* display_rating_or_higher_menu_base = NULL;
- const gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
+ gchar* _tmp7_;
gchar* display_rating_or_higher_label_base = NULL;
- const gchar* _tmp14_ = NULL;
- gchar* _tmp15_ = NULL;
+ gchar* _tmp8_;
gchar* display_rating_or_higher_tooltip_base = NULL;
- const gchar* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
- gchar* _tmp18_ = NULL;
- gchar* _tmp19_ = NULL;
- gchar* _tmp20_ = NULL;
- gchar* _tmp21_ = NULL;
- gchar* _tmp22_ = NULL;
- gchar* _tmp23_ = NULL;
- gchar* _tmp24_ = NULL;
- gchar* _tmp25_ = NULL;
- gchar* _tmp26_ = NULL;
- gchar* _tmp27_ = NULL;
- gchar* _tmp28_ = NULL;
- gchar* _tmp29_ = NULL;
- gchar* _tmp30_ = NULL;
- gchar* _tmp31_ = NULL;
- gchar* _tmp32_ = NULL;
- gchar* _tmp33_ = NULL;
- gchar* _tmp34_ = NULL;
- gchar* _tmp35_ = NULL;
- gchar* _tmp36_ = NULL;
- gchar* _tmp37_ = NULL;
- gchar* _tmp38_ = NULL;
- gchar* _tmp39_ = NULL;
- gchar* _tmp40_ = NULL;
- gchar* _tmp41_ = NULL;
- gchar* _tmp42_ = NULL;
- gchar* _tmp43_ = NULL;
- gchar* _tmp44_ = NULL;
- gchar* _tmp45_ = NULL;
- gchar* _tmp46_ = NULL;
- gchar* _tmp47_ = NULL;
- gchar* _tmp48_ = NULL;
- gchar* _tmp49_ = NULL;
- gchar* _tmp50_ = NULL;
- gchar* _tmp51_ = NULL;
- gchar* _tmp52_ = NULL;
- gchar* _tmp53_ = NULL;
- gchar* _tmp54_ = NULL;
- gchar* _tmp55_ = NULL;
- gchar* _tmp56_ = NULL;
- gchar* _tmp57_ = NULL;
- gchar* _tmp58_ = NULL;
- gchar* _tmp59_ = NULL;
- gchar* _tmp60_ = NULL;
- gchar* _tmp61_ = NULL;
- gchar* _tmp62_ = NULL;
- gchar* _tmp63_ = NULL;
- gchar* _tmp64_ = NULL;
- gchar* _tmp65_ = NULL;
- gchar* _tmp66_ = NULL;
- gchar* _tmp67_ = NULL;
- gchar* _tmp68_ = NULL;
- gchar* _tmp69_ = NULL;
- gchar* _tmp70_ = NULL;
- gchar* _tmp71_ = NULL;
- gchar* _tmp72_ = NULL;
- gchar* _tmp73_ = NULL;
- gchar* _tmp74_ = NULL;
- gchar* _tmp75_ = NULL;
- gchar* _tmp76_ = NULL;
- gchar* _tmp77_ = NULL;
- gchar* _tmp78_ = NULL;
- gchar* _tmp79_ = NULL;
- gchar* _tmp80_ = NULL;
- gchar* _tmp81_ = NULL;
- gchar* _tmp82_ = NULL;
- gchar* _tmp83_ = NULL;
- gchar* _tmp84_ = NULL;
- gchar* _tmp85_ = NULL;
- gchar* _tmp86_ = NULL;
- gchar* _tmp87_ = NULL;
- gchar* _tmp88_ = NULL;
- gchar* _tmp89_ = NULL;
- gchar* _tmp90_ = NULL;
- gchar* _tmp91_ = NULL;
- gchar* _tmp92_ = NULL;
- gchar* _tmp93_ = NULL;
- gchar* _tmp94_ = NULL;
- gchar* _tmp95_ = NULL;
- gchar* _tmp96_ = NULL;
- gchar* _tmp97_ = NULL;
- gchar* _tmp98_ = NULL;
- gchar* _tmp99_ = NULL;
- gchar* _tmp100_ = NULL;
- gchar* _tmp101_ = NULL;
- gchar* _tmp102_ = NULL;
- gchar* _tmp103_ = NULL;
- gchar* _tmp104_ = NULL;
- gchar* _tmp105_ = NULL;
- gchar* _tmp106_ = NULL;
- gchar* _tmp107_ = NULL;
- gchar* _tmp108_ = NULL;
- gchar* _tmp109_ = NULL;
- gchar* _tmp110_ = NULL;
- gchar* _tmp111_ = NULL;
- gchar* _tmp112_ = NULL;
- gchar* _tmp113_ = NULL;
- gchar* _tmp114_ = NULL;
- gchar* _tmp115_ = NULL;
- gchar* _tmp116_ = NULL;
- gchar* _tmp117_ = NULL;
- gchar* _tmp118_ = NULL;
- gchar* _tmp119_ = NULL;
- gchar* _tmp120_ = NULL;
- gchar* _tmp121_ = NULL;
- gchar* _tmp122_ = NULL;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
+ gchar* _tmp13_;
+ gchar* _tmp14_;
+ gchar* _tmp15_;
+ gchar* _tmp16_;
+ gchar* _tmp17_;
+ gchar* _tmp18_;
+ gchar* _tmp19_;
+ gchar* _tmp20_;
+ gchar* _tmp21_;
+ gchar* _tmp22_;
+ gchar* _tmp23_;
+ gchar* _tmp24_;
+ gchar* _tmp25_;
+ gchar* _tmp26_;
+ gchar* _tmp27_;
+ gchar* _tmp28_;
+ gchar* _tmp29_;
+ gchar* _tmp30_;
+ gchar* _tmp31_;
+ gchar* _tmp32_;
+ gchar* _tmp33_;
+ gchar* _tmp34_;
+ gchar* _tmp35_;
+ gchar* _tmp36_;
+ gchar* _tmp37_;
+ gchar* _tmp38_;
+ gchar* _tmp39_;
+ gchar* _tmp40_;
+ gchar* _tmp41_;
+ gchar* _tmp42_;
+ gchar* _tmp43_;
+ gchar* _tmp44_;
+ gchar* _tmp45_;
+ gchar* _tmp46_;
+ gchar* _tmp47_;
+ gchar* _tmp48_;
+ gchar* _tmp49_;
+ gchar* _tmp50_;
+ gchar* _tmp51_;
+ gchar* _tmp52_;
+ gchar* _tmp53_;
+ gchar* _tmp54_;
+ gchar* _tmp55_;
+ gchar* _tmp56_;
+ gchar* _tmp57_;
+ gchar* _tmp58_;
+ gchar* _tmp59_;
+ gchar* _tmp60_;
+ gchar* _tmp61_;
+ gchar* _tmp62_;
+ gchar* _tmp63_;
+ gchar* _tmp64_;
+ gchar* _tmp65_;
+ gchar* _tmp66_;
+ gchar* _tmp67_;
+ gchar* _tmp68_;
+ gchar* _tmp69_;
+ gchar* _tmp70_;
+ gchar* _tmp71_;
+ gchar* _tmp72_;
+ gchar* _tmp73_;
+ gchar* _tmp74_;
+ gchar* _tmp75_;
+ gchar* _tmp76_;
+ gchar* _tmp77_;
+ gchar* _tmp78_;
+ gchar* _tmp79_;
+ gchar* _tmp80_;
+ gchar* _tmp81_;
+ gchar* _tmp82_;
+ gchar* _tmp83_;
+ gchar* _tmp84_;
+ gchar* _tmp85_;
+ gchar* _tmp86_;
+ gchar* _tmp87_;
+ gchar* _tmp88_;
+ gchar* _tmp89_;
+ gchar* _tmp90_;
+ gchar* _tmp91_;
+ gchar* _tmp92_;
+ gchar* _tmp93_;
+ gchar* _tmp94_;
+ gchar* _tmp95_;
+ gchar* _tmp96_;
+ gchar* _tmp97_;
+ gchar* _tmp98_;
+ gchar* _tmp99_;
+ gchar* _tmp100_;
+ gchar* _tmp101_;
+ gchar* _tmp102_;
+ gchar* _tmp103_;
+ gchar* _tmp104_;
+ gchar* _tmp105_;
+ gchar* _tmp106_;
+ gchar* _tmp107_;
+ gchar* _tmp108_;
+ gchar* _tmp109_;
+ gchar* _tmp110_;
+ gchar* _tmp111_;
+ gchar* _tmp112_;
+ gchar* _tmp113_;
+ gchar* _tmp114_;
#line 560 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = g_strdup ("%s");
#line 560 "/home/jens/Source/shotwell/src/Resources.vala"
menu_base = _tmp0_;
#line 561 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = _ ("Rate %s");
+ _tmp1_ = g_strdup (_ ("Rate %s"));
#line 561 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = g_strdup (_tmp1_);
-#line 561 "/home/jens/Source/shotwell/src/Resources.vala"
- label_base = _tmp2_;
+ label_base = _tmp1_;
#line 562 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = _ ("Set rating to %s");
+ _tmp2_ = g_strdup (_ ("Set rating to %s"));
#line 562 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp4_ = g_strdup (_tmp3_);
-#line 562 "/home/jens/Source/shotwell/src/Resources.vala"
- tooltip_base = _tmp4_;
+ tooltip_base = _tmp2_;
#line 563 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp5_ = _ ("Setting rating to %s");
+ _tmp3_ = g_strdup (_ ("Setting rating to %s"));
#line 563 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp6_ = g_strdup (_tmp5_);
-#line 563 "/home/jens/Source/shotwell/src/Resources.vala"
- progress_base = _tmp6_;
+ progress_base = _tmp3_;
#line 564 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp7_ = g_strdup ("%s");
+ _tmp4_ = g_strdup ("%s");
#line 564 "/home/jens/Source/shotwell/src/Resources.vala"
- display_rating_menu_base = _tmp7_;
-#line 565 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp8_ = _ ("Display %s");
+ display_rating_menu_base = _tmp4_;
#line 565 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp9_ = g_strdup (_tmp8_);
+ _tmp5_ = g_strdup (_ ("Display %s"));
#line 565 "/home/jens/Source/shotwell/src/Resources.vala"
- display_rating_label_base = _tmp9_;
+ display_rating_label_base = _tmp5_;
#line 566 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp10_ = _ ("Only show photos with a rating of %s");
-#line 566 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp11_ = g_strdup (_tmp10_);
+ _tmp6_ = g_strdup (_ ("Only show photos with a rating of %s"));
#line 566 "/home/jens/Source/shotwell/src/Resources.vala"
- display_rating_tooltip_base = _tmp11_;
+ display_rating_tooltip_base = _tmp6_;
#line 567 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp12_ = _ ("%s or Better");
+ _tmp7_ = g_strdup (_ ("%s or Better"));
#line 567 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp13_ = g_strdup (_tmp12_);
-#line 567 "/home/jens/Source/shotwell/src/Resources.vala"
- display_rating_or_higher_menu_base = _tmp13_;
-#line 568 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp14_ = _ ("Display %s or Better");
+ display_rating_or_higher_menu_base = _tmp7_;
#line 568 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp15_ = g_strdup (_tmp14_);
+ _tmp8_ = g_strdup (_ ("Display %s or Better"));
#line 568 "/home/jens/Source/shotwell/src/Resources.vala"
- display_rating_or_higher_label_base = _tmp15_;
-#line 569 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp16_ = _ ("Only show photos with a rating of %s or better");
+ display_rating_or_higher_label_base = _tmp8_;
#line 569 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp17_ = g_strdup (_tmp16_);
+ _tmp9_ = g_strdup (_ ("Only show photos with a rating of %s or better"));
#line 569 "/home/jens/Source/shotwell/src/Resources.vala"
- display_rating_or_higher_tooltip_base = _tmp17_;
+ display_rating_or_higher_tooltip_base = _tmp9_;
#line 571 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp18_ = resources_get_stars (RATING_ONE);
+ _tmp10_ = resources_get_stars (RATING_ONE);
#line 571 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp19_ = _tmp18_;
+ _tmp11_ = _tmp10_;
#line 571 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp20_ = g_strdup_printf (menu_base, _tmp19_);
+ _tmp12_ = g_strdup_printf (menu_base, _tmp11_);
#line 571 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_ONE_MENU);
#line 571 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_ONE_MENU = _tmp20_;
+ resources_RATE_ONE_MENU = _tmp12_;
#line 571 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp19_);
+ _g_free0 (_tmp11_);
#line 572 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp21_ = resources_get_stars (RATING_TWO);
+ _tmp13_ = resources_get_stars (RATING_TWO);
#line 572 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp22_ = _tmp21_;
+ _tmp14_ = _tmp13_;
#line 572 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp23_ = g_strdup_printf (menu_base, _tmp22_);
+ _tmp15_ = g_strdup_printf (menu_base, _tmp14_);
#line 572 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_TWO_MENU);
#line 572 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_TWO_MENU = _tmp23_;
+ resources_RATE_TWO_MENU = _tmp15_;
#line 572 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp22_);
+ _g_free0 (_tmp14_);
#line 573 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp24_ = resources_get_stars (RATING_THREE);
+ _tmp16_ = resources_get_stars (RATING_THREE);
#line 573 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp25_ = _tmp24_;
+ _tmp17_ = _tmp16_;
#line 573 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp26_ = g_strdup_printf (menu_base, _tmp25_);
+ _tmp18_ = g_strdup_printf (menu_base, _tmp17_);
#line 573 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_THREE_MENU);
#line 573 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_THREE_MENU = _tmp26_;
+ resources_RATE_THREE_MENU = _tmp18_;
#line 573 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp25_);
+ _g_free0 (_tmp17_);
#line 574 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp27_ = resources_get_stars (RATING_FOUR);
+ _tmp19_ = resources_get_stars (RATING_FOUR);
#line 574 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp28_ = _tmp27_;
+ _tmp20_ = _tmp19_;
#line 574 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp29_ = g_strdup_printf (menu_base, _tmp28_);
+ _tmp21_ = g_strdup_printf (menu_base, _tmp20_);
#line 574 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_FOUR_MENU);
#line 574 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_FOUR_MENU = _tmp29_;
+ resources_RATE_FOUR_MENU = _tmp21_;
#line 574 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp28_);
+ _g_free0 (_tmp20_);
#line 575 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp30_ = resources_get_stars (RATING_FIVE);
+ _tmp22_ = resources_get_stars (RATING_FIVE);
#line 575 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp31_ = _tmp30_;
+ _tmp23_ = _tmp22_;
#line 575 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp32_ = g_strdup_printf (menu_base, _tmp31_);
+ _tmp24_ = g_strdup_printf (menu_base, _tmp23_);
#line 575 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_FIVE_MENU);
#line 575 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_FIVE_MENU = _tmp32_;
+ resources_RATE_FIVE_MENU = _tmp24_;
#line 575 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp31_);
+ _g_free0 (_tmp23_);
#line 577 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp33_ = resources_get_stars (RATING_ONE);
+ _tmp25_ = resources_get_stars (RATING_ONE);
#line 577 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp34_ = _tmp33_;
+ _tmp26_ = _tmp25_;
#line 577 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp35_ = g_strdup_printf (label_base, _tmp34_);
+ _tmp27_ = g_strdup_printf (label_base, _tmp26_);
#line 577 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_ONE_LABEL);
#line 577 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_ONE_LABEL = _tmp35_;
+ resources_RATE_ONE_LABEL = _tmp27_;
#line 577 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp34_);
+ _g_free0 (_tmp26_);
#line 578 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp36_ = resources_get_stars (RATING_TWO);
+ _tmp28_ = resources_get_stars (RATING_TWO);
#line 578 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp37_ = _tmp36_;
+ _tmp29_ = _tmp28_;
#line 578 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp38_ = g_strdup_printf (label_base, _tmp37_);
+ _tmp30_ = g_strdup_printf (label_base, _tmp29_);
#line 578 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_TWO_LABEL);
#line 578 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_TWO_LABEL = _tmp38_;
+ resources_RATE_TWO_LABEL = _tmp30_;
#line 578 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp37_);
+ _g_free0 (_tmp29_);
#line 579 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp39_ = resources_get_stars (RATING_THREE);
+ _tmp31_ = resources_get_stars (RATING_THREE);
#line 579 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp40_ = _tmp39_;
+ _tmp32_ = _tmp31_;
#line 579 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp41_ = g_strdup_printf (label_base, _tmp40_);
+ _tmp33_ = g_strdup_printf (label_base, _tmp32_);
#line 579 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_THREE_LABEL);
#line 579 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_THREE_LABEL = _tmp41_;
+ resources_RATE_THREE_LABEL = _tmp33_;
#line 579 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp40_);
+ _g_free0 (_tmp32_);
#line 580 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp42_ = resources_get_stars (RATING_FOUR);
+ _tmp34_ = resources_get_stars (RATING_FOUR);
#line 580 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp43_ = _tmp42_;
+ _tmp35_ = _tmp34_;
#line 580 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp44_ = g_strdup_printf (label_base, _tmp43_);
+ _tmp36_ = g_strdup_printf (label_base, _tmp35_);
#line 580 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_FOUR_LABEL);
#line 580 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_FOUR_LABEL = _tmp44_;
+ resources_RATE_FOUR_LABEL = _tmp36_;
#line 580 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp43_);
+ _g_free0 (_tmp35_);
#line 581 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp45_ = resources_get_stars (RATING_FIVE);
+ _tmp37_ = resources_get_stars (RATING_FIVE);
#line 581 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp46_ = _tmp45_;
+ _tmp38_ = _tmp37_;
#line 581 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp47_ = g_strdup_printf (label_base, _tmp46_);
+ _tmp39_ = g_strdup_printf (label_base, _tmp38_);
#line 581 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_FIVE_LABEL);
#line 581 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_FIVE_LABEL = _tmp47_;
+ resources_RATE_FIVE_LABEL = _tmp39_;
#line 581 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp46_);
+ _g_free0 (_tmp38_);
#line 583 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp48_ = resources_get_stars (RATING_ONE);
+ _tmp40_ = resources_get_stars (RATING_ONE);
#line 583 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp49_ = _tmp48_;
+ _tmp41_ = _tmp40_;
#line 583 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp50_ = g_strdup_printf (tooltip_base, _tmp49_);
+ _tmp42_ = g_strdup_printf (tooltip_base, _tmp41_);
#line 583 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_ONE_TOOLTIP);
#line 583 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_ONE_TOOLTIP = _tmp50_;
+ resources_RATE_ONE_TOOLTIP = _tmp42_;
#line 583 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp49_);
+ _g_free0 (_tmp41_);
#line 584 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp51_ = resources_get_stars (RATING_TWO);
+ _tmp43_ = resources_get_stars (RATING_TWO);
#line 584 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp52_ = _tmp51_;
+ _tmp44_ = _tmp43_;
#line 584 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp53_ = g_strdup_printf (tooltip_base, _tmp52_);
+ _tmp45_ = g_strdup_printf (tooltip_base, _tmp44_);
#line 584 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_TWO_TOOLTIP);
#line 584 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_TWO_TOOLTIP = _tmp53_;
+ resources_RATE_TWO_TOOLTIP = _tmp45_;
#line 584 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp52_);
+ _g_free0 (_tmp44_);
#line 585 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp54_ = resources_get_stars (RATING_THREE);
+ _tmp46_ = resources_get_stars (RATING_THREE);
#line 585 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp55_ = _tmp54_;
+ _tmp47_ = _tmp46_;
#line 585 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp56_ = g_strdup_printf (tooltip_base, _tmp55_);
+ _tmp48_ = g_strdup_printf (tooltip_base, _tmp47_);
#line 585 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_THREE_TOOLTIP);
#line 585 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_THREE_TOOLTIP = _tmp56_;
+ resources_RATE_THREE_TOOLTIP = _tmp48_;
#line 585 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp55_);
+ _g_free0 (_tmp47_);
#line 586 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp57_ = resources_get_stars (RATING_FOUR);
+ _tmp49_ = resources_get_stars (RATING_FOUR);
#line 586 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp58_ = _tmp57_;
+ _tmp50_ = _tmp49_;
#line 586 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp59_ = g_strdup_printf (tooltip_base, _tmp58_);
+ _tmp51_ = g_strdup_printf (tooltip_base, _tmp50_);
#line 586 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_FOUR_TOOLTIP);
#line 586 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_FOUR_TOOLTIP = _tmp59_;
+ resources_RATE_FOUR_TOOLTIP = _tmp51_;
#line 586 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp58_);
+ _g_free0 (_tmp50_);
#line 587 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp60_ = resources_get_stars (RATING_FIVE);
+ _tmp52_ = resources_get_stars (RATING_FIVE);
#line 587 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp61_ = _tmp60_;
+ _tmp53_ = _tmp52_;
#line 587 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp62_ = g_strdup_printf (tooltip_base, _tmp61_);
+ _tmp54_ = g_strdup_printf (tooltip_base, _tmp53_);
#line 587 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_FIVE_TOOLTIP);
#line 587 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_FIVE_TOOLTIP = _tmp62_;
+ resources_RATE_FIVE_TOOLTIP = _tmp54_;
#line 587 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp61_);
+ _g_free0 (_tmp53_);
#line 589 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp63_ = resources_get_stars (RATING_ONE);
+ _tmp55_ = resources_get_stars (RATING_ONE);
#line 589 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp64_ = _tmp63_;
+ _tmp56_ = _tmp55_;
#line 589 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp65_ = g_strdup_printf (progress_base, _tmp64_);
+ _tmp57_ = g_strdup_printf (progress_base, _tmp56_);
#line 589 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_ONE_PROGRESS);
#line 589 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_ONE_PROGRESS = _tmp65_;
+ resources_RATE_ONE_PROGRESS = _tmp57_;
#line 589 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp64_);
+ _g_free0 (_tmp56_);
#line 590 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp66_ = resources_get_stars (RATING_TWO);
+ _tmp58_ = resources_get_stars (RATING_TWO);
#line 590 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp67_ = _tmp66_;
+ _tmp59_ = _tmp58_;
#line 590 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp68_ = g_strdup_printf (progress_base, _tmp67_);
+ _tmp60_ = g_strdup_printf (progress_base, _tmp59_);
#line 590 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_TWO_PROGRESS);
#line 590 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_TWO_PROGRESS = _tmp68_;
+ resources_RATE_TWO_PROGRESS = _tmp60_;
#line 590 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp67_);
+ _g_free0 (_tmp59_);
#line 591 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp69_ = resources_get_stars (RATING_THREE);
+ _tmp61_ = resources_get_stars (RATING_THREE);
#line 591 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp70_ = _tmp69_;
+ _tmp62_ = _tmp61_;
#line 591 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp71_ = g_strdup_printf (progress_base, _tmp70_);
+ _tmp63_ = g_strdup_printf (progress_base, _tmp62_);
#line 591 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_THREE_PROGRESS);
#line 591 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_THREE_PROGRESS = _tmp71_;
+ resources_RATE_THREE_PROGRESS = _tmp63_;
#line 591 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp70_);
+ _g_free0 (_tmp62_);
#line 592 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp72_ = resources_get_stars (RATING_FOUR);
+ _tmp64_ = resources_get_stars (RATING_FOUR);
#line 592 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp73_ = _tmp72_;
+ _tmp65_ = _tmp64_;
#line 592 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp74_ = g_strdup_printf (progress_base, _tmp73_);
+ _tmp66_ = g_strdup_printf (progress_base, _tmp65_);
#line 592 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_FOUR_PROGRESS);
#line 592 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_FOUR_PROGRESS = _tmp74_;
+ resources_RATE_FOUR_PROGRESS = _tmp66_;
#line 592 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp73_);
+ _g_free0 (_tmp65_);
#line 593 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp75_ = resources_get_stars (RATING_FIVE);
+ _tmp67_ = resources_get_stars (RATING_FIVE);
#line 593 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp76_ = _tmp75_;
+ _tmp68_ = _tmp67_;
#line 593 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp77_ = g_strdup_printf (progress_base, _tmp76_);
+ _tmp69_ = g_strdup_printf (progress_base, _tmp68_);
#line 593 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_RATE_FIVE_PROGRESS);
#line 593 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_RATE_FIVE_PROGRESS = _tmp77_;
+ resources_RATE_FIVE_PROGRESS = _tmp69_;
#line 593 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp76_);
+ _g_free0 (_tmp68_);
#line 595 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp78_ = resources_get_stars (RATING_ONE);
+ _tmp70_ = resources_get_stars (RATING_ONE);
#line 595 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp79_ = _tmp78_;
+ _tmp71_ = _tmp70_;
#line 595 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp80_ = g_strdup_printf (display_rating_or_higher_menu_base, _tmp79_);
+ _tmp72_ = g_strdup_printf (display_rating_or_higher_menu_base, _tmp71_);
#line 595 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_ONE_OR_HIGHER_MENU);
#line 595 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_ONE_OR_HIGHER_MENU = _tmp80_;
+ resources_DISPLAY_ONE_OR_HIGHER_MENU = _tmp72_;
#line 595 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp79_);
+ _g_free0 (_tmp71_);
#line 596 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp81_ = resources_get_stars (RATING_TWO);
+ _tmp73_ = resources_get_stars (RATING_TWO);
#line 596 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp82_ = _tmp81_;
+ _tmp74_ = _tmp73_;
#line 596 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp83_ = g_strdup_printf (display_rating_or_higher_menu_base, _tmp82_);
+ _tmp75_ = g_strdup_printf (display_rating_or_higher_menu_base, _tmp74_);
#line 596 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_TWO_OR_HIGHER_MENU);
#line 596 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_TWO_OR_HIGHER_MENU = _tmp83_;
+ resources_DISPLAY_TWO_OR_HIGHER_MENU = _tmp75_;
#line 596 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp82_);
+ _g_free0 (_tmp74_);
#line 597 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp84_ = resources_get_stars (RATING_THREE);
+ _tmp76_ = resources_get_stars (RATING_THREE);
#line 597 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp85_ = _tmp84_;
+ _tmp77_ = _tmp76_;
#line 597 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp86_ = g_strdup_printf (display_rating_or_higher_menu_base, _tmp85_);
+ _tmp78_ = g_strdup_printf (display_rating_or_higher_menu_base, _tmp77_);
#line 597 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_THREE_OR_HIGHER_MENU);
#line 597 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_THREE_OR_HIGHER_MENU = _tmp86_;
+ resources_DISPLAY_THREE_OR_HIGHER_MENU = _tmp78_;
#line 597 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp85_);
+ _g_free0 (_tmp77_);
#line 598 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp87_ = resources_get_stars (RATING_FOUR);
+ _tmp79_ = resources_get_stars (RATING_FOUR);
#line 598 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp88_ = _tmp87_;
+ _tmp80_ = _tmp79_;
#line 598 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp89_ = g_strdup_printf (display_rating_or_higher_menu_base, _tmp88_);
+ _tmp81_ = g_strdup_printf (display_rating_or_higher_menu_base, _tmp80_);
#line 598 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_FOUR_OR_HIGHER_MENU);
#line 598 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_FOUR_OR_HIGHER_MENU = _tmp89_;
+ resources_DISPLAY_FOUR_OR_HIGHER_MENU = _tmp81_;
#line 598 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp88_);
+ _g_free0 (_tmp80_);
#line 599 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp90_ = resources_get_stars (RATING_FIVE);
+ _tmp82_ = resources_get_stars (RATING_FIVE);
#line 599 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp91_ = _tmp90_;
+ _tmp83_ = _tmp82_;
#line 599 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp92_ = g_strdup_printf (display_rating_menu_base, _tmp91_);
+ _tmp84_ = g_strdup_printf (display_rating_menu_base, _tmp83_);
#line 599 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_FIVE_OR_HIGHER_MENU);
#line 599 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_FIVE_OR_HIGHER_MENU = _tmp92_;
+ resources_DISPLAY_FIVE_OR_HIGHER_MENU = _tmp84_;
#line 599 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp91_);
+ _g_free0 (_tmp83_);
#line 601 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp93_ = resources_get_stars (RATING_ONE);
+ _tmp85_ = resources_get_stars (RATING_ONE);
#line 601 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp94_ = _tmp93_;
+ _tmp86_ = _tmp85_;
#line 601 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp95_ = g_strdup_printf (display_rating_or_higher_label_base, _tmp94_);
+ _tmp87_ = g_strdup_printf (display_rating_or_higher_label_base, _tmp86_);
#line 601 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_ONE_OR_HIGHER_LABEL);
#line 601 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_ONE_OR_HIGHER_LABEL = _tmp95_;
+ resources_DISPLAY_ONE_OR_HIGHER_LABEL = _tmp87_;
#line 601 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp94_);
+ _g_free0 (_tmp86_);
#line 602 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp96_ = resources_get_stars (RATING_TWO);
+ _tmp88_ = resources_get_stars (RATING_TWO);
#line 602 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp97_ = _tmp96_;
+ _tmp89_ = _tmp88_;
#line 602 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp98_ = g_strdup_printf (display_rating_or_higher_label_base, _tmp97_);
+ _tmp90_ = g_strdup_printf (display_rating_or_higher_label_base, _tmp89_);
#line 602 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_TWO_OR_HIGHER_LABEL);
#line 602 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_TWO_OR_HIGHER_LABEL = _tmp98_;
+ resources_DISPLAY_TWO_OR_HIGHER_LABEL = _tmp90_;
#line 602 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp97_);
+ _g_free0 (_tmp89_);
#line 603 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp99_ = resources_get_stars (RATING_THREE);
+ _tmp91_ = resources_get_stars (RATING_THREE);
#line 603 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp100_ = _tmp99_;
+ _tmp92_ = _tmp91_;
#line 603 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp101_ = g_strdup_printf (display_rating_or_higher_label_base, _tmp100_);
+ _tmp93_ = g_strdup_printf (display_rating_or_higher_label_base, _tmp92_);
#line 603 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_THREE_OR_HIGHER_LABEL);
#line 603 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_THREE_OR_HIGHER_LABEL = _tmp101_;
+ resources_DISPLAY_THREE_OR_HIGHER_LABEL = _tmp93_;
#line 603 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp100_);
+ _g_free0 (_tmp92_);
#line 604 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp102_ = resources_get_stars (RATING_FOUR);
+ _tmp94_ = resources_get_stars (RATING_FOUR);
#line 604 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp103_ = _tmp102_;
+ _tmp95_ = _tmp94_;
#line 604 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp104_ = g_strdup_printf (display_rating_or_higher_label_base, _tmp103_);
+ _tmp96_ = g_strdup_printf (display_rating_or_higher_label_base, _tmp95_);
#line 604 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_FOUR_OR_HIGHER_LABEL);
#line 604 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_FOUR_OR_HIGHER_LABEL = _tmp104_;
+ resources_DISPLAY_FOUR_OR_HIGHER_LABEL = _tmp96_;
#line 604 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp103_);
+ _g_free0 (_tmp95_);
#line 605 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp105_ = resources_get_stars (RATING_FIVE);
+ _tmp97_ = resources_get_stars (RATING_FIVE);
#line 605 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp106_ = _tmp105_;
+ _tmp98_ = _tmp97_;
#line 605 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp107_ = g_strdup_printf (display_rating_label_base, _tmp106_);
+ _tmp99_ = g_strdup_printf (display_rating_label_base, _tmp98_);
#line 605 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_FIVE_OR_HIGHER_LABEL);
#line 605 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_FIVE_OR_HIGHER_LABEL = _tmp107_;
+ resources_DISPLAY_FIVE_OR_HIGHER_LABEL = _tmp99_;
#line 605 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp106_);
+ _g_free0 (_tmp98_);
#line 607 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp108_ = resources_get_stars (RATING_ONE);
+ _tmp100_ = resources_get_stars (RATING_ONE);
#line 607 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp109_ = _tmp108_;
+ _tmp101_ = _tmp100_;
#line 607 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp110_ = g_strdup_printf (display_rating_or_higher_tooltip_base, _tmp109_);
+ _tmp102_ = g_strdup_printf (display_rating_or_higher_tooltip_base, _tmp101_);
#line 607 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_ONE_OR_HIGHER_TOOLTIP);
#line 607 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_ONE_OR_HIGHER_TOOLTIP = _tmp110_;
+ resources_DISPLAY_ONE_OR_HIGHER_TOOLTIP = _tmp102_;
#line 607 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp109_);
+ _g_free0 (_tmp101_);
#line 608 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp111_ = resources_get_stars (RATING_TWO);
+ _tmp103_ = resources_get_stars (RATING_TWO);
#line 608 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp112_ = _tmp111_;
+ _tmp104_ = _tmp103_;
#line 608 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp113_ = g_strdup_printf (display_rating_or_higher_tooltip_base, _tmp112_);
+ _tmp105_ = g_strdup_printf (display_rating_or_higher_tooltip_base, _tmp104_);
#line 608 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_TWO_OR_HIGHER_TOOLTIP);
#line 608 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_TWO_OR_HIGHER_TOOLTIP = _tmp113_;
+ resources_DISPLAY_TWO_OR_HIGHER_TOOLTIP = _tmp105_;
#line 608 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp112_);
+ _g_free0 (_tmp104_);
#line 609 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp114_ = resources_get_stars (RATING_THREE);
+ _tmp106_ = resources_get_stars (RATING_THREE);
#line 609 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp115_ = _tmp114_;
+ _tmp107_ = _tmp106_;
#line 609 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp116_ = g_strdup_printf (display_rating_or_higher_tooltip_base, _tmp115_);
+ _tmp108_ = g_strdup_printf (display_rating_or_higher_tooltip_base, _tmp107_);
#line 609 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_THREE_OR_HIGHER_TOOLTIP);
#line 609 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_THREE_OR_HIGHER_TOOLTIP = _tmp116_;
+ resources_DISPLAY_THREE_OR_HIGHER_TOOLTIP = _tmp108_;
#line 609 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp115_);
+ _g_free0 (_tmp107_);
#line 610 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp117_ = resources_get_stars (RATING_FOUR);
+ _tmp109_ = resources_get_stars (RATING_FOUR);
#line 610 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp118_ = _tmp117_;
+ _tmp110_ = _tmp109_;
#line 610 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp119_ = g_strdup_printf (display_rating_or_higher_tooltip_base, _tmp118_);
+ _tmp111_ = g_strdup_printf (display_rating_or_higher_tooltip_base, _tmp110_);
#line 610 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_FOUR_OR_HIGHER_TOOLTIP);
#line 610 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_FOUR_OR_HIGHER_TOOLTIP = _tmp119_;
+ resources_DISPLAY_FOUR_OR_HIGHER_TOOLTIP = _tmp111_;
#line 610 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp118_);
+ _g_free0 (_tmp110_);
#line 611 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp120_ = resources_get_stars (RATING_FIVE);
+ _tmp112_ = resources_get_stars (RATING_FIVE);
#line 611 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp121_ = _tmp120_;
+ _tmp113_ = _tmp112_;
#line 611 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp122_ = g_strdup_printf (display_rating_tooltip_base, _tmp121_);
+ _tmp114_ = g_strdup_printf (display_rating_tooltip_base, _tmp113_);
#line 611 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_DISPLAY_FIVE_OR_HIGHER_TOOLTIP);
#line 611 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_DISPLAY_FIVE_OR_HIGHER_TOOLTIP = _tmp122_;
+ resources_DISPLAY_FIVE_OR_HIGHER_TOOLTIP = _tmp114_;
#line 611 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp121_);
+ _g_free0 (_tmp113_);
#line 559 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (display_rating_or_higher_tooltip_base);
#line 559 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -2217,35 +2145,32 @@ void resources_generate_rating_strings (void) {
_g_free0 (label_base);
#line 559 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (menu_base);
-#line 2193 "Resources.c"
+#line 2121 "Resources.c"
}
gchar* resources_jump_to_file_failed (GError* err) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- GError* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ GError* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 670 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _ ("Unable to open in file manager: %s");
+ _tmp0_ = err;
#line 670 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = err;
+ _tmp1_ = _tmp0_->message;
#line 670 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = _tmp1_->message;
+ _tmp2_ = g_strdup_printf (_ ("Unable to open in file manager: %s"), _tmp1_);
#line 670 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
-#line 670 "/home/jens/Source/shotwell/src/Resources.vala"
- result = _tmp3_;
+ result = _tmp2_;
#line 670 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2215 "Resources.c"
+#line 2140 "Resources.c"
}
void resources_init (void) {
- GtkIconTheme* _tmp0_ = NULL;
- GtkIconTheme* _tmp1_ = NULL;
+ GtkIconTheme* _tmp0_;
+ GtkIconTheme* _tmp1_;
#line 692 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_get_icon_theme_engine ();
#line 692 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -2254,7 +2179,7 @@ void resources_init (void) {
_g_object_unref0 (_tmp1_);
#line 694 "/home/jens/Source/shotwell/src/Resources.vala"
resources_generate_rating_strings ();
-#line 2230 "Resources.c"
+#line 2155 "Resources.c"
}
@@ -2274,31 +2199,26 @@ void resources_terminate (void) {
*/
void resources_fetch_lc_time_format (void) {
gchar* old_language = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+ const gchar* _tmp2_;
gchar* old_messages = NULL;
- const gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
+ const gchar* _tmp3_;
+ gchar* _tmp4_;
gchar* lc_time = NULL;
- const gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- const gchar* _tmp7_ = 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;
+ const gchar* _tmp5_;
+ gchar* _tmp6_;
+ const gchar* _tmp7_;
+ gchar* _tmp9_;
+ const gchar* _tmp10_;
+ gchar* _tmp11_;
+ gchar* _tmp12_;
+ gchar* _tmp13_;
+ gchar* _tmp14_;
+ gchar* _tmp15_;
+ gchar* _tmp16_;
+ const gchar* _tmp17_;
+ const gchar* _tmp19_;
#line 713 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = g_getenv ("LANGUAGE");
#line 713 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -2311,7 +2231,7 @@ void resources_fetch_lc_time_format (void) {
if (_tmp2_ != NULL) {
#line 715 "/home/jens/Source/shotwell/src/Resources.vala"
g_unsetenv ("LANGUAGE");
-#line 2287 "Resources.c"
+#line 2207 "Resources.c"
}
#line 719 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = setlocale (LC_MESSAGES, NULL);
@@ -2329,13 +2249,13 @@ void resources_fetch_lc_time_format (void) {
_tmp7_ = lc_time;
#line 722 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp7_ != NULL) {
-#line 2305 "Resources.c"
- const gchar* _tmp8_ = NULL;
+#line 2225 "Resources.c"
+ const gchar* _tmp8_;
#line 723 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp8_ = lc_time;
#line 723 "/home/jens/Source/shotwell/src/Resources.vala"
setlocale (LC_MESSAGES, _tmp8_);
-#line 2311 "Resources.c"
+#line 2231 "Resources.c"
}
#line 730 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = g_strdup ("%X");
@@ -2352,68 +2272,58 @@ void resources_fetch_lc_time_format (void) {
#line 735 "/home/jens/Source/shotwell/src/Resources.vala"
resources_HH_MM_SS_FORMAT_STRING = _tmp11_;
#line 739 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp12_ = _ ("%a %b %d, %Y");
-#line 739 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp13_ = g_strdup (_tmp12_);
+ _tmp12_ = g_strdup (_ ("%a %b %d, %Y"));
#line 739 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_LONG_DATE_FORMAT_STRING);
#line 739 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_LONG_DATE_FORMAT_STRING = _tmp13_;
-#line 744 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp14_ = C_ ("MultidayFormat", "%a %b %d");
+ resources_LONG_DATE_FORMAT_STRING = _tmp12_;
#line 744 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp15_ = g_strdup (_tmp14_);
+ _tmp13_ = g_strdup (C_ ("MultidayFormat", "%a %b %d"));
#line 744 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_START_MULTIDAY_DATE_FORMAT_STRING);
#line 744 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_START_MULTIDAY_DATE_FORMAT_STRING = _tmp15_;
+ resources_START_MULTIDAY_DATE_FORMAT_STRING = _tmp13_;
#line 749 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp16_ = C_ ("MultidayFormat", "%d, %Y");
-#line 749 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp17_ = g_strdup (_tmp16_);
+ _tmp14_ = g_strdup (C_ ("MultidayFormat", "%d, %Y"));
#line 749 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_END_MULTIDAY_DATE_FORMAT_STRING);
#line 749 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_END_MULTIDAY_DATE_FORMAT_STRING = _tmp17_;
-#line 754 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp18_ = C_ ("MultimonthFormat", "%a %b %d");
+ resources_END_MULTIDAY_DATE_FORMAT_STRING = _tmp14_;
#line 754 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp19_ = g_strdup (_tmp18_);
+ _tmp15_ = g_strdup (C_ ("MultimonthFormat", "%a %b %d"));
#line 754 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_START_MULTIMONTH_DATE_FORMAT_STRING);
#line 754 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_START_MULTIMONTH_DATE_FORMAT_STRING = _tmp19_;
-#line 759 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp20_ = C_ ("MultimonthFormat", "%a %b %d, %Y");
+ resources_START_MULTIMONTH_DATE_FORMAT_STRING = _tmp15_;
#line 759 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp21_ = g_strdup (_tmp20_);
+ _tmp16_ = g_strdup (C_ ("MultimonthFormat", "%a %b %d, %Y"));
#line 759 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_END_MULTIMONTH_DATE_FORMAT_STRING);
#line 759 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_END_MULTIMONTH_DATE_FORMAT_STRING = _tmp21_;
+ resources_END_MULTIMONTH_DATE_FORMAT_STRING = _tmp16_;
#line 762 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp22_ = old_messages;
+ _tmp17_ = old_messages;
#line 762 "/home/jens/Source/shotwell/src/Resources.vala"
- if (_tmp22_ != NULL) {
-#line 2371 "Resources.c"
- const gchar* _tmp23_ = NULL;
+ if (_tmp17_ != NULL) {
+#line 2281 "Resources.c"
+ const gchar* _tmp18_;
#line 763 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp23_ = old_messages;
+ _tmp18_ = old_messages;
#line 763 "/home/jens/Source/shotwell/src/Resources.vala"
- setlocale (LC_MESSAGES, _tmp23_);
-#line 2377 "Resources.c"
+ setlocale (LC_MESSAGES, _tmp18_);
+#line 2287 "Resources.c"
}
#line 766 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp24_ = old_language;
+ _tmp19_ = old_language;
#line 766 "/home/jens/Source/shotwell/src/Resources.vala"
- if (_tmp24_ != NULL) {
-#line 2383 "Resources.c"
- const gchar* _tmp25_ = NULL;
+ if (_tmp19_ != NULL) {
+#line 2293 "Resources.c"
+ const gchar* _tmp20_;
#line 767 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp25_ = old_language;
+ _tmp20_ = old_language;
#line 767 "/home/jens/Source/shotwell/src/Resources.vala"
- g_setenv ("LANGUAGE", _tmp25_, TRUE);
-#line 2389 "Resources.c"
+ g_setenv ("LANGUAGE", _tmp20_, TRUE);
+#line 2299 "Resources.c"
}
#line 710 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (lc_time);
@@ -2421,7 +2331,7 @@ void resources_fetch_lc_time_format (void) {
_g_free0 (old_messages);
#line 710 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (old_language);
-#line 2397 "Resources.c"
+#line 2307 "Resources.c"
}
@@ -2440,39 +2350,39 @@ GType resources_unit_system_get_type (void) {
static gint string_last_index_of_char (const gchar* self, gunichar c, gint start_index) {
gint result = 0;
gchar* _result_ = NULL;
- gint _tmp0_ = 0;
- gunichar _tmp1_ = 0U;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
-#line 1017 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gint _tmp0_;
+ gunichar _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+#line 1041 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1042 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1042 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = c;
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1042 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_);
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1042 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1044 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1044 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 2434 "Resources.c"
- gchar* _tmp4_ = NULL;
-#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2344 "Resources.c"
+ gchar* _tmp4_;
+#line 1045 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1045 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1045 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 2442 "Resources.c"
+#line 2352 "Resources.c"
} else {
-#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1047 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = -1;
-#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1047 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 2448 "Resources.c"
+#line 2358 "Resources.c"
}
}
@@ -2480,43 +2390,43 @@ static gint string_last_index_of_char (const gchar* self, gunichar c, gint start
static glong string_strnlen (gchar* str, glong maxlen) {
glong result = 0L;
gchar* end = NULL;
- gchar* _tmp0_ = NULL;
- glong _tmp1_ = 0L;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gchar* _tmp0_;
+ glong _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1323 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
-#line 2472 "Resources.c"
- glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2382 "Resources.c"
+ glong _tmp4_;
+#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 2480 "Resources.c"
+#line 2390 "Resources.c"
} else {
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1326 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 2492 "Resources.c"
+#line 2402 "Resources.c"
}
}
@@ -2525,127 +2435,127 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
gchar* result = NULL;
glong string_length = 0L;
gboolean _tmp0_ = FALSE;
- glong _tmp1_ = 0L;
- glong _tmp8_ = 0L;
- glong _tmp14_ = 0L;
- glong _tmp17_ = 0L;
- glong _tmp18_ = 0L;
- glong _tmp19_ = 0L;
- glong _tmp20_ = 0L;
- glong _tmp21_ = 0L;
- gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ glong _tmp1_;
+ glong _tmp8_;
+ glong _tmp14_;
+ glong _tmp17_;
+ glong _tmp18_;
+ glong _tmp19_;
+ glong _tmp20_;
+ glong _tmp21_;
+ gchar* _tmp22_;
+#line 1333 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
-#line 2516 "Resources.c"
- glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2426 "Resources.c"
+ glong _tmp2_;
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
-#line 2522 "Resources.c"
+#line 2432 "Resources.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
-#line 2526 "Resources.c"
+#line 2436 "Resources.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1335 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp0_) {
-#line 2530 "Resources.c"
- glong _tmp3_ = 0L;
- glong _tmp4_ = 0L;
- glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2440 "Resources.c"
+ glong _tmp3_;
+ glong _tmp4_;
+ glong _tmp5_;
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
string_length = _tmp5_;
-#line 2542 "Resources.c"
+#line 2452 "Resources.c"
} else {
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gint _tmp6_;
+ gint _tmp7_;
+#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
-#line 2552 "Resources.c"
+#line 2462 "Resources.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1342 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
-#line 2558 "Resources.c"
- glong _tmp9_ = 0L;
- glong _tmp10_ = 0L;
- glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2468 "Resources.c"
+ glong _tmp9_;
+ glong _tmp10_;
+ glong _tmp11_;
+#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1343 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1344 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
-#line 2572 "Resources.c"
+#line 2482 "Resources.c"
} else {
- glong _tmp12_ = 0L;
- glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ glong _tmp12_;
+ glong _tmp13_;
+#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1346 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
-#line 2582 "Resources.c"
+#line 2492 "Resources.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1348 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
-#line 2588 "Resources.c"
- glong _tmp15_ = 0L;
- glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2498 "Resources.c"
+ glong _tmp15_;
+ glong _tmp16_;
+#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1349 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
-#line 2597 "Resources.c"
+#line 2507 "Resources.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1351 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1352 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 2617 "Resources.c"
+#line 2527 "Resources.c"
}
-static gboolean _vala_string_array_contains (const gchar** stack, int stack_length, const gchar* needle) {
+static gboolean _vala_string_array_contains (const gchar* * stack, int stack_length, const gchar* needle) {
int i;
#line 798 "/home/jens/Source/shotwell/src/Resources.vala"
for (i = 0; i < stack_length; i++) {
@@ -2653,40 +2563,40 @@ static gboolean _vala_string_array_contains (const gchar** stack, int stack_leng
if (g_strcmp0 (stack[i], needle) == 0) {
#line 798 "/home/jens/Source/shotwell/src/Resources.vala"
return TRUE;
-#line 2629 "Resources.c"
+#line 2539 "Resources.c"
}
}
#line 798 "/home/jens/Source/shotwell/src/Resources.vala"
return FALSE;
-#line 2634 "Resources.c"
+#line 2544 "Resources.c"
}
ResourcesUnitSystem resources_get_default_measurement_unit (void) {
ResourcesUnitSystem result = 0;
- ResourcesUnitSystem _tmp0_ = 0;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
+ ResourcesUnitSystem _tmp0_;
+ const gchar* _tmp2_;
+ gchar* _tmp3_;
+ const gchar* _tmp4_;
gint index = 0;
- const gchar* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
- const gchar* _tmp15_ = NULL;
- ResourcesUnitSystem _tmp16_ = 0;
+ const gchar* _tmp9_;
+ gint _tmp10_;
+ gint _tmp11_;
+ const gchar* _tmp15_;
+ ResourcesUnitSystem _tmp16_;
#line 783 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_unit_system;
#line 783 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ != RESOURCES_UNIT_SYSTEM_UNKNOWN) {
-#line 2654 "Resources.c"
- ResourcesUnitSystem _tmp1_ = 0;
+#line 2564 "Resources.c"
+ ResourcesUnitSystem _tmp1_;
#line 784 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_unit_system;
#line 784 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp1_;
#line 784 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2662 "Resources.c"
+#line 2572 "Resources.c"
}
#line 787 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_getenv ("LC_MEASUREMENT");
@@ -2700,11 +2610,11 @@ ResourcesUnitSystem resources_get_default_measurement_unit (void) {
_tmp4_ = resources_lc_measurement;
#line 788 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp4_ == NULL) {
-#line 2676 "Resources.c"
- gchar** _tmp5_ = NULL;
- gchar** _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
+#line 2586 "Resources.c"
+ gchar** _tmp5_;
+ gchar** _tmp6_;
+ const gchar* _tmp7_;
+ gchar* _tmp8_;
#line 789 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = _tmp5_ = g_get_language_names ();
#line 789 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -2715,7 +2625,7 @@ ResourcesUnitSystem resources_get_default_measurement_unit (void) {
_g_free0 (resources_lc_measurement);
#line 789 "/home/jens/Source/shotwell/src/Resources.vala"
resources_lc_measurement = _tmp8_;
-#line 2691 "Resources.c"
+#line 2601 "Resources.c"
}
#line 792 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = resources_lc_measurement;
@@ -2727,10 +2637,10 @@ ResourcesUnitSystem resources_get_default_measurement_unit (void) {
_tmp11_ = index;
#line 793 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp11_ > 0) {
-#line 2703 "Resources.c"
- const gchar* _tmp12_ = NULL;
- gint _tmp13_ = 0;
- gchar* _tmp14_ = NULL;
+#line 2613 "Resources.c"
+ const gchar* _tmp12_;
+ gint _tmp13_;
+ gchar* _tmp14_;
#line 794 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = resources_lc_measurement;
#line 794 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -2741,7 +2651,7 @@ ResourcesUnitSystem resources_get_default_measurement_unit (void) {
_g_free0 (resources_lc_measurement);
#line 794 "/home/jens/Source/shotwell/src/Resources.vala"
resources_lc_measurement = _tmp14_;
-#line 2717 "Resources.c"
+#line 2627 "Resources.c"
}
#line 797 "/home/jens/Source/shotwell/src/Resources.vala"
resources_unit_system = RESOURCES_UNIT_SYSTEM_METRIC;
@@ -2751,7 +2661,7 @@ ResourcesUnitSystem resources_get_default_measurement_unit (void) {
if (_vala_string_array_contains (RESOURCES_IMPERIAL_COUNTRIES, G_N_ELEMENTS (RESOURCES_IMPERIAL_COUNTRIES), _tmp15_)) {
#line 799 "/home/jens/Source/shotwell/src/Resources.vala"
resources_unit_system = RESOURCES_UNIT_SYSTEM_IMPERIAL;
-#line 2727 "Resources.c"
+#line 2637 "Resources.c"
}
#line 802 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp16_ = resources_unit_system;
@@ -2759,7 +2669,7 @@ ResourcesUnitSystem resources_get_default_measurement_unit (void) {
result = _tmp16_;
#line 802 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2735 "Resources.c"
+#line 2645 "Resources.c"
}
@@ -2769,16 +2679,16 @@ ResourcesUnitSystem resources_get_default_measurement_unit (void) {
*/
gchar* resources_get_hh_mm_format_string (void) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 810 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_HH_MM_FORMAT_STRING;
#line 810 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
#line 811 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2754 "Resources.c"
+#line 2664 "Resources.c"
}
#line 814 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_HH_MM_FORMAT_STRING;
@@ -2788,22 +2698,22 @@ gchar* resources_get_hh_mm_format_string (void) {
result = _tmp2_;
#line 814 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2764 "Resources.c"
+#line 2674 "Resources.c"
}
gchar* resources_get_hh_mm_ss_format_string (void) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 818 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_HH_MM_SS_FORMAT_STRING;
#line 818 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
#line 819 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2779 "Resources.c"
+#line 2689 "Resources.c"
}
#line 822 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_HH_MM_SS_FORMAT_STRING;
@@ -2813,22 +2723,22 @@ gchar* resources_get_hh_mm_ss_format_string (void) {
result = _tmp2_;
#line 822 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2789 "Resources.c"
+#line 2699 "Resources.c"
}
gchar* resources_get_long_date_format_string (void) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 826 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_LONG_DATE_FORMAT_STRING;
#line 826 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
#line 827 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2804 "Resources.c"
+#line 2714 "Resources.c"
}
#line 830 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_LONG_DATE_FORMAT_STRING;
@@ -2838,22 +2748,22 @@ gchar* resources_get_long_date_format_string (void) {
result = _tmp2_;
#line 830 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2814 "Resources.c"
+#line 2724 "Resources.c"
}
gchar* resources_get_start_multiday_span_format_string (void) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 834 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_START_MULTIDAY_DATE_FORMAT_STRING;
#line 834 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
#line 835 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2829 "Resources.c"
+#line 2739 "Resources.c"
}
#line 838 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_START_MULTIDAY_DATE_FORMAT_STRING;
@@ -2863,22 +2773,22 @@ gchar* resources_get_start_multiday_span_format_string (void) {
result = _tmp2_;
#line 838 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2839 "Resources.c"
+#line 2749 "Resources.c"
}
gchar* resources_get_end_multiday_span_format_string (void) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 842 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_END_MULTIDAY_DATE_FORMAT_STRING;
#line 842 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
#line 843 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2854 "Resources.c"
+#line 2764 "Resources.c"
}
#line 846 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_END_MULTIDAY_DATE_FORMAT_STRING;
@@ -2888,22 +2798,22 @@ gchar* resources_get_end_multiday_span_format_string (void) {
result = _tmp2_;
#line 846 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2864 "Resources.c"
+#line 2774 "Resources.c"
}
gchar* resources_get_start_multimonth_span_format_string (void) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 850 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_START_MULTIMONTH_DATE_FORMAT_STRING;
#line 850 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
#line 851 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2879 "Resources.c"
+#line 2789 "Resources.c"
}
#line 854 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_START_MULTIMONTH_DATE_FORMAT_STRING;
@@ -2913,22 +2823,22 @@ gchar* resources_get_start_multimonth_span_format_string (void) {
result = _tmp2_;
#line 854 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2889 "Resources.c"
+#line 2799 "Resources.c"
}
gchar* resources_get_end_multimonth_span_format_string (void) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
#line 858 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_END_MULTIMONTH_DATE_FORMAT_STRING;
#line 858 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2904 "Resources.c"
+#line 2814 "Resources.c"
}
#line 862 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_END_MULTIMONTH_DATE_FORMAT_STRING;
@@ -2938,14 +2848,14 @@ gchar* resources_get_end_multimonth_span_format_string (void) {
result = _tmp2_;
#line 862 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2914 "Resources.c"
+#line 2824 "Resources.c"
}
gchar* resources_get_ui (const gchar* filename) {
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 865 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (filename != NULL, NULL);
#line 866 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -2956,35 +2866,35 @@ gchar* resources_get_ui (const gchar* filename) {
result = _tmp1_;
#line 866 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2932 "Resources.c"
+#line 2842 "Resources.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 882 "/home/jens/Source/shotwell/src/Resources.vala"
return self ? g_object_ref (self) : NULL;
-#line 2939 "Resources.c"
+#line 2849 "Resources.c"
}
GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
GdkPixbuf* result = NULL;
- GdkPixbuf* _tmp0_ = NULL;
- GdkPixbuf* _tmp7_ = NULL;
- GdkPixbuf* _tmp8_ = NULL;
+ GdkPixbuf* _tmp0_;
+ GdkPixbuf* _tmp7_;
+ GdkPixbuf* _tmp8_;
GError * _inner_error_ = NULL;
#line 873 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_noninterpretable_badge_pixbuf;
#line 873 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 2953 "Resources.c"
+#line 2863 "Resources.c"
{
gchar* path = NULL;
- gchar* _tmp1_ = NULL;
+ gchar* _tmp1_;
GdkPixbuf* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- GdkPixbuf* _tmp4_ = NULL;
- GdkPixbuf* _tmp5_ = NULL;
+ const gchar* _tmp3_;
+ GdkPixbuf* _tmp4_;
+ GdkPixbuf* _tmp5_;
#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = g_strdup ("/org/gnome/Shotwell/icons/" RESOURCES_NONINTERPRETABLE_BADGE_FILE);
#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -2999,8 +2909,8 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 876 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (path);
-#line 2975 "Resources.c"
- goto __catch429_g_error;
+#line 2885 "Resources.c"
+ goto __catch430_g_error;
}
#line 876 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = _tmp2_;
@@ -3014,13 +2924,13 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
_g_object_unref0 (_tmp2_);
#line 874 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (path);
-#line 2990 "Resources.c"
+#line 2900 "Resources.c"
}
- goto __finally429;
- __catch429_g_error:
+ goto __finally430;
+ __catch430_g_error:
{
GError* err = NULL;
- const gchar* _tmp6_ = NULL;
+ const gchar* _tmp6_;
#line 874 "/home/jens/Source/shotwell/src/Resources.vala"
err = _inner_error_;
#line 874 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3032,9 +2942,9 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
"e: %s", _tmp6_);
#line 874 "/home/jens/Source/shotwell/src/Resources.vala"
_g_error_free0 (err);
-#line 3007 "Resources.c"
+#line 2917 "Resources.c"
}
- __finally429:
+ __finally430:
#line 874 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 874 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3043,7 +2953,7 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
g_clear_error (&_inner_error_);
#line 874 "/home/jens/Source/shotwell/src/Resources.vala"
return NULL;
-#line 3018 "Resources.c"
+#line 2928 "Resources.c"
}
}
#line 882 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3054,15 +2964,15 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
result = _tmp8_;
#line 882 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3029 "Resources.c"
+#line 2939 "Resources.c"
}
GtkIconTheme* resources_get_icon_theme_engine (void) {
GtkIconTheme* result = NULL;
GtkIconTheme* icon_theme = NULL;
- GtkIconTheme* _tmp0_ = NULL;
- GtkIconTheme* _tmp1_ = NULL;
+ GtkIconTheme* _tmp0_;
+ GtkIconTheme* _tmp1_;
#line 886 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = gtk_icon_theme_get_default ();
#line 886 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3075,45 +2985,45 @@ GtkIconTheme* resources_get_icon_theme_engine (void) {
result = icon_theme;
#line 889 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3050 "Resources.c"
+#line 2960 "Resources.c"
}
GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
GdkPixbuf* result = NULL;
- GeeHashMap* _tmp0_ = NULL;
- GeeHashMap* _tmp10_ = NULL;
+ GeeHashMap* _tmp0_;
+ GeeHashMap* _tmp10_;
GdkPixbuf* pixbuf = NULL;
- GeeHashMap* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
- gpointer _tmp14_ = NULL;
- GdkPixbuf* _tmp15_ = NULL;
- gint _tmp22_ = 0;
+ GeeHashMap* _tmp12_;
+ const gchar* _tmp13_;
+ gpointer _tmp14_;
+ GdkPixbuf* _tmp15_;
+ gint _tmp22_;
GdkPixbuf* scaled_pixbuf = NULL;
- GdkPixbuf* _tmp23_ = NULL;
- gint _tmp24_ = 0;
- GdkPixbuf* _tmp25_ = NULL;
- GeeHashMap* _tmp26_ = NULL;
- GeeHashMap* _tmp28_ = NULL;
- const gchar* _tmp29_ = NULL;
- gint _tmp30_ = 0;
- gchar* _tmp31_ = NULL;
- gchar* _tmp32_ = NULL;
- GdkPixbuf* _tmp33_ = NULL;
+ GdkPixbuf* _tmp23_;
+ gint _tmp24_;
+ GdkPixbuf* _tmp25_;
+ GeeHashMap* _tmp26_;
+ GeeHashMap* _tmp28_;
+ const gchar* _tmp29_;
+ gint _tmp30_;
+ gchar* _tmp31_;
+ gchar* _tmp32_;
+ GdkPixbuf* _tmp33_;
#line 894 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 895 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_scaled_icon_cache;
#line 895 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ != NULL) {
-#line 3081 "Resources.c"
+#line 2991 "Resources.c"
gchar* scaled_name = NULL;
- const gchar* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gchar* _tmp3_ = NULL;
- GeeHashMap* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+ const gchar* _tmp1_;
+ gint _tmp2_;
+ gchar* _tmp3_;
+ GeeHashMap* _tmp4_;
+ const gchar* _tmp5_;
+ gboolean _tmp6_;
#line 896 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = name;
#line 896 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3130,10 +3040,10 @@ 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 897 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp6_) {
-#line 3105 "Resources.c"
- GeeHashMap* _tmp7_ = NULL;
- const gchar* _tmp8_ = NULL;
- gpointer _tmp9_ = NULL;
+#line 3015 "Resources.c"
+ GeeHashMap* _tmp7_;
+ const gchar* _tmp8_;
+ gpointer _tmp9_;
#line 898 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = resources_scaled_icon_cache;
#line 898 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3146,25 +3056,25 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_g_free0 (scaled_name);
#line 898 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3121 "Resources.c"
+#line 3031 "Resources.c"
}
#line 895 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (scaled_name);
-#line 3125 "Resources.c"
+#line 3035 "Resources.c"
}
#line 903 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = resources_icon_cache;
#line 903 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp10_ == NULL) {
-#line 3131 "Resources.c"
- GeeHashMap* _tmp11_ = NULL;
+#line 3041 "Resources.c"
+ GeeHashMap* _tmp11_;
#line 904 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, gdk_pixbuf_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 904 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (resources_icon_cache);
#line 904 "/home/jens/Source/shotwell/src/Resources.vala"
resources_icon_cache = _tmp11_;
-#line 3139 "Resources.c"
+#line 3049 "Resources.c"
}
#line 907 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = resources_icon_cache;
@@ -3178,13 +3088,13 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_tmp15_ = pixbuf;
#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp15_ == NULL) {
-#line 3153 "Resources.c"
- const gchar* _tmp16_ = NULL;
- GdkPixbuf* _tmp17_ = NULL;
- GdkPixbuf* _tmp18_ = NULL;
- GeeHashMap* _tmp19_ = NULL;
- const gchar* _tmp20_ = NULL;
- GdkPixbuf* _tmp21_ = NULL;
+#line 3063 "Resources.c"
+ const gchar* _tmp16_;
+ GdkPixbuf* _tmp17_;
+ GdkPixbuf* _tmp18_;
+ GeeHashMap* _tmp19_;
+ const gchar* _tmp20_;
+ GdkPixbuf* _tmp21_;
#line 909 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp16_ = name;
#line 909 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3203,7 +3113,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_g_object_unref0 (pixbuf);
#line 911 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3178 "Resources.c"
+#line 3088 "Resources.c"
}
#line 913 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp19_ = resources_icon_cache;
@@ -3213,7 +3123,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_tmp21_ = pixbuf;
#line 913 "/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 3188 "Resources.c"
+#line 3098 "Resources.c"
}
#line 916 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp22_ = scale;
@@ -3223,7 +3133,7 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
result = pixbuf;
#line 917 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3198 "Resources.c"
+#line 3108 "Resources.c"
}
#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp23_ = pixbuf;
@@ -3237,15 +3147,15 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_tmp26_ = resources_scaled_icon_cache;
#line 921 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp26_ == NULL) {
-#line 3212 "Resources.c"
- GeeHashMap* _tmp27_ = NULL;
+#line 3122 "Resources.c"
+ GeeHashMap* _tmp27_;
#line 922 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp27_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, gdk_pixbuf_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 922 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (resources_scaled_icon_cache);
#line 922 "/home/jens/Source/shotwell/src/Resources.vala"
resources_scaled_icon_cache = _tmp27_;
-#line 3220 "Resources.c"
+#line 3130 "Resources.c"
}
#line 924 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp28_ = resources_scaled_icon_cache;
@@ -3269,29 +3179,29 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
_g_object_unref0 (pixbuf);
#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3244 "Resources.c"
+#line 3154 "Resources.c"
}
GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
GdkPixbuf* result = NULL;
GdkPixbuf* pixbuf = NULL;
- GdkPixbuf* _tmp8_ = NULL;
+ GdkPixbuf* _tmp8_;
GdkPixbuf* _tmp9_ = NULL;
- gint _tmp10_ = 0;
+ gint _tmp10_;
GError * _inner_error_ = NULL;
#line 929 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 930 "/home/jens/Source/shotwell/src/Resources.vala"
pixbuf = NULL;
-#line 3259 "Resources.c"
+#line 3169 "Resources.c"
{
gchar* path = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
GdkPixbuf* _tmp2_ = NULL;
- GdkPixbuf* _tmp3_ = NULL;
- GdkPixbuf* _tmp4_ = NULL;
+ GdkPixbuf* _tmp3_;
+ GdkPixbuf* _tmp4_;
#line 932 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = name;
#line 932 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3306,8 +3216,8 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 933 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (path);
-#line 3281 "Resources.c"
- goto __catch430_g_error;
+#line 3191 "Resources.c"
+ goto __catch431_g_error;
}
#line 933 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = _tmp2_;
@@ -3321,15 +3231,15 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
_g_object_unref0 (_tmp2_);
#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (path);
-#line 3296 "Resources.c"
+#line 3206 "Resources.c"
}
- goto __finally430;
- __catch430_g_error:
+ goto __finally431;
+ __catch431_g_error:
{
GError* err = NULL;
- const gchar* _tmp5_ = NULL;
- GError* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
+ const gchar* _tmp5_;
+ GError* _tmp6_;
+ const gchar* _tmp7_;
#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
err = _inner_error_;
#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3344,9 +3254,9 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
g_critical ("Resources.vala:935: Unable to load icon %s: %s", _tmp5_, _tmp7_);
#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
_g_error_free0 (err);
-#line 3319 "Resources.c"
+#line 3229 "Resources.c"
}
- __finally430:
+ __finally431:
#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3357,7 +3267,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
g_clear_error (&_inner_error_);
#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
return NULL;
-#line 3332 "Resources.c"
+#line 3242 "Resources.c"
}
#line 938 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp8_ = pixbuf;
@@ -3369,16 +3279,16 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
_g_object_unref0 (pixbuf);
#line 939 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3344 "Resources.c"
+#line 3254 "Resources.c"
}
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = scale;
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp10_ > 0) {
-#line 3350 "Resources.c"
- GdkPixbuf* _tmp11_ = NULL;
- gint _tmp12_ = 0;
- GdkPixbuf* _tmp13_ = NULL;
+#line 3260 "Resources.c"
+ GdkPixbuf* _tmp11_;
+ gint _tmp12_;
+ GdkPixbuf* _tmp13_;
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = pixbuf;
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3389,10 +3299,10 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
_g_object_unref0 (_tmp9_);
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = _tmp13_;
-#line 3364 "Resources.c"
+#line 3274 "Resources.c"
} else {
- GdkPixbuf* _tmp14_ = NULL;
- GdkPixbuf* _tmp15_ = NULL;
+ GdkPixbuf* _tmp14_;
+ GdkPixbuf* _tmp15_;
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14_ = pixbuf;
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3401,7 +3311,7 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
_g_object_unref0 (_tmp9_);
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = _tmp15_;
-#line 3376 "Resources.c"
+#line 3286 "Resources.c"
}
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp9_;
@@ -3409,24 +3319,24 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
_g_object_unref0 (pixbuf);
#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3384 "Resources.c"
+#line 3294 "Resources.c"
}
gchar* resources_get_help_path (void) {
gchar* result = NULL;
GFile* help_dir = NULL;
- GFile* _tmp0_ = NULL;
- GFile* _tmp1_ = NULL;
- GFile* _tmp2_ = NULL;
- GFile* _tmp3_ = NULL;
- GFile* _tmp4_ = NULL;
- GFile* _tmp5_ = NULL;
+ GFile* _tmp0_;
+ GFile* _tmp1_;
+ GFile* _tmp2_;
+ GFile* _tmp3_;
+ GFile* _tmp4_;
+ GFile* _tmp5_;
GFile* help_index = NULL;
- GFile* _tmp6_ = NULL;
- GFile* _tmp7_ = NULL;
- GFile* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
+ GFile* _tmp6_;
+ GFile* _tmp7_;
+ GFile* _tmp8_;
+ gboolean _tmp9_;
#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = app_dirs_get_exec_dir ();
#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3457,12 +3367,12 @@ gchar* resources_get_help_path (void) {
_tmp9_ = g_file_query_exists (_tmp8_, NULL);
#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp9_) {
-#line 3432 "Resources.c"
+#line 3342 "Resources.c"
gchar* help_path = NULL;
- GFile* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- const gchar* _tmp12_ = NULL;
- gboolean _tmp13_ = FALSE;
+ GFile* _tmp10_;
+ gchar* _tmp11_;
+ const gchar* _tmp12_;
+ gboolean _tmp13_;
#line 958 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = help_dir;
#line 958 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3477,9 +3387,9 @@ gchar* resources_get_help_path (void) {
_tmp13_ = g_str_has_suffix (_tmp12_, "/");
#line 960 "/home/jens/Source/shotwell/src/Resources.vala"
if (!_tmp13_) {
-#line 3452 "Resources.c"
- const gchar* _tmp14_ = NULL;
- gchar* _tmp15_ = NULL;
+#line 3362 "Resources.c"
+ const gchar* _tmp14_;
+ gchar* _tmp15_;
#line 961 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14_ = help_path;
#line 961 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3488,7 +3398,7 @@ gchar* resources_get_help_path (void) {
_g_free0 (help_path);
#line 961 "/home/jens/Source/shotwell/src/Resources.vala"
help_path = _tmp15_;
-#line 3463 "Resources.c"
+#line 3373 "Resources.c"
}
#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
result = help_path;
@@ -3498,7 +3408,7 @@ gchar* resources_get_help_path (void) {
_g_object_unref0 (help_dir);
#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3473 "Resources.c"
+#line 3383 "Resources.c"
}
#line 970 "/home/jens/Source/shotwell/src/Resources.vala"
result = NULL;
@@ -3508,15 +3418,15 @@ gchar* resources_get_help_path (void) {
_g_object_unref0 (help_dir);
#line 970 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3483 "Resources.c"
+#line 3393 "Resources.c"
}
void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** error) {
gchar* help_path = NULL;
- gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp27_ = NULL;
+ gchar* _tmp0_;
+ const gchar* _tmp1_;
+ const gchar* _tmp27_;
GError * _inner_error_ = NULL;
#line 973 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_if_fail (GDK_IS_SCREEN (screen));
@@ -3528,46 +3438,46 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_tmp1_ = help_path;
#line 976 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp1_ != NULL) {
-#line 3503 "Resources.c"
- const gchar* _tmp2_ = NULL;
+#line 3413 "Resources.c"
+ const gchar* _tmp2_;
gchar** argv = NULL;
- gchar** _tmp6_ = NULL;
- gint argv_length1 = 0;
- gint _argv_size_ = 0;
- gchar** _tmp7_ = NULL;
- gint _tmp7__length1 = 0;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- gchar** _tmp10_ = NULL;
- gint _tmp10__length1 = 0;
- const gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- gchar** _tmp14_ = NULL;
- gint _tmp14__length1 = 0;
- gchar* _tmp15_ = NULL;
+ gchar** _tmp6_;
+ gint argv_length1;
+ gint _argv_size_;
+ gchar** _tmp7_;
+ gint _tmp7__length1;
+ gchar* _tmp8_;
+ gchar* _tmp9_;
+ gchar** _tmp10_;
+ gint _tmp10__length1;
+ const gchar* _tmp11_;
+ gchar* _tmp12_;
+ gchar* _tmp13_;
+ gchar** _tmp14_;
+ gint _tmp14__length1;
+ gchar* _tmp15_;
GPid pid = 0;
gboolean _tmp16_ = FALSE;
- GFile* _tmp17_ = NULL;
- GFile* _tmp18_ = NULL;
- gchar* _tmp19_ = NULL;
- gchar* _tmp20_ = NULL;
- gchar** _tmp21_ = NULL;
- gint _tmp21__length1 = 0;
+ GFile* _tmp17_;
+ GFile* _tmp18_;
+ gchar* _tmp19_;
+ gchar* _tmp20_;
+ gchar** _tmp21_;
+ gint _tmp21__length1;
GPid _tmp22_ = 0;
- gboolean _tmp23_ = FALSE;
- gboolean _tmp24_ = FALSE;
- gchar** _tmp25_ = NULL;
- gint _tmp25__length1 = 0;
- const gchar* _tmp26_ = NULL;
+ gboolean _tmp23_;
+ gboolean _tmp24_;
+ gchar** _tmp25_;
+ gint _tmp25__length1;
+ const gchar* _tmp26_;
#line 980 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = anchor;
#line 980 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp2_ != NULL) {
-#line 3539 "Resources.c"
- const gchar* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
+#line 3449 "Resources.c"
+ const gchar* _tmp3_;
+ const gchar* _tmp4_;
+ gchar* _tmp5_;
#line 981 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = help_path;
#line 981 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3578,7 +3488,7 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_g_free0 (help_path);
#line 981 "/home/jens/Source/shotwell/src/Resources.vala"
help_path = _tmp5_;
-#line 3553 "Resources.c"
+#line 3463 "Resources.c"
}
#line 984 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = g_new0 (gchar*, 3 + 1);
@@ -3658,7 +3568,7 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_g_free0 (help_path);
#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3633 "Resources.c"
+#line 3543 "Resources.c"
}
#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp16_) {
@@ -3668,7 +3578,7 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_g_free0 (help_path);
#line 992 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3643 "Resources.c"
+#line 3553 "Resources.c"
}
#line 995 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp25_ = argv;
@@ -3680,17 +3590,17 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
g_warning ("Resources.vala:995: Unable to launch %s", _tmp26_);
#line 976 "/home/jens/Source/shotwell/src/Resources.vala"
argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL);
-#line 3655 "Resources.c"
+#line 3565 "Resources.c"
}
#line 999 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp27_ = anchor;
#line 999 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp27_ != NULL) {
-#line 3661 "Resources.c"
- GdkScreen* _tmp28_ = NULL;
- const gchar* _tmp29_ = NULL;
- gchar* _tmp30_ = NULL;
- gchar* _tmp31_ = NULL;
+#line 3571 "Resources.c"
+ GdkScreen* _tmp28_;
+ const gchar* _tmp29_;
+ gchar* _tmp30_;
+ gchar* _tmp31_;
#line 1000 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp28_ = screen;
#line 1000 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3711,10 +3621,10 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_g_free0 (help_path);
#line 1000 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3686 "Resources.c"
+#line 3596 "Resources.c"
}
} else {
- GdkScreen* _tmp32_ = NULL;
+ GdkScreen* _tmp32_;
#line 1002 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp32_ = screen;
#line 1002 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3727,27 +3637,27 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
_g_free0 (help_path);
#line 1002 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3702 "Resources.c"
+#line 3612 "Resources.c"
}
}
#line 973 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (help_path);
-#line 3707 "Resources.c"
+#line 3617 "Resources.c"
}
gchar* resources_to_css_color (GdkRGBA* color) {
gchar* result = NULL;
gint r = 0;
- GdkRGBA _tmp0_ = {0};
- gdouble _tmp1_ = 0.0;
+ GdkRGBA _tmp0_;
+ gdouble _tmp1_;
gint g = 0;
- GdkRGBA _tmp2_ = {0};
- gdouble _tmp3_ = 0.0;
+ GdkRGBA _tmp2_;
+ gdouble _tmp3_;
gint b = 0;
- GdkRGBA _tmp4_ = {0};
- gdouble _tmp5_ = 0.0;
- gchar* _tmp6_ = NULL;
+ GdkRGBA _tmp4_;
+ gdouble _tmp5_;
+ gchar* _tmp6_;
#line 1006 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (color != NULL, NULL);
#line 1007 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3774,23 +3684,23 @@ gchar* resources_to_css_color (GdkRGBA* color) {
result = _tmp6_;
#line 1011 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3749 "Resources.c"
+#line 3659 "Resources.c"
}
void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
- GeeMap* _tmp0_ = NULL;
- GeeMap* _tmp2_ = NULL;
- GtkWidget* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+ GeeMap* _tmp0_;
+ GeeMap* _tmp2_;
+ GtkWidget* _tmp3_;
+ gboolean _tmp4_;
GtkCssProvider* styler = NULL;
- GtkCssProvider* _tmp11_ = NULL;
- GtkWidget* _tmp17_ = NULL;
- GtkStyleContext* _tmp18_ = NULL;
- GtkCssProvider* _tmp19_ = NULL;
- GeeMap* _tmp20_ = NULL;
- GtkWidget* _tmp21_ = NULL;
- GtkCssProvider* _tmp22_ = NULL;
+ GtkCssProvider* _tmp11_;
+ GtkWidget* _tmp17_;
+ GtkStyleContext* _tmp18_;
+ GtkCssProvider* _tmp19_;
+ GeeMap* _tmp20_;
+ GtkWidget* _tmp21_;
+ GtkCssProvider* _tmp22_;
GError * _inner_error_ = NULL;
#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_if_fail (GTK_IS_WIDGET (widget));
@@ -3800,15 +3710,15 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
_tmp0_ = resources_providers;
#line 1019 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 3775 "Resources.c"
- GeeHashMap* _tmp1_ = NULL;
+#line 3685 "Resources.c"
+ GeeHashMap* _tmp1_;
#line 1020 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = gee_hash_map_new (gtk_widget_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, GTK_TYPE_CSS_PROVIDER, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 1020 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (resources_providers);
#line 1020 "/home/jens/Source/shotwell/src/Resources.vala"
resources_providers = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_MAP, GeeMap);
-#line 3783 "Resources.c"
+#line 3693 "Resources.c"
}
#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = resources_providers;
@@ -3818,13 +3728,13 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
_tmp4_ = gee_map_has_key (_tmp2_, _tmp3_);
#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp4_) {
-#line 3793 "Resources.c"
- GtkWidget* _tmp5_ = NULL;
- GtkStyleContext* _tmp6_ = NULL;
- GeeMap* _tmp7_ = NULL;
- GtkWidget* _tmp8_ = NULL;
- gpointer _tmp9_ = NULL;
- GtkCssProvider* _tmp10_ = NULL;
+#line 3703 "Resources.c"
+ GtkWidget* _tmp5_;
+ GtkStyleContext* _tmp6_;
+ GeeMap* _tmp7_;
+ GtkWidget* _tmp8_;
+ gpointer _tmp9_;
+ GtkCssProvider* _tmp10_;
#line 1023 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = widget;
#line 1023 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3841,16 +3751,16 @@ 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 1023 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp10_);
-#line 3816 "Resources.c"
+#line 3726 "Resources.c"
}
#line 1025 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = gtk_css_provider_new ();
#line 1025 "/home/jens/Source/shotwell/src/Resources.vala"
styler = _tmp11_;
-#line 3822 "Resources.c"
+#line 3732 "Resources.c"
{
- GtkCssProvider* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
+ GtkCssProvider* _tmp12_;
+ const gchar* _tmp13_;
#line 1028 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = styler;
#line 1028 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3859,17 +3769,17 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
gtk_css_provider_load_from_data (_tmp12_, _tmp13_, (gssize) RESOURCES_ALL_DATA, &_inner_error_);
#line 1028 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3834 "Resources.c"
- goto __catch431_g_error;
+#line 3744 "Resources.c"
+ goto __catch432_g_error;
}
}
- goto __finally431;
- __catch431_g_error:
+ goto __finally432;
+ __catch432_g_error:
{
GError* e = NULL;
- const gchar* _tmp14_ = NULL;
- GError* _tmp15_ = NULL;
- const gchar* _tmp16_ = NULL;
+ const gchar* _tmp14_;
+ GError* _tmp15_;
+ const gchar* _tmp16_;
#line 1027 "/home/jens/Source/shotwell/src/Resources.vala"
e = _inner_error_;
#line 1027 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3888,9 +3798,9 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
_g_object_unref0 (styler);
#line 1034 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3863 "Resources.c"
+#line 3773 "Resources.c"
}
- __finally431:
+ __finally432:
#line 1027 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1027 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -3901,7 +3811,7 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
g_clear_error (&_inner_error_);
#line 1027 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3876 "Resources.c"
+#line 3786 "Resources.c"
}
#line 1037 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ = widget;
@@ -3921,7 +3831,7 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
gee_map_set (_tmp20_, _tmp21_, _tmp22_);
#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (styler);
-#line 3896 "Resources.c"
+#line 3806 "Resources.c"
}