summaryrefslogtreecommitdiff
path: root/plugins/shotwell-publishing/FacebookPublishing.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-15 20:38:57 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-12-15 20:38:57 +0100
commitf1353e9ffd34db5f755c7da0b3f9c10638fbfd38 (patch)
treea1f2ab30332a6383b0677bfcc2aec687b98851d6 /plugins/shotwell-publishing/FacebookPublishing.c
parentf8ca421bdacee8851965a4b802ada1d2366bdbc1 (diff)
parentede50c561ec9811704821a9ea0f04c3d6c20b5af (diff)
Merge branch 'release/0.26.4-1'0.26.4-1
Diffstat (limited to 'plugins/shotwell-publishing/FacebookPublishing.c')
-rw-r--r--plugins/shotwell-publishing/FacebookPublishing.c3536
1 files changed, 1766 insertions, 1770 deletions
diff --git a/plugins/shotwell-publishing/FacebookPublishing.c b/plugins/shotwell-publishing/FacebookPublishing.c
index a16729e..a1d00b4 100644
--- a/plugins/shotwell-publishing/FacebookPublishing.c
+++ b/plugins/shotwell-publishing/FacebookPublishing.c
@@ -1,4 +1,4 @@
-/* FacebookPublishing.c generated by valac 0.34.7, the Vala compiler
+/* FacebookPublishing.c generated by valac 0.36.6, the Vala compiler
* generated from FacebookPublishing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -140,10 +140,23 @@ typedef struct _PublishingFacebookPublishingOptionsPanePrivacyDescriptionClass P
typedef struct _PublishingFacebookPublishingOptionsPanePrivacyDescriptionPrivate PublishingFacebookPublishingOptionsPanePrivacyDescriptionPrivate;
#define _publishing_facebook_publishing_options_pane_privacy_description_unref0(var) ((var == NULL) ? NULL : (var = (publishing_facebook_publishing_options_pane_privacy_description_unref (var), NULL)))
typedef struct _PublishingFacebookPublishingOptionsPaneParamSpecPrivacyDescription PublishingFacebookPublishingOptionsPaneParamSpecPrivacyDescription;
+enum {
+ PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_LOGOUT_SIGNAL,
+ PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_PUBLISH_SIGNAL,
+ PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_LAST_SIGNAL
+};
+static guint publishing_facebook_publishing_options_pane_signals[PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_LAST_SIGNAL] = {0};
#define PUBLISHING_FACEBOOK_TYPE_ENDPOINT (publishing_facebook_endpoint_get_type ())
typedef struct _PublishingFacebookGraphMessagePrivate PublishingFacebookGraphMessagePrivate;
typedef struct _PublishingFacebookParamSpecGraphMessage PublishingFacebookParamSpecGraphMessage;
+enum {
+ PUBLISHING_FACEBOOK_GRAPH_MESSAGE_COMPLETED_SIGNAL,
+ PUBLISHING_FACEBOOK_GRAPH_MESSAGE_FAILED_SIGNAL,
+ PUBLISHING_FACEBOOK_GRAPH_MESSAGE_DATA_TRANSMITTED_SIGNAL,
+ PUBLISHING_FACEBOOK_GRAPH_MESSAGE_LAST_SIGNAL
+};
+static guint publishing_facebook_graph_message_signals[PUBLISHING_FACEBOOK_GRAPH_MESSAGE_LAST_SIGNAL] = {0};
typedef struct _PublishingFacebookGraphSessionPrivate PublishingFacebookGraphSessionPrivate;
#define PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL (publishing_facebook_graph_session_graph_message_impl_get_type ())
@@ -207,8 +220,19 @@ typedef struct _PublishingFacebookGraphSessionGraphUploadMessagePrivate Publishi
#define __vala_SoupBuffer_free0(var) ((var == NULL) ? NULL : (var = (_vala_SoupBuffer_free (var), NULL)))
typedef struct _PublishingFacebookGraphSessionGraphCreateAlbumMessagePrivate PublishingFacebookGraphSessionGraphCreateAlbumMessagePrivate;
typedef struct _PublishingFacebookParamSpecGraphSession PublishingFacebookParamSpecGraphSession;
+enum {
+ PUBLISHING_FACEBOOK_GRAPH_SESSION_AUTHENTICATED_SIGNAL,
+ PUBLISHING_FACEBOOK_GRAPH_SESSION_LAST_SIGNAL
+};
+static guint publishing_facebook_graph_session_signals[PUBLISHING_FACEBOOK_GRAPH_SESSION_LAST_SIGNAL] = {0};
typedef struct _PublishingFacebookUploaderPrivate PublishingFacebookUploaderPrivate;
typedef struct _PublishingFacebookParamSpecUploader PublishingFacebookParamSpecUploader;
+enum {
+ PUBLISHING_FACEBOOK_UPLOADER_UPLOAD_COMPLETE_SIGNAL,
+ PUBLISHING_FACEBOOK_UPLOADER_UPLOAD_ERROR_SIGNAL,
+ PUBLISHING_FACEBOOK_UPLOADER_LAST_SIGNAL
+};
+static guint publishing_facebook_uploader_signals[PUBLISHING_FACEBOOK_UPLOADER_LAST_SIGNAL] = {0};
#define _vala_assert(expr, msg) if G_LIKELY (expr) ; else g_assertion_message_expr (G_LOG_DOMAIN, __FILE__, __LINE__, G_STRFUNC, msg);
#define _vala_return_if_fail(expr, msg) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return; }
#define _vala_return_val_if_fail(expr, msg, val) if G_LIKELY (expr) ; else { g_return_if_fail_warning (G_LOG_DOMAIN, G_STRFUNC, msg); return val; }
@@ -479,15 +503,15 @@ static gint facebook_service_icon_pixbuf_set_length1;
static GdkPixbuf** facebook_service_icon_pixbuf_set = NULL;
static gint facebook_service_icon_pixbuf_set_length1 = 0;
static gint _facebook_service_icon_pixbuf_set_size_ = 0;
-static SpitPluggableIface* facebook_service_spit_pluggable_parent_iface = NULL;
-static SpitPublishingServiceIface* facebook_service_spit_publishing_service_parent_iface = NULL;
+static SpitPluggableIface * facebook_service_spit_pluggable_parent_iface = NULL;
+static SpitPublishingServiceIface * facebook_service_spit_publishing_service_parent_iface = NULL;
static gpointer publishing_facebook_album_parent_class = NULL;
static gpointer publishing_facebook_publishing_parameters_parent_class = NULL;
static gpointer publishing_facebook_facebook_publisher_parent_class = NULL;
-static SpitPublishingPublisherIface* publishing_facebook_facebook_publisher_spit_publishing_publisher_parent_iface = NULL;
+static SpitPublishingPublisherIface * publishing_facebook_facebook_publisher_spit_publishing_publisher_parent_iface = NULL;
static gpointer publishing_facebook_publishing_options_pane_parent_class = NULL;
static gpointer publishing_facebook_publishing_options_pane_privacy_description_parent_class = NULL;
-static SpitPublishingDialogPaneIface* publishing_facebook_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = NULL;
+static SpitPublishingDialogPaneIface * publishing_facebook_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = NULL;
static gpointer publishing_facebook_graph_message_parent_class = NULL;
static gpointer publishing_facebook_graph_session_parent_class = NULL;
static gpointer publishing_facebook_graph_session_graph_message_impl_parent_class = NULL;
@@ -515,7 +539,7 @@ PublishingFacebookFacebookPublisher* publishing_facebook_facebook_publisher_new
PublishingFacebookFacebookPublisher* publishing_facebook_facebook_publisher_construct (GType object_type, SpitPublishingService* service, SpitPublishingPluginHost* host);
GType publishing_facebook_facebook_publisher_get_type (void) G_GNUC_CONST;
static SpitPublishingPublisherMediaType facebook_service_real_get_supported_media (SpitPublishingService* base);
-static void facebook_service_finalize (GObject* obj);
+static void facebook_service_finalize (GObject * obj);
#define PUBLISHING_FACEBOOK_SERVICE_NAME "facebook"
#define PUBLISHING_FACEBOOK_USER_VISIBLE_NAME "Facebook"
#define PUBLISHING_FACEBOOK_DEFAULT_ALBUM_NAME _ ("Shotwell Connect")
@@ -532,7 +556,7 @@ enum {
};
PublishingFacebookAlbum* publishing_facebook_album_new (const gchar* name, const gchar* id);
PublishingFacebookAlbum* publishing_facebook_album_construct (GType object_type, const gchar* name, const gchar* id);
-static void publishing_facebook_album_finalize (PublishingFacebookAlbum* obj);
+static void publishing_facebook_album_finalize (PublishingFacebookAlbum * obj);
GType publishing_facebook_resolution_get_type (void) G_GNUC_CONST;
gchar* publishing_facebook_resolution_get_name (PublishingFacebookResolution self);
const gchar* publishing_facebook_resolution_to_string (PublishingFacebookResolution self);
@@ -551,11 +575,11 @@ enum {
PublishingFacebookPublishingParameters* publishing_facebook_publishing_parameters_new (void);
PublishingFacebookPublishingParameters* publishing_facebook_publishing_parameters_construct (GType object_type);
void publishing_facebook_publishing_parameters_add_album (PublishingFacebookPublishingParameters* self, const gchar* name, const gchar* id);
-static void _vala_array_add6 (PublishingFacebookAlbum*** array, int* length, int* size, PublishingFacebookAlbum* value);
+static void _vala_array_add6 (PublishingFacebookAlbum** * array, int* length, int* size, PublishingFacebookAlbum* value);
void publishing_facebook_publishing_parameters_set_target_album_by_name (PublishingFacebookPublishingParameters* self, const gchar* name);
gchar* publishing_facebook_publishing_parameters_get_target_album_name (PublishingFacebookPublishingParameters* self);
gchar* publishing_facebook_publishing_parameters_get_target_album_id (PublishingFacebookPublishingParameters* self);
-static void publishing_facebook_publishing_parameters_finalize (PublishingFacebookPublishingParameters* obj);
+static void publishing_facebook_publishing_parameters_finalize (PublishingFacebookPublishingParameters * obj);
gpointer publishing_facebook_graph_session_ref (gpointer instance);
void publishing_facebook_graph_session_unref (gpointer instance);
GParamSpec* publishing_facebook_param_spec_graph_session (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
@@ -650,7 +674,7 @@ static void _publishing_facebook_facebook_publisher_on_authenticator_failed_spit
static void publishing_facebook_facebook_publisher_real_stop (SpitPublishingPublisher* base);
void publishing_facebook_graph_session_stop_transactions (PublishingFacebookGraphSession* self);
static gboolean publishing_facebook_facebook_publisher_real_is_running (SpitPublishingPublisher* base);
-static void publishing_facebook_facebook_publisher_finalize (GObject* obj);
+static void publishing_facebook_facebook_publisher_finalize (GObject * obj);
static gpointer publishing_facebook_publishing_options_pane_privacy_description_ref (gpointer instance);
static void publishing_facebook_publishing_options_pane_privacy_description_unref (gpointer instance);
static GParamSpec* publishing_facebook_publishing_options_pane_param_spec_privacy_description (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) G_GNUC_UNUSED;
@@ -685,11 +709,11 @@ static void _publishing_facebook_publishing_options_pane_on_size_changed_gtk_com
static gboolean publishing_facebook_publishing_options_pane_publishing_photos (PublishingFacebookPublishingOptionsPane* self);
static PublishingFacebookPublishingOptionsPanePrivacyDescription* publishing_facebook_publishing_options_pane_privacy_description_new (const gchar* description, const gchar* privacy_setting);
static PublishingFacebookPublishingOptionsPanePrivacyDescription* publishing_facebook_publishing_options_pane_privacy_description_construct (GType object_type, const gchar* description, const gchar* privacy_setting);
-static void _vala_array_add7 (PublishingFacebookPublishingOptionsPanePrivacyDescription*** array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value);
-static void _vala_array_add8 (PublishingFacebookPublishingOptionsPanePrivacyDescription*** array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value);
-static void _vala_array_add9 (PublishingFacebookPublishingOptionsPanePrivacyDescription*** array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value);
-static void _vala_array_add10 (PublishingFacebookResolution** array, int* length, int* size, PublishingFacebookResolution value);
-static void _vala_array_add11 (PublishingFacebookResolution** array, int* length, int* size, PublishingFacebookResolution value);
+static void _vala_array_add7 (PublishingFacebookPublishingOptionsPanePrivacyDescription** * array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value);
+static void _vala_array_add8 (PublishingFacebookPublishingOptionsPanePrivacyDescription** * array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value);
+static void _vala_array_add9 (PublishingFacebookPublishingOptionsPanePrivacyDescription** * array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value);
+static void _vala_array_add10 (PublishingFacebookResolution* * array, int* length, int* size, PublishingFacebookResolution value);
+static void _vala_array_add11 (PublishingFacebookResolution* * array, int* length, int* size, PublishingFacebookResolution value);
void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPublishingOptionsPane* self);
static void publishing_facebook_publishing_options_pane_notify_logout (PublishingFacebookPublishingOptionsPane* self);
static void publishing_facebook_publishing_options_pane_notify_publish (PublishingFacebookPublishingOptionsPane* self, const gchar* target_album, const gchar* privacy_setting, PublishingFacebookResolution target_resolution);
@@ -703,8 +727,8 @@ static void g_cclosure_user_marshal_VOID__STRING_STRING_ENUM_BOOLEAN (GClosure *
enum {
PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_PRIVACY_DESCRIPTION_DUMMY_PROPERTY
};
-static void publishing_facebook_publishing_options_pane_privacy_description_finalize (PublishingFacebookPublishingOptionsPanePrivacyDescription* obj);
-static void publishing_facebook_publishing_options_pane_finalize (GObject* obj);
+static void publishing_facebook_publishing_options_pane_privacy_description_finalize (PublishingFacebookPublishingOptionsPanePrivacyDescription * obj);
+static void publishing_facebook_publishing_options_pane_finalize (GObject * obj);
GType publishing_facebook_endpoint_get_type (void) G_GNUC_CONST;
gchar* publishing_facebook_endpoint_to_uri (PublishingFacebookEndpoint self);
enum {
@@ -715,7 +739,7 @@ static gchar* publishing_facebook_graph_message_real_get_uri (PublishingFacebook
static gchar* publishing_facebook_graph_message_real_get_response_body (PublishingFacebookGraphMessage* self);
PublishingFacebookGraphMessage* publishing_facebook_graph_message_construct (GType object_type);
static void g_cclosure_user_marshal_VOID__INT_INT (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data);
-static void publishing_facebook_graph_message_finalize (PublishingFacebookGraphMessage* obj);
+static void publishing_facebook_graph_message_finalize (PublishingFacebookGraphMessage * obj);
#define PUBLISHING_FACEBOOK_GRAPH_SESSION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION, PublishingFacebookGraphSessionPrivate))
enum {
PUBLISHING_FACEBOOK_GRAPH_SESSION_DUMMY_PROPERTY
@@ -745,7 +769,7 @@ static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph
static gboolean publishing_facebook_graph_session_graph_message_impl_real_prepare_for_transmission (PublishingFacebookGraphSessionGraphMessageImpl* self);
static gchar* publishing_facebook_graph_session_graph_message_impl_real_get_uri (PublishingFacebookGraphMessage* base);
static gchar* publishing_facebook_graph_session_graph_message_impl_real_get_response_body (PublishingFacebookGraphMessage* base);
-static void publishing_facebook_graph_session_graph_message_impl_finalize (PublishingFacebookGraphMessage* obj);
+static void publishing_facebook_graph_session_graph_message_impl_finalize (PublishingFacebookGraphMessage * obj);
enum {
PUBLISHING_FACEBOOK_GRAPH_SESSION_GRAPH_QUERY_MESSAGE_DUMMY_PROPERTY
};
@@ -763,11 +787,11 @@ enum {
static void _vala_SoupMultipart_free (SoupMultipart* self);
static void _vala_SoupBuffer_free (SoupBuffer* self);
static gboolean publishing_facebook_graph_session_graph_upload_message_real_prepare_for_transmission (PublishingFacebookGraphSessionGraphMessageImpl* base);
-static void publishing_facebook_graph_session_graph_upload_message_finalize (PublishingFacebookGraphMessage* obj);
+static void publishing_facebook_graph_session_graph_upload_message_finalize (PublishingFacebookGraphMessage * obj);
enum {
PUBLISHING_FACEBOOK_GRAPH_SESSION_GRAPH_CREATE_ALBUM_MESSAGE_DUMMY_PROPERTY
};
-static void publishing_facebook_graph_session_finalize (PublishingFacebookGraphSession* obj);
+static void publishing_facebook_graph_session_finalize (PublishingFacebookGraphSession * obj);
#define PUBLISHING_FACEBOOK_UPLOADER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PUBLISHING_FACEBOOK_TYPE_UPLOADER, PublishingFacebookUploaderPrivate))
enum {
PUBLISHING_FACEBOOK_UPLOADER_DUMMY_PROPERTY
@@ -781,15 +805,15 @@ static void _publishing_facebook_uploader_on_message_completed_publishing_facebo
static void publishing_facebook_uploader_on_message_failed (PublishingFacebookUploader* self, PublishingFacebookGraphMessage* message, GError* _error_);
static void _publishing_facebook_uploader_on_message_failed_publishing_facebook_graph_message_failed (PublishingFacebookGraphMessage* _sender, GError* err, gpointer self);
static void publishing_facebook_uploader_send_files (PublishingFacebookUploader* self);
-static void publishing_facebook_uploader_finalize (PublishingFacebookUploader* obj);
+static void publishing_facebook_uploader_finalize (PublishingFacebookUploader * obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
FacebookService* facebook_service_construct (GType object_type, GFile* resource_directory) {
FacebookService * self = NULL;
- GdkPixbuf** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
+ GdkPixbuf** _tmp0_;
+ gint _tmp0__length1;
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (G_IS_FILE (resource_directory), NULL);
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -800,9 +824,9 @@ FacebookService* facebook_service_construct (GType object_type, GFile* resource_
_tmp0__length1 = facebook_service_icon_pixbuf_set_length1;
#line 13 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp0_ == NULL) {
-#line 804 "FacebookPublishing.c"
- gint _tmp1_ = 0;
- GdkPixbuf** _tmp2_ = NULL;
+#line 828 "FacebookPublishing.c"
+ gint _tmp1_;
+ GdkPixbuf** _tmp2_;
#line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = resources_load_from_resource (PLUGIN_RESOURCE_PATH "/" FACEBOOK_SERVICE_ICON_FILENAME, &_tmp1_);
#line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -813,27 +837,27 @@ FacebookService* facebook_service_construct (GType object_type, GFile* resource_
facebook_service_icon_pixbuf_set_length1 = _tmp1_;
#line 14 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_facebook_service_icon_pixbuf_set_size_ = facebook_service_icon_pixbuf_set_length1;
-#line 817 "FacebookPublishing.c"
+#line 841 "FacebookPublishing.c"
}
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 821 "FacebookPublishing.c"
+#line 845 "FacebookPublishing.c"
}
FacebookService* facebook_service_new (GFile* resource_directory) {
#line 12 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return facebook_service_construct (TYPE_FACEBOOK_SERVICE, resource_directory);
-#line 828 "FacebookPublishing.c"
+#line 852 "FacebookPublishing.c"
}
static gint facebook_service_real_get_pluggable_interface (SpitPluggable* base, gint min_host_interface, gint max_host_interface) {
FacebookService * self;
gint result = 0;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
#line 18 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FACEBOOK_SERVICE, FacebookService);
#line 19 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -846,7 +870,7 @@ static gint facebook_service_real_get_pluggable_interface (SpitPluggable* base,
result = _tmp2_;
#line 19 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 850 "FacebookPublishing.c"
+#line 874 "FacebookPublishing.c"
}
@@ -859,7 +883,7 @@ static const gchar* facebook_service_real_get_id (SpitPluggable* base) {
result = "org.yorba.shotwell.publishing.facebook";
#line 24 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 863 "FacebookPublishing.c"
+#line 887 "FacebookPublishing.c"
}
@@ -872,14 +896,14 @@ static const gchar* facebook_service_real_get_pluggable_name (SpitPluggable* bas
result = "Facebook";
#line 28 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 876 "FacebookPublishing.c"
+#line 900 "FacebookPublishing.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self ? g_object_ref (self) : NULL;
-#line 883 "FacebookPublishing.c"
+#line 907 "FacebookPublishing.c"
}
@@ -890,34 +914,33 @@ static GdkPixbuf** _vala_array_dup1 (GdkPixbuf** self, int length) {
result = g_new0 (GdkPixbuf*, length + 1);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
for (i = 0; i < length; i++) {
-#line 894 "FacebookPublishing.c"
- GdkPixbuf* _tmp0_ = NULL;
+#line 918 "FacebookPublishing.c"
+ GdkPixbuf* _tmp0_;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = _g_object_ref0 (self[i]);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
result[i] = _tmp0_;
-#line 900 "FacebookPublishing.c"
+#line 924 "FacebookPublishing.c"
}
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 904 "FacebookPublishing.c"
+#line 928 "FacebookPublishing.c"
}
static void facebook_service_real_get_info (SpitPluggable* base, SpitPluggableInfo* info) {
FacebookService * self;
- gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- GdkPixbuf** _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
- GdkPixbuf** _tmp9_ = NULL;
- gint _tmp9__length1 = 0;
+ gchar* _tmp0_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+ GdkPixbuf** _tmp7_;
+ gint _tmp7__length1;
+ GdkPixbuf** _tmp8_;
+ gint _tmp8__length1;
#line 31 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FACEBOOK_SERVICE, FacebookService);
#line 31 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -929,60 +952,58 @@ static void facebook_service_real_get_info (SpitPluggable* base, SpitPluggableIn
#line 32 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*info).authors = _tmp0_;
#line 33 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp1_ = _ ("Copyright 2016 Software Freedom Conservancy Inc.");
-#line 33 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp2_ = g_strdup (_tmp1_);
+ _tmp1_ = g_strdup (_ ("Copyright 2016 Software Freedom Conservancy Inc."));
#line 33 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 ((*info).copyright);
#line 33 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- (*info).copyright = _tmp2_;
+ (*info).copyright = _tmp1_;
#line 34 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp3_ = g_strdup (RESOURCES_TRANSLATORS);
+ _tmp2_ = g_strdup (RESOURCES_TRANSLATORS);
#line 34 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 ((*info).translators);
#line 34 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- (*info).translators = _tmp3_;
+ (*info).translators = _tmp2_;
#line 35 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp4_ = g_strdup (_VERSION);
+ _tmp3_ = g_strdup (_VERSION);
#line 35 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 ((*info).version);
#line 35 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- (*info).version = _tmp4_;
+ (*info).version = _tmp3_;
#line 36 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp5_ = g_strdup (RESOURCES_WEBSITE_NAME);
+ _tmp4_ = g_strdup (RESOURCES_WEBSITE_NAME);
#line 36 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 ((*info).website_name);
#line 36 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- (*info).website_name = _tmp5_;
+ (*info).website_name = _tmp4_;
#line 37 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp6_ = g_strdup (RESOURCES_WEBSITE_URL);
+ _tmp5_ = g_strdup (RESOURCES_WEBSITE_URL);
#line 37 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 ((*info).website_url);
#line 37 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- (*info).website_url = _tmp6_;
+ (*info).website_url = _tmp5_;
#line 38 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*info).is_license_wordwrapped = FALSE;
#line 39 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp7_ = g_strdup (RESOURCES_LICENSE);
+ _tmp6_ = g_strdup (RESOURCES_LICENSE);
#line 39 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 ((*info).license);
#line 39 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- (*info).license = _tmp7_;
+ (*info).license = _tmp6_;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp8_ = facebook_service_icon_pixbuf_set;
+ _tmp7_ = facebook_service_icon_pixbuf_set;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp8__length1 = facebook_service_icon_pixbuf_set_length1;
+ _tmp7__length1 = facebook_service_icon_pixbuf_set_length1;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp9_ = (_tmp8_ != NULL) ? _vala_array_dup1 (_tmp8_, _tmp8__length1) : ((gpointer) _tmp8_);
+ _tmp8_ = (_tmp7_ != NULL) ? _vala_array_dup1 (_tmp7_, _tmp7__length1) : ((gpointer) _tmp7_);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp9__length1 = _tmp8__length1;
+ _tmp8__length1 = _tmp7__length1;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*info).icons = (_vala_array_free ((*info).icons, (*info).icons_length1, (GDestroyNotify) g_object_unref), NULL);
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- (*info).icons = _tmp9_;
+ (*info).icons = _tmp8_;
#line 40 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- (*info).icons_length1 = _tmp9__length1;
-#line 986 "FacebookPublishing.c"
+ (*info).icons_length1 = _tmp8__length1;
+#line 1007 "FacebookPublishing.c"
}
@@ -990,15 +1011,15 @@ static void facebook_service_real_activation (SpitPluggable* base, gboolean enab
FacebookService * self;
#line 43 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FACEBOOK_SERVICE, FacebookService);
-#line 994 "FacebookPublishing.c"
+#line 1015 "FacebookPublishing.c"
}
static SpitPublishingPublisher* facebook_service_real_create_publisher (SpitPublishingService* base, SpitPublishingPluginHost* host) {
FacebookService * self;
SpitPublishingPublisher* result = NULL;
- SpitPublishingPluginHost* _tmp0_ = NULL;
- PublishingFacebookFacebookPublisher* _tmp1_ = NULL;
+ SpitPublishingPluginHost* _tmp0_;
+ PublishingFacebookFacebookPublisher* _tmp1_;
#line 46 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_FACEBOOK_SERVICE, FacebookService);
#line 46 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1011,7 +1032,7 @@ static SpitPublishingPublisher* facebook_service_real_create_publisher (SpitPubl
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher);
#line 47 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 1015 "FacebookPublishing.c"
+#line 1036 "FacebookPublishing.c"
}
@@ -1024,7 +1045,7 @@ static SpitPublishingPublisherMediaType facebook_service_real_get_supported_medi
result = SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO | SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO;
#line 51 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 1028 "FacebookPublishing.c"
+#line 1049 "FacebookPublishing.c"
}
@@ -1033,7 +1054,7 @@ static void facebook_service_class_init (FacebookServiceClass * klass) {
facebook_service_parent_class = g_type_class_peek_parent (klass);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = facebook_service_finalize;
-#line 1037 "FacebookPublishing.c"
+#line 1058 "FacebookPublishing.c"
}
@@ -1041,16 +1062,16 @@ static void facebook_service_spit_pluggable_interface_init (SpitPluggableIface *
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
facebook_service_spit_pluggable_parent_iface = g_type_interface_peek_parent (iface);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->get_pluggable_interface = (gint (*)(SpitPluggable*, gint, gint)) facebook_service_real_get_pluggable_interface;
+ iface->get_pluggable_interface = (gint (*) (SpitPluggable *, gint, gint)) facebook_service_real_get_pluggable_interface;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->get_id = (const gchar* (*)(SpitPluggable*)) facebook_service_real_get_id;
+ iface->get_id = (const gchar* (*) (SpitPluggable *)) facebook_service_real_get_id;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->get_pluggable_name = (const gchar* (*)(SpitPluggable*)) facebook_service_real_get_pluggable_name;
+ iface->get_pluggable_name = (const gchar* (*) (SpitPluggable *)) facebook_service_real_get_pluggable_name;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->get_info = (void (*)(SpitPluggable*, SpitPluggableInfo*)) facebook_service_real_get_info;
+ iface->get_info = (void (*) (SpitPluggable *, SpitPluggableInfo*)) facebook_service_real_get_info;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->activation = (void (*)(SpitPluggable*, gboolean)) facebook_service_real_activation;
-#line 1054 "FacebookPublishing.c"
+ iface->activation = (void (*) (SpitPluggable *, gboolean)) facebook_service_real_activation;
+#line 1075 "FacebookPublishing.c"
}
@@ -1058,10 +1079,10 @@ static void facebook_service_spit_publishing_service_interface_init (SpitPublish
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
facebook_service_spit_publishing_service_parent_iface = g_type_interface_peek_parent (iface);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->create_publisher = (SpitPublishingPublisher* (*)(SpitPublishingService*, SpitPublishingPluginHost*)) facebook_service_real_create_publisher;
+ iface->create_publisher = (SpitPublishingPublisher* (*) (SpitPublishingService *, SpitPublishingPluginHost*)) facebook_service_real_create_publisher;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->get_supported_media = (SpitPublishingPublisherMediaType (*)(SpitPublishingService*)) facebook_service_real_get_supported_media;
-#line 1065 "FacebookPublishing.c"
+ iface->get_supported_media = (SpitPublishingPublisherMediaType (*) (SpitPublishingService *)) facebook_service_real_get_supported_media;
+#line 1086 "FacebookPublishing.c"
}
@@ -1069,13 +1090,13 @@ static void facebook_service_instance_init (FacebookService * self) {
}
-static void facebook_service_finalize (GObject* obj) {
+static void facebook_service_finalize (GObject * obj) {
FacebookService * self;
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_FACEBOOK_SERVICE, FacebookService);
#line 7 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
G_OBJECT_CLASS (facebook_service_parent_class)->finalize (obj);
-#line 1079 "FacebookPublishing.c"
+#line 1100 "FacebookPublishing.c"
}
@@ -1097,10 +1118,10 @@ GType facebook_service_get_type (void) {
PublishingFacebookAlbum* publishing_facebook_album_construct (GType object_type, const gchar* name, const gchar* id) {
PublishingFacebookAlbum* self = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+ const gchar* _tmp2_;
+ gchar* _tmp3_;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1125,21 +1146,21 @@ PublishingFacebookAlbum* publishing_facebook_album_construct (GType object_type,
self->id = _tmp3_;
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 1129 "FacebookPublishing.c"
+#line 1150 "FacebookPublishing.c"
}
PublishingFacebookAlbum* publishing_facebook_album_new (const gchar* name, const gchar* id) {
#line 68 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_album_construct (PUBLISHING_FACEBOOK_TYPE_ALBUM, name, id);
-#line 1136 "FacebookPublishing.c"
+#line 1157 "FacebookPublishing.c"
}
static void publishing_facebook_value_album_init (GValue* value) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1143 "FacebookPublishing.c"
+#line 1164 "FacebookPublishing.c"
}
@@ -1148,7 +1169,7 @@ static void publishing_facebook_value_album_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_album_unref (value->data[0].v_pointer);
-#line 1152 "FacebookPublishing.c"
+#line 1173 "FacebookPublishing.c"
}
}
@@ -1158,11 +1179,11 @@ static void publishing_facebook_value_album_copy_value (const GValue* src_value,
if (src_value->data[0].v_pointer) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = publishing_facebook_album_ref (src_value->data[0].v_pointer);
-#line 1162 "FacebookPublishing.c"
+#line 1183 "FacebookPublishing.c"
} else {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1166 "FacebookPublishing.c"
+#line 1187 "FacebookPublishing.c"
}
}
@@ -1170,66 +1191,66 @@ static void publishing_facebook_value_album_copy_value (const GValue* src_value,
static gpointer publishing_facebook_value_album_peek_pointer (const GValue* value) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 1174 "FacebookPublishing.c"
+#line 1195 "FacebookPublishing.c"
}
static gchar* publishing_facebook_value_album_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 1181 "FacebookPublishing.c"
- PublishingFacebookAlbum* object;
+#line 1202 "FacebookPublishing.c"
+ PublishingFacebookAlbum * object;
object = collect_values[0].v_pointer;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1188 "FacebookPublishing.c"
+#line 1209 "FacebookPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.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 1192 "FacebookPublishing.c"
+#line 1213 "FacebookPublishing.c"
}
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = publishing_facebook_album_ref (object);
-#line 1196 "FacebookPublishing.c"
+#line 1217 "FacebookPublishing.c"
} else {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1200 "FacebookPublishing.c"
+#line 1221 "FacebookPublishing.c"
}
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 1204 "FacebookPublishing.c"
+#line 1225 "FacebookPublishing.c"
}
static gchar* publishing_facebook_value_album_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PublishingFacebookAlbum** object_p;
+ PublishingFacebookAlbum ** object_p;
object_p = collect_values[0].v_pointer;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!object_p) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1215 "FacebookPublishing.c"
+#line 1236 "FacebookPublishing.c"
}
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!value->data[0].v_pointer) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = NULL;
-#line 1221 "FacebookPublishing.c"
+#line 1242 "FacebookPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 1225 "FacebookPublishing.c"
+#line 1246 "FacebookPublishing.c"
} else {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = publishing_facebook_album_ref (value->data[0].v_pointer);
-#line 1229 "FacebookPublishing.c"
+#line 1250 "FacebookPublishing.c"
}
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 1233 "FacebookPublishing.c"
+#line 1254 "FacebookPublishing.c"
}
@@ -1243,7 +1264,7 @@ GParamSpec* publishing_facebook_param_spec_album (const gchar* name, const gchar
G_PARAM_SPEC (spec)->value_type = object_type;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 1247 "FacebookPublishing.c"
+#line 1268 "FacebookPublishing.c"
}
@@ -1252,12 +1273,12 @@ gpointer publishing_facebook_value_get_album (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_ALBUM), NULL);
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 1256 "FacebookPublishing.c"
+#line 1277 "FacebookPublishing.c"
}
void publishing_facebook_value_set_album (GValue* value, gpointer v_object) {
- PublishingFacebookAlbum* old;
+ PublishingFacebookAlbum * old;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_ALBUM));
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1272,23 +1293,23 @@ void publishing_facebook_value_set_album (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_album_ref (value->data[0].v_pointer);
-#line 1276 "FacebookPublishing.c"
+#line 1297 "FacebookPublishing.c"
} else {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1280 "FacebookPublishing.c"
+#line 1301 "FacebookPublishing.c"
}
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_album_unref (old);
-#line 1286 "FacebookPublishing.c"
+#line 1307 "FacebookPublishing.c"
}
}
void publishing_facebook_value_take_album (GValue* value, gpointer v_object) {
- PublishingFacebookAlbum* old;
+ PublishingFacebookAlbum * old;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_ALBUM));
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1301,17 +1322,17 @@ void publishing_facebook_value_take_album (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 1305 "FacebookPublishing.c"
+#line 1326 "FacebookPublishing.c"
} else {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1309 "FacebookPublishing.c"
+#line 1330 "FacebookPublishing.c"
}
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_album_unref (old);
-#line 1315 "FacebookPublishing.c"
+#line 1336 "FacebookPublishing.c"
}
}
@@ -1321,18 +1342,18 @@ static void publishing_facebook_album_class_init (PublishingFacebookAlbumClass *
publishing_facebook_album_parent_class = g_type_class_peek_parent (klass);
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
((PublishingFacebookAlbumClass *) klass)->finalize = publishing_facebook_album_finalize;
-#line 1325 "FacebookPublishing.c"
+#line 1346 "FacebookPublishing.c"
}
static void publishing_facebook_album_instance_init (PublishingFacebookAlbum * self) {
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->ref_count = 1;
-#line 1332 "FacebookPublishing.c"
+#line 1353 "FacebookPublishing.c"
}
-static void publishing_facebook_album_finalize (PublishingFacebookAlbum* obj) {
+static void publishing_facebook_album_finalize (PublishingFacebookAlbum * obj) {
PublishingFacebookAlbum * self;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_ALBUM, PublishingFacebookAlbum);
@@ -1342,7 +1363,7 @@ static void publishing_facebook_album_finalize (PublishingFacebookAlbum* obj) {
_g_free0 (self->name);
#line 66 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (self->id);
-#line 1346 "FacebookPublishing.c"
+#line 1367 "FacebookPublishing.c"
}
@@ -1361,18 +1382,18 @@ GType publishing_facebook_album_get_type (void) {
gpointer publishing_facebook_album_ref (gpointer instance) {
- PublishingFacebookAlbum* self;
+ PublishingFacebookAlbum * self;
self = instance;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_atomic_int_inc (&self->ref_count);
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return instance;
-#line 1371 "FacebookPublishing.c"
+#line 1392 "FacebookPublishing.c"
}
void publishing_facebook_album_unref (gpointer instance) {
- PublishingFacebookAlbum* self;
+ PublishingFacebookAlbum * self;
self = instance;
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -1380,7 +1401,7 @@ void publishing_facebook_album_unref (gpointer instance) {
PUBLISHING_FACEBOOK_ALBUM_GET_CLASS (self)->finalize (self);
#line 64 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1384 "FacebookPublishing.c"
+#line 1405 "FacebookPublishing.c"
}
}
@@ -1391,44 +1412,38 @@ gchar* publishing_facebook_resolution_get_name (PublishingFacebookResolution sel
switch (self) {
#line 79 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case PUBLISHING_FACEBOOK_RESOLUTION_STANDARD:
-#line 1395 "FacebookPublishing.c"
+#line 1416 "FacebookPublishing.c"
{
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ gchar* _tmp0_;
#line 81 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp0_ = _ ("Standard (720 pixels)");
+ _tmp0_ = g_strdup (_ ("Standard (720 pixels)"));
#line 81 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp1_ = g_strdup (_tmp0_);
-#line 81 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- result = _tmp1_;
+ result = _tmp0_;
#line 81 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 1407 "FacebookPublishing.c"
+#line 1425 "FacebookPublishing.c"
}
#line 79 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case PUBLISHING_FACEBOOK_RESOLUTION_HIGH:
-#line 1411 "FacebookPublishing.c"
+#line 1429 "FacebookPublishing.c"
{
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
-#line 84 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp2_ = _ ("Large (2048 pixels)");
+ gchar* _tmp1_;
#line 84 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp3_ = g_strdup (_tmp2_);
+ _tmp1_ = g_strdup (_ ("Large (2048 pixels)"));
#line 84 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- result = _tmp3_;
+ result = _tmp1_;
#line 84 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 1423 "FacebookPublishing.c"
+#line 1438 "FacebookPublishing.c"
}
default:
{
- GEnumValue* _tmp4_;
+ GEnumValue* _tmp2_;
#line 87 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp4_ = g_enum_get_value (g_type_class_ref (PUBLISHING_FACEBOOK_TYPE_RESOLUTION), self);
+ _tmp2_ = g_enum_get_value (g_type_class_ref (PUBLISHING_FACEBOOK_TYPE_RESOLUTION), self);
#line 87 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_error ("FacebookPublishing.vala:87: Unknown resolution %s", (_tmp4_ != NULL) ? _tmp4_->value_name : NULL);
-#line 1432 "FacebookPublishing.c"
+ g_error ("FacebookPublishing.vala:87: Unknown resolution %s", (_tmp2_ != NULL) ? _tmp2_->value_name : NULL);
+#line 1447 "FacebookPublishing.c"
}
}
}
@@ -1440,23 +1455,23 @@ gint publishing_facebook_resolution_get_pixels (PublishingFacebookResolution sel
switch (self) {
#line 92 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case PUBLISHING_FACEBOOK_RESOLUTION_STANDARD:
-#line 1444 "FacebookPublishing.c"
+#line 1459 "FacebookPublishing.c"
{
#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
result = 720;
#line 94 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 1450 "FacebookPublishing.c"
+#line 1465 "FacebookPublishing.c"
}
#line 92 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case PUBLISHING_FACEBOOK_RESOLUTION_HIGH:
-#line 1454 "FacebookPublishing.c"
+#line 1469 "FacebookPublishing.c"
{
#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
result = 2048;
#line 97 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 1460 "FacebookPublishing.c"
+#line 1475 "FacebookPublishing.c"
}
default:
{
@@ -1465,7 +1480,7 @@ gint publishing_facebook_resolution_get_pixels (PublishingFacebookResolution sel
_tmp0_ = g_enum_get_value (g_type_class_ref (PUBLISHING_FACEBOOK_TYPE_RESOLUTION), self);
#line 100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_error ("FacebookPublishing.vala:100: Unknown resolution %s", (_tmp0_ != NULL) ? _tmp0_->value_name : NULL);
-#line 1469 "FacebookPublishing.c"
+#line 1484 "FacebookPublishing.c"
}
}
}
@@ -1511,51 +1526,51 @@ PublishingFacebookPublishingParameters* publishing_facebook_publishing_parameter
self->resolution = PUBLISHING_FACEBOOK_RESOLUTION_HIGH;
#line 119 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 1515 "FacebookPublishing.c"
+#line 1530 "FacebookPublishing.c"
}
PublishingFacebookPublishingParameters* publishing_facebook_publishing_parameters_new (void) {
#line 119 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_publishing_parameters_construct (PUBLISHING_FACEBOOK_TYPE_PUBLISHING_PARAMETERS);
-#line 1522 "FacebookPublishing.c"
+#line 1537 "FacebookPublishing.c"
}
static gpointer _publishing_facebook_album_ref0 (gpointer self) {
#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self ? publishing_facebook_album_ref (self) : NULL;
-#line 1529 "FacebookPublishing.c"
+#line 1544 "FacebookPublishing.c"
}
-static void _vala_array_add6 (PublishingFacebookAlbum*** array, int* length, int* size, PublishingFacebookAlbum* value) {
+static void _vala_array_add6 (PublishingFacebookAlbum** * array, int* length, int* size, PublishingFacebookAlbum* value) {
#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if ((*length) == (*size)) {
#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*array = g_renew (PublishingFacebookAlbum*, *array, (*size) + 1);
-#line 1540 "FacebookPublishing.c"
+#line 1555 "FacebookPublishing.c"
}
#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*array)[(*length)++] = value;
#line 133 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*array)[*length] = NULL;
-#line 1546 "FacebookPublishing.c"
+#line 1561 "FacebookPublishing.c"
}
void publishing_facebook_publishing_parameters_add_album (PublishingFacebookPublishingParameters* self, const gchar* name, const gchar* id) {
- PublishingFacebookAlbum** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
+ PublishingFacebookAlbum** _tmp0_;
+ gint _tmp0__length1;
PublishingFacebookAlbum* new_album = NULL;
- const gchar* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- PublishingFacebookAlbum* _tmp4_ = NULL;
- PublishingFacebookAlbum** _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- PublishingFacebookAlbum* _tmp6_ = NULL;
+ const gchar* _tmp2_;
+ const gchar* _tmp3_;
+ PublishingFacebookAlbum* _tmp4_;
+ PublishingFacebookAlbum** _tmp5_;
+ gint _tmp5__length1;
+ PublishingFacebookAlbum* _tmp6_;
#line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_PARAMETERS (self));
#line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1568,8 +1583,8 @@ void publishing_facebook_publishing_parameters_add_album (PublishingFacebookPubl
_tmp0__length1 = self->albums_length1;
#line 129 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp0_ == NULL) {
-#line 1572 "FacebookPublishing.c"
- PublishingFacebookAlbum** _tmp1_ = NULL;
+#line 1587 "FacebookPublishing.c"
+ PublishingFacebookAlbum** _tmp1_;
#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = g_new0 (PublishingFacebookAlbum*, 0 + 1);
#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1580,7 +1595,7 @@ void publishing_facebook_publishing_parameters_add_album (PublishingFacebookPubl
self->albums_length1 = 0;
#line 130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->_albums_size_ = self->albums_length1;
-#line 1584 "FacebookPublishing.c"
+#line 1599 "FacebookPublishing.c"
}
#line 132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = name;
@@ -1600,12 +1615,12 @@ void publishing_facebook_publishing_parameters_add_album (PublishingFacebookPubl
_vala_array_add6 (&self->albums, &self->albums_length1, &self->_albums_size_, _tmp6_);
#line 128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_publishing_facebook_album_unref0 (new_album);
-#line 1604 "FacebookPublishing.c"
+#line 1619 "FacebookPublishing.c"
}
void publishing_facebook_publishing_parameters_set_target_album_by_name (PublishingFacebookPublishingParameters* self, const gchar* name) {
- const gchar* _tmp0_ = NULL;
+ const gchar* _tmp0_;
#line 136 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_PARAMETERS (self));
#line 137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1616,38 +1631,38 @@ void publishing_facebook_publishing_parameters_set_target_album_by_name (Publish
self->target_album = PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM;
#line 139 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 1620 "FacebookPublishing.c"
+#line 1635 "FacebookPublishing.c"
}
{
gint i = 0;
#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
i = 0;
-#line 1626 "FacebookPublishing.c"
+#line 1641 "FacebookPublishing.c"
{
gboolean _tmp1_ = FALSE;
#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = TRUE;
#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
while (TRUE) {
-#line 1633 "FacebookPublishing.c"
- gint _tmp3_ = 0;
- PublishingFacebookAlbum** _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
- PublishingFacebookAlbum** _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- gint _tmp6_ = 0;
- PublishingFacebookAlbum* _tmp7_ = NULL;
- const gchar* _tmp8_ = NULL;
- const gchar* _tmp9_ = NULL;
+#line 1648 "FacebookPublishing.c"
+ gint _tmp3_;
+ PublishingFacebookAlbum** _tmp4_;
+ gint _tmp4__length1;
+ PublishingFacebookAlbum** _tmp5_;
+ gint _tmp5__length1;
+ gint _tmp6_;
+ PublishingFacebookAlbum* _tmp7_;
+ const gchar* _tmp8_;
+ const gchar* _tmp9_;
#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!_tmp1_) {
-#line 1645 "FacebookPublishing.c"
- gint _tmp2_ = 0;
+#line 1660 "FacebookPublishing.c"
+ gint _tmp2_;
#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = i;
#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
i = _tmp2_ + 1;
-#line 1651 "FacebookPublishing.c"
+#line 1666 "FacebookPublishing.c"
}
#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = FALSE;
@@ -1661,7 +1676,7 @@ void publishing_facebook_publishing_parameters_set_target_album_by_name (Publish
if (!(_tmp3_ < _tmp4__length1)) {
#line 142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
break;
-#line 1665 "FacebookPublishing.c"
+#line 1680 "FacebookPublishing.c"
}
#line 144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp5_ = self->albums;
@@ -1677,36 +1692,36 @@ void publishing_facebook_publishing_parameters_set_target_album_by_name (Publish
_tmp9_ = name;
#line 144 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (g_strcmp0 (_tmp8_, _tmp9_) == 0) {
-#line 1681 "FacebookPublishing.c"
- gint _tmp10_ = 0;
+#line 1696 "FacebookPublishing.c"
+ gint _tmp10_;
#line 145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp10_ = i;
#line 145 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->target_album = _tmp10_;
#line 146 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 1689 "FacebookPublishing.c"
+#line 1704 "FacebookPublishing.c"
}
}
}
}
#line 150 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->target_album = PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM;
-#line 1696 "FacebookPublishing.c"
+#line 1711 "FacebookPublishing.c"
}
gchar* publishing_facebook_publishing_parameters_get_target_album_name (PublishingFacebookPublishingParameters* self) {
gchar* result = NULL;
gboolean _tmp0_ = FALSE;
- PublishingFacebookAlbum** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
- PublishingFacebookAlbum** _tmp3_ = NULL;
- gint _tmp3__length1 = 0;
- gint _tmp4_ = 0;
- PublishingFacebookAlbum* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
+ PublishingFacebookAlbum** _tmp1_;
+ gint _tmp1__length1;
+ PublishingFacebookAlbum** _tmp3_;
+ gint _tmp3__length1;
+ gint _tmp4_;
+ PublishingFacebookAlbum* _tmp5_;
+ const gchar* _tmp6_;
+ gchar* _tmp7_;
#line 153 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_PARAMETERS (self), NULL);
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1717,14 +1732,14 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_name (Publishi
if (_tmp1_ == NULL) {
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = TRUE;
-#line 1721 "FacebookPublishing.c"
+#line 1736 "FacebookPublishing.c"
} else {
- gint _tmp2_ = 0;
+ gint _tmp2_;
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = self->target_album;
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = _tmp2_ == PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM;
-#line 1728 "FacebookPublishing.c"
+#line 1743 "FacebookPublishing.c"
}
#line 154 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp0_) {
@@ -1732,7 +1747,7 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_name (Publishi
result = NULL;
#line 155 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 1736 "FacebookPublishing.c"
+#line 1751 "FacebookPublishing.c"
}
#line 157 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp3_ = self->albums;
@@ -1750,21 +1765,21 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_name (Publishi
result = _tmp7_;
#line 157 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 1754 "FacebookPublishing.c"
+#line 1769 "FacebookPublishing.c"
}
gchar* publishing_facebook_publishing_parameters_get_target_album_id (PublishingFacebookPublishingParameters* self) {
gchar* result = NULL;
gboolean _tmp0_ = FALSE;
- PublishingFacebookAlbum** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
- PublishingFacebookAlbum** _tmp3_ = NULL;
- gint _tmp3__length1 = 0;
- gint _tmp4_ = 0;
- PublishingFacebookAlbum* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
+ PublishingFacebookAlbum** _tmp1_;
+ gint _tmp1__length1;
+ PublishingFacebookAlbum** _tmp3_;
+ gint _tmp3__length1;
+ gint _tmp4_;
+ PublishingFacebookAlbum* _tmp5_;
+ const gchar* _tmp6_;
+ gchar* _tmp7_;
#line 160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_PARAMETERS (self), NULL);
#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1775,14 +1790,14 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_id (Publishing
if (_tmp1_ == NULL) {
#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = TRUE;
-#line 1779 "FacebookPublishing.c"
+#line 1794 "FacebookPublishing.c"
} else {
- gint _tmp2_ = 0;
+ gint _tmp2_;
#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = self->target_album;
#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = _tmp2_ == PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM;
-#line 1786 "FacebookPublishing.c"
+#line 1801 "FacebookPublishing.c"
}
#line 161 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp0_) {
@@ -1790,7 +1805,7 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_id (Publishing
result = NULL;
#line 162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 1794 "FacebookPublishing.c"
+#line 1809 "FacebookPublishing.c"
}
#line 164 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp3_ = self->albums;
@@ -1808,14 +1823,14 @@ gchar* publishing_facebook_publishing_parameters_get_target_album_id (Publishing
result = _tmp7_;
#line 164 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 1812 "FacebookPublishing.c"
+#line 1827 "FacebookPublishing.c"
}
static void publishing_facebook_value_publishing_parameters_init (GValue* value) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1819 "FacebookPublishing.c"
+#line 1834 "FacebookPublishing.c"
}
@@ -1824,7 +1839,7 @@ static void publishing_facebook_value_publishing_parameters_free_value (GValue*
if (value->data[0].v_pointer) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_parameters_unref (value->data[0].v_pointer);
-#line 1828 "FacebookPublishing.c"
+#line 1843 "FacebookPublishing.c"
}
}
@@ -1834,11 +1849,11 @@ static void publishing_facebook_value_publishing_parameters_copy_value (const GV
if (src_value->data[0].v_pointer) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = publishing_facebook_publishing_parameters_ref (src_value->data[0].v_pointer);
-#line 1838 "FacebookPublishing.c"
+#line 1853 "FacebookPublishing.c"
} else {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1842 "FacebookPublishing.c"
+#line 1857 "FacebookPublishing.c"
}
}
@@ -1846,66 +1861,66 @@ static void publishing_facebook_value_publishing_parameters_copy_value (const GV
static gpointer publishing_facebook_value_publishing_parameters_peek_pointer (const GValue* value) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 1850 "FacebookPublishing.c"
+#line 1865 "FacebookPublishing.c"
}
static gchar* publishing_facebook_value_publishing_parameters_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 1857 "FacebookPublishing.c"
- PublishingFacebookPublishingParameters* object;
+#line 1872 "FacebookPublishing.c"
+ PublishingFacebookPublishingParameters * object;
object = collect_values[0].v_pointer;
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1864 "FacebookPublishing.c"
+#line 1879 "FacebookPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.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 1868 "FacebookPublishing.c"
+#line 1883 "FacebookPublishing.c"
}
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = publishing_facebook_publishing_parameters_ref (object);
-#line 1872 "FacebookPublishing.c"
+#line 1887 "FacebookPublishing.c"
} else {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1876 "FacebookPublishing.c"
+#line 1891 "FacebookPublishing.c"
}
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 1880 "FacebookPublishing.c"
+#line 1895 "FacebookPublishing.c"
}
static gchar* publishing_facebook_value_publishing_parameters_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PublishingFacebookPublishingParameters** object_p;
+ PublishingFacebookPublishingParameters ** object_p;
object_p = collect_values[0].v_pointer;
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!object_p) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1891 "FacebookPublishing.c"
+#line 1906 "FacebookPublishing.c"
}
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!value->data[0].v_pointer) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = NULL;
-#line 1897 "FacebookPublishing.c"
+#line 1912 "FacebookPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 1901 "FacebookPublishing.c"
+#line 1916 "FacebookPublishing.c"
} else {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = publishing_facebook_publishing_parameters_ref (value->data[0].v_pointer);
-#line 1905 "FacebookPublishing.c"
+#line 1920 "FacebookPublishing.c"
}
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 1909 "FacebookPublishing.c"
+#line 1924 "FacebookPublishing.c"
}
@@ -1919,7 +1934,7 @@ GParamSpec* publishing_facebook_param_spec_publishing_parameters (const gchar* n
G_PARAM_SPEC (spec)->value_type = object_type;
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 1923 "FacebookPublishing.c"
+#line 1938 "FacebookPublishing.c"
}
@@ -1928,12 +1943,12 @@ gpointer publishing_facebook_value_get_publishing_parameters (const GValue* valu
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_PARAMETERS), NULL);
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 1932 "FacebookPublishing.c"
+#line 1947 "FacebookPublishing.c"
}
void publishing_facebook_value_set_publishing_parameters (GValue* value, gpointer v_object) {
- PublishingFacebookPublishingParameters* old;
+ PublishingFacebookPublishingParameters * old;
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_PARAMETERS));
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1948,23 +1963,23 @@ void publishing_facebook_value_set_publishing_parameters (GValue* value, gpointe
value->data[0].v_pointer = v_object;
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_parameters_ref (value->data[0].v_pointer);
-#line 1952 "FacebookPublishing.c"
+#line 1967 "FacebookPublishing.c"
} else {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1956 "FacebookPublishing.c"
+#line 1971 "FacebookPublishing.c"
}
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_parameters_unref (old);
-#line 1962 "FacebookPublishing.c"
+#line 1977 "FacebookPublishing.c"
}
}
void publishing_facebook_value_take_publishing_parameters (GValue* value, gpointer v_object) {
- PublishingFacebookPublishingParameters* old;
+ PublishingFacebookPublishingParameters * old;
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_PARAMETERS));
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -1977,17 +1992,17 @@ void publishing_facebook_value_take_publishing_parameters (GValue* value, gpoint
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 1981 "FacebookPublishing.c"
+#line 1996 "FacebookPublishing.c"
} else {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 1985 "FacebookPublishing.c"
+#line 2000 "FacebookPublishing.c"
}
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_parameters_unref (old);
-#line 1991 "FacebookPublishing.c"
+#line 2006 "FacebookPublishing.c"
}
}
@@ -1997,18 +2012,18 @@ static void publishing_facebook_publishing_parameters_class_init (PublishingFace
publishing_facebook_publishing_parameters_parent_class = g_type_class_peek_parent (klass);
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
((PublishingFacebookPublishingParametersClass *) klass)->finalize = publishing_facebook_publishing_parameters_finalize;
-#line 2001 "FacebookPublishing.c"
+#line 2016 "FacebookPublishing.c"
}
static void publishing_facebook_publishing_parameters_instance_init (PublishingFacebookPublishingParameters * self) {
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->ref_count = 1;
-#line 2008 "FacebookPublishing.c"
+#line 2023 "FacebookPublishing.c"
}
-static void publishing_facebook_publishing_parameters_finalize (PublishingFacebookPublishingParameters* obj) {
+static void publishing_facebook_publishing_parameters_finalize (PublishingFacebookPublishingParameters * obj) {
PublishingFacebookPublishingParameters * self;
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_PARAMETERS, PublishingFacebookPublishingParameters);
@@ -2020,7 +2035,7 @@ static void publishing_facebook_publishing_parameters_finalize (PublishingFacebo
_g_free0 (self->new_album_name);
#line 115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (self->privacy_object);
-#line 2024 "FacebookPublishing.c"
+#line 2039 "FacebookPublishing.c"
}
@@ -2039,18 +2054,18 @@ GType publishing_facebook_publishing_parameters_get_type (void) {
gpointer publishing_facebook_publishing_parameters_ref (gpointer instance) {
- PublishingFacebookPublishingParameters* self;
+ PublishingFacebookPublishingParameters * self;
self = instance;
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_atomic_int_inc (&self->ref_count);
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return instance;
-#line 2049 "FacebookPublishing.c"
+#line 2064 "FacebookPublishing.c"
}
void publishing_facebook_publishing_parameters_unref (gpointer instance) {
- PublishingFacebookPublishingParameters* self;
+ PublishingFacebookPublishingParameters * self;
self = instance;
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -2058,7 +2073,7 @@ void publishing_facebook_publishing_parameters_unref (gpointer instance) {
PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_GET_CLASS (self)->finalize (self);
#line 105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 2062 "FacebookPublishing.c"
+#line 2077 "FacebookPublishing.c"
}
}
@@ -2066,21 +2081,21 @@ void publishing_facebook_publishing_parameters_unref (gpointer instance) {
static void _publishing_facebook_facebook_publisher_on_session_authenticated_publishing_facebook_graph_session_authenticated (PublishingFacebookGraphSession* _sender, gpointer self) {
#line 194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_session_authenticated ((PublishingFacebookFacebookPublisher*) self);
-#line 2070 "FacebookPublishing.c"
+#line 2085 "FacebookPublishing.c"
}
PublishingFacebookFacebookPublisher* publishing_facebook_facebook_publisher_construct (GType object_type, SpitPublishingService* service, SpitPublishingPluginHost* host) {
PublishingFacebookFacebookPublisher * self = NULL;
- SpitPublishingService* _tmp0_ = NULL;
- SpitPublishingPluginHost* _tmp1_ = NULL;
- PublishingFacebookPublishingParameters* _tmp2_ = NULL;
- PublishingAuthenticatorFactory* _tmp3_ = NULL;
- PublishingAuthenticatorFactory* _tmp4_ = NULL;
- SpitPublishingPluginHost* _tmp5_ = NULL;
- SpitPublishingAuthenticator* _tmp6_ = NULL;
- PublishingFacebookGraphSession* _tmp7_ = NULL;
- PublishingFacebookGraphSession* _tmp8_ = NULL;
+ SpitPublishingService* _tmp0_;
+ SpitPublishingPluginHost* _tmp1_;
+ PublishingFacebookPublishingParameters* _tmp2_;
+ PublishingAuthenticatorFactory* _tmp3_;
+ PublishingAuthenticatorFactory* _tmp4_;
+ SpitPublishingPluginHost* _tmp5_;
+ SpitPublishingAuthenticator* _tmp6_;
+ PublishingFacebookGraphSession* _tmp7_;
+ PublishingFacebookGraphSession* _tmp8_;
#line 181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_SERVICE (service), NULL);
#line 181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2129,21 +2144,21 @@ PublishingFacebookFacebookPublisher* publishing_facebook_facebook_publisher_cons
g_signal_connect_object (_tmp8_, "authenticated", (GCallback) _publishing_facebook_facebook_publisher_on_session_authenticated_publishing_facebook_graph_session_authenticated, self, 0);
#line 181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 2133 "FacebookPublishing.c"
+#line 2148 "FacebookPublishing.c"
}
PublishingFacebookFacebookPublisher* publishing_facebook_facebook_publisher_new (SpitPublishingService* service, SpitPublishingPluginHost* host) {
#line 181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_facebook_publisher_construct (PUBLISHING_FACEBOOK_TYPE_FACEBOOK_PUBLISHER, service, host);
-#line 2140 "FacebookPublishing.c"
+#line 2155 "FacebookPublishing.c"
}
static gboolean publishing_facebook_facebook_publisher_get_persistent_strip_metadata (PublishingFacebookFacebookPublisher* self) {
gboolean result = FALSE;
- SpitPublishingPluginHost* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ SpitPublishingPluginHost* _tmp0_;
+ gboolean _tmp1_;
#line 197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self), FALSE);
#line 198 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2154,13 +2169,13 @@ static gboolean publishing_facebook_facebook_publisher_get_persistent_strip_meta
result = _tmp1_;
#line 198 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 2158 "FacebookPublishing.c"
+#line 2173 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_set_persistent_strip_metadata (PublishingFacebookFacebookPublisher* self, gboolean strip_metadata) {
- SpitPublishingPluginHost* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
+ SpitPublishingPluginHost* _tmp0_;
+ gboolean _tmp1_;
#line 201 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 202 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2169,14 +2184,14 @@ static void publishing_facebook_facebook_publisher_set_persistent_strip_metadata
_tmp1_ = strip_metadata;
#line 202 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
spit_host_interface_set_config_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "strip_metadata", _tmp1_);
-#line 2173 "FacebookPublishing.c"
+#line 2188 "FacebookPublishing.c"
}
gint publishing_facebook_facebook_publisher_get_persistent_default_size (PublishingFacebookFacebookPublisher* self) {
gint result = 0;
- SpitPublishingPluginHost* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ SpitPublishingPluginHost* _tmp0_;
+ gint _tmp1_;
#line 207 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self), 0);
#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2187,13 +2202,13 @@ gint publishing_facebook_facebook_publisher_get_persistent_default_size (Publish
result = _tmp1_;
#line 208 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 2191 "FacebookPublishing.c"
+#line 2206 "FacebookPublishing.c"
}
void publishing_facebook_facebook_publisher_set_persistent_default_size (PublishingFacebookFacebookPublisher* self, gint size) {
- SpitPublishingPluginHost* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ SpitPublishingPluginHost* _tmp0_;
+ gint _tmp1_;
#line 211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2202,31 +2217,31 @@ void publishing_facebook_facebook_publisher_set_persistent_default_size (Publish
_tmp1_ = size;
#line 212 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
spit_host_interface_set_config_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, SPIT_TYPE_HOST_INTERFACE, SpitHostInterface), "default_size", _tmp1_);
-#line 2206 "FacebookPublishing.c"
+#line 2221 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_fetch_user_info_completed_publishing_facebook_graph_message_completed (PublishingFacebookGraphMessage* _sender, gpointer self) {
#line 238 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_fetch_user_info_completed ((PublishingFacebookFacebookPublisher*) self, _sender);
-#line 2213 "FacebookPublishing.c"
+#line 2228 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_fetch_user_info_error_publishing_facebook_graph_message_failed (PublishingFacebookGraphMessage* _sender, GError* err, gpointer self) {
#line 239 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_fetch_user_info_error ((PublishingFacebookFacebookPublisher*) self, _sender, err);
-#line 2220 "FacebookPublishing.c"
+#line 2235 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_do_fetch_user_info (PublishingFacebookFacebookPublisher* self) {
- SpitPublishingPluginHost* _tmp0_ = NULL;
- SpitPublishingPluginHost* _tmp1_ = NULL;
+ SpitPublishingPluginHost* _tmp0_;
+ SpitPublishingPluginHost* _tmp1_;
PublishingFacebookGraphMessage* user_info_message = NULL;
- PublishingFacebookGraphSession* _tmp2_ = NULL;
- PublishingFacebookGraphMessage* _tmp3_ = NULL;
- PublishingFacebookGraphSession* _tmp4_ = NULL;
+ PublishingFacebookGraphSession* _tmp2_;
+ PublishingFacebookGraphMessage* _tmp3_;
+ PublishingFacebookGraphSession* _tmp4_;
#line 230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 231 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2255,35 +2270,35 @@ static void publishing_facebook_facebook_publisher_do_fetch_user_info (Publishin
publishing_facebook_graph_session_send_message (_tmp4_, user_info_message);
#line 230 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_publishing_facebook_graph_message_unref0 (user_info_message);
-#line 2259 "FacebookPublishing.c"
+#line 2274 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_fetch_albums_completed_publishing_facebook_graph_message_completed (PublishingFacebookGraphMessage* _sender, gpointer self) {
#line 252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_fetch_albums_completed ((PublishingFacebookFacebookPublisher*) self, _sender);
-#line 2266 "FacebookPublishing.c"
+#line 2281 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_fetch_albums_error_publishing_facebook_graph_message_failed (PublishingFacebookGraphMessage* _sender, GError* err, gpointer self) {
#line 253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_fetch_albums_error ((PublishingFacebookFacebookPublisher*) self, _sender, err);
-#line 2273 "FacebookPublishing.c"
+#line 2288 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_do_fetch_album_descriptions (PublishingFacebookFacebookPublisher* self) {
- SpitPublishingPluginHost* _tmp0_ = NULL;
- SpitPublishingPluginHost* _tmp1_ = NULL;
+ SpitPublishingPluginHost* _tmp0_;
+ SpitPublishingPluginHost* _tmp1_;
PublishingFacebookGraphMessage* albums_message = NULL;
- PublishingFacebookGraphSession* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- PublishingFacebookGraphMessage* _tmp6_ = NULL;
- PublishingFacebookGraphMessage* _tmp7_ = NULL;
- PublishingFacebookGraphSession* _tmp8_ = NULL;
+ PublishingFacebookGraphSession* _tmp2_;
+ const gchar* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ PublishingFacebookGraphMessage* _tmp6_;
+ PublishingFacebookGraphMessage* _tmp7_;
+ PublishingFacebookGraphSession* _tmp8_;
#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 245 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2322,35 +2337,35 @@ static void publishing_facebook_facebook_publisher_do_fetch_album_descriptions (
publishing_facebook_graph_session_send_message (_tmp8_, albums_message);
#line 244 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_publishing_facebook_graph_message_unref0 (albums_message);
-#line 2326 "FacebookPublishing.c"
+#line 2341 "FacebookPublishing.c"
}
static JsonNode* _vala_JsonNode_copy (JsonNode* self) {
#line 265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_boxed_copy (json_node_get_type (), self);
-#line 2333 "FacebookPublishing.c"
+#line 2348 "FacebookPublishing.c"
}
static gpointer __vala_JsonNode_copy0 (gpointer self) {
#line 265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self ? _vala_JsonNode_copy (self) : NULL;
-#line 2340 "FacebookPublishing.c"
+#line 2355 "FacebookPublishing.c"
}
static gpointer _json_object_ref0 (gpointer self) {
#line 266 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self ? json_object_ref (self) : NULL;
-#line 2347 "FacebookPublishing.c"
+#line 2362 "FacebookPublishing.c"
}
static void _vala_JsonNode_free (JsonNode* self) {
#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_boxed_free (json_node_get_type (), self);
-#line 2354 "FacebookPublishing.c"
+#line 2369 "FacebookPublishing.c"
}
@@ -2363,26 +2378,26 @@ static void publishing_facebook_facebook_publisher_do_extract_user_info_from_jso
#line 259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_debug ("FacebookPublishing.vala:259: ACTION: extracting user info from JSON re" \
"sponse.");
-#line 2366 "FacebookPublishing.c"
+#line 2381 "FacebookPublishing.c"
{
JsonParser* parser = NULL;
- JsonParser* _tmp0_ = NULL;
- JsonParser* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
+ JsonParser* _tmp0_;
+ JsonParser* _tmp1_;
+ const gchar* _tmp2_;
JsonNode* root = NULL;
- JsonParser* _tmp3_ = NULL;
- JsonNode* _tmp4_ = NULL;
- JsonNode* _tmp5_ = NULL;
+ JsonParser* _tmp3_;
+ JsonNode* _tmp4_;
+ JsonNode* _tmp5_;
JsonObject* response_object = NULL;
- JsonNode* _tmp6_ = NULL;
- JsonObject* _tmp7_ = NULL;
- JsonObject* _tmp8_ = NULL;
- JsonObject* _tmp9_ = NULL;
- const gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- JsonObject* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
+ JsonNode* _tmp6_;
+ JsonObject* _tmp7_;
+ JsonObject* _tmp8_;
+ JsonObject* _tmp9_;
+ const gchar* _tmp10_;
+ gchar* _tmp11_;
+ JsonObject* _tmp12_;
+ const gchar* _tmp13_;
+ gchar* _tmp14_;
#line 262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = json_parser_new ();
#line 262 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2397,7 +2412,7 @@ static void publishing_facebook_facebook_publisher_do_extract_user_info_from_jso
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_object_unref0 (parser);
-#line 2400 "FacebookPublishing.c"
+#line 2415 "FacebookPublishing.c"
goto __catch0_g_error;
}
#line 265 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2442,17 +2457,17 @@ static void publishing_facebook_facebook_publisher_do_extract_user_info_from_jso
__vala_JsonNode_free0 (root);
#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_object_unref0 (parser);
-#line 2445 "FacebookPublishing.c"
+#line 2460 "FacebookPublishing.c"
}
goto __finally0;
__catch0_g_error:
{
GError* _error_ = NULL;
- SpitPublishingPluginHost* _tmp15_ = NULL;
- GError* _tmp16_ = NULL;
- const gchar* _tmp17_ = NULL;
- GError* _tmp18_ = NULL;
- GError* _tmp19_ = NULL;
+ SpitPublishingPluginHost* _tmp15_;
+ GError* _tmp16_;
+ const gchar* _tmp17_;
+ GError* _tmp18_;
+ GError* _tmp19_;
#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_error_ = _inner_error_;
#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2475,7 +2490,7 @@ static void publishing_facebook_facebook_publisher_do_extract_user_info_from_jso
_g_error_free0 (_error_);
#line 271 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 2478 "FacebookPublishing.c"
+#line 2493 "FacebookPublishing.c"
}
__finally0:
#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2486,18 +2501,18 @@ static void publishing_facebook_facebook_publisher_do_extract_user_info_from_jso
g_clear_error (&_inner_error_);
#line 261 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 2489 "FacebookPublishing.c"
+#line 2504 "FacebookPublishing.c"
}
#line 274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_user_info_extracted (self);
-#line 2493 "FacebookPublishing.c"
+#line 2508 "FacebookPublishing.c"
}
static gpointer _json_array_ref0 (gpointer self) {
#line 286 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self ? json_array_ref (self) : NULL;
-#line 2500 "FacebookPublishing.c"
+#line 2515 "FacebookPublishing.c"
}
@@ -2510,26 +2525,26 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json (
#line 278 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_debug ("FacebookPublishing.vala:278: ACTION: extracting album info from JSON r" \
"esponse.");
-#line 2512 "FacebookPublishing.c"
+#line 2527 "FacebookPublishing.c"
{
JsonParser* parser = NULL;
- JsonParser* _tmp0_ = NULL;
- JsonParser* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
+ JsonParser* _tmp0_;
+ JsonParser* _tmp1_;
+ const gchar* _tmp2_;
JsonNode* root = NULL;
- JsonParser* _tmp3_ = NULL;
- JsonNode* _tmp4_ = NULL;
- JsonNode* _tmp5_ = NULL;
+ JsonParser* _tmp3_;
+ JsonNode* _tmp4_;
+ JsonNode* _tmp5_;
JsonObject* response_object = NULL;
- JsonNode* _tmp6_ = NULL;
- JsonObject* _tmp7_ = NULL;
- JsonObject* _tmp8_ = NULL;
+ JsonNode* _tmp6_;
+ JsonObject* _tmp7_;
+ JsonObject* _tmp8_;
JsonArray* album_list = NULL;
- JsonObject* _tmp9_ = NULL;
- JsonArray* _tmp10_ = NULL;
- JsonArray* _tmp11_ = NULL;
- PublishingFacebookPublishingParameters* _tmp12_ = NULL;
- PublishingFacebookAlbum** _tmp13_ = NULL;
+ JsonObject* _tmp9_;
+ JsonArray* _tmp10_;
+ JsonArray* _tmp11_;
+ PublishingFacebookPublishingParameters* _tmp12_;
+ PublishingFacebookAlbum** _tmp13_;
#line 281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = json_parser_new ();
#line 281 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2544,7 +2559,7 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json (
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 282 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_object_unref0 (parser);
-#line 2546 "FacebookPublishing.c"
+#line 2561 "FacebookPublishing.c"
goto __catch1_g_error;
}
#line 284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2583,47 +2598,47 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json (
_tmp12_->albums_length1 = 0;
#line 288 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp12_->_albums_size_ = _tmp12_->albums_length1;
-#line 2585 "FacebookPublishing.c"
+#line 2600 "FacebookPublishing.c"
{
gint i = 0;
#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
i = 0;
-#line 2590 "FacebookPublishing.c"
+#line 2605 "FacebookPublishing.c"
{
gboolean _tmp14_ = FALSE;
#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp14_ = TRUE;
#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
while (TRUE) {
-#line 2597 "FacebookPublishing.c"
- gint _tmp16_ = 0;
- JsonArray* _tmp17_ = NULL;
- guint _tmp18_ = 0U;
+#line 2612 "FacebookPublishing.c"
+ gint _tmp16_;
+ JsonArray* _tmp17_;
+ guint _tmp18_;
JsonObject* current_album = NULL;
- JsonArray* _tmp19_ = NULL;
- gint _tmp20_ = 0;
- JsonObject* _tmp21_ = NULL;
- JsonObject* _tmp22_ = NULL;
+ JsonArray* _tmp19_;
+ gint _tmp20_;
+ JsonObject* _tmp21_;
+ JsonObject* _tmp22_;
gchar* album_id = NULL;
- JsonObject* _tmp23_ = NULL;
- const gchar* _tmp24_ = NULL;
- gchar* _tmp25_ = NULL;
+ JsonObject* _tmp23_;
+ const gchar* _tmp24_;
+ gchar* _tmp25_;
gchar* album_name = NULL;
- JsonObject* _tmp26_ = NULL;
- const gchar* _tmp27_ = NULL;
- gchar* _tmp28_ = NULL;
- PublishingFacebookPublishingParameters* _tmp29_ = NULL;
- const gchar* _tmp30_ = NULL;
- const gchar* _tmp31_ = NULL;
+ JsonObject* _tmp26_;
+ const gchar* _tmp27_;
+ gchar* _tmp28_;
+ PublishingFacebookPublishingParameters* _tmp29_;
+ const gchar* _tmp30_;
+ const gchar* _tmp31_;
#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!_tmp14_) {
-#line 2619 "FacebookPublishing.c"
- gint _tmp15_ = 0;
+#line 2634 "FacebookPublishing.c"
+ gint _tmp15_;
#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp15_ = i;
#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
i = _tmp15_ + 1;
-#line 2625 "FacebookPublishing.c"
+#line 2640 "FacebookPublishing.c"
}
#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp14_ = FALSE;
@@ -2637,7 +2652,7 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json (
if (!(((guint) _tmp16_) < _tmp18_)) {
#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
break;
-#line 2639 "FacebookPublishing.c"
+#line 2654 "FacebookPublishing.c"
}
#line 291 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp19_ = album_list;
@@ -2679,7 +2694,7 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json (
_g_free0 (album_id);
#line 290 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_json_object_unref0 (current_album);
-#line 2681 "FacebookPublishing.c"
+#line 2696 "FacebookPublishing.c"
}
}
}
@@ -2691,17 +2706,17 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json (
__vala_JsonNode_free0 (root);
#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_object_unref0 (parser);
-#line 2693 "FacebookPublishing.c"
+#line 2708 "FacebookPublishing.c"
}
goto __finally1;
__catch1_g_error:
{
GError* _error_ = NULL;
- SpitPublishingPluginHost* _tmp32_ = NULL;
- GError* _tmp33_ = NULL;
- const gchar* _tmp34_ = NULL;
- GError* _tmp35_ = NULL;
- GError* _tmp36_ = NULL;
+ SpitPublishingPluginHost* _tmp32_;
+ GError* _tmp33_;
+ const gchar* _tmp34_;
+ GError* _tmp35_;
+ GError* _tmp36_;
#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_error_ = _inner_error_;
#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2724,7 +2739,7 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json (
_g_error_free0 (_error_);
#line 304 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 2726 "FacebookPublishing.c"
+#line 2741 "FacebookPublishing.c"
}
__finally1:
#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2735,42 +2750,41 @@ static void publishing_facebook_facebook_publisher_do_extract_albums_from_json (
g_clear_error (&_inner_error_);
#line 280 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 2737 "FacebookPublishing.c"
+#line 2752 "FacebookPublishing.c"
}
#line 307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_albums_extracted (self);
-#line 2741 "FacebookPublishing.c"
+#line 2756 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_create_album_completed_publishing_facebook_graph_message_completed (PublishingFacebookGraphMessage* _sender, gpointer self) {
#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_create_album_completed ((PublishingFacebookFacebookPublisher*) self, _sender);
-#line 2748 "FacebookPublishing.c"
+#line 2763 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_create_album_error_publishing_facebook_graph_message_failed (PublishingFacebookGraphMessage* _sender, GError* err, gpointer self) {
#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_create_album_error ((PublishingFacebookFacebookPublisher*) self, _sender, err);
-#line 2755 "FacebookPublishing.c"
+#line 2770 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_do_create_new_album (PublishingFacebookFacebookPublisher* self) {
- PublishingFacebookPublishingParameters* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- SpitPublishingPluginHost* _tmp2_ = NULL;
- SpitPublishingPluginHost* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
+ PublishingFacebookPublishingParameters* _tmp0_;
+ const gchar* _tmp1_;
+ SpitPublishingPluginHost* _tmp2_;
+ SpitPublishingPluginHost* _tmp3_;
PublishingFacebookGraphMessage* create_album_message = NULL;
- PublishingFacebookGraphSession* _tmp5_ = NULL;
- PublishingFacebookPublishingParameters* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
- PublishingFacebookPublishingParameters* _tmp8_ = NULL;
- const gchar* _tmp9_ = NULL;
- PublishingFacebookGraphMessage* _tmp10_ = NULL;
- PublishingFacebookGraphSession* _tmp11_ = NULL;
+ PublishingFacebookGraphSession* _tmp4_;
+ PublishingFacebookPublishingParameters* _tmp5_;
+ const gchar* _tmp6_;
+ PublishingFacebookPublishingParameters* _tmp7_;
+ const gchar* _tmp8_;
+ PublishingFacebookGraphMessage* _tmp9_;
+ PublishingFacebookGraphSession* _tmp10_;
#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 311 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2787,70 +2801,68 @@ static void publishing_facebook_facebook_publisher_do_create_new_album (Publishi
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp3_ = self->priv->host;
#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp4_ = _ ("Creating album…");
-#line 314 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- spit_publishing_plugin_host_install_static_message_pane (_tmp3_, _tmp4_, SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL);
+ spit_publishing_plugin_host_install_static_message_pane (_tmp3_, _ ("Creating album…"), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL);
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp5_ = self->priv->graph_session;
+ _tmp4_ = self->priv->graph_session;
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp6_ = self->priv->publishing_params;
+ _tmp5_ = self->priv->publishing_params;
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp7_ = _tmp6_->new_album_name;
+ _tmp6_ = _tmp5_->new_album_name;
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp8_ = self->priv->publishing_params;
+ _tmp7_ = self->priv->publishing_params;
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp9_ = _tmp8_->privacy_object;
+ _tmp8_ = _tmp7_->privacy_object;
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp10_ = publishing_facebook_graph_session_new_create_album (_tmp5_, _tmp7_, _tmp9_);
+ _tmp9_ = publishing_facebook_graph_session_new_create_album (_tmp4_, _tmp6_, _tmp8_);
#line 316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- create_album_message = _tmp10_;
+ create_album_message = _tmp9_;
#line 319 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_signal_connect_object (create_album_message, "completed", (GCallback) _publishing_facebook_facebook_publisher_on_create_album_completed_publishing_facebook_graph_message_completed, self, 0);
#line 320 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_signal_connect_object (create_album_message, "failed", (GCallback) _publishing_facebook_facebook_publisher_on_create_album_error_publishing_facebook_graph_message_failed, self, 0);
#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp11_ = self->priv->graph_session;
+ _tmp10_ = self->priv->graph_session;
#line 322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- publishing_facebook_graph_session_send_message (_tmp11_, create_album_message);
+ publishing_facebook_graph_session_send_message (_tmp10_, create_album_message);
#line 310 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_publishing_facebook_graph_message_unref0 (create_album_message);
-#line 2815 "FacebookPublishing.c"
+#line 2827 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_publishing_options_pane_logout_publishing_facebook_publishing_options_pane_logout (PublishingFacebookPublishingOptionsPane* _sender, gpointer self) {
#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_publishing_options_pane_logout ((PublishingFacebookFacebookPublisher*) self);
-#line 2822 "FacebookPublishing.c"
+#line 2834 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_publishing_options_pane_publish_publishing_facebook_publishing_options_pane_publish (PublishingFacebookPublishingOptionsPane* _sender, const gchar* target_album, const gchar* privacy_setting, PublishingFacebookResolution target_resolution, gboolean strip_metadata, gpointer self) {
#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_publishing_options_pane_publish ((PublishingFacebookFacebookPublisher*) self, target_album, privacy_setting, target_resolution, strip_metadata);
-#line 2829 "FacebookPublishing.c"
+#line 2841 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_do_show_publishing_options_pane (PublishingFacebookFacebookPublisher* self) {
- SpitPublishingPluginHost* _tmp0_ = NULL;
+ SpitPublishingPluginHost* _tmp0_;
GtkBuilder* builder = NULL;
- GtkBuilder* _tmp1_ = NULL;
- const gchar* _tmp9_ = NULL;
- PublishingFacebookPublishingParameters* _tmp10_ = NULL;
- PublishingFacebookAlbum** _tmp11_ = NULL;
- gint _tmp11__length1 = 0;
- SpitPublishingPluginHost* _tmp12_ = NULL;
- SpitPublishingPublisherMediaType _tmp13_ = 0;
- GtkBuilder* _tmp14_ = NULL;
- gboolean _tmp15_ = FALSE;
- SpitPublishingAuthenticator* _tmp16_ = NULL;
- gboolean _tmp17_ = FALSE;
- PublishingFacebookPublishingOptionsPane* _tmp18_ = NULL;
- PublishingFacebookPublishingOptionsPane* _tmp19_ = NULL;
- PublishingFacebookPublishingOptionsPane* _tmp20_ = NULL;
- SpitPublishingPluginHost* _tmp21_ = NULL;
- PublishingFacebookPublishingOptionsPane* _tmp22_ = NULL;
+ GtkBuilder* _tmp1_;
+ const gchar* _tmp8_;
+ PublishingFacebookPublishingParameters* _tmp9_;
+ PublishingFacebookAlbum** _tmp10_;
+ gint _tmp10__length1;
+ SpitPublishingPluginHost* _tmp11_;
+ SpitPublishingPublisherMediaType _tmp12_;
+ GtkBuilder* _tmp13_;
+ gboolean _tmp14_;
+ SpitPublishingAuthenticator* _tmp15_;
+ gboolean _tmp16_;
+ PublishingFacebookPublishingOptionsPane* _tmp17_;
+ PublishingFacebookPublishingOptionsPane* _tmp18_;
+ PublishingFacebookPublishingOptionsPane* _tmp19_;
+ SpitPublishingPluginHost* _tmp20_;
+ PublishingFacebookPublishingOptionsPane* _tmp21_;
GError * _inner_error_ = NULL;
#line 325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
@@ -2864,16 +2876,16 @@ static void publishing_facebook_facebook_publisher_do_show_publishing_options_pa
_tmp1_ = gtk_builder_new ();
#line 329 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
builder = _tmp1_;
-#line 2865 "FacebookPublishing.c"
+#line 2877 "FacebookPublishing.c"
{
- GtkBuilder* _tmp2_ = NULL;
+ GtkBuilder* _tmp2_;
#line 334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = builder;
#line 334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
gtk_builder_add_from_resource (_tmp2_, PLUGIN_RESOURCE_PATH "/" "facebook_publishing_options_pane.ui", &_inner_error_);
#line 334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2874 "FacebookPublishing.c"
+#line 2886 "FacebookPublishing.c"
goto __catch2_g_error;
}
}
@@ -2881,12 +2893,11 @@ static void publishing_facebook_facebook_publisher_do_show_publishing_options_pa
__catch2_g_error:
{
GError* e = NULL;
- GError* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- SpitPublishingPluginHost* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
- GError* _tmp7_ = NULL;
- GError* _tmp8_ = NULL;
+ GError* _tmp3_;
+ const gchar* _tmp4_;
+ SpitPublishingPluginHost* _tmp5_;
+ GError* _tmp6_;
+ GError* _tmp7_;
#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
e = _inner_error_;
#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2900,23 +2911,21 @@ static void publishing_facebook_facebook_publisher_do_show_publishing_options_pa
#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp5_ = self->priv->host;
#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp6_ = _ ("A file required for publishing is unavailable. Publishing to Facebook " \
-"can’t continue.");
-#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp7_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _tmp6_);
+ _tmp6_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_LOCAL_FILE_ERROR, _ ("A file required for publishing is unavailable. Publishing to Facebook " \
+"can’t continue."));
#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp8_ = _tmp7_;
+ _tmp7_ = _tmp6_;
#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- spit_publishing_plugin_host_post_error (_tmp5_, _tmp8_);
+ spit_publishing_plugin_host_post_error (_tmp5_, _tmp7_);
#line 338 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _g_error_free0 (_tmp8_);
+ _g_error_free0 (_tmp7_);
#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_error_free0 (e);
#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_object_unref0 (builder);
#line 341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 2916 "FacebookPublishing.c"
+#line 2925 "FacebookPublishing.c"
}
__finally2:
#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2929,56 +2938,56 @@ static void publishing_facebook_facebook_publisher_do_show_publishing_options_pa
g_clear_error (&_inner_error_);
#line 331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 2929 "FacebookPublishing.c"
+#line 2938 "FacebookPublishing.c"
}
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp9_ = self->priv->username;
+ _tmp8_ = self->priv->username;
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp10_ = self->priv->publishing_params;
+ _tmp9_ = self->priv->publishing_params;
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp11_ = _tmp10_->albums;
+ _tmp10_ = _tmp9_->albums;
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp11__length1 = _tmp10_->albums_length1;
+ _tmp10__length1 = _tmp9_->albums_length1;
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp12_ = self->priv->host;
+ _tmp11_ = self->priv->host;
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp13_ = spit_publishing_plugin_host_get_publishable_media_type (_tmp12_);
+ _tmp12_ = spit_publishing_plugin_host_get_publishable_media_type (_tmp11_);
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp14_ = builder;
+ _tmp13_ = builder;
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp15_ = publishing_facebook_facebook_publisher_get_persistent_strip_metadata (self);
+ _tmp14_ = publishing_facebook_facebook_publisher_get_persistent_strip_metadata (self);
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp16_ = self->priv->authenticator;
+ _tmp15_ = self->priv->authenticator;
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp17_ = spit_publishing_authenticator_can_logout (_tmp16_);
+ _tmp16_ = spit_publishing_authenticator_can_logout (_tmp15_);
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp18_ = publishing_facebook_publishing_options_pane_new (_tmp9_, _tmp11_, _tmp11__length1, _tmp13_, self, _tmp14_, _tmp15_, _tmp17_);
+ _tmp17_ = publishing_facebook_publishing_options_pane_new (_tmp8_, _tmp10_, _tmp10__length1, _tmp12_, self, _tmp13_, _tmp14_, _tmp16_);
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_object_unref0 (self->priv->publishing_options_pane);
#line 344 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- self->priv->publishing_options_pane = _tmp18_;
+ self->priv->publishing_options_pane = _tmp17_;
#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp19_ = self->priv->publishing_options_pane;
+ _tmp18_ = self->priv->publishing_options_pane;
#line 347 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_connect_object (_tmp19_, "logout", (GCallback) _publishing_facebook_facebook_publisher_on_publishing_options_pane_logout_publishing_facebook_publishing_options_pane_logout, self, 0);
+ g_signal_connect_object (_tmp18_, "logout", (GCallback) _publishing_facebook_facebook_publisher_on_publishing_options_pane_logout_publishing_facebook_publishing_options_pane_logout, self, 0);
#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp20_ = self->priv->publishing_options_pane;
+ _tmp19_ = self->priv->publishing_options_pane;
#line 348 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_connect_object (_tmp20_, "publish", (GCallback) _publishing_facebook_facebook_publisher_on_publishing_options_pane_publish_publishing_facebook_publishing_options_pane_publish, self, 0);
+ g_signal_connect_object (_tmp19_, "publish", (GCallback) _publishing_facebook_facebook_publisher_on_publishing_options_pane_publish_publishing_facebook_publishing_options_pane_publish, self, 0);
#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp21_ = self->priv->host;
+ _tmp20_ = self->priv->host;
#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp22_ = self->priv->publishing_options_pane;
+ _tmp21_ = self->priv->publishing_options_pane;
#line 349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- spit_publishing_plugin_host_install_dialog_pane (_tmp21_, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL);
+ spit_publishing_plugin_host_install_dialog_pane (_tmp20_, G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, SPIT_PUBLISHING_TYPE_DIALOG_PANE, SpitPublishingDialogPane), SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL);
#line 325 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_object_unref0 (builder);
-#line 2973 "FacebookPublishing.c"
+#line 2982 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_do_logout (PublishingFacebookFacebookPublisher* self) {
- SpitPublishingAuthenticator* _tmp0_ = NULL;
+ SpitPublishingAuthenticator* _tmp0_;
#line 353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 354 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -2992,13 +3001,13 @@ static void publishing_facebook_facebook_publisher_do_logout (PublishingFacebook
self->priv->running = FALSE;
#line 358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
spit_publishing_publisher_start (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_PUBLISHING_TYPE_PUBLISHER, SpitPublishingPublisher));
-#line 2991 "FacebookPublishing.c"
+#line 3000 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_json (PublishingFacebookFacebookPublisher* self, const gchar* album_name, const gchar* json) {
- PublishingFacebookPublishingParameters* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
+ PublishingFacebookPublishingParameters* _tmp20_;
+ const gchar* _tmp21_;
GError * _inner_error_ = NULL;
#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
@@ -3006,27 +3015,27 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j
g_return_if_fail (album_name != NULL);
#line 361 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (json != NULL);
-#line 3005 "FacebookPublishing.c"
+#line 3014 "FacebookPublishing.c"
{
JsonParser* parser = NULL;
- JsonParser* _tmp0_ = NULL;
- JsonParser* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
+ JsonParser* _tmp0_;
+ JsonParser* _tmp1_;
+ const gchar* _tmp2_;
JsonNode* root = NULL;
- JsonParser* _tmp3_ = NULL;
- JsonNode* _tmp4_ = NULL;
- JsonNode* _tmp5_ = NULL;
+ JsonParser* _tmp3_;
+ JsonNode* _tmp4_;
+ JsonNode* _tmp5_;
JsonObject* response_object = NULL;
- JsonNode* _tmp6_ = NULL;
- JsonObject* _tmp7_ = NULL;
- JsonObject* _tmp8_ = NULL;
+ JsonNode* _tmp6_;
+ JsonObject* _tmp7_;
+ JsonObject* _tmp8_;
gchar* album_id = NULL;
- JsonObject* _tmp9_ = NULL;
- const gchar* _tmp10_ = NULL;
- gchar* _tmp11_ = NULL;
- PublishingFacebookPublishingParameters* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
- const gchar* _tmp14_ = NULL;
+ JsonObject* _tmp9_;
+ const gchar* _tmp10_;
+ gchar* _tmp11_;
+ PublishingFacebookPublishingParameters* _tmp12_;
+ const gchar* _tmp13_;
+ const gchar* _tmp14_;
#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = json_parser_new ();
#line 363 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3041,7 +3050,7 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 364 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_object_unref0 (parser);
-#line 3040 "FacebookPublishing.c"
+#line 3049 "FacebookPublishing.c"
goto __catch3_g_error;
}
#line 366 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3084,17 +3093,17 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j
__vala_JsonNode_free0 (root);
#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_object_unref0 (parser);
-#line 3083 "FacebookPublishing.c"
+#line 3092 "FacebookPublishing.c"
}
goto __finally3;
__catch3_g_error:
{
GError* _error_ = NULL;
- SpitPublishingPluginHost* _tmp15_ = NULL;
- GError* _tmp16_ = NULL;
- const gchar* _tmp17_ = NULL;
- GError* _tmp18_ = NULL;
- GError* _tmp19_ = NULL;
+ SpitPublishingPluginHost* _tmp15_;
+ GError* _tmp16_;
+ const gchar* _tmp17_;
+ GError* _tmp18_;
+ GError* _tmp19_;
#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_error_ = _inner_error_;
#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3117,7 +3126,7 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j
_g_error_free0 (_error_);
#line 373 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3116 "FacebookPublishing.c"
+#line 3125 "FacebookPublishing.c"
}
__finally3:
#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3128,7 +3137,7 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j
g_clear_error (&_inner_error_);
#line 362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3127 "FacebookPublishing.c"
+#line 3136 "FacebookPublishing.c"
}
#line 376 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp20_ = self->priv->publishing_params;
@@ -3138,7 +3147,7 @@ static void publishing_facebook_facebook_publisher_do_add_new_local_album_from_j
publishing_facebook_publishing_parameters_set_target_album_by_name (_tmp20_, _tmp21_);
#line 377 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_upload (self);
-#line 3137 "FacebookPublishing.c"
+#line 3146 "FacebookPublishing.c"
}
@@ -3149,35 +3158,35 @@ static void publishing_facebook_facebook_publisher_on_authenticator_succeeded (P
g_debug ("FacebookPublishing.vala:382: EVENT: Authenticator login succeeded.");
#line 384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_authenticate_session (self);
-#line 3148 "FacebookPublishing.c"
+#line 3157 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_authenticator_failed (PublishingFacebookFacebookPublisher* self) {
#line 387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
-#line 3155 "FacebookPublishing.c"
+#line 3164 "FacebookPublishing.c"
}
static gpointer _g_variant_ref0 (gpointer self) {
#line 393 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self ? g_variant_ref (self) : NULL;
-#line 3162 "FacebookPublishing.c"
+#line 3171 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_do_authenticate_session (PublishingFacebookFacebookPublisher* self) {
GHashTable* parameter = NULL;
- SpitPublishingAuthenticator* _tmp0_ = NULL;
- GHashTable* _tmp1_ = NULL;
+ SpitPublishingAuthenticator* _tmp0_;
+ GHashTable* _tmp1_;
GVariant* access_token = NULL;
gconstpointer _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- GVariant* _tmp4_ = NULL;
- PublishingFacebookGraphSession* _tmp5_ = NULL;
- PublishingFacebookGraphSession* _tmp6_ = NULL;
- const gchar* _tmp7_ = NULL;
+ gboolean _tmp3_;
+ GVariant* _tmp4_;
+ PublishingFacebookGraphSession* _tmp5_;
+ PublishingFacebookGraphSession* _tmp6_;
+ const gchar* _tmp7_;
#line 390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 391 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3201,7 +3210,7 @@ static void publishing_facebook_facebook_publisher_do_authenticate_session (Publ
" not provide access token");
#line 395 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_assert_not_reached ();
-#line 3199 "FacebookPublishing.c"
+#line 3208 "FacebookPublishing.c"
}
#line 397 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp5_ = self->priv->graph_session;
@@ -3217,60 +3226,60 @@ static void publishing_facebook_facebook_publisher_do_authenticate_session (Publ
_g_variant_unref0 (access_token);
#line 390 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_hash_table_unref0 (parameter);
-#line 3215 "FacebookPublishing.c"
+#line 3224 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_upload_complete_publishing_facebook_uploader_upload_complete (PublishingFacebookUploader* _sender, gint num_photos_published, gpointer self) {
#line 421 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_upload_complete ((PublishingFacebookFacebookPublisher*) self, _sender, num_photos_published);
-#line 3222 "FacebookPublishing.c"
+#line 3231 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_upload_error_publishing_facebook_uploader_upload_error (PublishingFacebookUploader* _sender, GError* err, gpointer self) {
#line 422 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_upload_error ((PublishingFacebookFacebookPublisher*) self, _sender, err);
-#line 3229 "FacebookPublishing.c"
+#line 3238 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_upload_status_updated_spit_publishing_progress_callback (gint file_number, gdouble fraction_complete, gpointer self) {
#line 424 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_upload_status_updated ((PublishingFacebookFacebookPublisher*) self, file_number, fraction_complete);
-#line 3236 "FacebookPublishing.c"
+#line 3245 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_do_upload (PublishingFacebookFacebookPublisher* self) {
gchar* _tmp0_ = NULL;
- PublishingFacebookPublishingParameters* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- SpitPublishingPluginHost* _tmp6_ = NULL;
- SpitPublishingPluginHost* _tmp7_ = NULL;
- PublishingFacebookPublishingParameters* _tmp8_ = NULL;
- PublishingFacebookResolution _tmp9_ = 0;
- gint _tmp10_ = 0;
- PublishingFacebookPublishingParameters* _tmp11_ = NULL;
- gboolean _tmp12_ = FALSE;
- void* _tmp13_ = NULL;
- GDestroyNotify _tmp14_ = NULL;
- SpitPublishingProgressCallback _tmp15_ = NULL;
- gboolean _tmp16_ = FALSE;
+ PublishingFacebookPublishingParameters* _tmp1_;
+ gint _tmp2_;
+ SpitPublishingPluginHost* _tmp6_;
+ SpitPublishingPluginHost* _tmp7_;
+ PublishingFacebookPublishingParameters* _tmp8_;
+ PublishingFacebookResolution _tmp9_;
+ gint _tmp10_;
+ PublishingFacebookPublishingParameters* _tmp11_;
+ gboolean _tmp12_;
+ void* _tmp13_;
+ GDestroyNotify _tmp14_;
+ SpitPublishingProgressCallback _tmp15_;
+ gboolean _tmp16_;
SpitPublishingPublishable** publishables = NULL;
- SpitPublishingPluginHost* _tmp17_ = NULL;
- gint _tmp18_ = 0;
- SpitPublishingPublishable** _tmp19_ = NULL;
- gint publishables_length1 = 0;
- gint _publishables_size_ = 0;
- PublishingFacebookGraphSession* _tmp20_ = NULL;
- PublishingFacebookPublishingParameters* _tmp21_ = NULL;
- SpitPublishingPublishable** _tmp22_ = NULL;
- gint _tmp22__length1 = 0;
- PublishingFacebookUploader* _tmp23_ = NULL;
- PublishingFacebookUploader* _tmp24_ = NULL;
- PublishingFacebookUploader* _tmp25_ = NULL;
- PublishingFacebookUploader* _tmp26_ = NULL;
+ SpitPublishingPluginHost* _tmp17_;
+ gint _tmp18_;
+ SpitPublishingPublishable** _tmp19_;
+ gint publishables_length1;
+ gint _publishables_size_;
+ PublishingFacebookGraphSession* _tmp20_;
+ PublishingFacebookPublishingParameters* _tmp21_;
+ SpitPublishingPublishable** _tmp22_;
+ gint _tmp22__length1;
+ PublishingFacebookUploader* _tmp23_;
+ PublishingFacebookUploader* _tmp24_;
+ PublishingFacebookUploader* _tmp25_;
+ PublishingFacebookUploader* _tmp26_;
#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3279,18 +3288,18 @@ static void publishing_facebook_facebook_publisher_do_upload (PublishingFacebook
_tmp2_ = _tmp1_->target_album;
#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp2_ == PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM) {
-#line 3277 "FacebookPublishing.c"
- gchar* _tmp3_ = NULL;
+#line 3286 "FacebookPublishing.c"
+ gchar* _tmp3_;
#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp3_ = g_strdup ("(none)");
#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp0_);
#line 403 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = _tmp3_;
-#line 3285 "FacebookPublishing.c"
+#line 3294 "FacebookPublishing.c"
} else {
- PublishingFacebookPublishingParameters* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
+ PublishingFacebookPublishingParameters* _tmp4_;
+ gchar* _tmp5_;
#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp4_ = self->priv->publishing_params;
#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3299,7 +3308,7 @@ static void publishing_facebook_facebook_publisher_do_upload (PublishingFacebook
_g_free0 (_tmp0_);
#line 404 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = _tmp5_;
-#line 3297 "FacebookPublishing.c"
+#line 3306 "FacebookPublishing.c"
}
#line 402 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_debug ("FacebookPublishing.vala:402: ACTION: uploading photos to album '%s'", _tmp0_);
@@ -3343,7 +3352,7 @@ static void publishing_facebook_facebook_publisher_do_upload (PublishingFacebook
_g_free0 (_tmp0_);
#line 416 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3341 "FacebookPublishing.c"
+#line 3350 "FacebookPublishing.c"
}
#line 418 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp17_ = self->priv->host;
@@ -3385,13 +3394,13 @@ static void publishing_facebook_facebook_publisher_do_upload (PublishingFacebook
publishables = (_vala_array_free (publishables, publishables_length1, (GDestroyNotify) g_object_unref), NULL);
#line 401 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp0_);
-#line 3383 "FacebookPublishing.c"
+#line 3392 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_do_show_success_pane (PublishingFacebookFacebookPublisher* self) {
- SpitPublishingPluginHost* _tmp0_ = NULL;
- SpitPublishingPluginHost* _tmp1_ = NULL;
+ SpitPublishingPluginHost* _tmp0_;
+ SpitPublishingPluginHost* _tmp1_;
#line 427 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 428 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3404,12 +3413,12 @@ static void publishing_facebook_facebook_publisher_do_show_success_pane (Publish
_tmp1_ = self->priv->host;
#line 431 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
spit_publishing_plugin_host_install_success_pane (_tmp1_);
-#line 3402 "FacebookPublishing.c"
+#line 3411 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_generic_error (PublishingFacebookFacebookPublisher* self, GError* _error_) {
- GError* _tmp0_ = NULL;
+ GError* _tmp0_;
#line 434 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 435 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3418,27 +3427,27 @@ static void publishing_facebook_facebook_publisher_on_generic_error (PublishingF
if (g_error_matches (_tmp0_, SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_EXPIRED_SESSION)) {
#line 436 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_logout (self);
-#line 3416 "FacebookPublishing.c"
+#line 3425 "FacebookPublishing.c"
} else {
- SpitPublishingPluginHost* _tmp1_ = NULL;
- GError* _tmp2_ = NULL;
+ SpitPublishingPluginHost* _tmp1_;
+ GError* _tmp2_;
#line 438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = self->priv->host;
#line 438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = _error_;
#line 438 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
spit_publishing_plugin_host_post_error (_tmp1_, _tmp2_);
-#line 3426 "FacebookPublishing.c"
+#line 3435 "FacebookPublishing.c"
}
}
static void publishing_facebook_facebook_publisher_on_session_authenticated (PublishingFacebookFacebookPublisher* self) {
- PublishingFacebookGraphSession* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- gboolean _tmp2_ = FALSE;
- PublishingFacebookGraphSession* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+ PublishingFacebookGraphSession* _tmp0_;
+ guint _tmp1_;
+ gboolean _tmp2_;
+ PublishingFacebookGraphSession* _tmp3_;
+ gboolean _tmp4_;
#line 469 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 470 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3453,7 +3462,7 @@ static void publishing_facebook_facebook_publisher_on_session_authenticated (Pub
if (!_tmp2_) {
#line 473 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3451 "FacebookPublishing.c"
+#line 3460 "FacebookPublishing.c"
}
#line 475 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp3_ = self->priv->graph_session;
@@ -3466,22 +3475,22 @@ static void publishing_facebook_facebook_publisher_on_session_authenticated (Pub
"e available.");
#line 478 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_fetch_user_info (self);
-#line 3463 "FacebookPublishing.c"
+#line 3472 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_fetch_user_info_completed (PublishingFacebookFacebookPublisher* self, PublishingFacebookGraphMessage* message) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookGraphMessage* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- gboolean _tmp4_ = FALSE;
- PublishingFacebookGraphMessage* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- PublishingFacebookGraphMessage* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
+ PublishingFacebookGraphMessage* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookGraphMessage* _tmp2_;
+ guint _tmp3_;
+ gboolean _tmp4_;
+ PublishingFacebookGraphMessage* _tmp5_;
+ gchar* _tmp6_;
+ gchar* _tmp7_;
+ PublishingFacebookGraphMessage* _tmp8_;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 481 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3504,7 +3513,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_user_info_completed
if (!_tmp4_) {
#line 486 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3501 "FacebookPublishing.c"
+#line 3510 "FacebookPublishing.c"
}
#line 488 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp5_ = message;
@@ -3527,17 +3536,17 @@ static void publishing_facebook_facebook_publisher_on_fetch_user_info_completed
publishing_facebook_facebook_publisher_do_extract_user_info_from_json (self, _tmp10_);
#line 490 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp10_);
-#line 3523 "FacebookPublishing.c"
+#line 3532 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_fetch_user_info_error (PublishingFacebookFacebookPublisher* self, PublishingFacebookGraphMessage* message, GError* _error_) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookGraphMessage* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- gboolean _tmp4_ = FALSE;
- GError* _tmp5_ = NULL;
+ PublishingFacebookGraphMessage* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookGraphMessage* _tmp2_;
+ guint _tmp3_;
+ gboolean _tmp4_;
+ GError* _tmp5_;
#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 493 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3560,7 +3569,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_user_info_error (Pub
if (!_tmp4_) {
#line 499 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3556 "FacebookPublishing.c"
+#line 3565 "FacebookPublishing.c"
}
#line 501 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_debug ("FacebookPublishing.vala:501: EVENT: fetching user info generated and e" \
@@ -3569,14 +3578,14 @@ static void publishing_facebook_facebook_publisher_on_fetch_user_info_error (Pub
_tmp5_ = _error_;
#line 503 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_generic_error (self, _tmp5_);
-#line 3564 "FacebookPublishing.c"
+#line 3573 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_user_info_extracted (PublishingFacebookFacebookPublisher* self) {
- gboolean _tmp0_ = FALSE;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
+ gboolean _tmp0_;
+ const gchar* _tmp1_;
+ const gchar* _tmp2_;
#line 506 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 507 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3585,7 +3594,7 @@ static void publishing_facebook_facebook_publisher_on_user_info_extracted (Publi
if (!_tmp0_) {
#line 508 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3580 "FacebookPublishing.c"
+#line 3589 "FacebookPublishing.c"
}
#line 510 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = self->priv->uid;
@@ -3596,22 +3605,22 @@ static void publishing_facebook_facebook_publisher_on_user_info_extracted (Publi
"onse: uid = %s; name = %s.", _tmp1_, _tmp2_);
#line 512 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_fetch_album_descriptions (self);
-#line 3590 "FacebookPublishing.c"
+#line 3599 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_fetch_albums_completed (PublishingFacebookFacebookPublisher* self, PublishingFacebookGraphMessage* message) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookGraphMessage* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- gboolean _tmp4_ = FALSE;
- PublishingFacebookGraphMessage* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- PublishingFacebookGraphMessage* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
+ PublishingFacebookGraphMessage* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookGraphMessage* _tmp2_;
+ guint _tmp3_;
+ gboolean _tmp4_;
+ PublishingFacebookGraphMessage* _tmp5_;
+ gchar* _tmp6_;
+ gchar* _tmp7_;
+ PublishingFacebookGraphMessage* _tmp8_;
+ gchar* _tmp9_;
+ gchar* _tmp10_;
#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 515 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3634,7 +3643,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_albums_completed (Pu
if (!_tmp4_) {
#line 520 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3628 "FacebookPublishing.c"
+#line 3637 "FacebookPublishing.c"
}
#line 522 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp5_ = message;
@@ -3657,17 +3666,17 @@ static void publishing_facebook_facebook_publisher_on_fetch_albums_completed (Pu
publishing_facebook_facebook_publisher_do_extract_albums_from_json (self, _tmp10_);
#line 525 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp10_);
-#line 3650 "FacebookPublishing.c"
+#line 3659 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_fetch_albums_error (PublishingFacebookFacebookPublisher* self, PublishingFacebookGraphMessage* message, GError* err) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookGraphMessage* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- gboolean _tmp4_ = FALSE;
- GError* _tmp5_ = NULL;
+ PublishingFacebookGraphMessage* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookGraphMessage* _tmp2_;
+ guint _tmp3_;
+ gboolean _tmp4_;
+ GError* _tmp5_;
#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 528 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3690,7 +3699,7 @@ static void publishing_facebook_facebook_publisher_on_fetch_albums_error (Publis
if (!_tmp4_) {
#line 534 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3683 "FacebookPublishing.c"
+#line 3692 "FacebookPublishing.c"
}
#line 536 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_debug ("FacebookPublishing.vala:536: EVENT: album description fetch attempt ge" \
@@ -3699,15 +3708,15 @@ static void publishing_facebook_facebook_publisher_on_fetch_albums_error (Publis
_tmp5_ = err;
#line 538 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_generic_error (self, _tmp5_);
-#line 3691 "FacebookPublishing.c"
+#line 3700 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_albums_extracted (PublishingFacebookFacebookPublisher* self) {
- gboolean _tmp0_ = FALSE;
- PublishingFacebookPublishingParameters* _tmp1_ = NULL;
- PublishingFacebookAlbum** _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
+ gboolean _tmp0_;
+ PublishingFacebookPublishingParameters* _tmp1_;
+ PublishingFacebookAlbum** _tmp2_;
+ gint _tmp2__length1;
#line 541 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 542 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3716,7 +3725,7 @@ static void publishing_facebook_facebook_publisher_on_albums_extracted (Publishi
if (!_tmp0_) {
#line 543 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3708 "FacebookPublishing.c"
+#line 3717 "FacebookPublishing.c"
}
#line 545 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = self->priv->publishing_params;
@@ -3729,16 +3738,16 @@ static void publishing_facebook_facebook_publisher_on_albums_extracted (Publishi
"rom JSON response", _tmp2__length1);
#line 548 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_show_publishing_options_pane (self);
-#line 3720 "FacebookPublishing.c"
+#line 3729 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_publishing_options_pane_logout (PublishingFacebookFacebookPublisher* self) {
- PublishingFacebookPublishingOptionsPane* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookPublishingOptionsPane* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- gboolean _tmp4_ = FALSE;
+ PublishingFacebookPublishingOptionsPane* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookPublishingOptionsPane* _tmp2_;
+ guint _tmp3_;
+ gboolean _tmp4_;
#line 551 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 552 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3759,33 +3768,33 @@ static void publishing_facebook_facebook_publisher_on_publishing_options_pane_lo
if (!_tmp4_) {
#line 556 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3750 "FacebookPublishing.c"
+#line 3759 "FacebookPublishing.c"
}
#line 558 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_debug ("FacebookPublishing.vala:558: EVENT: user clicked 'Logout' in publishin" \
"g options pane.");
#line 560 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_logout (self);
-#line 3756 "FacebookPublishing.c"
+#line 3765 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_publishing_options_pane_publish (PublishingFacebookFacebookPublisher* self, const gchar* target_album, const gchar* privacy_setting, PublishingFacebookResolution resolution, gboolean strip_metadata) {
- PublishingFacebookPublishingOptionsPane* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookPublishingOptionsPane* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- gboolean _tmp4_ = FALSE;
- PublishingFacebookPublishingParameters* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
- gboolean _tmp7_ = FALSE;
- PublishingFacebookPublishingParameters* _tmp8_ = NULL;
- PublishingFacebookResolution _tmp9_ = 0;
- PublishingFacebookResolution _tmp10_ = 0;
- PublishingFacebookPublishingParameters* _tmp11_ = NULL;
- const gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- const gchar* _tmp14_ = NULL;
+ PublishingFacebookPublishingOptionsPane* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookPublishingOptionsPane* _tmp2_;
+ guint _tmp3_;
+ gboolean _tmp4_;
+ PublishingFacebookPublishingParameters* _tmp5_;
+ gboolean _tmp6_;
+ gboolean _tmp7_;
+ PublishingFacebookPublishingParameters* _tmp8_;
+ PublishingFacebookResolution _tmp9_;
+ PublishingFacebookResolution _tmp10_;
+ PublishingFacebookPublishingParameters* _tmp11_;
+ const gchar* _tmp12_;
+ gchar* _tmp13_;
+ const gchar* _tmp14_;
#line 563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 563 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3808,7 +3817,7 @@ static void publishing_facebook_facebook_publisher_on_publishing_options_pane_pu
if (!_tmp4_) {
#line 569 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3798 "FacebookPublishing.c"
+#line 3807 "FacebookPublishing.c"
}
#line 571 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_debug ("FacebookPublishing.vala:571: EVENT: user clicked 'Publish' in publishi" \
@@ -3847,11 +3856,11 @@ static void publishing_facebook_facebook_publisher_on_publishing_options_pane_pu
_tmp14_ = target_album;
#line 579 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp14_ != NULL) {
-#line 3836 "FacebookPublishing.c"
- PublishingFacebookPublishingParameters* _tmp15_ = NULL;
- const gchar* _tmp16_ = NULL;
- PublishingFacebookPublishingParameters* _tmp17_ = NULL;
- gint _tmp18_ = 0;
+#line 3845 "FacebookPublishing.c"
+ PublishingFacebookPublishingParameters* _tmp15_;
+ const gchar* _tmp16_;
+ PublishingFacebookPublishingParameters* _tmp17_;
+ gint _tmp18_;
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp15_ = self->priv->publishing_params;
#line 582 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3866,11 +3875,11 @@ static void publishing_facebook_facebook_publisher_on_publishing_options_pane_pu
if (_tmp18_ != PUBLISHING_FACEBOOK_PUBLISHING_PARAMETERS_UNKNOWN_ALBUM) {
#line 584 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_upload (self);
-#line 3855 "FacebookPublishing.c"
+#line 3864 "FacebookPublishing.c"
} else {
- PublishingFacebookPublishingParameters* _tmp19_ = NULL;
- const gchar* _tmp20_ = NULL;
- gchar* _tmp21_ = NULL;
+ PublishingFacebookPublishingParameters* _tmp19_;
+ const gchar* _tmp20_;
+ gchar* _tmp21_;
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp19_ = self->priv->publishing_params;
#line 586 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3883,32 +3892,32 @@ static void publishing_facebook_facebook_publisher_on_publishing_options_pane_pu
_tmp19_->new_album_name = _tmp21_;
#line 587 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_create_new_album (self);
-#line 3872 "FacebookPublishing.c"
+#line 3881 "FacebookPublishing.c"
}
} else {
#line 591 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_upload (self);
-#line 3877 "FacebookPublishing.c"
+#line 3886 "FacebookPublishing.c"
}
}
static void publishing_facebook_facebook_publisher_on_create_album_completed (PublishingFacebookFacebookPublisher* self, PublishingFacebookGraphMessage* message) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookGraphMessage* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- PublishingFacebookPublishingParameters* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
- PublishingFacebookGraphMessage* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- PublishingFacebookPublishingParameters* _tmp10_ = NULL;
- const gchar* _tmp11_ = NULL;
- PublishingFacebookGraphMessage* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
+ PublishingFacebookGraphMessage* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookGraphMessage* _tmp2_;
+ guint _tmp3_;
+ PublishingFacebookPublishingParameters* _tmp4_;
+ const gchar* _tmp5_;
+ gboolean _tmp6_;
+ PublishingFacebookGraphMessage* _tmp7_;
+ gchar* _tmp8_;
+ gchar* _tmp9_;
+ PublishingFacebookPublishingParameters* _tmp10_;
+ const gchar* _tmp11_;
+ PublishingFacebookGraphMessage* _tmp12_;
+ gchar* _tmp13_;
+ gchar* _tmp14_;
#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 595 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3937,7 +3946,7 @@ static void publishing_facebook_facebook_publisher_on_create_album_completed (Pu
if (!_tmp6_) {
#line 602 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3926 "FacebookPublishing.c"
+#line 3935 "FacebookPublishing.c"
}
#line 604 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp7_ = message;
@@ -3964,17 +3973,17 @@ static void publishing_facebook_facebook_publisher_on_create_album_completed (Pu
publishing_facebook_facebook_publisher_do_add_new_local_album_from_json (self, _tmp11_, _tmp14_);
#line 607 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp14_);
-#line 3952 "FacebookPublishing.c"
+#line 3961 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_create_album_error (PublishingFacebookFacebookPublisher* self, PublishingFacebookGraphMessage* message, GError* err) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookGraphMessage* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- gboolean _tmp4_ = FALSE;
- GError* _tmp5_ = NULL;
+ PublishingFacebookGraphMessage* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookGraphMessage* _tmp2_;
+ guint _tmp3_;
+ gboolean _tmp4_;
+ GError* _tmp5_;
#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 611 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -3997,7 +4006,7 @@ static void publishing_facebook_facebook_publisher_on_create_album_error (Publis
if (!_tmp4_) {
#line 616 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 3985 "FacebookPublishing.c"
+#line 3994 "FacebookPublishing.c"
}
#line 618 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_debug ("FacebookPublishing.vala:618: EVENT: attempt to create new album genera" \
@@ -4006,19 +4015,19 @@ static void publishing_facebook_facebook_publisher_on_create_album_error (Publis
_tmp5_ = err;
#line 620 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_generic_error (self, _tmp5_);
-#line 3993 "FacebookPublishing.c"
+#line 4002 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_upload_status_updated (PublishingFacebookFacebookPublisher* self, gint file_number, gdouble completed_fraction) {
- gboolean _tmp0_ = FALSE;
- gdouble _tmp1_ = 0.0;
- SpitPublishingProgressCallback _tmp2_ = NULL;
- void* _tmp2__target = NULL;
- SpitPublishingProgressCallback _tmp3_ = NULL;
- void* _tmp3__target = NULL;
- gint _tmp4_ = 0;
- gdouble _tmp5_ = 0.0;
+ gboolean _tmp0_;
+ gdouble _tmp1_;
+ SpitPublishingProgressCallback _tmp2_;
+ void* _tmp2__target;
+ SpitPublishingProgressCallback _tmp3_;
+ void* _tmp3__target;
+ gint _tmp4_;
+ gdouble _tmp5_;
#line 623 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 624 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4027,7 +4036,7 @@ static void publishing_facebook_facebook_publisher_on_upload_status_updated (Pub
if (!_tmp0_) {
#line 625 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 4014 "FacebookPublishing.c"
+#line 4023 "FacebookPublishing.c"
}
#line 627 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = completed_fraction;
@@ -4050,17 +4059,17 @@ static void publishing_facebook_facebook_publisher_on_upload_status_updated (Pub
_tmp5_ = completed_fraction;
#line 631 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp3_ (_tmp4_, _tmp5_, _tmp3__target);
-#line 4036 "FacebookPublishing.c"
+#line 4045 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_upload_complete (PublishingFacebookFacebookPublisher* self, PublishingFacebookUploader* uploader, gint num_published) {
- PublishingFacebookUploader* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookUploader* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- gboolean _tmp4_ = FALSE;
- gint _tmp5_ = 0;
+ PublishingFacebookUploader* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookUploader* _tmp2_;
+ guint _tmp3_;
+ gboolean _tmp4_;
+ gint _tmp5_;
#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 634 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4083,7 +4092,7 @@ static void publishing_facebook_facebook_publisher_on_upload_complete (Publishin
if (!_tmp4_) {
#line 639 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 4069 "FacebookPublishing.c"
+#line 4078 "FacebookPublishing.c"
}
#line 641 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp5_ = num_published;
@@ -4092,20 +4101,20 @@ static void publishing_facebook_facebook_publisher_on_upload_complete (Publishin
"%d items published.", _tmp5_);
#line 643 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_do_show_success_pane (self);
-#line 4077 "FacebookPublishing.c"
+#line 4086 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_on_upload_error (PublishingFacebookFacebookPublisher* self, PublishingFacebookUploader* uploader, GError* err) {
- PublishingFacebookUploader* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookUploader* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- gboolean _tmp4_ = FALSE;
- GError* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
- SpitPublishingPluginHost* _tmp7_ = NULL;
- GError* _tmp8_ = NULL;
+ PublishingFacebookUploader* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookUploader* _tmp2_;
+ guint _tmp3_;
+ gboolean _tmp4_;
+ GError* _tmp5_;
+ const gchar* _tmp6_;
+ SpitPublishingPluginHost* _tmp7_;
+ GError* _tmp8_;
#line 646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self));
#line 646 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4128,7 +4137,7 @@ static void publishing_facebook_facebook_publisher_on_upload_error (PublishingFa
if (!_tmp4_) {
#line 651 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 4113 "FacebookPublishing.c"
+#line 4122 "FacebookPublishing.c"
}
#line 653 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp5_ = err;
@@ -4143,15 +4152,15 @@ static void publishing_facebook_facebook_publisher_on_upload_error (PublishingFa
_tmp8_ = err;
#line 655 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
spit_publishing_plugin_host_post_error (_tmp7_, _tmp8_);
-#line 4127 "FacebookPublishing.c"
+#line 4136 "FacebookPublishing.c"
}
static SpitPublishingService* publishing_facebook_facebook_publisher_real_get_service (SpitPublishingPublisher* base) {
PublishingFacebookFacebookPublisher * self;
SpitPublishingService* result = NULL;
- SpitPublishingService* _tmp0_ = NULL;
- SpitPublishingService* _tmp1_ = NULL;
+ SpitPublishingService* _tmp0_;
+ SpitPublishingService* _tmp1_;
#line 658 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_FACEBOOK_PUBLISHER, PublishingFacebookFacebookPublisher);
#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4162,13 +4171,13 @@ static SpitPublishingService* publishing_facebook_facebook_publisher_real_get_se
result = _tmp1_;
#line 659 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 4146 "FacebookPublishing.c"
+#line 4155 "FacebookPublishing.c"
}
gchar* publishing_facebook_facebook_publisher_get_service_name (PublishingFacebookFacebookPublisher* self) {
gchar* result = NULL;
- gchar* _tmp0_ = NULL;
+ gchar* _tmp0_;
#line 662 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self), NULL);
#line 663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4177,13 +4186,13 @@ gchar* publishing_facebook_facebook_publisher_get_service_name (PublishingFacebo
result = _tmp0_;
#line 663 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 4161 "FacebookPublishing.c"
+#line 4170 "FacebookPublishing.c"
}
gchar* publishing_facebook_facebook_publisher_get_user_visible_name (PublishingFacebookFacebookPublisher* self) {
gchar* result = NULL;
- gchar* _tmp0_ = NULL;
+ gchar* _tmp0_;
#line 666 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_FACEBOOK_PUBLISHER (self), NULL);
#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4192,31 +4201,31 @@ gchar* publishing_facebook_facebook_publisher_get_user_visible_name (PublishingF
result = _tmp0_;
#line 667 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 4176 "FacebookPublishing.c"
+#line 4185 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_authenticator_succeeded_spit_publishing_authenticator_authenticated (SpitPublishingAuthenticator* _sender, gpointer self) {
#line 682 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_authenticator_succeeded ((PublishingFacebookFacebookPublisher*) self);
-#line 4183 "FacebookPublishing.c"
+#line 4192 "FacebookPublishing.c"
}
static void _publishing_facebook_facebook_publisher_on_authenticator_failed_spit_publishing_authenticator_authentication_failed (SpitPublishingAuthenticator* _sender, gpointer self) {
#line 683 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_on_authenticator_failed ((PublishingFacebookFacebookPublisher*) self);
-#line 4190 "FacebookPublishing.c"
+#line 4199 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_real_start (SpitPublishingPublisher* base) {
PublishingFacebookFacebookPublisher * self;
- gboolean _tmp0_ = FALSE;
- PublishingFacebookPublishingParameters* _tmp1_ = NULL;
- SpitPublishingAuthenticator* _tmp2_ = NULL;
- SpitPublishingAuthenticator* _tmp3_ = NULL;
- SpitPublishingAuthenticator* _tmp4_ = NULL;
+ gboolean _tmp0_;
+ PublishingFacebookPublishingParameters* _tmp1_;
+ SpitPublishingAuthenticator* _tmp2_;
+ SpitPublishingAuthenticator* _tmp3_;
+ SpitPublishingAuthenticator* _tmp4_;
#line 670 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_FACEBOOK_PUBLISHER, PublishingFacebookFacebookPublisher);
#line 671 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4225,7 +4234,7 @@ static void publishing_facebook_facebook_publisher_real_start (SpitPublishingPub
if (_tmp0_) {
#line 672 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 4209 "FacebookPublishing.c"
+#line 4218 "FacebookPublishing.c"
}
#line 674 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_debug ("FacebookPublishing.vala:674: FacebookPublisher: starting interaction.");
@@ -4249,13 +4258,13 @@ static void publishing_facebook_facebook_publisher_real_start (SpitPublishingPub
_tmp4_ = self->priv->authenticator;
#line 684 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
spit_publishing_authenticator_authenticate (_tmp4_);
-#line 4233 "FacebookPublishing.c"
+#line 4242 "FacebookPublishing.c"
}
static void publishing_facebook_facebook_publisher_real_stop (SpitPublishingPublisher* base) {
PublishingFacebookFacebookPublisher * self;
- PublishingFacebookGraphSession* _tmp0_ = NULL;
+ PublishingFacebookGraphSession* _tmp0_;
#line 687 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_FACEBOOK_PUBLISHER, PublishingFacebookFacebookPublisher);
#line 688 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4264,26 +4273,26 @@ static void publishing_facebook_facebook_publisher_real_stop (SpitPublishingPubl
_tmp0_ = self->priv->graph_session;
#line 690 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp0_ != NULL) {
-#line 4248 "FacebookPublishing.c"
- PublishingFacebookGraphSession* _tmp1_ = NULL;
+#line 4257 "FacebookPublishing.c"
+ PublishingFacebookGraphSession* _tmp1_;
#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = self->priv->graph_session;
#line 691 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_session_stop_transactions (_tmp1_);
-#line 4254 "FacebookPublishing.c"
+#line 4263 "FacebookPublishing.c"
}
#line 693 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->host = NULL;
#line 694 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->running = FALSE;
-#line 4260 "FacebookPublishing.c"
+#line 4269 "FacebookPublishing.c"
}
static gboolean publishing_facebook_facebook_publisher_real_is_running (SpitPublishingPublisher* base) {
PublishingFacebookFacebookPublisher * self;
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 697 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_FACEBOOK_PUBLISHER, PublishingFacebookFacebookPublisher);
#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4292,7 +4301,7 @@ static gboolean publishing_facebook_facebook_publisher_real_is_running (SpitPubl
result = _tmp0_;
#line 698 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 4276 "FacebookPublishing.c"
+#line 4285 "FacebookPublishing.c"
}
@@ -4303,7 +4312,7 @@ static void publishing_facebook_facebook_publisher_class_init (PublishingFaceboo
g_type_class_add_private (klass, sizeof (PublishingFacebookFacebookPublisherPrivate));
#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_facebook_facebook_publisher_finalize;
-#line 4287 "FacebookPublishing.c"
+#line 4296 "FacebookPublishing.c"
}
@@ -4311,14 +4320,14 @@ static void publishing_facebook_facebook_publisher_spit_publishing_publisher_int
#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_spit_publishing_publisher_parent_iface = g_type_interface_peek_parent (iface);
#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->get_service = (SpitPublishingService* (*)(SpitPublishingPublisher*)) publishing_facebook_facebook_publisher_real_get_service;
+ iface->get_service = (SpitPublishingService* (*) (SpitPublishingPublisher *)) publishing_facebook_facebook_publisher_real_get_service;
#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->start = (void (*)(SpitPublishingPublisher*)) publishing_facebook_facebook_publisher_real_start;
+ iface->start = (void (*) (SpitPublishingPublisher *)) publishing_facebook_facebook_publisher_real_start;
#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->stop = (void (*)(SpitPublishingPublisher*)) publishing_facebook_facebook_publisher_real_stop;
+ iface->stop = (void (*) (SpitPublishingPublisher *)) publishing_facebook_facebook_publisher_real_stop;
#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->is_running = (gboolean (*)(SpitPublishingPublisher*)) publishing_facebook_facebook_publisher_real_is_running;
-#line 4302 "FacebookPublishing.c"
+ iface->is_running = (gboolean (*) (SpitPublishingPublisher *)) publishing_facebook_facebook_publisher_real_is_running;
+#line 4311 "FacebookPublishing.c"
}
@@ -4329,6 +4338,10 @@ static void publishing_facebook_facebook_publisher_instance_init (PublishingFace
self->priv->host = NULL;
#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->progress_reporter = NULL;
+#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
+ self->priv->progress_reporter_target = self;
+#line 171 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
+ self->priv->progress_reporter_target_destroy_notify = NULL;
#line 172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->service = NULL;
#line 173 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4343,11 +4356,11 @@ static void publishing_facebook_facebook_publisher_instance_init (PublishingFace
self->priv->uid = NULL;
#line 179 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->username = NULL;
-#line 4327 "FacebookPublishing.c"
+#line 4340 "FacebookPublishing.c"
}
-static void publishing_facebook_facebook_publisher_finalize (GObject* obj) {
+static void publishing_facebook_facebook_publisher_finalize (GObject * obj) {
PublishingFacebookFacebookPublisher * self;
#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_FACEBOOK_PUBLISHER, PublishingFacebookFacebookPublisher);
@@ -4375,7 +4388,7 @@ static void publishing_facebook_facebook_publisher_finalize (GObject* obj) {
_g_free0 (self->priv->username);
#line 168 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
G_OBJECT_CLASS (publishing_facebook_facebook_publisher_parent_class)->finalize (obj);
-#line 4359 "FacebookPublishing.c"
+#line 4372 "FacebookPublishing.c"
}
@@ -4400,132 +4413,132 @@ static PublishingFacebookAlbum** _vala_array_dup2 (PublishingFacebookAlbum** sel
result = g_new0 (PublishingFacebookAlbum*, length + 1);
#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
for (i = 0; i < length; i++) {
-#line 4384 "FacebookPublishing.c"
- PublishingFacebookAlbum* _tmp0_ = NULL;
+#line 4397 "FacebookPublishing.c"
+ PublishingFacebookAlbum* _tmp0_;
#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = _publishing_facebook_album_ref0 (self[i]);
#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
result[i] = _tmp0_;
-#line 4390 "FacebookPublishing.c"
+#line 4403 "FacebookPublishing.c"
}
#line 751 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 4394 "FacebookPublishing.c"
+#line 4407 "FacebookPublishing.c"
}
static void _publishing_facebook_publishing_options_pane_on_create_new_toggled_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 777 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_on_create_new_toggled ((PublishingFacebookPublishingOptionsPane*) self);
-#line 4401 "FacebookPublishing.c"
+#line 4414 "FacebookPublishing.c"
}
static void _publishing_facebook_publishing_options_pane_on_use_existing_toggled_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 778 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_on_use_existing_toggled ((PublishingFacebookPublishingOptionsPane*) self);
-#line 4408 "FacebookPublishing.c"
+#line 4421 "FacebookPublishing.c"
}
static void _publishing_facebook_publishing_options_pane_on_publish_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 789 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_on_publish_button_clicked ((PublishingFacebookPublishingOptionsPane*) self);
-#line 4415 "FacebookPublishing.c"
+#line 4428 "FacebookPublishing.c"
}
static void _publishing_facebook_publishing_options_pane_on_logout_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 790 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_on_logout_button_clicked ((PublishingFacebookPublishingOptionsPane*) self);
-#line 4422 "FacebookPublishing.c"
+#line 4435 "FacebookPublishing.c"
}
static void _publishing_facebook_publishing_options_pane_on_size_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 794 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_on_size_changed ((PublishingFacebookPublishingOptionsPane*) self);
-#line 4429 "FacebookPublishing.c"
+#line 4442 "FacebookPublishing.c"
}
PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_pane_construct (GType object_type, const gchar* username, PublishingFacebookAlbum** albums, int albums_length1, SpitPublishingPublisherMediaType media_type, PublishingFacebookFacebookPublisher* publisher, GtkBuilder* builder, gboolean strip_metadata, gboolean can_logout) {
PublishingFacebookPublishingOptionsPane * self = NULL;
- GtkBuilder* _tmp0_ = NULL;
- GtkBuilder* _tmp1_ = NULL;
- GtkBuilder* _tmp2_ = NULL;
- GtkBuilder* _tmp3_ = NULL;
- GSList* _tmp4_ = NULL;
- GSList* _tmp5_ = NULL;
- guint _tmp6_ = 0U;
- PublishingFacebookAlbum** _tmp7_ = NULL;
- gint _tmp7__length1 = 0;
- PublishingFacebookAlbum** _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
- gint _tmp9_ = 0;
- PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp10_ = NULL;
- gint _tmp11_ = 0;
- PublishingFacebookResolution* _tmp12_ = NULL;
- PublishingFacebookFacebookPublisher* _tmp13_ = NULL;
- PublishingFacebookFacebookPublisher* _tmp14_ = NULL;
- SpitPublishingPublisherMediaType _tmp15_ = 0;
- GtkBuilder* _tmp16_ = NULL;
- GObject* _tmp17_ = NULL;
- GtkBox* _tmp18_ = NULL;
- GtkBox* _tmp19_ = NULL;
- GtkBuilder* _tmp20_ = NULL;
- GObject* _tmp21_ = NULL;
- GtkRadioButton* _tmp22_ = NULL;
- GtkBuilder* _tmp23_ = NULL;
- GObject* _tmp24_ = NULL;
- GtkRadioButton* _tmp25_ = NULL;
- GtkBuilder* _tmp26_ = NULL;
- GObject* _tmp27_ = NULL;
- GtkComboBoxText* _tmp28_ = NULL;
- GtkBuilder* _tmp29_ = NULL;
- GObject* _tmp30_ = NULL;
- GtkComboBoxText* _tmp31_ = NULL;
- GtkBuilder* _tmp32_ = NULL;
- GObject* _tmp33_ = NULL;
- GtkButton* _tmp34_ = NULL;
- GtkBuilder* _tmp35_ = NULL;
- GObject* _tmp36_ = NULL;
- GtkButton* _tmp37_ = NULL;
- gboolean _tmp38_ = FALSE;
- GtkBuilder* _tmp43_ = NULL;
- GObject* _tmp44_ = NULL;
- GtkEntry* _tmp45_ = NULL;
- GtkBuilder* _tmp46_ = NULL;
- GObject* _tmp47_ = NULL;
- GtkComboBoxText* _tmp48_ = NULL;
- GtkBuilder* _tmp49_ = NULL;
- GObject* _tmp50_ = NULL;
- GtkLabel* _tmp51_ = NULL;
- GtkBuilder* _tmp52_ = NULL;
- GObject* _tmp53_ = NULL;
- GtkCheckButton* _tmp54_ = NULL;
- GtkRadioButton* _tmp55_ = NULL;
- GtkRadioButton* _tmp56_ = NULL;
+ GtkBuilder* _tmp0_;
+ GtkBuilder* _tmp1_;
+ GtkBuilder* _tmp2_;
+ GtkBuilder* _tmp3_;
+ GSList* _tmp4_;
+ GSList* _tmp5_;
+ guint _tmp6_;
+ PublishingFacebookAlbum** _tmp7_;
+ gint _tmp7__length1;
+ PublishingFacebookAlbum** _tmp8_;
+ gint _tmp8__length1;
+ gint _tmp9_;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp10_;
+ gint _tmp11_;
+ PublishingFacebookResolution* _tmp12_;
+ PublishingFacebookFacebookPublisher* _tmp13_;
+ PublishingFacebookFacebookPublisher* _tmp14_;
+ SpitPublishingPublisherMediaType _tmp15_;
+ GtkBuilder* _tmp16_;
+ GObject* _tmp17_;
+ GtkBox* _tmp18_;
+ GtkBox* _tmp19_;
+ GtkBuilder* _tmp20_;
+ GObject* _tmp21_;
+ GtkRadioButton* _tmp22_;
+ GtkBuilder* _tmp23_;
+ GObject* _tmp24_;
+ GtkRadioButton* _tmp25_;
+ GtkBuilder* _tmp26_;
+ GObject* _tmp27_;
+ GtkComboBoxText* _tmp28_;
+ GtkBuilder* _tmp29_;
+ GObject* _tmp30_;
+ GtkComboBoxText* _tmp31_;
+ GtkBuilder* _tmp32_;
+ GObject* _tmp33_;
+ GtkButton* _tmp34_;
+ GtkBuilder* _tmp35_;
+ GObject* _tmp36_;
+ GtkButton* _tmp37_;
+ gboolean _tmp38_;
+ GtkBuilder* _tmp43_;
+ GObject* _tmp44_;
+ GtkEntry* _tmp45_;
+ GtkBuilder* _tmp46_;
+ GObject* _tmp47_;
+ GtkComboBoxText* _tmp48_;
+ GtkBuilder* _tmp49_;
+ GObject* _tmp50_;
+ GtkLabel* _tmp51_;
+ GtkBuilder* _tmp52_;
+ GObject* _tmp53_;
+ GtkCheckButton* _tmp54_;
+ GtkRadioButton* _tmp55_;
+ GtkRadioButton* _tmp56_;
gchar* label_text = NULL;
- const gchar* _tmp57_ = NULL;
- gchar* _tmp58_ = NULL;
- SpitPublishingPublisherMediaType _tmp59_ = 0;
- GtkLabel* _tmp62_ = NULL;
- const gchar* _tmp63_ = NULL;
- GtkCheckButton* _tmp64_ = NULL;
- gboolean _tmp65_ = FALSE;
- GtkComboBoxText* _tmp66_ = NULL;
- GtkButton* _tmp67_ = NULL;
- GtkButton* _tmp68_ = NULL;
- GtkComboBoxText* _tmp69_ = NULL;
- PublishingFacebookFacebookPublisher* _tmp70_ = NULL;
- gint _tmp71_ = 0;
- GtkComboBoxText* _tmp72_ = NULL;
+ const gchar* _tmp57_;
+ gchar* _tmp58_;
+ SpitPublishingPublisherMediaType _tmp59_;
+ GtkLabel* _tmp62_;
+ const gchar* _tmp63_;
+ GtkCheckButton* _tmp64_;
+ gboolean _tmp65_;
+ GtkComboBoxText* _tmp66_;
+ GtkButton* _tmp67_;
+ GtkButton* _tmp68_;
+ GtkComboBoxText* _tmp69_;
+ PublishingFacebookFacebookPublisher* _tmp70_;
+ gint _tmp71_;
+ GtkComboBoxText* _tmp72_;
gboolean _tmp73_ = FALSE;
gboolean _tmp74_ = FALSE;
- GtkRadioButton* _tmp75_ = NULL;
- GtkComboBoxText* _tmp80_ = NULL;
- SpitPublishingPublisherMediaType _tmp81_ = 0;
+ GtkRadioButton* _tmp75_;
+ GtkComboBoxText* _tmp80_;
+ SpitPublishingPublisherMediaType _tmp81_;
#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (username != NULL, NULL);
#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4684,11 +4697,11 @@ PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_
_tmp38_ = can_logout;
#line 769 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!_tmp38_) {
-#line 4668 "FacebookPublishing.c"
- GtkButton* _tmp39_ = NULL;
- GtkContainer* _tmp40_ = NULL;
- GtkContainer* _tmp41_ = NULL;
- GtkButton* _tmp42_ = NULL;
+#line 4681 "FacebookPublishing.c"
+ GtkButton* _tmp39_;
+ GtkContainer* _tmp40_;
+ GtkContainer* _tmp41_;
+ GtkButton* _tmp42_;
#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp39_ = self->priv->logout_button;
#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4699,7 +4712,7 @@ PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_
_tmp42_ = self->priv->logout_button;
#line 770 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
gtk_container_remove (_tmp41_, G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget));
-#line 4683 "FacebookPublishing.c"
+#line 4696 "FacebookPublishing.c"
}
#line 772 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp43_ = self->priv->builder;
@@ -4759,9 +4772,9 @@ PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_
_tmp59_ = media_type;
#line 781 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if ((_tmp59_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) != 0) {
-#line 4743 "FacebookPublishing.c"
- const gchar* _tmp60_ = NULL;
- gchar* _tmp61_ = NULL;
+#line 4756 "FacebookPublishing.c"
+ const gchar* _tmp60_;
+ gchar* _tmp61_;
#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp60_ = label_text;
#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4770,7 +4783,7 @@ PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_
_g_free0 (label_text);
#line 782 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
label_text = _tmp61_;
-#line 4754 "FacebookPublishing.c"
+#line 4767 "FacebookPublishing.c"
}
#line 783 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp62_ = self->priv->how_to_label;
@@ -4816,10 +4829,10 @@ PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_
_tmp75_ = self->priv->create_new_radio;
#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp75_ != NULL) {
-#line 4800 "FacebookPublishing.c"
- GtkRadioButton* _tmp76_ = NULL;
- gboolean _tmp77_ = FALSE;
- gboolean _tmp78_ = FALSE;
+#line 4813 "FacebookPublishing.c"
+ GtkRadioButton* _tmp76_;
+ gboolean _tmp77_;
+ gboolean _tmp78_;
#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp76_ = self->priv->create_new_radio;
#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4828,24 +4841,24 @@ PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_
_tmp78_ = _tmp77_;
#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp74_ = _tmp78_;
-#line 4812 "FacebookPublishing.c"
+#line 4825 "FacebookPublishing.c"
} else {
#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp74_ = FALSE;
-#line 4816 "FacebookPublishing.c"
+#line 4829 "FacebookPublishing.c"
}
#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp74_) {
#line 800 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp73_ = TRUE;
-#line 4822 "FacebookPublishing.c"
+#line 4835 "FacebookPublishing.c"
} else {
- SpitPublishingPublisherMediaType _tmp79_ = 0;
+ SpitPublishingPublisherMediaType _tmp79_;
#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp79_ = media_type;
#line 801 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp73_ = (_tmp79_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) != 0;
-#line 4829 "FacebookPublishing.c"
+#line 4842 "FacebookPublishing.c"
}
#line 799 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp80_ = self->priv->visibility_combo;
@@ -4855,14 +4868,14 @@ PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_
_tmp81_ = media_type;
#line 804 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp81_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
-#line 4839 "FacebookPublishing.c"
- GtkCheckButton* _tmp82_ = NULL;
- GtkCheckButton* _tmp83_ = NULL;
- GtkComboBoxText* _tmp84_ = NULL;
- GtkRadioButton* _tmp85_ = NULL;
- GtkRadioButton* _tmp86_ = NULL;
- GtkComboBoxText* _tmp87_ = NULL;
- GtkEntry* _tmp88_ = NULL;
+#line 4852 "FacebookPublishing.c"
+ GtkCheckButton* _tmp82_;
+ GtkCheckButton* _tmp83_;
+ GtkComboBoxText* _tmp84_;
+ GtkRadioButton* _tmp85_;
+ GtkRadioButton* _tmp86_;
+ GtkComboBoxText* _tmp87_;
+ GtkEntry* _tmp88_;
#line 805 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp82_ = self->priv->strip_metadata_check;
#line 805 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4891,26 +4904,26 @@ PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_
_tmp88_ = self->priv->new_album_entry;
#line 811 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp88_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 4875 "FacebookPublishing.c"
+#line 4888 "FacebookPublishing.c"
}
#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (label_text);
#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 4881 "FacebookPublishing.c"
+#line 4894 "FacebookPublishing.c"
}
PublishingFacebookPublishingOptionsPane* publishing_facebook_publishing_options_pane_new (const gchar* username, PublishingFacebookAlbum** albums, int albums_length1, SpitPublishingPublisherMediaType media_type, PublishingFacebookFacebookPublisher* publisher, GtkBuilder* builder, gboolean strip_metadata, gboolean can_logout) {
#line 743 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_publishing_options_pane_construct (PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, username, albums, albums_length1, media_type, publisher, builder, strip_metadata, can_logout);
-#line 4888 "FacebookPublishing.c"
+#line 4901 "FacebookPublishing.c"
}
static gboolean publishing_facebook_publishing_options_pane_publishing_photos (PublishingFacebookPublishingOptionsPane* self) {
gboolean result = FALSE;
- SpitPublishingPublisherMediaType _tmp0_ = 0;
+ SpitPublishingPublisherMediaType _tmp0_;
#line 815 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self), FALSE);
#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4919,27 +4932,27 @@ static gboolean publishing_facebook_publishing_options_pane_publishing_photos (P
result = (_tmp0_ & SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) != 0;
#line 816 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 4903 "FacebookPublishing.c"
+#line 4916 "FacebookPublishing.c"
}
static gpointer _publishing_facebook_publishing_options_pane_privacy_description_ref0 (gpointer self) {
#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self ? publishing_facebook_publishing_options_pane_privacy_description_ref (self) : NULL;
-#line 4910 "FacebookPublishing.c"
+#line 4923 "FacebookPublishing.c"
}
static void publishing_facebook_publishing_options_pane_setup_visibility_combo (PublishingFacebookPublishingOptionsPane* self) {
- PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp0_;
+ gint _tmp0__length1;
#line 819 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self));
#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = self->priv->privacy_descriptions;
#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0__length1 = self->priv->privacy_descriptions_length1;
-#line 4923 "FacebookPublishing.c"
+#line 4936 "FacebookPublishing.c"
{
PublishingFacebookPublishingOptionsPanePrivacyDescription** p_collection = NULL;
gint p_collection_length1 = 0;
@@ -4951,18 +4964,18 @@ static void publishing_facebook_publishing_options_pane_setup_visibility_combo (
p_collection_length1 = _tmp0__length1;
#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
for (p_it = 0; p_it < _tmp0__length1; p_it = p_it + 1) {
-#line 4935 "FacebookPublishing.c"
- PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp1_ = NULL;
+#line 4948 "FacebookPublishing.c"
+ PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp1_;
PublishingFacebookPublishingOptionsPanePrivacyDescription* p = NULL;
#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = _publishing_facebook_publishing_options_pane_privacy_description_ref0 (p_collection[p_it]);
#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
p = _tmp1_;
-#line 4942 "FacebookPublishing.c"
+#line 4955 "FacebookPublishing.c"
{
- GtkComboBoxText* _tmp2_ = NULL;
- PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
+ GtkComboBoxText* _tmp2_;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp3_;
+ const gchar* _tmp4_;
#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = self->priv->visibility_combo;
#line 821 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -4973,7 +4986,7 @@ static void publishing_facebook_publishing_options_pane_setup_visibility_combo (
gtk_combo_box_text_append_text (_tmp2_, _tmp4_);
#line 820 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_publishing_facebook_publishing_options_pane_privacy_description_unref0 (p);
-#line 4957 "FacebookPublishing.c"
+#line 4970 "FacebookPublishing.c"
}
}
}
@@ -4981,15 +4994,15 @@ static void publishing_facebook_publishing_options_pane_setup_visibility_combo (
static void publishing_facebook_publishing_options_pane_setup_resolution_combo (PublishingFacebookPublishingOptionsPane* self) {
- PublishingFacebookResolution* _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
+ PublishingFacebookResolution* _tmp0_;
+ gint _tmp0__length1;
#line 824 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self));
#line 825 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = self->priv->possible_resolutions;
#line 825 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0__length1 = self->priv->possible_resolutions_length1;
-#line 4973 "FacebookPublishing.c"
+#line 4986 "FacebookPublishing.c"
{
PublishingFacebookResolution* res_collection = NULL;
gint res_collection_length1 = 0;
@@ -5001,16 +5014,16 @@ static void publishing_facebook_publishing_options_pane_setup_resolution_combo (
res_collection_length1 = _tmp0__length1;
#line 825 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
for (res_it = 0; res_it < _tmp0__length1; res_it = res_it + 1) {
-#line 4985 "FacebookPublishing.c"
+#line 4998 "FacebookPublishing.c"
PublishingFacebookResolution res = 0;
#line 825 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
res = res_collection[res_it];
-#line 4989 "FacebookPublishing.c"
+#line 5002 "FacebookPublishing.c"
{
- GtkComboBoxText* _tmp1_ = NULL;
- PublishingFacebookResolution _tmp2_ = 0;
- gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
+ GtkComboBoxText* _tmp1_;
+ PublishingFacebookResolution _tmp2_;
+ gchar* _tmp3_;
+ gchar* _tmp4_;
#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = self->priv->resolution_combo;
#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5023,7 +5036,7 @@ static void publishing_facebook_publishing_options_pane_setup_resolution_combo (
gtk_combo_box_text_append_text (_tmp1_, _tmp4_);
#line 826 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp4_);
-#line 5007 "FacebookPublishing.c"
+#line 5020 "FacebookPublishing.c"
}
}
}
@@ -5031,9 +5044,9 @@ static void publishing_facebook_publishing_options_pane_setup_resolution_combo (
static void publishing_facebook_publishing_options_pane_on_use_existing_toggled (PublishingFacebookPublishingOptionsPane* self) {
- GtkRadioButton* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- gboolean _tmp2_ = FALSE;
+ GtkRadioButton* _tmp0_;
+ gboolean _tmp1_;
+ gboolean _tmp2_;
#line 829 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self));
#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5044,12 +5057,12 @@ static void publishing_facebook_publishing_options_pane_on_use_existing_toggled
_tmp2_ = _tmp1_;
#line 830 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp2_) {
-#line 5028 "FacebookPublishing.c"
- GtkComboBoxText* _tmp3_ = NULL;
- GtkEntry* _tmp4_ = NULL;
- GtkComboBoxText* _tmp5_ = NULL;
- SpitPublishingPublisherMediaType _tmp6_ = 0;
- GtkComboBoxText* _tmp7_ = NULL;
+#line 5041 "FacebookPublishing.c"
+ GtkComboBoxText* _tmp3_;
+ GtkEntry* _tmp4_;
+ GtkComboBoxText* _tmp5_;
+ SpitPublishingPublisherMediaType _tmp6_;
+ GtkComboBoxText* _tmp7_;
#line 831 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp3_ = self->priv->existing_albums_combo;
#line 831 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5068,15 +5081,15 @@ static void publishing_facebook_publishing_options_pane_on_use_existing_toggled
_tmp7_ = self->priv->existing_albums_combo;
#line 839 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
-#line 5052 "FacebookPublishing.c"
+#line 5065 "FacebookPublishing.c"
}
}
static void publishing_facebook_publishing_options_pane_on_create_new_toggled (PublishingFacebookPublishingOptionsPane* self) {
- GtkRadioButton* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- gboolean _tmp2_ = FALSE;
+ GtkRadioButton* _tmp0_;
+ gboolean _tmp1_;
+ gboolean _tmp2_;
#line 843 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self));
#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5087,11 +5100,11 @@ static void publishing_facebook_publishing_options_pane_on_create_new_toggled (P
_tmp2_ = _tmp1_;
#line 844 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp2_) {
-#line 5071 "FacebookPublishing.c"
- GtkComboBoxText* _tmp3_ = NULL;
- GtkEntry* _tmp4_ = NULL;
- GtkEntry* _tmp5_ = NULL;
- GtkComboBoxText* _tmp6_ = NULL;
+#line 5084 "FacebookPublishing.c"
+ GtkComboBoxText* _tmp3_;
+ GtkEntry* _tmp4_;
+ GtkEntry* _tmp5_;
+ GtkComboBoxText* _tmp6_;
#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp3_ = self->priv->existing_albums_combo;
#line 845 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5108,15 +5121,15 @@ static void publishing_facebook_publishing_options_pane_on_create_new_toggled (P
_tmp6_ = self->priv->visibility_combo;
#line 851 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 5092 "FacebookPublishing.c"
+#line 5105 "FacebookPublishing.c"
}
}
static void publishing_facebook_publishing_options_pane_on_size_changed (PublishingFacebookPublishingOptionsPane* self) {
- PublishingFacebookFacebookPublisher* _tmp0_ = NULL;
- GtkComboBoxText* _tmp1_ = NULL;
- gint _tmp2_ = 0;
+ PublishingFacebookFacebookPublisher* _tmp0_;
+ GtkComboBoxText* _tmp1_;
+ gint _tmp2_;
#line 855 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self));
#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5127,7 +5140,7 @@ static void publishing_facebook_publishing_options_pane_on_size_changed (Publish
_tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox));
#line 856 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_facebook_publisher_set_persistent_default_size (_tmp0_, _tmp2_);
-#line 5111 "FacebookPublishing.c"
+#line 5124 "FacebookPublishing.c"
}
@@ -5135,28 +5148,28 @@ static void publishing_facebook_publishing_options_pane_on_logout_button_clicked
#line 859 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self));
#line 860 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (self, "logout");
-#line 5120 "FacebookPublishing.c"
+ g_signal_emit (self, publishing_facebook_publishing_options_pane_signals[PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_LOGOUT_SIGNAL], 0);
+#line 5133 "FacebookPublishing.c"
}
static void publishing_facebook_publishing_options_pane_on_publish_button_clicked (PublishingFacebookPublishingOptionsPane* self) {
gchar* album_name = NULL;
gchar* privacy_setting = NULL;
- PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
- GtkComboBoxText* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp0_;
+ gint _tmp0__length1;
+ GtkComboBoxText* _tmp1_;
+ gint _tmp2_;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp3_;
+ const gchar* _tmp4_;
+ gchar* _tmp5_;
PublishingFacebookResolution resolution_setting = 0;
- gboolean _tmp6_ = FALSE;
- const gchar* _tmp19_ = NULL;
- const gchar* _tmp20_ = NULL;
- PublishingFacebookResolution _tmp21_ = 0;
- GtkCheckButton* _tmp22_ = NULL;
- gboolean _tmp23_ = FALSE;
+ gboolean _tmp6_;
+ const gchar* _tmp19_;
+ const gchar* _tmp20_;
+ PublishingFacebookResolution _tmp21_;
+ GtkCheckButton* _tmp22_;
+ gboolean _tmp23_;
#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self));
#line 865 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5179,15 +5192,15 @@ static void publishing_facebook_publishing_options_pane_on_publish_button_clicke
_tmp6_ = publishing_facebook_publishing_options_pane_publishing_photos (self);
#line 869 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp6_) {
-#line 5163 "FacebookPublishing.c"
- PublishingFacebookResolution* _tmp7_ = NULL;
- gint _tmp7__length1 = 0;
- GtkComboBoxText* _tmp8_ = NULL;
- gint _tmp9_ = 0;
- PublishingFacebookResolution _tmp10_ = 0;
- GtkRadioButton* _tmp11_ = NULL;
- gboolean _tmp12_ = FALSE;
- gboolean _tmp13_ = FALSE;
+#line 5176 "FacebookPublishing.c"
+ PublishingFacebookResolution* _tmp7_;
+ gint _tmp7__length1;
+ GtkComboBoxText* _tmp8_;
+ gint _tmp9_;
+ PublishingFacebookResolution _tmp10_;
+ GtkRadioButton* _tmp11_;
+ gboolean _tmp12_;
+ gboolean _tmp13_;
#line 870 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp7_ = self->priv->possible_resolutions;
#line 870 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5208,9 +5221,9 @@ static void publishing_facebook_publishing_options_pane_on_publish_button_clicke
_tmp13_ = _tmp12_;
#line 871 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp13_) {
-#line 5192 "FacebookPublishing.c"
- GtkComboBoxText* _tmp14_ = NULL;
- gchar* _tmp15_ = NULL;
+#line 5205 "FacebookPublishing.c"
+ GtkComboBoxText* _tmp14_;
+ gchar* _tmp15_;
#line 872 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp14_ = self->priv->existing_albums_combo;
#line 872 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5219,11 +5232,11 @@ static void publishing_facebook_publishing_options_pane_on_publish_button_clicke
_g_free0 (album_name);
#line 872 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
album_name = _tmp15_;
-#line 5203 "FacebookPublishing.c"
+#line 5216 "FacebookPublishing.c"
} else {
- GtkEntry* _tmp16_ = NULL;
- const gchar* _tmp17_ = NULL;
- gchar* _tmp18_ = NULL;
+ GtkEntry* _tmp16_;
+ const gchar* _tmp17_;
+ gchar* _tmp18_;
#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp16_ = self->priv->new_album_entry;
#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5234,7 +5247,7 @@ static void publishing_facebook_publishing_options_pane_on_publish_button_clicke
_g_free0 (album_name);
#line 874 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
album_name = _tmp18_;
-#line 5218 "FacebookPublishing.c"
+#line 5231 "FacebookPublishing.c"
}
} else {
#line 877 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5243,7 +5256,7 @@ static void publishing_facebook_publishing_options_pane_on_publish_button_clicke
_g_free0 (album_name);
#line 878 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
album_name = NULL;
-#line 5227 "FacebookPublishing.c"
+#line 5240 "FacebookPublishing.c"
}
#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp19_ = album_name;
@@ -5256,86 +5269,83 @@ static void publishing_facebook_publishing_options_pane_on_publish_button_clicke
#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp23_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 881 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (self, "publish", _tmp19_, _tmp20_, _tmp21_, _tmp23_);
+ g_signal_emit (self, publishing_facebook_publishing_options_pane_signals[PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_PUBLISH_SIGNAL], 0, _tmp19_, _tmp20_, _tmp21_, _tmp23_);
#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (privacy_setting);
#line 863 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (album_name);
-#line 5245 "FacebookPublishing.c"
+#line 5258 "FacebookPublishing.c"
}
-static void _vala_array_add7 (PublishingFacebookPublishingOptionsPanePrivacyDescription*** array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value) {
+static void _vala_array_add7 (PublishingFacebookPublishingOptionsPanePrivacyDescription** * array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value) {
#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if ((*length) == (*size)) {
#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*array = g_renew (PublishingFacebookPublishingOptionsPanePrivacyDescription*, *array, (*size) + 1);
-#line 5256 "FacebookPublishing.c"
+#line 5269 "FacebookPublishing.c"
}
#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*array)[(*length)++] = value;
#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*array)[*length] = NULL;
-#line 5262 "FacebookPublishing.c"
+#line 5275 "FacebookPublishing.c"
}
-static void _vala_array_add8 (PublishingFacebookPublishingOptionsPanePrivacyDescription*** array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value) {
+static void _vala_array_add8 (PublishingFacebookPublishingOptionsPanePrivacyDescription** * array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value) {
#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if ((*length) == (*size)) {
#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*array = g_renew (PublishingFacebookPublishingOptionsPanePrivacyDescription*, *array, (*size) + 1);
-#line 5273 "FacebookPublishing.c"
+#line 5286 "FacebookPublishing.c"
}
#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*array)[(*length)++] = value;
#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*array)[*length] = NULL;
-#line 5279 "FacebookPublishing.c"
+#line 5292 "FacebookPublishing.c"
}
-static void _vala_array_add9 (PublishingFacebookPublishingOptionsPanePrivacyDescription*** array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value) {
+static void _vala_array_add9 (PublishingFacebookPublishingOptionsPanePrivacyDescription** * array, int* length, int* size, PublishingFacebookPublishingOptionsPanePrivacyDescription* value) {
#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if ((*length) == (*size)) {
#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*array = g_renew (PublishingFacebookPublishingOptionsPanePrivacyDescription*, *array, (*size) + 1);
-#line 5290 "FacebookPublishing.c"
+#line 5303 "FacebookPublishing.c"
}
#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*array)[(*length)++] = value;
#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*array)[*length] = NULL;
-#line 5296 "FacebookPublishing.c"
+#line 5309 "FacebookPublishing.c"
}
static PublishingFacebookPublishingOptionsPanePrivacyDescription** publishing_facebook_publishing_options_pane_create_privacy_descriptions (PublishingFacebookPublishingOptionsPane* self, int* result_length1) {
PublishingFacebookPublishingOptionsPanePrivacyDescription** result = NULL;
PublishingFacebookPublishingOptionsPanePrivacyDescription** _result_ = NULL;
- PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp0_ = NULL;
- gint _result__length1 = 0;
- gint __result__size_ = 0;
- PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
- const gchar* _tmp2_ = NULL;
- PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp3_ = NULL;
- PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
- const gchar* _tmp5_ = NULL;
- PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp6_ = NULL;
- PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp7_ = NULL;
- gint _tmp7__length1 = 0;
- const gchar* _tmp8_ = NULL;
- PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp9_ = NULL;
- PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp10_ = NULL;
- gint _tmp10__length1 = 0;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp0_;
+ gint _result__length1;
+ gint __result__size_;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp1_;
+ gint _tmp1__length1;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp2_;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp3_;
+ gint _tmp3__length1;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp4_;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp5_;
+ gint _tmp5__length1;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription* _tmp6_;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription** _tmp7_;
+ gint _tmp7__length1;
#line 884 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self), NULL);
#line 885 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5351,91 +5361,85 @@ static PublishingFacebookPublishingOptionsPanePrivacyDescription** publishing_fa
#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1__length1 = _result__length1;
#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp2_ = _ ("Just me");
+ _tmp2_ = publishing_facebook_publishing_options_pane_privacy_description_new (_ ("Just me"), "{ 'value' : 'SELF' }");
#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp3_ = publishing_facebook_publishing_options_pane_privacy_description_new (_tmp2_, "{ 'value' : 'SELF' }");
-#line 887 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _vala_array_add7 (&_result_, &_result__length1, &__result__size_, _tmp3_);
-#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp4_ = _result_;
+ _vala_array_add7 (&_result_, &_result__length1, &__result__size_, _tmp2_);
#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp4__length1 = _result__length1;
+ _tmp3_ = _result_;
#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp5_ = _ ("Friends");
+ _tmp3__length1 = _result__length1;
#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp6_ = publishing_facebook_publishing_options_pane_privacy_description_new (_tmp5_, "{ 'value' : 'ALL_FRIENDS' }");
+ _tmp4_ = publishing_facebook_publishing_options_pane_privacy_description_new (_ ("Friends"), "{ 'value' : 'ALL_FRIENDS' }");
#line 888 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _vala_array_add8 (&_result_, &_result__length1, &__result__size_, _tmp6_);
+ _vala_array_add8 (&_result_, &_result__length1, &__result__size_, _tmp4_);
#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp7_ = _result_;
-#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp7__length1 = _result__length1;
+ _tmp5_ = _result_;
#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp8_ = _ ("Everyone");
+ _tmp5__length1 = _result__length1;
#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp9_ = publishing_facebook_publishing_options_pane_privacy_description_new (_tmp8_, "{ 'value' : 'EVERYONE' }");
+ _tmp6_ = publishing_facebook_publishing_options_pane_privacy_description_new (_ ("Everyone"), "{ 'value' : 'EVERYONE' }");
#line 889 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _vala_array_add9 (&_result_, &_result__length1, &__result__size_, _tmp9_);
+ _vala_array_add9 (&_result_, &_result__length1, &__result__size_, _tmp6_);
#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp10_ = _result_;
+ _tmp7_ = _result_;
#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp10__length1 = _result__length1;
+ _tmp7__length1 = _result__length1;
#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (result_length1) {
#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- *result_length1 = _tmp10__length1;
-#line 5368 "FacebookPublishing.c"
+ *result_length1 = _tmp7__length1;
+#line 5372 "FacebookPublishing.c"
}
#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- result = _tmp10_;
+ result = _tmp7_;
#line 891 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 5374 "FacebookPublishing.c"
+#line 5378 "FacebookPublishing.c"
}
-static void _vala_array_add10 (PublishingFacebookResolution** array, int* length, int* size, PublishingFacebookResolution value) {
+static void _vala_array_add10 (PublishingFacebookResolution* * array, int* length, int* size, PublishingFacebookResolution value) {
#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if ((*length) == (*size)) {
#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*array = g_renew (PublishingFacebookResolution, *array, *size);
-#line 5385 "FacebookPublishing.c"
+#line 5389 "FacebookPublishing.c"
}
#line 897 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*array)[(*length)++] = value;
-#line 5389 "FacebookPublishing.c"
+#line 5393 "FacebookPublishing.c"
}
-static void _vala_array_add11 (PublishingFacebookResolution** array, int* length, int* size, PublishingFacebookResolution value) {
+static void _vala_array_add11 (PublishingFacebookResolution* * array, int* length, int* size, PublishingFacebookResolution value) {
#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if ((*length) == (*size)) {
#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*array = g_renew (PublishingFacebookResolution, *array, *size);
-#line 5400 "FacebookPublishing.c"
+#line 5404 "FacebookPublishing.c"
}
#line 898 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
(*array)[(*length)++] = value;
-#line 5404 "FacebookPublishing.c"
+#line 5408 "FacebookPublishing.c"
}
static PublishingFacebookResolution* publishing_facebook_publishing_options_pane_create_resolution_list (PublishingFacebookPublishingOptionsPane* self, int* result_length1) {
PublishingFacebookResolution* result = NULL;
PublishingFacebookResolution* _result_ = NULL;
- PublishingFacebookResolution* _tmp0_ = NULL;
- gint _result__length1 = 0;
- gint __result__size_ = 0;
- PublishingFacebookResolution* _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
- PublishingFacebookResolution* _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
- PublishingFacebookResolution* _tmp3_ = NULL;
- gint _tmp3__length1 = 0;
+ PublishingFacebookResolution* _tmp0_;
+ gint _result__length1;
+ gint __result__size_;
+ PublishingFacebookResolution* _tmp1_;
+ gint _tmp1__length1;
+ PublishingFacebookResolution* _tmp2_;
+ gint _tmp2__length1;
+ PublishingFacebookResolution* _tmp3_;
+ gint _tmp3__length1;
#line 894 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self), NULL);
#line 895 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5466,39 +5470,39 @@ static PublishingFacebookResolution* publishing_facebook_publishing_options_pane
if (result_length1) {
#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*result_length1 = _tmp3__length1;
-#line 5450 "FacebookPublishing.c"
+#line 5454 "FacebookPublishing.c"
}
#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
result = _tmp3_;
#line 900 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 5456 "FacebookPublishing.c"
+#line 5460 "FacebookPublishing.c"
}
void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPublishingOptionsPane* self) {
- gboolean _tmp0_ = FALSE;
- GtkButton* _tmp24_ = NULL;
+ gboolean _tmp0_;
+ GtkButton* _tmp24_;
#line 903 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self));
#line 904 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = publishing_facebook_publishing_options_pane_publishing_photos (self);
#line 904 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp0_) {
-#line 5469 "FacebookPublishing.c"
- PublishingFacebookAlbum** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
+#line 5473 "FacebookPublishing.c"
+ PublishingFacebookAlbum** _tmp1_;
+ gint _tmp1__length1;
#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = self->priv->albums;
#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1__length1 = self->priv->albums_length1;
#line 905 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp1__length1 == 0) {
-#line 5478 "FacebookPublishing.c"
- GtkRadioButton* _tmp2_ = NULL;
- GtkEntry* _tmp3_ = NULL;
- GtkComboBoxText* _tmp4_ = NULL;
- GtkRadioButton* _tmp5_ = NULL;
+#line 5482 "FacebookPublishing.c"
+ GtkRadioButton* _tmp2_;
+ GtkEntry* _tmp3_;
+ GtkComboBoxText* _tmp4_;
+ GtkRadioButton* _tmp5_;
#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = self->priv->create_new_radio;
#line 906 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5515,13 +5519,13 @@ void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPu
_tmp5_ = self->priv->use_existing_radio;
#line 909 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 5499 "FacebookPublishing.c"
+#line 5503 "FacebookPublishing.c"
} else {
gint default_album_seq_num = 0;
gint ticker = 0;
- PublishingFacebookAlbum** _tmp6_ = NULL;
- gint _tmp6__length1 = 0;
- gint _tmp15_ = 0;
+ PublishingFacebookAlbum** _tmp6_;
+ gint _tmp6__length1;
+ gint _tmp15_;
#line 911 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
default_album_seq_num = -1;
#line 912 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5530,7 +5534,7 @@ void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPu
_tmp6_ = self->priv->albums;
#line 913 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp6__length1 = self->priv->albums_length1;
-#line 5514 "FacebookPublishing.c"
+#line 5518 "FacebookPublishing.c"
{
PublishingFacebookAlbum** album_collection = NULL;
gint album_collection_length1 = 0;
@@ -5542,21 +5546,21 @@ void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPu
album_collection_length1 = _tmp6__length1;
#line 913 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
for (album_it = 0; album_it < _tmp6__length1; album_it = album_it + 1) {
-#line 5526 "FacebookPublishing.c"
- PublishingFacebookAlbum* _tmp7_ = NULL;
+#line 5530 "FacebookPublishing.c"
+ PublishingFacebookAlbum* _tmp7_;
PublishingFacebookAlbum* album = NULL;
#line 913 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp7_ = _publishing_facebook_album_ref0 (album_collection[album_it]);
#line 913 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
album = _tmp7_;
-#line 5533 "FacebookPublishing.c"
+#line 5537 "FacebookPublishing.c"
{
- GtkComboBoxText* _tmp8_ = NULL;
- PublishingFacebookAlbum* _tmp9_ = NULL;
- const gchar* _tmp10_ = NULL;
- PublishingFacebookAlbum* _tmp11_ = NULL;
- const gchar* _tmp12_ = NULL;
- gint _tmp14_ = 0;
+ GtkComboBoxText* _tmp8_;
+ PublishingFacebookAlbum* _tmp9_;
+ const gchar* _tmp10_;
+ PublishingFacebookAlbum* _tmp11_;
+ const gchar* _tmp12_;
+ gint _tmp14_;
#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp8_ = self->priv->existing_albums_combo;
#line 914 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5571,13 +5575,13 @@ void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPu
_tmp12_ = _tmp11_->name;
#line 915 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (g_strcmp0 (_tmp12_, PUBLISHING_FACEBOOK_DEFAULT_ALBUM_NAME) == 0) {
-#line 5555 "FacebookPublishing.c"
- gint _tmp13_ = 0;
+#line 5559 "FacebookPublishing.c"
+ gint _tmp13_;
#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp13_ = ticker;
#line 916 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
default_album_seq_num = _tmp13_;
-#line 5561 "FacebookPublishing.c"
+#line 5565 "FacebookPublishing.c"
}
#line 917 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp14_ = ticker;
@@ -5585,7 +5589,7 @@ void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPu
ticker = _tmp14_ + 1;
#line 913 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_publishing_facebook_album_unref0 (album);
-#line 5569 "FacebookPublishing.c"
+#line 5573 "FacebookPublishing.c"
}
}
}
@@ -5593,11 +5597,11 @@ void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPu
_tmp15_ = default_album_seq_num;
#line 919 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp15_ != -1) {
-#line 5577 "FacebookPublishing.c"
- GtkComboBoxText* _tmp16_ = NULL;
- gint _tmp17_ = 0;
- GtkRadioButton* _tmp18_ = NULL;
- GtkEntry* _tmp19_ = NULL;
+#line 5581 "FacebookPublishing.c"
+ GtkComboBoxText* _tmp16_;
+ gint _tmp17_;
+ GtkRadioButton* _tmp18_;
+ GtkEntry* _tmp19_;
#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp16_ = self->priv->existing_albums_combo;
#line 920 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5612,12 +5616,12 @@ void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPu
_tmp19_ = self->priv->new_album_entry;
#line 922 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 5596 "FacebookPublishing.c"
+#line 5600 "FacebookPublishing.c"
} else {
- GtkRadioButton* _tmp20_ = NULL;
- GtkComboBoxText* _tmp21_ = NULL;
- GtkComboBoxText* _tmp22_ = NULL;
- GtkEntry* _tmp23_ = NULL;
+ GtkRadioButton* _tmp20_;
+ GtkComboBoxText* _tmp21_;
+ GtkComboBoxText* _tmp22_;
+ GtkEntry* _tmp23_;
#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp20_ = self->priv->create_new_radio;
#line 925 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5634,7 +5638,7 @@ void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPu
_tmp23_ = self->priv->new_album_entry;
#line 928 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
gtk_entry_set_text (_tmp23_, PUBLISHING_FACEBOOK_DEFAULT_ALBUM_NAME);
-#line 5618 "FacebookPublishing.c"
+#line 5622 "FacebookPublishing.c"
}
}
}
@@ -5642,7 +5646,7 @@ void publishing_facebook_publishing_options_pane_installed (PublishingFacebookPu
_tmp24_ = self->priv->publish_button;
#line 933 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_widget_get_type (), GtkWidget));
-#line 5626 "FacebookPublishing.c"
+#line 5630 "FacebookPublishing.c"
}
@@ -5650,17 +5654,17 @@ static void publishing_facebook_publishing_options_pane_notify_logout (Publishin
#line 936 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self));
#line 937 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (self, "logout");
-#line 5635 "FacebookPublishing.c"
+ g_signal_emit (self, publishing_facebook_publishing_options_pane_signals[PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_LOGOUT_SIGNAL], 0);
+#line 5639 "FacebookPublishing.c"
}
static void publishing_facebook_publishing_options_pane_notify_publish (PublishingFacebookPublishingOptionsPane* self, const gchar* target_album, const gchar* privacy_setting, PublishingFacebookResolution target_resolution) {
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- PublishingFacebookResolution _tmp2_ = 0;
- GtkCheckButton* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ PublishingFacebookResolution _tmp2_;
+ GtkCheckButton* _tmp3_;
+ gboolean _tmp4_;
#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_PUBLISHING_OPTIONS_PANE (self));
#line 940 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5676,16 +5680,16 @@ static void publishing_facebook_publishing_options_pane_notify_publish (Publishi
#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp4_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 941 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (self, "publish", _tmp0_, _tmp1_, _tmp2_, _tmp4_);
-#line 5661 "FacebookPublishing.c"
+ g_signal_emit (self, publishing_facebook_publishing_options_pane_signals[PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_PUBLISH_SIGNAL], 0, _tmp0_, _tmp1_, _tmp2_, _tmp4_);
+#line 5665 "FacebookPublishing.c"
}
static GtkWidget* publishing_facebook_publishing_options_pane_real_get_widget (SpitPublishingDialogPane* base) {
PublishingFacebookPublishingOptionsPane * self;
GtkWidget* result = NULL;
- GtkBox* _tmp0_ = NULL;
- GtkWidget* _tmp1_ = NULL;
+ GtkBox* _tmp0_;
+ GtkWidget* _tmp1_;
#line 944 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, PublishingFacebookPublishingOptionsPane);
#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5696,7 +5700,7 @@ static GtkWidget* publishing_facebook_publishing_options_pane_real_get_widget (S
result = _tmp1_;
#line 945 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 5680 "FacebookPublishing.c"
+#line 5684 "FacebookPublishing.c"
}
@@ -5709,21 +5713,21 @@ static SpitPublishingDialogPaneGeometryOptions publishing_facebook_publishing_op
result = SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
#line 949 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 5693 "FacebookPublishing.c"
+#line 5697 "FacebookPublishing.c"
}
static void _publishing_facebook_publishing_options_pane_notify_logout_publishing_facebook_publishing_options_pane_logout (PublishingFacebookPublishingOptionsPane* _sender, gpointer self) {
#line 953 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_notify_logout ((PublishingFacebookPublishingOptionsPane*) self);
-#line 5700 "FacebookPublishing.c"
+#line 5704 "FacebookPublishing.c"
}
static void _publishing_facebook_publishing_options_pane_notify_publish_publishing_facebook_publishing_options_pane_publish (PublishingFacebookPublishingOptionsPane* _sender, const gchar* target_album, const gchar* privacy_setting, PublishingFacebookResolution target_resolution, gboolean strip_metadata, gpointer self) {
#line 954 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_notify_publish ((PublishingFacebookPublishingOptionsPane*) self, target_album, privacy_setting, target_resolution);
-#line 5707 "FacebookPublishing.c"
+#line 5711 "FacebookPublishing.c"
}
@@ -5737,14 +5741,14 @@ static void publishing_facebook_publishing_options_pane_real_on_pane_installed (
g_signal_connect_object (self, "publish", (GCallback) _publishing_facebook_publishing_options_pane_notify_publish_publishing_facebook_publishing_options_pane_publish, self, 0);
#line 956 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_installed (self);
-#line 5721 "FacebookPublishing.c"
+#line 5725 "FacebookPublishing.c"
}
static void publishing_facebook_publishing_options_pane_real_on_pane_uninstalled (SpitPublishingDialogPane* base) {
PublishingFacebookPublishingOptionsPane * self;
- guint _tmp0_ = 0U;
- guint _tmp1_ = 0U;
+ guint _tmp0_;
+ guint _tmp1_;
#line 959 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, PublishingFacebookPublishingOptionsPane);
#line 960 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5755,7 +5759,7 @@ static void publishing_facebook_publishing_options_pane_real_on_pane_uninstalled
g_signal_parse_name ("publish", PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, &_tmp1_, NULL, FALSE);
#line 961 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_signal_handlers_disconnect_matched (self, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _publishing_facebook_publishing_options_pane_notify_publish_publishing_facebook_publishing_options_pane_publish, self);
-#line 5739 "FacebookPublishing.c"
+#line 5743 "FacebookPublishing.c"
}
@@ -5774,28 +5778,28 @@ static void g_cclosure_user_marshal_VOID__STRING_STRING_ENUM_BOOLEAN (GClosure *
data1 = closure->data;
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
data2 = param_values->data[0].v_pointer;
-#line 5758 "FacebookPublishing.c"
+#line 5762 "FacebookPublishing.c"
} else {
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
data1 = param_values->data[0].v_pointer;
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
data2 = closure->data;
-#line 5764 "FacebookPublishing.c"
+#line 5768 "FacebookPublishing.c"
}
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
callback = (GMarshalFunc_VOID__STRING_STRING_ENUM_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
callback (data1, g_value_get_string (param_values + 1), g_value_get_string (param_values + 2), g_value_get_enum (param_values + 3), g_value_get_boolean (param_values + 4), data2);
-#line 5770 "FacebookPublishing.c"
+#line 5774 "FacebookPublishing.c"
}
static PublishingFacebookPublishingOptionsPanePrivacyDescription* publishing_facebook_publishing_options_pane_privacy_description_construct (GType object_type, const gchar* description, const gchar* privacy_setting) {
PublishingFacebookPublishingOptionsPanePrivacyDescription* self = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
+ const gchar* _tmp2_;
+ gchar* _tmp3_;
#line 737 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (description != NULL, NULL);
#line 737 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5820,21 +5824,21 @@ static PublishingFacebookPublishingOptionsPanePrivacyDescription* publishing_fac
self->privacy_setting = _tmp3_;
#line 737 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 5804 "FacebookPublishing.c"
+#line 5808 "FacebookPublishing.c"
}
static PublishingFacebookPublishingOptionsPanePrivacyDescription* publishing_facebook_publishing_options_pane_privacy_description_new (const gchar* description, const gchar* privacy_setting) {
#line 737 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_publishing_options_pane_privacy_description_construct (PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION, description, privacy_setting);
-#line 5811 "FacebookPublishing.c"
+#line 5815 "FacebookPublishing.c"
}
static void publishing_facebook_publishing_options_pane_value_privacy_description_init (GValue* value) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 5818 "FacebookPublishing.c"
+#line 5822 "FacebookPublishing.c"
}
@@ -5843,7 +5847,7 @@ static void publishing_facebook_publishing_options_pane_value_privacy_descriptio
if (value->data[0].v_pointer) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_privacy_description_unref (value->data[0].v_pointer);
-#line 5827 "FacebookPublishing.c"
+#line 5831 "FacebookPublishing.c"
}
}
@@ -5853,11 +5857,11 @@ static void publishing_facebook_publishing_options_pane_value_privacy_descriptio
if (src_value->data[0].v_pointer) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = publishing_facebook_publishing_options_pane_privacy_description_ref (src_value->data[0].v_pointer);
-#line 5837 "FacebookPublishing.c"
+#line 5841 "FacebookPublishing.c"
} else {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 5841 "FacebookPublishing.c"
+#line 5845 "FacebookPublishing.c"
}
}
@@ -5865,66 +5869,66 @@ static void publishing_facebook_publishing_options_pane_value_privacy_descriptio
static gpointer publishing_facebook_publishing_options_pane_value_privacy_description_peek_pointer (const GValue* value) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 5849 "FacebookPublishing.c"
+#line 5853 "FacebookPublishing.c"
}
static gchar* publishing_facebook_publishing_options_pane_value_privacy_description_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 5856 "FacebookPublishing.c"
- PublishingFacebookPublishingOptionsPanePrivacyDescription* object;
+#line 5860 "FacebookPublishing.c"
+ PublishingFacebookPublishingOptionsPanePrivacyDescription * object;
object = collect_values[0].v_pointer;
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 5863 "FacebookPublishing.c"
+#line 5867 "FacebookPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.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 5867 "FacebookPublishing.c"
+#line 5871 "FacebookPublishing.c"
}
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = publishing_facebook_publishing_options_pane_privacy_description_ref (object);
-#line 5871 "FacebookPublishing.c"
+#line 5875 "FacebookPublishing.c"
} else {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 5875 "FacebookPublishing.c"
+#line 5879 "FacebookPublishing.c"
}
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 5879 "FacebookPublishing.c"
+#line 5883 "FacebookPublishing.c"
}
static gchar* publishing_facebook_publishing_options_pane_value_privacy_description_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PublishingFacebookPublishingOptionsPanePrivacyDescription** object_p;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription ** object_p;
object_p = collect_values[0].v_pointer;
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!object_p) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 5890 "FacebookPublishing.c"
+#line 5894 "FacebookPublishing.c"
}
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!value->data[0].v_pointer) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = NULL;
-#line 5896 "FacebookPublishing.c"
+#line 5900 "FacebookPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 5900 "FacebookPublishing.c"
+#line 5904 "FacebookPublishing.c"
} else {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = publishing_facebook_publishing_options_pane_privacy_description_ref (value->data[0].v_pointer);
-#line 5904 "FacebookPublishing.c"
+#line 5908 "FacebookPublishing.c"
}
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 5908 "FacebookPublishing.c"
+#line 5912 "FacebookPublishing.c"
}
@@ -5938,7 +5942,7 @@ static GParamSpec* publishing_facebook_publishing_options_pane_param_spec_privac
G_PARAM_SPEC (spec)->value_type = object_type;
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 5922 "FacebookPublishing.c"
+#line 5926 "FacebookPublishing.c"
}
@@ -5947,12 +5951,12 @@ static gpointer publishing_facebook_publishing_options_pane_value_get_privacy_de
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION), NULL);
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 5931 "FacebookPublishing.c"
+#line 5935 "FacebookPublishing.c"
}
static void publishing_facebook_publishing_options_pane_value_set_privacy_description (GValue* value, gpointer v_object) {
- PublishingFacebookPublishingOptionsPanePrivacyDescription* old;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription * old;
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION));
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5967,23 +5971,23 @@ static void publishing_facebook_publishing_options_pane_value_set_privacy_descri
value->data[0].v_pointer = v_object;
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_privacy_description_ref (value->data[0].v_pointer);
-#line 5951 "FacebookPublishing.c"
+#line 5955 "FacebookPublishing.c"
} else {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 5955 "FacebookPublishing.c"
+#line 5959 "FacebookPublishing.c"
}
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_privacy_description_unref (old);
-#line 5961 "FacebookPublishing.c"
+#line 5965 "FacebookPublishing.c"
}
}
static void publishing_facebook_publishing_options_pane_value_take_privacy_description (GValue* value, gpointer v_object) {
- PublishingFacebookPublishingOptionsPanePrivacyDescription* old;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription * old;
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION));
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -5996,17 +6000,17 @@ static void publishing_facebook_publishing_options_pane_value_take_privacy_descr
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 5980 "FacebookPublishing.c"
+#line 5984 "FacebookPublishing.c"
} else {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 5984 "FacebookPublishing.c"
+#line 5988 "FacebookPublishing.c"
}
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_privacy_description_unref (old);
-#line 5990 "FacebookPublishing.c"
+#line 5994 "FacebookPublishing.c"
}
}
@@ -6016,18 +6020,18 @@ static void publishing_facebook_publishing_options_pane_privacy_description_clas
publishing_facebook_publishing_options_pane_privacy_description_parent_class = g_type_class_peek_parent (klass);
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
((PublishingFacebookPublishingOptionsPanePrivacyDescriptionClass *) klass)->finalize = publishing_facebook_publishing_options_pane_privacy_description_finalize;
-#line 6000 "FacebookPublishing.c"
+#line 6004 "FacebookPublishing.c"
}
static void publishing_facebook_publishing_options_pane_privacy_description_instance_init (PublishingFacebookPublishingOptionsPanePrivacyDescription * self) {
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->ref_count = 1;
-#line 6007 "FacebookPublishing.c"
+#line 6011 "FacebookPublishing.c"
}
-static void publishing_facebook_publishing_options_pane_privacy_description_finalize (PublishingFacebookPublishingOptionsPanePrivacyDescription* obj) {
+static void publishing_facebook_publishing_options_pane_privacy_description_finalize (PublishingFacebookPublishingOptionsPanePrivacyDescription * obj) {
PublishingFacebookPublishingOptionsPanePrivacyDescription * self;
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_TYPE_PRIVACY_DESCRIPTION, PublishingFacebookPublishingOptionsPanePrivacyDescription);
@@ -6037,7 +6041,7 @@ static void publishing_facebook_publishing_options_pane_privacy_description_fina
_g_free0 (self->description);
#line 735 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (self->privacy_setting);
-#line 6021 "FacebookPublishing.c"
+#line 6025 "FacebookPublishing.c"
}
@@ -6056,18 +6060,18 @@ static GType publishing_facebook_publishing_options_pane_privacy_description_get
static gpointer publishing_facebook_publishing_options_pane_privacy_description_ref (gpointer instance) {
- PublishingFacebookPublishingOptionsPanePrivacyDescription* self;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription * self;
self = instance;
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_atomic_int_inc (&self->ref_count);
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return instance;
-#line 6046 "FacebookPublishing.c"
+#line 6050 "FacebookPublishing.c"
}
static void publishing_facebook_publishing_options_pane_privacy_description_unref (gpointer instance) {
- PublishingFacebookPublishingOptionsPanePrivacyDescription* self;
+ PublishingFacebookPublishingOptionsPanePrivacyDescription * self;
self = instance;
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -6075,7 +6079,7 @@ static void publishing_facebook_publishing_options_pane_privacy_description_unre
PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_PRIVACY_DESCRIPTION_GET_CLASS (self)->finalize (self);
#line 733 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 6059 "FacebookPublishing.c"
+#line 6063 "FacebookPublishing.c"
}
}
@@ -6088,10 +6092,10 @@ static void publishing_facebook_publishing_options_pane_class_init (PublishingFa
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
G_OBJECT_CLASS (klass)->finalize = publishing_facebook_publishing_options_pane_finalize;
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_new ("logout", PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
+ publishing_facebook_publishing_options_pane_signals[PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_LOGOUT_SIGNAL] = g_signal_new ("logout", PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_new ("publish", PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_STRING_ENUM_BOOLEAN, G_TYPE_NONE, 4, G_TYPE_STRING, G_TYPE_STRING, PUBLISHING_FACEBOOK_TYPE_RESOLUTION, G_TYPE_BOOLEAN);
-#line 6075 "FacebookPublishing.c"
+ publishing_facebook_publishing_options_pane_signals[PUBLISHING_FACEBOOK_PUBLISHING_OPTIONS_PANE_PUBLISH_SIGNAL] = g_signal_new ("publish", PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_STRING_ENUM_BOOLEAN, G_TYPE_NONE, 4, G_TYPE_STRING, G_TYPE_STRING, PUBLISHING_FACEBOOK_TYPE_RESOLUTION, G_TYPE_BOOLEAN);
+#line 6079 "FacebookPublishing.c"
}
@@ -6099,14 +6103,14 @@ static void publishing_facebook_publishing_options_pane_spit_publishing_dialog_p
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_publishing_options_pane_spit_publishing_dialog_pane_parent_iface = g_type_interface_peek_parent (iface);
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->get_widget = (GtkWidget* (*)(SpitPublishingDialogPane*)) publishing_facebook_publishing_options_pane_real_get_widget;
+ iface->get_widget = (GtkWidget* (*) (SpitPublishingDialogPane *)) publishing_facebook_publishing_options_pane_real_get_widget;
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*)(SpitPublishingDialogPane*)) publishing_facebook_publishing_options_pane_real_get_preferred_geometry;
+ iface->get_preferred_geometry = (SpitPublishingDialogPaneGeometryOptions (*) (SpitPublishingDialogPane *)) publishing_facebook_publishing_options_pane_real_get_preferred_geometry;
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->on_pane_installed = (void (*)(SpitPublishingDialogPane*)) publishing_facebook_publishing_options_pane_real_on_pane_installed;
+ iface->on_pane_installed = (void (*) (SpitPublishingDialogPane *)) publishing_facebook_publishing_options_pane_real_on_pane_installed;
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- iface->on_pane_uninstalled = (void (*)(SpitPublishingDialogPane*)) publishing_facebook_publishing_options_pane_real_on_pane_uninstalled;
-#line 6090 "FacebookPublishing.c"
+ iface->on_pane_uninstalled = (void (*) (SpitPublishingDialogPane *)) publishing_facebook_publishing_options_pane_real_on_pane_uninstalled;
+#line 6094 "FacebookPublishing.c"
}
@@ -6143,11 +6147,11 @@ static void publishing_facebook_publishing_options_pane_instance_init (Publishin
self->priv->publisher = NULL;
#line 719 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->resolution_combo = NULL;
-#line 6127 "FacebookPublishing.c"
+#line 6131 "FacebookPublishing.c"
}
-static void publishing_facebook_publishing_options_pane_finalize (GObject* obj) {
+static void publishing_facebook_publishing_options_pane_finalize (GObject * obj) {
PublishingFacebookPublishingOptionsPane * self;
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_PUBLISHING_OPTIONS_PANE, PublishingFacebookPublishingOptionsPane);
@@ -6185,7 +6189,7 @@ static void publishing_facebook_publishing_options_pane_finalize (GObject* obj)
_g_object_unref0 (self->priv->resolution_combo);
#line 702 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
G_OBJECT_CLASS (publishing_facebook_publishing_options_pane_parent_class)->finalize (obj);
-#line 6169 "FacebookPublishing.c"
+#line 6173 "FacebookPublishing.c"
}
@@ -6209,48 +6213,48 @@ gchar* publishing_facebook_endpoint_to_uri (PublishingFacebookEndpoint self) {
switch (self) {
#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case PUBLISHING_FACEBOOK_ENDPOINT_DEFAULT:
-#line 6193 "FacebookPublishing.c"
+#line 6197 "FacebookPublishing.c"
{
- gchar* _tmp0_ = NULL;
+ gchar* _tmp0_;
#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = g_strdup ("https://graph.facebook.com/");
#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
result = _tmp0_;
#line 973 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 6202 "FacebookPublishing.c"
+#line 6206 "FacebookPublishing.c"
}
#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case PUBLISHING_FACEBOOK_ENDPOINT_VIDEO:
-#line 6206 "FacebookPublishing.c"
+#line 6210 "FacebookPublishing.c"
{
- gchar* _tmp1_ = NULL;
+ gchar* _tmp1_;
#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = g_strdup ("https://graph-video.facebook.com/");
#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
result = _tmp1_;
#line 976 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 6215 "FacebookPublishing.c"
+#line 6219 "FacebookPublishing.c"
}
#line 971 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case PUBLISHING_FACEBOOK_ENDPOINT_TEST_CONNECTION:
-#line 6219 "FacebookPublishing.c"
+#line 6223 "FacebookPublishing.c"
{
- gchar* _tmp2_ = NULL;
+ gchar* _tmp2_;
#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = g_strdup ("https://www.facebook.com/");
#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
result = _tmp2_;
#line 979 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 6228 "FacebookPublishing.c"
+#line 6232 "FacebookPublishing.c"
}
default:
{
#line 982 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_assert_not_reached ();
-#line 6234 "FacebookPublishing.c"
+#line 6238 "FacebookPublishing.c"
}
}
}
@@ -6273,7 +6277,7 @@ static gchar* publishing_facebook_graph_message_real_get_uri (PublishingFacebook
g_critical ("Type `%s' does not implement abstract method `publishing_facebook_graph_message_get_uri'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 6257 "FacebookPublishing.c"
+#line 6261 "FacebookPublishing.c"
}
@@ -6282,7 +6286,7 @@ gchar* publishing_facebook_graph_message_get_uri (PublishingFacebookGraphMessage
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_MESSAGE (self), NULL);
#line 992 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return PUBLISHING_FACEBOOK_GRAPH_MESSAGE_GET_CLASS (self)->get_uri (self);
-#line 6266 "FacebookPublishing.c"
+#line 6270 "FacebookPublishing.c"
}
@@ -6291,7 +6295,7 @@ static gchar* publishing_facebook_graph_message_real_get_response_body (Publishi
g_critical ("Type `%s' does not implement abstract method `publishing_facebook_graph_message_get_response_body'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 993 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 6275 "FacebookPublishing.c"
+#line 6279 "FacebookPublishing.c"
}
@@ -6300,7 +6304,7 @@ gchar* publishing_facebook_graph_message_get_response_body (PublishingFacebookGr
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_MESSAGE (self), NULL);
#line 993 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return PUBLISHING_FACEBOOK_GRAPH_MESSAGE_GET_CLASS (self)->get_response_body (self);
-#line 6284 "FacebookPublishing.c"
+#line 6288 "FacebookPublishing.c"
}
@@ -6310,7 +6314,7 @@ PublishingFacebookGraphMessage* publishing_facebook_graph_message_construct (GTy
self = (PublishingFacebookGraphMessage*) g_type_create_instance (object_type);
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 6294 "FacebookPublishing.c"
+#line 6298 "FacebookPublishing.c"
}
@@ -6329,26 +6333,26 @@ static void g_cclosure_user_marshal_VOID__INT_INT (GClosure * closure, GValue *
data1 = closure->data;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
data2 = param_values->data[0].v_pointer;
-#line 6313 "FacebookPublishing.c"
+#line 6317 "FacebookPublishing.c"
} else {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
data1 = param_values->data[0].v_pointer;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
data2 = closure->data;
-#line 6319 "FacebookPublishing.c"
+#line 6323 "FacebookPublishing.c"
}
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
callback = (GMarshalFunc_VOID__INT_INT) (marshal_data ? marshal_data : cc->callback);
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
callback (data1, g_value_get_int (param_values + 1), g_value_get_int (param_values + 2), data2);
-#line 6325 "FacebookPublishing.c"
+#line 6329 "FacebookPublishing.c"
}
static void publishing_facebook_value_graph_message_init (GValue* value) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 6332 "FacebookPublishing.c"
+#line 6336 "FacebookPublishing.c"
}
@@ -6357,7 +6361,7 @@ static void publishing_facebook_value_graph_message_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_message_unref (value->data[0].v_pointer);
-#line 6341 "FacebookPublishing.c"
+#line 6345 "FacebookPublishing.c"
}
}
@@ -6367,11 +6371,11 @@ static void publishing_facebook_value_graph_message_copy_value (const GValue* sr
if (src_value->data[0].v_pointer) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = publishing_facebook_graph_message_ref (src_value->data[0].v_pointer);
-#line 6351 "FacebookPublishing.c"
+#line 6355 "FacebookPublishing.c"
} else {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 6355 "FacebookPublishing.c"
+#line 6359 "FacebookPublishing.c"
}
}
@@ -6379,66 +6383,66 @@ static void publishing_facebook_value_graph_message_copy_value (const GValue* sr
static gpointer publishing_facebook_value_graph_message_peek_pointer (const GValue* value) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 6363 "FacebookPublishing.c"
+#line 6367 "FacebookPublishing.c"
}
static gchar* publishing_facebook_value_graph_message_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 6370 "FacebookPublishing.c"
- PublishingFacebookGraphMessage* object;
+#line 6374 "FacebookPublishing.c"
+ PublishingFacebookGraphMessage * object;
object = collect_values[0].v_pointer;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 6377 "FacebookPublishing.c"
+#line 6381 "FacebookPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.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 6381 "FacebookPublishing.c"
+#line 6385 "FacebookPublishing.c"
}
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = publishing_facebook_graph_message_ref (object);
-#line 6385 "FacebookPublishing.c"
+#line 6389 "FacebookPublishing.c"
} else {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 6389 "FacebookPublishing.c"
+#line 6393 "FacebookPublishing.c"
}
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 6393 "FacebookPublishing.c"
+#line 6397 "FacebookPublishing.c"
}
static gchar* publishing_facebook_value_graph_message_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PublishingFacebookGraphMessage** object_p;
+ PublishingFacebookGraphMessage ** object_p;
object_p = collect_values[0].v_pointer;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!object_p) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 6404 "FacebookPublishing.c"
+#line 6408 "FacebookPublishing.c"
}
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!value->data[0].v_pointer) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = NULL;
-#line 6410 "FacebookPublishing.c"
+#line 6414 "FacebookPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 6414 "FacebookPublishing.c"
+#line 6418 "FacebookPublishing.c"
} else {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = publishing_facebook_graph_message_ref (value->data[0].v_pointer);
-#line 6418 "FacebookPublishing.c"
+#line 6422 "FacebookPublishing.c"
}
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 6422 "FacebookPublishing.c"
+#line 6426 "FacebookPublishing.c"
}
@@ -6452,7 +6456,7 @@ GParamSpec* publishing_facebook_param_spec_graph_message (const gchar* name, con
G_PARAM_SPEC (spec)->value_type = object_type;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 6436 "FacebookPublishing.c"
+#line 6440 "FacebookPublishing.c"
}
@@ -6461,12 +6465,12 @@ gpointer publishing_facebook_value_get_graph_message (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE), NULL);
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 6445 "FacebookPublishing.c"
+#line 6449 "FacebookPublishing.c"
}
void publishing_facebook_value_set_graph_message (GValue* value, gpointer v_object) {
- PublishingFacebookGraphMessage* old;
+ PublishingFacebookGraphMessage * old;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE));
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6481,23 +6485,23 @@ void publishing_facebook_value_set_graph_message (GValue* value, gpointer v_obje
value->data[0].v_pointer = v_object;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_message_ref (value->data[0].v_pointer);
-#line 6465 "FacebookPublishing.c"
+#line 6469 "FacebookPublishing.c"
} else {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 6469 "FacebookPublishing.c"
+#line 6473 "FacebookPublishing.c"
}
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_message_unref (old);
-#line 6475 "FacebookPublishing.c"
+#line 6479 "FacebookPublishing.c"
}
}
void publishing_facebook_value_take_graph_message (GValue* value, gpointer v_object) {
- PublishingFacebookGraphMessage* old;
+ PublishingFacebookGraphMessage * old;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE));
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6510,17 +6514,17 @@ void publishing_facebook_value_take_graph_message (GValue* value, gpointer v_obj
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 6494 "FacebookPublishing.c"
+#line 6498 "FacebookPublishing.c"
} else {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 6498 "FacebookPublishing.c"
+#line 6502 "FacebookPublishing.c"
}
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_message_unref (old);
-#line 6504 "FacebookPublishing.c"
+#line 6508 "FacebookPublishing.c"
}
}
@@ -6531,33 +6535,33 @@ static void publishing_facebook_graph_message_class_init (PublishingFacebookGrap
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
((PublishingFacebookGraphMessageClass *) klass)->finalize = publishing_facebook_graph_message_finalize;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- ((PublishingFacebookGraphMessageClass *) klass)->get_uri = (gchar* (*)(PublishingFacebookGraphMessage*)) publishing_facebook_graph_message_real_get_uri;
+ ((PublishingFacebookGraphMessageClass *) klass)->get_uri = (gchar* (*) (PublishingFacebookGraphMessage *)) publishing_facebook_graph_message_real_get_uri;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- ((PublishingFacebookGraphMessageClass *) klass)->get_response_body = (gchar* (*)(PublishingFacebookGraphMessage*)) publishing_facebook_graph_message_real_get_response_body;
+ ((PublishingFacebookGraphMessageClass *) klass)->get_response_body = (gchar* (*) (PublishingFacebookGraphMessage *)) publishing_facebook_graph_message_real_get_response_body;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_new ("completed", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
+ publishing_facebook_graph_message_signals[PUBLISHING_FACEBOOK_GRAPH_MESSAGE_COMPLETED_SIGNAL] = g_signal_new ("completed", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_new ("failed", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER);
+ publishing_facebook_graph_message_signals[PUBLISHING_FACEBOOK_GRAPH_MESSAGE_FAILED_SIGNAL] = g_signal_new ("failed", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER);
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_new ("data_transmitted", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__INT_INT, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_INT);
-#line 6524 "FacebookPublishing.c"
+ publishing_facebook_graph_message_signals[PUBLISHING_FACEBOOK_GRAPH_MESSAGE_DATA_TRANSMITTED_SIGNAL] = g_signal_new ("data-transmitted", PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__INT_INT, G_TYPE_NONE, 2, G_TYPE_INT, G_TYPE_INT);
+#line 6528 "FacebookPublishing.c"
}
static void publishing_facebook_graph_message_instance_init (PublishingFacebookGraphMessage * self) {
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->ref_count = 1;
-#line 6531 "FacebookPublishing.c"
+#line 6535 "FacebookPublishing.c"
}
-static void publishing_facebook_graph_message_finalize (PublishingFacebookGraphMessage* obj) {
+static void publishing_facebook_graph_message_finalize (PublishingFacebookGraphMessage * obj) {
PublishingFacebookGraphMessage * self;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage);
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_signal_handlers_destroy (self);
-#line 6541 "FacebookPublishing.c"
+#line 6545 "FacebookPublishing.c"
}
@@ -6576,18 +6580,18 @@ GType publishing_facebook_graph_message_get_type (void) {
gpointer publishing_facebook_graph_message_ref (gpointer instance) {
- PublishingFacebookGraphMessage* self;
+ PublishingFacebookGraphMessage * self;
self = instance;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_atomic_int_inc (&self->ref_count);
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return instance;
-#line 6566 "FacebookPublishing.c"
+#line 6570 "FacebookPublishing.c"
}
void publishing_facebook_graph_message_unref (gpointer instance) {
- PublishingFacebookGraphMessage* self;
+ PublishingFacebookGraphMessage * self;
self = instance;
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -6595,7 +6599,7 @@ void publishing_facebook_graph_message_unref (gpointer instance) {
PUBLISHING_FACEBOOK_GRAPH_MESSAGE_GET_CLASS (self)->finalize (self);
#line 987 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 6579 "FacebookPublishing.c"
+#line 6583 "FacebookPublishing.c"
}
}
@@ -6603,16 +6607,16 @@ void publishing_facebook_graph_message_unref (gpointer instance) {
static void _publishing_facebook_graph_session_on_request_unqueued_soup_session_request_unqueued (SoupSession* _sender, SoupMessage* msg, gpointer self) {
#line 1172 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_session_on_request_unqueued ((PublishingFacebookGraphSession*) self, msg);
-#line 6587 "FacebookPublishing.c"
+#line 6591 "FacebookPublishing.c"
}
PublishingFacebookGraphSession* publishing_facebook_graph_session_construct (GType object_type) {
PublishingFacebookGraphSession* self = NULL;
- SoupSession* _tmp0_ = NULL;
- SoupSession* _tmp1_ = NULL;
- SoupSession* _tmp2_ = NULL;
- SoupSession* _tmp3_ = NULL;
+ SoupSession* _tmp0_;
+ SoupSession* _tmp1_;
+ SoupSession* _tmp2_;
+ SoupSession* _tmp3_;
#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = (PublishingFacebookGraphSession*) g_type_create_instance (object_type);
#line 1163 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6643,28 +6647,28 @@ PublishingFacebookGraphSession* publishing_facebook_graph_session_construct (GTy
g_object_set (_tmp3_, "ssl-use-system-ca-file", TRUE, NULL);
#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 6627 "FacebookPublishing.c"
+#line 6631 "FacebookPublishing.c"
}
PublishingFacebookGraphSession* publishing_facebook_graph_session_new (void) {
#line 1162 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_graph_session_construct (PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION);
-#line 6634 "FacebookPublishing.c"
+#line 6638 "FacebookPublishing.c"
}
static gpointer _publishing_facebook_graph_message_ref0 (gpointer self) {
#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self ? publishing_facebook_graph_message_ref (self) : NULL;
-#line 6641 "FacebookPublishing.c"
+#line 6645 "FacebookPublishing.c"
}
static void publishing_facebook_graph_session_manage_message (PublishingFacebookGraphSession* self, PublishingFacebookGraphMessage* msg) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
- PublishingFacebookGraphMessage* _tmp1_ = NULL;
- PublishingFacebookGraphMessage* _tmp2_ = NULL;
+ PublishingFacebookGraphMessage* _tmp0_;
+ PublishingFacebookGraphMessage* _tmp1_;
+ PublishingFacebookGraphMessage* _tmp2_;
#line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self));
#line 1175 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6681,12 +6685,12 @@ static void publishing_facebook_graph_session_manage_message (PublishingFacebook
_publishing_facebook_graph_message_unref0 (self->priv->current_message);
#line 1178 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->current_message = _tmp2_;
-#line 6665 "FacebookPublishing.c"
+#line 6669 "FacebookPublishing.c"
}
static void publishing_facebook_graph_session_unmanage_message (PublishingFacebookGraphSession* self, PublishingFacebookGraphMessage* msg) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
+ PublishingFacebookGraphMessage* _tmp0_;
#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self));
#line 1181 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6699,40 +6703,40 @@ static void publishing_facebook_graph_session_unmanage_message (PublishingFacebo
_publishing_facebook_graph_message_unref0 (self->priv->current_message);
#line 1184 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->current_message = NULL;
-#line 6683 "FacebookPublishing.c"
+#line 6687 "FacebookPublishing.c"
}
static void _publishing_facebook_graph_session_graph_message_impl_on_wrote_body_data_soup_message_wrote_body_data (SoupMessage* _sender, SoupBuffer* chunk, gpointer self) {
#line 1203 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_session_graph_message_impl_on_wrote_body_data ((PublishingFacebookGraphSessionGraphMessageImpl*) self, chunk);
-#line 6690 "FacebookPublishing.c"
+#line 6694 "FacebookPublishing.c"
}
static void publishing_facebook_graph_session_on_request_unqueued (PublishingFacebookGraphSession* self, SoupMessage* msg) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
+ PublishingFacebookGraphMessage* _tmp0_;
PublishingFacebookGraphSessionGraphMessageImpl* real_message = NULL;
- PublishingFacebookGraphMessage* _tmp1_ = NULL;
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp2_ = NULL;
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp3_ = NULL;
- SoupMessage* _tmp4_ = NULL;
- SoupMessage* _tmp5_ = NULL;
+ PublishingFacebookGraphMessage* _tmp1_;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp2_;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp3_;
+ SoupMessage* _tmp4_;
+ SoupMessage* _tmp5_;
gboolean _tmp6_ = FALSE;
gboolean _tmp7_ = FALSE;
- SoupMessage* _tmp8_ = NULL;
- guint _tmp9_ = 0U;
- guint _tmp10_ = 0U;
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp21_ = NULL;
- SoupMessage* _tmp22_ = NULL;
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp23_ = NULL;
- guint _tmp24_ = 0U;
+ SoupMessage* _tmp8_;
+ guint _tmp9_;
+ guint _tmp10_;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp21_;
+ SoupMessage* _tmp22_;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp23_;
+ guint _tmp24_;
GError* _error_ = NULL;
- SoupMessage* _tmp25_ = NULL;
- guint _tmp26_ = 0U;
- guint _tmp27_ = 0U;
- GError* _tmp68_ = NULL;
- GError* _tmp80_ = NULL;
+ SoupMessage* _tmp25_;
+ guint _tmp26_;
+ guint _tmp27_;
+ GError* _tmp68_;
+ GError* _tmp80_;
#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self));
#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6765,11 +6769,11 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
if (_tmp10_ == ((guint) SOUP_STATUS_IO_ERROR)) {
#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp7_ = TRUE;
-#line 6749 "FacebookPublishing.c"
+#line 6753 "FacebookPublishing.c"
} else {
- SoupMessage* _tmp11_ = NULL;
- guint _tmp12_ = 0U;
- guint _tmp13_ = 0U;
+ SoupMessage* _tmp11_;
+ guint _tmp12_;
+ guint _tmp13_;
#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp11_ = msg;
#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6778,17 +6782,17 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_tmp13_ = _tmp12_;
#line 1195 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp7_ = _tmp13_ == ((guint) SOUP_STATUS_MALFORMED);
-#line 6762 "FacebookPublishing.c"
+#line 6766 "FacebookPublishing.c"
}
#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp7_) {
#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp6_ = TRUE;
-#line 6768 "FacebookPublishing.c"
+#line 6772 "FacebookPublishing.c"
} else {
- SoupMessage* _tmp14_ = NULL;
- guint _tmp15_ = 0U;
- guint _tmp16_ = 0U;
+ SoupMessage* _tmp14_;
+ guint _tmp15_;
+ guint _tmp16_;
#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp14_ = msg;
#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6797,15 +6801,15 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_tmp16_ = _tmp15_;
#line 1196 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp6_ = _tmp16_ == ((guint) SOUP_STATUS_TRY_AGAIN);
-#line 6781 "FacebookPublishing.c"
+#line 6785 "FacebookPublishing.c"
}
#line 1194 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp6_) {
-#line 6785 "FacebookPublishing.c"
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp17_ = NULL;
- SoupSession* _tmp18_ = NULL;
- SoupMessage* _tmp19_ = NULL;
- SoupMessage* _tmp20_ = NULL;
+#line 6789 "FacebookPublishing.c"
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp17_;
+ SoupSession* _tmp18_;
+ SoupMessage* _tmp19_;
+ SoupMessage* _tmp20_;
#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp17_ = real_message;
#line 1197 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6822,7 +6826,7 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_publishing_facebook_graph_message_unref0 (real_message);
#line 1199 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 6806 "FacebookPublishing.c"
+#line 6810 "FacebookPublishing.c"
}
#line 1202 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp21_ = real_message;
@@ -6850,17 +6854,17 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
case SOUP_STATUS_OK:
#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case SOUP_STATUS_CREATED:
-#line 6834 "FacebookPublishing.c"
+#line 6838 "FacebookPublishing.c"
{
#line 1211 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
break;
-#line 6838 "FacebookPublishing.c"
+#line 6842 "FacebookPublishing.c"
}
#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case PUBLISHING_FACEBOOK_EXPIRED_SESSION_STATUS_CODE:
-#line 6842 "FacebookPublishing.c"
+#line 6846 "FacebookPublishing.c"
{
- GError* _tmp28_ = NULL;
+ GError* _tmp28_;
#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp28_ = g_error_new_literal (SPIT_PUBLISHING_PUBLISHING_ERROR, SPIT_PUBLISHING_PUBLISHING_ERROR_EXPIRED_SESSION, "OAuth Access Token has Expired. Logout user.");
#line 1214 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6869,21 +6873,21 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_error_ = _tmp28_;
#line 1216 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
break;
-#line 6853 "FacebookPublishing.c"
+#line 6857 "FacebookPublishing.c"
}
#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case SOUP_STATUS_CANT_RESOLVE:
#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case SOUP_STATUS_CANT_RESOLVE_PROXY:
-#line 6859 "FacebookPublishing.c"
+#line 6863 "FacebookPublishing.c"
{
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp29_ = NULL;
- gchar* _tmp30_ = NULL;
- gchar* _tmp31_ = NULL;
- SoupMessage* _tmp32_ = NULL;
- guint _tmp33_ = 0U;
- guint _tmp34_ = 0U;
- GError* _tmp35_ = NULL;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp29_;
+ gchar* _tmp30_;
+ gchar* _tmp31_;
+ SoupMessage* _tmp32_;
+ guint _tmp33_;
+ guint _tmp34_;
+ GError* _tmp35_;
#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp29_ = real_message;
#line 1220 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6906,21 +6910,21 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_g_free0 (_tmp31_);
#line 1222 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
break;
-#line 6890 "FacebookPublishing.c"
+#line 6894 "FacebookPublishing.c"
}
#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case SOUP_STATUS_CANT_CONNECT:
#line 1206 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
case SOUP_STATUS_CANT_CONNECT_PROXY:
-#line 6896 "FacebookPublishing.c"
+#line 6900 "FacebookPublishing.c"
{
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp36_ = NULL;
- gchar* _tmp37_ = NULL;
- gchar* _tmp38_ = NULL;
- SoupMessage* _tmp39_ = NULL;
- guint _tmp40_ = 0U;
- guint _tmp41_ = 0U;
- GError* _tmp42_ = NULL;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp36_;
+ gchar* _tmp37_;
+ gchar* _tmp38_;
+ SoupMessage* _tmp39_;
+ guint _tmp40_;
+ guint _tmp41_;
+ GError* _tmp42_;
#line 1226 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp36_ = real_message;
#line 1226 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6943,13 +6947,13 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_g_free0 (_tmp38_);
#line 1228 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
break;
-#line 6927 "FacebookPublishing.c"
+#line 6931 "FacebookPublishing.c"
}
default:
{
- SoupMessage* _tmp43_ = NULL;
- guint _tmp44_ = 0U;
- guint _tmp45_ = 0U;
+ SoupMessage* _tmp43_;
+ guint _tmp44_;
+ guint _tmp45_;
#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp43_ = msg;
#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -6958,18 +6962,18 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_tmp45_ = _tmp44_;
#line 1233 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp45_ >= ((guint) 100)) {
-#line 6942 "FacebookPublishing.c"
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp46_ = NULL;
- gchar* _tmp47_ = NULL;
- gchar* _tmp48_ = NULL;
- SoupMessage* _tmp49_ = NULL;
- guint _tmp50_ = 0U;
- guint _tmp51_ = 0U;
- SoupMessage* _tmp52_ = NULL;
- gchar* _tmp53_ = NULL;
- gchar* _tmp54_ = NULL;
- gchar* _tmp55_ = NULL;
- GError* _tmp56_ = NULL;
+#line 6946 "FacebookPublishing.c"
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp46_;
+ gchar* _tmp47_;
+ gchar* _tmp48_;
+ SoupMessage* _tmp49_;
+ guint _tmp50_;
+ guint _tmp51_;
+ SoupMessage* _tmp52_;
+ gchar* _tmp53_;
+ gchar* _tmp54_;
+ gchar* _tmp55_;
+ GError* _tmp56_;
#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp46_ = real_message;
#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7000,19 +7004,19 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_g_free0 (_tmp55_);
#line 1234 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp48_);
-#line 6984 "FacebookPublishing.c"
+#line 6988 "FacebookPublishing.c"
} else {
- SoupMessage* _tmp57_ = NULL;
- gchar* _tmp58_ = NULL;
- gchar* _tmp59_ = NULL;
- gchar* _tmp60_ = NULL;
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp61_ = NULL;
- gchar* _tmp62_ = NULL;
- gchar* _tmp63_ = NULL;
- SoupMessage* _tmp64_ = NULL;
- guint _tmp65_ = 0U;
- guint _tmp66_ = 0U;
- GError* _tmp67_ = NULL;
+ SoupMessage* _tmp57_;
+ gchar* _tmp58_;
+ gchar* _tmp59_;
+ gchar* _tmp60_;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp61_;
+ gchar* _tmp62_;
+ gchar* _tmp63_;
+ SoupMessage* _tmp64_;
+ guint _tmp65_;
+ guint _tmp66_;
+ GError* _tmp67_;
#line 1238 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp57_ = msg;
#line 1238 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7045,23 +7049,23 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_error_ = _tmp67_;
#line 1239 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp63_);
-#line 7029 "FacebookPublishing.c"
+#line 7033 "FacebookPublishing.c"
}
#line 1243 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
break;
-#line 7033 "FacebookPublishing.c"
+#line 7037 "FacebookPublishing.c"
}
}
#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp68_ = _error_;
#line 1247 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp68_ == NULL) {
-#line 7040 "FacebookPublishing.c"
+#line 7044 "FacebookPublishing.c"
gboolean _tmp69_ = FALSE;
- SoupMessage* _tmp70_ = NULL;
- SoupMessageBody* _tmp71_ = NULL;
- guint8* _tmp72_ = NULL;
- gint _tmp72__length1 = 0;
+ SoupMessage* _tmp70_;
+ SoupMessageBody* _tmp71_;
+ guint8* _tmp72_;
+ gint _tmp72__length1;
#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp70_ = msg;
#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7074,12 +7078,12 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
if (_tmp72_ == NULL) {
#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp69_ = TRUE;
-#line 7058 "FacebookPublishing.c"
+#line 7062 "FacebookPublishing.c"
} else {
- SoupMessage* _tmp73_ = NULL;
- SoupMessageBody* _tmp74_ = NULL;
- guint8* _tmp75_ = NULL;
- gint _tmp75__length1 = 0;
+ SoupMessage* _tmp73_;
+ SoupMessageBody* _tmp74_;
+ guint8* _tmp75_;
+ gint _tmp75__length1;
#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp73_ = msg;
#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7090,15 +7094,15 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_tmp75__length1 = (gint) _tmp74_->length;
#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp69_ = _tmp75__length1 == 0;
-#line 7074 "FacebookPublishing.c"
+#line 7078 "FacebookPublishing.c"
}
#line 1248 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp69_) {
-#line 7078 "FacebookPublishing.c"
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp76_ = NULL;
- gchar* _tmp77_ = NULL;
- gchar* _tmp78_ = NULL;
- GError* _tmp79_ = NULL;
+#line 7082 "FacebookPublishing.c"
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp76_;
+ gchar* _tmp77_;
+ gchar* _tmp78_;
+ GError* _tmp79_;
#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp76_ = real_message;
#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7113,42 +7117,42 @@ static void publishing_facebook_graph_session_on_request_unqueued (PublishingFac
_error_ = _tmp79_;
#line 1249 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp78_);
-#line 7097 "FacebookPublishing.c"
+#line 7101 "FacebookPublishing.c"
}
}
#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp80_ = _error_;
#line 1252 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp80_ == NULL) {
-#line 7104 "FacebookPublishing.c"
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp81_ = NULL;
+#line 7108 "FacebookPublishing.c"
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp81_;
#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp81_ = real_message;
#line 1253 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp81_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), "completed");
-#line 7110 "FacebookPublishing.c"
+ g_signal_emit (G_TYPE_CHECK_INSTANCE_CAST (_tmp81_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), publishing_facebook_graph_message_signals[PUBLISHING_FACEBOOK_GRAPH_MESSAGE_COMPLETED_SIGNAL], 0);
+#line 7114 "FacebookPublishing.c"
} else {
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp82_ = NULL;
- GError* _tmp83_ = NULL;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp82_;
+ GError* _tmp83_;
#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp82_ = real_message;
#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp83_ = _error_;
#line 1255 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), "failed", _tmp83_);
-#line 7120 "FacebookPublishing.c"
+ g_signal_emit (G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), publishing_facebook_graph_message_signals[PUBLISHING_FACEBOOK_GRAPH_MESSAGE_FAILED_SIGNAL], 0, _tmp83_);
+#line 7124 "FacebookPublishing.c"
}
#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_error_free0 (_error_);
#line 1187 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_publishing_facebook_graph_message_unref0 (real_message);
-#line 7126 "FacebookPublishing.c"
+#line 7130 "FacebookPublishing.c"
}
void publishing_facebook_graph_session_authenticate (PublishingFacebookGraphSession* self, const gchar* access_token) {
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self));
#line 1258 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7162,14 +7166,14 @@ void publishing_facebook_graph_session_authenticate (PublishingFacebookGraphSess
#line 1259 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->access_token = _tmp1_;
#line 1260 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (self, "authenticated");
-#line 7147 "FacebookPublishing.c"
+ g_signal_emit (self, publishing_facebook_graph_session_signals[PUBLISHING_FACEBOOK_GRAPH_SESSION_AUTHENTICATED_SIGNAL], 0);
+#line 7151 "FacebookPublishing.c"
}
gboolean publishing_facebook_graph_session_is_authenticated (PublishingFacebookGraphSession* self) {
gboolean result = FALSE;
- const gchar* _tmp0_ = NULL;
+ const gchar* _tmp0_;
#line 1263 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self), FALSE);
#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7178,15 +7182,15 @@ gboolean publishing_facebook_graph_session_is_authenticated (PublishingFacebookG
result = _tmp0_ != NULL;
#line 1264 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 7162 "FacebookPublishing.c"
+#line 7166 "FacebookPublishing.c"
}
PublishingFacebookGraphMessage* publishing_facebook_graph_session_new_query (PublishingFacebookGraphSession* self, const gchar* resource_path) {
PublishingFacebookGraphMessage* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- PublishingFacebookGraphSessionGraphQueryMessage* _tmp2_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ PublishingFacebookGraphSessionGraphQueryMessage* _tmp2_;
#line 1273 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self), NULL);
#line 1273 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7201,18 +7205,18 @@ PublishingFacebookGraphMessage* publishing_facebook_graph_session_new_query (Pub
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage);
#line 1274 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 7185 "FacebookPublishing.c"
+#line 7189 "FacebookPublishing.c"
}
PublishingFacebookGraphMessage* publishing_facebook_graph_session_new_upload (PublishingFacebookGraphSession* self, const gchar* resource_path, SpitPublishingPublishable* publishable, gboolean suppress_titling, const gchar* resource_privacy) {
PublishingFacebookGraphMessage* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- SpitPublishingPublishable* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- const gchar* _tmp4_ = NULL;
- PublishingFacebookGraphSessionGraphUploadMessage* _tmp5_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ SpitPublishingPublishable* _tmp2_;
+ gboolean _tmp3_;
+ const gchar* _tmp4_;
+ PublishingFacebookGraphSessionGraphUploadMessage* _tmp5_;
#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self), NULL);
#line 1277 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7235,16 +7239,16 @@ PublishingFacebookGraphMessage* publishing_facebook_graph_session_new_upload (Pu
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage);
#line 1279 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 7219 "FacebookPublishing.c"
+#line 7223 "FacebookPublishing.c"
}
PublishingFacebookGraphMessage* publishing_facebook_graph_session_new_create_album (PublishingFacebookGraphSession* self, const gchar* album_name, const gchar* privacy) {
PublishingFacebookGraphMessage* result = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- PublishingFacebookGraphSessionGraphCreateAlbumMessage* _tmp3_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ const gchar* _tmp2_;
+ PublishingFacebookGraphSessionGraphCreateAlbumMessage* _tmp3_;
#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self), NULL);
#line 1283 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7263,24 +7267,24 @@ PublishingFacebookGraphMessage* publishing_facebook_graph_session_new_create_alb
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage);
#line 1284 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 7247 "FacebookPublishing.c"
+#line 7251 "FacebookPublishing.c"
}
void publishing_facebook_graph_session_send_message (PublishingFacebookGraphSession* self, PublishingFacebookGraphMessage* message) {
PublishingFacebookGraphSessionGraphMessageImpl* real_message = NULL;
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp1_ = NULL;
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp2_ = NULL;
- SoupMessage* _tmp3_ = NULL;
- SoupURI* _tmp4_ = NULL;
- SoupURI* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp10_ = NULL;
- gboolean _tmp11_ = FALSE;
+ PublishingFacebookGraphMessage* _tmp0_;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp1_;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp2_;
+ SoupMessage* _tmp3_;
+ SoupURI* _tmp4_;
+ SoupURI* _tmp5_;
+ gchar* _tmp6_;
+ gchar* _tmp7_;
+ gchar* _tmp8_;
+ gchar* _tmp9_;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp10_;
+ gboolean _tmp11_;
#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self));
#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7319,12 +7323,12 @@ void publishing_facebook_graph_session_send_message (PublishingFacebookGraphSess
_tmp11_ = publishing_facebook_graph_session_graph_message_impl_prepare_for_transmission (_tmp10_);
#line 1292 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp11_) {
-#line 7303 "FacebookPublishing.c"
- PublishingFacebookGraphMessage* _tmp12_ = NULL;
- SoupSession* _tmp13_ = NULL;
- PublishingFacebookGraphSessionGraphMessageImpl* _tmp14_ = NULL;
- SoupMessage* _tmp15_ = NULL;
- SoupMessage* _tmp16_ = NULL;
+#line 7307 "FacebookPublishing.c"
+ PublishingFacebookGraphMessage* _tmp12_;
+ SoupSession* _tmp13_;
+ PublishingFacebookGraphSessionGraphMessageImpl* _tmp14_;
+ SoupMessage* _tmp15_;
+ SoupMessage* _tmp16_;
#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp12_ = message;
#line 1293 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7339,35 +7343,35 @@ void publishing_facebook_graph_session_send_message (PublishingFacebookGraphSess
_tmp16_ = _g_object_ref0 (_tmp15_);
#line 1294 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
soup_session_queue_message (_tmp13_, _tmp16_, NULL, NULL);
-#line 7323 "FacebookPublishing.c"
+#line 7327 "FacebookPublishing.c"
}
#line 1287 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_publishing_facebook_graph_message_unref0 (real_message);
-#line 7327 "FacebookPublishing.c"
+#line 7331 "FacebookPublishing.c"
}
void publishing_facebook_graph_session_stop_transactions (PublishingFacebookGraphSession* self) {
- SoupSession* _tmp0_ = NULL;
+ SoupSession* _tmp0_;
#line 1298 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (self));
#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = self->priv->soup_session;
#line 1299 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
soup_session_abort (_tmp0_);
-#line 7339 "FacebookPublishing.c"
+#line 7343 "FacebookPublishing.c"
}
static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph_session_graph_message_impl_construct (GType object_type, PublishingFacebookGraphSession* host_session, PublishingRESTSupportHttpMethod method, const gchar* relative_uri, const gchar* access_token, PublishingFacebookEndpoint endpoint) {
PublishingFacebookGraphSessionGraphMessageImpl* self = NULL;
- PublishingRESTSupportHttpMethod _tmp0_ = 0;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- PublishingFacebookGraphSession* _tmp3_ = NULL;
+ PublishingRESTSupportHttpMethod _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
+ PublishingFacebookGraphSession* _tmp3_;
gchar* endpoint_uri = NULL;
- PublishingFacebookEndpoint _tmp4_ = 0;
- gchar* _tmp5_ = NULL;
+ PublishingFacebookEndpoint _tmp4_;
+ gchar* _tmp5_;
GError * _inner_error_ = NULL;
#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (host_session), NULL);
@@ -7401,18 +7405,16 @@ static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph
_tmp5_ = publishing_facebook_endpoint_to_uri (_tmp4_);
#line 1012 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
endpoint_uri = _tmp5_;
-#line 7385 "FacebookPublishing.c"
+#line 7389 "FacebookPublishing.c"
{
GRegex* starting_slashes = NULL;
- GRegex* _tmp6_ = NULL;
+ GRegex* _tmp6_;
gchar* _tmp7_ = NULL;
- GRegex* _tmp8_ = NULL;
- const gchar* _tmp9_ = NULL;
- gchar* _tmp10_ = NULL;
- const gchar* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
+ GRegex* _tmp8_;
+ const gchar* _tmp9_;
+ gchar* _tmp10_;
+ const gchar* _tmp11_;
+ gchar* _tmp12_;
#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp6_ = g_regex_new ("^/+", 0, 0, &_inner_error_);
#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7421,7 +7423,7 @@ static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 7405 "FacebookPublishing.c"
+#line 7407 "FacebookPublishing.c"
goto __catch4_g_regex_error;
}
#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7432,7 +7434,7 @@ static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph
g_clear_error (&_inner_error_);
#line 1014 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 7416 "FacebookPublishing.c"
+#line 7418 "FacebookPublishing.c"
}
#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp8_ = starting_slashes;
@@ -7448,7 +7450,7 @@ static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph
_g_regex_unref0 (starting_slashes);
#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 7432 "FacebookPublishing.c"
+#line 7434 "FacebookPublishing.c"
goto __catch4_g_regex_error;
}
#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7461,29 +7463,21 @@ static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph
g_clear_error (&_inner_error_);
#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 7445 "FacebookPublishing.c"
+#line 7447 "FacebookPublishing.c"
}
#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp11_ = endpoint_uri;
#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp12_ = _tmp7_;
-#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp7_ = NULL;
-#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp13_ = _tmp12_;
-#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _tmp14_ = g_strconcat (_tmp11_, _tmp13_, NULL);
+ _tmp12_ = g_strconcat (_tmp11_, _tmp7_, NULL);
#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (self->uri);
#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- self->uri = _tmp14_;
-#line 1015 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- _g_free0 (_tmp13_);
+ self->uri = _tmp12_;
#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp7_);
#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_regex_unref0 (starting_slashes);
-#line 7467 "FacebookPublishing.c"
+#line 7461 "FacebookPublishing.c"
}
goto __finally4;
__catch4_g_regex_error:
@@ -7497,7 +7491,7 @@ static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph
g_assert_not_reached ();
#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_error_free0 (err);
-#line 7481 "FacebookPublishing.c"
+#line 7475 "FacebookPublishing.c"
}
__finally4:
#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7510,13 +7504,13 @@ static PublishingFacebookGraphSessionGraphMessageImpl* publishing_facebook_graph
g_clear_error (&_inner_error_);
#line 1013 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 7494 "FacebookPublishing.c"
+#line 7488 "FacebookPublishing.c"
}
#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (endpoint_uri);
#line 1005 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 7500 "FacebookPublishing.c"
+#line 7494 "FacebookPublishing.c"
}
@@ -7526,7 +7520,7 @@ static gboolean publishing_facebook_graph_session_graph_message_impl_real_prepar
result = TRUE;
#line 1022 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 7510 "FacebookPublishing.c"
+#line 7504 "FacebookPublishing.c"
}
@@ -7535,15 +7529,15 @@ gboolean publishing_facebook_graph_session_graph_message_impl_prepare_for_transm
g_return_val_if_fail (PUBLISHING_FACEBOOK_GRAPH_SESSION_IS_GRAPH_MESSAGE_IMPL (self), FALSE);
#line 1021 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return PUBLISHING_FACEBOOK_GRAPH_SESSION_GRAPH_MESSAGE_IMPL_GET_CLASS (self)->prepare_for_transmission (self);
-#line 7519 "FacebookPublishing.c"
+#line 7513 "FacebookPublishing.c"
}
static gchar* publishing_facebook_graph_session_graph_message_impl_real_get_uri (PublishingFacebookGraphMessage* base) {
PublishingFacebookGraphSessionGraphMessageImpl * self;
gchar* result = NULL;
- const gchar* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ gchar* _tmp1_;
#line 1025 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl);
#line 1026 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7554,18 +7548,18 @@ static gchar* publishing_facebook_graph_session_graph_message_impl_real_get_uri
result = _tmp1_;
#line 1026 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 7538 "FacebookPublishing.c"
+#line 7532 "FacebookPublishing.c"
}
static gchar* publishing_facebook_graph_session_graph_message_impl_real_get_response_body (PublishingFacebookGraphMessage* base) {
PublishingFacebookGraphSessionGraphMessageImpl * self;
gchar* result = NULL;
- SoupMessage* _tmp0_ = NULL;
- SoupMessageBody* _tmp1_ = NULL;
- guint8* _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
- gchar* _tmp3_ = NULL;
+ SoupMessage* _tmp0_;
+ SoupMessageBody* _tmp1_;
+ guint8* _tmp2_;
+ gint _tmp2__length1;
+ gchar* _tmp3_;
#line 1029 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl);
#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7582,18 +7576,18 @@ static gchar* publishing_facebook_graph_session_graph_message_impl_real_get_resp
result = _tmp3_;
#line 1030 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 7566 "FacebookPublishing.c"
+#line 7560 "FacebookPublishing.c"
}
static void publishing_facebook_graph_session_graph_message_impl_on_wrote_body_data (PublishingFacebookGraphSessionGraphMessageImpl* self, SoupBuffer* chunk) {
- gint _tmp0_ = 0;
- SoupBuffer* _tmp1_ = NULL;
- gsize _tmp2_ = 0UL;
- gint _tmp3_ = 0;
- SoupMessage* _tmp4_ = NULL;
- SoupMessageBody* _tmp5_ = NULL;
- gint64 _tmp6_ = 0LL;
+ gint _tmp0_;
+ SoupBuffer* _tmp1_;
+ gsize _tmp2_;
+ gint _tmp3_;
+ SoupMessage* _tmp4_;
+ SoupMessageBody* _tmp5_;
+ gint64 _tmp6_;
#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_GRAPH_SESSION_IS_GRAPH_MESSAGE_IMPL (self));
#line 1033 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7615,8 +7609,8 @@ static void publishing_facebook_graph_session_graph_message_impl_on_wrote_body_d
#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp6_ = _tmp5_->length;
#line 1036 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), "data-transmitted", _tmp3_, (gint) _tmp6_);
-#line 7600 "FacebookPublishing.c"
+ g_signal_emit (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), publishing_facebook_graph_message_signals[PUBLISHING_FACEBOOK_GRAPH_MESSAGE_DATA_TRANSMITTED_SIGNAL], 0, _tmp3_, (gint) _tmp6_);
+#line 7594 "FacebookPublishing.c"
}
@@ -7626,12 +7620,12 @@ static void publishing_facebook_graph_session_graph_message_impl_class_init (Pub
#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
((PublishingFacebookGraphMessageClass *) klass)->finalize = publishing_facebook_graph_session_graph_message_impl_finalize;
#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- ((PublishingFacebookGraphSessionGraphMessageImplClass *) klass)->prepare_for_transmission = (gboolean (*)(PublishingFacebookGraphSessionGraphMessageImpl*)) publishing_facebook_graph_session_graph_message_impl_real_prepare_for_transmission;
+ ((PublishingFacebookGraphSessionGraphMessageImplClass *) klass)->prepare_for_transmission = (gboolean (*) (PublishingFacebookGraphSessionGraphMessageImpl *)) publishing_facebook_graph_session_graph_message_impl_real_prepare_for_transmission;
#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- ((PublishingFacebookGraphMessageClass *) klass)->get_uri = (gchar* (*)(PublishingFacebookGraphMessage*)) publishing_facebook_graph_session_graph_message_impl_real_get_uri;
+ ((PublishingFacebookGraphMessageClass *) klass)->get_uri = (gchar* (*) (PublishingFacebookGraphMessage *)) publishing_facebook_graph_session_graph_message_impl_real_get_uri;
#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- ((PublishingFacebookGraphMessageClass *) klass)->get_response_body = (gchar* (*)(PublishingFacebookGraphMessage*)) publishing_facebook_graph_session_graph_message_impl_real_get_response_body;
-#line 7615 "FacebookPublishing.c"
+ ((PublishingFacebookGraphMessageClass *) klass)->get_response_body = (gchar* (*) (PublishingFacebookGraphMessage *)) publishing_facebook_graph_session_graph_message_impl_real_get_response_body;
+#line 7609 "FacebookPublishing.c"
}
@@ -7639,7 +7633,7 @@ static void publishing_facebook_graph_session_graph_message_impl_instance_init (
}
-static void publishing_facebook_graph_session_graph_message_impl_finalize (PublishingFacebookGraphMessage* obj) {
+static void publishing_facebook_graph_session_graph_message_impl_finalize (PublishingFacebookGraphMessage * obj) {
PublishingFacebookGraphSessionGraphMessageImpl * self;
#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl);
@@ -7651,7 +7645,7 @@ static void publishing_facebook_graph_session_graph_message_impl_finalize (Publi
_g_object_unref0 (self->soup_message);
#line 997 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
PUBLISHING_FACEBOOK_GRAPH_MESSAGE_CLASS (publishing_facebook_graph_session_graph_message_impl_parent_class)->finalize (obj);
-#line 7635 "FacebookPublishing.c"
+#line 7629 "FacebookPublishing.c"
}
@@ -7670,29 +7664,29 @@ static GType publishing_facebook_graph_session_graph_message_impl_get_type (void
static void _vala_SoupURI_free (SoupURI* self) {
#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_boxed_free (soup_uri_get_type (), self);
-#line 7654 "FacebookPublishing.c"
+#line 7648 "FacebookPublishing.c"
}
static PublishingFacebookGraphSessionGraphQueryMessage* publishing_facebook_graph_session_graph_query_message_construct (GType object_type, PublishingFacebookGraphSession* host_session, const gchar* relative_uri, const gchar* access_token) {
PublishingFacebookGraphSessionGraphQueryMessage* self = NULL;
- PublishingFacebookGraphSession* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
+ PublishingFacebookGraphSession* _tmp0_;
+ const gchar* _tmp1_;
+ const gchar* _tmp2_;
SoupURI* destination_uri = NULL;
- const gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- const gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- SoupURI* _tmp9_ = NULL;
- SoupURI* _tmp10_ = NULL;
- PublishingRESTSupportHttpMethod _tmp11_ = 0;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- SoupMessage* _tmp14_ = NULL;
- SoupMessage* _tmp15_ = NULL;
+ const gchar* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ const gchar* _tmp6_;
+ gchar* _tmp7_;
+ gchar* _tmp8_;
+ SoupURI* _tmp9_;
+ SoupURI* _tmp10_;
+ PublishingRESTSupportHttpMethod _tmp11_;
+ gchar* _tmp12_;
+ gchar* _tmp13_;
+ SoupMessage* _tmp14_;
+ SoupMessage* _tmp15_;
#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (host_session), NULL);
#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7751,21 +7745,21 @@ static PublishingFacebookGraphSessionGraphQueryMessage* publishing_facebook_grap
__vala_SoupURI_free0 (destination_uri);
#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 7735 "FacebookPublishing.c"
+#line 7729 "FacebookPublishing.c"
}
static PublishingFacebookGraphSessionGraphQueryMessage* publishing_facebook_graph_session_graph_query_message_new (PublishingFacebookGraphSession* host_session, const gchar* relative_uri, const gchar* access_token) {
#line 1041 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_graph_session_graph_query_message_construct (PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_QUERY_MESSAGE, host_session, relative_uri, access_token);
-#line 7742 "FacebookPublishing.c"
+#line 7736 "FacebookPublishing.c"
}
static void publishing_facebook_graph_session_graph_query_message_class_init (PublishingFacebookGraphSessionGraphQueryMessageClass * klass) {
#line 1040 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_session_graph_query_message_parent_class = g_type_class_peek_parent (klass);
-#line 7749 "FacebookPublishing.c"
+#line 7743 "FacebookPublishing.c"
}
@@ -7787,15 +7781,15 @@ static GType publishing_facebook_graph_session_graph_query_message_get_type (voi
static PublishingFacebookGraphSessionGraphEndpointProbeMessage* publishing_facebook_graph_session_graph_endpoint_probe_message_construct (GType object_type, PublishingFacebookGraphSession* host_session) {
PublishingFacebookGraphSessionGraphEndpointProbeMessage* self = NULL;
- PublishingFacebookGraphSession* _tmp0_ = NULL;
- PublishingRESTSupportHttpMethod _tmp1_ = 0;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- SoupURI* _tmp5_ = NULL;
- SoupURI* _tmp6_ = NULL;
- SoupMessage* _tmp7_ = NULL;
- SoupMessage* _tmp8_ = NULL;
+ PublishingFacebookGraphSession* _tmp0_;
+ PublishingRESTSupportHttpMethod _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ const gchar* _tmp4_;
+ SoupURI* _tmp5_;
+ SoupURI* _tmp6_;
+ SoupMessage* _tmp7_;
+ SoupMessage* _tmp8_;
#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (host_session), NULL);
#line 1053 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -7830,21 +7824,21 @@ static PublishingFacebookGraphSessionGraphEndpointProbeMessage* publishing_faceb
g_signal_connect (_tmp8_, "wrote-body-data", (GCallback) _publishing_facebook_graph_session_graph_message_impl_on_wrote_body_data_soup_message_wrote_body_data, G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl));
#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 7814 "FacebookPublishing.c"
+#line 7808 "FacebookPublishing.c"
}
static PublishingFacebookGraphSessionGraphEndpointProbeMessage* publishing_facebook_graph_session_graph_endpoint_probe_message_new (PublishingFacebookGraphSession* host_session) {
#line 1052 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_graph_session_graph_endpoint_probe_message_construct (PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_ENDPOINT_PROBE_MESSAGE, host_session);
-#line 7821 "FacebookPublishing.c"
+#line 7815 "FacebookPublishing.c"
}
static void publishing_facebook_graph_session_graph_endpoint_probe_message_class_init (PublishingFacebookGraphSessionGraphEndpointProbeMessageClass * klass) {
#line 1051 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_session_graph_endpoint_probe_message_parent_class = g_type_class_peek_parent (klass);
-#line 7828 "FacebookPublishing.c"
+#line 7822 "FacebookPublishing.c"
}
@@ -7866,101 +7860,101 @@ static GType publishing_facebook_graph_session_graph_endpoint_probe_message_get_
static gchar* g_date_time_to_string (GDateTime* self) {
gchar* result = NULL;
- gchar* _tmp0_ = NULL;
-#line 2834 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gchar* _tmp0_;
+#line 2930 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 2835 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2931 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = g_date_time_format (self, "%FT%H:%M:%S%z");
-#line 2835 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2931 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _tmp0_;
-#line 2835 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2931 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
-#line 7859 "FacebookPublishing.c"
+#line 7853 "FacebookPublishing.c"
}
static void _vala_SoupMultipart_free (SoupMultipart* self) {
#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_boxed_free (soup_multipart_get_type (), self);
-#line 7866 "FacebookPublishing.c"
+#line 7860 "FacebookPublishing.c"
}
static void _vala_SoupBuffer_free (SoupBuffer* self) {
#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_boxed_free (soup_buffer_get_type (), self);
-#line 7873 "FacebookPublishing.c"
+#line 7867 "FacebookPublishing.c"
}
static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_graph_session_graph_upload_message_construct (GType object_type, PublishingFacebookGraphSession* host_session, const gchar* access_token, const gchar* relative_uri, SpitPublishingPublishable* publishable, gboolean suppress_titling, const gchar* resource_privacy) {
PublishingFacebookGraphSessionGraphUploadMessage* self = NULL;
PublishingFacebookEndpoint _tmp0_ = 0;
- SpitPublishingPublishable* _tmp1_ = NULL;
- SpitPublishingPublisherMediaType _tmp2_ = 0;
- PublishingFacebookGraphSession* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- const gchar* _tmp5_ = NULL;
+ SpitPublishingPublishable* _tmp1_;
+ SpitPublishingPublisherMediaType _tmp2_;
+ PublishingFacebookGraphSession* _tmp3_;
+ const gchar* _tmp4_;
+ const gchar* _tmp5_;
gboolean _tmp6_ = FALSE;
- SpitPublishingPublishable* _tmp7_ = NULL;
- SpitPublishingPublisherMediaType _tmp8_ = 0;
- SpitPublishingPublishable* _tmp10_ = NULL;
- SpitPublishingPublishable* _tmp11_ = NULL;
- PublishingRESTSupportHttpMethod _tmp21_ = 0;
- gchar* _tmp22_ = NULL;
- gchar* _tmp23_ = NULL;
- const gchar* _tmp24_ = NULL;
- SoupURI* _tmp25_ = NULL;
- SoupURI* _tmp26_ = NULL;
- SoupMessage* _tmp27_ = NULL;
- SoupMessage* _tmp28_ = NULL;
+ SpitPublishingPublishable* _tmp7_;
+ SpitPublishingPublisherMediaType _tmp8_;
+ SpitPublishingPublishable* _tmp10_;
+ SpitPublishingPublishable* _tmp11_;
+ PublishingRESTSupportHttpMethod _tmp21_;
+ gchar* _tmp22_;
+ gchar* _tmp23_;
+ const gchar* _tmp24_;
+ SoupURI* _tmp25_;
+ SoupURI* _tmp26_;
+ SoupMessage* _tmp27_;
+ SoupMessage* _tmp28_;
guint8* payload = NULL;
- GMappedFile* _tmp29_ = NULL;
- gchar* _tmp30_ = NULL;
- gint payload_length1 = 0;
- gint _payload_size_ = 0;
- GMappedFile* _tmp31_ = NULL;
- gsize _tmp32_ = 0UL;
- gint _tmp33_ = 0;
+ GMappedFile* _tmp29_;
+ gchar* _tmp30_;
+ gint payload_length1;
+ gint _payload_size_;
+ GMappedFile* _tmp31_;
+ gsize _tmp32_;
+ gint _tmp33_;
SoupBuffer* image_data = NULL;
- guint8* _tmp34_ = NULL;
- gint _tmp34__length1 = 0;
- SoupBuffer* _tmp35_ = NULL;
+ guint8* _tmp34_;
+ gint _tmp34__length1;
+ SoupBuffer* _tmp35_;
SoupMultipart* mp_envelope = NULL;
- SoupMultipart* _tmp36_ = NULL;
- SoupMultipart* _tmp37_ = NULL;
- const gchar* _tmp38_ = NULL;
- SpitPublishingPublishable* _tmp39_ = NULL;
- SpitPublishingPublisherMediaType _tmp40_ = 0;
+ SoupMultipart* _tmp36_;
+ SoupMultipart* _tmp37_;
+ const gchar* _tmp38_;
+ SpitPublishingPublishable* _tmp39_;
+ SpitPublishingPublisherMediaType _tmp40_;
gchar* publishable_title = NULL;
- SpitPublishingPublishable* _tmp43_ = NULL;
- gchar* _tmp44_ = NULL;
+ SpitPublishingPublishable* _tmp43_;
+ gchar* _tmp44_;
gboolean _tmp45_ = FALSE;
- gboolean _tmp46_ = FALSE;
+ gboolean _tmp46_;
gchar* publishable_comment = NULL;
- SpitPublishingPublishable* _tmp50_ = NULL;
- gchar* _tmp51_ = NULL;
+ SpitPublishingPublishable* _tmp50_;
+ gchar* _tmp51_;
gboolean _tmp52_ = FALSE;
- gboolean _tmp53_ = FALSE;
- gboolean _tmp57_ = FALSE;
+ gboolean _tmp53_;
+ gboolean _tmp57_;
const gchar* _tmp64_ = NULL;
- SpitPublishingPublishable* _tmp65_ = NULL;
- SpitPublishingPublisherMediaType _tmp66_ = 0;
+ SpitPublishingPublishable* _tmp65_;
+ SpitPublishingPublisherMediaType _tmp66_;
gchar* source_file_mime_type = NULL;
- gchar* _tmp67_ = NULL;
- SoupMultipart* _tmp68_ = NULL;
- SpitPublishingPublishable* _tmp69_ = NULL;
- GFile* _tmp70_ = NULL;
- GFile* _tmp71_ = NULL;
- gchar* _tmp72_ = NULL;
- gchar* _tmp73_ = NULL;
- const gchar* _tmp74_ = NULL;
- SoupBuffer* _tmp75_ = NULL;
- SoupMultipart* _tmp76_ = NULL;
- SoupMessage* _tmp77_ = NULL;
- SoupMessageHeaders* _tmp78_ = NULL;
- SoupMessage* _tmp79_ = NULL;
- SoupMessageBody* _tmp80_ = NULL;
+ gchar* _tmp67_;
+ SoupMultipart* _tmp68_;
+ SpitPublishingPublishable* _tmp69_;
+ GFile* _tmp70_;
+ GFile* _tmp71_;
+ gchar* _tmp72_;
+ gchar* _tmp73_;
+ const gchar* _tmp74_;
+ SoupBuffer* _tmp75_;
+ SoupMultipart* _tmp76_;
+ SoupMessage* _tmp77_;
+ SoupMessageHeaders* _tmp78_;
+ SoupMessage* _tmp79_;
+ SoupMessageBody* _tmp80_;
GError * _inner_error_ = NULL;
#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (host_session), NULL);
@@ -7978,11 +7972,11 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
if (_tmp2_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
#line 1070 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = PUBLISHING_FACEBOOK_ENDPOINT_VIDEO;
-#line 7962 "FacebookPublishing.c"
+#line 7956 "FacebookPublishing.c"
} else {
#line 1070 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = PUBLISHING_FACEBOOK_ENDPOINT_DEFAULT;
-#line 7966 "FacebookPublishing.c"
+#line 7960 "FacebookPublishing.c"
}
#line 1068 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp3_ = host_session;
@@ -8000,14 +7994,14 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
if (_tmp8_ != SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp6_ = TRUE;
-#line 7984 "FacebookPublishing.c"
+#line 7978 "FacebookPublishing.c"
} else {
- const gchar* _tmp9_ = NULL;
+ const gchar* _tmp9_;
#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp9_ = resource_privacy;
#line 1076 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp6_ = _tmp9_ != NULL;
-#line 7991 "FacebookPublishing.c"
+#line 7985 "FacebookPublishing.c"
}
#line 1075 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_vala_assert (_tmp6_, "publishable.get_media_type() != Spit.Publishing.Publisher.MediaType.VIDEO || resource_privacy != null");
@@ -8019,17 +8013,17 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
_g_object_unref0 (self->priv->publishable);
#line 1078 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->publishable = _tmp11_;
-#line 8003 "FacebookPublishing.c"
+#line 7997 "FacebookPublishing.c"
{
GMappedFile* _tmp12_ = NULL;
- SpitPublishingPublishable* _tmp13_ = NULL;
- GFile* _tmp14_ = NULL;
- GFile* _tmp15_ = NULL;
- gchar* _tmp16_ = NULL;
- gchar* _tmp17_ = NULL;
- GMappedFile* _tmp18_ = NULL;
- GMappedFile* _tmp19_ = NULL;
- GMappedFile* _tmp20_ = NULL;
+ SpitPublishingPublishable* _tmp13_;
+ GFile* _tmp14_;
+ GFile* _tmp15_;
+ gchar* _tmp16_;
+ gchar* _tmp17_;
+ GMappedFile* _tmp18_;
+ GMappedFile* _tmp19_;
+ GMappedFile* _tmp20_;
#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp13_ = publishable;
#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8054,7 +8048,7 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_inner_error_->domain == G_FILE_ERROR) {
-#line 8038 "FacebookPublishing.c"
+#line 8032 "FacebookPublishing.c"
goto __catch5_g_file_error;
}
#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8063,7 +8057,7 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
g_clear_error (&_inner_error_);
#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 8047 "FacebookPublishing.c"
+#line 8041 "FacebookPublishing.c"
}
#line 1082 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp20_ = _tmp12_;
@@ -8075,7 +8069,7 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
self->priv->mapped_file = _tmp20_;
#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_mapped_file_unref0 (_tmp12_);
-#line 8059 "FacebookPublishing.c"
+#line 8053 "FacebookPublishing.c"
}
goto __finally5;
__catch5_g_file_error:
@@ -8089,7 +8083,7 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
_g_error_free0 (e);
#line 1085 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 8073 "FacebookPublishing.c"
+#line 8067 "FacebookPublishing.c"
}
__finally5:
#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8100,7 +8094,7 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
g_clear_error (&_inner_error_);
#line 1081 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 8084 "FacebookPublishing.c"
+#line 8078 "FacebookPublishing.c"
}
#line 1088 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp21_ = G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_MESSAGE_IMPL, PublishingFacebookGraphSessionGraphMessageImpl)->method;
@@ -8135,7 +8129,7 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
payload = (guint8*) _tmp30_;
#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- payload_length1 = -1;
+ payload_length1 = sizeof (gchar) / sizeof (guint8);
#line 1091 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_payload_size_ = payload_length1;
#line 1092 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8170,16 +8164,16 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
_tmp40_ = spit_publishing_publishable_get_media_type (_tmp39_);
#line 1100 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp40_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
-#line 8154 "FacebookPublishing.c"
- SoupMultipart* _tmp41_ = NULL;
- const gchar* _tmp42_ = NULL;
+#line 8148 "FacebookPublishing.c"
+ SoupMultipart* _tmp41_;
+ const gchar* _tmp42_;
#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp41_ = mp_envelope;
#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp42_ = resource_privacy;
#line 1101 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
soup_multipart_append_form_string (_tmp41_, "privacy", _tmp42_);
-#line 8163 "FacebookPublishing.c"
+#line 8157 "FacebookPublishing.c"
}
#line 1104 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp43_ = publishable;
@@ -8191,30 +8185,30 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
_tmp46_ = suppress_titling;
#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!_tmp46_) {
-#line 8175 "FacebookPublishing.c"
- const gchar* _tmp47_ = NULL;
+#line 8169 "FacebookPublishing.c"
+ const gchar* _tmp47_;
#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp47_ = publishable_title;
#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp45_ = _tmp47_ != NULL;
-#line 8181 "FacebookPublishing.c"
+#line 8175 "FacebookPublishing.c"
} else {
#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp45_ = FALSE;
-#line 8185 "FacebookPublishing.c"
+#line 8179 "FacebookPublishing.c"
}
#line 1105 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp45_) {
-#line 8189 "FacebookPublishing.c"
- SoupMultipart* _tmp48_ = NULL;
- const gchar* _tmp49_ = NULL;
+#line 8183 "FacebookPublishing.c"
+ SoupMultipart* _tmp48_;
+ const gchar* _tmp49_;
#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp48_ = mp_envelope;
#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp49_ = publishable_title;
#line 1106 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
soup_multipart_append_form_string (_tmp48_, "name", _tmp49_);
-#line 8198 "FacebookPublishing.c"
+#line 8192 "FacebookPublishing.c"
}
#line 1109 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp50_ = publishable;
@@ -8226,42 +8220,42 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
_tmp53_ = suppress_titling;
#line 1110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!_tmp53_) {
-#line 8210 "FacebookPublishing.c"
- const gchar* _tmp54_ = NULL;
+#line 8204 "FacebookPublishing.c"
+ const gchar* _tmp54_;
#line 1110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp54_ = publishable_comment;
#line 1110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp52_ = _tmp54_ != NULL;
-#line 8216 "FacebookPublishing.c"
+#line 8210 "FacebookPublishing.c"
} else {
#line 1110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp52_ = FALSE;
-#line 8220 "FacebookPublishing.c"
+#line 8214 "FacebookPublishing.c"
}
#line 1110 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp52_) {
-#line 8224 "FacebookPublishing.c"
- SoupMultipart* _tmp55_ = NULL;
- const gchar* _tmp56_ = NULL;
+#line 8218 "FacebookPublishing.c"
+ SoupMultipart* _tmp55_;
+ const gchar* _tmp56_;
#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp55_ = mp_envelope;
#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp56_ = publishable_comment;
#line 1111 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
soup_multipart_append_form_string (_tmp55_, "message", _tmp56_);
-#line 8233 "FacebookPublishing.c"
+#line 8227 "FacebookPublishing.c"
}
#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp57_ = suppress_titling;
#line 1114 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!_tmp57_) {
-#line 8239 "FacebookPublishing.c"
- SoupMultipart* _tmp58_ = NULL;
- SpitPublishingPublishable* _tmp59_ = NULL;
- GDateTime* _tmp60_ = NULL;
- GDateTime* _tmp61_ = NULL;
- gchar* _tmp62_ = NULL;
- gchar* _tmp63_ = NULL;
+#line 8233 "FacebookPublishing.c"
+ SoupMultipart* _tmp58_;
+ SpitPublishingPublishable* _tmp59_;
+ GDateTime* _tmp60_;
+ GDateTime* _tmp61_;
+ gchar* _tmp62_;
+ gchar* _tmp63_;
#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp58_ = mp_envelope;
#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8280,7 +8274,7 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
_g_free0 (_tmp63_);
#line 1115 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_date_time_unref0 (_tmp61_);
-#line 8264 "FacebookPublishing.c"
+#line 8258 "FacebookPublishing.c"
}
#line 1118 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp65_ = publishable;
@@ -8290,11 +8284,11 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
if (_tmp66_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
#line 1119 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp64_ = "video";
-#line 8274 "FacebookPublishing.c"
+#line 8268 "FacebookPublishing.c"
} else {
#line 1119 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp64_ = "image/jpeg";
-#line 8278 "FacebookPublishing.c"
+#line 8272 "FacebookPublishing.c"
}
#line 1117 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp67_ = g_strdup (_tmp64_);
@@ -8346,37 +8340,37 @@ static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_gra
__vala_SoupBuffer_free0 (image_data);
#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 8330 "FacebookPublishing.c"
+#line 8324 "FacebookPublishing.c"
}
static PublishingFacebookGraphSessionGraphUploadMessage* publishing_facebook_graph_session_graph_upload_message_new (PublishingFacebookGraphSession* host_session, const gchar* access_token, const gchar* relative_uri, SpitPublishingPublishable* publishable, gboolean suppress_titling, const gchar* resource_privacy) {
#line 1065 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_graph_session_graph_upload_message_construct (PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_UPLOAD_MESSAGE, host_session, access_token, relative_uri, publishable, suppress_titling, resource_privacy);
-#line 8337 "FacebookPublishing.c"
+#line 8331 "FacebookPublishing.c"
}
static gboolean publishing_facebook_graph_session_graph_upload_message_real_prepare_for_transmission (PublishingFacebookGraphSessionGraphMessageImpl* base) {
PublishingFacebookGraphSessionGraphUploadMessage * self;
gboolean result = FALSE;
- GMappedFile* _tmp0_ = NULL;
+ GMappedFile* _tmp0_;
#line 1126 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_UPLOAD_MESSAGE, PublishingFacebookGraphSessionGraphUploadMessage);
#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = self->priv->mapped_file;
#line 1127 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp0_ == NULL) {
-#line 8351 "FacebookPublishing.c"
- SpitPublishingPublishable* _tmp1_ = NULL;
- GFile* _tmp2_ = NULL;
- GFile* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- GError* _tmp8_ = NULL;
- GError* _tmp9_ = NULL;
+#line 8345 "FacebookPublishing.c"
+ SpitPublishingPublishable* _tmp1_;
+ GFile* _tmp2_;
+ GFile* _tmp3_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
+ gchar* _tmp7_;
+ GError* _tmp8_;
+ GError* _tmp9_;
#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp1_ = self->priv->publishable;
#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8396,7 +8390,7 @@ static gboolean publishing_facebook_graph_session_graph_upload_message_real_prep
#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp9_ = _tmp8_;
#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), "failed", _tmp9_);
+ g_signal_emit (G_TYPE_CHECK_INSTANCE_CAST (self, PUBLISHING_FACEBOOK_TYPE_GRAPH_MESSAGE, PublishingFacebookGraphMessage), publishing_facebook_graph_message_signals[PUBLISHING_FACEBOOK_GRAPH_MESSAGE_FAILED_SIGNAL], 0, _tmp9_);
#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_error_free0 (_tmp9_);
#line 1128 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8409,13 +8403,13 @@ static gboolean publishing_facebook_graph_session_graph_upload_message_real_prep
result = FALSE;
#line 1130 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 8393 "FacebookPublishing.c"
+#line 8387 "FacebookPublishing.c"
} else {
#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
result = TRUE;
#line 1132 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 8399 "FacebookPublishing.c"
+#line 8393 "FacebookPublishing.c"
}
}
@@ -8428,8 +8422,8 @@ static void publishing_facebook_graph_session_graph_upload_message_class_init (P
#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingFacebookGraphSessionGraphUploadMessagePrivate));
#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- ((PublishingFacebookGraphSessionGraphMessageImplClass *) klass)->prepare_for_transmission = (gboolean (*)(PublishingFacebookGraphSessionGraphMessageImpl*)) publishing_facebook_graph_session_graph_upload_message_real_prepare_for_transmission;
-#line 8413 "FacebookPublishing.c"
+ ((PublishingFacebookGraphSessionGraphMessageImplClass *) klass)->prepare_for_transmission = (gboolean (*) (PublishingFacebookGraphSessionGraphMessageImpl *)) publishing_facebook_graph_session_graph_upload_message_real_prepare_for_transmission;
+#line 8407 "FacebookPublishing.c"
}
@@ -8438,11 +8432,11 @@ static void publishing_facebook_graph_session_graph_upload_message_instance_init
self->priv = PUBLISHING_FACEBOOK_GRAPH_SESSION_GRAPH_UPLOAD_MESSAGE_GET_PRIVATE (self);
#line 1062 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->mapped_file = NULL;
-#line 8422 "FacebookPublishing.c"
+#line 8416 "FacebookPublishing.c"
}
-static void publishing_facebook_graph_session_graph_upload_message_finalize (PublishingFacebookGraphMessage* obj) {
+static void publishing_facebook_graph_session_graph_upload_message_finalize (PublishingFacebookGraphMessage * obj) {
PublishingFacebookGraphSessionGraphUploadMessage * self;
#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_UPLOAD_MESSAGE, PublishingFacebookGraphSessionGraphUploadMessage);
@@ -8452,7 +8446,7 @@ static void publishing_facebook_graph_session_graph_upload_message_finalize (Pub
_g_object_unref0 (self->priv->publishable);
#line 1061 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
PUBLISHING_FACEBOOK_GRAPH_MESSAGE_CLASS (publishing_facebook_graph_session_graph_upload_message_parent_class)->finalize (obj);
-#line 8436 "FacebookPublishing.c"
+#line 8430 "FacebookPublishing.c"
}
@@ -8470,26 +8464,26 @@ static GType publishing_facebook_graph_session_graph_upload_message_get_type (vo
static PublishingFacebookGraphSessionGraphCreateAlbumMessage* publishing_facebook_graph_session_graph_create_album_message_construct (GType object_type, PublishingFacebookGraphSession* host_session, const gchar* access_token, const gchar* album_name, const gchar* album_privacy) {
PublishingFacebookGraphSessionGraphCreateAlbumMessage* self = NULL;
- PublishingFacebookGraphSession* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
+ PublishingFacebookGraphSession* _tmp0_;
+ const gchar* _tmp1_;
gboolean _tmp2_ = FALSE;
- const gchar* _tmp3_ = NULL;
- PublishingRESTSupportHttpMethod _tmp5_ = 0;
- gchar* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- const gchar* _tmp8_ = NULL;
- SoupURI* _tmp9_ = NULL;
- SoupURI* _tmp10_ = NULL;
- SoupMessage* _tmp11_ = NULL;
+ const gchar* _tmp3_;
+ PublishingRESTSupportHttpMethod _tmp5_;
+ gchar* _tmp6_;
+ gchar* _tmp7_;
+ const gchar* _tmp8_;
+ SoupURI* _tmp9_;
+ SoupURI* _tmp10_;
+ SoupMessage* _tmp11_;
SoupMultipart* mp_envelope = NULL;
- SoupMultipart* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
- const gchar* _tmp14_ = NULL;
- const gchar* _tmp15_ = NULL;
- SoupMessage* _tmp16_ = NULL;
- SoupMessageHeaders* _tmp17_ = NULL;
- SoupMessage* _tmp18_ = NULL;
- SoupMessageBody* _tmp19_ = NULL;
+ SoupMultipart* _tmp12_;
+ const gchar* _tmp13_;
+ const gchar* _tmp14_;
+ const gchar* _tmp15_;
+ SoupMessage* _tmp16_;
+ SoupMessageHeaders* _tmp17_;
+ SoupMessage* _tmp18_;
+ SoupMessageBody* _tmp19_;
#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (host_session), NULL);
#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8508,17 +8502,17 @@ static PublishingFacebookGraphSessionGraphCreateAlbumMessage* publishing_faceboo
_tmp3_ = album_privacy;
#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp3_ != NULL) {
-#line 8492 "FacebookPublishing.c"
- const gchar* _tmp4_ = NULL;
+#line 8486 "FacebookPublishing.c"
+ const gchar* _tmp4_;
#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp4_ = album_privacy;
#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = g_strcmp0 (_tmp4_, "") != 0;
-#line 8498 "FacebookPublishing.c"
+#line 8492 "FacebookPublishing.c"
} else {
#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp2_ = FALSE;
-#line 8502 "FacebookPublishing.c"
+#line 8496 "FacebookPublishing.c"
}
#line 1142 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_vala_assert (_tmp2_, "album_privacy != null && album_privacy != \"\"");
@@ -8574,21 +8568,21 @@ static PublishingFacebookGraphSessionGraphCreateAlbumMessage* publishing_faceboo
__vala_SoupMultipart_free0 (mp_envelope);
#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 8558 "FacebookPublishing.c"
+#line 8552 "FacebookPublishing.c"
}
static PublishingFacebookGraphSessionGraphCreateAlbumMessage* publishing_facebook_graph_session_graph_create_album_message_new (PublishingFacebookGraphSession* host_session, const gchar* access_token, const gchar* album_name, const gchar* album_privacy) {
#line 1138 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_graph_session_graph_create_album_message_construct (PUBLISHING_FACEBOOK_GRAPH_SESSION_TYPE_GRAPH_CREATE_ALBUM_MESSAGE, host_session, access_token, album_name, album_privacy);
-#line 8565 "FacebookPublishing.c"
+#line 8559 "FacebookPublishing.c"
}
static void publishing_facebook_graph_session_graph_create_album_message_class_init (PublishingFacebookGraphSessionGraphCreateAlbumMessageClass * klass) {
#line 1137 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_session_graph_create_album_message_parent_class = g_type_class_peek_parent (klass);
-#line 8572 "FacebookPublishing.c"
+#line 8566 "FacebookPublishing.c"
}
@@ -8611,7 +8605,7 @@ static GType publishing_facebook_graph_session_graph_create_album_message_get_ty
static void publishing_facebook_value_graph_session_init (GValue* value) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 8595 "FacebookPublishing.c"
+#line 8589 "FacebookPublishing.c"
}
@@ -8620,7 +8614,7 @@ static void publishing_facebook_value_graph_session_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_session_unref (value->data[0].v_pointer);
-#line 8604 "FacebookPublishing.c"
+#line 8598 "FacebookPublishing.c"
}
}
@@ -8630,11 +8624,11 @@ static void publishing_facebook_value_graph_session_copy_value (const GValue* sr
if (src_value->data[0].v_pointer) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = publishing_facebook_graph_session_ref (src_value->data[0].v_pointer);
-#line 8614 "FacebookPublishing.c"
+#line 8608 "FacebookPublishing.c"
} else {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 8618 "FacebookPublishing.c"
+#line 8612 "FacebookPublishing.c"
}
}
@@ -8642,66 +8636,66 @@ static void publishing_facebook_value_graph_session_copy_value (const GValue* sr
static gpointer publishing_facebook_value_graph_session_peek_pointer (const GValue* value) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 8626 "FacebookPublishing.c"
+#line 8620 "FacebookPublishing.c"
}
static gchar* publishing_facebook_value_graph_session_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 8633 "FacebookPublishing.c"
- PublishingFacebookGraphSession* object;
+#line 8627 "FacebookPublishing.c"
+ PublishingFacebookGraphSession * object;
object = collect_values[0].v_pointer;
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 8640 "FacebookPublishing.c"
+#line 8634 "FacebookPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.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 8644 "FacebookPublishing.c"
+#line 8638 "FacebookPublishing.c"
}
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = publishing_facebook_graph_session_ref (object);
-#line 8648 "FacebookPublishing.c"
+#line 8642 "FacebookPublishing.c"
} else {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 8652 "FacebookPublishing.c"
+#line 8646 "FacebookPublishing.c"
}
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 8656 "FacebookPublishing.c"
+#line 8650 "FacebookPublishing.c"
}
static gchar* publishing_facebook_value_graph_session_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PublishingFacebookGraphSession** object_p;
+ PublishingFacebookGraphSession ** object_p;
object_p = collect_values[0].v_pointer;
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!object_p) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 8667 "FacebookPublishing.c"
+#line 8661 "FacebookPublishing.c"
}
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!value->data[0].v_pointer) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = NULL;
-#line 8673 "FacebookPublishing.c"
+#line 8667 "FacebookPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 8677 "FacebookPublishing.c"
+#line 8671 "FacebookPublishing.c"
} else {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = publishing_facebook_graph_session_ref (value->data[0].v_pointer);
-#line 8681 "FacebookPublishing.c"
+#line 8675 "FacebookPublishing.c"
}
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 8685 "FacebookPublishing.c"
+#line 8679 "FacebookPublishing.c"
}
@@ -8715,7 +8709,7 @@ GParamSpec* publishing_facebook_param_spec_graph_session (const gchar* name, con
G_PARAM_SPEC (spec)->value_type = object_type;
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 8699 "FacebookPublishing.c"
+#line 8693 "FacebookPublishing.c"
}
@@ -8724,12 +8718,12 @@ gpointer publishing_facebook_value_get_graph_session (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION), NULL);
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 8708 "FacebookPublishing.c"
+#line 8702 "FacebookPublishing.c"
}
void publishing_facebook_value_set_graph_session (GValue* value, gpointer v_object) {
- PublishingFacebookGraphSession* old;
+ PublishingFacebookGraphSession * old;
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION));
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8744,23 +8738,23 @@ void publishing_facebook_value_set_graph_session (GValue* value, gpointer v_obje
value->data[0].v_pointer = v_object;
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_session_ref (value->data[0].v_pointer);
-#line 8728 "FacebookPublishing.c"
+#line 8722 "FacebookPublishing.c"
} else {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 8732 "FacebookPublishing.c"
+#line 8726 "FacebookPublishing.c"
}
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_session_unref (old);
-#line 8738 "FacebookPublishing.c"
+#line 8732 "FacebookPublishing.c"
}
}
void publishing_facebook_value_take_graph_session (GValue* value, gpointer v_object) {
- PublishingFacebookGraphSession* old;
+ PublishingFacebookGraphSession * old;
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION));
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8773,17 +8767,17 @@ void publishing_facebook_value_take_graph_session (GValue* value, gpointer v_obj
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 8757 "FacebookPublishing.c"
+#line 8751 "FacebookPublishing.c"
} else {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 8761 "FacebookPublishing.c"
+#line 8755 "FacebookPublishing.c"
}
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_graph_session_unref (old);
-#line 8767 "FacebookPublishing.c"
+#line 8761 "FacebookPublishing.c"
}
}
@@ -8796,8 +8790,8 @@ static void publishing_facebook_graph_session_class_init (PublishingFacebookGrap
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingFacebookGraphSessionPrivate));
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_new ("authenticated", PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 8781 "FacebookPublishing.c"
+ publishing_facebook_graph_session_signals[PUBLISHING_FACEBOOK_GRAPH_SESSION_AUTHENTICATED_SIGNAL] = g_signal_new ("authenticated", PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
+#line 8775 "FacebookPublishing.c"
}
@@ -8806,14 +8800,14 @@ static void publishing_facebook_graph_session_instance_init (PublishingFacebookG
self->priv = PUBLISHING_FACEBOOK_GRAPH_SESSION_GET_PRIVATE (self);
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->ref_count = 1;
-#line 8790 "FacebookPublishing.c"
+#line 8784 "FacebookPublishing.c"
}
-static void publishing_facebook_graph_session_finalize (PublishingFacebookGraphSession* obj) {
+static void publishing_facebook_graph_session_finalize (PublishingFacebookGraphSession * obj) {
PublishingFacebookGraphSession * self;
- SoupSession* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
+ SoupSession* _tmp0_;
+ guint _tmp1_;
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_GRAPH_SESSION, PublishingFacebookGraphSession);
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8830,7 +8824,7 @@ static void publishing_facebook_graph_session_finalize (PublishingFacebookGraphS
_g_free0 (self->priv->access_token);
#line 1160 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_publishing_facebook_graph_message_unref0 (self->priv->current_message);
-#line 8814 "FacebookPublishing.c"
+#line 8808 "FacebookPublishing.c"
}
@@ -8849,18 +8843,18 @@ GType publishing_facebook_graph_session_get_type (void) {
gpointer publishing_facebook_graph_session_ref (gpointer instance) {
- PublishingFacebookGraphSession* self;
+ PublishingFacebookGraphSession * self;
self = instance;
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_atomic_int_inc (&self->ref_count);
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return instance;
-#line 8839 "FacebookPublishing.c"
+#line 8833 "FacebookPublishing.c"
}
void publishing_facebook_graph_session_unref (gpointer instance) {
- PublishingFacebookGraphSession* self;
+ PublishingFacebookGraphSession * self;
self = instance;
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -8868,7 +8862,7 @@ void publishing_facebook_graph_session_unref (gpointer instance) {
PUBLISHING_FACEBOOK_GRAPH_SESSION_GET_CLASS (self)->finalize (self);
#line 996 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 8852 "FacebookPublishing.c"
+#line 8846 "FacebookPublishing.c"
}
}
@@ -8880,44 +8874,44 @@ static SpitPublishingPublishable** _vala_array_dup3 (SpitPublishingPublishable**
result = g_new0 (SpitPublishingPublishable*, length + 1);
#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
for (i = 0; i < length; i++) {
-#line 8864 "FacebookPublishing.c"
- SpitPublishingPublishable* _tmp0_ = NULL;
+#line 8858 "FacebookPublishing.c"
+ SpitPublishingPublishable* _tmp0_;
#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp0_ = _g_object_ref0 (self[i]);
#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
result[i] = _tmp0_;
-#line 8870 "FacebookPublishing.c"
+#line 8864 "FacebookPublishing.c"
}
#line 1316 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return result;
-#line 8874 "FacebookPublishing.c"
+#line 8868 "FacebookPublishing.c"
}
static gpointer _publishing_facebook_graph_session_ref0 (gpointer self) {
#line 1317 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self ? publishing_facebook_graph_session_ref (self) : NULL;
-#line 8881 "FacebookPublishing.c"
+#line 8875 "FacebookPublishing.c"
}
static gpointer _publishing_facebook_publishing_parameters_ref0 (gpointer self) {
#line 1318 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self ? publishing_facebook_publishing_parameters_ref (self) : NULL;
-#line 8888 "FacebookPublishing.c"
+#line 8882 "FacebookPublishing.c"
}
PublishingFacebookUploader* publishing_facebook_uploader_construct (GType object_type, PublishingFacebookGraphSession* session, PublishingFacebookPublishingParameters* publishing_params, SpitPublishingPublishable** publishables, int publishables_length1) {
PublishingFacebookUploader* self = NULL;
- SpitPublishingPublishable** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
- SpitPublishingPublishable** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
- PublishingFacebookGraphSession* _tmp2_ = NULL;
- PublishingFacebookGraphSession* _tmp3_ = NULL;
- PublishingFacebookPublishingParameters* _tmp4_ = NULL;
- PublishingFacebookPublishingParameters* _tmp5_ = NULL;
+ SpitPublishingPublishable** _tmp0_;
+ gint _tmp0__length1;
+ SpitPublishingPublishable** _tmp1_;
+ gint _tmp1__length1;
+ PublishingFacebookGraphSession* _tmp2_;
+ PublishingFacebookGraphSession* _tmp3_;
+ PublishingFacebookPublishingParameters* _tmp4_;
+ PublishingFacebookPublishingParameters* _tmp5_;
#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_val_if_fail (PUBLISHING_FACEBOOK_IS_GRAPH_SESSION (session), NULL);
#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -8960,72 +8954,72 @@ PublishingFacebookUploader* publishing_facebook_uploader_construct (GType object
self->priv->publishing_params = _tmp5_;
#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return self;
-#line 8944 "FacebookPublishing.c"
+#line 8938 "FacebookPublishing.c"
}
PublishingFacebookUploader* publishing_facebook_uploader_new (PublishingFacebookGraphSession* session, PublishingFacebookPublishingParameters* publishing_params, SpitPublishingPublishable** publishables, int publishables_length1) {
#line 1313 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return publishing_facebook_uploader_construct (PUBLISHING_FACEBOOK_TYPE_UPLOADER, session, publishing_params, publishables, publishables_length1);
-#line 8951 "FacebookPublishing.c"
+#line 8945 "FacebookPublishing.c"
}
static void _publishing_facebook_uploader_on_chunk_transmitted_publishing_facebook_graph_message_data_transmitted (PublishingFacebookGraphMessage* _sender, gint bytes_sent_so_far, gint total_bytes, gpointer self) {
#line 1340 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_uploader_on_chunk_transmitted ((PublishingFacebookUploader*) self, bytes_sent_so_far, total_bytes);
-#line 8958 "FacebookPublishing.c"
+#line 8952 "FacebookPublishing.c"
}
static void _publishing_facebook_uploader_on_message_completed_publishing_facebook_graph_message_completed (PublishingFacebookGraphMessage* _sender, gpointer self) {
#line 1341 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_uploader_on_message_completed ((PublishingFacebookUploader*) self, _sender);
-#line 8965 "FacebookPublishing.c"
+#line 8959 "FacebookPublishing.c"
}
static void _publishing_facebook_uploader_on_message_failed_publishing_facebook_graph_message_failed (PublishingFacebookGraphMessage* _sender, GError* err, gpointer self) {
#line 1342 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_uploader_on_message_failed ((PublishingFacebookUploader*) self, _sender, err);
-#line 8972 "FacebookPublishing.c"
+#line 8966 "FacebookPublishing.c"
}
static void publishing_facebook_uploader_send_current_file (PublishingFacebookUploader* self) {
SpitPublishingPublishable* publishable = NULL;
- SpitPublishingPublishable** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
- gint _tmp1_ = 0;
- SpitPublishingPublishable* _tmp2_ = NULL;
- SpitPublishingPublishable* _tmp3_ = NULL;
+ SpitPublishingPublishable** _tmp0_;
+ gint _tmp0__length1;
+ gint _tmp1_;
+ SpitPublishingPublishable* _tmp2_;
+ SpitPublishingPublishable* _tmp3_;
GFile* file = NULL;
- SpitPublishingPublishable* _tmp4_ = NULL;
- GFile* _tmp5_ = NULL;
- GFile* _tmp6_ = NULL;
+ SpitPublishingPublishable* _tmp4_;
+ GFile* _tmp5_;
+ GFile* _tmp6_;
gchar* _tmp8_ = NULL;
- SpitPublishingPublishable* _tmp9_ = NULL;
- SpitPublishingPublisherMediaType _tmp10_ = 0;
+ SpitPublishingPublishable* _tmp9_;
+ SpitPublishingPublisherMediaType _tmp10_;
gchar* resource_uri = NULL;
- gchar* _tmp16_ = NULL;
+ gchar* _tmp16_;
const gchar* _tmp17_ = NULL;
- SpitPublishingPublishable* _tmp18_ = NULL;
- SpitPublishingPublisherMediaType _tmp19_ = 0;
+ SpitPublishingPublishable* _tmp18_;
+ SpitPublishingPublisherMediaType _tmp19_;
gchar* resource_privacy = NULL;
- gchar* _tmp22_ = NULL;
+ gchar* _tmp22_;
PublishingFacebookGraphMessage* upload_message = NULL;
- PublishingFacebookGraphSession* _tmp23_ = NULL;
- const gchar* _tmp24_ = NULL;
- SpitPublishingPublishable* _tmp25_ = NULL;
- PublishingFacebookPublishingParameters* _tmp26_ = NULL;
- gboolean _tmp27_ = FALSE;
- const gchar* _tmp28_ = NULL;
- PublishingFacebookGraphMessage* _tmp29_ = NULL;
- PublishingFacebookGraphMessage* _tmp30_ = NULL;
- PublishingFacebookGraphMessage* _tmp31_ = NULL;
- PublishingFacebookGraphMessage* _tmp32_ = NULL;
- PublishingFacebookGraphSession* _tmp33_ = NULL;
- PublishingFacebookGraphMessage* _tmp34_ = NULL;
+ PublishingFacebookGraphSession* _tmp23_;
+ const gchar* _tmp24_;
+ SpitPublishingPublishable* _tmp25_;
+ PublishingFacebookPublishingParameters* _tmp26_;
+ gboolean _tmp27_;
+ const gchar* _tmp28_;
+ PublishingFacebookGraphMessage* _tmp29_;
+ PublishingFacebookGraphMessage* _tmp30_;
+ PublishingFacebookGraphMessage* _tmp31_;
+ PublishingFacebookGraphMessage* _tmp32_;
+ PublishingFacebookGraphSession* _tmp33_;
+ PublishingFacebookGraphMessage* _tmp34_;
#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self));
#line 1322 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -9050,8 +9044,8 @@ static void publishing_facebook_uploader_send_current_file (PublishingFacebookUp
_tmp6_ = file;
#line 1326 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp6_ == NULL) {
-#line 9034 "FacebookPublishing.c"
- gint _tmp7_ = 0;
+#line 9028 "FacebookPublishing.c"
+ gint _tmp7_;
#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp7_ = self->priv->current_file;
#line 1327 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -9062,7 +9056,7 @@ static void publishing_facebook_uploader_send_current_file (PublishingFacebookUp
_g_object_unref0 (publishable);
#line 1328 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return;
-#line 9046 "FacebookPublishing.c"
+#line 9040 "FacebookPublishing.c"
}
#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp9_ = publishable;
@@ -9070,11 +9064,11 @@ static void publishing_facebook_uploader_send_current_file (PublishingFacebookUp
_tmp10_ = spit_publishing_publishable_get_media_type (_tmp9_);
#line 1332 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp10_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO) {
-#line 9054 "FacebookPublishing.c"
- PublishingFacebookPublishingParameters* _tmp11_ = NULL;
- gchar* _tmp12_ = NULL;
- gchar* _tmp13_ = NULL;
- gchar* _tmp14_ = NULL;
+#line 9048 "FacebookPublishing.c"
+ PublishingFacebookPublishingParameters* _tmp11_;
+ gchar* _tmp12_;
+ gchar* _tmp13_;
+ gchar* _tmp14_;
#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp11_ = self->priv->publishing_params;
#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -9089,16 +9083,16 @@ static void publishing_facebook_uploader_send_current_file (PublishingFacebookUp
_tmp8_ = _tmp14_;
#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp13_);
-#line 9073 "FacebookPublishing.c"
+#line 9067 "FacebookPublishing.c"
} else {
- gchar* _tmp15_ = NULL;
+ gchar* _tmp15_;
#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp15_ = g_strdup ("/me/videos");
#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_free0 (_tmp8_);
#line 1333 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp8_ = _tmp15_;
-#line 9082 "FacebookPublishing.c"
+#line 9076 "FacebookPublishing.c"
}
#line 1331 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp16_ = g_strdup (_tmp8_);
@@ -9110,20 +9104,20 @@ static void publishing_facebook_uploader_send_current_file (PublishingFacebookUp
_tmp19_ = spit_publishing_publishable_get_media_type (_tmp18_);
#line 1335 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp19_ == SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO) {
-#line 9094 "FacebookPublishing.c"
- PublishingFacebookPublishingParameters* _tmp20_ = NULL;
- const gchar* _tmp21_ = NULL;
+#line 9088 "FacebookPublishing.c"
+ PublishingFacebookPublishingParameters* _tmp20_;
+ const gchar* _tmp21_;
#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp20_ = self->priv->publishing_params;
#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp21_ = _tmp20_->privacy_object;
#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp17_ = _tmp21_;
-#line 9103 "FacebookPublishing.c"
+#line 9097 "FacebookPublishing.c"
} else {
#line 1336 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp17_ = NULL;
-#line 9107 "FacebookPublishing.c"
+#line 9101 "FacebookPublishing.c"
}
#line 1334 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp22_ = g_strdup (_tmp17_);
@@ -9175,7 +9169,7 @@ static void publishing_facebook_uploader_send_current_file (PublishingFacebookUp
_g_object_unref0 (file);
#line 1321 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_g_object_unref0 (publishable);
-#line 9159 "FacebookPublishing.c"
+#line 9153 "FacebookPublishing.c"
}
@@ -9186,24 +9180,24 @@ static void publishing_facebook_uploader_send_files (PublishingFacebookUploader*
self->priv->current_file = 0;
#line 1349 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_uploader_send_current_file (self);
-#line 9170 "FacebookPublishing.c"
+#line 9164 "FacebookPublishing.c"
}
static void publishing_facebook_uploader_on_chunk_transmitted (PublishingFacebookUploader* self, gint bytes_written_so_far, gint total_bytes) {
gdouble file_span = 0.0;
- SpitPublishingPublishable** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
+ SpitPublishingPublishable** _tmp0_;
+ gint _tmp0__length1;
gdouble this_file_fraction_complete = 0.0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
+ gint _tmp1_;
+ gint _tmp2_;
gdouble fraction_complete = 0.0;
- gint _tmp3_ = 0;
- gdouble _tmp4_ = 0.0;
- gdouble _tmp5_ = 0.0;
- gdouble _tmp6_ = 0.0;
- SpitPublishingProgressCallback _tmp7_ = NULL;
- void* _tmp7__target = NULL;
+ gint _tmp3_;
+ gdouble _tmp4_;
+ gdouble _tmp5_;
+ gdouble _tmp6_;
+ SpitPublishingProgressCallback _tmp7_;
+ void* _tmp7__target;
#line 1352 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self));
#line 1353 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -9234,11 +9228,11 @@ static void publishing_facebook_uploader_on_chunk_transmitted (PublishingFaceboo
_tmp7__target = self->priv->status_updated_target;
#line 1358 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (_tmp7_ != NULL) {
-#line 9218 "FacebookPublishing.c"
- SpitPublishingProgressCallback _tmp8_ = NULL;
- void* _tmp8__target = NULL;
- gint _tmp9_ = 0;
- gdouble _tmp10_ = 0.0;
+#line 9212 "FacebookPublishing.c"
+ SpitPublishingProgressCallback _tmp8_;
+ void* _tmp8__target;
+ gint _tmp9_;
+ gdouble _tmp10_;
#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp8_ = self->priv->status_updated;
#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -9249,22 +9243,22 @@ static void publishing_facebook_uploader_on_chunk_transmitted (PublishingFaceboo
_tmp10_ = fraction_complete;
#line 1359 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp8_ (_tmp9_ + 1, _tmp10_, _tmp8__target);
-#line 9233 "FacebookPublishing.c"
+#line 9227 "FacebookPublishing.c"
}
}
static void publishing_facebook_uploader_on_message_completed (PublishingFacebookUploader* self, PublishingFacebookGraphMessage* message) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookGraphMessage* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- PublishingFacebookGraphMessage* _tmp4_ = NULL;
- guint _tmp5_ = 0U;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- SpitPublishingPublishable** _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
+ PublishingFacebookGraphMessage* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookGraphMessage* _tmp2_;
+ guint _tmp3_;
+ PublishingFacebookGraphMessage* _tmp4_;
+ guint _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ SpitPublishingPublishable** _tmp8_;
+ gint _tmp8__length1;
#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self));
#line 1362 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -9301,26 +9295,26 @@ static void publishing_facebook_uploader_on_message_completed (PublishingFaceboo
if (_tmp7_ < _tmp8__length1) {
#line 1369 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_uploader_send_current_file (self);
-#line 9285 "FacebookPublishing.c"
+#line 9279 "FacebookPublishing.c"
} else {
- gint _tmp9_ = 0;
+ gint _tmp9_;
#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp9_ = self->priv->current_file;
#line 1371 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (self, "upload-complete", _tmp9_);
-#line 9292 "FacebookPublishing.c"
+ g_signal_emit (self, publishing_facebook_uploader_signals[PUBLISHING_FACEBOOK_UPLOADER_UPLOAD_COMPLETE_SIGNAL], 0, _tmp9_);
+#line 9286 "FacebookPublishing.c"
}
}
static void publishing_facebook_uploader_on_message_failed (PublishingFacebookUploader* self, PublishingFacebookGraphMessage* message, GError* _error_) {
- PublishingFacebookGraphMessage* _tmp0_ = NULL;
- guint _tmp1_ = 0U;
- PublishingFacebookGraphMessage* _tmp2_ = NULL;
- guint _tmp3_ = 0U;
- PublishingFacebookGraphMessage* _tmp4_ = NULL;
- guint _tmp5_ = 0U;
- GError* _tmp6_ = NULL;
+ PublishingFacebookGraphMessage* _tmp0_;
+ guint _tmp1_;
+ PublishingFacebookGraphMessage* _tmp2_;
+ guint _tmp3_;
+ PublishingFacebookGraphMessage* _tmp4_;
+ guint _tmp5_;
+ GError* _tmp6_;
#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self));
#line 1375 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -9346,16 +9340,16 @@ static void publishing_facebook_uploader_on_message_failed (PublishingFacebookUp
#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_tmp6_ = _error_;
#line 1380 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_emit_by_name (self, "upload-error", _tmp6_);
-#line 9331 "FacebookPublishing.c"
+ g_signal_emit (self, publishing_facebook_uploader_signals[PUBLISHING_FACEBOOK_UPLOADER_UPLOAD_ERROR_SIGNAL], 0, _tmp6_);
+#line 9325 "FacebookPublishing.c"
}
void publishing_facebook_uploader_upload (PublishingFacebookUploader* self, SpitPublishingProgressCallback status_updated, void* status_updated_target) {
- SpitPublishingProgressCallback _tmp0_ = NULL;
- void* _tmp0__target = NULL;
- SpitPublishingPublishable** _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
+ SpitPublishingProgressCallback _tmp0_;
+ void* _tmp0__target;
+ SpitPublishingPublishable** _tmp1_;
+ gint _tmp1__length1;
#line 1383 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (PUBLISHING_FACEBOOK_IS_UPLOADER (self));
#line 1384 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -9374,7 +9368,7 @@ void publishing_facebook_uploader_upload (PublishingFacebookUploader* self, Spit
if (_tmp1__length1 > 0) {
#line 1387 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_uploader_send_files (self);
-#line 9358 "FacebookPublishing.c"
+#line 9352 "FacebookPublishing.c"
}
}
@@ -9382,7 +9376,7 @@ void publishing_facebook_uploader_upload (PublishingFacebookUploader* self, Spit
static void publishing_facebook_value_uploader_init (GValue* value) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9366 "FacebookPublishing.c"
+#line 9360 "FacebookPublishing.c"
}
@@ -9391,7 +9385,7 @@ static void publishing_facebook_value_uploader_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_uploader_unref (value->data[0].v_pointer);
-#line 9375 "FacebookPublishing.c"
+#line 9369 "FacebookPublishing.c"
}
}
@@ -9401,11 +9395,11 @@ static void publishing_facebook_value_uploader_copy_value (const GValue* src_val
if (src_value->data[0].v_pointer) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = publishing_facebook_uploader_ref (src_value->data[0].v_pointer);
-#line 9385 "FacebookPublishing.c"
+#line 9379 "FacebookPublishing.c"
} else {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
dest_value->data[0].v_pointer = NULL;
-#line 9389 "FacebookPublishing.c"
+#line 9383 "FacebookPublishing.c"
}
}
@@ -9413,66 +9407,66 @@ static void publishing_facebook_value_uploader_copy_value (const GValue* src_val
static gpointer publishing_facebook_value_uploader_peek_pointer (const GValue* value) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 9397 "FacebookPublishing.c"
+#line 9391 "FacebookPublishing.c"
}
static gchar* publishing_facebook_value_uploader_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (collect_values[0].v_pointer) {
-#line 9404 "FacebookPublishing.c"
- PublishingFacebookUploader* object;
+#line 9398 "FacebookPublishing.c"
+ PublishingFacebookUploader * object;
object = collect_values[0].v_pointer;
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (object->parent_instance.g_class == NULL) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 9411 "FacebookPublishing.c"
+#line 9405 "FacebookPublishing.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.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 9415 "FacebookPublishing.c"
+#line 9409 "FacebookPublishing.c"
}
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = publishing_facebook_uploader_ref (object);
-#line 9419 "FacebookPublishing.c"
+#line 9413 "FacebookPublishing.c"
} else {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9423 "FacebookPublishing.c"
+#line 9417 "FacebookPublishing.c"
}
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 9427 "FacebookPublishing.c"
+#line 9421 "FacebookPublishing.c"
}
static gchar* publishing_facebook_value_uploader_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PublishingFacebookUploader** object_p;
+ PublishingFacebookUploader ** object_p;
object_p = collect_values[0].v_pointer;
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!object_p) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 9438 "FacebookPublishing.c"
+#line 9432 "FacebookPublishing.c"
}
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (!value->data[0].v_pointer) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = NULL;
-#line 9444 "FacebookPublishing.c"
+#line 9438 "FacebookPublishing.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = value->data[0].v_pointer;
-#line 9448 "FacebookPublishing.c"
+#line 9442 "FacebookPublishing.c"
} else {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
*object_p = publishing_facebook_uploader_ref (value->data[0].v_pointer);
-#line 9452 "FacebookPublishing.c"
+#line 9446 "FacebookPublishing.c"
}
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return NULL;
-#line 9456 "FacebookPublishing.c"
+#line 9450 "FacebookPublishing.c"
}
@@ -9486,7 +9480,7 @@ GParamSpec* publishing_facebook_param_spec_uploader (const gchar* name, const gc
G_PARAM_SPEC (spec)->value_type = object_type;
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return G_PARAM_SPEC (spec);
-#line 9470 "FacebookPublishing.c"
+#line 9464 "FacebookPublishing.c"
}
@@ -9495,12 +9489,12 @@ gpointer publishing_facebook_value_get_uploader (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_UPLOADER), NULL);
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return value->data[0].v_pointer;
-#line 9479 "FacebookPublishing.c"
+#line 9473 "FacebookPublishing.c"
}
void publishing_facebook_value_set_uploader (GValue* value, gpointer v_object) {
- PublishingFacebookUploader* old;
+ PublishingFacebookUploader * old;
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_UPLOADER));
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -9515,23 +9509,23 @@ void publishing_facebook_value_set_uploader (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_uploader_ref (value->data[0].v_pointer);
-#line 9499 "FacebookPublishing.c"
+#line 9493 "FacebookPublishing.c"
} else {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9503 "FacebookPublishing.c"
+#line 9497 "FacebookPublishing.c"
}
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_uploader_unref (old);
-#line 9509 "FacebookPublishing.c"
+#line 9503 "FacebookPublishing.c"
}
}
void publishing_facebook_value_take_uploader (GValue* value, gpointer v_object) {
- PublishingFacebookUploader* old;
+ PublishingFacebookUploader * old;
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PUBLISHING_FACEBOOK_TYPE_UPLOADER));
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
@@ -9544,17 +9538,17 @@ void publishing_facebook_value_take_uploader (GValue* value, gpointer v_object)
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = v_object;
-#line 9528 "FacebookPublishing.c"
+#line 9522 "FacebookPublishing.c"
} else {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
value->data[0].v_pointer = NULL;
-#line 9532 "FacebookPublishing.c"
+#line 9526 "FacebookPublishing.c"
}
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (old) {
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
publishing_facebook_uploader_unref (old);
-#line 9538 "FacebookPublishing.c"
+#line 9532 "FacebookPublishing.c"
}
}
@@ -9567,10 +9561,10 @@ static void publishing_facebook_uploader_class_init (PublishingFacebookUploaderC
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_type_class_add_private (klass, sizeof (PublishingFacebookUploaderPrivate));
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_new ("upload_complete", PUBLISHING_FACEBOOK_TYPE_UPLOADER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
+ publishing_facebook_uploader_signals[PUBLISHING_FACEBOOK_UPLOADER_UPLOAD_COMPLETE_SIGNAL] = g_signal_new ("upload-complete", PUBLISHING_FACEBOOK_TYPE_UPLOADER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__INT, G_TYPE_NONE, 1, G_TYPE_INT);
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
- g_signal_new ("upload_error", PUBLISHING_FACEBOOK_TYPE_UPLOADER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER);
-#line 9554 "FacebookPublishing.c"
+ publishing_facebook_uploader_signals[PUBLISHING_FACEBOOK_UPLOADER_UPLOAD_ERROR_SIGNAL] = g_signal_new ("upload-error", PUBLISHING_FACEBOOK_TYPE_UPLOADER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__POINTER, G_TYPE_NONE, 1, G_TYPE_POINTER);
+#line 9548 "FacebookPublishing.c"
}
@@ -9579,13 +9573,15 @@ static void publishing_facebook_uploader_instance_init (PublishingFacebookUpload
self->priv = PUBLISHING_FACEBOOK_UPLOADER_GET_PRIVATE (self);
#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->priv->status_updated = NULL;
+#line 1308 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
+ self->priv->status_updated_target = self;
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self->ref_count = 1;
-#line 9565 "FacebookPublishing.c"
+#line 9561 "FacebookPublishing.c"
}
-static void publishing_facebook_uploader_finalize (PublishingFacebookUploader* obj) {
+static void publishing_facebook_uploader_finalize (PublishingFacebookUploader * obj) {
PublishingFacebookUploader * self;
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PUBLISHING_FACEBOOK_TYPE_UPLOADER, PublishingFacebookUploader);
@@ -9597,7 +9593,7 @@ static void publishing_facebook_uploader_finalize (PublishingFacebookUploader* o
_publishing_facebook_graph_session_unref0 (self->priv->session);
#line 1307 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
_publishing_facebook_publishing_parameters_unref0 (self->priv->publishing_params);
-#line 9581 "FacebookPublishing.c"
+#line 9577 "FacebookPublishing.c"
}
@@ -9616,18 +9612,18 @@ GType publishing_facebook_uploader_get_type (void) {
gpointer publishing_facebook_uploader_ref (gpointer instance) {
- PublishingFacebookUploader* self;
+ PublishingFacebookUploader * self;
self = instance;
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_atomic_int_inc (&self->ref_count);
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
return instance;
-#line 9606 "FacebookPublishing.c"
+#line 9602 "FacebookPublishing.c"
}
void publishing_facebook_uploader_unref (gpointer instance) {
- PublishingFacebookUploader* self;
+ PublishingFacebookUploader * self;
self = instance;
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -9635,7 +9631,7 @@ void publishing_facebook_uploader_unref (gpointer instance) {
PUBLISHING_FACEBOOK_UPLOADER_GET_CLASS (self)->finalize (self);
#line 1303 "/home/jens/Source/shotwell/plugins/shotwell-publishing/FacebookPublishing.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 9619 "FacebookPublishing.c"
+#line 9615 "FacebookPublishing.c"
}
}