diff options
Diffstat (limited to 'src/DesktopIntegration.c')
-rw-r--r-- | src/DesktopIntegration.c | 1154 |
1 files changed, 571 insertions, 583 deletions
diff --git a/src/DesktopIntegration.c b/src/DesktopIntegration.c index 6354479..c1e90ba 100644 --- a/src/DesktopIntegration.c +++ b/src/DesktopIntegration.c @@ -1,4 +1,4 @@ -/* DesktopIntegration.c generated by valac 0.34.7, the Vala compiler +/* DesktopIntegration.c generated by valac 0.36.6, the Vala compiler * generated from DesktopIntegration.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -417,7 +417,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio static void desktop_integration_background_slideshow_xml_builder_write_static (DesktopIntegrationBackgroundSlideshowXMLBuilder* self, GFile* file, GError** error); void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopIntegrationBackgroundSlideshowXMLBuilder* self, GFile* file, GError** error); GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegrationBackgroundSlideshowXMLBuilder* self, GError** error); -static void desktop_integration_background_slideshow_xml_builder_finalize (DesktopIntegrationBackgroundSlideshowXMLBuilder* obj); +static void desktop_integration_background_slideshow_xml_builder_finalize (DesktopIntegrationBackgroundSlideshowXMLBuilder * obj); void desktop_integration_set_background_slideshow (GeeCollection* photos, gdouble duration, gdouble transition, gboolean desktop_background, gboolean screensaver); void delete_all_files (GFile* dir, GeeSet* exceptions, ProgressMonitor monitor, void* monitor_target, guint64 file_count, GCancellable* cancellable, GError** error); void scaling_to_fill_screen (GtkWindow* window, Scaling* result); @@ -430,9 +430,9 @@ static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify void desktop_integration_init (void) { - gint _tmp0_ = 0; - gchar* _tmp1_ = NULL; - gchar* _tmp2_ = NULL; + gint _tmp0_; + gchar* _tmp1_; + gchar* _tmp2_; #line 23 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp0_ = desktop_integration_init_count; #line 23 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -456,8 +456,8 @@ void desktop_integration_init (void) { void desktop_integration_terminate (void) { - gint _tmp0_ = 0; - gint _tmp1_ = 0; + gint _tmp0_; + gint _tmp1_; #line 30 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp0_ = desktop_integration_init_count; #line 30 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -482,19 +482,19 @@ static gpointer _g_object_ref0 (gpointer self) { static gboolean string_contains (const gchar* self, const gchar* needle) { gboolean result = FALSE; - const gchar* _tmp0_ = NULL; - gchar* _tmp1_ = NULL; -#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" + const gchar* _tmp0_; + gchar* _tmp1_; +#line 1403 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" g_return_val_if_fail (self != NULL, FALSE); -#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" +#line 1403 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" g_return_val_if_fail (needle != NULL, FALSE); -#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" +#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp0_ = needle; -#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" +#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_); -#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" +#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" result = _tmp1_ != NULL; -#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" +#line 1404 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; #line 500 "DesktopIntegration.c" } @@ -503,9 +503,9 @@ static gboolean string_contains (const gchar* self, const gchar* needle) { GAppInfo* desktop_integration_get_default_app_for_mime_types (gchar** mime_types, int mime_types_length1, GeeArrayList* preferred_apps) { GAppInfo* result = NULL; SortedList* external_apps = NULL; - gchar** _tmp0_ = NULL; - gint _tmp0__length1 = 0; - SortedList* _tmp1_ = NULL; + gchar** _tmp0_; + gint _tmp0__length1; + SortedList* _tmp1_; #line 34 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_val_if_fail (GEE_IS_ARRAY_LIST (preferred_apps), NULL); #line 36 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -519,12 +519,12 @@ GAppInfo* desktop_integration_get_default_app_for_mime_types (gchar** mime_types #line 520 "DesktopIntegration.c" { GeeArrayList* _preferred_app_list = NULL; - GeeArrayList* _tmp2_ = NULL; - GeeArrayList* _tmp3_ = NULL; + GeeArrayList* _tmp2_; + GeeArrayList* _tmp3_; gint _preferred_app_size = 0; - GeeArrayList* _tmp4_ = NULL; - gint _tmp5_ = 0; - gint _tmp6_ = 0; + GeeArrayList* _tmp4_; + gint _tmp5_; + gint _tmp6_; gint _preferred_app_index = 0; #line 38 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp2_ = preferred_apps; @@ -545,13 +545,13 @@ GAppInfo* desktop_integration_get_default_app_for_mime_types (gchar** mime_types #line 38 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" while (TRUE) { #line 548 "DesktopIntegration.c" - gint _tmp7_ = 0; - gint _tmp8_ = 0; - gint _tmp9_ = 0; + gint _tmp7_; + gint _tmp8_; + gint _tmp9_; gchar* preferred_app = NULL; - GeeArrayList* _tmp10_ = NULL; - gint _tmp11_ = 0; - gpointer _tmp12_ = NULL; + GeeArrayList* _tmp10_; + gint _tmp11_; + gpointer _tmp12_; #line 38 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp7_ = _preferred_app_index; #line 38 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -577,8 +577,8 @@ GAppInfo* desktop_integration_get_default_app_for_mime_types (gchar** mime_types #line 578 "DesktopIntegration.c" { GeeIterator* _external_app_it = NULL; - SortedList* _tmp13_ = NULL; - GeeIterator* _tmp14_ = NULL; + SortedList* _tmp13_; + GeeIterator* _tmp14_; #line 39 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp13_ = external_apps; #line 39 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -588,15 +588,15 @@ GAppInfo* desktop_integration_get_default_app_for_mime_types (gchar** mime_types #line 39 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" while (TRUE) { #line 591 "DesktopIntegration.c" - GeeIterator* _tmp15_ = NULL; - gboolean _tmp16_ = FALSE; + GeeIterator* _tmp15_; + gboolean _tmp16_; GAppInfo* external_app = NULL; - GeeIterator* _tmp17_ = NULL; - gpointer _tmp18_ = NULL; - GAppInfo* _tmp19_ = NULL; - const gchar* _tmp20_ = NULL; - const gchar* _tmp21_ = NULL; - gboolean _tmp22_ = FALSE; + GeeIterator* _tmp17_; + gpointer _tmp18_; + GAppInfo* _tmp19_; + const gchar* _tmp20_; + const gchar* _tmp21_; + gboolean _tmp22_; #line 39 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp15_ = _external_app_it; #line 39 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -665,16 +665,16 @@ GAppInfo* desktop_integration_get_default_app_for_mime_types (gchar** mime_types gint64 desktop_integration_app_info_comparator (void* a, void* b) { gint64 result = 0LL; - void* _tmp0_ = NULL; - const gchar* _tmp1_ = NULL; - gchar* _tmp2_ = NULL; - gchar* _tmp3_ = NULL; - void* _tmp4_ = NULL; - const gchar* _tmp5_ = NULL; - gchar* _tmp6_ = NULL; - gchar* _tmp7_ = NULL; - gint _tmp8_ = 0; - gint64 _tmp9_ = 0LL; + void* _tmp0_; + const gchar* _tmp1_; + gchar* _tmp2_; + gchar* _tmp3_; + void* _tmp4_; + const gchar* _tmp5_; + gchar* _tmp6_; + gchar* _tmp7_; + gint _tmp8_; + gint64 _tmp9_; #line 50 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp0_ = a; #line 50 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -735,11 +735,11 @@ static void _g_list_free__g_object_unref0_ (GList* self) { SortedList* desktop_integration_get_apps_for_mime_types (gchar** mime_types, int mime_types_length1) { SortedList* result = NULL; SortedList* external_apps = NULL; - SortedList* _tmp0_ = NULL; - gchar** _tmp1_ = NULL; - gint _tmp1__length1 = 0; - gchar** _tmp2_ = NULL; - gint _tmp2__length1 = 0; + SortedList* _tmp0_; + gchar** _tmp1_; + gint _tmp1__length1; + gchar** _tmp2_; + gint _tmp2__length1; #line 54 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp0_ = sorted_list_new (g_app_info_get_type (), (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _desktop_integration_app_info_comparator_comparator, NULL); #line 54 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -773,7 +773,7 @@ SortedList* desktop_integration_get_apps_for_mime_types (gchar** mime_types, int #line 61 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" for (mime_type_it = 0; mime_type_it < _tmp2__length1; mime_type_it = mime_type_it + 1) { #line 776 "DesktopIntegration.c" - gchar* _tmp3_ = NULL; + gchar* _tmp3_; gchar* mime_type = NULL; #line 61 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp3_ = g_strdup (mime_type_collection[mime_type_it]); @@ -782,11 +782,11 @@ SortedList* desktop_integration_get_apps_for_mime_types (gchar** mime_types, int #line 783 "DesktopIntegration.c" { gchar* content_type = NULL; - const gchar* _tmp4_ = NULL; - gchar* _tmp5_ = NULL; - const gchar* _tmp6_ = NULL; - const gchar* _tmp7_ = NULL; - GList* _tmp8_ = NULL; + const gchar* _tmp4_; + gchar* _tmp5_; + const gchar* _tmp6_; + const gchar* _tmp7_; + GList* _tmp8_; #line 62 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp4_ = mime_type; #line 62 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -818,7 +818,7 @@ SortedList* desktop_integration_get_apps_for_mime_types (gchar** mime_types, int #line 66 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" for (external_app_it = external_app_collection; external_app_it != NULL; external_app_it = external_app_it->next) { #line 821 "DesktopIntegration.c" - GAppInfo* _tmp9_ = NULL; + GAppInfo* _tmp9_; GAppInfo* external_app = NULL; #line 66 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp9_ = _g_object_ref0 ((GAppInfo*) external_app_it->data); @@ -828,14 +828,14 @@ SortedList* desktop_integration_get_apps_for_mime_types (gchar** mime_types, int { gboolean already_contains = FALSE; gboolean _tmp20_ = FALSE; - gboolean _tmp21_ = FALSE; + gboolean _tmp21_; #line 68 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" already_contains = FALSE; #line 835 "DesktopIntegration.c" { GeeIterator* _app_it = NULL; - SortedList* _tmp10_ = NULL; - GeeIterator* _tmp11_ = NULL; + SortedList* _tmp10_; + GeeIterator* _tmp11_; #line 70 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp10_ = external_apps; #line 70 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -845,15 +845,15 @@ SortedList* desktop_integration_get_apps_for_mime_types (gchar** mime_types, int #line 70 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" while (TRUE) { #line 848 "DesktopIntegration.c" - GeeIterator* _tmp12_ = NULL; - gboolean _tmp13_ = FALSE; + GeeIterator* _tmp12_; + gboolean _tmp13_; GAppInfo* app = NULL; - GeeIterator* _tmp14_ = NULL; - gpointer _tmp15_ = NULL; - GAppInfo* _tmp16_ = NULL; - const gchar* _tmp17_ = NULL; - GAppInfo* _tmp18_ = NULL; - const gchar* _tmp19_ = NULL; + GeeIterator* _tmp14_; + gpointer _tmp15_; + GAppInfo* _tmp16_; + const gchar* _tmp17_; + GAppInfo* _tmp18_; + const gchar* _tmp19_; #line 70 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp12_ = _app_it; #line 70 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -901,9 +901,9 @@ SortedList* desktop_integration_get_apps_for_mime_types (gchar** mime_types, int #line 78 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (!_tmp21_) { #line 904 "DesktopIntegration.c" - GAppInfo* _tmp22_ = NULL; - const gchar* _tmp23_ = NULL; - gboolean _tmp24_ = FALSE; + GAppInfo* _tmp22_; + const gchar* _tmp23_; + gboolean _tmp24_; #line 78 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp22_ = external_app; #line 78 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -921,8 +921,8 @@ SortedList* desktop_integration_get_apps_for_mime_types (gchar** mime_types, int #line 78 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp20_) { #line 924 "DesktopIntegration.c" - SortedList* _tmp25_ = NULL; - GAppInfo* _tmp26_ = NULL; + SortedList* _tmp25_; + GAppInfo* _tmp26_; #line 79 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp25_ = external_apps; #line 79 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -959,12 +959,12 @@ SortedList* desktop_integration_get_apps_for_mime_types (gchar** mime_types, int gchar* desktop_integration_get_app_open_command (GAppInfo* app_info) { gchar* result = NULL; gchar* str = NULL; - GAppInfo* _tmp0_ = NULL; - const gchar* _tmp1_ = NULL; - gchar* _tmp2_ = NULL; + GAppInfo* _tmp0_; + const gchar* _tmp1_; + gchar* _tmp2_; const gchar* _tmp3_ = NULL; - const gchar* _tmp4_ = NULL; - gchar* _tmp8_ = NULL; + const gchar* _tmp4_; + gchar* _tmp8_; #line 86 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_val_if_fail (G_IS_APP_INFO (app_info), NULL); #line 87 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -980,15 +980,15 @@ gchar* desktop_integration_get_app_open_command (GAppInfo* app_info) { #line 89 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp4_ != NULL) { #line 983 "DesktopIntegration.c" - const gchar* _tmp5_ = NULL; + const gchar* _tmp5_; #line 89 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp5_ = str; #line 89 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp3_ = _tmp5_; #line 989 "DesktopIntegration.c" } else { - GAppInfo* _tmp6_ = NULL; - const gchar* _tmp7_ = NULL; + GAppInfo* _tmp6_; + const gchar* _tmp7_; #line 89 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp6_ = app_info; #line 89 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1011,7 +1011,7 @@ gchar* desktop_integration_get_app_open_command (GAppInfo* app_info) { gboolean desktop_integration_is_send_to_installed (void) { gboolean result = FALSE; - gboolean _tmp0_ = FALSE; + gboolean _tmp0_; #line 93 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp0_ = desktop_integration_send_to_installed; #line 93 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1023,18 +1023,18 @@ gboolean desktop_integration_is_send_to_installed (void) { void desktop_integration_files_send_to (GFile** files, int files_length1) { - GFile** _tmp0_ = NULL; - gint _tmp0__length1 = 0; + GFile** _tmp0_; + gint _tmp0__length1; gchar** argv = NULL; - GFile** _tmp1_ = NULL; - gint _tmp1__length1 = 0; - gchar** _tmp2_ = NULL; - gint argv_length1 = 0; - gint _argv_size_ = 0; - gchar** _tmp3_ = NULL; - gint _tmp3__length1 = 0; - gchar* _tmp4_ = NULL; - gchar* _tmp5_ = NULL; + GFile** _tmp1_; + gint _tmp1__length1; + gchar** _tmp2_; + gint argv_length1; + gint _argv_size_; + gchar** _tmp3_; + gint _tmp3__length1; + gchar* _tmp4_; + gchar* _tmp5_; GError * _inner_error_ = NULL; #line 97 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp0_ = files; @@ -1083,22 +1083,22 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) { #line 103 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" while (TRUE) { #line 1086 "DesktopIntegration.c" - gint _tmp8_ = 0; - GFile** _tmp9_ = NULL; - gint _tmp9__length1 = 0; - gchar** _tmp10_ = NULL; - gint _tmp10__length1 = 0; - gint _tmp11_ = 0; - GFile** _tmp12_ = NULL; - gint _tmp12__length1 = 0; - gint _tmp13_ = 0; - GFile* _tmp14_ = NULL; - gchar* _tmp15_ = NULL; - gchar* _tmp16_ = NULL; + gint _tmp8_; + GFile** _tmp9_; + gint _tmp9__length1; + gchar** _tmp10_; + gint _tmp10__length1; + gint _tmp11_; + GFile** _tmp12_; + gint _tmp12__length1; + gint _tmp13_; + GFile* _tmp14_; + gchar* _tmp15_; + gchar* _tmp16_; #line 103 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (!_tmp6_) { #line 1101 "DesktopIntegration.c" - gint _tmp7_ = 0; + gint _tmp7_; #line 103 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp7_ = ctr; #line 103 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1146,14 +1146,14 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) { } } { - AppWindow* _tmp17_ = NULL; - AppWindow* _tmp18_ = NULL; + AppWindow* _tmp17_; + AppWindow* _tmp18_; GPid child_pid = 0; - gchar** _tmp19_ = NULL; - gint _tmp19__length1 = 0; + gchar** _tmp19_; + gint _tmp19__length1; GPid _tmp20_ = 0; - AppWindow* _tmp21_ = NULL; - AppWindow* _tmp22_ = NULL; + AppWindow* _tmp21_; + AppWindow* _tmp22_; #line 107 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp17_ = app_window_get_instance (); #line 107 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1173,7 +1173,7 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) { #line 110 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1176 "DesktopIntegration.c" - goto __catch566_g_error; + goto __catch568_g_error; } #line 118 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp21_ = app_window_get_instance (); @@ -1185,17 +1185,16 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) { _g_object_unref0 (_tmp22_); #line 1187 "DesktopIntegration.c" } - goto __finally566; - __catch566_g_error: + goto __finally568; + __catch568_g_error: { GError* err = NULL; - AppWindow* _tmp23_ = NULL; - AppWindow* _tmp24_ = NULL; - const gchar* _tmp25_ = NULL; - GError* _tmp26_ = NULL; - const gchar* _tmp27_ = NULL; - gchar* _tmp28_ = NULL; - gchar* _tmp29_ = NULL; + AppWindow* _tmp23_; + AppWindow* _tmp24_; + GError* _tmp25_; + const gchar* _tmp26_; + gchar* _tmp27_; + gchar* _tmp28_; #line 106 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" err = _inner_error_; #line 106 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1209,24 +1208,22 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) { #line 120 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (_tmp24_); #line 121 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp25_ = _ ("Unable to launch Nautilus Send-To: %s"); -#line 121 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp26_ = err; + _tmp25_ = err; #line 121 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp27_ = _tmp26_->message; + _tmp26_ = _tmp25_->message; #line 121 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp28_ = g_strdup_printf (_tmp25_, _tmp27_); + _tmp27_ = g_strdup_printf (_ ("Unable to launch Nautilus Send-To: %s"), _tmp26_); #line 121 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp29_ = _tmp28_; + _tmp28_ = _tmp27_; #line 121 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - app_window_error_message (_tmp29_, NULL); + app_window_error_message (_tmp28_, NULL); #line 121 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp29_); + _g_free0 (_tmp28_); #line 106 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_error_free0 (err); -#line 1228 "DesktopIntegration.c" +#line 1225 "DesktopIntegration.c" } - __finally566: + __finally568: #line 106 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 106 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1237,49 +1234,48 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) { g_clear_error (&_inner_error_); #line 106 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1241 "DesktopIntegration.c" +#line 1238 "DesktopIntegration.c" } #line 96 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL); -#line 1245 "DesktopIntegration.c" +#line 1242 "DesktopIntegration.c" } static void _desktop_integration_on_send_to_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) { #line 135 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_on_send_to_export_completed (exporter, is_cancelled); -#line 1252 "DesktopIntegration.c" +#line 1249 "DesktopIntegration.c" } void desktop_integration_send_to (GeeCollection* media) { gboolean _tmp0_ = FALSE; - GeeCollection* _tmp1_ = NULL; - gint _tmp2_ = 0; - gint _tmp3_ = 0; + GeeCollection* _tmp1_; + gint _tmp2_; + gint _tmp3_; ExportDialog* dialog = NULL; - const gchar* _tmp5_ = NULL; - ExportDialog* _tmp6_ = NULL; - gboolean _tmp7_ = FALSE; - GeeCollection* _tmp8_ = NULL; - gboolean _tmp9_ = FALSE; + ExportDialog* _tmp5_; + gboolean _tmp6_ = FALSE; + GeeCollection* _tmp7_; + gboolean _tmp8_; gint scale = 0; ScaleConstraint constraint = 0; ExportFormatParameters export_params = {0}; - ExportFormatParameters _tmp14_ = {0}; - ExportDialog* _tmp15_ = NULL; - gint _tmp16_ = 0; - ScaleConstraint _tmp17_ = 0; - gboolean _tmp18_ = FALSE; - GeeCollection* _tmp19_ = NULL; - ScaleConstraint _tmp20_ = 0; - gint _tmp21_ = 0; - Scaling _tmp22_ = {0}; - ExportFormatParameters _tmp23_ = {0}; - Exporter* _tmp24_ = NULL; - Exporter* _tmp25_ = NULL; - ExporterUI* _tmp26_ = NULL; - ExporterUI* _tmp27_ = NULL; + ExportFormatParameters _tmp13_ = {0}; + ExportDialog* _tmp14_; + gint _tmp15_ = 0; + ScaleConstraint _tmp16_ = 0; + gboolean _tmp17_; + GeeCollection* _tmp18_; + ScaleConstraint _tmp19_; + gint _tmp20_; + Scaling _tmp21_ = {0}; + ExportFormatParameters _tmp22_; + Exporter* _tmp23_; + Exporter* _tmp24_; + ExporterUI* _tmp25_; + ExporterUI* _tmp26_; #line 125 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (GEE_IS_COLLECTION (media)); #line 126 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1292,135 +1288,133 @@ void desktop_integration_send_to (GeeCollection* media) { if (_tmp3_ == 0) { #line 126 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp0_ = TRUE; -#line 1296 "DesktopIntegration.c" +#line 1292 "DesktopIntegration.c" } else { - ExporterUI* _tmp4_ = NULL; + ExporterUI* _tmp4_; #line 126 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp4_ = desktop_integration_send_to_exporter; #line 126 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp0_ = _tmp4_ != NULL; -#line 1303 "DesktopIntegration.c" +#line 1299 "DesktopIntegration.c" } #line 126 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp0_) { #line 127 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1309 "DesktopIntegration.c" +#line 1305 "DesktopIntegration.c" } #line 129 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp5_ = _ ("Send To"); -#line 129 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp6_ = export_dialog_new (_tmp5_); + _tmp5_ = export_dialog_new (_ ("Send To")); #line 129 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - g_object_ref_sink (_tmp6_); + g_object_ref_sink (_tmp5_); #line 129 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - dialog = _tmp6_; + dialog = _tmp5_; #line 134 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp8_ = media; + _tmp7_ = media; #line 134 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp9_ = media_source_collection_has_video (_tmp8_); + _tmp8_ = media_source_collection_has_video (_tmp7_); #line 134 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - if (_tmp9_) { -#line 1325 "DesktopIntegration.c" - GeeCollection* _tmp10_ = NULL; - gboolean _tmp11_ = FALSE; + if (_tmp8_) { +#line 1319 "DesktopIntegration.c" + GeeCollection* _tmp9_; + gboolean _tmp10_; #line 134 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp10_ = media; + _tmp9_ = media; #line 134 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp11_ = media_source_collection_has_photo (_tmp10_); + _tmp10_ = media_source_collection_has_photo (_tmp9_); #line 134 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp7_ = !_tmp11_; -#line 1334 "DesktopIntegration.c" + _tmp6_ = !_tmp10_; +#line 1328 "DesktopIntegration.c" } else { #line 134 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp7_ = FALSE; -#line 1338 "DesktopIntegration.c" + _tmp6_ = FALSE; +#line 1332 "DesktopIntegration.c" } #line 134 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - if (_tmp7_) { -#line 1342 "DesktopIntegration.c" - GeeCollection* _tmp12_ = NULL; - ExporterUI* _tmp13_ = NULL; + if (_tmp6_) { +#line 1336 "DesktopIntegration.c" + GeeCollection* _tmp11_; + ExporterUI* _tmp12_; #line 135 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp12_ = media; + _tmp11_ = media; #line 135 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp13_ = video_export_many (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_COLLECTION, GeeCollection), _desktop_integration_on_send_to_export_completed_exporter_completion_callback, NULL, TRUE); + _tmp12_ = video_export_many (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_COLLECTION, GeeCollection), _desktop_integration_on_send_to_export_completed_exporter_completion_callback, NULL, TRUE); #line 135 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _exporter_ui_unref0 (desktop_integration_send_to_exporter); #line 135 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - desktop_integration_send_to_exporter = _tmp13_; + desktop_integration_send_to_exporter = _tmp12_; #line 137 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (dialog); #line 137 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1357 "DesktopIntegration.c" +#line 1351 "DesktopIntegration.c" } #line 142 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - export_format_parameters_current (&_tmp14_); + export_format_parameters_current (&_tmp13_); #line 142 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - export_params = _tmp14_; + export_params = _tmp13_; #line 143 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp15_ = dialog; + _tmp14_ = dialog; #line 143 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp18_ = export_dialog_execute (_tmp15_, &_tmp16_, &_tmp17_, &export_params); + _tmp17_ = export_dialog_execute (_tmp14_, &_tmp15_, &_tmp16_, &export_params); #line 143 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - scale = _tmp16_; + scale = _tmp15_; #line 143 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - constraint = _tmp17_; + constraint = _tmp16_; #line 143 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - if (!_tmp18_) { + if (!_tmp17_) { #line 144 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (dialog); #line 144 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1377 "DesktopIntegration.c" +#line 1371 "DesktopIntegration.c" } #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp19_ = media; + _tmp18_ = media; #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp20_ = constraint; + _tmp19_ = constraint; #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp21_ = scale; + _tmp20_ = scale; #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - scaling_for_constraint (_tmp20_, _tmp21_, FALSE, &_tmp22_); + scaling_for_constraint (_tmp19_, _tmp20_, FALSE, &_tmp21_); #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp23_ = export_params; + _tmp22_ = export_params; #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp24_ = exporter_new_for_temp_file (_tmp19_, &_tmp22_, &_tmp23_); + _tmp23_ = exporter_new_for_temp_file (_tmp18_, &_tmp21_, &_tmp22_); #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp25_ = _tmp24_; + _tmp24_ = _tmp23_; #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp26_ = exporter_ui_new (_tmp25_); + _tmp25_ = exporter_ui_new (_tmp24_); #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _exporter_ui_unref0 (desktop_integration_send_to_exporter); #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - desktop_integration_send_to_exporter = _tmp26_; + desktop_integration_send_to_exporter = _tmp25_; #line 146 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_object_unref0 (_tmp25_); + _g_object_unref0 (_tmp24_); #line 148 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp27_ = desktop_integration_send_to_exporter; + _tmp26_ = desktop_integration_send_to_exporter; #line 148 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - exporter_ui_export (_tmp27_, _desktop_integration_on_send_to_export_completed_exporter_completion_callback, NULL); + exporter_ui_export (_tmp26_, _desktop_integration_on_send_to_export_completed_exporter_completion_callback, NULL); #line 125 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (dialog); -#line 1407 "DesktopIntegration.c" +#line 1401 "DesktopIntegration.c" } void desktop_integration_on_send_to_export_completed (Exporter* exporter, gboolean is_cancelled) { - gboolean _tmp0_ = FALSE; + gboolean _tmp0_; #line 151 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (IS_EXPORTER (exporter)); #line 152 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp0_ = is_cancelled; #line 152 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (!_tmp0_) { -#line 1419 "DesktopIntegration.c" - Exporter* _tmp1_ = NULL; - gint _tmp2_ = 0; - GFile** _tmp3_ = NULL; - GFile** _tmp4_ = NULL; - gint _tmp4__length1 = 0; +#line 1413 "DesktopIntegration.c" + Exporter* _tmp1_; + gint _tmp2_; + GFile** _tmp3_; + GFile** _tmp4_; + gint _tmp4__length1; #line 153 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = exporter; #line 153 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1433,41 +1427,41 @@ void desktop_integration_on_send_to_export_completed (Exporter* exporter, gboole desktop_integration_files_send_to (_tmp4_, _tmp2_); #line 153 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp4_ = (_vala_array_free (_tmp4_, _tmp4__length1, (GDestroyNotify) g_object_unref), NULL); -#line 1437 "DesktopIntegration.c" +#line 1431 "DesktopIntegration.c" } #line 155 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _exporter_ui_unref0 (desktop_integration_send_to_exporter); #line 155 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_send_to_exporter = NULL; -#line 1443 "DesktopIntegration.c" +#line 1437 "DesktopIntegration.c" } void desktop_integration_set_background (Photo* photo, gboolean desktop, gboolean screensaver) { PhotoFileFormat file_format = 0; - Photo* _tmp0_ = NULL; - PhotoFileFormat _tmp1_ = 0; + Photo* _tmp0_; + PhotoFileFormat _tmp1_; GFile* save_as = NULL; - GFile* _tmp2_ = NULL; - GFile* _tmp3_ = NULL; - PhotoFileFormat _tmp4_ = 0; - gchar* _tmp5_ = NULL; - gchar* _tmp6_ = NULL; - GFile* _tmp7_ = NULL; - GFile* _tmp8_ = NULL; - ConfigFacade* _tmp9_ = NULL; - ConfigFacade* _tmp10_ = NULL; - gchar* _tmp11_ = NULL; - gchar* _tmp12_ = NULL; - GFile* _tmp13_ = NULL; - gchar* _tmp14_ = NULL; - gchar* _tmp15_ = NULL; - gboolean _tmp16_ = FALSE; - gboolean _tmp35_ = FALSE; - gboolean _tmp41_ = FALSE; - GFile* _tmp47_ = NULL; - gchar* _tmp48_ = NULL; - gchar* _tmp49_ = NULL; + GFile* _tmp2_; + GFile* _tmp3_; + PhotoFileFormat _tmp4_; + gchar* _tmp5_; + gchar* _tmp6_; + GFile* _tmp7_; + GFile* _tmp8_; + ConfigFacade* _tmp9_; + ConfigFacade* _tmp10_; + gchar* _tmp11_; + gchar* _tmp12_; + GFile* _tmp13_; + gchar* _tmp14_; + gchar* _tmp15_; + gboolean _tmp16_; + gboolean _tmp34_; + gboolean _tmp40_; + GFile* _tmp46_; + gchar* _tmp47_; + gchar* _tmp48_; GError * _inner_error_ = NULL; #line 158 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (IS_PHOTO (photo)); @@ -1521,13 +1515,13 @@ void desktop_integration_set_background (Photo* photo, gboolean desktop, gboolea _g_object_unref0 (_tmp10_); #line 166 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp16_) { -#line 1525 "DesktopIntegration.c" - GFile* _tmp17_ = NULL; - GFile* _tmp18_ = NULL; - PhotoFileFormat _tmp19_ = 0; - gchar* _tmp20_ = NULL; - gchar* _tmp21_ = NULL; - GFile* _tmp22_ = NULL; +#line 1519 "DesktopIntegration.c" + GFile* _tmp17_; + GFile* _tmp18_; + PhotoFileFormat _tmp19_; + gchar* _tmp20_; + gchar* _tmp21_; + GFile* _tmp22_; #line 167 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp17_ = app_dirs_get_data_subdir ("wallpaper", NULL); #line 167 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1548,13 +1542,13 @@ void desktop_integration_set_background (Photo* photo, gboolean desktop, gboolea _g_free0 (_tmp21_); #line 167 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (_tmp18_); -#line 1552 "DesktopIntegration.c" +#line 1546 "DesktopIntegration.c" } { - Photo* _tmp23_ = NULL; - GFile* _tmp24_ = NULL; + Photo* _tmp23_; + GFile* _tmp24_; Scaling _tmp25_ = {0}; - PhotoFileFormat _tmp26_ = 0; + PhotoFileFormat _tmp26_; #line 172 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp23_ = photo; #line 172 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1567,57 +1561,54 @@ void desktop_integration_set_background (Photo* photo, gboolean desktop, gboolea photo_export (_tmp23_, _tmp24_, &_tmp25_, JPEG_QUALITY_HIGH, _tmp26_, FALSE, TRUE, &_inner_error_); #line 172 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1571 "DesktopIntegration.c" - goto __catch567_g_error; +#line 1565 "DesktopIntegration.c" + goto __catch569_g_error; } } - goto __finally567; - __catch567_g_error: + goto __finally569; + __catch569_g_error: { GError* err = NULL; - const gchar* _tmp27_ = NULL; - GFile* _tmp28_ = NULL; - gchar* _tmp29_ = NULL; - gchar* _tmp30_ = NULL; - GError* _tmp31_ = NULL; - const gchar* _tmp32_ = NULL; - gchar* _tmp33_ = NULL; - gchar* _tmp34_ = NULL; + GFile* _tmp27_; + gchar* _tmp28_; + gchar* _tmp29_; + GError* _tmp30_; + const gchar* _tmp31_; + gchar* _tmp32_; + gchar* _tmp33_; #line 171 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" err = _inner_error_; #line 171 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _inner_error_ = NULL; #line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp27_ = _ ("Unable to export background to %s: %s"); -#line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp28_ = save_as; + _tmp27_ = save_as; #line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp29_ = g_file_get_path (_tmp28_); + _tmp28_ = g_file_get_path (_tmp27_); #line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp30_ = _tmp29_; + _tmp29_ = _tmp28_; #line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp31_ = err; + _tmp30_ = err; #line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp32_ = _tmp31_->message; + _tmp31_ = _tmp30_->message; #line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp33_ = g_strdup_printf (_tmp27_, _tmp30_, _tmp32_); + _tmp32_ = g_strdup_printf (_ ("Unable to export background to %s: %s"), _tmp29_, _tmp31_); #line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp34_ = _tmp33_; + _tmp33_ = _tmp32_; #line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - app_window_error_message (_tmp34_, NULL); + app_window_error_message (_tmp33_, NULL); #line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp34_); + _g_free0 (_tmp33_); #line 174 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp30_); + _g_free0 (_tmp29_); #line 177 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_error_free0 (err); #line 177 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (save_as); #line 177 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1619 "DesktopIntegration.c" +#line 1610 "DesktopIntegration.c" } - __finally567: + __finally569: #line 171 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 171 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1628,95 +1619,95 @@ void desktop_integration_set_background (Photo* photo, gboolean desktop, gboolea g_clear_error (&_inner_error_); #line 171 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1632 "DesktopIntegration.c" +#line 1623 "DesktopIntegration.c" } #line 180 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp35_ = desktop; + _tmp34_ = desktop; #line 180 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - if (_tmp35_) { -#line 1638 "DesktopIntegration.c" - ConfigFacade* _tmp36_ = NULL; - ConfigFacade* _tmp37_ = NULL; - GFile* _tmp38_ = NULL; - gchar* _tmp39_ = NULL; - gchar* _tmp40_ = NULL; + if (_tmp34_) { +#line 1629 "DesktopIntegration.c" + ConfigFacade* _tmp35_; + ConfigFacade* _tmp36_; + GFile* _tmp37_; + gchar* _tmp38_; + gchar* _tmp39_; #line 181 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp36_ = config_facade_get_instance (); + _tmp35_ = config_facade_get_instance (); #line 181 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp37_ = _tmp36_; + _tmp36_ = _tmp35_; #line 181 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp38_ = save_as; + _tmp37_ = save_as; #line 181 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp39_ = g_file_get_path (_tmp38_); + _tmp38_ = g_file_get_path (_tmp37_); #line 181 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp40_ = _tmp39_; + _tmp39_ = _tmp38_; #line 181 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - configuration_facade_set_desktop_background (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp40_); + configuration_facade_set_desktop_background (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp39_); #line 181 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp40_); + _g_free0 (_tmp39_); #line 181 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_object_unref0 (_tmp37_); -#line 1660 "DesktopIntegration.c" + _g_object_unref0 (_tmp36_); +#line 1651 "DesktopIntegration.c" } #line 183 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp41_ = screensaver; + _tmp40_ = screensaver; #line 183 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - if (_tmp41_) { -#line 1666 "DesktopIntegration.c" - ConfigFacade* _tmp42_ = NULL; - ConfigFacade* _tmp43_ = NULL; - GFile* _tmp44_ = NULL; - gchar* _tmp45_ = NULL; - gchar* _tmp46_ = NULL; + if (_tmp40_) { +#line 1657 "DesktopIntegration.c" + ConfigFacade* _tmp41_; + ConfigFacade* _tmp42_; + GFile* _tmp43_; + gchar* _tmp44_; + gchar* _tmp45_; #line 184 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp42_ = config_facade_get_instance (); + _tmp41_ = config_facade_get_instance (); #line 184 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp43_ = _tmp42_; + _tmp42_ = _tmp41_; #line 184 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp44_ = save_as; + _tmp43_ = save_as; #line 184 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp45_ = g_file_get_path (_tmp44_); + _tmp44_ = g_file_get_path (_tmp43_); #line 184 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp46_ = _tmp45_; + _tmp45_ = _tmp44_; #line 184 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - configuration_facade_set_screensaver (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp46_); + configuration_facade_set_screensaver (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp45_); #line 184 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp46_); + _g_free0 (_tmp45_); #line 184 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_object_unref0 (_tmp43_); -#line 1688 "DesktopIntegration.c" + _g_object_unref0 (_tmp42_); +#line 1679 "DesktopIntegration.c" } #line 187 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp47_ = save_as; + _tmp46_ = save_as; #line 187 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp48_ = g_file_get_parse_name (_tmp47_); + _tmp47_ = g_file_get_parse_name (_tmp46_); #line 187 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp49_ = _tmp48_; + _tmp48_ = _tmp47_; #line 187 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - g_chmod (_tmp49_, 0644); + g_chmod (_tmp48_, 0644); #line 187 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp49_); + _g_free0 (_tmp48_); #line 158 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (save_as); -#line 1702 "DesktopIntegration.c" +#line 1693 "DesktopIntegration.c" } DesktopIntegrationBackgroundSlideshowXMLBuilder* desktop_integration_background_slideshow_xml_builder_construct (GType object_type, GFile* destination, gdouble duration, gdouble transition) { DesktopIntegrationBackgroundSlideshowXMLBuilder* self = NULL; - GFile* _tmp0_ = NULL; - GFile* _tmp1_ = NULL; - gdouble _tmp2_ = 0.0; - gdouble _tmp3_ = 0.0; - GFile* _tmp4_ = NULL; - GFile* _tmp5_ = NULL; - GFile* _tmp6_ = NULL; - GFile* _tmp7_ = NULL; - gchar* _tmp8_ = NULL; - gchar* _tmp9_ = NULL; - gchar* _tmp10_ = NULL; - gchar* _tmp11_ = NULL; - GFile* _tmp12_ = NULL; + GFile* _tmp0_; + GFile* _tmp1_; + gdouble _tmp2_; + gdouble _tmp3_; + GFile* _tmp4_; + GFile* _tmp5_; + GFile* _tmp6_; + GFile* _tmp7_; + gchar* _tmp8_; + gchar* _tmp9_; + gchar* _tmp10_; + gchar* _tmp11_; + GFile* _tmp12_; #line 202 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_val_if_fail (G_IS_FILE (destination), NULL); #line 202 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1767,23 +1758,23 @@ DesktopIntegrationBackgroundSlideshowXMLBuilder* desktop_integration_background_ _g_object_unref0 (_tmp6_); #line 202 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return self; -#line 1771 "DesktopIntegration.c" +#line 1762 "DesktopIntegration.c" } DesktopIntegrationBackgroundSlideshowXMLBuilder* desktop_integration_background_slideshow_xml_builder_new (GFile* destination, gdouble duration, gdouble transition) { #line 202 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return desktop_integration_background_slideshow_xml_builder_construct (DESKTOP_INTEGRATION_TYPE_BACKGROUND_SLIDESHOW_XML_BUILDER, destination, duration, transition); -#line 1778 "DesktopIntegration.c" +#line 1769 "DesktopIntegration.c" } void desktop_integration_background_slideshow_xml_builder_open (DesktopIntegrationBackgroundSlideshowXMLBuilder* self, GError** error) { GFileOutputStream* _tmp0_ = NULL; - GFile* _tmp1_ = NULL; - GFileOutputStream* _tmp2_ = NULL; - GDataOutputStream* _tmp3_ = NULL; - GDataOutputStream* _tmp4_ = NULL; + GFile* _tmp1_; + GFileOutputStream* _tmp2_; + GDataOutputStream* _tmp3_; + GDataOutputStream* _tmp4_; GError * _inner_error_ = NULL; #line 210 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (DESKTOP_INTEGRATION_IS_BACKGROUND_SLIDESHOW_XML_BUILDER (self)); @@ -1799,7 +1790,7 @@ void desktop_integration_background_slideshow_xml_builder_open (DesktopIntegrati g_propagate_error (error, _inner_error_); #line 211 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1803 "DesktopIntegration.c" +#line 1794 "DesktopIntegration.c" } #line 211 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp3_ = g_data_output_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_output_stream_get_type (), GOutputStream)); @@ -1819,37 +1810,37 @@ void desktop_integration_background_slideshow_xml_builder_open (DesktopIntegrati _g_object_unref0 (_tmp0_); #line 212 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1823 "DesktopIntegration.c" +#line 1814 "DesktopIntegration.c" } #line 210 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (_tmp0_); -#line 1827 "DesktopIntegration.c" +#line 1818 "DesktopIntegration.c" } static void desktop_integration_background_slideshow_xml_builder_write_transition (DesktopIntegrationBackgroundSlideshowXMLBuilder* self, GFile* from, GFile* to, GError** error) { - GDataOutputStream* _tmp0_ = NULL; - GDataOutputStream* _tmp1_ = NULL; - gdouble _tmp2_ = 0.0; - gchar* _tmp3_ = NULL; - gchar* _tmp4_ = NULL; - GDataOutputStream* _tmp5_ = NULL; - GFile* _tmp6_ = NULL; - gchar* _tmp7_ = NULL; - gchar* _tmp8_ = NULL; - gchar* _tmp9_ = NULL; - gchar* _tmp10_ = NULL; - gchar* _tmp11_ = NULL; - gchar* _tmp12_ = NULL; - GDataOutputStream* _tmp13_ = NULL; - GFile* _tmp14_ = NULL; - gchar* _tmp15_ = NULL; - gchar* _tmp16_ = NULL; - gchar* _tmp17_ = NULL; - gchar* _tmp18_ = NULL; - gchar* _tmp19_ = NULL; - gchar* _tmp20_ = NULL; - GDataOutputStream* _tmp21_ = NULL; + GDataOutputStream* _tmp0_; + GDataOutputStream* _tmp1_; + gdouble _tmp2_; + gchar* _tmp3_; + gchar* _tmp4_; + GDataOutputStream* _tmp5_; + GFile* _tmp6_; + gchar* _tmp7_; + gchar* _tmp8_; + gchar* _tmp9_; + gchar* _tmp10_; + gchar* _tmp11_; + gchar* _tmp12_; + GDataOutputStream* _tmp13_; + GFile* _tmp14_; + gchar* _tmp15_; + gchar* _tmp16_; + gchar* _tmp17_; + gchar* _tmp18_; + gchar* _tmp19_; + gchar* _tmp20_; + GDataOutputStream* _tmp21_; GError * _inner_error_ = NULL; #line 215 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (DESKTOP_INTEGRATION_IS_BACKGROUND_SLIDESHOW_XML_BUILDER (self)); @@ -1867,7 +1858,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio g_propagate_error (error, _inner_error_); #line 216 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1871 "DesktopIntegration.c" +#line 1862 "DesktopIntegration.c" } #line 217 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = self->priv->outs; @@ -1887,7 +1878,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio g_propagate_error (error, _inner_error_); #line 217 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1891 "DesktopIntegration.c" +#line 1882 "DesktopIntegration.c" } #line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp5_ = self->priv->outs; @@ -1919,7 +1910,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio g_propagate_error (error, _inner_error_); #line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1923 "DesktopIntegration.c" +#line 1914 "DesktopIntegration.c" } #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp13_ = self->priv->outs; @@ -1951,7 +1942,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio g_propagate_error (error, _inner_error_); #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1955 "DesktopIntegration.c" +#line 1946 "DesktopIntegration.c" } #line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp21_ = self->priv->outs; @@ -1963,26 +1954,26 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio g_propagate_error (error, _inner_error_); #line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1967 "DesktopIntegration.c" +#line 1958 "DesktopIntegration.c" } } static void desktop_integration_background_slideshow_xml_builder_write_static (DesktopIntegrationBackgroundSlideshowXMLBuilder* self, GFile* file, GError** error) { - GDataOutputStream* _tmp0_ = NULL; - GDataOutputStream* _tmp1_ = NULL; - gdouble _tmp2_ = 0.0; - gchar* _tmp3_ = NULL; - gchar* _tmp4_ = NULL; - GDataOutputStream* _tmp5_ = NULL; - GFile* _tmp6_ = NULL; - gchar* _tmp7_ = NULL; - gchar* _tmp8_ = NULL; - gchar* _tmp9_ = NULL; - gchar* _tmp10_ = NULL; - gchar* _tmp11_ = NULL; - gchar* _tmp12_ = NULL; - GDataOutputStream* _tmp13_ = NULL; + GDataOutputStream* _tmp0_; + GDataOutputStream* _tmp1_; + gdouble _tmp2_; + gchar* _tmp3_; + gchar* _tmp4_; + GDataOutputStream* _tmp5_; + GFile* _tmp6_; + gchar* _tmp7_; + gchar* _tmp8_; + gchar* _tmp9_; + gchar* _tmp10_; + gchar* _tmp11_; + gchar* _tmp12_; + GDataOutputStream* _tmp13_; GError * _inner_error_ = NULL; #line 223 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (DESKTOP_INTEGRATION_IS_BACKGROUND_SLIDESHOW_XML_BUILDER (self)); @@ -1998,7 +1989,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D g_propagate_error (error, _inner_error_); #line 224 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2002 "DesktopIntegration.c" +#line 1993 "DesktopIntegration.c" } #line 225 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = self->priv->outs; @@ -2018,7 +2009,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D g_propagate_error (error, _inner_error_); #line 225 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2022 "DesktopIntegration.c" +#line 2013 "DesktopIntegration.c" } #line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp5_ = self->priv->outs; @@ -2050,7 +2041,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D g_propagate_error (error, _inner_error_); #line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2054 "DesktopIntegration.c" +#line 2045 "DesktopIntegration.c" } #line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp13_ = self->priv->outs; @@ -2062,18 +2053,18 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D g_propagate_error (error, _inner_error_); #line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2066 "DesktopIntegration.c" +#line 2057 "DesktopIntegration.c" } } void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopIntegrationBackgroundSlideshowXMLBuilder* self, GFile* file, GError** error) { - GDataOutputStream* _tmp0_ = NULL; - GFile* _tmp1_ = NULL; - GFile* _tmp4_ = NULL; - GFile* _tmp7_ = NULL; - GFile* _tmp8_ = NULL; - GFile* _tmp9_ = NULL; + GDataOutputStream* _tmp0_; + GFile* _tmp1_; + GFile* _tmp4_; + GFile* _tmp7_; + GFile* _tmp8_; + GFile* _tmp9_; GError * _inner_error_ = NULL; #line 230 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (DESKTOP_INTEGRATION_IS_BACKGROUND_SLIDESHOW_XML_BUILDER (self)); @@ -2087,9 +2078,9 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte _tmp1_ = self->priv->first_file; #line 233 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp1_ == NULL) { -#line 2091 "DesktopIntegration.c" - GFile* _tmp2_ = NULL; - GFile* _tmp3_ = NULL; +#line 2082 "DesktopIntegration.c" + GFile* _tmp2_; + GFile* _tmp3_; #line 234 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp2_ = file; #line 234 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2098,15 +2089,15 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte _g_object_unref0 (self->priv->first_file); #line 234 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" self->priv->first_file = _tmp3_; -#line 2102 "DesktopIntegration.c" +#line 2093 "DesktopIntegration.c" } #line 236 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp4_ = self->priv->last_file; #line 236 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp4_ != NULL) { -#line 2108 "DesktopIntegration.c" - GFile* _tmp5_ = NULL; - GFile* _tmp6_ = NULL; +#line 2099 "DesktopIntegration.c" + GFile* _tmp5_; + GFile* _tmp6_; #line 237 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp5_ = self->priv->last_file; #line 237 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2119,7 +2110,7 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte g_propagate_error (error, _inner_error_); #line 237 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2123 "DesktopIntegration.c" +#line 2114 "DesktopIntegration.c" } } #line 239 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2132,7 +2123,7 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte g_propagate_error (error, _inner_error_); #line 239 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2136 "DesktopIntegration.c" +#line 2127 "DesktopIntegration.c" } #line 241 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp8_ = file; @@ -2142,24 +2133,24 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte _g_object_unref0 (self->priv->last_file); #line 241 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" self->priv->last_file = _tmp9_; -#line 2146 "DesktopIntegration.c" +#line 2137 "DesktopIntegration.c" } GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegrationBackgroundSlideshowXMLBuilder* self, GError** error) { GFile* result = NULL; - GDataOutputStream* _tmp0_ = NULL; + GDataOutputStream* _tmp0_; gboolean _tmp1_ = FALSE; - GFile* _tmp2_ = NULL; - GDataOutputStream* _tmp6_ = NULL; - GDataOutputStream* _tmp7_ = NULL; - GFile* _tmp8_ = NULL; - GFile* _tmp9_ = NULL; - GFile* _tmp10_ = NULL; - gchar* _tmp11_ = NULL; - gchar* _tmp12_ = NULL; - GFile* _tmp13_ = NULL; - GFile* _tmp14_ = NULL; + GFile* _tmp2_; + GDataOutputStream* _tmp6_; + GDataOutputStream* _tmp7_; + GFile* _tmp8_; + GFile* _tmp9_; + GFile* _tmp10_; + gchar* _tmp11_; + gchar* _tmp12_; + GFile* _tmp13_; + GFile* _tmp14_; GError * _inner_error_ = NULL; #line 244 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_val_if_fail (DESKTOP_INTEGRATION_IS_BACKGROUND_SLIDESHOW_XML_BUILDER (self), NULL); @@ -2171,29 +2162,29 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr result = NULL; #line 246 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return result; -#line 2175 "DesktopIntegration.c" +#line 2166 "DesktopIntegration.c" } #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp2_ = self->priv->first_file; #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp2_ != NULL) { -#line 2181 "DesktopIntegration.c" - GFile* _tmp3_ = NULL; +#line 2172 "DesktopIntegration.c" + GFile* _tmp3_; #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp3_ = self->priv->last_file; #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = _tmp3_ != NULL; -#line 2187 "DesktopIntegration.c" +#line 2178 "DesktopIntegration.c" } else { #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = FALSE; -#line 2191 "DesktopIntegration.c" +#line 2182 "DesktopIntegration.c" } #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp1_) { -#line 2195 "DesktopIntegration.c" - GFile* _tmp4_ = NULL; - GFile* _tmp5_ = NULL; +#line 2186 "DesktopIntegration.c" + GFile* _tmp4_; + GFile* _tmp5_; #line 250 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp4_ = self->priv->last_file; #line 250 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2206,7 +2197,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr g_propagate_error (error, _inner_error_); #line 250 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2210 "DesktopIntegration.c" +#line 2201 "DesktopIntegration.c" } } #line 252 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2219,7 +2210,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr g_propagate_error (error, _inner_error_); #line 252 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2223 "DesktopIntegration.c" +#line 2214 "DesktopIntegration.c" } #line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp7_ = self->priv->outs; @@ -2231,7 +2222,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr g_propagate_error (error, _inner_error_); #line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2235 "DesktopIntegration.c" +#line 2226 "DesktopIntegration.c" } #line 255 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (self->priv->outs); @@ -2249,7 +2240,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr g_propagate_error (error, _inner_error_); #line 258 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2253 "DesktopIntegration.c" +#line 2244 "DesktopIntegration.c" } #line 259 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp10_ = self->priv->destination; @@ -2269,14 +2260,14 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr result = _tmp14_; #line 261 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return result; -#line 2273 "DesktopIntegration.c" +#line 2264 "DesktopIntegration.c" } static void desktop_integration_value_background_slideshow_xml_builder_init (GValue* value) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = NULL; -#line 2280 "DesktopIntegration.c" +#line 2271 "DesktopIntegration.c" } @@ -2285,7 +2276,7 @@ static void desktop_integration_value_background_slideshow_xml_builder_free_valu if (value->data[0].v_pointer) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_background_slideshow_xml_builder_unref (value->data[0].v_pointer); -#line 2289 "DesktopIntegration.c" +#line 2280 "DesktopIntegration.c" } } @@ -2295,11 +2286,11 @@ static void desktop_integration_value_background_slideshow_xml_builder_copy_valu if (src_value->data[0].v_pointer) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" dest_value->data[0].v_pointer = desktop_integration_background_slideshow_xml_builder_ref (src_value->data[0].v_pointer); -#line 2299 "DesktopIntegration.c" +#line 2290 "DesktopIntegration.c" } else { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" dest_value->data[0].v_pointer = NULL; -#line 2303 "DesktopIntegration.c" +#line 2294 "DesktopIntegration.c" } } @@ -2307,66 +2298,66 @@ static void desktop_integration_value_background_slideshow_xml_builder_copy_valu static gpointer desktop_integration_value_background_slideshow_xml_builder_peek_pointer (const GValue* value) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return value->data[0].v_pointer; -#line 2311 "DesktopIntegration.c" +#line 2302 "DesktopIntegration.c" } static gchar* desktop_integration_value_background_slideshow_xml_builder_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (collect_values[0].v_pointer) { -#line 2318 "DesktopIntegration.c" - DesktopIntegrationBackgroundSlideshowXMLBuilder* object; +#line 2309 "DesktopIntegration.c" + DesktopIntegrationBackgroundSlideshowXMLBuilder * object; object = collect_values[0].v_pointer; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (object->parent_instance.g_class == NULL) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 2325 "DesktopIntegration.c" +#line 2316 "DesktopIntegration.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 2329 "DesktopIntegration.c" +#line 2320 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = desktop_integration_background_slideshow_xml_builder_ref (object); -#line 2333 "DesktopIntegration.c" +#line 2324 "DesktopIntegration.c" } else { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = NULL; -#line 2337 "DesktopIntegration.c" +#line 2328 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2341 "DesktopIntegration.c" +#line 2332 "DesktopIntegration.c" } static gchar* desktop_integration_value_background_slideshow_xml_builder_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { - DesktopIntegrationBackgroundSlideshowXMLBuilder** object_p; + DesktopIntegrationBackgroundSlideshowXMLBuilder ** object_p; object_p = collect_values[0].v_pointer; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (!object_p) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 2352 "DesktopIntegration.c" +#line 2343 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (!value->data[0].v_pointer) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" *object_p = NULL; -#line 2358 "DesktopIntegration.c" +#line 2349 "DesktopIntegration.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" *object_p = value->data[0].v_pointer; -#line 2362 "DesktopIntegration.c" +#line 2353 "DesktopIntegration.c" } else { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" *object_p = desktop_integration_background_slideshow_xml_builder_ref (value->data[0].v_pointer); -#line 2366 "DesktopIntegration.c" +#line 2357 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2370 "DesktopIntegration.c" +#line 2361 "DesktopIntegration.c" } @@ -2380,7 +2371,7 @@ GParamSpec* desktop_integration_param_spec_background_slideshow_xml_builder (con G_PARAM_SPEC (spec)->value_type = object_type; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return G_PARAM_SPEC (spec); -#line 2384 "DesktopIntegration.c" +#line 2375 "DesktopIntegration.c" } @@ -2389,12 +2380,12 @@ gpointer desktop_integration_value_get_background_slideshow_xml_builder (const G g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, DESKTOP_INTEGRATION_TYPE_BACKGROUND_SLIDESHOW_XML_BUILDER), NULL); #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return value->data[0].v_pointer; -#line 2393 "DesktopIntegration.c" +#line 2384 "DesktopIntegration.c" } void desktop_integration_value_set_background_slideshow_xml_builder (GValue* value, gpointer v_object) { - DesktopIntegrationBackgroundSlideshowXMLBuilder* old; + DesktopIntegrationBackgroundSlideshowXMLBuilder * old; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, DESKTOP_INTEGRATION_TYPE_BACKGROUND_SLIDESHOW_XML_BUILDER)); #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2409,23 +2400,23 @@ void desktop_integration_value_set_background_slideshow_xml_builder (GValue* val value->data[0].v_pointer = v_object; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_background_slideshow_xml_builder_ref (value->data[0].v_pointer); -#line 2413 "DesktopIntegration.c" +#line 2404 "DesktopIntegration.c" } else { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = NULL; -#line 2417 "DesktopIntegration.c" +#line 2408 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (old) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_background_slideshow_xml_builder_unref (old); -#line 2423 "DesktopIntegration.c" +#line 2414 "DesktopIntegration.c" } } void desktop_integration_value_take_background_slideshow_xml_builder (GValue* value, gpointer v_object) { - DesktopIntegrationBackgroundSlideshowXMLBuilder* old; + DesktopIntegrationBackgroundSlideshowXMLBuilder * old; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, DESKTOP_INTEGRATION_TYPE_BACKGROUND_SLIDESHOW_XML_BUILDER)); #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2438,17 +2429,17 @@ void desktop_integration_value_take_background_slideshow_xml_builder (GValue* va g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = v_object; -#line 2442 "DesktopIntegration.c" +#line 2433 "DesktopIntegration.c" } else { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = NULL; -#line 2446 "DesktopIntegration.c" +#line 2437 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (old) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_background_slideshow_xml_builder_unref (old); -#line 2452 "DesktopIntegration.c" +#line 2443 "DesktopIntegration.c" } } @@ -2460,7 +2451,7 @@ static void desktop_integration_background_slideshow_xml_builder_class_init (Des ((DesktopIntegrationBackgroundSlideshowXMLBuilderClass *) klass)->finalize = desktop_integration_background_slideshow_xml_builder_finalize; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_type_class_add_private (klass, sizeof (DesktopIntegrationBackgroundSlideshowXMLBuilderPrivate)); -#line 2464 "DesktopIntegration.c" +#line 2455 "DesktopIntegration.c" } @@ -2475,11 +2466,11 @@ static void desktop_integration_background_slideshow_xml_builder_instance_init ( self->priv->last_file = NULL; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" self->ref_count = 1; -#line 2479 "DesktopIntegration.c" +#line 2470 "DesktopIntegration.c" } -static void desktop_integration_background_slideshow_xml_builder_finalize (DesktopIntegrationBackgroundSlideshowXMLBuilder* obj) { +static void desktop_integration_background_slideshow_xml_builder_finalize (DesktopIntegrationBackgroundSlideshowXMLBuilder * obj) { DesktopIntegrationBackgroundSlideshowXMLBuilder * self; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, DESKTOP_INTEGRATION_TYPE_BACKGROUND_SLIDESHOW_XML_BUILDER, DesktopIntegrationBackgroundSlideshowXMLBuilder); @@ -2495,7 +2486,7 @@ static void desktop_integration_background_slideshow_xml_builder_finalize (Deskt _g_object_unref0 (self->priv->first_file); #line 200 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (self->priv->last_file); -#line 2499 "DesktopIntegration.c" +#line 2490 "DesktopIntegration.c" } @@ -2514,18 +2505,18 @@ GType desktop_integration_background_slideshow_xml_builder_get_type (void) { gpointer desktop_integration_background_slideshow_xml_builder_ref (gpointer instance) { - DesktopIntegrationBackgroundSlideshowXMLBuilder* self; + DesktopIntegrationBackgroundSlideshowXMLBuilder * self; self = instance; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_atomic_int_inc (&self->ref_count); #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return instance; -#line 2524 "DesktopIntegration.c" +#line 2515 "DesktopIntegration.c" } void desktop_integration_background_slideshow_xml_builder_unref (gpointer instance) { - DesktopIntegrationBackgroundSlideshowXMLBuilder* self; + DesktopIntegrationBackgroundSlideshowXMLBuilder * self; self = instance; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { @@ -2533,7 +2524,7 @@ void desktop_integration_background_slideshow_xml_builder_unref (gpointer instan DESKTOP_INTEGRATION_BACKGROUND_SLIDESHOW_XML_BUILDER_GET_CLASS (self)->finalize (self); #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_type_free_instance ((GTypeInstance *) self); -#line 2537 "DesktopIntegration.c" +#line 2528 "DesktopIntegration.c" } } @@ -2541,33 +2532,33 @@ void desktop_integration_background_slideshow_xml_builder_unref (gpointer instan static void _desktop_integration_on_desktop_slideshow_exported_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) { #line 290 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_on_desktop_slideshow_exported (exporter, is_cancelled); -#line 2545 "DesktopIntegration.c" +#line 2536 "DesktopIntegration.c" } void desktop_integration_set_background_slideshow (GeeCollection* photos, gdouble duration, gdouble transition, gboolean desktop_background, gboolean screensaver) { - ExporterUI* _tmp0_ = NULL; - gboolean _tmp1_ = FALSE; - gboolean _tmp2_ = FALSE; + ExporterUI* _tmp0_; + gboolean _tmp1_; + gboolean _tmp2_; GFile* wallpaper_dir = NULL; - GFile* _tmp3_ = NULL; + GFile* _tmp3_; GeeSet* exceptions = NULL; - GeeHashSet* _tmp4_ = NULL; - GeeSet* _tmp5_ = NULL; - gdouble _tmp10_ = 0.0; - gdouble _tmp11_ = 0.0; + GeeHashSet* _tmp4_; + GeeSet* _tmp5_; + gdouble _tmp10_; + gdouble _tmp11_; Exporter* exporter = NULL; - GeeCollection* _tmp12_ = NULL; - GFile* _tmp13_ = NULL; - AppWindow* _tmp14_ = NULL; - AppWindow* _tmp15_ = NULL; + GeeCollection* _tmp12_; + GFile* _tmp13_; + AppWindow* _tmp14_; + AppWindow* _tmp15_; Scaling _tmp16_ = {0}; ExportFormatParameters _tmp17_ = {0}; - Exporter* _tmp18_ = NULL; - Exporter* _tmp19_ = NULL; - Exporter* _tmp20_ = NULL; - ExporterUI* _tmp21_ = NULL; - ExporterUI* _tmp22_ = NULL; + Exporter* _tmp18_; + Exporter* _tmp19_; + Exporter* _tmp20_; + ExporterUI* _tmp21_; + ExporterUI* _tmp22_; GError * _inner_error_ = NULL; #line 265 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (GEE_IS_COLLECTION (photos)); @@ -2577,7 +2568,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl if (_tmp0_ != NULL) { #line 268 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2581 "DesktopIntegration.c" +#line 2572 "DesktopIntegration.c" } #line 270 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = desktop_background; @@ -2599,10 +2590,10 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl _tmp5_ = exceptions; #line 276 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection), DESKTOP_INTEGRATION_DESKTOP_SLIDESHOW_XML_FILENAME); -#line 2603 "DesktopIntegration.c" +#line 2594 "DesktopIntegration.c" { - GFile* _tmp6_ = NULL; - GeeSet* _tmp7_ = NULL; + GFile* _tmp6_; + GeeSet* _tmp7_; #line 278 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp6_ = wallpaper_dir; #line 278 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2611,16 +2602,16 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl delete_all_files (_tmp6_, _tmp7_, NULL, NULL, (guint64) 0, NULL, &_inner_error_); #line 278 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2615 "DesktopIntegration.c" - goto __catch568_g_error; +#line 2606 "DesktopIntegration.c" + goto __catch570_g_error; } } - goto __finally568; - __catch568_g_error: + goto __finally570; + __catch570_g_error: { GError* err = NULL; - GError* _tmp8_ = NULL; - const gchar* _tmp9_ = NULL; + GError* _tmp8_; + const gchar* _tmp9_; #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" err = _inner_error_; #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2634,9 +2625,9 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl "tory: %s", _tmp9_); #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_error_free0 (err); -#line 2637 "DesktopIntegration.c" +#line 2628 "DesktopIntegration.c" } - __finally568: + __finally570: #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2649,7 +2640,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl g_clear_error (&_inner_error_); #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2652 "DesktopIntegration.c" +#line 2643 "DesktopIntegration.c" } #line 283 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp10_ = duration; @@ -2697,24 +2688,24 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl _g_object_unref0 (exceptions); #line 265 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (wallpaper_dir); -#line 2700 "DesktopIntegration.c" +#line 2691 "DesktopIntegration.c" } void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboolean is_cancelled) { - gboolean _tmp0_ = FALSE; + gboolean _tmp0_; GFile* xml_file = NULL; DesktopIntegrationBackgroundSlideshowXMLBuilder* xml_builder = NULL; - GFile* _tmp1_ = NULL; - GFile* _tmp2_ = NULL; - GFile* _tmp3_ = NULL; - GFile* _tmp4_ = NULL; - gdouble _tmp5_ = 0.0; - gdouble _tmp6_ = 0.0; - DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp7_ = NULL; - DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp8_ = NULL; - gboolean _tmp25_ = FALSE; - gboolean _tmp31_ = FALSE; + GFile* _tmp1_; + GFile* _tmp2_; + GFile* _tmp3_; + GFile* _tmp4_; + gdouble _tmp5_; + gdouble _tmp6_; + DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp7_; + DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp8_; + gboolean _tmp24_; + gboolean _tmp30_; GError * _inner_error_ = NULL; #line 293 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (IS_EXPORTER (exporter)); @@ -2728,7 +2719,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo if (_tmp0_) { #line 297 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2731 "DesktopIntegration.c" +#line 2722 "DesktopIntegration.c" } #line 299 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" xml_file = NULL; @@ -2754,30 +2745,30 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _g_object_unref0 (_tmp2_); #line 300 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" xml_builder = _tmp8_; -#line 2757 "DesktopIntegration.c" +#line 2748 "DesktopIntegration.c" { - DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp9_ = NULL; - Exporter* _tmp10_ = NULL; - gint _tmp11_ = 0; - GFile** _tmp12_ = NULL; + DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp9_; + Exporter* _tmp10_; + gint _tmp11_; + GFile** _tmp12_; GFile* _tmp16_ = NULL; - DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp17_ = NULL; - GFile* _tmp18_ = NULL; - GFile* _tmp19_ = NULL; + DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp17_; + GFile* _tmp18_; + GFile* _tmp19_; #line 304 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp9_ = xml_builder; #line 304 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_background_slideshow_xml_builder_open (_tmp9_, &_inner_error_); #line 304 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2773 "DesktopIntegration.c" - goto __catch569_g_error; +#line 2764 "DesktopIntegration.c" + goto __catch571_g_error; } #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp10_ = exporter; #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp12_ = exporter_get_exported_files (_tmp10_, &_tmp11_); -#line 2780 "DesktopIntegration.c" +#line 2771 "DesktopIntegration.c" { GFile** file_collection = NULL; gint file_collection_length1 = 0; @@ -2789,17 +2780,17 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo file_collection_length1 = _tmp11_; #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" for (file_it = 0; file_it < _tmp11_; file_it = file_it + 1) { -#line 2792 "DesktopIntegration.c" - GFile* _tmp13_ = NULL; +#line 2783 "DesktopIntegration.c" + GFile* _tmp13_; GFile* file = NULL; #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp13_ = _g_object_ref0 (file_collection[file_it]); #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" file = _tmp13_; -#line 2799 "DesktopIntegration.c" +#line 2790 "DesktopIntegration.c" { - DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp14_ = NULL; - GFile* _tmp15_ = NULL; + DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp14_; + GFile* _tmp15_; #line 307 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp14_ = xml_builder; #line 307 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2812,17 +2803,17 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _g_object_unref0 (file); #line 307 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" file_collection = (_vala_array_free (file_collection, file_collection_length1, (GDestroyNotify) g_object_unref), NULL); -#line 2815 "DesktopIntegration.c" - goto __catch569_g_error; +#line 2806 "DesktopIntegration.c" + goto __catch571_g_error; } #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (file); -#line 2820 "DesktopIntegration.c" +#line 2811 "DesktopIntegration.c" } } #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" file_collection = (_vala_array_free (file_collection, file_collection_length1, (GDestroyNotify) g_object_unref), NULL); -#line 2825 "DesktopIntegration.c" +#line 2816 "DesktopIntegration.c" } #line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp17_ = xml_builder; @@ -2832,8 +2823,8 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _tmp16_ = _tmp18_; #line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2835 "DesktopIntegration.c" - goto __catch569_g_error; +#line 2826 "DesktopIntegration.c" + goto __catch571_g_error; } #line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp19_ = _tmp16_; @@ -2845,35 +2836,32 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo xml_file = _tmp19_; #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (_tmp16_); -#line 2848 "DesktopIntegration.c" +#line 2839 "DesktopIntegration.c" } - goto __finally569; - __catch569_g_error: + goto __finally571; + __catch571_g_error: { GError* err = NULL; - const gchar* _tmp20_ = NULL; - GError* _tmp21_ = NULL; - const gchar* _tmp22_ = NULL; - gchar* _tmp23_ = NULL; - gchar* _tmp24_ = NULL; + GError* _tmp20_; + const gchar* _tmp21_; + gchar* _tmp22_; + gchar* _tmp23_; #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" err = _inner_error_; #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _inner_error_ = NULL; #line 311 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp20_ = _ ("Unable to prepare desktop slideshow: %s"); -#line 311 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp21_ = err; + _tmp20_ = err; #line 311 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp22_ = _tmp21_->message; + _tmp21_ = _tmp20_->message; #line 311 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp23_ = g_strdup_printf (_tmp20_, _tmp22_); + _tmp22_ = g_strdup_printf (_ ("Unable to prepare desktop slideshow: %s"), _tmp21_); #line 311 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp24_ = _tmp23_; + _tmp23_ = _tmp22_; #line 311 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - app_window_error_message (_tmp24_, NULL); + app_window_error_message (_tmp23_, NULL); #line 311 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp24_); + _g_free0 (_tmp23_); #line 314 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_error_free0 (err); #line 314 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2882,9 +2870,9 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _g_object_unref0 (xml_file); #line 314 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2885 "DesktopIntegration.c" +#line 2873 "DesktopIntegration.c" } - __finally569: + __finally571: #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2897,69 +2885,69 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo g_clear_error (&_inner_error_); #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2900 "DesktopIntegration.c" +#line 2888 "DesktopIntegration.c" } #line 317 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp25_ = desktop_integration_set_desktop_background; + _tmp24_ = desktop_integration_set_desktop_background; #line 317 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - if (_tmp25_) { -#line 2906 "DesktopIntegration.c" - ConfigFacade* _tmp26_ = NULL; - ConfigFacade* _tmp27_ = NULL; - GFile* _tmp28_ = NULL; - gchar* _tmp29_ = NULL; - gchar* _tmp30_ = NULL; + if (_tmp24_) { +#line 2894 "DesktopIntegration.c" + ConfigFacade* _tmp25_; + ConfigFacade* _tmp26_; + GFile* _tmp27_; + gchar* _tmp28_; + gchar* _tmp29_; #line 318 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp26_ = config_facade_get_instance (); + _tmp25_ = config_facade_get_instance (); #line 318 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp27_ = _tmp26_; + _tmp26_ = _tmp25_; #line 318 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp28_ = xml_file; + _tmp27_ = xml_file; #line 318 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp29_ = g_file_get_path (_tmp28_); + _tmp28_ = g_file_get_path (_tmp27_); #line 318 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp30_ = _tmp29_; + _tmp29_ = _tmp28_; #line 318 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - configuration_facade_set_desktop_background (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp30_); + configuration_facade_set_desktop_background (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp29_); #line 318 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp30_); + _g_free0 (_tmp29_); #line 318 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_object_unref0 (_tmp27_); -#line 2928 "DesktopIntegration.c" + _g_object_unref0 (_tmp26_); +#line 2916 "DesktopIntegration.c" } #line 320 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp31_ = desktop_integration_set_screensaver; + _tmp30_ = desktop_integration_set_screensaver; #line 320 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - if (_tmp31_) { -#line 2934 "DesktopIntegration.c" - ConfigFacade* _tmp32_ = NULL; - ConfigFacade* _tmp33_ = NULL; - GFile* _tmp34_ = NULL; - gchar* _tmp35_ = NULL; - gchar* _tmp36_ = NULL; + if (_tmp30_) { +#line 2922 "DesktopIntegration.c" + ConfigFacade* _tmp31_; + ConfigFacade* _tmp32_; + GFile* _tmp33_; + gchar* _tmp34_; + gchar* _tmp35_; #line 321 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp32_ = config_facade_get_instance (); + _tmp31_ = config_facade_get_instance (); #line 321 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp33_ = _tmp32_; + _tmp32_ = _tmp31_; #line 321 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp34_ = xml_file; + _tmp33_ = xml_file; #line 321 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp35_ = g_file_get_path (_tmp34_); + _tmp34_ = g_file_get_path (_tmp33_); #line 321 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp36_ = _tmp35_; + _tmp35_ = _tmp34_; #line 321 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - configuration_facade_set_screensaver (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp36_); + configuration_facade_set_screensaver (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp35_); #line 321 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp36_); + _g_free0 (_tmp35_); #line 321 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_object_unref0 (_tmp33_); -#line 2956 "DesktopIntegration.c" + _g_object_unref0 (_tmp32_); +#line 2944 "DesktopIntegration.c" } #line 293 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _desktop_integration_background_slideshow_xml_builder_unref0 (xml_builder); #line 293 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (xml_file); -#line 2962 "DesktopIntegration.c" +#line 2950 "DesktopIntegration.c" } |