summaryrefslogtreecommitdiff
path: root/src/publishing/Publishing.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-06-25 20:57:00 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-06-25 20:57:00 +0200
commita9bafe967a7a664c43dec4aeb64a6f6e0f284e05 (patch)
tree653c43a63b70c47278367ad2a4e92640a6669b44 /src/publishing/Publishing.c
parent55778740c211992cc86ea87588ab62c6750f36d1 (diff)
parentab841afa5cb39058d9ab2cebb67cfe6369443f6e (diff)
Update upstream source from tag 'upstream/0.28.3'
Update to upstream version '0.28.3' with Debian dir 828a38627ed9287d7cf2466fb15ebdea073742b7
Diffstat (limited to 'src/publishing/Publishing.c')
-rw-r--r--src/publishing/Publishing.c107
1 files changed, 80 insertions, 27 deletions
diff --git a/src/publishing/Publishing.c b/src/publishing/Publishing.c
index a502118..4bcc4db 100644
--- a/src/publishing/Publishing.c
+++ b/src/publishing/Publishing.c
@@ -1,4 +1,4 @@
-/* Publishing.c generated by valac 0.36.6, the Vala compiler
+/* Publishing.c generated by valac 0.40.4, the Vala compiler
* generated from Publishing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -7,6 +7,7 @@
* (version 2.1 or later). See the COPYING file in this distribution.
*/
+
#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
@@ -18,86 +19,128 @@
void publishing_init (GError** error);
-static void _vala_array_add54 (gchar** * array, int* length, int* size, gchar* value);
-static void _vala_array_add55 (gchar** * array, int* length, int* size, gchar* value);
-static void _vala_array_add56 (gchar** * array, int* length, int* size, gchar* value);
-static void _vala_array_add57 (gchar** * array, int* length, int* size, gchar* value);
-void plugins_register_extension_point (GType type, const gchar* name, const gchar* icon_name, gchar** core_ids, int core_ids_length1);
+static void _vala_array_add54 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value);
+static void _vala_array_add55 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value);
+static void _vala_array_add56 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value);
+static void _vala_array_add57 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value);
+void plugins_register_extension_point (GType type,
+ const gchar* name,
+ const gchar* icon_name,
+ gchar** core_ids,
+ int core_ids_length1);
#define RESOURCES_PUBLISH "applications-internet"
void publishing_terminate (void);
-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);
-
-
-static void _vala_array_add54 (gchar** * array, int* length, int* size, gchar* value) {
+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);
+
+
+static void
+_vala_array_add54 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value)
+{
#line 11 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
if ((*length) == (*size)) {
#line 11 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 11 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
*array = g_renew (gchar*, *array, (*size) + 1);
-#line 40 "Publishing.c"
+#line 66 "Publishing.c"
}
#line 11 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
(*array)[(*length)++] = value;
#line 11 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
(*array)[*length] = NULL;
-#line 46 "Publishing.c"
+#line 72 "Publishing.c"
}
-static void _vala_array_add55 (gchar** * array, int* length, int* size, gchar* value) {
+static void
+_vala_array_add55 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value)
+{
#line 12 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
if ((*length) == (*size)) {
#line 12 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 12 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
*array = g_renew (gchar*, *array, (*size) + 1);
-#line 57 "Publishing.c"
+#line 88 "Publishing.c"
}
#line 12 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
(*array)[(*length)++] = value;
#line 12 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
(*array)[*length] = NULL;
-#line 63 "Publishing.c"
+#line 94 "Publishing.c"
}
-static void _vala_array_add56 (gchar** * array, int* length, int* size, gchar* value) {
+static void
+_vala_array_add56 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value)
+{
#line 13 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
if ((*length) == (*size)) {
#line 13 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 13 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
*array = g_renew (gchar*, *array, (*size) + 1);
-#line 74 "Publishing.c"
+#line 110 "Publishing.c"
}
#line 13 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
(*array)[(*length)++] = value;
#line 13 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
(*array)[*length] = NULL;
-#line 80 "Publishing.c"
+#line 116 "Publishing.c"
}
-static void _vala_array_add57 (gchar** * array, int* length, int* size, gchar* value) {
+static void
+_vala_array_add57 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value)
+{
#line 14 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
if ((*length) == (*size)) {
#line 14 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 14 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
*array = g_renew (gchar*, *array, (*size) + 1);
-#line 91 "Publishing.c"
+#line 132 "Publishing.c"
}
#line 14 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
(*array)[(*length)++] = value;
#line 14 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
(*array)[*length] = NULL;
-#line 97 "Publishing.c"
+#line 138 "Publishing.c"
}
-void publishing_init (GError** error) {
+void
+publishing_init (GError** error)
+{
gchar** core_ids = NULL;
gchar** _tmp0_;
gint core_ids_length1;
@@ -164,15 +207,21 @@ void publishing_init (GError** error) {
plugins_register_extension_point (SPIT_PUBLISHING_TYPE_SERVICE, _ ("Publishing"), RESOURCES_PUBLISH, _tmp9_, _tmp9__length1);
#line 9 "/home/jens/Source/shotwell/src/publishing/Publishing.vala"
core_ids = (_vala_array_free (core_ids, core_ids_length1, (GDestroyNotify) g_free), NULL);
-#line 168 "Publishing.c"
+#line 211 "Publishing.c"
}
-void publishing_terminate (void) {
+void
+publishing_terminate (void)
+{
}
-static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
+static void
+_vala_array_destroy (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func)
+{
if ((array != NULL) && (destroy_func != NULL)) {
int i;
for (i = 0; i < array_length; i = i + 1) {
@@ -184,7 +233,11 @@ static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNoti
}
-static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
+static void
+_vala_array_free (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func)
+{
_vala_array_destroy (array, array_length, destroy_func);
g_free (array);
}