summaryrefslogtreecommitdiff
path: root/src/data_imports/DataImports.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-09-30 14:09:20 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-09-30 14:09:20 +0200
commit5e9f4eea451a77ba3b93db3747841ed2bd969e9f (patch)
tree75046a38ca68975261d853a2e56ff7bf6b3e1daa /src/data_imports/DataImports.c
parent18b52c2983a1b3409011f72d27f15de576c5eb1c (diff)
New upstream version 0.30.1upstream/0.30.1
Diffstat (limited to 'src/data_imports/DataImports.c')
-rw-r--r--src/data_imports/DataImports.c143
1 files changed, 0 insertions, 143 deletions
diff --git a/src/data_imports/DataImports.c b/src/data_imports/DataImports.c
deleted file mode 100644
index a1ebfb1..0000000
--- a/src/data_imports/DataImports.c
+++ /dev/null
@@ -1,143 +0,0 @@
-/* DataImports.c generated by valac 0.40.4, the Vala compiler
- * generated from DataImports.vala, do not modify */
-
-/* Copyright 2016 Software Freedom Conservancy Inc.
- *
- * This software is licensed under the GNU Lesser General Public License
- * (version 2.1 or later). See the COPYING file in this distribution.
- */
-/* This file is the master unit file for the DataImports unit. It should be edited to include
- * whatever code is deemed necessary.
- *
- * The init() and terminate() methods are mandatory.
- *
- * If the unit needs to be configured prior to initialization, add the proper parameters to
- * the preconfigure() method, implement it, and ensure in init() that it's been called.
- */
-
-
-#include <glib.h>
-#include <glib-object.h>
-#include <stdlib.h>
-#include <string.h>
-#include "shotwell-plugin-dev-1.0.h"
-#include <glib/gi18n-lib.h>
-
-
-
-
-void data_imports_init (GError** error);
-static void _vala_array_add70 (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_IMPORT "import"
-void data_imports_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_add70 (gchar** * array,
- int* length,
- int* size,
- gchar* value)
-{
-#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- if ((*length) == (*size)) {
-#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- *array = g_renew (gchar*, *array, (*size) + 1);
-#line 62 "DataImports.c"
- }
-#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- (*array)[(*length)++] = value;
-#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- (*array)[*length] = NULL;
-#line 68 "DataImports.c"
-}
-
-
-void
-data_imports_init (GError** error)
-{
- gchar** core_ids = NULL;
- gchar** _tmp0_;
- gint core_ids_length1;
- gint _core_ids_size_;
- gchar** _tmp1_;
- gint _tmp1__length1;
- gchar* _tmp2_;
- gchar** _tmp3_;
- gint _tmp3__length1;
-#line 19 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- _tmp0_ = g_new0 (gchar*, 0 + 1);
-#line 19 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- core_ids = _tmp0_;
-#line 19 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- core_ids_length1 = 0;
-#line 19 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- _core_ids_size_ = core_ids_length1;
-#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- _tmp1_ = core_ids;
-#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- _tmp1__length1 = core_ids_length1;
-#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- _tmp2_ = g_strdup ("org.yorba.shotwell.dataimports.fspot");
-#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- _vala_array_add70 (&core_ids, &core_ids_length1, &_core_ids_size_, _tmp2_);
-#line 22 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- _tmp3_ = core_ids;
-#line 22 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- _tmp3__length1 = core_ids_length1;
-#line 22 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- plugins_register_extension_point (SPIT_DATA_IMPORTS_TYPE_SERVICE, _ ("Data Imports"), RESOURCES_IMPORT, _tmp3_, _tmp3__length1);
-#line 18 "/home/jens/Source/shotwell/src/data_imports/DataImports.vala"
- core_ids = (_vala_array_free (core_ids, core_ids_length1, (GDestroyNotify) g_free), NULL);
-#line 108 "DataImports.c"
-}
-
-
-void
-data_imports_terminate (void)
-{
-}
-
-
-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) {
- if (((gpointer*) array)[i] != NULL) {
- destroy_func (((gpointer*) array)[i]);
- }
- }
- }
-}
-
-
-static void
-_vala_array_free (gpointer array,
- gint array_length,
- GDestroyNotify destroy_func)
-{
- _vala_array_destroy (array, array_length, destroy_func);
- g_free (array);
-}
-
-
-