diff options
Diffstat (limited to 'plugins/shotwell-publishing/PiwigoPublishing.c')
-rw-r--r-- | plugins/shotwell-publishing/PiwigoPublishing.c | 418 |
1 files changed, 217 insertions, 201 deletions
diff --git a/plugins/shotwell-publishing/PiwigoPublishing.c b/plugins/shotwell-publishing/PiwigoPublishing.c index 2323b7f..ed0eee0 100644 --- a/plugins/shotwell-publishing/PiwigoPublishing.c +++ b/plugins/shotwell-publishing/PiwigoPublishing.c @@ -599,7 +599,7 @@ static gint piwigo_service_real_get_pluggable_interface (SpitPluggable* base, gi static const gchar* piwigo_service_real_get_id (SpitPluggable* base); static const gchar* piwigo_service_real_get_pluggable_name (SpitPluggable* base); static void piwigo_service_real_get_info (SpitPluggable* base, SpitPluggableInfo* info); -static GdkPixbuf** _vala_array_dup10 (GdkPixbuf** self, int length); +static GdkPixbuf** _vala_array_dup12 (GdkPixbuf** self, int length); static void piwigo_service_real_activation (SpitPluggable* base, gboolean enabled); static SpitPublishingPublisher* piwigo_service_real_create_publisher (SpitPublishingService* base, SpitPublishingPluginHost* host); PublishingPiwigoPiwigoPublisher* publishing_piwigo_piwigo_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host); @@ -753,7 +753,7 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_error (Publishi static void _publishing_piwigo_piwigo_publisher_on_category_fetch_error_publishing_rest_support_transaction_network_error (PublishingRESTSupportTransaction* _sender, GError* err, gpointer self); static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (PublishingPiwigoPiwigoPublisher* self, PublishingRESTSupportTransaction* txn); static void _publishing_piwigo_piwigo_publisher_on_category_fetch_complete_publishing_rest_support_transaction_completed (PublishingRESTSupportTransaction* _sender, gpointer self); -static void _vala_array_add35 (PublishingPiwigoCategory** * array, int* length, int* size, PublishingPiwigoCategory* value); +static void _vala_array_add38 (PublishingPiwigoCategory** * array, int* length, int* size, PublishingPiwigoCategory* value); static void publishing_piwigo_piwigo_publisher_do_show_publishing_options_pane (PublishingPiwigoPiwigoPublisher* self); GType publishing_piwigo_publishing_options_pane_get_type (void) G_GNUC_CONST; PublishingPiwigoPublishingOptionsPane* publishing_piwigo_publishing_options_pane_new (PublishingPiwigoPiwigoPublisher* publisher, PublishingPiwigoCategory** categories, int categories_length1, gint last_category, gint last_permission_level, gint last_photo_size, gboolean last_title_as_comment, gboolean last_no_upload_tags, gboolean strip_metadata_enabled); @@ -862,7 +862,7 @@ enum { PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_EXISTING_CATEGORIES_PROPERTY, PUBLISHING_PIWIGO_PUBLISHING_OPTIONS_PANE_DEFAULT_COMMENT_PROPERTY }; -static PublishingPiwigoCategory** _vala_array_dup11 (PublishingPiwigoCategory** self, int length); +static PublishingPiwigoCategory** _vala_array_dup13 (PublishingPiwigoCategory** self, int length); static gboolean _publishing_piwigo_category_equal_gee_equal_data_func (gconstpointer a, gconstpointer b, gpointer self); static gchar* publishing_piwigo_publishing_options_pane_get_common_comment_if_possible (PublishingPiwigoPiwigoPublisher* publisher); static void publishing_piwigo_publishing_options_pane_real_constructed (GObject* base); @@ -884,16 +884,16 @@ static void _publishing_piwigo_publishing_options_pane_on_existing_combo_changed static PublishingPiwigoPermissionLevel** publishing_piwigo_publishing_options_pane_create_perm_levels (PublishingPiwigoPublishingOptionsPane* self, int* result_length1); static PublishingPiwigoSizeEntry** publishing_piwigo_publishing_options_pane_create_sizes (PublishingPiwigoPublishingOptionsPane* self, int* result_length1); static const gchar* publishing_piwigo_publishing_options_pane_get_default_comment (PublishingPiwigoPublishingOptionsPane* self); -static void _vala_array_add36 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value); -static void _vala_array_add37 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value); -static void _vala_array_add38 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value); static void _vala_array_add39 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value); static void _vala_array_add40 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value); -static void _vala_array_add41 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value); -static void _vala_array_add42 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value); -static void _vala_array_add43 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value); +static void _vala_array_add41 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value); +static void _vala_array_add42 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value); +static void _vala_array_add43 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value); static void _vala_array_add44 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value); static void _vala_array_add45 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value); +static void _vala_array_add46 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value); +static void _vala_array_add47 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value); +static void _vala_array_add48 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value); static GeeList* publishing_piwigo_publishing_options_pane_get_existing_categories (PublishingPiwigoPublishingOptionsPane* self); static void publishing_piwigo_publishing_options_pane_update_publish_button_sensitivity (PublishingPiwigoPublishingOptionsPane* self); static gboolean publishing_piwigo_publishing_options_pane_category_already_exists (PublishingPiwigoPublishingOptionsPane* self, const gchar* category_name); @@ -1058,7 +1058,7 @@ static gpointer _g_object_ref0 (gpointer self) { } -static GdkPixbuf** _vala_array_dup10 (GdkPixbuf** self, int length) { +static GdkPixbuf** _vala_array_dup12 (GdkPixbuf** self, int length) { GdkPixbuf** result; int i; #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -1145,7 +1145,7 @@ static void piwigo_service_real_get_info (SpitPluggable* base, SpitPluggableInfo #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7__length1 = piwigo_service_icon_pixbuf_set_length1; #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp8_ = (_tmp7_ != NULL) ? _vala_array_dup10 (_tmp7_, _tmp7__length1) : ((gpointer) _tmp7_); + _tmp8_ = (_tmp7_ != NULL) ? _vala_array_dup12 (_tmp7_, _tmp7__length1) : ((gpointer) _tmp7_); #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8__length1 = _tmp7__length1; #line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -3472,7 +3472,7 @@ static void publishing_piwigo_piwigo_publisher_do_network_login (PublishingPiwig #line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 3473 "PiwigoPublishing.c" - goto __catch23_spit_publishing_publishing_error; + goto __catch28_spit_publishing_publishing_error; } #line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (login_trans); @@ -3485,8 +3485,8 @@ static void publishing_piwigo_piwigo_publisher_do_network_login (PublishingPiwig #line 3484 "PiwigoPublishing.c" } } - goto __finally23; - __catch23_spit_publishing_publishing_error: + goto __finally28; + __catch28_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp13_; @@ -3521,7 +3521,7 @@ static void publishing_piwigo_piwigo_publisher_do_network_login (PublishingPiwig _g_error_free0 (err); #line 3521 "PiwigoPublishing.c" } - __finally23: + __finally28: #line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -3735,7 +3735,7 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_complete (Publis #line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 3736 "PiwigoPublishing.c" - goto __catch24_spit_publishing_publishing_error; + goto __catch29_spit_publishing_publishing_error; } #line 412 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -3746,8 +3746,8 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_complete (Publis #line 3745 "PiwigoPublishing.c" } } - goto __finally24; - __catch24_spit_publishing_publishing_error: + goto __finally29; + __catch29_spit_publishing_publishing_error: { GError* err = NULL; #line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -3780,7 +3780,7 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_complete (Publis #line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 3781 "PiwigoPublishing.c" - goto __catch25_spit_publishing_publishing_error; + goto __catch30_spit_publishing_publishing_error; } #line 417 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_error_free0 (err); @@ -3793,8 +3793,8 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_complete (Publis #line 3792 "PiwigoPublishing.c" } } - goto __finally25; - __catch25_spit_publishing_publishing_error: + goto __finally30; + __catch30_spit_publishing_publishing_error: { GError* code = NULL; gint code_int = 0; @@ -3837,7 +3837,7 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_complete (Publis _g_error_free0 (code); #line 3837 "PiwigoPublishing.c" } - __finally25: + __finally30: #line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -3858,7 +3858,7 @@ static void publishing_piwigo_piwigo_publisher_on_login_network_complete (Publis return; #line 3858 "PiwigoPublishing.c" } - __finally24: + __finally29: #line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 411 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -4051,7 +4051,7 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi #line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 4052 "PiwigoPublishing.c" - goto __catch26_spit_publishing_publishing_error; + goto __catch31_spit_publishing_publishing_error; } #line 487 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (status_txn); @@ -4064,8 +4064,8 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi #line 4063 "PiwigoPublishing.c" } } - goto __finally26; - __catch26_spit_publishing_publishing_error: + goto __finally31; + __catch31_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp11_; @@ -4084,7 +4084,7 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi _g_error_free0 (err); #line 4083 "PiwigoPublishing.c" } - __finally26: + __finally31: #line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -4132,7 +4132,7 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 4132 "PiwigoPublishing.c" - goto __catch27_spit_publishing_publishing_error; + goto __catch32_spit_publishing_publishing_error; } #line 498 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (status_txn); @@ -4145,8 +4145,8 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi #line 4143 "PiwigoPublishing.c" } } - goto __finally27; - __catch27_spit_publishing_publishing_error: + goto __finally32; + __catch32_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp17_; @@ -4165,7 +4165,7 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_session_status (Publishi _g_error_free0 (err); #line 4163 "PiwigoPublishing.c" } - __finally27: + __finally32: #line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 497 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -4279,7 +4279,7 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P #line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 4278 "PiwigoPublishing.c" - goto __catch28_spit_publishing_publishing_error; + goto __catch33_spit_publishing_publishing_error; } #line 524 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (pwg_id); @@ -4332,7 +4332,7 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P #line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 4331 "PiwigoPublishing.c" - goto __catch29_spit_publishing_publishing_error; + goto __catch34_spit_publishing_publishing_error; } #line 530 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); @@ -4396,8 +4396,8 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P _g_free0 (username); #line 4394 "PiwigoPublishing.c" } - goto __finally29; - __catch29_spit_publishing_publishing_error: + goto __finally34; + __catch34_spit_publishing_publishing_error: { GError* err2 = NULL; GError* _tmp35_; @@ -4424,7 +4424,7 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P return; #line 4421 "PiwigoPublishing.c" } - __finally29: + __finally34: #line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -4432,7 +4432,7 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P #line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 4430 "PiwigoPublishing.c" - goto __catch28_spit_publishing_publishing_error; + goto __catch33_spit_publishing_publishing_error; } #line 529 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); @@ -4452,8 +4452,8 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P _publishing_rest_support_xml_document_unref0 (doc); #line 4449 "PiwigoPublishing.c" } - goto __finally28; - __catch28_spit_publishing_publishing_error: + goto __finally33; + __catch33_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp36_; @@ -4478,7 +4478,7 @@ static void publishing_piwigo_piwigo_publisher_on_session_get_status_complete (P return; #line 4474 "PiwigoPublishing.c" } - __finally28: + __finally33: #line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 523 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -4602,7 +4602,7 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_categories (PublishingPi #line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 4599 "PiwigoPublishing.c" - goto __catch30_spit_publishing_publishing_error; + goto __catch35_spit_publishing_publishing_error; } #line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (cat_trans); @@ -4615,8 +4615,8 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_categories (PublishingPi #line 4610 "PiwigoPublishing.c" } } - goto __finally30; - __catch30_spit_publishing_publishing_error: + goto __finally35; + __catch35_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp4_; @@ -4634,7 +4634,7 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_categories (PublishingPi _g_error_free0 (err); #line 4630 "PiwigoPublishing.c" } - __finally30: + __finally35: #line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 583 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -4660,7 +4660,7 @@ static void publishing_piwigo_piwigo_publisher_do_fetch_categories (PublishingPi * populates the categories list. It then triggers the display of the * publishing options pane. */ -static void _vala_array_add35 (PublishingPiwigoCategory** * array, int* length, int* size, PublishingPiwigoCategory* value) { +static void _vala_array_add38 (PublishingPiwigoCategory** * array, int* length, int* size, PublishingPiwigoCategory* value) { #line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -4777,7 +4777,7 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi #line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 4774 "PiwigoPublishing.c" - goto __catch31_spit_publishing_publishing_error; + goto __catch36_spit_publishing_publishing_error; } #line 609 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -4902,7 +4902,7 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi #line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 4899 "PiwigoPublishing.c" - goto __catch31_spit_publishing_publishing_error; + goto __catch36_spit_publishing_publishing_error; } #line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (id_map); @@ -4955,7 +4955,7 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi #line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 4952 "PiwigoPublishing.c" - goto __catch31_spit_publishing_publishing_error; + goto __catch36_spit_publishing_publishing_error; } #line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_object_unref0 (id_map); @@ -5036,7 +5036,7 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi #line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp51_ = publishing_piwigo_category_new (_tmp48_, _tmp49_, _tmp50_, ""); #line 633 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add35 (&self->priv->categories, &self->priv->categories_length1, &self->priv->_categories_size_, _tmp51_); + _vala_array_add38 (&self->priv->categories, &self->priv->categories_length1, &self->priv->_categories_size_, _tmp51_); #line 5035 "PiwigoPublishing.c" } } @@ -5240,8 +5240,8 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi _publishing_rest_support_xml_document_unref0 (doc); #line 5236 "PiwigoPublishing.c" } - goto __finally31; - __catch31_spit_publishing_publishing_error: + goto __finally36; + __catch36_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp82_; @@ -5261,7 +5261,7 @@ static void publishing_piwigo_piwigo_publisher_on_category_fetch_complete (Publi return; #line 5257 "PiwigoPublishing.c" } - __finally31: + __finally36: #line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 608 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -5450,7 +5450,7 @@ static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout #line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 5446 "PiwigoPublishing.c" - goto __catch32_spit_publishing_publishing_error; + goto __catch37_spit_publishing_publishing_error; } #line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (logout_trans); @@ -5463,8 +5463,8 @@ static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout #line 5457 "PiwigoPublishing.c" } } - goto __finally32; - __catch32_spit_publishing_publishing_error: + goto __finally37; + __catch37_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp2_; @@ -5483,7 +5483,7 @@ static void publishing_piwigo_piwigo_publisher_on_publishing_options_pane_logout _g_error_free0 (err); #line 5477 "PiwigoPublishing.c" } - __finally32: + __finally37: #line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -5808,7 +5808,7 @@ static void publishing_piwigo_piwigo_publisher_do_create_category (PublishingPiw #line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 5802 "PiwigoPublishing.c" - goto __catch33_spit_publishing_publishing_error; + goto __catch38_spit_publishing_publishing_error; } #line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_transaction_unref0 (creation_trans); @@ -5821,8 +5821,8 @@ static void publishing_piwigo_piwigo_publisher_do_create_category (PublishingPiw #line 5813 "PiwigoPublishing.c" } } - goto __finally33; - __catch33_spit_publishing_publishing_error: + goto __finally38; + __catch38_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp24_; @@ -5840,7 +5840,7 @@ static void publishing_piwigo_piwigo_publisher_do_create_category (PublishingPiw _g_error_free0 (err); #line 5833 "PiwigoPublishing.c" } - __finally33: + __finally38: #line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 780 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -5935,7 +5935,7 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_complete (Publish #line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 5929 "PiwigoPublishing.c" - goto __catch34_spit_publishing_publishing_error; + goto __catch39_spit_publishing_publishing_error; } #line 802 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -5966,7 +5966,7 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_complete (Publish #line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 5960 "PiwigoPublishing.c" - goto __catch34_spit_publishing_publishing_error; + goto __catch39_spit_publishing_publishing_error; } #line 807 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_xml_document_unref0 (doc); @@ -6010,8 +6010,8 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_complete (Publish _publishing_rest_support_xml_document_unref0 (doc); #line 6003 "PiwigoPublishing.c" } - goto __finally34; - __catch34_spit_publishing_publishing_error: + goto __finally39; + __catch39_spit_publishing_publishing_error: { GError* err = NULL; GError* _tmp23_; @@ -6029,7 +6029,7 @@ static void publishing_piwigo_piwigo_publisher_on_category_add_complete (Publish _g_error_free0 (err); #line 6022 "PiwigoPublishing.c" } - __finally34: + __finally39: #line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8284,7 +8284,7 @@ static gpointer _publishing_piwigo_category_ref0 (gpointer self) { } -static PublishingPiwigoCategory** _vala_array_dup11 (PublishingPiwigoCategory** self, int length) { +static PublishingPiwigoCategory** _vala_array_dup13 (PublishingPiwigoCategory** self, int length) { PublishingPiwigoCategory** result; int i; #line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8350,7 +8350,7 @@ PublishingPiwigoPublishingOptionsPane* publishing_piwigo_publishing_options_pane #line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6__length1 = categories_length1; #line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp7_ = (_tmp6_ != NULL) ? _vala_array_dup11 (_tmp6_, _tmp6__length1) : ((gpointer) _tmp6_); + _tmp7_ = (_tmp6_ != NULL) ? _vala_array_dup13 (_tmp6_, _tmp6__length1) : ((gpointer) _tmp6_); #line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7__length1 = _tmp6__length1; #line 1229 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8697,7 +8697,7 @@ static void publishing_piwigo_publishing_options_pane_real_constructed (GObject* } -static void _vala_array_add36 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { +static void _vala_array_add39 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { #line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8714,7 +8714,7 @@ static void _vala_array_add36 (PublishingPiwigoPermissionLevel** * array, int* l } -static void _vala_array_add37 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { +static void _vala_array_add40 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { #line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8731,7 +8731,7 @@ static void _vala_array_add37 (PublishingPiwigoPermissionLevel** * array, int* l } -static void _vala_array_add38 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { +static void _vala_array_add41 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { #line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8748,7 +8748,7 @@ static void _vala_array_add38 (PublishingPiwigoPermissionLevel** * array, int* l } -static void _vala_array_add39 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { +static void _vala_array_add42 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { #line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8765,7 +8765,7 @@ static void _vala_array_add39 (PublishingPiwigoPermissionLevel** * array, int* l } -static void _vala_array_add40 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { +static void _vala_array_add43 (PublishingPiwigoPermissionLevel** * array, int* length, int* size, PublishingPiwigoPermissionLevel* value) { #line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8822,7 +8822,7 @@ static PublishingPiwigoPermissionLevel** publishing_piwigo_publishing_options_pa #line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = publishing_piwigo_permission_level_new (0, _ ("Everyone")); #line 1290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add36 (&_result_, &_result__length1, &__result__size_, _tmp2_); + _vala_array_add39 (&_result_, &_result__length1, &__result__size_, _tmp2_); #line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = _result_; #line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8830,7 +8830,7 @@ static PublishingPiwigoPermissionLevel** publishing_piwigo_publishing_options_pa #line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = publishing_piwigo_permission_level_new (1, _ ("Admins, Family, Friends, Contacts")); #line 1291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add37 (&_result_, &_result__length1, &__result__size_, _tmp4_); + _vala_array_add40 (&_result_, &_result__length1, &__result__size_, _tmp4_); #line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _result_; #line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8838,7 +8838,7 @@ static PublishingPiwigoPermissionLevel** publishing_piwigo_publishing_options_pa #line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_piwigo_permission_level_new (2, _ ("Admins, Family, Friends")); #line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add38 (&_result_, &_result__length1, &__result__size_, _tmp6_); + _vala_array_add41 (&_result_, &_result__length1, &__result__size_, _tmp6_); #line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _result_; #line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8846,7 +8846,7 @@ static PublishingPiwigoPermissionLevel** publishing_piwigo_publishing_options_pa #line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = publishing_piwigo_permission_level_new (4, _ ("Admins, Family")); #line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add39 (&_result_, &_result__length1, &__result__size_, _tmp8_); + _vala_array_add42 (&_result_, &_result__length1, &__result__size_, _tmp8_); #line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = _result_; #line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8854,7 +8854,7 @@ static PublishingPiwigoPermissionLevel** publishing_piwigo_publishing_options_pa #line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = publishing_piwigo_permission_level_new (8, _ ("Admins")); #line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add40 (&_result_, &_result__length1, &__result__size_, _tmp10_); + _vala_array_add43 (&_result_, &_result__length1, &__result__size_, _tmp10_); #line 1296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = _result_; #line 1296 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8873,7 +8873,7 @@ static PublishingPiwigoPermissionLevel** publishing_piwigo_publishing_options_pa } -static void _vala_array_add41 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value) { +static void _vala_array_add44 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value) { #line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8890,7 +8890,7 @@ static void _vala_array_add41 (PublishingPiwigoSizeEntry** * array, int* length, } -static void _vala_array_add42 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value) { +static void _vala_array_add45 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value) { #line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8907,7 +8907,7 @@ static void _vala_array_add42 (PublishingPiwigoSizeEntry** * array, int* length, } -static void _vala_array_add43 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value) { +static void _vala_array_add46 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value) { #line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8924,7 +8924,7 @@ static void _vala_array_add43 (PublishingPiwigoSizeEntry** * array, int* length, } -static void _vala_array_add44 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value) { +static void _vala_array_add47 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value) { #line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8941,7 +8941,7 @@ static void _vala_array_add44 (PublishingPiwigoSizeEntry** * array, int* length, } -static void _vala_array_add45 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value) { +static void _vala_array_add48 (PublishingPiwigoSizeEntry** * array, int* length, int* size, PublishingPiwigoSizeEntry* value) { #line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if ((*length) == (*size)) { #line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -8998,7 +8998,7 @@ static PublishingPiwigoSizeEntry** publishing_piwigo_publishing_options_pane_cre #line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = publishing_piwigo_size_entry_new (500, _ ("500 × 375 pixels")); #line 1302 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add41 (&_result_, &_result__length1, &__result__size_, _tmp2_); + _vala_array_add44 (&_result_, &_result__length1, &__result__size_, _tmp2_); #line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp3_ = _result_; #line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -9006,7 +9006,7 @@ static PublishingPiwigoSizeEntry** publishing_piwigo_publishing_options_pane_cre #line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp4_ = publishing_piwigo_size_entry_new (1024, _ ("1024 × 768 pixels")); #line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add42 (&_result_, &_result__length1, &__result__size_, _tmp4_); + _vala_array_add45 (&_result_, &_result__length1, &__result__size_, _tmp4_); #line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp5_ = _result_; #line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -9014,7 +9014,7 @@ static PublishingPiwigoSizeEntry** publishing_piwigo_publishing_options_pane_cre #line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_piwigo_size_entry_new (2048, _ ("2048 × 1536 pixels")); #line 1304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add43 (&_result_, &_result__length1, &__result__size_, _tmp6_); + _vala_array_add46 (&_result_, &_result__length1, &__result__size_, _tmp6_); #line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _result_; #line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -9022,7 +9022,7 @@ static PublishingPiwigoSizeEntry** publishing_piwigo_publishing_options_pane_cre #line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp8_ = publishing_piwigo_size_entry_new (4096, _ ("4096 × 3072 pixels")); #line 1305 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add44 (&_result_, &_result__length1, &__result__size_, _tmp8_); + _vala_array_add47 (&_result_, &_result__length1, &__result__size_, _tmp8_); #line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp9_ = _result_; #line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -9030,7 +9030,7 @@ static PublishingPiwigoSizeEntry** publishing_piwigo_publishing_options_pane_cre #line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp10_ = publishing_piwigo_size_entry_new (PUBLISHING_PIWIGO_ORIGINAL_SIZE, _ ("Original size")); #line 1306 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _vala_array_add45 (&_result_, &_result__length1, &__result__size_, _tmp10_); + _vala_array_add48 (&_result_, &_result__length1, &__result__size_, _tmp10_); #line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp11_ = _result_; #line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -11583,7 +11583,7 @@ gchar* publishing_piwigo_transaction_validate_xml (PublishingRESTSupportXmlDocum #line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 11571 "PiwigoPublishing.c" - goto __catch35_spit_publishing_publishing_error; + goto __catch40_spit_publishing_publishing_error; } #line 1618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (status); @@ -11599,8 +11599,8 @@ gchar* publishing_piwigo_transaction_validate_xml (PublishingRESTSupportXmlDocum errcode = _tmp7_; #line 11586 "PiwigoPublishing.c" } - goto __finally35; - __catch35_spit_publishing_publishing_error: + goto __finally40; + __catch40_spit_publishing_publishing_error: { GError* err = NULL; gchar* _tmp11_; @@ -11620,7 +11620,7 @@ gchar* publishing_piwigo_transaction_validate_xml (PublishingRESTSupportXmlDocum return result; #line 11607 "PiwigoPublishing.c" } - __finally35: + __finally40: #line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1617 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -11699,7 +11699,7 @@ gchar* publishing_piwigo_transaction_get_error_code (PublishingRESTSupportXmlDoc #line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_inner_error_->domain == SPIT_PUBLISHING_PUBLISHING_ERROR) { #line 11687 "PiwigoPublishing.c" - goto __catch36_spit_publishing_publishing_error; + goto __catch41_spit_publishing_publishing_error; } #line 1630 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); @@ -11713,8 +11713,8 @@ gchar* publishing_piwigo_transaction_get_error_code (PublishingRESTSupportXmlDoc errcode = _tmp2_; #line 11700 "PiwigoPublishing.c" } - goto __finally36; - __catch36_spit_publishing_publishing_error: + goto __finally41; + __catch41_spit_publishing_publishing_error: { GError* err = NULL; gchar* _tmp6_; @@ -11732,7 +11732,7 @@ gchar* publishing_piwigo_transaction_get_error_code (PublishingRESTSupportXmlDoc return result; #line 11719 "PiwigoPublishing.c" } - __finally36: + __finally41: #line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1629 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -11791,7 +11791,11 @@ PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transac PublishingPiwigoSession* _tmp0_; const gchar* _tmp1_; const gchar* _tmp2_; - const gchar* _tmp3_; + gchar* _tmp3_; + gchar* _tmp4_; + const gchar* _tmp5_; + gchar* _tmp6_; + gchar* _tmp7_; #line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_return_val_if_fail (PUBLISHING_PIWIGO_IS_SESSION (session), NULL); #line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -11811,28 +11815,40 @@ PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transac #line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp2_ = username; #line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "username", _tmp2_); + _tmp3_ = g_uri_escape_string (_tmp2_, NULL, TRUE); +#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp4_ = _tmp3_; +#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "username", _tmp4_); +#line 1646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_free0 (_tmp4_); #line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - _tmp3_ = password; + _tmp5_ = password; +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp6_ = g_uri_escape_string (_tmp5_, NULL, TRUE); +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _tmp7_ = _tmp6_; #line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" - publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "password", _tmp3_); + publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "password", _tmp7_); +#line 1647 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" + _g_free0 (_tmp7_); #line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 11807 "PiwigoPublishing.c" +#line 11823 "PiwigoPublishing.c" } PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_new (PublishingPiwigoSession* session, const gchar* url, const gchar* username, const gchar* password) { #line 1642 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_login_transaction_construct (PUBLISHING_PIWIGO_TYPE_SESSION_LOGIN_TRANSACTION, session, url, username, password); -#line 11814 "PiwigoPublishing.c" +#line 11830 "PiwigoPublishing.c" } static gpointer _publishing_rest_support_argument_ref0 (gpointer self) { #line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self ? publishing_rest_support_argument_ref (self) : NULL; -#line 11821 "PiwigoPublishing.c" +#line 11837 "PiwigoPublishing.c" } @@ -11865,7 +11881,7 @@ PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transac _tmp4_ = other; #line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = publishing_rest_support_transaction_get_arguments (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), &_tmp5_); -#line 11854 "PiwigoPublishing.c" +#line 11870 "PiwigoPublishing.c" { PublishingRESTSupportArgument** argument_collection = NULL; gint argument_collection_length1 = 0; @@ -11877,14 +11893,14 @@ PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transac argument_collection_length1 = _tmp5_; #line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" for (argument_it = 0; argument_it < _tmp5_; argument_it = argument_it + 1) { -#line 11866 "PiwigoPublishing.c" +#line 11882 "PiwigoPublishing.c" PublishingRESTSupportArgument* _tmp7_; PublishingRESTSupportArgument* argument = NULL; #line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = _publishing_rest_support_argument_ref0 (argument_collection[argument_it]); #line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" argument = _tmp7_; -#line 11873 "PiwigoPublishing.c" +#line 11889 "PiwigoPublishing.c" { PublishingRESTSupportArgument* _tmp8_; const gchar* _tmp9_; @@ -11902,30 +11918,30 @@ PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transac publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), _tmp9_, _tmp11_); #line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _publishing_rest_support_argument_unref0 (argument); -#line 11891 "PiwigoPublishing.c" +#line 11907 "PiwigoPublishing.c" } } #line 1653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" argument_collection = (_vala_array_free (argument_collection, argument_collection_length1, (GDestroyNotify) publishing_rest_support_argument_unref), NULL); -#line 11896 "PiwigoPublishing.c" +#line 11912 "PiwigoPublishing.c" } #line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 11900 "PiwigoPublishing.c" +#line 11916 "PiwigoPublishing.c" } PublishingPiwigoSessionLoginTransaction* publishing_piwigo_session_login_transaction_new_from_other (PublishingPiwigoSession* session, PublishingPiwigoTransaction* other) { #line 1650 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_login_transaction_construct_from_other (PUBLISHING_PIWIGO_TYPE_SESSION_LOGIN_TRANSACTION, session, other); -#line 11907 "PiwigoPublishing.c" +#line 11923 "PiwigoPublishing.c" } static void publishing_piwigo_session_login_transaction_class_init (PublishingPiwigoSessionLoginTransactionClass * klass) { #line 1641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_login_transaction_parent_class = g_type_class_peek_parent (klass); -#line 11914 "PiwigoPublishing.c" +#line 11930 "PiwigoPublishing.c" } @@ -11989,14 +12005,14 @@ PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_statu publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.getStatus"); #line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 11978 "PiwigoPublishing.c" +#line 11994 "PiwigoPublishing.c" } PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_new_unauthenticated (PublishingPiwigoSession* session, const gchar* url, const gchar* pwg_id) { #line 1663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_get_status_transaction_construct_unauthenticated (PUBLISHING_PIWIGO_TYPE_SESSION_GET_STATUS_TRANSACTION, session, url, pwg_id); -#line 11985 "PiwigoPublishing.c" +#line 12001 "PiwigoPublishing.c" } @@ -12013,21 +12029,21 @@ PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_statu publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.getStatus"); #line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 12002 "PiwigoPublishing.c" +#line 12018 "PiwigoPublishing.c" } PublishingPiwigoSessionGetStatusTransaction* publishing_piwigo_session_get_status_transaction_new (PublishingPiwigoSession* session) { #line 1670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_get_status_transaction_construct (PUBLISHING_PIWIGO_TYPE_SESSION_GET_STATUS_TRANSACTION, session); -#line 12009 "PiwigoPublishing.c" +#line 12025 "PiwigoPublishing.c" } static void publishing_piwigo_session_get_status_transaction_class_init (PublishingPiwigoSessionGetStatusTransactionClass * klass) { #line 1662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_get_status_transaction_parent_class = g_type_class_peek_parent (klass); -#line 12016 "PiwigoPublishing.c" +#line 12032 "PiwigoPublishing.c" } @@ -12065,21 +12081,21 @@ PublishingPiwigoCategoriesGetListTransaction* publishing_piwigo_categories_get_l publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "recursive", "true"); #line 1681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 12054 "PiwigoPublishing.c" +#line 12070 "PiwigoPublishing.c" } PublishingPiwigoCategoriesGetListTransaction* publishing_piwigo_categories_get_list_transaction_new (PublishingPiwigoSession* session) { #line 1681 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_categories_get_list_transaction_construct (PUBLISHING_PIWIGO_TYPE_CATEGORIES_GET_LIST_TRANSACTION, session); -#line 12061 "PiwigoPublishing.c" +#line 12077 "PiwigoPublishing.c" } static void publishing_piwigo_categories_get_list_transaction_class_init (PublishingPiwigoCategoriesGetListTransactionClass * klass) { #line 1680 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_categories_get_list_transaction_parent_class = g_type_class_peek_parent (klass); -#line 12068 "PiwigoPublishing.c" +#line 12084 "PiwigoPublishing.c" } @@ -12115,21 +12131,21 @@ PublishingPiwigoSessionLogoutTransaction* publishing_piwigo_session_logout_trans publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "method", "pwg.session.logout"); #line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 12104 "PiwigoPublishing.c" +#line 12120 "PiwigoPublishing.c" } PublishingPiwigoSessionLogoutTransaction* publishing_piwigo_session_logout_transaction_new (PublishingPiwigoSession* session) { #line 1690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_session_logout_transaction_construct (PUBLISHING_PIWIGO_TYPE_SESSION_LOGOUT_TRANSACTION, session); -#line 12111 "PiwigoPublishing.c" +#line 12127 "PiwigoPublishing.c" } static void publishing_piwigo_session_logout_transaction_class_init (PublishingPiwigoSessionLogoutTransactionClass * klass) { #line 1689 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_session_logout_transaction_parent_class = g_type_class_peek_parent (klass); -#line 12118 "PiwigoPublishing.c" +#line 12134 "PiwigoPublishing.c" } @@ -12173,7 +12189,7 @@ PublishingPiwigoCategoriesAddTransaction* publishing_piwigo_categories_add_trans _tmp2_ = parent_id; #line 1704 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp2_ != 0) { -#line 12162 "PiwigoPublishing.c" +#line 12178 "PiwigoPublishing.c" gint _tmp3_; gchar* _tmp4_; gchar* _tmp5_; @@ -12187,37 +12203,37 @@ PublishingPiwigoCategoriesAddTransaction* publishing_piwigo_categories_add_trans publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "parent", _tmp5_); #line 1705 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp5_); -#line 12176 "PiwigoPublishing.c" +#line 12192 "PiwigoPublishing.c" } #line 1708 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp6_ = comment; #line 1708 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp6_, "") != 0) { -#line 12182 "PiwigoPublishing.c" +#line 12198 "PiwigoPublishing.c" const gchar* _tmp7_; #line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp7_ = comment; #line 1709 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp7_); -#line 12188 "PiwigoPublishing.c" +#line 12204 "PiwigoPublishing.c" } #line 1698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 12192 "PiwigoPublishing.c" +#line 12208 "PiwigoPublishing.c" } PublishingPiwigoCategoriesAddTransaction* publishing_piwigo_categories_add_transaction_new (PublishingPiwigoSession* session, const gchar* category, gint parent_id, const gchar* comment) { #line 1698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_categories_add_transaction_construct (PUBLISHING_PIWIGO_TYPE_CATEGORIES_ADD_TRANSACTION, session, category, parent_id, comment); -#line 12199 "PiwigoPublishing.c" +#line 12215 "PiwigoPublishing.c" } static void publishing_piwigo_categories_add_transaction_class_init (PublishingPiwigoCategoriesAddTransactionClass * klass) { #line 1697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_piwigo_categories_add_transaction_parent_class = g_type_class_peek_parent (klass); -#line 12206 "PiwigoPublishing.c" +#line 12222 "PiwigoPublishing.c" } @@ -12250,7 +12266,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s if (_tmp0_ == NULL) { #line 1079 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" separator = ""; -#line 12239 "PiwigoPublishing.c" +#line 12255 "PiwigoPublishing.c" } #line 1081 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp3_ = str_array; @@ -12260,7 +12276,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s if (_tmp3_ != NULL) { #line 1081 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp2_ = TRUE; -#line 12249 "PiwigoPublishing.c" +#line 12265 "PiwigoPublishing.c" } else { gchar** _tmp4_; gint _tmp4__length1; @@ -12270,13 +12286,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp4__length1 = str_array_length1; #line 1081 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp2_ = _tmp4__length1 > 0; -#line 12259 "PiwigoPublishing.c" +#line 12275 "PiwigoPublishing.c" } #line 1081 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp2_) { #line 1081 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp1_ = TRUE; -#line 12265 "PiwigoPublishing.c" +#line 12281 "PiwigoPublishing.c" } else { gboolean _tmp5_ = FALSE; gchar** _tmp6_; @@ -12287,7 +12303,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp6__length1 = str_array_length1; #line 1081 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp6__length1 == -1) { -#line 12276 "PiwigoPublishing.c" +#line 12292 "PiwigoPublishing.c" gchar** _tmp7_; gint _tmp7__length1; const gchar* _tmp8_; @@ -12299,19 +12315,19 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp8_ = _tmp7_[0]; #line 1081 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp5_ = _tmp8_ != NULL; -#line 12288 "PiwigoPublishing.c" +#line 12304 "PiwigoPublishing.c" } else { #line 1081 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp5_ = FALSE; -#line 12292 "PiwigoPublishing.c" +#line 12308 "PiwigoPublishing.c" } #line 1081 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp1_ = _tmp5_; -#line 12296 "PiwigoPublishing.c" +#line 12312 "PiwigoPublishing.c" } #line 1081 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp1_) { -#line 12300 "PiwigoPublishing.c" +#line 12316 "PiwigoPublishing.c" gint i = 0; gsize len = 0UL; gint _tmp31_; @@ -12334,7 +12350,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s const gchar* _tmp62_; #line 1083 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" len = (gsize) 1; -#line 12323 "PiwigoPublishing.c" +#line 12339 "PiwigoPublishing.c" { gboolean _tmp9_ = FALSE; #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" @@ -12343,7 +12359,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp9_ = TRUE; #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" while (TRUE) { -#line 12332 "PiwigoPublishing.c" +#line 12348 "PiwigoPublishing.c" gboolean _tmp11_ = FALSE; gboolean _tmp12_ = FALSE; gchar** _tmp13_; @@ -12356,13 +12372,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s gsize _tmp30_; #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (!_tmp9_) { -#line 12345 "PiwigoPublishing.c" +#line 12361 "PiwigoPublishing.c" gint _tmp10_; #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp10_ = i; #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" i = _tmp10_ + 1; -#line 12351 "PiwigoPublishing.c" +#line 12367 "PiwigoPublishing.c" } #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp9_ = FALSE; @@ -12372,7 +12388,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp13__length1 = str_array_length1; #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp13__length1 != -1) { -#line 12361 "PiwigoPublishing.c" +#line 12377 "PiwigoPublishing.c" gint _tmp14_; gchar** _tmp15_; gint _tmp15__length1; @@ -12384,17 +12400,17 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp15__length1 = str_array_length1; #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ < _tmp15__length1; -#line 12373 "PiwigoPublishing.c" +#line 12389 "PiwigoPublishing.c" } else { #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp12_ = FALSE; -#line 12377 "PiwigoPublishing.c" +#line 12393 "PiwigoPublishing.c" } #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp12_) { #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp11_ = TRUE; -#line 12383 "PiwigoPublishing.c" +#line 12399 "PiwigoPublishing.c" } else { gboolean _tmp16_ = FALSE; gchar** _tmp17_; @@ -12405,7 +12421,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp17__length1 = str_array_length1; #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp17__length1 == -1) { -#line 12394 "PiwigoPublishing.c" +#line 12410 "PiwigoPublishing.c" gchar** _tmp18_; gint _tmp18__length1; gint _tmp19_; @@ -12420,21 +12436,21 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp20_ = _tmp18_[_tmp19_]; #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp16_ = _tmp20_ != NULL; -#line 12409 "PiwigoPublishing.c" +#line 12425 "PiwigoPublishing.c" } else { #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp16_ = FALSE; -#line 12413 "PiwigoPublishing.c" +#line 12429 "PiwigoPublishing.c" } #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp11_ = _tmp16_; -#line 12417 "PiwigoPublishing.c" +#line 12433 "PiwigoPublishing.c" } #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (!_tmp11_) { #line 1084 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" break; -#line 12423 "PiwigoPublishing.c" +#line 12439 "PiwigoPublishing.c" } #line 1085 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp22_ = str_array; @@ -12446,7 +12462,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp24_ = _tmp22_[_tmp23_]; #line 1085 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp24_ != NULL) { -#line 12435 "PiwigoPublishing.c" +#line 12451 "PiwigoPublishing.c" gchar** _tmp25_; gint _tmp25__length1; gint _tmp26_; @@ -12467,24 +12483,24 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp29_ = _tmp28_; #line 1085 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp21_ = _tmp29_; -#line 12456 "PiwigoPublishing.c" +#line 12472 "PiwigoPublishing.c" } else { #line 1085 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp21_ = 0; -#line 12460 "PiwigoPublishing.c" +#line 12476 "PiwigoPublishing.c" } #line 1085 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp30_ = len; #line 1085 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" len = _tmp30_ + _tmp21_; -#line 12466 "PiwigoPublishing.c" +#line 12482 "PiwigoPublishing.c" } } #line 1087 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp31_ = i; #line 1087 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp31_ == 0) { -#line 12473 "PiwigoPublishing.c" +#line 12489 "PiwigoPublishing.c" gchar* _tmp32_; #line 1088 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp32_ = g_strdup (""); @@ -12492,7 +12508,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s result = _tmp32_; #line 1088 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 12481 "PiwigoPublishing.c" +#line 12497 "PiwigoPublishing.c" } #line 1090 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp33_ = i; @@ -12530,7 +12546,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_); #line 1094 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" ptr = _tmp45_; -#line 12519 "PiwigoPublishing.c" +#line 12535 "PiwigoPublishing.c" { gboolean _tmp46_ = FALSE; #line 1095 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" @@ -12539,7 +12555,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp46_ = TRUE; #line 1095 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" while (TRUE) { -#line 12528 "PiwigoPublishing.c" +#line 12544 "PiwigoPublishing.c" gint _tmp48_; gchar** _tmp49_; gint _tmp49__length1; @@ -12555,13 +12571,13 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s void* _tmp61_; #line 1095 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (!_tmp46_) { -#line 12544 "PiwigoPublishing.c" +#line 12560 "PiwigoPublishing.c" gint _tmp47_; #line 1095 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp47_ = i; #line 1095 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" i = _tmp47_ + 1; -#line 12550 "PiwigoPublishing.c" +#line 12566 "PiwigoPublishing.c" } #line 1095 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp46_ = FALSE; @@ -12575,7 +12591,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s if (!(_tmp48_ < _tmp49__length1)) { #line 1095 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" break; -#line 12564 "PiwigoPublishing.c" +#line 12580 "PiwigoPublishing.c" } #line 1096 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp50_ = ptr; @@ -12595,7 +12611,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp56_ = _tmp54_[_tmp55_]; #line 1097 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" if (_tmp56_ != NULL) { -#line 12584 "PiwigoPublishing.c" +#line 12600 "PiwigoPublishing.c" gchar** _tmp57_; gint _tmp57__length1; gint _tmp58_; @@ -12610,11 +12626,11 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp59_ = _tmp57_[_tmp58_]; #line 1097 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp53_ = (const gchar*) _tmp59_; -#line 12599 "PiwigoPublishing.c" +#line 12615 "PiwigoPublishing.c" } else { #line 1097 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp53_ = ""; -#line 12603 "PiwigoPublishing.c" +#line 12619 "PiwigoPublishing.c" } #line 1097 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" _tmp60_ = ptr; @@ -12622,7 +12638,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s _tmp61_ = g_stpcpy (_tmp60_, _tmp53_); #line 1097 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" ptr = _tmp61_; -#line 12611 "PiwigoPublishing.c" +#line 12627 "PiwigoPublishing.c" } } #line 1100 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" @@ -12633,7 +12649,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s result = (gchar*) _tmp62_; #line 1100 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 12622 "PiwigoPublishing.c" +#line 12638 "PiwigoPublishing.c" } else { gchar* _tmp63_; #line 1102 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" @@ -12642,7 +12658,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s result = _tmp63_; #line 1102 "/usr/share/vala-0.36/vapi/glib-2.0.vapi" return result; -#line 12631 "PiwigoPublishing.c" +#line 12647 "PiwigoPublishing.c" } } @@ -12650,7 +12666,7 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s static void _g_free0_ (gpointer var) { #line 1774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" var = (g_free (var), NULL); -#line 12639 "PiwigoPublishing.c" +#line 12655 "PiwigoPublishing.c" } @@ -12753,7 +12769,7 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _tmp6_ = publishing_rest_support_session_is_authenticated (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_REST_SUPPORT_TYPE_SESSION, PublishingRESTSupportSession)); #line 1719 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp6_) { -#line 12742 "PiwigoPublishing.c" +#line 12758 "PiwigoPublishing.c" PublishingPiwigoSession* _tmp7_; gchar* _tmp8_; gchar* _tmp9_; @@ -12775,7 +12791,7 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _g_free0 (_tmp11_); #line 1720 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp9_); -#line 12764 "PiwigoPublishing.c" +#line 12780 "PiwigoPublishing.c" } #line 1722 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp12_ = parameters; @@ -12805,7 +12821,7 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _tmp18__length1 = keywords_length1; #line 1726 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp18_ != NULL) { -#line 12794 "PiwigoPublishing.c" +#line 12810 "PiwigoPublishing.c" gchar** _tmp19_; gint _tmp19__length1; gchar* _tmp20_; @@ -12819,7 +12835,7 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _g_free0 (tags); #line 1727 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" tags = _tmp20_; -#line 12808 "PiwigoPublishing.c" +#line 12824 "PiwigoPublishing.c" } #line 1730 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp21_ = publishable; @@ -12868,18 +12884,18 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c if (_tmp37_ == NULL) { #line 1736 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp36_ = TRUE; -#line 12856 "PiwigoPublishing.c" +#line 12872 "PiwigoPublishing.c" } else { const gchar* _tmp38_; #line 1736 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp38_ = name; #line 1736 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp36_ = g_strcmp0 (_tmp38_, "") == 0; -#line 12863 "PiwigoPublishing.c" +#line 12879 "PiwigoPublishing.c" } #line 1736 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp36_) { -#line 12867 "PiwigoPublishing.c" +#line 12883 "PiwigoPublishing.c" SpitPublishingPublishable* _tmp39_; gchar* _tmp40_; const gchar* _tmp41_; @@ -12901,27 +12917,27 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _tmp43_ = comment; #line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp43_ != NULL) { -#line 12889 "PiwigoPublishing.c" +#line 12905 "PiwigoPublishing.c" const gchar* _tmp44_; #line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp44_ = comment; #line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp42_ = g_strcmp0 (_tmp44_, "") != 0; -#line 12895 "PiwigoPublishing.c" +#line 12911 "PiwigoPublishing.c" } else { #line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp42_ = FALSE; -#line 12899 "PiwigoPublishing.c" +#line 12915 "PiwigoPublishing.c" } #line 1740 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp42_) { -#line 12903 "PiwigoPublishing.c" +#line 12919 "PiwigoPublishing.c" const gchar* _tmp45_; #line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp45_ = comment; #line 1741 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp45_); -#line 12909 "PiwigoPublishing.c" +#line 12925 "PiwigoPublishing.c" } } else { gboolean _tmp46_ = FALSE; @@ -12930,21 +12946,21 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _tmp47_ = comment; #line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp47_ != NULL) { -#line 12918 "PiwigoPublishing.c" +#line 12934 "PiwigoPublishing.c" const gchar* _tmp48_; #line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp48_ = comment; #line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp46_ = g_strcmp0 (_tmp48_, "") != 0; -#line 12924 "PiwigoPublishing.c" +#line 12940 "PiwigoPublishing.c" } else { #line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp46_ = FALSE; -#line 12928 "PiwigoPublishing.c" +#line 12944 "PiwigoPublishing.c" } #line 1745 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp46_) { -#line 12932 "PiwigoPublishing.c" +#line 12948 "PiwigoPublishing.c" const gchar* _tmp49_; const gchar* _tmp50_; #line 1746 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -12955,7 +12971,7 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _tmp50_ = comment; #line 1747 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp50_); -#line 12943 "PiwigoPublishing.c" +#line 12959 "PiwigoPublishing.c" } else { PublishingPiwigoPublishingParameters* _tmp51_; gboolean _tmp52_; @@ -12965,20 +12981,20 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _tmp52_ = _tmp51_->title_as_comment; #line 1752 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp52_) { -#line 12953 "PiwigoPublishing.c" +#line 12969 "PiwigoPublishing.c" const gchar* _tmp53_; #line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp53_ = name; #line 1753 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "comment", _tmp53_); -#line 12959 "PiwigoPublishing.c" +#line 12975 "PiwigoPublishing.c" } else { const gchar* _tmp54_; #line 1755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp54_ = name; #line 1755 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "name", _tmp54_); -#line 12966 "PiwigoPublishing.c" +#line 12982 "PiwigoPublishing.c" } } } @@ -13018,19 +13034,19 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _tmp66_ = _tmp65_->no_upload_tags; #line 1762 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (!_tmp66_) { -#line 13006 "PiwigoPublishing.c" +#line 13022 "PiwigoPublishing.c" const gchar* _tmp67_; #line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp67_ = tags; #line 1763 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (g_strcmp0 (_tmp67_, "") != 0) { -#line 13012 "PiwigoPublishing.c" +#line 13028 "PiwigoPublishing.c" const gchar* _tmp68_; #line 1764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp68_ = tags; #line 1764 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" publishing_rest_support_transaction_add_argument (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_REST_SUPPORT_TYPE_TRANSACTION, PublishingRESTSupportTransaction), "tags", _tmp68_); -#line 13018 "PiwigoPublishing.c" +#line 13034 "PiwigoPublishing.c" } } #line 1774 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -13061,7 +13077,7 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _g_free0 (_tmp77_); #line 1777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp79_) { -#line 13049 "PiwigoPublishing.c" +#line 13065 "PiwigoPublishing.c" const gchar* _tmp80_; gchar* _tmp81_; gchar* _tmp82_; @@ -13078,15 +13094,15 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _tmp74_ = !_tmp83_; #line 1778 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _g_free0 (_tmp82_); -#line 13066 "PiwigoPublishing.c" +#line 13082 "PiwigoPublishing.c" } else { #line 1777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp74_ = FALSE; -#line 13070 "PiwigoPublishing.c" +#line 13086 "PiwigoPublishing.c" } #line 1777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" if (_tmp74_) { -#line 13074 "PiwigoPublishing.c" +#line 13090 "PiwigoPublishing.c" const gchar* _tmp84_; gchar* _tmp85_; #line 1779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" @@ -13097,7 +13113,7 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c _g_free0 (basename); #line 1779 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" basename = _tmp85_; -#line 13085 "PiwigoPublishing.c" +#line 13101 "PiwigoPublishing.c" } #line 1781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" _tmp86_ = disposition_table; @@ -13135,14 +13151,14 @@ PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_c keywords = (_vala_array_free (keywords, keywords_length1, (GDestroyNotify) g_free), NULL); #line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return self; -#line 13123 "PiwigoPublishing.c" +#line 13139 "PiwigoPublishing.c" } PublishingPiwigoImagesAddTransaction* publishing_piwigo_images_add_transaction_new (PublishingPiwigoSession* session, PublishingPiwigoPublishingParameters* parameters, SpitPublishingPublishable* publishable) { #line 1717 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" return publishing_piwigo_images_add_transaction_construct (PUBLISHING_PIWIGO_TYPE_IMAGES_ADD_TRANSACTION, session, parameters, publishable); -#line 13130 "PiwigoPublishing.c" +#line 13146 "PiwigoPublishing.c" } @@ -13153,7 +13169,7 @@ static void publishing_piwigo_images_add_transaction_class_init (PublishingPiwig ((PublishingRESTSupportTransactionClass *) klass)->finalize = publishing_piwigo_images_add_transaction_finalize; #line 1714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" g_type_class_add_private (klass, sizeof (PublishingPiwigoImagesAddTransactionPrivate)); -#line 13141 "PiwigoPublishing.c" +#line 13157 "PiwigoPublishing.c" } @@ -13162,7 +13178,7 @@ static void publishing_piwigo_images_add_transaction_instance_init (PublishingPi self->priv = PUBLISHING_PIWIGO_IMAGES_ADD_TRANSACTION_GET_PRIVATE (self); #line 1715 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" self->priv->parameters = NULL; -#line 13150 "PiwigoPublishing.c" +#line 13166 "PiwigoPublishing.c" } @@ -13174,7 +13190,7 @@ static void publishing_piwigo_images_add_transaction_finalize (PublishingRESTSup _publishing_piwigo_publishing_parameters_unref0 (self->priv->parameters); #line 1714 "/home/jens/Source/shotwell/plugins/shotwell-publishing/PiwigoPublishing.vala" PUBLISHING_REST_SUPPORT_TRANSACTION_CLASS (publishing_piwigo_images_add_transaction_parent_class)->finalize (obj); -#line 13162 "PiwigoPublishing.c" +#line 13178 "PiwigoPublishing.c" } |