summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/DataImportsInterfaces.c726
-rw-r--r--src/plugins/ManifestWidget.c1303
-rw-r--r--src/plugins/Plugins.c3217
-rw-r--r--src/plugins/PublishingInterfaces.c794
-rw-r--r--src/plugins/SpitInterfaces.c602
-rw-r--r--src/plugins/StandardHostInterface.c446
-rw-r--r--src/plugins/TransitionsInterfaces.c1010
7 files changed, 4765 insertions, 3333 deletions
diff --git a/src/plugins/DataImportsInterfaces.c b/src/plugins/DataImportsInterfaces.c
index 49b2b48..eb06253 100644
--- a/src/plugins/DataImportsInterfaces.c
+++ b/src/plugins/DataImportsInterfaces.c
@@ -1,4 +1,4 @@
-/* DataImportsInterfaces.c generated by valac 0.36.6, the Vala compiler
+/* DataImportsInterfaces.c generated by valac 0.40.4, the Vala compiler
* generated from DataImportsInterfaces.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>
@@ -299,7 +300,8 @@ GQuark spit_data_imports_data_import_error_quark (void);
GType spit_pluggable_info_get_type (void) G_GNUC_CONST;
SpitPluggableInfo* spit_pluggable_info_dup (const SpitPluggableInfo* self);
void spit_pluggable_info_free (SpitPluggableInfo* self);
-void spit_pluggable_info_copy (const SpitPluggableInfo* self, SpitPluggableInfo* dest);
+void spit_pluggable_info_copy (const SpitPluggableInfo* self,
+ SpitPluggableInfo* dest);
void spit_pluggable_info_destroy (SpitPluggableInfo* self);
GType spit_pluggable_get_type (void) G_GNUC_CONST;
GType spit_host_interface_get_type (void) G_GNUC_CONST;
@@ -318,8 +320,10 @@ SpitDataImportsService* spit_data_imports_data_importer_get_service (SpitDataImp
void spit_data_imports_data_importer_start (SpitDataImportsDataImporter* self);
gboolean spit_data_imports_data_importer_is_running (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_stop (SpitDataImportsDataImporter* self);
-void spit_data_imports_data_importer_on_library_selected (SpitDataImportsDataImporter* self, SpitDataImportsImportableLibrary* library);
-void spit_data_imports_data_importer_on_file_selected (SpitDataImportsDataImporter* self, GFile* file);
+void spit_data_imports_data_importer_on_library_selected (SpitDataImportsDataImporter* self,
+ SpitDataImportsImportableLibrary* library);
+void spit_data_imports_data_importer_on_file_selected (SpitDataImportsDataImporter* self,
+ GFile* file);
void spit_data_imports_data_importer_reserved0 (SpitDataImportsDataImporter* self);
static void spit_data_imports_data_importer_real_reserved0 (SpitDataImportsDataImporter* self);
void spit_data_imports_data_importer_reserved1 (SpitDataImportsDataImporter* self);
@@ -337,7 +341,8 @@ static void spit_data_imports_data_importer_real_reserved6 (SpitDataImportsDataI
void spit_data_imports_data_importer_reserved7 (SpitDataImportsDataImporter* self);
static void spit_data_imports_data_importer_real_reserved7 (SpitDataImportsDataImporter* self);
gchar* spit_data_imports_importable_library_get_display_name (SpitDataImportsImportableLibrary* self);
-SpitDataImportsImportableTag** spit_data_imports_importable_media_item_get_tags (SpitDataImportsImportableMediaItem* self, int* result_length1);
+SpitDataImportsImportableTag** spit_data_imports_importable_media_item_get_tags (SpitDataImportsImportableMediaItem* self,
+ int* result_length1);
SpitDataImportsImportableEvent* spit_data_imports_importable_media_item_get_event (SpitDataImportsImportableMediaItem* self);
SpitDataImportsImportableRating* spit_data_imports_importable_media_item_get_rating (SpitDataImportsImportableMediaItem* self);
gchar* spit_data_imports_importable_media_item_get_title (SpitDataImportsImportableMediaItem* self);
@@ -370,18 +375,39 @@ void spit_data_imports_dialog_pane_reserved6 (SpitDataImportsDialogPane* self);
static void spit_data_imports_dialog_pane_real_reserved6 (SpitDataImportsDialogPane* self);
void spit_data_imports_dialog_pane_reserved7 (SpitDataImportsDialogPane* self);
static void spit_data_imports_dialog_pane_real_reserved7 (SpitDataImportsDialogPane* self);
-void spit_data_imports_plugin_host_post_error (SpitDataImportsPluginHost* self, GError* err);
-void spit_data_imports_plugin_host_post_error_message (SpitDataImportsPluginHost* self, const gchar* msg);
+void spit_data_imports_plugin_host_post_error (SpitDataImportsPluginHost* self,
+ GError* err);
+void spit_data_imports_plugin_host_post_error_message (SpitDataImportsPluginHost* self,
+ const gchar* msg);
void spit_data_imports_plugin_host_start_importing (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_stop_importing (SpitDataImportsPluginHost* self);
SpitDataImportsDataImporter* spit_data_imports_plugin_host_get_data_importer (SpitDataImportsPluginHost* self);
-void spit_data_imports_plugin_host_install_dialog_pane (SpitDataImportsPluginHost* self, SpitDataImportsDialogPane* pane, SpitDataImportsPluginHostButtonMode mode);
-void spit_data_imports_plugin_host_install_static_message_pane (SpitDataImportsPluginHost* self, const gchar* message, SpitDataImportsPluginHostButtonMode mode);
-void spit_data_imports_plugin_host_install_library_selection_pane (SpitDataImportsPluginHost* self, const gchar* welcome_message, SpitDataImportsImportableLibrary** discovered_libraries, int discovered_libraries_length1, const gchar* file_select_label);
-void spit_data_imports_plugin_host_install_import_progress_pane (SpitDataImportsPluginHost* self, const gchar* message);
-void spit_data_imports_plugin_host_update_import_progress_pane (SpitDataImportsPluginHost* self, gdouble progress, const gchar* progress_message);
-void spit_data_imports_plugin_host_prepare_media_items_for_import (SpitDataImportsPluginHost* self, SpitDataImportsImportableMediaItem** items, int items_length1, gdouble progress, gdouble host_progress_delta, const gchar* progress_message);
-void spit_data_imports_plugin_host_finalize_import (SpitDataImportsPluginHost* self, SpitDataImportsImportedItemsCountCallback report_imported_items_count, void* report_imported_items_count_target, const gchar* finalize_message);
+void spit_data_imports_plugin_host_install_dialog_pane (SpitDataImportsPluginHost* self,
+ SpitDataImportsDialogPane* pane,
+ SpitDataImportsPluginHostButtonMode mode);
+void spit_data_imports_plugin_host_install_static_message_pane (SpitDataImportsPluginHost* self,
+ const gchar* message,
+ SpitDataImportsPluginHostButtonMode mode);
+void spit_data_imports_plugin_host_install_library_selection_pane (SpitDataImportsPluginHost* self,
+ const gchar* welcome_message,
+ SpitDataImportsImportableLibrary** discovered_libraries,
+ int discovered_libraries_length1,
+ const gchar* file_select_label);
+void spit_data_imports_plugin_host_install_import_progress_pane (SpitDataImportsPluginHost* self,
+ const gchar* message);
+void spit_data_imports_plugin_host_update_import_progress_pane (SpitDataImportsPluginHost* self,
+ gdouble progress,
+ const gchar* progress_message);
+void spit_data_imports_plugin_host_prepare_media_items_for_import (SpitDataImportsPluginHost* self,
+ SpitDataImportsImportableMediaItem** items,
+ int items_length1,
+ gdouble progress,
+ gdouble host_progress_delta,
+ const gchar* progress_message);
+void spit_data_imports_plugin_host_finalize_import (SpitDataImportsPluginHost* self,
+ SpitDataImportsImportedItemsCountCallback report_imported_items_count,
+ void* report_imported_items_count_target,
+ const gchar* finalize_message);
void spit_data_imports_plugin_host_reserved0 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved0 (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_reserved1 (SpitDataImportsPluginHost* self);
@@ -398,7 +424,8 @@ void spit_data_imports_plugin_host_reserved6 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved6 (SpitDataImportsPluginHost* self);
void spit_data_imports_plugin_host_reserved7 (SpitDataImportsPluginHost* self);
static void spit_data_imports_plugin_host_real_reserved7 (SpitDataImportsPluginHost* self);
-SpitDataImportsDataImporter* spit_data_imports_service_create_data_importer (SpitDataImportsService* self, SpitDataImportsPluginHost* host);
+SpitDataImportsDataImporter* spit_data_imports_service_create_data_importer (SpitDataImportsService* self,
+ SpitDataImportsPluginHost* host);
void spit_data_imports_service_reserved0 (SpitDataImportsService* self);
static void spit_data_imports_service_real_reserved0 (SpitDataImportsService* self);
void spit_data_imports_service_reserved1 (SpitDataImportsService* self);
@@ -417,7 +444,9 @@ void spit_data_imports_service_reserved7 (SpitDataImportsService* self);
static void spit_data_imports_service_real_reserved7 (SpitDataImportsService* self);
-GQuark spit_data_imports_data_import_error_quark (void) {
+GQuark
+spit_data_imports_data_import_error_quark (void)
+{
return g_quark_from_static_string ("spit_data_imports_data_import_error-quark");
}
@@ -425,12 +454,14 @@ GQuark spit_data_imports_data_import_error_quark (void) {
/**
* Returns a {@link Service} object describing the service to which this connects.
*/
-SpitDataImportsService* spit_data_imports_data_importer_get_service (SpitDataImportsDataImporter* self) {
+SpitDataImportsService*
+spit_data_imports_data_importer_get_service (SpitDataImportsDataImporter* self)
+{
#line 53 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self), NULL);
#line 53 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->get_service (self);
-#line 434 "DataImportsInterfaces.c"
+#line 465 "DataImportsInterfaces.c"
}
@@ -439,24 +470,28 @@ SpitDataImportsService* spit_data_imports_data_importer_get_service (SpitDataImp
* to the shared services provided by the {@link PluginHost}. Through the host’s interface,
* this data importer can install user interface panes and query configuration information.
*/
-void spit_data_imports_data_importer_start (SpitDataImportsDataImporter* self) {
+void
+spit_data_imports_data_importer_start (SpitDataImportsDataImporter* self)
+{
#line 60 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 60 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->start (self);
-#line 448 "DataImportsInterfaces.c"
+#line 481 "DataImportsInterfaces.c"
}
/**
* Returns true if this data importer is in the running state; false otherwise.
*/
-gboolean spit_data_imports_data_importer_is_running (SpitDataImportsDataImporter* self) {
+gboolean
+spit_data_imports_data_importer_is_running (SpitDataImportsDataImporter* self)
+{
#line 65 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self), FALSE);
#line 65 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->is_running (self);
-#line 460 "DataImportsInterfaces.c"
+#line 495 "DataImportsInterfaces.c"
}
@@ -464,144 +499,186 @@ gboolean spit_data_imports_data_importer_is_running (SpitDataImportsDataImporter
* Causes this data importer to enter a non-running state. This data importer should stop all
* data access operations and cease use of the shared services provided by the {@link PluginHost}.
*/
-void spit_data_imports_data_importer_stop (SpitDataImportsDataImporter* self) {
+void
+spit_data_imports_data_importer_stop (SpitDataImportsDataImporter* self)
+{
#line 71 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 71 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->stop (self);
-#line 473 "DataImportsInterfaces.c"
+#line 510 "DataImportsInterfaces.c"
}
/**
* Causes this data importer to enter start the import of a library.
*/
-void spit_data_imports_data_importer_on_library_selected (SpitDataImportsDataImporter* self, SpitDataImportsImportableLibrary* library) {
+void
+spit_data_imports_data_importer_on_library_selected (SpitDataImportsDataImporter* self,
+ SpitDataImportsImportableLibrary* library)
+{
#line 76 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 76 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->on_library_selected (self, library);
-#line 485 "DataImportsInterfaces.c"
+#line 525 "DataImportsInterfaces.c"
}
/**
* Causes this data importer to enter start the import of a library file.
*/
-void spit_data_imports_data_importer_on_file_selected (SpitDataImportsDataImporter* self, GFile* file) {
+void
+spit_data_imports_data_importer_on_file_selected (SpitDataImportsDataImporter* self,
+ GFile* file)
+{
#line 81 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 81 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->on_file_selected (self, file);
-#line 497 "DataImportsInterfaces.c"
+#line 540 "DataImportsInterfaces.c"
}
-static void spit_data_imports_data_importer_real_reserved0 (SpitDataImportsDataImporter* self) {
+static void
+spit_data_imports_data_importer_real_reserved0 (SpitDataImportsDataImporter* self)
+{
}
-void spit_data_imports_data_importer_reserved0 (SpitDataImportsDataImporter* self) {
+void
+spit_data_imports_data_importer_reserved0 (SpitDataImportsDataImporter* self)
+{
#line 86 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 86 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved0 (self);
-#line 510 "DataImportsInterfaces.c"
+#line 557 "DataImportsInterfaces.c"
}
-static void spit_data_imports_data_importer_real_reserved1 (SpitDataImportsDataImporter* self) {
+static void
+spit_data_imports_data_importer_real_reserved1 (SpitDataImportsDataImporter* self)
+{
}
-void spit_data_imports_data_importer_reserved1 (SpitDataImportsDataImporter* self) {
+void
+spit_data_imports_data_importer_reserved1 (SpitDataImportsDataImporter* self)
+{
#line 87 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 87 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved1 (self);
-#line 523 "DataImportsInterfaces.c"
+#line 574 "DataImportsInterfaces.c"
}
-static void spit_data_imports_data_importer_real_reserved2 (SpitDataImportsDataImporter* self) {
+static void
+spit_data_imports_data_importer_real_reserved2 (SpitDataImportsDataImporter* self)
+{
}
-void spit_data_imports_data_importer_reserved2 (SpitDataImportsDataImporter* self) {
+void
+spit_data_imports_data_importer_reserved2 (SpitDataImportsDataImporter* self)
+{
#line 88 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 88 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved2 (self);
-#line 536 "DataImportsInterfaces.c"
+#line 591 "DataImportsInterfaces.c"
}
-static void spit_data_imports_data_importer_real_reserved3 (SpitDataImportsDataImporter* self) {
+static void
+spit_data_imports_data_importer_real_reserved3 (SpitDataImportsDataImporter* self)
+{
}
-void spit_data_imports_data_importer_reserved3 (SpitDataImportsDataImporter* self) {
+void
+spit_data_imports_data_importer_reserved3 (SpitDataImportsDataImporter* self)
+{
#line 89 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 89 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved3 (self);
-#line 549 "DataImportsInterfaces.c"
+#line 608 "DataImportsInterfaces.c"
}
-static void spit_data_imports_data_importer_real_reserved4 (SpitDataImportsDataImporter* self) {
+static void
+spit_data_imports_data_importer_real_reserved4 (SpitDataImportsDataImporter* self)
+{
}
-void spit_data_imports_data_importer_reserved4 (SpitDataImportsDataImporter* self) {
+void
+spit_data_imports_data_importer_reserved4 (SpitDataImportsDataImporter* self)
+{
#line 90 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 90 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved4 (self);
-#line 562 "DataImportsInterfaces.c"
+#line 625 "DataImportsInterfaces.c"
}
-static void spit_data_imports_data_importer_real_reserved5 (SpitDataImportsDataImporter* self) {
+static void
+spit_data_imports_data_importer_real_reserved5 (SpitDataImportsDataImporter* self)
+{
}
-void spit_data_imports_data_importer_reserved5 (SpitDataImportsDataImporter* self) {
+void
+spit_data_imports_data_importer_reserved5 (SpitDataImportsDataImporter* self)
+{
#line 91 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 91 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved5 (self);
-#line 575 "DataImportsInterfaces.c"
+#line 642 "DataImportsInterfaces.c"
}
-static void spit_data_imports_data_importer_real_reserved6 (SpitDataImportsDataImporter* self) {
+static void
+spit_data_imports_data_importer_real_reserved6 (SpitDataImportsDataImporter* self)
+{
}
-void spit_data_imports_data_importer_reserved6 (SpitDataImportsDataImporter* self) {
+void
+spit_data_imports_data_importer_reserved6 (SpitDataImportsDataImporter* self)
+{
#line 92 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 92 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved6 (self);
-#line 588 "DataImportsInterfaces.c"
+#line 659 "DataImportsInterfaces.c"
}
-static void spit_data_imports_data_importer_real_reserved7 (SpitDataImportsDataImporter* self) {
+static void
+spit_data_imports_data_importer_real_reserved7 (SpitDataImportsDataImporter* self)
+{
}
-void spit_data_imports_data_importer_reserved7 (SpitDataImportsDataImporter* self) {
+void
+spit_data_imports_data_importer_reserved7 (SpitDataImportsDataImporter* self)
+{
#line 93 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DATA_IMPORTER (self));
#line 93 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DATA_IMPORTER_GET_INTERFACE (self)->reserved7 (self);
-#line 601 "DataImportsInterfaces.c"
+#line 676 "DataImportsInterfaces.c"
}
-static void spit_data_imports_data_importer_base_init (SpitDataImportsDataImporterIface * iface) {
+static void
+spit_data_imports_data_importer_base_init (SpitDataImportsDataImporterIface * iface)
+{
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
static gboolean initialized = FALSE;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
@@ -624,7 +701,7 @@ static void spit_data_imports_data_importer_base_init (SpitDataImportsDataImport
iface->reserved6 = spit_data_imports_data_importer_real_reserved6;
#line 49 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
iface->reserved7 = spit_data_imports_data_importer_real_reserved7;
-#line 628 "DataImportsInterfaces.c"
+#line 705 "DataImportsInterfaces.c"
}
}
@@ -639,7 +716,9 @@ static void spit_data_imports_data_importer_base_init (SpitDataImportsDataImport
* a non-running state and do not begin running until start( ) is invoked. Data importers
* run until stop( ) is invoked.
*/
-GType spit_data_imports_data_importer_get_type (void) {
+GType
+spit_data_imports_data_importer_get_type (void)
+{
static volatile gsize spit_data_imports_data_importer_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_data_importer_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsDataImporterIface), (GBaseInitFunc) spit_data_imports_data_importer_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -652,23 +731,27 @@ GType spit_data_imports_data_importer_get_type (void) {
}
-gchar* spit_data_imports_importable_library_get_display_name (SpitDataImportsImportableLibrary* self) {
+gchar*
+spit_data_imports_importable_library_get_display_name (SpitDataImportsImportableLibrary* self)
+{
#line 102 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_LIBRARY (self), NULL);
#line 102 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_LIBRARY_GET_INTERFACE (self)->get_display_name (self);
-#line 661 "DataImportsInterfaces.c"
+#line 742 "DataImportsInterfaces.c"
}
-static void spit_data_imports_importable_library_base_init (SpitDataImportsImportableLibraryIface * iface) {
+static void
+spit_data_imports_importable_library_base_init (SpitDataImportsImportableLibraryIface * iface)
+{
#line 101 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
static gboolean initialized = FALSE;
#line 101 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
if (!initialized) {
#line 101 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
initialized = TRUE;
-#line 672 "DataImportsInterfaces.c"
+#line 755 "DataImportsInterfaces.c"
}
}
@@ -678,7 +761,9 @@ static void spit_data_imports_importable_library_base_init (SpitDataImportsImpor
*
* Developers of data import plugins provide a class that implements this interface.
*/
-GType spit_data_imports_importable_library_get_type (void) {
+GType
+spit_data_imports_importable_library_get_type (void)
+{
static volatile gsize spit_data_imports_importable_library_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_importable_library_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsImportableLibraryIface), (GBaseInitFunc) spit_data_imports_importable_library_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -691,77 +776,94 @@ GType spit_data_imports_importable_library_get_type (void) {
}
-SpitDataImportsImportableTag** spit_data_imports_importable_media_item_get_tags (SpitDataImportsImportableMediaItem* self, int* result_length1) {
+SpitDataImportsImportableTag**
+spit_data_imports_importable_media_item_get_tags (SpitDataImportsImportableMediaItem* self,
+ int* result_length1)
+{
#line 111 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 111 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_tags (self, result_length1);
-#line 700 "DataImportsInterfaces.c"
+#line 788 "DataImportsInterfaces.c"
}
-SpitDataImportsImportableEvent* spit_data_imports_importable_media_item_get_event (SpitDataImportsImportableMediaItem* self) {
+SpitDataImportsImportableEvent*
+spit_data_imports_importable_media_item_get_event (SpitDataImportsImportableMediaItem* self)
+{
#line 113 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 113 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_event (self);
-#line 709 "DataImportsInterfaces.c"
+#line 799 "DataImportsInterfaces.c"
}
-SpitDataImportsImportableRating* spit_data_imports_importable_media_item_get_rating (SpitDataImportsImportableMediaItem* self) {
+SpitDataImportsImportableRating*
+spit_data_imports_importable_media_item_get_rating (SpitDataImportsImportableMediaItem* self)
+{
#line 115 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 115 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_rating (self);
-#line 718 "DataImportsInterfaces.c"
+#line 810 "DataImportsInterfaces.c"
}
-gchar* spit_data_imports_importable_media_item_get_title (SpitDataImportsImportableMediaItem* self) {
+gchar*
+spit_data_imports_importable_media_item_get_title (SpitDataImportsImportableMediaItem* self)
+{
#line 117 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 117 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_title (self);
-#line 727 "DataImportsInterfaces.c"
+#line 821 "DataImportsInterfaces.c"
}
-gchar* spit_data_imports_importable_media_item_get_folder_path (SpitDataImportsImportableMediaItem* self) {
+gchar*
+spit_data_imports_importable_media_item_get_folder_path (SpitDataImportsImportableMediaItem* self)
+{
#line 119 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 119 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_folder_path (self);
-#line 736 "DataImportsInterfaces.c"
+#line 832 "DataImportsInterfaces.c"
}
-gchar* spit_data_imports_importable_media_item_get_filename (SpitDataImportsImportableMediaItem* self) {
+gchar*
+spit_data_imports_importable_media_item_get_filename (SpitDataImportsImportableMediaItem* self)
+{
#line 121 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 121 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_filename (self);
-#line 745 "DataImportsInterfaces.c"
+#line 843 "DataImportsInterfaces.c"
}
-time_t* spit_data_imports_importable_media_item_get_exposure_time (SpitDataImportsImportableMediaItem* self) {
+time_t*
+spit_data_imports_importable_media_item_get_exposure_time (SpitDataImportsImportableMediaItem* self)
+{
#line 123 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_MEDIA_ITEM (self), NULL);
#line 123 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_MEDIA_ITEM_GET_INTERFACE (self)->get_exposure_time (self);
-#line 754 "DataImportsInterfaces.c"
+#line 854 "DataImportsInterfaces.c"
}
-static void spit_data_imports_importable_media_item_base_init (SpitDataImportsImportableMediaItemIface * iface) {
+static void
+spit_data_imports_importable_media_item_base_init (SpitDataImportsImportableMediaItemIface * iface)
+{
#line 110 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
static gboolean initialized = FALSE;
#line 110 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
if (!initialized) {
#line 110 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
initialized = TRUE;
-#line 765 "DataImportsInterfaces.c"
+#line 867 "DataImportsInterfaces.c"
}
}
@@ -771,7 +873,9 @@ static void spit_data_imports_importable_media_item_base_init (SpitDataImportsIm
*
* Developers of data import plugins provide a class that implements this interface.
*/
-GType spit_data_imports_importable_media_item_get_type (void) {
+GType
+spit_data_imports_importable_media_item_get_type (void)
+{
static volatile gsize spit_data_imports_importable_media_item_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_importable_media_item_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsImportableMediaItemIface), (GBaseInitFunc) spit_data_imports_importable_media_item_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -784,32 +888,38 @@ GType spit_data_imports_importable_media_item_get_type (void) {
}
-gchar* spit_data_imports_importable_tag_get_name (SpitDataImportsImportableTag* self) {
+gchar*
+spit_data_imports_importable_tag_get_name (SpitDataImportsImportableTag* self)
+{
#line 132 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_TAG (self), NULL);
#line 132 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_TAG_GET_INTERFACE (self)->get_name (self);
-#line 793 "DataImportsInterfaces.c"
+#line 899 "DataImportsInterfaces.c"
}
-SpitDataImportsImportableTag* spit_data_imports_importable_tag_get_parent (SpitDataImportsImportableTag* self) {
+SpitDataImportsImportableTag*
+spit_data_imports_importable_tag_get_parent (SpitDataImportsImportableTag* self)
+{
#line 134 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_TAG (self), NULL);
#line 134 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_TAG_GET_INTERFACE (self)->get_parent (self);
-#line 802 "DataImportsInterfaces.c"
+#line 910 "DataImportsInterfaces.c"
}
-static void spit_data_imports_importable_tag_base_init (SpitDataImportsImportableTagIface * iface) {
+static void
+spit_data_imports_importable_tag_base_init (SpitDataImportsImportableTagIface * iface)
+{
#line 131 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
static gboolean initialized = FALSE;
#line 131 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
if (!initialized) {
#line 131 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
initialized = TRUE;
-#line 813 "DataImportsInterfaces.c"
+#line 923 "DataImportsInterfaces.c"
}
}
@@ -819,7 +929,9 @@ static void spit_data_imports_importable_tag_base_init (SpitDataImportsImportabl
*
* Developers of data import plugins provide a class that implements this interface.
*/
-GType spit_data_imports_importable_tag_get_type (void) {
+GType
+spit_data_imports_importable_tag_get_type (void)
+{
static volatile gsize spit_data_imports_importable_tag_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_importable_tag_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsImportableTagIface), (GBaseInitFunc) spit_data_imports_importable_tag_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -832,23 +944,27 @@ GType spit_data_imports_importable_tag_get_type (void) {
}
-gchar* spit_data_imports_importable_event_get_name (SpitDataImportsImportableEvent* self) {
+gchar*
+spit_data_imports_importable_event_get_name (SpitDataImportsImportableEvent* self)
+{
#line 143 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_EVENT (self), NULL);
#line 143 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_EVENT_GET_INTERFACE (self)->get_name (self);
-#line 841 "DataImportsInterfaces.c"
+#line 955 "DataImportsInterfaces.c"
}
-static void spit_data_imports_importable_event_base_init (SpitDataImportsImportableEventIface * iface) {
+static void
+spit_data_imports_importable_event_base_init (SpitDataImportsImportableEventIface * iface)
+{
#line 142 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
static gboolean initialized = FALSE;
#line 142 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
if (!initialized) {
#line 142 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
initialized = TRUE;
-#line 852 "DataImportsInterfaces.c"
+#line 968 "DataImportsInterfaces.c"
}
}
@@ -858,7 +974,9 @@ static void spit_data_imports_importable_event_base_init (SpitDataImportsImporta
*
* Developers of data import plugins provide a class that implements this interface.
*/
-GType spit_data_imports_importable_event_get_type (void) {
+GType
+spit_data_imports_importable_event_get_type (void)
+{
static volatile gsize spit_data_imports_importable_event_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_importable_event_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsImportableEventIface), (GBaseInitFunc) spit_data_imports_importable_event_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -871,41 +989,49 @@ GType spit_data_imports_importable_event_get_type (void) {
}
-gboolean spit_data_imports_importable_rating_is_unrated (SpitDataImportsImportableRating* self) {
+gboolean
+spit_data_imports_importable_rating_is_unrated (SpitDataImportsImportableRating* self)
+{
#line 155 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_RATING (self), FALSE);
#line 155 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_RATING_GET_INTERFACE (self)->is_unrated (self);
-#line 880 "DataImportsInterfaces.c"
+#line 1000 "DataImportsInterfaces.c"
}
-gboolean spit_data_imports_importable_rating_is_rejected (SpitDataImportsImportableRating* self) {
+gboolean
+spit_data_imports_importable_rating_is_rejected (SpitDataImportsImportableRating* self)
+{
#line 157 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_RATING (self), FALSE);
#line 157 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_RATING_GET_INTERFACE (self)->is_rejected (self);
-#line 889 "DataImportsInterfaces.c"
+#line 1011 "DataImportsInterfaces.c"
}
-gint spit_data_imports_importable_rating_get_value (SpitDataImportsImportableRating* self) {
+gint
+spit_data_imports_importable_rating_get_value (SpitDataImportsImportableRating* self)
+{
#line 159 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_IMPORTABLE_RATING (self), 0);
#line 159 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_IMPORTABLE_RATING_GET_INTERFACE (self)->get_value (self);
-#line 898 "DataImportsInterfaces.c"
+#line 1022 "DataImportsInterfaces.c"
}
-static void spit_data_imports_importable_rating_base_init (SpitDataImportsImportableRatingIface * iface) {
+static void
+spit_data_imports_importable_rating_base_init (SpitDataImportsImportableRatingIface * iface)
+{
#line 154 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
static gboolean initialized = FALSE;
#line 154 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
if (!initialized) {
#line 154 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
initialized = TRUE;
-#line 909 "DataImportsInterfaces.c"
+#line 1035 "DataImportsInterfaces.c"
}
}
@@ -918,7 +1044,9 @@ static void spit_data_imports_importable_rating_base_init (SpitDataImportsImport
* 1 and 5, unless the rating object is unrated or rejected, in which case the
* value is unspecified.
*/
-GType spit_data_imports_importable_rating_get_type (void) {
+GType
+spit_data_imports_importable_rating_get_type (void)
+{
static volatile gsize spit_data_imports_importable_rating_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_importable_rating_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsImportableRatingIface), (GBaseInitFunc) spit_data_imports_importable_rating_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -935,7 +1063,9 @@ GType spit_data_imports_importable_rating_get_type (void) {
* Describes how the on-screen publishing dialog box should look and behave when an associated
* pane is installed in the on-screen publishing dialog box.
*/
-GType spit_data_imports_dialog_pane_geometry_options_get_type (void) {
+GType
+spit_data_imports_dialog_pane_geometry_options_get_type (void)
+{
static volatile gsize spit_data_imports_dialog_pane_geometry_options_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_dialog_pane_geometry_options_type_id__volatile)) {
static const GEnumValue values[] = {{SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_NONE, "SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_NONE", "none"}, {SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE, "SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE", "extended-size"}, {SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE, "SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE", "resizable"}, {SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE, "SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE", "colossal-size"}, {0, NULL, NULL}};
@@ -950,12 +1080,14 @@ GType spit_data_imports_dialog_pane_geometry_options_get_type (void) {
/**
* Returns the Gtk.Widget that is this pane's on-screen representation.
*/
-GtkWidget* spit_data_imports_dialog_pane_get_widget (SpitDataImportsDialogPane* self) {
+GtkWidget*
+spit_data_imports_dialog_pane_get_widget (SpitDataImportsDialogPane* self)
+{
#line 204 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self), NULL);
#line 204 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->get_widget (self);
-#line 959 "DataImportsInterfaces.c"
+#line 1091 "DataImportsInterfaces.c"
}
@@ -963,12 +1095,14 @@ GtkWidget* spit_data_imports_dialog_pane_get_widget (SpitDataImportsDialogPane*
* Returns a {@link GeometryOptions} bitfield describing how the on-screen publishing dialog
* box should look and behave when this pane is installed.
*/
-SpitDataImportsDialogPaneGeometryOptions spit_data_imports_dialog_pane_get_preferred_geometry (SpitDataImportsDialogPane* self) {
+SpitDataImportsDialogPaneGeometryOptions
+spit_data_imports_dialog_pane_get_preferred_geometry (SpitDataImportsDialogPane* self)
+{
#line 210 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self), 0);
#line 210 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->get_preferred_geometry (self);
-#line 972 "DataImportsInterfaces.c"
+#line 1106 "DataImportsInterfaces.c"
}
@@ -976,12 +1110,14 @@ SpitDataImportsDialogPaneGeometryOptions spit_data_imports_dialog_pane_get_prefe
* Invoked automatically by Shotwell when this pane has been installed into the on-screen
* publishing dialog box and become visible to the user.
*/
-void spit_data_imports_dialog_pane_on_pane_installed (SpitDataImportsDialogPane* self) {
+void
+spit_data_imports_dialog_pane_on_pane_installed (SpitDataImportsDialogPane* self)
+{
#line 216 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 216 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->on_pane_installed (self);
-#line 985 "DataImportsInterfaces.c"
+#line 1121 "DataImportsInterfaces.c"
}
@@ -989,120 +1125,156 @@ void spit_data_imports_dialog_pane_on_pane_installed (SpitDataImportsDialogPane*
* Invoked automatically by Shotwell when this pane has been removed from the on-screen
* publishing dialog box and is no longer visible to the user.
*/
-void spit_data_imports_dialog_pane_on_pane_uninstalled (SpitDataImportsDialogPane* self) {
+void
+spit_data_imports_dialog_pane_on_pane_uninstalled (SpitDataImportsDialogPane* self)
+{
#line 222 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 222 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->on_pane_uninstalled (self);
-#line 998 "DataImportsInterfaces.c"
+#line 1136 "DataImportsInterfaces.c"
}
-static void spit_data_imports_dialog_pane_real_reserved0 (SpitDataImportsDialogPane* self) {
+static void
+spit_data_imports_dialog_pane_real_reserved0 (SpitDataImportsDialogPane* self)
+{
}
-void spit_data_imports_dialog_pane_reserved0 (SpitDataImportsDialogPane* self) {
+void
+spit_data_imports_dialog_pane_reserved0 (SpitDataImportsDialogPane* self)
+{
#line 227 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 227 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved0 (self);
-#line 1011 "DataImportsInterfaces.c"
+#line 1153 "DataImportsInterfaces.c"
}
-static void spit_data_imports_dialog_pane_real_reserved1 (SpitDataImportsDialogPane* self) {
+static void
+spit_data_imports_dialog_pane_real_reserved1 (SpitDataImportsDialogPane* self)
+{
}
-void spit_data_imports_dialog_pane_reserved1 (SpitDataImportsDialogPane* self) {
+void
+spit_data_imports_dialog_pane_reserved1 (SpitDataImportsDialogPane* self)
+{
#line 228 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 228 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved1 (self);
-#line 1024 "DataImportsInterfaces.c"
+#line 1170 "DataImportsInterfaces.c"
}
-static void spit_data_imports_dialog_pane_real_reserved2 (SpitDataImportsDialogPane* self) {
+static void
+spit_data_imports_dialog_pane_real_reserved2 (SpitDataImportsDialogPane* self)
+{
}
-void spit_data_imports_dialog_pane_reserved2 (SpitDataImportsDialogPane* self) {
+void
+spit_data_imports_dialog_pane_reserved2 (SpitDataImportsDialogPane* self)
+{
#line 229 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 229 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved2 (self);
-#line 1037 "DataImportsInterfaces.c"
+#line 1187 "DataImportsInterfaces.c"
}
-static void spit_data_imports_dialog_pane_real_reserved3 (SpitDataImportsDialogPane* self) {
+static void
+spit_data_imports_dialog_pane_real_reserved3 (SpitDataImportsDialogPane* self)
+{
}
-void spit_data_imports_dialog_pane_reserved3 (SpitDataImportsDialogPane* self) {
+void
+spit_data_imports_dialog_pane_reserved3 (SpitDataImportsDialogPane* self)
+{
#line 230 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 230 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved3 (self);
-#line 1050 "DataImportsInterfaces.c"
+#line 1204 "DataImportsInterfaces.c"
}
-static void spit_data_imports_dialog_pane_real_reserved4 (SpitDataImportsDialogPane* self) {
+static void
+spit_data_imports_dialog_pane_real_reserved4 (SpitDataImportsDialogPane* self)
+{
}
-void spit_data_imports_dialog_pane_reserved4 (SpitDataImportsDialogPane* self) {
+void
+spit_data_imports_dialog_pane_reserved4 (SpitDataImportsDialogPane* self)
+{
#line 231 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 231 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved4 (self);
-#line 1063 "DataImportsInterfaces.c"
+#line 1221 "DataImportsInterfaces.c"
}
-static void spit_data_imports_dialog_pane_real_reserved5 (SpitDataImportsDialogPane* self) {
+static void
+spit_data_imports_dialog_pane_real_reserved5 (SpitDataImportsDialogPane* self)
+{
}
-void spit_data_imports_dialog_pane_reserved5 (SpitDataImportsDialogPane* self) {
+void
+spit_data_imports_dialog_pane_reserved5 (SpitDataImportsDialogPane* self)
+{
#line 232 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 232 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved5 (self);
-#line 1076 "DataImportsInterfaces.c"
+#line 1238 "DataImportsInterfaces.c"
}
-static void spit_data_imports_dialog_pane_real_reserved6 (SpitDataImportsDialogPane* self) {
+static void
+spit_data_imports_dialog_pane_real_reserved6 (SpitDataImportsDialogPane* self)
+{
}
-void spit_data_imports_dialog_pane_reserved6 (SpitDataImportsDialogPane* self) {
+void
+spit_data_imports_dialog_pane_reserved6 (SpitDataImportsDialogPane* self)
+{
#line 233 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 233 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved6 (self);
-#line 1089 "DataImportsInterfaces.c"
+#line 1255 "DataImportsInterfaces.c"
}
-static void spit_data_imports_dialog_pane_real_reserved7 (SpitDataImportsDialogPane* self) {
+static void
+spit_data_imports_dialog_pane_real_reserved7 (SpitDataImportsDialogPane* self)
+{
}
-void spit_data_imports_dialog_pane_reserved7 (SpitDataImportsDialogPane* self) {
+void
+spit_data_imports_dialog_pane_reserved7 (SpitDataImportsDialogPane* self)
+{
#line 234 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (self));
#line 234 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_DIALOG_PANE_GET_INTERFACE (self)->reserved7 (self);
-#line 1102 "DataImportsInterfaces.c"
+#line 1272 "DataImportsInterfaces.c"
}
-static void spit_data_imports_dialog_pane_base_init (SpitDataImportsDialogPaneIface * iface) {
+static void
+spit_data_imports_dialog_pane_base_init (SpitDataImportsDialogPaneIface * iface)
+{
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
static gboolean initialized = FALSE;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
@@ -1125,7 +1297,7 @@ static void spit_data_imports_dialog_pane_base_init (SpitDataImportsDialogPaneIf
iface->reserved6 = spit_data_imports_dialog_pane_real_reserved6;
#line 167 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
iface->reserved7 = spit_data_imports_dialog_pane_real_reserved7;
-#line 1129 "DataImportsInterfaces.c"
+#line 1301 "DataImportsInterfaces.c"
}
}
@@ -1135,7 +1307,9 @@ static void spit_data_imports_dialog_pane_base_init (SpitDataImportsDialogPaneIf
* communicate status to and to get information from the user.
*
*/
-GType spit_data_imports_dialog_pane_get_type (void) {
+GType
+spit_data_imports_dialog_pane_get_type (void)
+{
static volatile gsize spit_data_imports_dialog_pane_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_dialog_pane_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsDialogPaneIface), (GBaseInitFunc) spit_data_imports_dialog_pane_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -1152,7 +1326,9 @@ GType spit_data_imports_dialog_pane_get_type (void) {
* Specifies the label text on the push button control that appears in the
* lower-right-hand corner of the on-screen publishing dialog box.
*/
-GType spit_data_imports_plugin_host_button_mode_get_type (void) {
+GType
+spit_data_imports_plugin_host_button_mode_get_type (void)
+{
static volatile gsize spit_data_imports_plugin_host_button_mode_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_plugin_host_button_mode_type_id__volatile)) {
static const GEnumValue values[] = {{SPIT_DATA_IMPORTS_PLUGIN_HOST_BUTTON_MODE_CLOSE, "SPIT_DATA_IMPORTS_PLUGIN_HOST_BUTTON_MODE_CLOSE", "close"}, {SPIT_DATA_IMPORTS_PLUGIN_HOST_BUTTON_MODE_CANCEL, "SPIT_DATA_IMPORTS_PLUGIN_HOST_BUTTON_MODE_CANCEL", "cancel"}, {0, NULL, NULL}};
@@ -1170,12 +1346,15 @@ GType spit_data_imports_plugin_host_button_mode_get_type (void) {
*
* @param err An error object that describes the kind of error that occurred.
*/
-void spit_data_imports_plugin_host_post_error (SpitDataImportsPluginHost* self, GError* err) {
+void
+spit_data_imports_plugin_host_post_error (SpitDataImportsPluginHost* self,
+ GError* err)
+{
#line 271 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 271 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->post_error (self, err);
-#line 1179 "DataImportsInterfaces.c"
+#line 1358 "DataImportsInterfaces.c"
}
@@ -1185,12 +1364,15 @@ void spit_data_imports_plugin_host_post_error (SpitDataImportsPluginHost* self,
*
* @param msg A message that describes the kind of error that occurred.
*/
-void spit_data_imports_plugin_host_post_error_message (SpitDataImportsPluginHost* self, const gchar* msg) {
+void
+spit_data_imports_plugin_host_post_error_message (SpitDataImportsPluginHost* self,
+ const gchar* msg)
+{
#line 279 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 279 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->post_error_message (self, msg);
-#line 1194 "DataImportsInterfaces.c"
+#line 1376 "DataImportsInterfaces.c"
}
@@ -1199,12 +1381,14 @@ void spit_data_imports_plugin_host_post_error_message (SpitDataImportsPluginHost
*
* Calling this method starts the import activity for this host.
*/
-void spit_data_imports_plugin_host_start_importing (SpitDataImportsPluginHost* self) {
+void
+spit_data_imports_plugin_host_start_importing (SpitDataImportsPluginHost* self)
+{
#line 286 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 286 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->start_importing (self);
-#line 1208 "DataImportsInterfaces.c"
+#line 1392 "DataImportsInterfaces.c"
}
@@ -1214,24 +1398,28 @@ void spit_data_imports_plugin_host_start_importing (SpitDataImportsPluginHost* s
* Calling this method stops all import activity and hides the on-screen import
* dialog box.
*/
-void spit_data_imports_plugin_host_stop_importing (SpitDataImportsPluginHost* self) {
+void
+spit_data_imports_plugin_host_stop_importing (SpitDataImportsPluginHost* self)
+{
#line 294 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 294 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->stop_importing (self);
-#line 1223 "DataImportsInterfaces.c"
+#line 1409 "DataImportsInterfaces.c"
}
/**
* Returns a reference to the {@link DataImporter} object that this is currently hosting.
*/
-SpitDataImportsDataImporter* spit_data_imports_plugin_host_get_data_importer (SpitDataImportsPluginHost* self) {
+SpitDataImportsDataImporter*
+spit_data_imports_plugin_host_get_data_importer (SpitDataImportsPluginHost* self)
+{
#line 299 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self), NULL);
#line 299 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->get_data_importer (self);
-#line 1235 "DataImportsInterfaces.c"
+#line 1423 "DataImportsInterfaces.c"
}
@@ -1253,12 +1441,16 @@ SpitDataImportsDataImporter* spit_data_imports_plugin_host_get_data_importer (Sp
* should be ButtonMode.CLOSE, because all cancellable actions have already
* occurred.
*/
-void spit_data_imports_plugin_host_install_dialog_pane (SpitDataImportsPluginHost* self, SpitDataImportsDialogPane* pane, SpitDataImportsPluginHostButtonMode mode) {
+void
+spit_data_imports_plugin_host_install_dialog_pane (SpitDataImportsPluginHost* self,
+ SpitDataImportsDialogPane* pane,
+ SpitDataImportsPluginHostButtonMode mode)
+{
#line 319 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 319 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->install_dialog_pane (self, pane, mode);
-#line 1262 "DataImportsInterfaces.c"
+#line 1454 "DataImportsInterfaces.c"
}
@@ -1288,12 +1480,16 @@ void spit_data_imports_plugin_host_install_dialog_pane (SpitDataImportsPluginHos
* should be ButtonMode.CLOSE, because all cancellable actions have already
* occurred.
*/
-void spit_data_imports_plugin_host_install_static_message_pane (SpitDataImportsPluginHost* self, const gchar* message, SpitDataImportsPluginHostButtonMode mode) {
+void
+spit_data_imports_plugin_host_install_static_message_pane (SpitDataImportsPluginHost* self,
+ const gchar* message,
+ SpitDataImportsPluginHostButtonMode mode)
+{
#line 348 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 348 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->install_static_message_pane (self, message, mode);
-#line 1297 "DataImportsInterfaces.c"
+#line 1493 "DataImportsInterfaces.c"
}
@@ -1317,12 +1513,18 @@ void spit_data_imports_plugin_host_install_static_message_pane (SpitDataImportsP
* option. If this label is null, the
* user will not be presented with a file selection option.
*/
-void spit_data_imports_plugin_host_install_library_selection_pane (SpitDataImportsPluginHost* self, const gchar* welcome_message, SpitDataImportsImportableLibrary** discovered_libraries, int discovered_libraries_length1, const gchar* file_select_label) {
+void
+spit_data_imports_plugin_host_install_library_selection_pane (SpitDataImportsPluginHost* self,
+ const gchar* welcome_message,
+ SpitDataImportsImportableLibrary** discovered_libraries,
+ int discovered_libraries_length1,
+ const gchar* file_select_label)
+{
#line 371 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 371 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->install_library_selection_pane (self, welcome_message, discovered_libraries, discovered_libraries_length1, file_select_label);
-#line 1326 "DataImportsInterfaces.c"
+#line 1528 "DataImportsInterfaces.c"
}
@@ -1334,12 +1536,15 @@ void spit_data_imports_plugin_host_install_library_selection_pane (SpitDataImpor
*
* @param message the text to be displayed above the progress bar.
*/
-void spit_data_imports_plugin_host_install_import_progress_pane (SpitDataImportsPluginHost* self, const gchar* message) {
+void
+spit_data_imports_plugin_host_install_import_progress_pane (SpitDataImportsPluginHost* self,
+ const gchar* message)
+{
#line 385 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 385 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->install_import_progress_pane (self, message);
-#line 1343 "DataImportsInterfaces.c"
+#line 1548 "DataImportsInterfaces.c"
}
@@ -1354,12 +1559,16 @@ void spit_data_imports_plugin_host_install_import_progress_pane (SpitDataImports
* @param progress_label the text to be displayed below the progress bar. If that
* parameter is null, the message will be left unchanged.
*/
-void spit_data_imports_plugin_host_update_import_progress_pane (SpitDataImportsPluginHost* self, gdouble progress, const gchar* progress_message) {
+void
+spit_data_imports_plugin_host_update_import_progress_pane (SpitDataImportsPluginHost* self,
+ gdouble progress,
+ const gchar* progress_message)
+{
#line 400 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 400 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->update_import_progress_pane (self, progress, progress_message);
-#line 1363 "DataImportsInterfaces.c"
+#line 1572 "DataImportsInterfaces.c"
}
@@ -1382,12 +1591,19 @@ void spit_data_imports_plugin_host_update_import_progress_pane (SpitDataImportsP
* @param progress_message the text to be displayed below the progress bar. If that
* parameter is null, the message will be left unchanged.
*/
-void spit_data_imports_plugin_host_prepare_media_items_for_import (SpitDataImportsPluginHost* self, SpitDataImportsImportableMediaItem** items, int items_length1, gdouble progress, gdouble host_progress_delta, const gchar* progress_message) {
+void
+spit_data_imports_plugin_host_prepare_media_items_for_import (SpitDataImportsPluginHost* self,
+ SpitDataImportsImportableMediaItem** items,
+ int items_length1,
+ gdouble progress,
+ gdouble host_progress_delta,
+ const gchar* progress_message)
+{
#line 424 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 424 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->prepare_media_items_for_import (self, items, items_length1, progress, host_progress_delta, progress_message);
-#line 1391 "DataImportsInterfaces.c"
+#line 1607 "DataImportsInterfaces.c"
}
@@ -1407,120 +1623,159 @@ void spit_data_imports_plugin_host_prepare_media_items_for_import (SpitDataImpor
* @param finalize_message the text to be displayed below the progress bar. If that
* parameter is null, the message will be left unchanged.
*/
-void spit_data_imports_plugin_host_finalize_import (SpitDataImportsPluginHost* self, SpitDataImportsImportedItemsCountCallback report_imported_items_count, void* report_imported_items_count_target, const gchar* finalize_message) {
+void
+spit_data_imports_plugin_host_finalize_import (SpitDataImportsPluginHost* self,
+ SpitDataImportsImportedItemsCountCallback report_imported_items_count,
+ void* report_imported_items_count_target,
+ const gchar* finalize_message)
+{
#line 447 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 447 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->finalize_import (self, report_imported_items_count, report_imported_items_count_target, finalize_message);
-#line 1416 "DataImportsInterfaces.c"
+#line 1637 "DataImportsInterfaces.c"
}
-static void spit_data_imports_plugin_host_real_reserved0 (SpitDataImportsPluginHost* self) {
+static void
+spit_data_imports_plugin_host_real_reserved0 (SpitDataImportsPluginHost* self)
+{
}
-void spit_data_imports_plugin_host_reserved0 (SpitDataImportsPluginHost* self) {
+void
+spit_data_imports_plugin_host_reserved0 (SpitDataImportsPluginHost* self)
+{
#line 455 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 455 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved0 (self);
-#line 1429 "DataImportsInterfaces.c"
+#line 1654 "DataImportsInterfaces.c"
}
-static void spit_data_imports_plugin_host_real_reserved1 (SpitDataImportsPluginHost* self) {
+static void
+spit_data_imports_plugin_host_real_reserved1 (SpitDataImportsPluginHost* self)
+{
}
-void spit_data_imports_plugin_host_reserved1 (SpitDataImportsPluginHost* self) {
+void
+spit_data_imports_plugin_host_reserved1 (SpitDataImportsPluginHost* self)
+{
#line 456 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 456 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved1 (self);
-#line 1442 "DataImportsInterfaces.c"
+#line 1671 "DataImportsInterfaces.c"
}
-static void spit_data_imports_plugin_host_real_reserved2 (SpitDataImportsPluginHost* self) {
+static void
+spit_data_imports_plugin_host_real_reserved2 (SpitDataImportsPluginHost* self)
+{
}
-void spit_data_imports_plugin_host_reserved2 (SpitDataImportsPluginHost* self) {
+void
+spit_data_imports_plugin_host_reserved2 (SpitDataImportsPluginHost* self)
+{
#line 457 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 457 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved2 (self);
-#line 1455 "DataImportsInterfaces.c"
+#line 1688 "DataImportsInterfaces.c"
}
-static void spit_data_imports_plugin_host_real_reserved3 (SpitDataImportsPluginHost* self) {
+static void
+spit_data_imports_plugin_host_real_reserved3 (SpitDataImportsPluginHost* self)
+{
}
-void spit_data_imports_plugin_host_reserved3 (SpitDataImportsPluginHost* self) {
+void
+spit_data_imports_plugin_host_reserved3 (SpitDataImportsPluginHost* self)
+{
#line 458 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 458 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved3 (self);
-#line 1468 "DataImportsInterfaces.c"
+#line 1705 "DataImportsInterfaces.c"
}
-static void spit_data_imports_plugin_host_real_reserved4 (SpitDataImportsPluginHost* self) {
+static void
+spit_data_imports_plugin_host_real_reserved4 (SpitDataImportsPluginHost* self)
+{
}
-void spit_data_imports_plugin_host_reserved4 (SpitDataImportsPluginHost* self) {
+void
+spit_data_imports_plugin_host_reserved4 (SpitDataImportsPluginHost* self)
+{
#line 459 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 459 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved4 (self);
-#line 1481 "DataImportsInterfaces.c"
+#line 1722 "DataImportsInterfaces.c"
}
-static void spit_data_imports_plugin_host_real_reserved5 (SpitDataImportsPluginHost* self) {
+static void
+spit_data_imports_plugin_host_real_reserved5 (SpitDataImportsPluginHost* self)
+{
}
-void spit_data_imports_plugin_host_reserved5 (SpitDataImportsPluginHost* self) {
+void
+spit_data_imports_plugin_host_reserved5 (SpitDataImportsPluginHost* self)
+{
#line 460 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 460 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved5 (self);
-#line 1494 "DataImportsInterfaces.c"
+#line 1739 "DataImportsInterfaces.c"
}
-static void spit_data_imports_plugin_host_real_reserved6 (SpitDataImportsPluginHost* self) {
+static void
+spit_data_imports_plugin_host_real_reserved6 (SpitDataImportsPluginHost* self)
+{
}
-void spit_data_imports_plugin_host_reserved6 (SpitDataImportsPluginHost* self) {
+void
+spit_data_imports_plugin_host_reserved6 (SpitDataImportsPluginHost* self)
+{
#line 461 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 461 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved6 (self);
-#line 1507 "DataImportsInterfaces.c"
+#line 1756 "DataImportsInterfaces.c"
}
-static void spit_data_imports_plugin_host_real_reserved7 (SpitDataImportsPluginHost* self) {
+static void
+spit_data_imports_plugin_host_real_reserved7 (SpitDataImportsPluginHost* self)
+{
}
-void spit_data_imports_plugin_host_reserved7 (SpitDataImportsPluginHost* self) {
+void
+spit_data_imports_plugin_host_reserved7 (SpitDataImportsPluginHost* self)
+{
#line 462 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (self));
#line 462 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_PLUGIN_HOST_GET_INTERFACE (self)->reserved7 (self);
-#line 1520 "DataImportsInterfaces.c"
+#line 1773 "DataImportsInterfaces.c"
}
-static void spit_data_imports_plugin_host_base_init (SpitDataImportsPluginHostIface * iface) {
+static void
+spit_data_imports_plugin_host_base_init (SpitDataImportsPluginHostIface * iface)
+{
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
static gboolean initialized = FALSE;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
@@ -1543,7 +1798,7 @@ static void spit_data_imports_plugin_host_base_init (SpitDataImportsPluginHostIf
iface->reserved6 = spit_data_imports_plugin_host_real_reserved6;
#line 254 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
iface->reserved7 = spit_data_imports_plugin_host_real_reserved7;
-#line 1547 "DataImportsInterfaces.c"
+#line 1802 "DataImportsInterfaces.c"
}
}
@@ -1557,7 +1812,9 @@ static void spit_data_imports_plugin_host_base_init (SpitDataImportsPluginHostIf
* {@link DataImporter} is in the running state. This ensures that non-running data importers
* don’t destructively interfere with the actively running importer.
*/
-GType spit_data_imports_plugin_host_get_type (void) {
+GType
+spit_data_imports_plugin_host_get_type (void)
+{
static volatile gsize spit_data_imports_plugin_host_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_plugin_host_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsPluginHostIface), (GBaseInitFunc) spit_data_imports_plugin_host_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -1575,120 +1832,157 @@ GType spit_data_imports_plugin_host_get_type (void) {
* A factory method that instantiates and returns a new {@link DataImporter} object
* that this Service describes.
*/
-SpitDataImportsDataImporter* spit_data_imports_service_create_data_importer (SpitDataImportsService* self, SpitDataImportsPluginHost* host) {
+SpitDataImportsDataImporter*
+spit_data_imports_service_create_data_importer (SpitDataImportsService* self,
+ SpitDataImportsPluginHost* host)
+{
#line 475 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self), NULL);
#line 475 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
return SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->create_data_importer (self, host);
-#line 1584 "DataImportsInterfaces.c"
+#line 1844 "DataImportsInterfaces.c"
}
-static void spit_data_imports_service_real_reserved0 (SpitDataImportsService* self) {
+static void
+spit_data_imports_service_real_reserved0 (SpitDataImportsService* self)
+{
}
-void spit_data_imports_service_reserved0 (SpitDataImportsService* self) {
+void
+spit_data_imports_service_reserved0 (SpitDataImportsService* self)
+{
#line 480 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 480 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved0 (self);
-#line 1597 "DataImportsInterfaces.c"
+#line 1861 "DataImportsInterfaces.c"
}
-static void spit_data_imports_service_real_reserved1 (SpitDataImportsService* self) {
+static void
+spit_data_imports_service_real_reserved1 (SpitDataImportsService* self)
+{
}
-void spit_data_imports_service_reserved1 (SpitDataImportsService* self) {
+void
+spit_data_imports_service_reserved1 (SpitDataImportsService* self)
+{
#line 481 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 481 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved1 (self);
-#line 1610 "DataImportsInterfaces.c"
+#line 1878 "DataImportsInterfaces.c"
}
-static void spit_data_imports_service_real_reserved2 (SpitDataImportsService* self) {
+static void
+spit_data_imports_service_real_reserved2 (SpitDataImportsService* self)
+{
}
-void spit_data_imports_service_reserved2 (SpitDataImportsService* self) {
+void
+spit_data_imports_service_reserved2 (SpitDataImportsService* self)
+{
#line 482 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 482 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved2 (self);
-#line 1623 "DataImportsInterfaces.c"
+#line 1895 "DataImportsInterfaces.c"
}
-static void spit_data_imports_service_real_reserved3 (SpitDataImportsService* self) {
+static void
+spit_data_imports_service_real_reserved3 (SpitDataImportsService* self)
+{
}
-void spit_data_imports_service_reserved3 (SpitDataImportsService* self) {
+void
+spit_data_imports_service_reserved3 (SpitDataImportsService* self)
+{
#line 483 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 483 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved3 (self);
-#line 1636 "DataImportsInterfaces.c"
+#line 1912 "DataImportsInterfaces.c"
}
-static void spit_data_imports_service_real_reserved4 (SpitDataImportsService* self) {
+static void
+spit_data_imports_service_real_reserved4 (SpitDataImportsService* self)
+{
}
-void spit_data_imports_service_reserved4 (SpitDataImportsService* self) {
+void
+spit_data_imports_service_reserved4 (SpitDataImportsService* self)
+{
#line 484 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 484 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved4 (self);
-#line 1649 "DataImportsInterfaces.c"
+#line 1929 "DataImportsInterfaces.c"
}
-static void spit_data_imports_service_real_reserved5 (SpitDataImportsService* self) {
+static void
+spit_data_imports_service_real_reserved5 (SpitDataImportsService* self)
+{
}
-void spit_data_imports_service_reserved5 (SpitDataImportsService* self) {
+void
+spit_data_imports_service_reserved5 (SpitDataImportsService* self)
+{
#line 485 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 485 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved5 (self);
-#line 1662 "DataImportsInterfaces.c"
+#line 1946 "DataImportsInterfaces.c"
}
-static void spit_data_imports_service_real_reserved6 (SpitDataImportsService* self) {
+static void
+spit_data_imports_service_real_reserved6 (SpitDataImportsService* self)
+{
}
-void spit_data_imports_service_reserved6 (SpitDataImportsService* self) {
+void
+spit_data_imports_service_reserved6 (SpitDataImportsService* self)
+{
#line 486 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 486 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved6 (self);
-#line 1675 "DataImportsInterfaces.c"
+#line 1963 "DataImportsInterfaces.c"
}
-static void spit_data_imports_service_real_reserved7 (SpitDataImportsService* self) {
+static void
+spit_data_imports_service_real_reserved7 (SpitDataImportsService* self)
+{
}
-void spit_data_imports_service_reserved7 (SpitDataImportsService* self) {
+void
+spit_data_imports_service_reserved7 (SpitDataImportsService* self)
+{
#line 487 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
g_return_if_fail (SPIT_DATA_IMPORTS_IS_SERVICE (self));
#line 487 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
SPIT_DATA_IMPORTS_SERVICE_GET_INTERFACE (self)->reserved7 (self);
-#line 1688 "DataImportsInterfaces.c"
+#line 1980 "DataImportsInterfaces.c"
}
-static void spit_data_imports_service_base_init (SpitDataImportsServiceIface * iface) {
+static void
+spit_data_imports_service_base_init (SpitDataImportsServiceIface * iface)
+{
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
static gboolean initialized = FALSE;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
@@ -1711,7 +2005,7 @@ static void spit_data_imports_service_base_init (SpitDataImportsServiceIface * i
iface->reserved6 = spit_data_imports_service_real_reserved6;
#line 470 "/home/jens/Source/shotwell/src/plugins/DataImportsInterfaces.vala"
iface->reserved7 = spit_data_imports_service_real_reserved7;
-#line 1715 "DataImportsInterfaces.c"
+#line 2009 "DataImportsInterfaces.c"
}
}
@@ -1721,7 +2015,9 @@ static void spit_data_imports_service_base_init (SpitDataImportsServiceIface * i
*
* Developers of data import plugins provide a class that implements this interface.
*/
-GType spit_data_imports_service_get_type (void) {
+GType
+spit_data_imports_service_get_type (void)
+{
static volatile gsize spit_data_imports_service_type_id__volatile = 0;
if (g_once_init_enter (&spit_data_imports_service_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitDataImportsServiceIface), (GBaseInitFunc) spit_data_imports_service_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
diff --git a/src/plugins/ManifestWidget.c b/src/plugins/ManifestWidget.c
index dc9624f..e5bad34 100644
--- a/src/plugins/ManifestWidget.c
+++ b/src/plugins/ManifestWidget.c
@@ -1,4 +1,4 @@
-/* ManifestWidget.c generated by valac 0.36.6, the Vala compiler
+/* ManifestWidget.c generated by valac 0.40.4, the Vala compiler
* generated from ManifestWidget.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 <gtk/gtk.h>
@@ -39,9 +40,19 @@ typedef struct _PluginsManifestWidgetMediatorPrivate PluginsManifestWidgetMediat
typedef struct _PluginsManifestListView PluginsManifestListView;
typedef struct _PluginsManifestListViewClass PluginsManifestListViewClass;
+enum {
+ PLUGINS_MANIFEST_WIDGET_MEDIATOR_0_PROPERTY,
+ PLUGINS_MANIFEST_WIDGET_MEDIATOR_NUM_PROPERTIES
+};
+static GParamSpec* plugins_manifest_widget_mediator_properties[PLUGINS_MANIFEST_WIDGET_MEDIATOR_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _PluginsManifestListViewPrivate PluginsManifestListViewPrivate;
+enum {
+ PLUGINS_MANIFEST_LIST_VIEW_0_PROPERTY,
+ PLUGINS_MANIFEST_LIST_VIEW_NUM_PROPERTIES
+};
+static GParamSpec* plugins_manifest_list_view_properties[PLUGINS_MANIFEST_LIST_VIEW_NUM_PROPERTIES];
#define PLUGINS_MANIFEST_LIST_VIEW_TYPE_COLUMN (plugins_manifest_list_view_column_get_type ())
@@ -57,8 +68,8 @@ typedef struct _PluginsExtensionPointClass PluginsExtensionPointClass;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _gtk_icon_info_free0(var) ((var == NULL) ? NULL : (var = (gtk_icon_info_free (var), NULL)))
#define _plugins_extension_point_unref0(var) ((var == NULL) ? NULL : (var = (plugins_extension_point_unref (var), NULL)))
-#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))
-#define __g_list_free__gtk_tree_path_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__gtk_tree_path_free0_ (var), NULL)))
+#define __vala_GtkTreePath_free0(var) ((var == NULL) ? NULL : (var = (_vala_GtkTreePath_free (var), NULL)))
+#define __g_list_free___vala_GtkTreePath_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free___vala_GtkTreePath_free0_ (var), NULL)))
struct _PluginsManifestWidgetMediator {
GtkBox parent_instance;
@@ -104,31 +115,33 @@ static gpointer plugins_manifest_list_view_parent_class = NULL;
GType plugins_manifest_widget_mediator_get_type (void) G_GNUC_CONST;
GType plugins_manifest_list_view_get_type (void) G_GNUC_CONST;
#define PLUGINS_MANIFEST_WIDGET_MEDIATOR_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR, PluginsManifestWidgetMediatorPrivate))
-enum {
- PLUGINS_MANIFEST_WIDGET_MEDIATOR_DUMMY_PROPERTY
-};
PluginsManifestListView* plugins_manifest_list_view_new (void);
PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type);
PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_new (void);
PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_construct (GType object_type);
static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMediator* self);
-static void _plugins_manifest_widget_mediator_on_about_gtk_button_clicked (GtkButton* _sender, gpointer self);
+static void _plugins_manifest_widget_mediator_on_about_gtk_button_clicked (GtkButton* _sender,
+ gpointer self);
static void plugins_manifest_widget_mediator_on_selection_changed (PluginsManifestWidgetMediator* self);
-static void _plugins_manifest_widget_mediator_on_selection_changed_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self);
+static void _plugins_manifest_widget_mediator_on_selection_changed_gtk_tree_selection_changed (GtkTreeSelection* _sender,
+ gpointer self);
static void plugins_manifest_widget_mediator_set_about_button_sensitivity (PluginsManifestWidgetMediator* self);
-gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* self, int* result_length1);
-gboolean plugins_get_pluggable_info (const gchar* id, SpitPluggableInfo* info);
+gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* self,
+ int* result_length1);
+gboolean plugins_get_pluggable_info (const gchar* id,
+ SpitPluggableInfo* info);
gboolean is_string_empty (const gchar* s);
-static void _vala_array_add52 (gchar** * array, int* length, int* size, gchar* value);
-GdkPixbuf* resources_get_icon (const gchar* name, gint scale);
+static void _vala_array_add52 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value);
+GdkPixbuf* resources_get_icon (const gchar* name,
+ gint scale);
#define RESOURCES_ICON_GENERIC_PLUGIN "generic-plugin.png"
#define RESOURCES_DEFAULT_ICON_SCALE 24
gchar* plugins_get_pluggable_name (const gchar* id);
static void plugins_manifest_widget_mediator_finalize (GObject * obj);
#define PLUGINS_MANIFEST_LIST_VIEW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PLUGINS_TYPE_MANIFEST_LIST_VIEW, PluginsManifestListViewPrivate))
-enum {
- PLUGINS_MANIFEST_LIST_VIEW_DUMMY_PROPERTY
-};
static GType plugins_manifest_list_view_column_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
#define PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE 24
#define PLUGINS_MANIFEST_LIST_VIEW_ICON_X_PADDING 6
@@ -136,48 +149,88 @@ static GType plugins_manifest_list_view_column_get_type (void) G_GNUC_CONST G_GN
GtkIconTheme* resources_get_icon_theme_engine (void);
gpointer plugins_extension_point_ref (gpointer instance);
void plugins_extension_point_unref (gpointer instance);
-GParamSpec* plugins_param_spec_extension_point (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void plugins_value_set_extension_point (GValue* value, gpointer v_object);
-void plugins_value_take_extension_point (GValue* value, gpointer v_object);
+GParamSpec* plugins_param_spec_extension_point (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void plugins_value_set_extension_point (GValue* value,
+ gpointer v_object);
+void plugins_value_take_extension_point (GValue* value,
+ gpointer v_object);
gpointer plugins_value_get_extension_point (const GValue* value);
GType plugins_extension_point_get_type (void) G_GNUC_CONST;
-GeeCollection* plugins_get_extension_points (GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify);
-gint plugins_compare_extension_point_names (void* a, void* b);
-static gint _plugins_compare_extension_point_names_gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self);
+GeeCollection* plugins_get_extension_points (GCompareDataFunc compare_func,
+ void* compare_func_target,
+ GDestroyNotify compare_func_target_destroy_notify);
+gint plugins_compare_extension_point_names (void* a,
+ void* b);
+static gint _plugins_compare_extension_point_names_gcompare_data_func (gconstpointer a,
+ gconstpointer b,
+ gpointer self);
const gchar* plugins_extension_point_get_icon_name (PluginsExtensionPoint* self);
const gchar* plugins_extension_point_get_name (PluginsExtensionPoint* self);
-GeeCollection* plugins_get_pluggables_for_type (GType type, GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify, gboolean include_disabled);
+GeeCollection* plugins_get_pluggables_for_type (GType type,
+ GCompareDataFunc compare_func,
+ void* compare_func_target,
+ GDestroyNotify compare_func_target_destroy_notify,
+ gboolean include_disabled);
GType plugins_extension_point_get_pluggable_type (PluginsExtensionPoint* self);
-gint plugins_compare_pluggable_names (void* a, void* b);
-static gint _plugins_compare_pluggable_names_gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self);
-gboolean plugins_get_pluggable_enabled (const gchar* id, gboolean* enabled);
-static gchar* plugins_manifest_list_view_get_id_at_path (PluginsManifestListView* self, GtkTreePath* path, GtkTreeIter* iter);
-static void _vala_array_add53 (gchar** * array, int* length, int* size, gchar* value);
-static void _gtk_tree_path_free0_ (gpointer var);
-static void _g_list_free__gtk_tree_path_free0_ (GList* self);
-static gboolean plugins_manifest_list_view_real_button_press_event (GtkWidget* base, GdkEventButton* event);
-void plugins_set_pluggable_enabled (const gchar* id, gboolean enabled);
+gint plugins_compare_pluggable_names (void* a,
+ void* b);
+static gint _plugins_compare_pluggable_names_gcompare_data_func (gconstpointer a,
+ gconstpointer b,
+ gpointer self);
+gboolean plugins_get_pluggable_enabled (const gchar* id,
+ gboolean* enabled);
+static GtkTreePath* _vala_GtkTreePath_copy (GtkTreePath* self);
+static gchar* plugins_manifest_list_view_get_id_at_path (PluginsManifestListView* self,
+ GtkTreePath* path,
+ GtkTreeIter* iter);
+static void _vala_array_add53 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value);
+static void _vala_GtkTreePath_free (GtkTreePath* self);
+static void __vala_GtkTreePath_free0_ (gpointer var);
+static inline void _g_list_free___vala_GtkTreePath_free0_ (GList* self);
+static gboolean plugins_manifest_list_view_real_button_press_event (GtkWidget* base,
+ GdkEventButton* event);
+void plugins_set_pluggable_enabled (const gchar* id,
+ gboolean enabled);
static void plugins_manifest_list_view_finalize (GObject * 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);
+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 gint _vala_array_length (gpointer array);
-static void _plugins_manifest_widget_mediator_on_about_gtk_button_clicked (GtkButton* _sender, gpointer self) {
+static void
+_plugins_manifest_widget_mediator_on_about_gtk_button_clicked (GtkButton* _sender,
+ gpointer self)
+{
#line 25 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_widget_mediator_on_about ((PluginsManifestWidgetMediator*) self);
-#line 170 "ManifestWidget.c"
+#line 218 "ManifestWidget.c"
}
-static void _plugins_manifest_widget_mediator_on_selection_changed_gtk_tree_selection_changed (GtkTreeSelection* _sender, gpointer self) {
+static void
+_plugins_manifest_widget_mediator_on_selection_changed_gtk_tree_selection_changed (GtkTreeSelection* _sender,
+ gpointer self)
+{
#line 26 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_widget_mediator_on_selection_changed ((PluginsManifestWidgetMediator*) self);
-#line 177 "ManifestWidget.c"
+#line 228 "ManifestWidget.c"
}
-PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_construct (GType object_type) {
+PluginsManifestWidgetMediator*
+plugins_manifest_widget_mediator_construct (GType object_type)
+{
PluginsManifestWidgetMediator * self = NULL;
GtkScrolledWindow* _tmp0_;
PluginsManifestListView* _tmp1_;
@@ -206,65 +259,78 @@ PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_construct (GType
plugins_manifest_widget_mediator_set_about_button_sensitivity (self);
#line 20 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return self;
-#line 210 "ManifestWidget.c"
+#line 263 "ManifestWidget.c"
}
-PluginsManifestWidgetMediator* plugins_manifest_widget_mediator_new (void) {
+PluginsManifestWidgetMediator*
+plugins_manifest_widget_mediator_new (void)
+{
#line 20 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return plugins_manifest_widget_mediator_construct (PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR);
-#line 217 "ManifestWidget.c"
+#line 272 "ManifestWidget.c"
}
-static gchar* string_strip (const gchar* self) {
+static gchar*
+string_strip (const gchar* self)
+{
gchar* result = NULL;
gchar* _result_ = NULL;
gchar* _tmp0_;
const gchar* _tmp1_;
-#line 1234 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1248 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1235 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1249 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1235 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1249 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1236 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1250 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1236 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1250 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1237 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1251 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
result = _result_;
-#line 1237 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
+#line 1251 "/usr/share/vala-0.40/vapi/glib-2.0.vapi"
return result;
-#line 240 "ManifestWidget.c"
+#line 297 "ManifestWidget.c"
}
-static void _vala_array_add52 (gchar** * array, int* length, int* size, gchar* value) {
+static void
+_vala_array_add52 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value)
+{
#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if ((*length) == (*size)) {
#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*array = g_renew (gchar*, *array, (*size) + 1);
-#line 251 "ManifestWidget.c"
+#line 313 "ManifestWidget.c"
}
#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
(*array)[(*length)++] = value;
#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
(*array)[*length] = NULL;
-#line 257 "ManifestWidget.c"
+#line 319 "ManifestWidget.c"
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return self ? g_object_ref (self) : NULL;
-#line 264 "ManifestWidget.c"
+#line 328 "ManifestWidget.c"
}
-static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMediator* self) {
+static void
+plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMediator* self)
+{
gchar** ids = NULL;
PluginsManifestListView* _tmp0_;
gint _tmp1_;
@@ -287,46 +353,46 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
SpitPluggableInfo _tmp10_;
const gchar* _tmp11_;
GtkAboutDialog* about_dialog = NULL;
+ GtkAboutDialog* _tmp30_;
GtkAboutDialog* _tmp31_;
- GtkAboutDialog* _tmp32_;
- gchar** _tmp33_;
- gint _tmp33__length1;
- GtkAboutDialog* _tmp34_;
- SpitPluggableInfo _tmp35_;
- const gchar* _tmp36_;
- GtkAboutDialog* _tmp37_;
- SpitPluggableInfo _tmp38_;
- const gchar* _tmp39_;
- GtkAboutDialog* _tmp40_;
- SpitPluggableInfo _tmp41_;
- const gchar* _tmp42_;
- GtkAboutDialog* _tmp43_;
- SpitPluggableInfo _tmp44_;
- gboolean _tmp45_;
- GdkPixbuf* _tmp46_ = NULL;
- gboolean _tmp47_ = FALSE;
- SpitPluggableInfo _tmp48_;
- GdkPixbuf** _tmp49_;
- gint _tmp49__length1;
+ gchar** _tmp32_;
+ gint _tmp32__length1;
+ GtkAboutDialog* _tmp33_;
+ SpitPluggableInfo _tmp34_;
+ const gchar* _tmp35_;
+ GtkAboutDialog* _tmp36_;
+ SpitPluggableInfo _tmp37_;
+ const gchar* _tmp38_;
+ GtkAboutDialog* _tmp39_;
+ SpitPluggableInfo _tmp40_;
+ const gchar* _tmp41_;
+ GtkAboutDialog* _tmp42_;
+ SpitPluggableInfo _tmp43_;
+ gboolean _tmp44_;
+ GdkPixbuf* _tmp45_ = NULL;
+ gboolean _tmp46_ = FALSE;
+ SpitPluggableInfo _tmp47_;
+ GdkPixbuf** _tmp48_;
+ gint _tmp48__length1;
+ GtkAboutDialog* _tmp56_;
GtkAboutDialog* _tmp57_;
- GtkAboutDialog* _tmp58_;
- const gchar* _tmp59_;
+ const gchar* _tmp58_;
+ gchar* _tmp59_;
gchar* _tmp60_;
- gchar* _tmp61_;
- GtkAboutDialog* _tmp62_;
- SpitPluggableInfo _tmp63_;
- const gchar* _tmp64_;
- GtkAboutDialog* _tmp65_;
- SpitPluggableInfo _tmp66_;
- const gchar* _tmp67_;
- GtkAboutDialog* _tmp68_;
- SpitPluggableInfo _tmp69_;
- const gchar* _tmp70_;
- GtkAboutDialog* _tmp71_;
- SpitPluggableInfo _tmp72_;
- const gchar* _tmp73_;
+ GtkAboutDialog* _tmp61_;
+ SpitPluggableInfo _tmp62_;
+ const gchar* _tmp63_;
+ GtkAboutDialog* _tmp64_;
+ SpitPluggableInfo _tmp65_;
+ const gchar* _tmp66_;
+ GtkAboutDialog* _tmp67_;
+ SpitPluggableInfo _tmp68_;
+ const gchar* _tmp69_;
+ GtkAboutDialog* _tmp70_;
+ SpitPluggableInfo _tmp71_;
+ const gchar* _tmp72_;
+ GtkAboutDialog* _tmp73_;
GtkAboutDialog* _tmp74_;
- GtkAboutDialog* _tmp75_;
#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_if_fail (PLUGINS_IS_MANIFEST_WIDGET_MEDIATOR (self));
#line 32 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
@@ -349,7 +415,7 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
ids = (_vala_array_free (ids, ids_length1, (GDestroyNotify) g_free), NULL);
#line 34 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return;
-#line 353 "ManifestWidget.c"
+#line 419 "ManifestWidget.c"
}
#line 36 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp4_ = ids;
@@ -369,7 +435,7 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
_tmp8_ = plugins_get_pluggable_info (_tmp7_, &info);
#line 39 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp8_) {
-#line 373 "ManifestWidget.c"
+#line 439 "ManifestWidget.c"
const gchar* _tmp9_;
#line 40 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp9_ = id;
@@ -383,7 +449,7 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
ids = (_vala_array_free (ids, ids_length1, (GDestroyNotify) g_free), NULL);
#line 42 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return;
-#line 387 "ManifestWidget.c"
+#line 453 "ManifestWidget.c"
}
#line 47 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
authors = NULL;
@@ -397,7 +463,7 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
_tmp11_ = _tmp10_.authors;
#line 48 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp11_ != NULL) {
-#line 401 "ManifestWidget.c"
+#line 467 "ManifestWidget.c"
gchar** split = NULL;
SpitPluggableInfo _tmp12_;
const gchar* _tmp13_;
@@ -417,19 +483,19 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
split_length1 = _vala_array_length (_tmp14_);
#line 49 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_split_size_ = split_length1;
-#line 421 "ManifestWidget.c"
+#line 487 "ManifestWidget.c"
{
gint ctr = 0;
#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ctr = 0;
-#line 426 "ManifestWidget.c"
+#line 492 "ManifestWidget.c"
{
gboolean _tmp16_ = FALSE;
#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp16_ = TRUE;
#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
while (TRUE) {
-#line 433 "ManifestWidget.c"
+#line 499 "ManifestWidget.c"
gint _tmp18_;
gchar** _tmp19_;
gint _tmp19__length1;
@@ -440,16 +506,15 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
const gchar* _tmp22_;
gchar* _tmp23_;
const gchar* _tmp24_;
- gboolean _tmp25_;
#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (!_tmp16_) {
-#line 447 "ManifestWidget.c"
+#line 512 "ManifestWidget.c"
gint _tmp17_;
#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp17_ = ctr;
#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ctr = _tmp17_ + 1;
-#line 453 "ManifestWidget.c"
+#line 518 "ManifestWidget.c"
}
#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp16_ = FALSE;
@@ -463,7 +528,7 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
if (!(_tmp18_ < _tmp19__length1)) {
#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
break;
-#line 467 "ManifestWidget.c"
+#line 532 "ManifestWidget.c"
}
#line 51 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp20_ = split;
@@ -480,221 +545,219 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
#line 52 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp24_ = stripped;
#line 52 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp25_ = is_string_empty (_tmp24_);
-#line 52 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (!_tmp25_) {
-#line 487 "ManifestWidget.c"
- gchar** _tmp26_;
- gint _tmp26__length1;
- gchar** _tmp28_;
- gint _tmp28__length1;
- const gchar* _tmp29_;
- gchar* _tmp30_;
+ if (!is_string_empty (_tmp24_)) {
+#line 550 "ManifestWidget.c"
+ gchar** _tmp25_;
+ gint _tmp25__length1;
+ gchar** _tmp27_;
+ gint _tmp27__length1;
+ const gchar* _tmp28_;
+ gchar* _tmp29_;
#line 53 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp26_ = authors;
+ _tmp25_ = authors;
#line 53 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp26__length1 = authors_length1;
+ _tmp25__length1 = authors_length1;
#line 53 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (_tmp26_ == NULL) {
-#line 500 "ManifestWidget.c"
- gchar** _tmp27_;
+ if (_tmp25_ == NULL) {
+#line 563 "ManifestWidget.c"
+ gchar** _tmp26_;
#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp27_ = g_new0 (gchar*, 0 + 1);
+ _tmp26_ = g_new0 (gchar*, 0 + 1);
#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
authors = (_vala_array_free (authors, authors_length1, (GDestroyNotify) g_free), NULL);
#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- authors = _tmp27_;
+ authors = _tmp26_;
#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
authors_length1 = 0;
#line 54 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_authors_size_ = authors_length1;
-#line 512 "ManifestWidget.c"
+#line 575 "ManifestWidget.c"
}
#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp28_ = authors;
+ _tmp27_ = authors;
#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp28__length1 = authors_length1;
+ _tmp27__length1 = authors_length1;
#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp29_ = stripped;
+ _tmp28_ = stripped;
#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp30_ = g_strdup (_tmp29_);
+ _tmp29_ = g_strdup (_tmp28_);
#line 56 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _vala_array_add52 (&authors, &authors_length1, &_authors_size_, _tmp30_);
-#line 524 "ManifestWidget.c"
+ _vala_array_add52 (&authors, &authors_length1, &_authors_size_, _tmp29_);
+#line 587 "ManifestWidget.c"
}
#line 50 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (stripped);
-#line 528 "ManifestWidget.c"
+#line 591 "ManifestWidget.c"
}
}
}
#line 48 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL);
-#line 534 "ManifestWidget.c"
+#line 597 "ManifestWidget.c"
}
#line 61 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp31_ = (GtkAboutDialog*) gtk_about_dialog_new ();
+ _tmp30_ = (GtkAboutDialog*) gtk_about_dialog_new ();
#line 61 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_object_ref_sink (_tmp31_);
+ g_object_ref_sink (_tmp30_);
#line 61 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- about_dialog = _tmp31_;
+ about_dialog = _tmp30_;
#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp32_ = about_dialog;
+ _tmp31_ = about_dialog;
#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp33_ = authors;
+ _tmp32_ = authors;
#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp33__length1 = authors_length1;
+ _tmp32__length1 = authors_length1;
#line 62 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_authors (_tmp32_, _tmp33_);
+ gtk_about_dialog_set_authors (_tmp31_, _tmp32_);
#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp34_ = about_dialog;
+ _tmp33_ = about_dialog;
#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp35_ = info;
+ _tmp34_ = info;
#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp36_ = _tmp35_.brief_description;
+ _tmp35_ = _tmp34_.brief_description;
#line 63 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_comments (_tmp34_, _tmp36_);
+ gtk_about_dialog_set_comments (_tmp33_, _tmp35_);
#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp37_ = about_dialog;
+ _tmp36_ = about_dialog;
#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp38_ = info;
+ _tmp37_ = info;
#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp39_ = _tmp38_.copyright;
+ _tmp38_ = _tmp37_.copyright;
#line 64 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_copyright (_tmp37_, _tmp39_);
+ gtk_about_dialog_set_copyright (_tmp36_, _tmp38_);
#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp40_ = about_dialog;
+ _tmp39_ = about_dialog;
#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp41_ = info;
+ _tmp40_ = info;
#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp42_ = _tmp41_.license;
+ _tmp41_ = _tmp40_.license;
#line 65 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_license (_tmp40_, _tmp42_);
+ gtk_about_dialog_set_license (_tmp39_, _tmp41_);
#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp43_ = about_dialog;
+ _tmp42_ = about_dialog;
#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp44_ = info;
+ _tmp43_ = info;
#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp45_ = _tmp44_.is_license_wordwrapped;
+ _tmp44_ = _tmp43_.is_license_wordwrapped;
#line 66 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_wrap_license (_tmp43_, _tmp45_);
+ gtk_about_dialog_set_wrap_license (_tmp42_, _tmp44_);
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp48_ = info;
+ _tmp47_ = info;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp49_ = _tmp48_.icons;
+ _tmp48_ = _tmp47_.icons;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp49__length1 = _tmp48_.icons_length1;
+ _tmp48__length1 = _tmp47_.icons_length1;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (_tmp49_ != NULL) {
-#line 590 "ManifestWidget.c"
- SpitPluggableInfo _tmp50_;
- GdkPixbuf** _tmp51_;
- gint _tmp51__length1;
+ if (_tmp48_ != NULL) {
+#line 653 "ManifestWidget.c"
+ SpitPluggableInfo _tmp49_;
+ GdkPixbuf** _tmp50_;
+ gint _tmp50__length1;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp50_ = info;
+ _tmp49_ = info;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp51_ = _tmp50_.icons;
+ _tmp50_ = _tmp49_.icons;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp51__length1 = _tmp50_.icons_length1;
+ _tmp50__length1 = _tmp49_.icons_length1;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp47_ = _tmp51__length1 > 0;
-#line 602 "ManifestWidget.c"
+ _tmp46_ = _tmp50__length1 > 0;
+#line 665 "ManifestWidget.c"
} else {
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp47_ = FALSE;
-#line 606 "ManifestWidget.c"
+ _tmp46_ = FALSE;
+#line 669 "ManifestWidget.c"
}
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (_tmp47_) {
-#line 610 "ManifestWidget.c"
- SpitPluggableInfo _tmp52_;
- GdkPixbuf** _tmp53_;
- gint _tmp53__length1;
+ if (_tmp46_) {
+#line 673 "ManifestWidget.c"
+ SpitPluggableInfo _tmp51_;
+ GdkPixbuf** _tmp52_;
+ gint _tmp52__length1;
+ GdkPixbuf* _tmp53_;
GdkPixbuf* _tmp54_;
- GdkPixbuf* _tmp55_;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp52_ = info;
+ _tmp51_ = info;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp53_ = _tmp52_.icons;
+ _tmp52_ = _tmp51_.icons;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp53__length1 = _tmp52_.icons_length1;
+ _tmp52__length1 = _tmp51_.icons_length1;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp54_ = _tmp53_[0];
+ _tmp53_ = _tmp52_[0];
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp55_ = _g_object_ref0 (_tmp54_);
+ _tmp54_ = _g_object_ref0 (_tmp53_);
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_object_unref0 (_tmp46_);
+ _g_object_unref0 (_tmp45_);
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp46_ = _tmp55_;
-#line 630 "ManifestWidget.c"
+ _tmp45_ = _tmp54_;
+#line 693 "ManifestWidget.c"
} else {
- GdkPixbuf* _tmp56_;
+ GdkPixbuf* _tmp55_;
#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp56_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, RESOURCES_DEFAULT_ICON_SCALE);
+ _tmp55_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, RESOURCES_DEFAULT_ICON_SCALE);
#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_object_unref0 (_tmp46_);
+ _g_object_unref0 (_tmp45_);
#line 68 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp46_ = _tmp56_;
-#line 639 "ManifestWidget.c"
+ _tmp45_ = _tmp55_;
+#line 702 "ManifestWidget.c"
}
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp57_ = about_dialog;
+ _tmp56_ = about_dialog;
#line 67 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_logo (_tmp57_, _tmp46_);
+ gtk_about_dialog_set_logo (_tmp56_, _tmp45_);
#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp58_ = about_dialog;
+ _tmp57_ = about_dialog;
#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp59_ = id;
+ _tmp58_ = id;
#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp60_ = plugins_get_pluggable_name (_tmp59_);
+ _tmp59_ = plugins_get_pluggable_name (_tmp58_);
#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp61_ = _tmp60_;
+ _tmp60_ = _tmp59_;
#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_program_name (_tmp58_, _tmp61_);
+ gtk_about_dialog_set_program_name (_tmp57_, _tmp60_);
#line 69 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_free0 (_tmp61_);
+ _g_free0 (_tmp60_);
#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp62_ = about_dialog;
+ _tmp61_ = about_dialog;
#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp63_ = info;
+ _tmp62_ = info;
#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp64_ = _tmp63_.translators;
+ _tmp63_ = _tmp62_.translators;
#line 70 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_translator_credits (_tmp62_, _tmp64_);
+ gtk_about_dialog_set_translator_credits (_tmp61_, _tmp63_);
#line 71 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp65_ = about_dialog;
+ _tmp64_ = about_dialog;
#line 71 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp66_ = info;
+ _tmp65_ = info;
#line 71 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp67_ = _tmp66_.version;
+ _tmp66_ = _tmp65_.version;
#line 71 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_version (_tmp65_, _tmp67_);
+ gtk_about_dialog_set_version (_tmp64_, _tmp66_);
#line 72 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp68_ = about_dialog;
+ _tmp67_ = about_dialog;
#line 72 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp69_ = info;
+ _tmp68_ = info;
#line 72 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp70_ = _tmp69_.website_url;
+ _tmp69_ = _tmp68_.website_url;
#line 72 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_website (_tmp68_, _tmp70_);
+ gtk_about_dialog_set_website (_tmp67_, _tmp69_);
#line 73 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp71_ = about_dialog;
+ _tmp70_ = about_dialog;
#line 73 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp72_ = info;
+ _tmp71_ = info;
#line 73 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp73_ = _tmp72_.website_name;
+ _tmp72_ = _tmp71_.website_name;
#line 73 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_about_dialog_set_website_label (_tmp71_, _tmp73_);
+ gtk_about_dialog_set_website_label (_tmp70_, _tmp72_);
#line 75 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp74_ = about_dialog;
+ _tmp73_ = about_dialog;
#line 75 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_dialog_get_type (), GtkDialog));
+ gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_dialog_get_type (), GtkDialog));
#line 77 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp75_ = about_dialog;
+ _tmp74_ = about_dialog;
#line 77 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_widget_get_type (), GtkWidget));
+ gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_widget_get_type (), GtkWidget));
#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_object_unref0 (_tmp46_);
+ _g_object_unref0 (_tmp45_);
#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (about_dialog);
#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
@@ -705,20 +768,24 @@ static void plugins_manifest_widget_mediator_on_about (PluginsManifestWidgetMedi
_g_free0 (id);
#line 31 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids = (_vala_array_free (ids, ids_length1, (GDestroyNotify) g_free), NULL);
-#line 709 "ManifestWidget.c"
+#line 772 "ManifestWidget.c"
}
-static void plugins_manifest_widget_mediator_on_selection_changed (PluginsManifestWidgetMediator* self) {
+static void
+plugins_manifest_widget_mediator_on_selection_changed (PluginsManifestWidgetMediator* self)
+{
#line 80 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_if_fail (PLUGINS_IS_MANIFEST_WIDGET_MEDIATOR (self));
#line 81 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_widget_mediator_set_about_button_sensitivity (self);
-#line 718 "ManifestWidget.c"
+#line 783 "ManifestWidget.c"
}
-static void plugins_manifest_widget_mediator_set_about_button_sensitivity (PluginsManifestWidgetMediator* self) {
+static void
+plugins_manifest_widget_mediator_set_about_button_sensitivity (PluginsManifestWidgetMediator* self)
+{
gchar** ids = NULL;
PluginsManifestListView* _tmp0_;
gint _tmp1_;
@@ -744,11 +811,13 @@ static void plugins_manifest_widget_mediator_set_about_button_sensitivity (Plugi
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), ids_length1 == 1);
#line 84 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
ids = (_vala_array_free (ids, ids_length1, (GDestroyNotify) g_free), NULL);
-#line 748 "ManifestWidget.c"
+#line 815 "ManifestWidget.c"
}
-static void plugins_manifest_widget_mediator_class_init (PluginsManifestWidgetMediatorClass * klass) {
+static void
+plugins_manifest_widget_mediator_class_init (PluginsManifestWidgetMediatorClass * klass)
+{
gint PluginsManifestWidgetMediator_private_offset;
#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_widget_mediator_parent_class = g_type_class_peek_parent (klass);
@@ -764,11 +833,13 @@ static void plugins_manifest_widget_mediator_class_init (PluginsManifestWidgetMe
gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "about_button", FALSE, PluginsManifestWidgetMediator_private_offset + G_STRUCT_OFFSET (PluginsManifestWidgetMediatorPrivate, about_button));
#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "list_bin", FALSE, PluginsManifestWidgetMediator_private_offset + G_STRUCT_OFFSET (PluginsManifestWidgetMediatorPrivate, list_bin));
-#line 768 "ManifestWidget.c"
+#line 837 "ManifestWidget.c"
}
-static void plugins_manifest_widget_mediator_instance_init (PluginsManifestWidgetMediator * self) {
+static void
+plugins_manifest_widget_mediator_instance_init (PluginsManifestWidgetMediator * self)
+{
PluginsManifestListView* _tmp0_;
#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self->priv = PLUGINS_MANIFEST_WIDGET_MEDIATOR_GET_PRIVATE (self);
@@ -780,11 +851,13 @@ static void plugins_manifest_widget_mediator_instance_init (PluginsManifestWidge
self->priv->list = _tmp0_;
#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_widget_init_template (GTK_WIDGET (self));
-#line 784 "ManifestWidget.c"
+#line 855 "ManifestWidget.c"
}
-static void plugins_manifest_widget_mediator_finalize (GObject * obj) {
+static void
+plugins_manifest_widget_mediator_finalize (GObject * obj)
+{
PluginsManifestWidgetMediator * self;
#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PLUGINS_TYPE_MANIFEST_WIDGET_MEDIATOR, PluginsManifestWidgetMediator);
@@ -796,11 +869,13 @@ static void plugins_manifest_widget_mediator_finalize (GObject * obj) {
_g_object_unref0 (self->priv->list);
#line 11 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
G_OBJECT_CLASS (plugins_manifest_widget_mediator_parent_class)->finalize (obj);
-#line 800 "ManifestWidget.c"
+#line 873 "ManifestWidget.c"
}
-GType plugins_manifest_widget_mediator_get_type (void) {
+GType
+plugins_manifest_widget_mediator_get_type (void)
+{
static volatile gsize plugins_manifest_widget_mediator_type_id__volatile = 0;
if (g_once_init_enter (&plugins_manifest_widget_mediator_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (PluginsManifestWidgetMediatorClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) plugins_manifest_widget_mediator_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PluginsManifestWidgetMediator), 0, (GInstanceInitFunc) plugins_manifest_widget_mediator_instance_init, NULL };
@@ -812,7 +887,9 @@ GType plugins_manifest_widget_mediator_get_type (void) {
}
-static GType plugins_manifest_list_view_column_get_type (void) {
+static GType
+plugins_manifest_list_view_column_get_type (void)
+{
static volatile gsize plugins_manifest_list_view_column_type_id__volatile = 0;
if (g_once_init_enter (&plugins_manifest_list_view_column_type_id__volatile)) {
static const GEnumValue values[] = {{PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED, "PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED", "enabled"}, {PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE, "PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE", "can-enable"}, {PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON, "PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON", "icon"}, {PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME, "PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME", "name"}, {PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ID, "PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ID", "id"}, {PLUGINS_MANIFEST_LIST_VIEW_COLUMN_N_COLUMNS, "PLUGINS_MANIFEST_LIST_VIEW_COLUMN_N_COLUMNS", "n-columns"}, {0, NULL, NULL}};
@@ -824,25 +901,35 @@ static GType plugins_manifest_list_view_column_get_type (void) {
}
-static gint _plugins_compare_extension_point_names_gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self) {
+static gint
+_plugins_compare_extension_point_names_gcompare_data_func (gconstpointer a,
+ gconstpointer b,
+ gpointer self)
+{
gint result;
result = plugins_compare_extension_point_names (a, b);
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 833 "ManifestWidget.c"
+#line 914 "ManifestWidget.c"
}
-static gint _plugins_compare_pluggable_names_gcompare_data_func (gconstpointer a, gconstpointer b, gpointer self) {
+static gint
+_plugins_compare_pluggable_names_gcompare_data_func (gconstpointer a,
+ gconstpointer b,
+ gpointer self)
+{
gint result;
result = plugins_compare_pluggable_names (a, b);
#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 842 "ManifestWidget.c"
+#line 927 "ManifestWidget.c"
}
-PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type) {
+PluginsManifestListView*
+plugins_manifest_list_view_construct (GType object_type)
+{
PluginsManifestListView * self = NULL;
GtkTreeStore* _tmp0_;
GtkCellRendererToggle* checkbox_renderer = NULL;
@@ -883,7 +970,7 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
#line 117 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp0_ = self->priv->store;
#line 117 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_tree_view_set_model (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_TREE_MODEL, GtkTreeModel));
+ gtk_tree_view_set_model (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_tree_model_get_type (), GtkTreeModel));
#line 119 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp1_ = (GtkCellRendererToggle*) gtk_cell_renderer_toggle_new ();
#line 119 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
@@ -937,43 +1024,43 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
#line 132 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp12_ = checkbox_renderer;
#line 132 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE);
+ gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_cell_layout_get_type (), GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE);
#line 133 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp13_ = column;
#line 133 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp14_ = icon_renderer;
#line 133 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE);
+ gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_cell_layout_get_type (), GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE);
#line 134 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp15_ = column;
#line 134 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp16_ = text_renderer;
#line 134 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_cell_layout_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
+ gtk_cell_layout_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_cell_layout_get_type (), GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
#line 136 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp17_ = column;
#line 136 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp18_ = checkbox_renderer;
#line 136 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_cell_renderer_get_type (), GtkCellRenderer), "active", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED);
+ gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_cell_layout_get_type (), GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_cell_renderer_get_type (), GtkCellRenderer), "active", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED);
#line 137 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp19_ = column;
#line 137 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp20_ = checkbox_renderer;
#line 137 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_cell_renderer_get_type (), GtkCellRenderer), "visible", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE);
+ gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_cell_layout_get_type (), GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_cell_renderer_get_type (), GtkCellRenderer), "visible", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE);
#line 138 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp21_ = column;
#line 138 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp22_ = icon_renderer;
#line 138 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_cell_renderer_get_type (), GtkCellRenderer), "pixbuf", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON);
+ gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_cell_layout_get_type (), GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_cell_renderer_get_type (), GtkCellRenderer), "pixbuf", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON);
#line 139 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp23_ = column;
#line 139 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp24_ = text_renderer;
#line 139 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_cell_renderer_get_type (), GtkCellRenderer), "text", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME);
+ gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_cell_layout_get_type (), GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_cell_renderer_get_type (), GtkCellRenderer), "text", (gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME);
#line 141 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp25_ = column;
#line 141 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
@@ -998,7 +1085,7 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
_tmp27_ = resources_get_icon_theme_engine ();
#line 151 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
icon_theme = _tmp27_;
-#line 1002 "ManifestWidget.c"
+#line 1089 "ManifestWidget.c"
{
GeeIterator* _extension_point_it = NULL;
GeeCollection* _tmp28_;
@@ -1019,154 +1106,151 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
_extension_point_it = _tmp31_;
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
while (TRUE) {
-#line 1023 "ManifestWidget.c"
+#line 1110 "ManifestWidget.c"
GeeIterator* _tmp32_;
- gboolean _tmp33_;
PluginsExtensionPoint* extension_point = NULL;
- GeeIterator* _tmp34_;
- gpointer _tmp35_;
+ GeeIterator* _tmp33_;
+ gpointer _tmp34_;
GtkTreeIter category_iter = {0};
- GtkTreeStore* _tmp36_;
- GtkTreeIter _tmp37_ = {0};
+ GtkTreeStore* _tmp35_;
+ GtkTreeIter _tmp36_ = {0};
GdkPixbuf* icon = NULL;
- PluginsExtensionPoint* _tmp38_;
+ PluginsExtensionPoint* _tmp37_;
+ const gchar* _tmp38_;
const gchar* _tmp39_;
- const gchar* _tmp40_;
- GtkTreeStore* _tmp59_;
- GtkTreeIter _tmp60_;
- PluginsExtensionPoint* _tmp61_;
+ GtkTreeStore* _tmp58_;
+ GtkTreeIter _tmp59_;
+ PluginsExtensionPoint* _tmp60_;
+ const gchar* _tmp61_;
const gchar* _tmp62_;
- const gchar* _tmp63_;
- GdkPixbuf* _tmp64_;
+ GdkPixbuf* _tmp63_;
GeeCollection* pluggables = NULL;
- PluginsExtensionPoint* _tmp65_;
+ PluginsExtensionPoint* _tmp64_;
+ GType _tmp65_;
GType _tmp66_;
- GType _tmp67_;
- GeeCollection* _tmp68_;
+ GeeCollection* _tmp67_;
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp32_ = _extension_point_it;
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp33_ = gee_iterator_next (_tmp32_);
-#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (!_tmp33_) {
+ if (!gee_iterator_next (_tmp32_)) {
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
break;
-#line 1055 "ManifestWidget.c"
+#line 1139 "ManifestWidget.c"
}
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp34_ = _extension_point_it;
+ _tmp33_ = _extension_point_it;
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp35_ = gee_iterator_get (_tmp34_);
+ _tmp34_ = gee_iterator_get (_tmp33_);
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- extension_point = (PluginsExtensionPoint*) _tmp35_;
+ extension_point = (PluginsExtensionPoint*) _tmp34_;
#line 157 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp36_ = self->priv->store;
+ _tmp35_ = self->priv->store;
#line 157 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_tree_store_append (_tmp36_, &_tmp37_, NULL);
+ gtk_tree_store_append (_tmp35_, &_tmp36_, NULL);
#line 157 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- category_iter = _tmp37_;
+ category_iter = _tmp36_;
#line 159 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
icon = NULL;
#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp38_ = extension_point;
+ _tmp37_ = extension_point;
#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp39_ = plugins_extension_point_get_icon_name (_tmp38_);
+ _tmp38_ = plugins_extension_point_get_icon_name (_tmp37_);
#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp40_ = _tmp39_;
+ _tmp39_ = _tmp38_;
#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (_tmp40_ != NULL) {
-#line 1079 "ManifestWidget.c"
+ if (_tmp39_ != NULL) {
+#line 1163 "ManifestWidget.c"
GtkIconInfo* icon_info = NULL;
- GtkIconTheme* _tmp41_;
- PluginsExtensionPoint* _tmp42_;
+ GtkIconTheme* _tmp40_;
+ PluginsExtensionPoint* _tmp41_;
+ const gchar* _tmp42_;
const gchar* _tmp43_;
- const gchar* _tmp44_;
+ GThemedIcon* _tmp44_;
GThemedIcon* _tmp45_;
- GThemedIcon* _tmp46_;
+ GtkIconInfo* _tmp46_;
GtkIconInfo* _tmp47_;
GtkIconInfo* _tmp48_;
- GtkIconInfo* _tmp49_;
#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp41_ = icon_theme;
+ _tmp40_ = icon_theme;
#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp42_ = extension_point;
+ _tmp41_ = extension_point;
#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp43_ = plugins_extension_point_get_icon_name (_tmp42_);
+ _tmp42_ = plugins_extension_point_get_icon_name (_tmp41_);
#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp44_ = _tmp43_;
+ _tmp43_ = _tmp42_;
#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp45_ = (GThemedIcon*) g_themed_icon_new (_tmp44_);
+ _tmp44_ = (GThemedIcon*) g_themed_icon_new (_tmp43_);
#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp46_ = _tmp45_;
+ _tmp45_ = _tmp44_;
#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp47_ = gtk_icon_theme_lookup_by_gicon (_tmp41_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, g_icon_get_type (), GIcon), PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE, 0);
+ _tmp46_ = gtk_icon_theme_lookup_by_gicon (_tmp40_, G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, g_icon_get_type (), GIcon), PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE, 0);
#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp48_ = _tmp47_;
+ _tmp47_ = _tmp46_;
#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_object_unref0 (_tmp46_);
+ _g_object_unref0 (_tmp45_);
#line 161 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- icon_info = _tmp48_;
+ icon_info = _tmp47_;
#line 163 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp49_ = icon_info;
+ _tmp48_ = icon_info;
#line 163 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (_tmp49_ != NULL) {
-#line 1114 "ManifestWidget.c"
+ if (_tmp48_ != NULL) {
+#line 1198 "ManifestWidget.c"
{
- GdkPixbuf* _tmp50_ = NULL;
- GtkIconInfo* _tmp51_;
+ GdkPixbuf* _tmp49_ = NULL;
+ GtkIconInfo* _tmp50_;
+ GdkPixbuf* _tmp51_;
GdkPixbuf* _tmp52_;
- GdkPixbuf* _tmp53_;
#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp51_ = icon_info;
+ _tmp50_ = icon_info;
#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp52_ = gtk_icon_info_load_icon (_tmp51_, &_inner_error_);
+ _tmp51_ = gtk_icon_info_load_icon (_tmp50_, &_inner_error_);
#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp50_ = _tmp52_;
+ _tmp49_ = _tmp51_;
#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1128 "ManifestWidget.c"
+#line 1212 "ManifestWidget.c"
goto __catch41_g_error;
}
#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp53_ = _tmp50_;
+ _tmp52_ = _tmp49_;
#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp50_ = NULL;
+ _tmp49_ = NULL;
#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (icon);
#line 165 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- icon = _tmp53_;
+ icon = _tmp52_;
#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_object_unref0 (_tmp50_);
-#line 1141 "ManifestWidget.c"
+ _g_object_unref0 (_tmp49_);
+#line 1225 "ManifestWidget.c"
}
goto __finally41;
__catch41_g_error:
{
GError* err = NULL;
- PluginsExtensionPoint* _tmp54_;
+ PluginsExtensionPoint* _tmp53_;
+ const gchar* _tmp54_;
const gchar* _tmp55_;
- const gchar* _tmp56_;
- GError* _tmp57_;
- const gchar* _tmp58_;
+ GError* _tmp56_;
+ const gchar* _tmp57_;
#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
err = _inner_error_;
#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_inner_error_ = NULL;
#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp54_ = extension_point;
+ _tmp53_ = extension_point;
#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp55_ = plugins_extension_point_get_icon_name (_tmp54_);
+ _tmp54_ = plugins_extension_point_get_icon_name (_tmp53_);
#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp56_ = _tmp55_;
+ _tmp55_ = _tmp54_;
#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp57_ = err;
+ _tmp56_ = err;
#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp58_ = _tmp57_->message;
+ _tmp57_ = _tmp56_->message;
#line 167 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_warning ("ManifestWidget.vala:167: Unable to load icon %s: %s", _tmp56_, _tmp58_);
+ g_warning ("ManifestWidget.vala:167: Unable to load icon %s: %s", _tmp55_, _tmp57_);
#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_error_free0 (err);
-#line 1170 "ManifestWidget.c"
+#line 1254 "ManifestWidget.c"
}
__finally41:
#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
@@ -1195,221 +1279,218 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
g_clear_error (&_inner_error_);
#line 164 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return NULL;
-#line 1199 "ManifestWidget.c"
+#line 1283 "ManifestWidget.c"
}
}
#line 160 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_gtk_icon_info_free0 (icon_info);
-#line 1204 "ManifestWidget.c"
+#line 1288 "ManifestWidget.c"
}
#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp59_ = self->priv->store;
+ _tmp58_ = self->priv->store;
#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp60_ = category_iter;
+ _tmp59_ = category_iter;
#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp61_ = extension_point;
+ _tmp60_ = extension_point;
#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp62_ = plugins_extension_point_get_name (_tmp61_);
+ _tmp61_ = plugins_extension_point_get_name (_tmp60_);
#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp63_ = _tmp62_;
+ _tmp62_ = _tmp61_;
#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp64_ = icon;
+ _tmp63_ = icon;
#line 172 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_tree_store_set (_tmp59_, &_tmp60_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME, _tmp63_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE, FALSE, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON, _tmp64_, -1);
+ gtk_tree_store_set (_tmp58_, &_tmp59_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME, _tmp62_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE, FALSE, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON, _tmp63_, -1);
#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp65_ = extension_point;
+ _tmp64_ = extension_point;
#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp66_ = plugins_extension_point_get_pluggable_type (_tmp65_);
+ _tmp65_ = plugins_extension_point_get_pluggable_type (_tmp64_);
#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp67_ = _tmp66_;
+ _tmp66_ = _tmp65_;
#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp68_ = plugins_get_pluggables_for_type (_tmp67_, _plugins_compare_pluggable_names_gcompare_data_func, NULL, NULL, TRUE);
+ _tmp67_ = plugins_get_pluggables_for_type (_tmp66_, _plugins_compare_pluggable_names_gcompare_data_func, NULL, NULL, TRUE);
#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- pluggables = _tmp68_;
-#line 1230 "ManifestWidget.c"
+ pluggables = _tmp67_;
+#line 1314 "ManifestWidget.c"
{
GeeIterator* _pluggable_it = NULL;
- GeeCollection* _tmp69_;
- GeeIterator* _tmp70_;
+ GeeCollection* _tmp68_;
+ GeeIterator* _tmp69_;
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp69_ = pluggables;
+ _tmp68_ = pluggables;
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp70_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, GEE_TYPE_ITERABLE, GeeIterable));
+ _tmp69_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, GEE_TYPE_ITERABLE, GeeIterable));
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _pluggable_it = _tmp70_;
+ _pluggable_it = _tmp69_;
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
while (TRUE) {
-#line 1243 "ManifestWidget.c"
- GeeIterator* _tmp71_;
- gboolean _tmp72_;
+#line 1327 "ManifestWidget.c"
+ GeeIterator* _tmp70_;
SpitPluggable* pluggable = NULL;
- GeeIterator* _tmp73_;
- gpointer _tmp74_;
+ GeeIterator* _tmp71_;
+ gpointer _tmp72_;
gboolean enabled = FALSE;
- SpitPluggable* _tmp75_;
- const gchar* _tmp76_;
- gboolean _tmp77_ = FALSE;
- gboolean _tmp78_;
+ SpitPluggable* _tmp73_;
+ const gchar* _tmp74_;
+ gboolean _tmp75_ = FALSE;
+ gboolean _tmp76_;
SpitPluggableInfo info = {0};
- SpitPluggable* _tmp79_;
- GdkPixbuf* _tmp80_ = NULL;
- gboolean _tmp81_ = FALSE;
- SpitPluggableInfo _tmp82_;
- GdkPixbuf** _tmp83_;
- gint _tmp83__length1;
- GdkPixbuf* _tmp91_;
+ SpitPluggable* _tmp77_;
+ GdkPixbuf* _tmp78_ = NULL;
+ gboolean _tmp79_ = FALSE;
+ SpitPluggableInfo _tmp80_;
+ GdkPixbuf** _tmp81_;
+ gint _tmp81__length1;
+ GdkPixbuf* _tmp89_;
GtkTreeIter plugin_iter = {0};
- GtkTreeStore* _tmp92_;
- GtkTreeIter _tmp93_;
- GtkTreeIter _tmp94_ = {0};
- GtkTreeStore* _tmp95_;
- GtkTreeIter _tmp96_;
- gboolean _tmp97_;
+ GtkTreeStore* _tmp90_;
+ GtkTreeIter _tmp91_;
+ GtkTreeIter _tmp92_ = {0};
+ GtkTreeStore* _tmp93_;
+ GtkTreeIter _tmp94_;
+ gboolean _tmp95_;
+ SpitPluggable* _tmp96_;
+ const gchar* _tmp97_;
SpitPluggable* _tmp98_;
const gchar* _tmp99_;
- SpitPluggable* _tmp100_;
- const gchar* _tmp101_;
- GdkPixbuf* _tmp102_;
+ GdkPixbuf* _tmp100_;
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp71_ = _pluggable_it;
-#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp72_ = gee_iterator_next (_tmp71_);
+ _tmp70_ = _pluggable_it;
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (!_tmp72_) {
+ if (!gee_iterator_next (_tmp70_)) {
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
break;
-#line 1282 "ManifestWidget.c"
+#line 1363 "ManifestWidget.c"
}
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp73_ = _pluggable_it;
+ _tmp71_ = _pluggable_it;
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp74_ = gee_iterator_get (_tmp73_);
+ _tmp72_ = gee_iterator_get (_tmp71_);
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- pluggable = (SpitPluggable*) _tmp74_;
+ pluggable = (SpitPluggable*) _tmp72_;
#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp75_ = pluggable;
+ _tmp73_ = pluggable;
#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp76_ = spit_pluggable_get_id (_tmp75_);
+ _tmp74_ = spit_pluggable_get_id (_tmp73_);
#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp78_ = plugins_get_pluggable_enabled (_tmp76_, &_tmp77_);
+ _tmp76_ = plugins_get_pluggable_enabled (_tmp74_, &_tmp75_);
#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- enabled = _tmp77_;
+ enabled = _tmp75_;
#line 179 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (!_tmp78_) {
+ if (!_tmp76_) {
#line 180 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (pluggable);
#line 180 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
continue;
-#line 1304 "ManifestWidget.c"
+#line 1385 "ManifestWidget.c"
}
#line 182 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
memset (&info, 0, sizeof (SpitPluggableInfo));
#line 183 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp79_ = pluggable;
+ _tmp77_ = pluggable;
#line 183 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- spit_pluggable_get_info (_tmp79_, &info);
+ spit_pluggable_get_info (_tmp77_, &info);
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp82_ = info;
+ _tmp80_ = info;
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp83_ = _tmp82_.icons;
+ _tmp81_ = _tmp80_.icons;
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp83__length1 = _tmp82_.icons_length1;
+ _tmp81__length1 = _tmp80_.icons_length1;
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (_tmp83_ != NULL) {
-#line 1320 "ManifestWidget.c"
- SpitPluggableInfo _tmp84_;
- GdkPixbuf** _tmp85_;
- gint _tmp85__length1;
+ if (_tmp81_ != NULL) {
+#line 1401 "ManifestWidget.c"
+ SpitPluggableInfo _tmp82_;
+ GdkPixbuf** _tmp83_;
+ gint _tmp83__length1;
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp84_ = info;
+ _tmp82_ = info;
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp85_ = _tmp84_.icons;
+ _tmp83_ = _tmp82_.icons;
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp85__length1 = _tmp84_.icons_length1;
+ _tmp83__length1 = _tmp82_.icons_length1;
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp81_ = _tmp85__length1 > 0;
-#line 1332 "ManifestWidget.c"
+ _tmp79_ = _tmp83__length1 > 0;
+#line 1413 "ManifestWidget.c"
} else {
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp81_ = FALSE;
-#line 1336 "ManifestWidget.c"
+ _tmp79_ = FALSE;
+#line 1417 "ManifestWidget.c"
}
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (_tmp81_) {
-#line 1340 "ManifestWidget.c"
- SpitPluggableInfo _tmp86_;
- GdkPixbuf** _tmp87_;
- gint _tmp87__length1;
- GdkPixbuf* _tmp88_;
- GdkPixbuf* _tmp89_;
+ if (_tmp79_) {
+#line 1421 "ManifestWidget.c"
+ SpitPluggableInfo _tmp84_;
+ GdkPixbuf** _tmp85_;
+ gint _tmp85__length1;
+ GdkPixbuf* _tmp86_;
+ GdkPixbuf* _tmp87_;
#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp86_ = info;
+ _tmp84_ = info;
#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp87_ = _tmp86_.icons;
+ _tmp85_ = _tmp84_.icons;
#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp87__length1 = _tmp86_.icons_length1;
+ _tmp85__length1 = _tmp84_.icons_length1;
#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp88_ = _tmp87_[0];
+ _tmp86_ = _tmp85_[0];
#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp89_ = _g_object_ref0 (_tmp88_);
+ _tmp87_ = _g_object_ref0 (_tmp86_);
#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_object_unref0 (_tmp80_);
+ _g_object_unref0 (_tmp78_);
#line 186 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp80_ = _tmp89_;
-#line 1360 "ManifestWidget.c"
+ _tmp78_ = _tmp87_;
+#line 1441 "ManifestWidget.c"
} else {
- GdkPixbuf* _tmp90_;
+ GdkPixbuf* _tmp88_;
#line 187 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp90_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE);
+ _tmp88_ = resources_get_icon (RESOURCES_ICON_GENERIC_PLUGIN, PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE);
#line 187 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_object_unref0 (_tmp80_);
+ _g_object_unref0 (_tmp78_);
#line 187 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp80_ = _tmp90_;
-#line 1369 "ManifestWidget.c"
+ _tmp78_ = _tmp88_;
+#line 1450 "ManifestWidget.c"
}
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp91_ = _g_object_ref0 (_tmp80_);
+ _tmp89_ = _g_object_ref0 (_tmp78_);
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (icon);
#line 185 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- icon = _tmp91_;
+ icon = _tmp89_;
#line 190 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp92_ = self->priv->store;
+ _tmp90_ = self->priv->store;
#line 190 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp93_ = category_iter;
+ _tmp91_ = category_iter;
#line 190 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_tree_store_append (_tmp92_, &_tmp94_, &_tmp93_);
+ gtk_tree_store_append (_tmp90_, &_tmp92_, &_tmp91_);
#line 190 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- plugin_iter = _tmp94_;
+ plugin_iter = _tmp92_;
#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp95_ = self->priv->store;
+ _tmp93_ = self->priv->store;
#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp96_ = plugin_iter;
+ _tmp94_ = plugin_iter;
#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp97_ = enabled;
+ _tmp95_ = enabled;
#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp98_ = pluggable;
+ _tmp96_ = pluggable;
#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp99_ = spit_pluggable_get_pluggable_name (_tmp98_);
+ _tmp97_ = spit_pluggable_get_pluggable_name (_tmp96_);
#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp100_ = pluggable;
+ _tmp98_ = pluggable;
#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp101_ = spit_pluggable_get_id (_tmp100_);
+ _tmp99_ = spit_pluggable_get_id (_tmp98_);
#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp102_ = icon;
+ _tmp100_ = icon;
#line 192 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_tree_store_set (_tmp95_, &_tmp96_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED, _tmp97_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME, _tmp99_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ID, _tmp101_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE, TRUE, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON, _tmp102_, -1);
+ gtk_tree_store_set (_tmp93_, &_tmp94_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED, _tmp95_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_NAME, _tmp97_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ID, _tmp99_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_CAN_ENABLE, TRUE, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ICON, _tmp100_, -1);
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _g_object_unref0 (_tmp80_);
+ _g_object_unref0 (_tmp78_);
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
spit_pluggable_info_destroy (&info);
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (pluggable);
-#line 1409 "ManifestWidget.c"
+#line 1490 "ManifestWidget.c"
}
#line 177 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_pluggable_it);
-#line 1413 "ManifestWidget.c"
+#line 1494 "ManifestWidget.c"
}
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (pluggables);
@@ -1417,11 +1498,11 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
_g_object_unref0 (icon);
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_plugins_extension_point_unref0 (extension_point);
-#line 1421 "ManifestWidget.c"
+#line 1502 "ManifestWidget.c"
}
#line 155 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (_extension_point_it);
-#line 1425 "ManifestWidget.c"
+#line 1506 "ManifestWidget.c"
}
#line 197 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
gtk_tree_view_expand_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView));
@@ -1437,58 +1518,90 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
_g_object_unref0 (checkbox_renderer);
#line 116 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return self;
-#line 1441 "ManifestWidget.c"
+#line 1522 "ManifestWidget.c"
}
-PluginsManifestListView* plugins_manifest_list_view_new (void) {
+PluginsManifestListView*
+plugins_manifest_list_view_new (void)
+{
#line 116 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return plugins_manifest_list_view_construct (PLUGINS_TYPE_MANIFEST_LIST_VIEW);
-#line 1448 "ManifestWidget.c"
+#line 1531 "ManifestWidget.c"
}
-static gpointer _gtk_tree_path_copy0 (gpointer self) {
+static GtkTreePath*
+_vala_GtkTreePath_copy (GtkTreePath* self)
+{
#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- return self ? gtk_tree_path_copy (self) : NULL;
-#line 1455 "ManifestWidget.c"
+ return g_boxed_copy (gtk_tree_path_get_type (), self);
+#line 1540 "ManifestWidget.c"
}
-static void _vala_array_add53 (gchar** * array, int* length, int* size, gchar* value) {
+static gpointer
+__vala_GtkTreePath_copy0 (gpointer self)
+{
+#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ return self ? _vala_GtkTreePath_copy (self) : NULL;
+#line 1549 "ManifestWidget.c"
+}
+
+
+static void
+_vala_array_add53 (gchar** * array,
+ int* length,
+ int* size,
+ gchar* value)
+{
#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if ((*length) == (*size)) {
#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*array = g_renew (gchar*, *array, (*size) + 1);
-#line 1466 "ManifestWidget.c"
+#line 1565 "ManifestWidget.c"
}
#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
(*array)[(*length)++] = value;
#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
(*array)[*length] = NULL;
-#line 1472 "ManifestWidget.c"
+#line 1571 "ManifestWidget.c"
}
-static void _gtk_tree_path_free0_ (gpointer var) {
-#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- (var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL));
-#line 1479 "ManifestWidget.c"
+static void
+_vala_GtkTreePath_free (GtkTreePath* self)
+{
+#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
+ g_boxed_free (gtk_tree_path_get_type (), self);
+#line 1580 "ManifestWidget.c"
}
-static void _g_list_free__gtk_tree_path_free0_ (GList* self) {
+static void
+__vala_GtkTreePath_free0_ (gpointer var)
+{
#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_list_foreach (self, (GFunc) _gtk_tree_path_free0_, NULL);
+ (var == NULL) ? NULL : (var = (_vala_GtkTreePath_free (var), NULL));
+#line 1589 "ManifestWidget.c"
+}
+
+
+static inline void
+_g_list_free___vala_GtkTreePath_free0_ (GList* self)
+{
#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- g_list_free (self);
-#line 1488 "ManifestWidget.c"
+ g_list_free_full (self, (GDestroyNotify) __vala_GtkTreePath_free0_);
+#line 1598 "ManifestWidget.c"
}
-gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* self, int* result_length1) {
+gchar**
+plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* self,
+ int* result_length1)
+{
gchar** result = NULL;
gchar** ids = NULL;
gchar** _tmp0_;
@@ -1518,7 +1631,7 @@ gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* se
selected = _tmp2_;
#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp3_ = selected;
-#line 1522 "ManifestWidget.c"
+#line 1635 "ManifestWidget.c"
{
GList* path_collection = NULL;
GList* path_it = NULL;
@@ -1526,14 +1639,14 @@ gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* se
path_collection = _tmp3_;
#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
for (path_it = path_collection; path_it != NULL; path_it = path_it->next) {
-#line 1530 "ManifestWidget.c"
+#line 1643 "ManifestWidget.c"
GtkTreePath* _tmp4_;
GtkTreePath* path = NULL;
#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp4_ = _gtk_tree_path_copy0 ((GtkTreePath*) path_it->data);
+ _tmp4_ = __vala_GtkTreePath_copy0 ((GtkTreePath*) path_it->data);
#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
path = _tmp4_;
-#line 1537 "ManifestWidget.c"
+#line 1650 "ManifestWidget.c"
{
GtkTreeIter iter = {0};
gchar* id = NULL;
@@ -1553,7 +1666,7 @@ gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* se
_tmp8_ = id;
#line 207 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (_tmp8_ != NULL) {
-#line 1557 "ManifestWidget.c"
+#line 1670 "ManifestWidget.c"
gchar** _tmp9_;
gint _tmp9__length1;
const gchar* _tmp10_;
@@ -1568,13 +1681,13 @@ gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* se
_tmp11_ = g_strdup (_tmp10_);
#line 208 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_vala_array_add53 (&ids, &ids_length1, &_ids_size_, _tmp11_);
-#line 1572 "ManifestWidget.c"
+#line 1685 "ManifestWidget.c"
}
#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (id);
#line 204 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _gtk_tree_path_free0 (path);
-#line 1578 "ManifestWidget.c"
+ __vala_GtkTreePath_free0 (path);
+#line 1691 "ManifestWidget.c"
}
}
}
@@ -1586,30 +1699,33 @@ gchar** plugins_manifest_list_view_get_selected_ids (PluginsManifestListView* se
if (result_length1) {
#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*result_length1 = _tmp12__length1;
-#line 1590 "ManifestWidget.c"
+#line 1703 "ManifestWidget.c"
}
#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = _tmp12_;
#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- __g_list_free__gtk_tree_path_free0_0 (selected);
+ __g_list_free___vala_GtkTreePath_free0_0 (selected);
#line 211 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1598 "ManifestWidget.c"
+#line 1711 "ManifestWidget.c"
}
-static gchar* plugins_manifest_list_view_get_id_at_path (PluginsManifestListView* self, GtkTreePath* path, GtkTreeIter* iter) {
+static gchar*
+plugins_manifest_list_view_get_id_at_path (PluginsManifestListView* self,
+ GtkTreePath* path,
+ GtkTreeIter* iter)
+{
GtkTreeIter _vala_iter = {0};
gchar* result = NULL;
GtkTreeStore* _tmp0_;
- GtkTreePath* _tmp1_;
- GtkTreeIter _tmp2_ = {0};
- gboolean _tmp3_;
+ GtkTreeIter _tmp1_ = {0};
+ gboolean _tmp2_;
const gchar* id = NULL;
- GtkTreeStore* _tmp4_;
- GtkTreeIter _tmp5_;
- const gchar* _tmp6_;
- gchar* _tmp7_;
+ GtkTreeStore* _tmp3_;
+ GtkTreeIter _tmp4_;
+ const gchar* _tmp5_;
+ gchar* _tmp6_;
#line 214 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_val_if_fail (PLUGINS_IS_MANIFEST_LIST_VIEW (self), NULL);
#line 214 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
@@ -1617,241 +1733,208 @@ static gchar* plugins_manifest_list_view_get_id_at_path (PluginsManifestListView
#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp0_ = self->priv->store;
#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp1_ = path;
-#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp3_ = gtk_tree_model_get_iter (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_TREE_MODEL, GtkTreeModel), &_tmp2_, _tmp1_);
+ _tmp2_ = gtk_tree_model_get_iter (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_tree_model_get_type (), GtkTreeModel), &_tmp1_, path);
#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _vala_iter = _tmp2_;
+ _vala_iter = _tmp1_;
#line 215 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (!_tmp3_) {
+ if (!_tmp2_) {
#line 216 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = NULL;
#line 216 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (iter) {
#line 216 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*iter = _vala_iter;
-#line 1634 "ManifestWidget.c"
+#line 1748 "ManifestWidget.c"
}
#line 216 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1638 "ManifestWidget.c"
+#line 1752 "ManifestWidget.c"
}
#line 219 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp4_ = self->priv->store;
+ _tmp3_ = self->priv->store;
#line 219 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp5_ = _vala_iter;
+ _tmp4_ = _vala_iter;
#line 219 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_tree_model_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GTK_TYPE_TREE_MODEL, GtkTreeModel), &_tmp5_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ID, &id, -1);
+ gtk_tree_model_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_tree_model_get_type (), GtkTreeModel), &_tmp4_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ID, &id, -1);
#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp6_ = id;
+ _tmp5_ = id;
#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp7_ = g_strdup (_tmp6_);
+ _tmp6_ = g_strdup (_tmp5_);
#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- result = _tmp7_;
+ result = _tmp6_;
#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
if (iter) {
#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
*iter = _vala_iter;
-#line 1656 "ManifestWidget.c"
+#line 1770 "ManifestWidget.c"
}
#line 221 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1660 "ManifestWidget.c"
+#line 1774 "ManifestWidget.c"
}
-static gboolean plugins_manifest_list_view_real_button_press_event (GtkWidget* base, GdkEventButton* event) {
+static gboolean
+plugins_manifest_list_view_real_button_press_event (GtkWidget* base,
+ GdkEventButton* event)
+{
PluginsManifestListView * self;
gboolean result = FALSE;
GtkTreePath* path = NULL;
GtkTreeViewColumn* col = NULL;
gint cellx = 0;
gint celly = 0;
- GdkEventButton* _tmp0_;
+ gdouble _tmp0_;
gdouble _tmp1_;
- GdkEventButton* _tmp2_;
- gdouble _tmp3_;
- GtkTreePath* _tmp4_ = NULL;
- GtkTreeViewColumn* _tmp5_ = NULL;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gboolean _tmp8_;
- GtkTreeViewColumn* _tmp9_;
- gboolean _tmp12_ = FALSE;
- gint _tmp13_;
+ GtkTreePath* _tmp2_ = NULL;
+ GtkTreeViewColumn* _tmp3_ = NULL;
+ gint _tmp4_ = 0;
+ gint _tmp5_ = 0;
+ gboolean _tmp6_;
+ GtkTreeViewColumn* _tmp7_;
+ gboolean _tmp8_ = FALSE;
+ gint _tmp9_;
GtkTreeIter iter = {0};
gchar* id = NULL;
- GtkTreePath* _tmp17_;
- GtkTreeIter _tmp18_ = {0};
- gchar* _tmp19_;
- const gchar* _tmp20_;
+ GtkTreePath* _tmp11_;
+ GtkTreeIter _tmp12_ = {0};
+ gchar* _tmp13_;
+ const gchar* _tmp14_;
gboolean enabled = FALSE;
- const gchar* _tmp23_;
- gboolean _tmp24_ = FALSE;
- gboolean _tmp25_;
- gboolean _tmp28_;
- const gchar* _tmp29_;
- gboolean _tmp30_;
- GtkTreeStore* _tmp31_;
- GtkTreeIter _tmp32_;
- gboolean _tmp33_;
+ const gchar* _tmp15_;
+ gboolean _tmp16_ = FALSE;
+ gboolean _tmp17_;
+ gboolean _tmp18_;
+ const gchar* _tmp19_;
+ gboolean _tmp20_;
+ GtkTreeStore* _tmp21_;
+ GtkTreeIter _tmp22_;
+ gboolean _tmp23_;
#line 232 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_MANIFEST_LIST_VIEW, PluginsManifestListView);
#line 232 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
g_return_val_if_fail (event != NULL, FALSE);
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp0_ = event;
-#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp1_ = _tmp0_->x;
-#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp2_ = event;
+ _tmp0_ = event->x;
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp3_ = _tmp2_->y;
+ _tmp1_ = event->y;
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp8_ = gtk_tree_view_get_path_at_pos (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), (gint) _tmp1_, (gint) _tmp3_, &_tmp4_, &_tmp5_, &_tmp6_, &_tmp7_);
+ _tmp6_ = gtk_tree_view_get_path_at_pos (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), (gint) _tmp0_, (gint) _tmp1_, &_tmp2_, &_tmp3_, &_tmp4_, &_tmp5_);
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _gtk_tree_path_free0 (path);
+ __vala_GtkTreePath_free0 (path);
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- path = _tmp4_;
+ path = _tmp2_;
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp9_ = _g_object_ref0 (_tmp5_);
+ _tmp7_ = _g_object_ref0 (_tmp3_);
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- col = _tmp9_;
+ col = _tmp7_;
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- cellx = _tmp6_;
+ cellx = _tmp4_;
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- celly = _tmp7_;
+ celly = _tmp5_;
#line 237 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (!_tmp8_) {
-#line 1729 "ManifestWidget.c"
- GdkEventButton* _tmp10_;
- gboolean _tmp11_;
-#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp10_ = event;
-#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp11_ = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp10_);
+ if (!_tmp6_) {
#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- result = _tmp11_;
+ result = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), event);
#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _gtk_tree_path_free0 (path);
+ __vala_GtkTreePath_free0 (path);
#line 239 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1744 "ManifestWidget.c"
+#line 1848 "ManifestWidget.c"
}
#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp13_ = cellx;
+ _tmp9_ = cellx;
#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (_tmp13_ < (PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE + PLUGINS_MANIFEST_LIST_VIEW_ICON_X_PADDING)) {
+ if (_tmp9_ < (PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE + PLUGINS_MANIFEST_LIST_VIEW_ICON_X_PADDING)) {
#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp12_ = TRUE;
-#line 1752 "ManifestWidget.c"
+ _tmp8_ = TRUE;
+#line 1856 "ManifestWidget.c"
} else {
- gint _tmp14_;
+ gint _tmp10_;
#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp14_ = cellx;
+ _tmp10_ = cellx;
#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp12_ = _tmp14_ > (2 * (PLUGINS_MANIFEST_LIST_VIEW_ICON_X_PADDING + PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE));
-#line 1759 "ManifestWidget.c"
+ _tmp8_ = _tmp10_ > (2 * (PLUGINS_MANIFEST_LIST_VIEW_ICON_X_PADDING + PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE));
+#line 1863 "ManifestWidget.c"
}
#line 244 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (_tmp12_) {
-#line 1763 "ManifestWidget.c"
- GdkEventButton* _tmp15_;
- gboolean _tmp16_;
-#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp15_ = event;
+ if (_tmp8_) {
#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp16_ = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp15_);
-#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- result = _tmp16_;
+ result = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), event);
#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _gtk_tree_path_free0 (path);
+ __vala_GtkTreePath_free0 (path);
#line 245 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1778 "ManifestWidget.c"
+#line 1875 "ManifestWidget.c"
}
#line 248 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp17_ = path;
+ _tmp11_ = path;
#line 248 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp19_ = plugins_manifest_list_view_get_id_at_path (self, _tmp17_, &_tmp18_);
+ _tmp13_ = plugins_manifest_list_view_get_id_at_path (self, _tmp11_, &_tmp12_);
#line 248 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- iter = _tmp18_;
+ iter = _tmp12_;
#line 248 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- id = _tmp19_;
+ id = _tmp13_;
#line 249 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp20_ = id;
+ _tmp14_ = id;
#line 249 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (_tmp20_ == NULL) {
-#line 1792 "ManifestWidget.c"
- GdkEventButton* _tmp21_;
- gboolean _tmp22_;
-#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp21_ = event;
-#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp22_ = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp21_);
+ if (_tmp14_ == NULL) {
#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- result = _tmp22_;
+ result = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), event);
#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (id);
#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _gtk_tree_path_free0 (path);
+ __vala_GtkTreePath_free0 (path);
#line 250 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1809 "ManifestWidget.c"
+#line 1899 "ManifestWidget.c"
}
#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp23_ = id;
+ _tmp15_ = id;
#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp25_ = plugins_get_pluggable_enabled (_tmp23_, &_tmp24_);
+ _tmp17_ = plugins_get_pluggable_enabled (_tmp15_, &_tmp16_);
#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- enabled = _tmp24_;
+ enabled = _tmp16_;
#line 253 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- if (!_tmp25_) {
-#line 1819 "ManifestWidget.c"
- GdkEventButton* _tmp26_;
- gboolean _tmp27_;
-#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp26_ = event;
-#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp27_ = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), _tmp26_);
+ if (!_tmp17_) {
#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- result = _tmp27_;
+ result = GTK_WIDGET_CLASS (plugins_manifest_list_view_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_tree_view_get_type (), GtkTreeView), gtk_widget_get_type (), GtkWidget), event);
#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_free0 (id);
#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _gtk_tree_path_free0 (path);
+ __vala_GtkTreePath_free0 (path);
#line 254 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1836 "ManifestWidget.c"
+#line 1919 "ManifestWidget.c"
}
#line 257 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp28_ = enabled;
+ _tmp18_ = enabled;
#line 257 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- enabled = !_tmp28_;
+ enabled = !_tmp18_;
#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp29_ = id;
+ _tmp19_ = id;
#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp30_ = enabled;
+ _tmp20_ = enabled;
#line 258 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- plugins_set_pluggable_enabled (_tmp29_, _tmp30_);
+ plugins_set_pluggable_enabled (_tmp19_, _tmp20_);
#line 260 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp31_ = self->priv->store;
+ _tmp21_ = self->priv->store;
#line 260 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp32_ = iter;
+ _tmp22_ = iter;
#line 260 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp33_ = enabled;
+ _tmp23_ = enabled;
#line 260 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- gtk_tree_store_set (_tmp31_, &_tmp32_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED, _tmp33_, -1);
+ gtk_tree_store_set (_tmp21_, &_tmp22_, PLUGINS_MANIFEST_LIST_VIEW_COLUMN_ENABLED, _tmp23_, -1);
#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
result = TRUE;
#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
@@ -1859,14 +1942,16 @@ static gboolean plugins_manifest_list_view_real_button_press_event (GtkWidget* b
#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_g_object_unref0 (col);
#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _gtk_tree_path_free0 (path);
+ __vala_GtkTreePath_free0 (path);
#line 262 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
return result;
-#line 1866 "ManifestWidget.c"
+#line 1949 "ManifestWidget.c"
}
-static void plugins_manifest_list_view_class_init (PluginsManifestListViewClass * klass) {
+static void
+plugins_manifest_list_view_class_init (PluginsManifestListViewClass * klass)
+{
#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
plugins_manifest_list_view_parent_class = g_type_class_peek_parent (klass);
#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
@@ -1875,11 +1960,13 @@ static void plugins_manifest_list_view_class_init (PluginsManifestListViewClass
((GtkWidgetClass *) klass)->button_press_event = (gboolean (*) (GtkWidget *, GdkEventButton*)) plugins_manifest_list_view_real_button_press_event;
#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
G_OBJECT_CLASS (klass)->finalize = plugins_manifest_list_view_finalize;
-#line 1879 "ManifestWidget.c"
+#line 1964 "ManifestWidget.c"
}
-static void plugins_manifest_list_view_instance_init (PluginsManifestListView * self) {
+static void
+plugins_manifest_list_view_instance_init (PluginsManifestListView * self)
+{
GtkTreeStore* _tmp0_;
#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self->priv = PLUGINS_MANIFEST_LIST_VIEW_GET_PRIVATE (self);
@@ -1887,11 +1974,13 @@ static void plugins_manifest_list_view_instance_init (PluginsManifestListView *
_tmp0_ = gtk_tree_store_new ((gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_N_COLUMNS, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, gdk_pixbuf_get_type (), G_TYPE_STRING, G_TYPE_STRING);
#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self->priv->store = _tmp0_;
-#line 1891 "ManifestWidget.c"
+#line 1978 "ManifestWidget.c"
}
-static void plugins_manifest_list_view_finalize (GObject * obj) {
+static void
+plugins_manifest_list_view_finalize (GObject * obj)
+{
PluginsManifestListView * self;
#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PLUGINS_TYPE_MANIFEST_LIST_VIEW, PluginsManifestListView);
@@ -1899,11 +1988,13 @@ static void plugins_manifest_list_view_finalize (GObject * obj) {
_g_object_unref0 (self->priv->store);
#line 94 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
G_OBJECT_CLASS (plugins_manifest_list_view_parent_class)->finalize (obj);
-#line 1903 "ManifestWidget.c"
+#line 1992 "ManifestWidget.c"
}
-GType plugins_manifest_list_view_get_type (void) {
+GType
+plugins_manifest_list_view_get_type (void)
+{
static volatile gsize plugins_manifest_list_view_type_id__volatile = 0;
if (g_once_init_enter (&plugins_manifest_list_view_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (PluginsManifestListViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) plugins_manifest_list_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PluginsManifestListView), 0, (GInstanceInitFunc) plugins_manifest_list_view_instance_init, NULL };
@@ -1915,7 +2006,11 @@ GType plugins_manifest_list_view_get_type (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) {
@@ -1927,13 +2022,19 @@ 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);
}
-static gint _vala_array_length (gpointer array) {
+static gint
+_vala_array_length (gpointer array)
+{
int length;
length = 0;
if (array) {
diff --git a/src/plugins/Plugins.c b/src/plugins/Plugins.c
index f6a6639..55b8513 100644
--- a/src/plugins/Plugins.c
+++ b/src/plugins/Plugins.c
@@ -1,4 +1,4 @@
-/* Plugins.c generated by valac 0.36.6, the Vala compiler
+/* Plugins.c generated by valac 0.40.4, the Vala compiler
* generated from Plugins.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>
@@ -95,9 +96,9 @@ typedef struct _PluginsNotifierPrivate PluginsNotifierPrivate;
typedef struct _PluginsParamSpecNotifier PluginsParamSpecNotifier;
enum {
PLUGINS_NOTIFIER_PLUGGABLE_ACTIVATION_SIGNAL,
- PLUGINS_NOTIFIER_LAST_SIGNAL
+ PLUGINS_NOTIFIER_NUM_SIGNALS
};
-static guint plugins_notifier_signals[PLUGINS_NOTIFIER_LAST_SIGNAL] = {0};
+static guint plugins_notifier_signals[PLUGINS_NOTIFIER_NUM_SIGNALS] = {0};
#define _plugins_extension_point_unref0(var) ((var == NULL) ? NULL : (var = (plugins_extension_point_unref (var), NULL)))
#define _plugins_pluggable_rep_unref0(var) ((var == NULL) ? NULL : (var = (plugins_pluggable_rep_unref (var), NULL)))
@@ -230,163 +231,237 @@ static PluginsNotifier* plugins_notifier_instance = NULL;
#define PLUGINS_MAX_SPIT_INTERFACE 0
gpointer plugins_extension_point_ref (gpointer instance);
void plugins_extension_point_unref (gpointer instance);
-GParamSpec* plugins_param_spec_extension_point (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void plugins_value_set_extension_point (GValue* value, gpointer v_object);
-void plugins_value_take_extension_point (GValue* value, gpointer v_object);
+GParamSpec* plugins_param_spec_extension_point (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void plugins_value_set_extension_point (GValue* value,
+ gpointer v_object);
+void plugins_value_take_extension_point (GValue* value,
+ gpointer v_object);
gpointer plugins_value_get_extension_point (const GValue* value);
GType plugins_extension_point_get_type (void) G_GNUC_CONST;
#define PLUGINS_EXTENSION_POINT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PLUGINS_TYPE_EXTENSION_POINT, PluginsExtensionPointPrivate))
-enum {
- PLUGINS_EXTENSION_POINT_DUMMY_PROPERTY
-};
-PluginsExtensionPoint* plugins_extension_point_new (GType pluggable_type, const gchar* name, const gchar* icon_name, gchar** core_ids, int core_ids_length1);
-PluginsExtensionPoint* plugins_extension_point_construct (GType object_type, GType pluggable_type, const gchar* name, const gchar* icon_name, gchar** core_ids, int core_ids_length1);
-static void plugins_extension_point_set_pluggable_type (PluginsExtensionPoint* self, GType value);
-static void plugins_extension_point_set_name (PluginsExtensionPoint* self, const gchar* value);
-static void plugins_extension_point_set_icon_name (PluginsExtensionPoint* self, const gchar* value);
-static void plugins_extension_point_set_core_ids (PluginsExtensionPoint* self, gchar** value, int value_length1);
+PluginsExtensionPoint* plugins_extension_point_new (GType pluggable_type,
+ const gchar* name,
+ const gchar* icon_name,
+ gchar** core_ids,
+ int core_ids_length1);
+PluginsExtensionPoint* plugins_extension_point_construct (GType object_type,
+ GType pluggable_type,
+ const gchar* name,
+ const gchar* icon_name,
+ gchar** core_ids,
+ int core_ids_length1);
+static void plugins_extension_point_set_pluggable_type (PluginsExtensionPoint* self,
+ GType value);
+static void plugins_extension_point_set_name (PluginsExtensionPoint* self,
+ const gchar* value);
+static void plugins_extension_point_set_icon_name (PluginsExtensionPoint* self,
+ const gchar* value);
+static void plugins_extension_point_set_core_ids (PluginsExtensionPoint* self,
+ gchar** value,
+ int value_length1);
GType plugins_extension_point_get_pluggable_type (PluginsExtensionPoint* self);
const gchar* plugins_extension_point_get_name (PluginsExtensionPoint* self);
const gchar* plugins_extension_point_get_icon_name (PluginsExtensionPoint* self);
-gchar** plugins_extension_point_get_core_ids (PluginsExtensionPoint* self, int* result_length1);
-static gchar** _vala_array_dup16 (gchar** self, int length);
+gchar** plugins_extension_point_get_core_ids (PluginsExtensionPoint* self,
+ int* result_length1);
+static gchar** _vala_array_dup16 (gchar** self,
+ int length);
static void plugins_extension_point_finalize (PluginsExtensionPoint * obj);
gpointer plugins_module_rep_ref (gpointer instance);
void plugins_module_rep_unref (gpointer instance);
-GParamSpec* plugins_param_spec_module_rep (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void plugins_value_set_module_rep (GValue* value, gpointer v_object);
-void plugins_value_take_module_rep (GValue* value, gpointer v_object);
+GParamSpec* plugins_param_spec_module_rep (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void plugins_value_set_module_rep (GValue* value,
+ gpointer v_object);
+void plugins_value_take_module_rep (GValue* value,
+ gpointer v_object);
gpointer plugins_value_get_module_rep (const GValue* value);
GType plugins_module_rep_get_type (void) G_GNUC_CONST;
-enum {
- PLUGINS_MODULE_REP_DUMMY_PROPERTY
-};
static PluginsModuleRep* plugins_module_rep_new (GFile* file);
-static PluginsModuleRep* plugins_module_rep_construct (GType object_type, GFile* file);
+static PluginsModuleRep* plugins_module_rep_construct (GType object_type,
+ GFile* file);
PluginsModuleRep* plugins_module_rep_open (GFile* file);
static void plugins_module_rep_finalize (PluginsModuleRep * obj);
gpointer plugins_pluggable_rep_ref (gpointer instance);
void plugins_pluggable_rep_unref (gpointer instance);
-GParamSpec* plugins_param_spec_pluggable_rep (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void plugins_value_set_pluggable_rep (GValue* value, gpointer v_object);
-void plugins_value_take_pluggable_rep (GValue* value, gpointer v_object);
+GParamSpec* plugins_param_spec_pluggable_rep (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void plugins_value_set_pluggable_rep (GValue* value,
+ gpointer v_object);
+void plugins_value_take_pluggable_rep (GValue* value,
+ gpointer v_object);
gpointer plugins_value_get_pluggable_rep (const GValue* value);
GType plugins_pluggable_rep_get_type (void) G_GNUC_CONST;
#define PLUGINS_PLUGGABLE_REP_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PLUGINS_TYPE_PLUGGABLE_REP, PluginsPluggableRepPrivate))
-enum {
- PLUGINS_PLUGGABLE_REP_DUMMY_PROPERTY
-};
PluginsPluggableRep* plugins_pluggable_rep_new (SpitPluggable* pluggable);
-PluginsPluggableRep* plugins_pluggable_rep_construct (GType object_type, SpitPluggable* pluggable);
-static void plugins_pluggable_rep_set_pluggable (PluginsPluggableRep* self, SpitPluggable* value);
-static void plugins_pluggable_rep_set_id (PluginsPluggableRep* self, const gchar* value);
+PluginsPluggableRep* plugins_pluggable_rep_construct (GType object_type,
+ SpitPluggable* pluggable);
+static void plugins_pluggable_rep_set_pluggable (PluginsPluggableRep* self,
+ SpitPluggable* value);
+static void plugins_pluggable_rep_set_id (PluginsPluggableRep* self,
+ const gchar* value);
void plugins_pluggable_rep_activate (PluginsPluggableRep* self);
gboolean plugins_is_core_pluggable (SpitPluggable* pluggable);
SpitPluggable* plugins_pluggable_rep_get_pluggable (PluginsPluggableRep* self);
-static void plugins_pluggable_rep_set_is_core (PluginsPluggableRep* self, gboolean value);
+static void plugins_pluggable_rep_set_is_core (PluginsPluggableRep* self,
+ gboolean value);
GType fuzzy_property_state_get_type (void) G_GNUC_CONST;
GType configuration_facade_get_type (void) G_GNUC_CONST;
GType config_facade_get_type (void) G_GNUC_CONST;
ConfigFacade* config_facade_get_instance (void);
-FuzzyPropertyState configuration_facade_is_plugin_enabled (ConfigurationFacade* self, const gchar* id);
+FuzzyPropertyState configuration_facade_is_plugin_enabled (ConfigurationFacade* self,
+ const gchar* id);
const gchar* plugins_pluggable_rep_get_id (PluginsPluggableRep* self);
gboolean plugins_pluggable_rep_get_is_core (PluginsPluggableRep* self);
-static void plugins_pluggable_rep_set_activated (PluginsPluggableRep* self, gboolean value);
+static void plugins_pluggable_rep_set_activated (PluginsPluggableRep* self,
+ gboolean value);
gboolean plugins_pluggable_rep_is_enabled (PluginsPluggableRep* self);
-gboolean plugins_pluggable_rep_set_enabled (PluginsPluggableRep* self, gboolean enabled);
-void configuration_facade_set_plugin_enabled (ConfigurationFacade* self, const gchar* id, gboolean enabled);
+gboolean plugins_pluggable_rep_set_enabled (PluginsPluggableRep* self,
+ gboolean enabled);
+void configuration_facade_set_plugin_enabled (ConfigurationFacade* self,
+ const gchar* id,
+ gboolean enabled);
gboolean plugins_pluggable_rep_get_activated (PluginsPluggableRep* self);
static void plugins_pluggable_rep_finalize (PluginsPluggableRep * obj);
void plugins_init (GError** error);
GFile* app_dirs_get_user_plugins_dir (void);
-static void _vala_array_add50 (GFile** * array, int* length, int* size, GFile* value);
+static void _vala_array_add50 (GFile** * array,
+ int* length,
+ int* size,
+ GFile* value);
GFile* app_dirs_get_system_plugins_dir (void);
-static void _vala_array_add51 (GFile** * array, int* length, int* size, GFile* value);
-void plugins_search_for_plugins (GFile* dir, GError** error);
+static void _vala_array_add51 (GFile** * array,
+ int* length,
+ int* size,
+ GFile* value);
+void plugins_search_for_plugins (GFile* dir,
+ GError** error);
void plugins_terminate (void);
gpointer plugins_notifier_ref (gpointer instance);
void plugins_notifier_unref (gpointer instance);
-GParamSpec* plugins_param_spec_notifier (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void plugins_value_set_notifier (GValue* value, gpointer v_object);
-void plugins_value_take_notifier (GValue* value, gpointer v_object);
+GParamSpec* plugins_param_spec_notifier (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags);
+void plugins_value_set_notifier (GValue* value,
+ gpointer v_object);
+void plugins_value_take_notifier (GValue* value,
+ gpointer v_object);
gpointer plugins_value_get_notifier (const GValue* value);
GType plugins_notifier_get_type (void) G_GNUC_CONST;
-enum {
- PLUGINS_NOTIFIER_DUMMY_PROPERTY
-};
static PluginsNotifier* plugins_notifier_new (void);
static PluginsNotifier* plugins_notifier_construct (GType object_type);
PluginsNotifier* plugins_notifier_get_instance (void);
-static void g_cclosure_user_marshal_VOID__OBJECT_BOOLEAN (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data);
+static void g_cclosure_user_marshal_VOID__OBJECT_BOOLEAN (GClosure * closure,
+ GValue * return_value,
+ guint n_param_values,
+ const GValue * param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data);
static void plugins_notifier_finalize (PluginsNotifier * obj);
-void plugins_register_extension_point (GType type, const gchar* name, const gchar* icon_name, gchar** core_ids, int core_ids_length1);
+void plugins_register_extension_point (GType type,
+ const gchar* name,
+ const gchar* icon_name,
+ gchar** core_ids,
+ int core_ids_length1);
GeeCollection* plugins_get_pluggables (gboolean include_disabled);
PluginsModuleRep* plugins_get_module_for_pluggable (SpitPluggable* needle);
-static SpitPluggable** _vala_array_dup17 (SpitPluggable** self, int length);
+static SpitPluggable** _vala_array_dup17 (SpitPluggable** self,
+ int length);
gchar* plugins_get_pluggable_module_id (SpitPluggable* needle);
-GeeCollection* plugins_get_extension_points (GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify);
-GeeCollection* plugins_get_pluggables_for_type (GType type, GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify, gboolean include_disabled);
+GeeCollection* plugins_get_extension_points (GCompareDataFunc compare_func,
+ void* compare_func_target,
+ GDestroyNotify compare_func_target_destroy_notify);
+GeeCollection* plugins_get_pluggables_for_type (GType type,
+ GCompareDataFunc compare_func,
+ void* compare_func_target,
+ GDestroyNotify compare_func_target_destroy_notify,
+ gboolean include_disabled);
gchar* plugins_get_pluggable_name (const gchar* id);
-gboolean plugins_get_pluggable_info (const gchar* id, SpitPluggableInfo* info);
-gboolean plugins_get_pluggable_enabled (const gchar* id, gboolean* enabled);
-void plugins_set_pluggable_enabled (const gchar* id, gboolean enabled);
+gboolean plugins_get_pluggable_info (const gchar* id,
+ SpitPluggableInfo* info);
+gboolean plugins_get_pluggable_enabled (const gchar* id,
+ gboolean* enabled);
+void plugins_set_pluggable_enabled (const gchar* id,
+ gboolean enabled);
GFile* plugins_get_pluggable_module_file (SpitPluggable* pluggable);
-gint plugins_compare_pluggable_names (void* a, void* b);
-gint plugins_compare_extension_point_names (void* a, void* b);
+gint plugins_compare_pluggable_names (void* a,
+ void* b);
+gint plugins_compare_extension_point_names (void* a,
+ void* b);
gboolean plugins_is_shared_library (GFile* file);
-void disassemble_filename (const gchar* basename, gchar* * name, gchar* * ext);
+void disassemble_filename (const gchar* basename,
+ gchar* * name,
+ gchar* * ext);
#define UTIL_FILE_ATTRIBUTES "standard::*,time::*,id::file,id::filesystem,etag::value"
void plugins_load_module (GFile* file);
GType prepare_input_text_options_get_type (void) G_GNUC_CONST;
-gchar* prepare_input_text (const gchar* text, PrepareInputTextOptions options, gint dest_length);
-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);
+gchar* prepare_input_text (const gchar* text,
+ PrepareInputTextOptions options,
+ gint dest_length);
+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);
const gchar* PLUGINS_SHARED_LIB_EXTS[2] = {"so", "la"};
-PluginsExtensionPoint* plugins_extension_point_construct (GType object_type, GType pluggable_type, const gchar* name, const gchar* icon_name, gchar** core_ids, int core_ids_length1) {
+PluginsExtensionPoint*
+plugins_extension_point_construct (GType object_type,
+ GType pluggable_type,
+ const gchar* name,
+ const gchar* icon_name,
+ gchar** core_ids,
+ int core_ids_length1)
+{
PluginsExtensionPoint* self = NULL;
- GType _tmp0_;
- const gchar* _tmp1_;
- const gchar* _tmp2_;
- gchar** _tmp3_;
- gint _tmp3__length1;
#line 25 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (name != NULL, NULL);
#line 25 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self = (PluginsExtensionPoint*) g_type_create_instance (object_type);
#line 26 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = pluggable_type;
-#line 26 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_extension_point_set_pluggable_type (self, _tmp0_);
-#line 27 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = name;
+ plugins_extension_point_set_pluggable_type (self, pluggable_type);
#line 27 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_extension_point_set_name (self, _tmp1_);
+ plugins_extension_point_set_name (self, name);
#line 28 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = icon_name;
-#line 28 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_extension_point_set_icon_name (self, _tmp2_);
-#line 29 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = core_ids;
-#line 29 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3__length1 = core_ids_length1;
+ plugins_extension_point_set_icon_name (self, icon_name);
#line 29 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_extension_point_set_core_ids (self, _tmp3_, _tmp3__length1);
+ plugins_extension_point_set_core_ids (self, core_ids, core_ids_length1);
#line 25 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return self;
-#line 379 "Plugins.c"
+#line 446 "Plugins.c"
}
-PluginsExtensionPoint* plugins_extension_point_new (GType pluggable_type, const gchar* name, const gchar* icon_name, gchar** core_ids, int core_ids_length1) {
+PluginsExtensionPoint*
+plugins_extension_point_new (GType pluggable_type,
+ const gchar* name,
+ const gchar* icon_name,
+ gchar** core_ids,
+ int core_ids_length1)
+{
#line 25 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return plugins_extension_point_construct (PLUGINS_TYPE_EXTENSION_POINT, pluggable_type, name, icon_name, core_ids, core_ids_length1);
-#line 386 "Plugins.c"
+#line 459 "Plugins.c"
}
-GType plugins_extension_point_get_pluggable_type (PluginsExtensionPoint* self) {
+GType
+plugins_extension_point_get_pluggable_type (PluginsExtensionPoint* self)
+{
GType result;
GType _tmp0_;
#line 19 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -397,23 +472,25 @@ GType plugins_extension_point_get_pluggable_type (PluginsExtensionPoint* self) {
result = _tmp0_;
#line 19 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 401 "Plugins.c"
+#line 476 "Plugins.c"
}
-static void plugins_extension_point_set_pluggable_type (PluginsExtensionPoint* self, GType value) {
- GType _tmp0_;
+static void
+plugins_extension_point_set_pluggable_type (PluginsExtensionPoint* self,
+ GType value)
+{
#line 19 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (PLUGINS_IS_EXTENSION_POINT (self));
#line 19 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = value;
-#line 19 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->_pluggable_type = _tmp0_;
-#line 413 "Plugins.c"
+ self->priv->_pluggable_type = value;
+#line 488 "Plugins.c"
}
-const gchar* plugins_extension_point_get_name (PluginsExtensionPoint* self) {
+const gchar*
+plugins_extension_point_get_name (PluginsExtensionPoint* self)
+{
const gchar* result;
const gchar* _tmp0_;
#line 21 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -424,28 +501,30 @@ const gchar* plugins_extension_point_get_name (PluginsExtensionPoint* self) {
result = _tmp0_;
#line 21 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 428 "Plugins.c"
+#line 505 "Plugins.c"
}
-static void plugins_extension_point_set_name (PluginsExtensionPoint* self, const gchar* value) {
- const gchar* _tmp0_;
- gchar* _tmp1_;
+static void
+plugins_extension_point_set_name (PluginsExtensionPoint* self,
+ const gchar* value)
+{
+ gchar* _tmp0_;
#line 21 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (PLUGINS_IS_EXTENSION_POINT (self));
#line 21 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = value;
-#line 21 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = g_strdup (_tmp0_);
+ _tmp0_ = g_strdup (value);
#line 21 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_free0 (self->priv->_name);
#line 21 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->_name = _tmp1_;
-#line 445 "Plugins.c"
+ self->priv->_name = _tmp0_;
+#line 522 "Plugins.c"
}
-const gchar* plugins_extension_point_get_icon_name (PluginsExtensionPoint* self) {
+const gchar*
+plugins_extension_point_get_icon_name (PluginsExtensionPoint* self)
+{
const gchar* result;
const gchar* _tmp0_;
#line 22 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -456,28 +535,31 @@ const gchar* plugins_extension_point_get_icon_name (PluginsExtensionPoint* self)
result = _tmp0_;
#line 22 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 460 "Plugins.c"
+#line 539 "Plugins.c"
}
-static void plugins_extension_point_set_icon_name (PluginsExtensionPoint* self, const gchar* value) {
- const gchar* _tmp0_;
- gchar* _tmp1_;
+static void
+plugins_extension_point_set_icon_name (PluginsExtensionPoint* self,
+ const gchar* value)
+{
+ gchar* _tmp0_;
#line 22 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (PLUGINS_IS_EXTENSION_POINT (self));
#line 22 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = value;
-#line 22 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = g_strdup (_tmp0_);
+ _tmp0_ = g_strdup (value);
#line 22 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_free0 (self->priv->_icon_name);
#line 22 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->_icon_name = _tmp1_;
-#line 477 "Plugins.c"
+ self->priv->_icon_name = _tmp0_;
+#line 556 "Plugins.c"
}
-gchar** plugins_extension_point_get_core_ids (PluginsExtensionPoint* self, int* result_length1) {
+gchar**
+plugins_extension_point_get_core_ids (PluginsExtensionPoint* self,
+ int* result_length1)
+{
gchar** result;
gchar** _tmp0_;
gint _tmp0__length1;
@@ -497,162 +579,188 @@ gchar** plugins_extension_point_get_core_ids (PluginsExtensionPoint* self, int*
if (result_length1) {
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*result_length1 = _tmp1__length1;
-#line 501 "Plugins.c"
+#line 583 "Plugins.c"
}
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = _tmp1_;
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 507 "Plugins.c"
+#line 589 "Plugins.c"
}
-static gchar** _vala_array_dup16 (gchar** self, int length) {
+static gchar**
+_vala_array_dup16 (gchar** self,
+ int length)
+{
gchar** result;
int i;
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = g_new0 (gchar*, length + 1);
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
for (i = 0; i < length; i++) {
-#line 518 "Plugins.c"
+#line 603 "Plugins.c"
gchar* _tmp0_;
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = g_strdup (self[i]);
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result[i] = _tmp0_;
-#line 524 "Plugins.c"
+#line 609 "Plugins.c"
}
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 528 "Plugins.c"
+#line 613 "Plugins.c"
}
-static void plugins_extension_point_set_core_ids (PluginsExtensionPoint* self, gchar** value, int value_length1) {
+static void
+plugins_extension_point_set_core_ids (PluginsExtensionPoint* self,
+ gchar** value,
+ int value_length1)
+{
gchar** _tmp0_;
gint _tmp0__length1;
- gchar** _tmp1_;
- gint _tmp1__length1;
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (PLUGINS_IS_EXTENSION_POINT (self));
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = value;
+ _tmp0_ = (value != NULL) ? _vala_array_dup16 (value, value_length1) : ((gpointer) value);
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0__length1 = value_length1;
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup16 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
-#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1__length1 = _tmp0__length1;
-#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self->priv->_core_ids = (_vala_array_free (self->priv->_core_ids, self->priv->_core_ids_length1, (GDestroyNotify) g_free), NULL);
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->_core_ids = _tmp1_;
+ self->priv->_core_ids = _tmp0_;
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->_core_ids_length1 = _tmp1__length1;
+ self->priv->_core_ids_length1 = _tmp0__length1;
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self->priv->__core_ids_size_ = self->priv->_core_ids_length1;
-#line 555 "Plugins.c"
+#line 638 "Plugins.c"
}
-static void plugins_value_extension_point_init (GValue* value) {
+static void
+plugins_value_extension_point_init (GValue* value)
+{
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 562 "Plugins.c"
+#line 647 "Plugins.c"
}
-static void plugins_value_extension_point_free_value (GValue* value) {
+static void
+plugins_value_extension_point_free_value (GValue* value)
+{
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (value->data[0].v_pointer) {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_extension_point_unref (value->data[0].v_pointer);
-#line 571 "Plugins.c"
+#line 658 "Plugins.c"
}
}
-static void plugins_value_extension_point_copy_value (const GValue* src_value, GValue* dest_value) {
+static void
+plugins_value_extension_point_copy_value (const GValue* src_value,
+ GValue* dest_value)
+{
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (src_value->data[0].v_pointer) {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
dest_value->data[0].v_pointer = plugins_extension_point_ref (src_value->data[0].v_pointer);
-#line 581 "Plugins.c"
+#line 671 "Plugins.c"
} else {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
dest_value->data[0].v_pointer = NULL;
-#line 585 "Plugins.c"
+#line 675 "Plugins.c"
}
}
-static gpointer plugins_value_extension_point_peek_pointer (const GValue* value) {
+static gpointer
+plugins_value_extension_point_peek_pointer (const GValue* value)
+{
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return value->data[0].v_pointer;
-#line 593 "Plugins.c"
+#line 685 "Plugins.c"
}
-static gchar* plugins_value_extension_point_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
+static gchar*
+plugins_value_extension_point_collect_value (GValue* value,
+ guint n_collect_values,
+ GTypeCValue* collect_values,
+ guint collect_flags)
+{
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (collect_values[0].v_pointer) {
-#line 600 "Plugins.c"
+#line 697 "Plugins.c"
PluginsExtensionPoint * object;
object = collect_values[0].v_pointer;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (object->parent_instance.g_class == NULL) {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 607 "Plugins.c"
+#line 704 "Plugins.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.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 611 "Plugins.c"
+#line 708 "Plugins.c"
}
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = plugins_extension_point_ref (object);
-#line 615 "Plugins.c"
+#line 712 "Plugins.c"
} else {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 619 "Plugins.c"
+#line 716 "Plugins.c"
}
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return NULL;
-#line 623 "Plugins.c"
+#line 720 "Plugins.c"
}
-static gchar* plugins_value_extension_point_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
+static gchar*
+plugins_value_extension_point_lcopy_value (const GValue* value,
+ guint n_collect_values,
+ GTypeCValue* collect_values,
+ guint collect_flags)
+{
PluginsExtensionPoint ** object_p;
object_p = collect_values[0].v_pointer;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (!object_p) {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 634 "Plugins.c"
+#line 736 "Plugins.c"
}
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (!value->data[0].v_pointer) {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = NULL;
-#line 640 "Plugins.c"
+#line 742 "Plugins.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = value->data[0].v_pointer;
-#line 644 "Plugins.c"
+#line 746 "Plugins.c"
} else {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = plugins_extension_point_ref (value->data[0].v_pointer);
-#line 648 "Plugins.c"
+#line 750 "Plugins.c"
}
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return NULL;
-#line 652 "Plugins.c"
+#line 754 "Plugins.c"
}
-GParamSpec* plugins_param_spec_extension_point (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
+GParamSpec*
+plugins_param_spec_extension_point (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags)
+{
PluginsParamSpecExtensionPoint* spec;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (g_type_is_a (object_type, PLUGINS_TYPE_EXTENSION_POINT), NULL);
@@ -662,20 +770,25 @@ GParamSpec* plugins_param_spec_extension_point (const gchar* name, const gchar*
G_PARAM_SPEC (spec)->value_type = object_type;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return G_PARAM_SPEC (spec);
-#line 666 "Plugins.c"
+#line 774 "Plugins.c"
}
-gpointer plugins_value_get_extension_point (const GValue* value) {
+gpointer
+plugins_value_get_extension_point (const GValue* value)
+{
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_EXTENSION_POINT), NULL);
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return value->data[0].v_pointer;
-#line 675 "Plugins.c"
+#line 785 "Plugins.c"
}
-void plugins_value_set_extension_point (GValue* value, gpointer v_object) {
+void
+plugins_value_set_extension_point (GValue* value,
+ gpointer v_object)
+{
PluginsExtensionPoint * old;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_EXTENSION_POINT));
@@ -691,22 +804,25 @@ void plugins_value_set_extension_point (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_extension_point_ref (value->data[0].v_pointer);
-#line 695 "Plugins.c"
+#line 808 "Plugins.c"
} else {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 699 "Plugins.c"
+#line 812 "Plugins.c"
}
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (old) {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_extension_point_unref (old);
-#line 705 "Plugins.c"
+#line 818 "Plugins.c"
}
}
-void plugins_value_take_extension_point (GValue* value, gpointer v_object) {
+void
+plugins_value_take_extension_point (GValue* value,
+ gpointer v_object)
+{
PluginsExtensionPoint * old;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_EXTENSION_POINT));
@@ -720,42 +836,48 @@ void plugins_value_take_extension_point (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = v_object;
-#line 724 "Plugins.c"
+#line 840 "Plugins.c"
} else {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 728 "Plugins.c"
+#line 844 "Plugins.c"
}
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (old) {
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_extension_point_unref (old);
-#line 734 "Plugins.c"
+#line 850 "Plugins.c"
}
}
-static void plugins_extension_point_class_init (PluginsExtensionPointClass * klass) {
+static void
+plugins_extension_point_class_init (PluginsExtensionPointClass * klass)
+{
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_extension_point_parent_class = g_type_class_peek_parent (klass);
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
((PluginsExtensionPointClass *) klass)->finalize = plugins_extension_point_finalize;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_type_class_add_private (klass, sizeof (PluginsExtensionPointPrivate));
-#line 746 "Plugins.c"
+#line 864 "Plugins.c"
}
-static void plugins_extension_point_instance_init (PluginsExtensionPoint * self) {
+static void
+plugins_extension_point_instance_init (PluginsExtensionPoint * self)
+{
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self->priv = PLUGINS_EXTENSION_POINT_GET_PRIVATE (self);
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self->ref_count = 1;
-#line 755 "Plugins.c"
+#line 875 "Plugins.c"
}
-static void plugins_extension_point_finalize (PluginsExtensionPoint * obj) {
+static void
+plugins_extension_point_finalize (PluginsExtensionPoint * obj)
+{
PluginsExtensionPoint * self;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PLUGINS_TYPE_EXTENSION_POINT, PluginsExtensionPoint);
@@ -767,11 +889,13 @@ static void plugins_extension_point_finalize (PluginsExtensionPoint * obj) {
_g_free0 (self->priv->_icon_name);
#line 23 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self->priv->_core_ids = (_vala_array_free (self->priv->_core_ids, self->priv->_core_ids_length1, (GDestroyNotify) g_free), NULL);
-#line 771 "Plugins.c"
+#line 893 "Plugins.c"
}
-GType plugins_extension_point_get_type (void) {
+GType
+plugins_extension_point_get_type (void)
+{
static volatile gsize plugins_extension_point_type_id__volatile = 0;
if (g_once_init_enter (&plugins_extension_point_type_id__volatile)) {
static const GTypeValueTable g_define_type_value_table = { plugins_value_extension_point_init, plugins_value_extension_point_free_value, plugins_value_extension_point_copy_value, plugins_value_extension_point_peek_pointer, "p", plugins_value_extension_point_collect_value, "p", plugins_value_extension_point_lcopy_value };
@@ -785,18 +909,22 @@ GType plugins_extension_point_get_type (void) {
}
-gpointer plugins_extension_point_ref (gpointer instance) {
+gpointer
+plugins_extension_point_ref (gpointer instance)
+{
PluginsExtensionPoint * self;
self = instance;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_atomic_int_inc (&self->ref_count);
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return instance;
-#line 796 "Plugins.c"
+#line 922 "Plugins.c"
}
-void plugins_extension_point_unref (gpointer instance) {
+void
+plugins_extension_point_unref (gpointer instance)
+{
PluginsExtensionPoint * self;
self = instance;
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -805,217 +933,244 @@ void plugins_extension_point_unref (gpointer instance) {
PLUGINS_EXTENSION_POINT_GET_CLASS (self)->finalize (self);
#line 18 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 809 "Plugins.c"
+#line 937 "Plugins.c"
}
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 41 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return self ? g_object_ref (self) : NULL;
-#line 817 "Plugins.c"
+#line 947 "Plugins.c"
}
-static PluginsModuleRep* plugins_module_rep_construct (GType object_type, GFile* file) {
+static PluginsModuleRep*
+plugins_module_rep_construct (GType object_type,
+ GFile* file)
+{
PluginsModuleRep* self = NULL;
GFile* _tmp0_;
- GFile* _tmp1_;
- GFile* _tmp2_;
- gchar* _tmp3_;
- gchar* _tmp4_;
- GModule* _tmp5_;
+ gchar* _tmp1_;
+ gchar* _tmp2_;
+ GModule* _tmp3_;
#line 40 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (G_IS_FILE (file), NULL);
#line 40 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self = (PluginsModuleRep*) g_type_create_instance (object_type);
#line 41 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = file;
-#line 41 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
+ _tmp0_ = _g_object_ref0 (file);
#line 41 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (self->file);
#line 41 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->file = _tmp1_;
+ self->file = _tmp0_;
#line 43 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = file;
+ _tmp1_ = g_file_get_path (file);
#line 43 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = g_file_get_path (_tmp2_);
-#line 43 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = _tmp3_;
+ _tmp2_ = _tmp1_;
#line 43 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = g_module_open (_tmp4_, G_MODULE_BIND_LAZY);
+ _tmp3_ = g_module_open (_tmp2_, G_MODULE_BIND_LAZY);
#line 43 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_module_close0 (self->module);
#line 43 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->module = _tmp5_;
+ self->module = _tmp3_;
#line 43 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp4_);
+ _g_free0 (_tmp2_);
#line 40 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return self;
-#line 857 "Plugins.c"
+#line 984 "Plugins.c"
}
-static PluginsModuleRep* plugins_module_rep_new (GFile* file) {
+static PluginsModuleRep*
+plugins_module_rep_new (GFile* file)
+{
#line 40 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return plugins_module_rep_construct (PLUGINS_TYPE_MODULE_REP, file);
-#line 864 "Plugins.c"
+#line 993 "Plugins.c"
}
-static gpointer _plugins_module_rep_ref0 (gpointer self) {
+static gpointer
+_plugins_module_rep_ref0 (gpointer self)
+{
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return self ? plugins_module_rep_ref (self) : NULL;
-#line 871 "Plugins.c"
+#line 1002 "Plugins.c"
}
-PluginsModuleRep* plugins_module_rep_open (GFile* file) {
+PluginsModuleRep*
+plugins_module_rep_open (GFile* file)
+{
PluginsModuleRep* result = NULL;
PluginsModuleRep* module_rep = NULL;
- GFile* _tmp0_;
- PluginsModuleRep* _tmp1_;
- PluginsModuleRep* _tmp2_ = NULL;
- PluginsModuleRep* _tmp3_;
- GModule* _tmp4_;
- PluginsModuleRep* _tmp6_;
+ PluginsModuleRep* _tmp0_;
+ PluginsModuleRep* _tmp1_ = NULL;
+ PluginsModuleRep* _tmp2_;
+ GModule* _tmp3_;
+ PluginsModuleRep* _tmp5_;
#line 54 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (G_IS_FILE (file), NULL);
#line 55 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = file;
+ _tmp0_ = plugins_module_rep_new (file);
#line 55 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = plugins_module_rep_new (_tmp0_);
-#line 55 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- module_rep = _tmp1_;
+ module_rep = _tmp0_;
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = module_rep;
+ _tmp2_ = module_rep;
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = _tmp3_->module;
+ _tmp3_ = _tmp2_->module;
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp4_ != NULL) {
-#line 898 "Plugins.c"
- PluginsModuleRep* _tmp5_;
+ if (_tmp3_ != NULL) {
+#line 1028 "Plugins.c"
+ PluginsModuleRep* _tmp4_;
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = module_rep;
+ _tmp4_ = module_rep;
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = _tmp5_;
-#line 904 "Plugins.c"
+ _tmp1_ = _tmp4_;
+#line 1034 "Plugins.c"
} else {
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = NULL;
-#line 908 "Plugins.c"
+ _tmp1_ = NULL;
+#line 1038 "Plugins.c"
}
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = _plugins_module_rep_ref0 (_tmp2_);
+ _tmp5_ = _plugins_module_rep_ref0 (_tmp1_);
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- result = _tmp6_;
+ result = _tmp5_;
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
#line 57 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 918 "Plugins.c"
+#line 1048 "Plugins.c"
}
-static void plugins_value_module_rep_init (GValue* value) {
+static void
+plugins_value_module_rep_init (GValue* value)
+{
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 925 "Plugins.c"
+#line 1057 "Plugins.c"
}
-static void plugins_value_module_rep_free_value (GValue* value) {
+static void
+plugins_value_module_rep_free_value (GValue* value)
+{
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (value->data[0].v_pointer) {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_module_rep_unref (value->data[0].v_pointer);
-#line 934 "Plugins.c"
+#line 1068 "Plugins.c"
}
}
-static void plugins_value_module_rep_copy_value (const GValue* src_value, GValue* dest_value) {
+static void
+plugins_value_module_rep_copy_value (const GValue* src_value,
+ GValue* dest_value)
+{
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (src_value->data[0].v_pointer) {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
dest_value->data[0].v_pointer = plugins_module_rep_ref (src_value->data[0].v_pointer);
-#line 944 "Plugins.c"
+#line 1081 "Plugins.c"
} else {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
dest_value->data[0].v_pointer = NULL;
-#line 948 "Plugins.c"
+#line 1085 "Plugins.c"
}
}
-static gpointer plugins_value_module_rep_peek_pointer (const GValue* value) {
+static gpointer
+plugins_value_module_rep_peek_pointer (const GValue* value)
+{
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return value->data[0].v_pointer;
-#line 956 "Plugins.c"
+#line 1095 "Plugins.c"
}
-static gchar* plugins_value_module_rep_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
+static gchar*
+plugins_value_module_rep_collect_value (GValue* value,
+ guint n_collect_values,
+ GTypeCValue* collect_values,
+ guint collect_flags)
+{
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (collect_values[0].v_pointer) {
-#line 963 "Plugins.c"
+#line 1107 "Plugins.c"
PluginsModuleRep * object;
object = collect_values[0].v_pointer;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (object->parent_instance.g_class == NULL) {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 970 "Plugins.c"
+#line 1114 "Plugins.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.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 974 "Plugins.c"
+#line 1118 "Plugins.c"
}
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = plugins_module_rep_ref (object);
-#line 978 "Plugins.c"
+#line 1122 "Plugins.c"
} else {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 982 "Plugins.c"
+#line 1126 "Plugins.c"
}
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return NULL;
-#line 986 "Plugins.c"
+#line 1130 "Plugins.c"
}
-static gchar* plugins_value_module_rep_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
+static gchar*
+plugins_value_module_rep_lcopy_value (const GValue* value,
+ guint n_collect_values,
+ GTypeCValue* collect_values,
+ guint collect_flags)
+{
PluginsModuleRep ** object_p;
object_p = collect_values[0].v_pointer;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (!object_p) {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 997 "Plugins.c"
+#line 1146 "Plugins.c"
}
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (!value->data[0].v_pointer) {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = NULL;
-#line 1003 "Plugins.c"
+#line 1152 "Plugins.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = value->data[0].v_pointer;
-#line 1007 "Plugins.c"
+#line 1156 "Plugins.c"
} else {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = plugins_module_rep_ref (value->data[0].v_pointer);
-#line 1011 "Plugins.c"
+#line 1160 "Plugins.c"
}
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return NULL;
-#line 1015 "Plugins.c"
+#line 1164 "Plugins.c"
}
-GParamSpec* plugins_param_spec_module_rep (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
+GParamSpec*
+plugins_param_spec_module_rep (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags)
+{
PluginsParamSpecModuleRep* spec;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (g_type_is_a (object_type, PLUGINS_TYPE_MODULE_REP), NULL);
@@ -1025,20 +1180,25 @@ GParamSpec* plugins_param_spec_module_rep (const gchar* name, const gchar* nick,
G_PARAM_SPEC (spec)->value_type = object_type;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return G_PARAM_SPEC (spec);
-#line 1029 "Plugins.c"
+#line 1184 "Plugins.c"
}
-gpointer plugins_value_get_module_rep (const GValue* value) {
+gpointer
+plugins_value_get_module_rep (const GValue* value)
+{
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_MODULE_REP), NULL);
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return value->data[0].v_pointer;
-#line 1038 "Plugins.c"
+#line 1195 "Plugins.c"
}
-void plugins_value_set_module_rep (GValue* value, gpointer v_object) {
+void
+plugins_value_set_module_rep (GValue* value,
+ gpointer v_object)
+{
PluginsModuleRep * old;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_MODULE_REP));
@@ -1054,22 +1214,25 @@ void plugins_value_set_module_rep (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_module_rep_ref (value->data[0].v_pointer);
-#line 1058 "Plugins.c"
+#line 1218 "Plugins.c"
} else {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 1062 "Plugins.c"
+#line 1222 "Plugins.c"
}
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (old) {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_module_rep_unref (old);
-#line 1068 "Plugins.c"
+#line 1228 "Plugins.c"
}
}
-void plugins_value_take_module_rep (GValue* value, gpointer v_object) {
+void
+plugins_value_take_module_rep (GValue* value,
+ gpointer v_object)
+{
PluginsModuleRep * old;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_MODULE_REP));
@@ -1083,31 +1246,35 @@ void plugins_value_take_module_rep (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = v_object;
-#line 1087 "Plugins.c"
+#line 1250 "Plugins.c"
} else {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 1091 "Plugins.c"
+#line 1254 "Plugins.c"
}
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (old) {
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_module_rep_unref (old);
-#line 1097 "Plugins.c"
+#line 1260 "Plugins.c"
}
}
-static void plugins_module_rep_class_init (PluginsModuleRepClass * klass) {
+static void
+plugins_module_rep_class_init (PluginsModuleRepClass * klass)
+{
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_module_rep_parent_class = g_type_class_peek_parent (klass);
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
((PluginsModuleRepClass *) klass)->finalize = plugins_module_rep_finalize;
-#line 1107 "Plugins.c"
+#line 1272 "Plugins.c"
}
-static void plugins_module_rep_instance_init (PluginsModuleRep * self) {
+static void
+plugins_module_rep_instance_init (PluginsModuleRep * self)
+{
#line 36 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self->spit_module = NULL;
#line 37 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1116,11 +1283,13 @@ static void plugins_module_rep_instance_init (PluginsModuleRep * self) {
self->id = NULL;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self->ref_count = 1;
-#line 1120 "Plugins.c"
+#line 1287 "Plugins.c"
}
-static void plugins_module_rep_finalize (PluginsModuleRep * obj) {
+static void
+plugins_module_rep_finalize (PluginsModuleRep * obj)
+{
PluginsModuleRep * self;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PLUGINS_TYPE_MODULE_REP, PluginsModuleRep);
@@ -1138,11 +1307,13 @@ static void plugins_module_rep_finalize (PluginsModuleRep * obj) {
_g_object_unref0 (self->spit_module);
#line 38 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_free0 (self->id);
-#line 1142 "Plugins.c"
+#line 1311 "Plugins.c"
}
-GType plugins_module_rep_get_type (void) {
+GType
+plugins_module_rep_get_type (void)
+{
static volatile gsize plugins_module_rep_type_id__volatile = 0;
if (g_once_init_enter (&plugins_module_rep_type_id__volatile)) {
static const GTypeValueTable g_define_type_value_table = { plugins_value_module_rep_init, plugins_value_module_rep_free_value, plugins_value_module_rep_copy_value, plugins_value_module_rep_peek_pointer, "p", plugins_value_module_rep_collect_value, "p", plugins_value_module_rep_lcopy_value };
@@ -1156,18 +1327,22 @@ GType plugins_module_rep_get_type (void) {
}
-gpointer plugins_module_rep_ref (gpointer instance) {
+gpointer
+plugins_module_rep_ref (gpointer instance)
+{
PluginsModuleRep * self;
self = instance;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_atomic_int_inc (&self->ref_count);
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return instance;
-#line 1167 "Plugins.c"
+#line 1340 "Plugins.c"
}
-void plugins_module_rep_unref (gpointer instance) {
+void
+plugins_module_rep_unref (gpointer instance)
+{
PluginsModuleRep * self;
self = instance;
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1176,138 +1351,135 @@ void plugins_module_rep_unref (gpointer instance) {
PLUGINS_MODULE_REP_GET_CLASS (self)->finalize (self);
#line 33 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1180 "Plugins.c"
+#line 1355 "Plugins.c"
}
}
-PluginsPluggableRep* plugins_pluggable_rep_construct (GType object_type, SpitPluggable* pluggable) {
+PluginsPluggableRep*
+plugins_pluggable_rep_construct (GType object_type,
+ SpitPluggable* pluggable)
+{
PluginsPluggableRep* self = NULL;
- SpitPluggable* _tmp0_;
- SpitPluggable* _tmp1_;
- const gchar* _tmp2_;
+ const gchar* _tmp0_;
#line 70 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (pluggable), NULL);
#line 70 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self = (PluginsPluggableRep*) g_type_create_instance (object_type);
#line 71 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = pluggable;
-#line 71 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_pluggable_rep_set_pluggable (self, _tmp0_);
+ plugins_pluggable_rep_set_pluggable (self, pluggable);
#line 72 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = pluggable;
+ _tmp0_ = spit_pluggable_get_id (pluggable);
#line 72 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = spit_pluggable_get_id (_tmp1_);
-#line 72 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_pluggable_rep_set_id (self, _tmp2_);
+ plugins_pluggable_rep_set_id (self, _tmp0_);
#line 70 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return self;
-#line 1206 "Plugins.c"
+#line 1378 "Plugins.c"
}
-PluginsPluggableRep* plugins_pluggable_rep_new (SpitPluggable* pluggable) {
+PluginsPluggableRep*
+plugins_pluggable_rep_new (SpitPluggable* pluggable)
+{
#line 70 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return plugins_pluggable_rep_construct (PLUGINS_TYPE_PLUGGABLE_REP, pluggable);
-#line 1213 "Plugins.c"
+#line 1387 "Plugins.c"
}
-void plugins_pluggable_rep_activate (PluginsPluggableRep* self) {
+void
+plugins_pluggable_rep_activate (PluginsPluggableRep* self)
+{
SpitPluggable* _tmp0_;
- gboolean _tmp1_;
FuzzyPropertyState saved_state = 0;
+ ConfigFacade* _tmp1_;
ConfigFacade* _tmp2_;
- ConfigFacade* _tmp3_;
- const gchar* _tmp4_;
- FuzzyPropertyState _tmp5_;
- FuzzyPropertyState _tmp6_;
- gboolean _tmp7_ = FALSE;
- gboolean _tmp8_ = FALSE;
- gboolean _tmp9_;
- SpitPluggable* _tmp14_;
- gboolean _tmp15_;
+ const gchar* _tmp3_;
+ FuzzyPropertyState _tmp4_;
+ gboolean _tmp5_ = FALSE;
+ gboolean _tmp6_ = FALSE;
+ gboolean _tmp7_;
+ SpitPluggable* _tmp12_;
+ gboolean _tmp13_;
#line 75 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (PLUGINS_IS_PLUGGABLE_REP (self));
#line 78 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = self->priv->_pluggable;
#line 78 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = plugins_is_core_pluggable (_tmp0_);
-#line 78 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_pluggable_rep_set_is_core (self, _tmp1_);
+ plugins_pluggable_rep_set_is_core (self, plugins_is_core_pluggable (_tmp0_));
#line 80 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = config_facade_get_instance ();
+ _tmp1_ = config_facade_get_instance ();
#line 80 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = _tmp2_;
-#line 80 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = self->priv->_id;
+ _tmp2_ = _tmp1_;
#line 80 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = configuration_facade_is_plugin_enabled (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp4_);
+ _tmp3_ = self->priv->_id;
#line 80 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = _tmp5_;
+ _tmp4_ = configuration_facade_is_plugin_enabled (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp3_);
#line 80 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_object_unref0 (_tmp3_);
+ _g_object_unref0 (_tmp2_);
#line 80 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- saved_state = _tmp6_;
+ saved_state = _tmp4_;
#line 81 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = self->priv->_is_core;
+ _tmp7_ = self->priv->_is_core;
#line 81 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp9_) {
-#line 1257 "Plugins.c"
- FuzzyPropertyState _tmp10_;
+ if (_tmp7_) {
+#line 1427 "Plugins.c"
+ FuzzyPropertyState _tmp8_;
#line 81 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = saved_state;
+ _tmp8_ = saved_state;
#line 81 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = _tmp10_ != FUZZY_PROPERTY_STATE_DISABLED;
-#line 1263 "Plugins.c"
+ _tmp6_ = _tmp8_ != FUZZY_PROPERTY_STATE_DISABLED;
+#line 1433 "Plugins.c"
} else {
#line 81 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = FALSE;
-#line 1267 "Plugins.c"
+ _tmp6_ = FALSE;
+#line 1437 "Plugins.c"
}
#line 81 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp8_) {
+ if (_tmp6_) {
#line 81 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = TRUE;
-#line 1273 "Plugins.c"
+ _tmp5_ = TRUE;
+#line 1443 "Plugins.c"
} else {
- gboolean _tmp11_ = FALSE;
- gboolean _tmp12_;
+ gboolean _tmp9_ = FALSE;
+ gboolean _tmp10_;
#line 82 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp12_ = self->priv->_is_core;
+ _tmp10_ = self->priv->_is_core;
#line 82 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (!_tmp12_) {
-#line 1281 "Plugins.c"
- FuzzyPropertyState _tmp13_;
+ if (!_tmp10_) {
+#line 1451 "Plugins.c"
+ FuzzyPropertyState _tmp11_;
#line 82 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp13_ = saved_state;
+ _tmp11_ = saved_state;
#line 82 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = _tmp13_ == FUZZY_PROPERTY_STATE_ENABLED;
-#line 1287 "Plugins.c"
+ _tmp9_ = _tmp11_ == FUZZY_PROPERTY_STATE_ENABLED;
+#line 1457 "Plugins.c"
} else {
#line 82 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = FALSE;
-#line 1291 "Plugins.c"
+ _tmp9_ = FALSE;
+#line 1461 "Plugins.c"
}
#line 82 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = _tmp11_;
-#line 1295 "Plugins.c"
+ _tmp5_ = _tmp9_;
+#line 1465 "Plugins.c"
}
#line 81 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->enabled = _tmp7_;
+ self->priv->enabled = _tmp5_;
#line 85 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14_ = self->priv->_pluggable;
+ _tmp12_ = self->priv->_pluggable;
#line 85 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = self->priv->enabled;
+ _tmp13_ = self->priv->enabled;
#line 85 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- spit_pluggable_activation (_tmp14_, _tmp15_);
+ spit_pluggable_activation (_tmp12_, _tmp13_);
#line 87 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_pluggable_rep_set_activated (self, TRUE);
-#line 1307 "Plugins.c"
+#line 1477 "Plugins.c"
}
-gboolean plugins_pluggable_rep_is_enabled (PluginsPluggableRep* self) {
+gboolean
+plugins_pluggable_rep_is_enabled (PluginsPluggableRep* self)
+{
gboolean result = FALSE;
gboolean _tmp0_;
#line 90 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1318,66 +1490,59 @@ gboolean plugins_pluggable_rep_is_enabled (PluginsPluggableRep* self) {
result = _tmp0_;
#line 91 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 1322 "Plugins.c"
+#line 1494 "Plugins.c"
}
-gboolean plugins_pluggable_rep_set_enabled (PluginsPluggableRep* self, gboolean enabled) {
+gboolean
+plugins_pluggable_rep_set_enabled (PluginsPluggableRep* self,
+ gboolean enabled)
+{
gboolean result = FALSE;
gboolean _tmp0_;
- gboolean _tmp1_;
- gboolean _tmp2_;
- ConfigFacade* _tmp3_;
- ConfigFacade* _tmp4_;
- const gchar* _tmp5_;
- gboolean _tmp6_;
- SpitPluggable* _tmp7_;
- gboolean _tmp8_;
+ ConfigFacade* _tmp1_;
+ ConfigFacade* _tmp2_;
+ const gchar* _tmp3_;
+ SpitPluggable* _tmp4_;
#line 95 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (PLUGINS_IS_PLUGGABLE_REP (self), FALSE);
#line 96 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = enabled;
-#line 96 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = self->priv->enabled;
+ _tmp0_ = self->priv->enabled;
#line 96 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp0_ == _tmp1_) {
+ if (enabled == _tmp0_) {
#line 97 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = FALSE;
#line 97 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 1349 "Plugins.c"
+#line 1518 "Plugins.c"
}
#line 99 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = enabled;
-#line 99 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->enabled = _tmp2_;
+ self->priv->enabled = enabled;
#line 100 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = config_facade_get_instance ();
+ _tmp1_ = config_facade_get_instance ();
#line 100 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = _tmp3_;
-#line 100 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = self->priv->_id;
+ _tmp2_ = _tmp1_;
#line 100 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = enabled;
+ _tmp3_ = self->priv->_id;
#line 100 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- configuration_facade_set_plugin_enabled (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp5_, _tmp6_);
+ configuration_facade_set_plugin_enabled (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp3_, enabled);
#line 100 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp2_);
#line 101 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = self->priv->_pluggable;
+ _tmp4_ = self->priv->_pluggable;
#line 101 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = enabled;
-#line 101 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- spit_pluggable_activation (_tmp7_, _tmp8_);
+ spit_pluggable_activation (_tmp4_, enabled);
#line 103 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = TRUE;
#line 103 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 1377 "Plugins.c"
+#line 1540 "Plugins.c"
}
-SpitPluggable* plugins_pluggable_rep_get_pluggable (PluginsPluggableRep* self) {
+SpitPluggable*
+plugins_pluggable_rep_get_pluggable (PluginsPluggableRep* self)
+{
SpitPluggable* result;
SpitPluggable* _tmp0_;
#line 62 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1388,28 +1553,30 @@ SpitPluggable* plugins_pluggable_rep_get_pluggable (PluginsPluggableRep* self) {
result = _tmp0_;
#line 62 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 1392 "Plugins.c"
+#line 1557 "Plugins.c"
}
-static void plugins_pluggable_rep_set_pluggable (PluginsPluggableRep* self, SpitPluggable* value) {
+static void
+plugins_pluggable_rep_set_pluggable (PluginsPluggableRep* self,
+ SpitPluggable* value)
+{
SpitPluggable* _tmp0_;
- SpitPluggable* _tmp1_;
#line 62 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (PLUGINS_IS_PLUGGABLE_REP (self));
#line 62 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = value;
-#line 62 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
+ _tmp0_ = _g_object_ref0 (value);
#line 62 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (self->priv->_pluggable);
#line 62 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->_pluggable = _tmp1_;
-#line 1409 "Plugins.c"
+ self->priv->_pluggable = _tmp0_;
+#line 1574 "Plugins.c"
}
-const gchar* plugins_pluggable_rep_get_id (PluginsPluggableRep* self) {
+const gchar*
+plugins_pluggable_rep_get_id (PluginsPluggableRep* self)
+{
const gchar* result;
const gchar* _tmp0_;
#line 63 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1420,28 +1587,30 @@ const gchar* plugins_pluggable_rep_get_id (PluginsPluggableRep* self) {
result = _tmp0_;
#line 63 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 1424 "Plugins.c"
+#line 1591 "Plugins.c"
}
-static void plugins_pluggable_rep_set_id (PluginsPluggableRep* self, const gchar* value) {
- const gchar* _tmp0_;
- gchar* _tmp1_;
+static void
+plugins_pluggable_rep_set_id (PluginsPluggableRep* self,
+ const gchar* value)
+{
+ gchar* _tmp0_;
#line 63 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (PLUGINS_IS_PLUGGABLE_REP (self));
#line 63 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = value;
-#line 63 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = g_strdup (_tmp0_);
+ _tmp0_ = g_strdup (value);
#line 63 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_free0 (self->priv->_id);
#line 63 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->_id = _tmp1_;
-#line 1441 "Plugins.c"
+ self->priv->_id = _tmp0_;
+#line 1608 "Plugins.c"
}
-gboolean plugins_pluggable_rep_get_is_core (PluginsPluggableRep* self) {
+gboolean
+plugins_pluggable_rep_get_is_core (PluginsPluggableRep* self)
+{
gboolean result;
gboolean _tmp0_;
#line 64 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1452,23 +1621,25 @@ gboolean plugins_pluggable_rep_get_is_core (PluginsPluggableRep* self) {
result = _tmp0_;
#line 64 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 1456 "Plugins.c"
+#line 1625 "Plugins.c"
}
-static void plugins_pluggable_rep_set_is_core (PluginsPluggableRep* self, gboolean value) {
- gboolean _tmp0_;
+static void
+plugins_pluggable_rep_set_is_core (PluginsPluggableRep* self,
+ gboolean value)
+{
#line 64 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (PLUGINS_IS_PLUGGABLE_REP (self));
#line 64 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = value;
-#line 64 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->_is_core = _tmp0_;
-#line 1468 "Plugins.c"
+ self->priv->_is_core = value;
+#line 1637 "Plugins.c"
}
-gboolean plugins_pluggable_rep_get_activated (PluginsPluggableRep* self) {
+gboolean
+plugins_pluggable_rep_get_activated (PluginsPluggableRep* self)
+{
gboolean result;
gboolean _tmp0_;
#line 65 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1479,120 +1650,145 @@ gboolean plugins_pluggable_rep_get_activated (PluginsPluggableRep* self) {
result = _tmp0_;
#line 65 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 1483 "Plugins.c"
+#line 1654 "Plugins.c"
}
-static void plugins_pluggable_rep_set_activated (PluginsPluggableRep* self, gboolean value) {
- gboolean _tmp0_;
+static void
+plugins_pluggable_rep_set_activated (PluginsPluggableRep* self,
+ gboolean value)
+{
#line 65 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (PLUGINS_IS_PLUGGABLE_REP (self));
#line 65 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = value;
-#line 65 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- self->priv->_activated = _tmp0_;
-#line 1495 "Plugins.c"
+ self->priv->_activated = value;
+#line 1666 "Plugins.c"
}
-static void plugins_value_pluggable_rep_init (GValue* value) {
+static void
+plugins_value_pluggable_rep_init (GValue* value)
+{
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 1502 "Plugins.c"
+#line 1675 "Plugins.c"
}
-static void plugins_value_pluggable_rep_free_value (GValue* value) {
+static void
+plugins_value_pluggable_rep_free_value (GValue* value)
+{
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (value->data[0].v_pointer) {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_pluggable_rep_unref (value->data[0].v_pointer);
-#line 1511 "Plugins.c"
+#line 1686 "Plugins.c"
}
}
-static void plugins_value_pluggable_rep_copy_value (const GValue* src_value, GValue* dest_value) {
+static void
+plugins_value_pluggable_rep_copy_value (const GValue* src_value,
+ GValue* dest_value)
+{
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (src_value->data[0].v_pointer) {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
dest_value->data[0].v_pointer = plugins_pluggable_rep_ref (src_value->data[0].v_pointer);
-#line 1521 "Plugins.c"
+#line 1699 "Plugins.c"
} else {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1525 "Plugins.c"
+#line 1703 "Plugins.c"
}
}
-static gpointer plugins_value_pluggable_rep_peek_pointer (const GValue* value) {
+static gpointer
+plugins_value_pluggable_rep_peek_pointer (const GValue* value)
+{
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return value->data[0].v_pointer;
-#line 1533 "Plugins.c"
+#line 1713 "Plugins.c"
}
-static gchar* plugins_value_pluggable_rep_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
+static gchar*
+plugins_value_pluggable_rep_collect_value (GValue* value,
+ guint n_collect_values,
+ GTypeCValue* collect_values,
+ guint collect_flags)
+{
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (collect_values[0].v_pointer) {
-#line 1540 "Plugins.c"
+#line 1725 "Plugins.c"
PluginsPluggableRep * object;
object = collect_values[0].v_pointer;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (object->parent_instance.g_class == NULL) {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1547 "Plugins.c"
+#line 1732 "Plugins.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.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 1551 "Plugins.c"
+#line 1736 "Plugins.c"
}
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = plugins_pluggable_rep_ref (object);
-#line 1555 "Plugins.c"
+#line 1740 "Plugins.c"
} else {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 1559 "Plugins.c"
+#line 1744 "Plugins.c"
}
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return NULL;
-#line 1563 "Plugins.c"
+#line 1748 "Plugins.c"
}
-static gchar* plugins_value_pluggable_rep_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
+static gchar*
+plugins_value_pluggable_rep_lcopy_value (const GValue* value,
+ guint n_collect_values,
+ GTypeCValue* collect_values,
+ guint collect_flags)
+{
PluginsPluggableRep ** object_p;
object_p = collect_values[0].v_pointer;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (!object_p) {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1574 "Plugins.c"
+#line 1764 "Plugins.c"
}
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (!value->data[0].v_pointer) {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = NULL;
-#line 1580 "Plugins.c"
+#line 1770 "Plugins.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = value->data[0].v_pointer;
-#line 1584 "Plugins.c"
+#line 1774 "Plugins.c"
} else {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = plugins_pluggable_rep_ref (value->data[0].v_pointer);
-#line 1588 "Plugins.c"
+#line 1778 "Plugins.c"
}
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return NULL;
-#line 1592 "Plugins.c"
+#line 1782 "Plugins.c"
}
-GParamSpec* plugins_param_spec_pluggable_rep (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
+GParamSpec*
+plugins_param_spec_pluggable_rep (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags)
+{
PluginsParamSpecPluggableRep* spec;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (g_type_is_a (object_type, PLUGINS_TYPE_PLUGGABLE_REP), NULL);
@@ -1602,20 +1798,25 @@ GParamSpec* plugins_param_spec_pluggable_rep (const gchar* name, const gchar* ni
G_PARAM_SPEC (spec)->value_type = object_type;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return G_PARAM_SPEC (spec);
-#line 1606 "Plugins.c"
+#line 1802 "Plugins.c"
}
-gpointer plugins_value_get_pluggable_rep (const GValue* value) {
+gpointer
+plugins_value_get_pluggable_rep (const GValue* value)
+{
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_PLUGGABLE_REP), NULL);
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return value->data[0].v_pointer;
-#line 1615 "Plugins.c"
+#line 1813 "Plugins.c"
}
-void plugins_value_set_pluggable_rep (GValue* value, gpointer v_object) {
+void
+plugins_value_set_pluggable_rep (GValue* value,
+ gpointer v_object)
+{
PluginsPluggableRep * old;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_PLUGGABLE_REP));
@@ -1631,22 +1832,25 @@ void plugins_value_set_pluggable_rep (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_pluggable_rep_ref (value->data[0].v_pointer);
-#line 1635 "Plugins.c"
+#line 1836 "Plugins.c"
} else {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 1639 "Plugins.c"
+#line 1840 "Plugins.c"
}
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (old) {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_pluggable_rep_unref (old);
-#line 1645 "Plugins.c"
+#line 1846 "Plugins.c"
}
}
-void plugins_value_take_pluggable_rep (GValue* value, gpointer v_object) {
+void
+plugins_value_take_pluggable_rep (GValue* value,
+ gpointer v_object)
+{
PluginsPluggableRep * old;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_PLUGGABLE_REP));
@@ -1660,33 +1864,37 @@ void plugins_value_take_pluggable_rep (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = v_object;
-#line 1664 "Plugins.c"
+#line 1868 "Plugins.c"
} else {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 1668 "Plugins.c"
+#line 1872 "Plugins.c"
}
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (old) {
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_pluggable_rep_unref (old);
-#line 1674 "Plugins.c"
+#line 1878 "Plugins.c"
}
}
-static void plugins_pluggable_rep_class_init (PluginsPluggableRepClass * klass) {
+static void
+plugins_pluggable_rep_class_init (PluginsPluggableRepClass * klass)
+{
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_pluggable_rep_parent_class = g_type_class_peek_parent (klass);
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
((PluginsPluggableRepClass *) klass)->finalize = plugins_pluggable_rep_finalize;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_type_class_add_private (klass, sizeof (PluginsPluggableRepPrivate));
-#line 1686 "Plugins.c"
+#line 1892 "Plugins.c"
}
-static void plugins_pluggable_rep_instance_init (PluginsPluggableRep * self) {
+static void
+plugins_pluggable_rep_instance_init (PluginsPluggableRep * self)
+{
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self->priv = PLUGINS_PLUGGABLE_REP_GET_PRIVATE (self);
#line 64 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1697,11 +1905,13 @@ static void plugins_pluggable_rep_instance_init (PluginsPluggableRep * self) {
self->priv->enabled = FALSE;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self->ref_count = 1;
-#line 1701 "Plugins.c"
+#line 1909 "Plugins.c"
}
-static void plugins_pluggable_rep_finalize (PluginsPluggableRep * obj) {
+static void
+plugins_pluggable_rep_finalize (PluginsPluggableRep * obj)
+{
PluginsPluggableRep * self;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PLUGINS_TYPE_PLUGGABLE_REP, PluginsPluggableRep);
@@ -1711,11 +1921,13 @@ static void plugins_pluggable_rep_finalize (PluginsPluggableRep * obj) {
_g_object_unref0 (self->priv->_pluggable);
#line 63 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_free0 (self->priv->_id);
-#line 1715 "Plugins.c"
+#line 1925 "Plugins.c"
}
-GType plugins_pluggable_rep_get_type (void) {
+GType
+plugins_pluggable_rep_get_type (void)
+{
static volatile gsize plugins_pluggable_rep_type_id__volatile = 0;
if (g_once_init_enter (&plugins_pluggable_rep_type_id__volatile)) {
static const GTypeValueTable g_define_type_value_table = { plugins_value_pluggable_rep_init, plugins_value_pluggable_rep_free_value, plugins_value_pluggable_rep_copy_value, plugins_value_pluggable_rep_peek_pointer, "p", plugins_value_pluggable_rep_collect_value, "p", plugins_value_pluggable_rep_lcopy_value };
@@ -1729,18 +1941,22 @@ GType plugins_pluggable_rep_get_type (void) {
}
-gpointer plugins_pluggable_rep_ref (gpointer instance) {
+gpointer
+plugins_pluggable_rep_ref (gpointer instance)
+{
PluginsPluggableRep * self;
self = instance;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_atomic_int_inc (&self->ref_count);
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return instance;
-#line 1740 "Plugins.c"
+#line 1954 "Plugins.c"
}
-void plugins_pluggable_rep_unref (gpointer instance) {
+void
+plugins_pluggable_rep_unref (gpointer instance)
+{
PluginsPluggableRep * self;
self = instance;
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1749,46 +1965,58 @@ void plugins_pluggable_rep_unref (gpointer instance) {
PLUGINS_PLUGGABLE_REP_GET_CLASS (self)->finalize (self);
#line 61 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1753 "Plugins.c"
+#line 1969 "Plugins.c"
}
}
-static void _vala_array_add50 (GFile** * array, int* length, int* size, GFile* value) {
+static void
+_vala_array_add50 (GFile** * array,
+ int* length,
+ int* size,
+ GFile* value)
+{
#line 115 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if ((*length) == (*size)) {
#line 115 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 115 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*array = g_renew (GFile*, *array, (*size) + 1);
-#line 1765 "Plugins.c"
+#line 1986 "Plugins.c"
}
#line 115 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
(*array)[(*length)++] = value;
#line 115 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
(*array)[*length] = NULL;
-#line 1771 "Plugins.c"
+#line 1992 "Plugins.c"
}
-static void _vala_array_add51 (GFile** * array, int* length, int* size, GFile* value) {
+static void
+_vala_array_add51 (GFile** * array,
+ int* length,
+ int* size,
+ GFile* value)
+{
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if ((*length) == (*size)) {
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*array = g_renew (GFile*, *array, (*size) + 1);
-#line 1782 "Plugins.c"
+#line 2008 "Plugins.c"
}
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
(*array)[(*length)++] = value;
#line 116 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
(*array)[*length] = NULL;
-#line 1788 "Plugins.c"
+#line 2014 "Plugins.c"
}
-void plugins_init (GError** error) {
+void
+plugins_init (GError** error)
+{
GFile** _tmp0_;
GFile** _tmp1_;
gint _tmp1__length1;
@@ -1800,9 +2028,8 @@ void plugins_init (GError** error) {
GeeHashMap* _tmp6_;
GeeHashMap* _tmp7_;
GeeHashSet* _tmp8_;
- gboolean _tmp9_;
- GFile** _tmp10_;
- gint _tmp10__length1;
+ GFile** _tmp9_;
+ gint _tmp9__length1;
GError * _inner_error_ = NULL;
#line 114 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = g_new0 (GFile*, 0 + 1);
@@ -1855,50 +2082,48 @@ void plugins_init (GError** error) {
#line 121 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_core_ids = _tmp8_;
#line 125 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = g_module_supported ();
-#line 125 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (!_tmp9_) {
+ if (!g_module_supported ()) {
#line 126 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_warning ("Plugins.vala:126: Plugins not support: GModule not supported on this p" \
"latform.");
#line 128 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 1866 "Plugins.c"
+#line 2091 "Plugins.c"
}
#line 131 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = plugins_search_dirs;
+ _tmp9_ = plugins_search_dirs;
#line 131 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10__length1 = plugins_search_dirs_length1;
-#line 1872 "Plugins.c"
+ _tmp9__length1 = plugins_search_dirs_length1;
+#line 2097 "Plugins.c"
{
GFile** dir_collection = NULL;
gint dir_collection_length1 = 0;
gint _dir_collection_size_ = 0;
gint dir_it = 0;
#line 131 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- dir_collection = _tmp10_;
+ dir_collection = _tmp9_;
#line 131 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- dir_collection_length1 = _tmp10__length1;
+ dir_collection_length1 = _tmp9__length1;
#line 131 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- for (dir_it = 0; dir_it < _tmp10__length1; dir_it = dir_it + 1) {
-#line 1884 "Plugins.c"
- GFile* _tmp11_;
+ for (dir_it = 0; dir_it < _tmp9__length1; dir_it = dir_it + 1) {
+#line 2109 "Plugins.c"
+ GFile* _tmp10_;
GFile* dir = NULL;
#line 131 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = _g_object_ref0 (dir_collection[dir_it]);
+ _tmp10_ = _g_object_ref0 (dir_collection[dir_it]);
#line 131 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- dir = _tmp11_;
-#line 1891 "Plugins.c"
+ dir = _tmp10_;
+#line 2116 "Plugins.c"
{
{
- GFile* _tmp12_;
+ GFile* _tmp11_;
#line 133 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp12_ = dir;
+ _tmp11_ = dir;
#line 133 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_search_for_plugins (_tmp12_, &_inner_error_);
+ plugins_search_for_plugins (_tmp11_, &_inner_error_);
#line 133 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1901 "Plugins.c"
+#line 2126 "Plugins.c"
goto __catch39_g_error;
}
}
@@ -1906,32 +2131,32 @@ void plugins_init (GError** error) {
__catch39_g_error:
{
GError* err = NULL;
- GFile* _tmp13_;
+ GFile* _tmp12_;
+ gchar* _tmp13_;
gchar* _tmp14_;
- gchar* _tmp15_;
- GError* _tmp16_;
- const gchar* _tmp17_;
+ GError* _tmp15_;
+ const gchar* _tmp16_;
#line 132 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
err = _inner_error_;
#line 132 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_inner_error_ = NULL;
#line 135 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp13_ = dir;
+ _tmp12_ = dir;
#line 135 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14_ = g_file_get_path (_tmp13_);
+ _tmp13_ = g_file_get_path (_tmp12_);
#line 135 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = _tmp14_;
+ _tmp14_ = _tmp13_;
#line 135 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp16_ = err;
+ _tmp15_ = err;
#line 135 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp17_ = _tmp16_->message;
+ _tmp16_ = _tmp15_->message;
#line 135 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- g_debug ("Plugins.vala:135: Unable to search directory %s for plugins: %s", _tmp15_, _tmp17_);
+ g_debug ("Plugins.vala:135: Unable to search directory %s for plugins: %s", _tmp14_, _tmp16_);
#line 135 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp15_);
+ _g_free0 (_tmp14_);
#line 132 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_error_free0 (err);
-#line 1934 "Plugins.c"
+#line 2159 "Plugins.c"
}
__finally39:
#line 132 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1942,18 +2167,20 @@ void plugins_init (GError** error) {
_g_object_unref0 (dir);
#line 132 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 1945 "Plugins.c"
+#line 2170 "Plugins.c"
}
#line 131 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (dir);
-#line 1949 "Plugins.c"
+#line 2174 "Plugins.c"
}
}
}
}
-void plugins_terminate (void) {
+void
+plugins_terminate (void)
+{
#line 141 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_search_dirs = (_vala_array_free (plugins_search_dirs, plugins_search_dirs_length1, (GDestroyNotify) g_object_unref), NULL);
#line 141 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -1978,35 +2205,43 @@ void plugins_terminate (void) {
_g_object_unref0 (plugins_core_ids);
#line 145 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_core_ids = NULL;
-#line 1981 "Plugins.c"
+#line 2208 "Plugins.c"
}
-static PluginsNotifier* plugins_notifier_construct (GType object_type) {
+static PluginsNotifier*
+plugins_notifier_construct (GType object_type)
+{
PluginsNotifier* self = NULL;
#line 153 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self = (PluginsNotifier*) g_type_create_instance (object_type);
#line 153 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return self;
-#line 1991 "Plugins.c"
+#line 2220 "Plugins.c"
}
-static PluginsNotifier* plugins_notifier_new (void) {
+static PluginsNotifier*
+plugins_notifier_new (void)
+{
#line 153 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return plugins_notifier_construct (PLUGINS_TYPE_NOTIFIER);
-#line 1998 "Plugins.c"
+#line 2229 "Plugins.c"
}
-static gpointer _plugins_notifier_ref0 (gpointer self) {
+static gpointer
+_plugins_notifier_ref0 (gpointer self)
+{
#line 160 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return self ? plugins_notifier_ref (self) : NULL;
-#line 2005 "Plugins.c"
+#line 2238 "Plugins.c"
}
-PluginsNotifier* plugins_notifier_get_instance (void) {
+PluginsNotifier*
+plugins_notifier_get_instance (void)
+{
PluginsNotifier* result = NULL;
PluginsNotifier* _tmp0_;
PluginsNotifier* _tmp2_;
@@ -2015,7 +2250,7 @@ PluginsNotifier* plugins_notifier_get_instance (void) {
_tmp0_ = plugins_notifier_instance;
#line 157 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (_tmp0_ == NULL) {
-#line 2018 "Plugins.c"
+#line 2253 "Plugins.c"
PluginsNotifier* _tmp1_;
#line 158 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp1_ = plugins_notifier_new ();
@@ -2023,7 +2258,7 @@ PluginsNotifier* plugins_notifier_get_instance (void) {
_plugins_notifier_unref0 (plugins_notifier_instance);
#line 158 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_notifier_instance = _tmp1_;
-#line 2026 "Plugins.c"
+#line 2261 "Plugins.c"
}
#line 160 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp2_ = plugins_notifier_instance;
@@ -2033,11 +2268,18 @@ PluginsNotifier* plugins_notifier_get_instance (void) {
result = _tmp3_;
#line 160 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 2036 "Plugins.c"
+#line 2271 "Plugins.c"
}
-static void g_cclosure_user_marshal_VOID__OBJECT_BOOLEAN (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data) {
+static void
+g_cclosure_user_marshal_VOID__OBJECT_BOOLEAN (GClosure * closure,
+ GValue * return_value,
+ guint n_param_values,
+ const GValue * param_values,
+ gpointer invocation_hint,
+ gpointer marshal_data)
+{
typedef void (*GMarshalFunc_VOID__OBJECT_BOOLEAN) (gpointer data1, gpointer arg_1, gboolean arg_2, gpointer data2);
register GMarshalFunc_VOID__OBJECT_BOOLEAN callback;
register GCClosure * cc;
@@ -2052,120 +2294,145 @@ static void g_cclosure_user_marshal_VOID__OBJECT_BOOLEAN (GClosure * closure, GV
data1 = closure->data;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
data2 = param_values->data[0].v_pointer;
-#line 2055 "Plugins.c"
+#line 2297 "Plugins.c"
} else {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
data1 = param_values->data[0].v_pointer;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
data2 = closure->data;
-#line 2061 "Plugins.c"
+#line 2303 "Plugins.c"
}
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
callback = (GMarshalFunc_VOID__OBJECT_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
callback (data1, g_value_get_object (param_values + 1), g_value_get_boolean (param_values + 2), data2);
-#line 2067 "Plugins.c"
+#line 2309 "Plugins.c"
}
-static void plugins_value_notifier_init (GValue* value) {
+static void
+plugins_value_notifier_init (GValue* value)
+{
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 2074 "Plugins.c"
+#line 2318 "Plugins.c"
}
-static void plugins_value_notifier_free_value (GValue* value) {
+static void
+plugins_value_notifier_free_value (GValue* value)
+{
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (value->data[0].v_pointer) {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_notifier_unref (value->data[0].v_pointer);
-#line 2083 "Plugins.c"
+#line 2329 "Plugins.c"
}
}
-static void plugins_value_notifier_copy_value (const GValue* src_value, GValue* dest_value) {
+static void
+plugins_value_notifier_copy_value (const GValue* src_value,
+ GValue* dest_value)
+{
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (src_value->data[0].v_pointer) {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
dest_value->data[0].v_pointer = plugins_notifier_ref (src_value->data[0].v_pointer);
-#line 2093 "Plugins.c"
+#line 2342 "Plugins.c"
} else {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
dest_value->data[0].v_pointer = NULL;
-#line 2097 "Plugins.c"
+#line 2346 "Plugins.c"
}
}
-static gpointer plugins_value_notifier_peek_pointer (const GValue* value) {
+static gpointer
+plugins_value_notifier_peek_pointer (const GValue* value)
+{
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return value->data[0].v_pointer;
-#line 2105 "Plugins.c"
+#line 2356 "Plugins.c"
}
-static gchar* plugins_value_notifier_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
+static gchar*
+plugins_value_notifier_collect_value (GValue* value,
+ guint n_collect_values,
+ GTypeCValue* collect_values,
+ guint collect_flags)
+{
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (collect_values[0].v_pointer) {
-#line 2112 "Plugins.c"
+#line 2368 "Plugins.c"
PluginsNotifier * object;
object = collect_values[0].v_pointer;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (object->parent_instance.g_class == NULL) {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2119 "Plugins.c"
+#line 2375 "Plugins.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.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 2123 "Plugins.c"
+#line 2379 "Plugins.c"
}
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = plugins_notifier_ref (object);
-#line 2127 "Plugins.c"
+#line 2383 "Plugins.c"
} else {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 2131 "Plugins.c"
+#line 2387 "Plugins.c"
}
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return NULL;
-#line 2135 "Plugins.c"
+#line 2391 "Plugins.c"
}
-static gchar* plugins_value_notifier_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
+static gchar*
+plugins_value_notifier_lcopy_value (const GValue* value,
+ guint n_collect_values,
+ GTypeCValue* collect_values,
+ guint collect_flags)
+{
PluginsNotifier ** object_p;
object_p = collect_values[0].v_pointer;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (!object_p) {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 2146 "Plugins.c"
+#line 2407 "Plugins.c"
}
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (!value->data[0].v_pointer) {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = NULL;
-#line 2152 "Plugins.c"
+#line 2413 "Plugins.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = value->data[0].v_pointer;
-#line 2156 "Plugins.c"
+#line 2417 "Plugins.c"
} else {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*object_p = plugins_notifier_ref (value->data[0].v_pointer);
-#line 2160 "Plugins.c"
+#line 2421 "Plugins.c"
}
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return NULL;
-#line 2164 "Plugins.c"
+#line 2425 "Plugins.c"
}
-GParamSpec* plugins_param_spec_notifier (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
+GParamSpec*
+plugins_param_spec_notifier (const gchar* name,
+ const gchar* nick,
+ const gchar* blurb,
+ GType object_type,
+ GParamFlags flags)
+{
PluginsParamSpecNotifier* spec;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (g_type_is_a (object_type, PLUGINS_TYPE_NOTIFIER), NULL);
@@ -2175,20 +2442,25 @@ GParamSpec* plugins_param_spec_notifier (const gchar* name, const gchar* nick, c
G_PARAM_SPEC (spec)->value_type = object_type;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return G_PARAM_SPEC (spec);
-#line 2178 "Plugins.c"
+#line 2445 "Plugins.c"
}
-gpointer plugins_value_get_notifier (const GValue* value) {
+gpointer
+plugins_value_get_notifier (const GValue* value)
+{
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_NOTIFIER), NULL);
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return value->data[0].v_pointer;
-#line 2187 "Plugins.c"
+#line 2456 "Plugins.c"
}
-void plugins_value_set_notifier (GValue* value, gpointer v_object) {
+void
+plugins_value_set_notifier (GValue* value,
+ gpointer v_object)
+{
PluginsNotifier * old;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_NOTIFIER));
@@ -2204,22 +2476,25 @@ void plugins_value_set_notifier (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_notifier_ref (value->data[0].v_pointer);
-#line 2207 "Plugins.c"
+#line 2479 "Plugins.c"
} else {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 2211 "Plugins.c"
+#line 2483 "Plugins.c"
}
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (old) {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_notifier_unref (old);
-#line 2217 "Plugins.c"
+#line 2489 "Plugins.c"
}
}
-void plugins_value_take_notifier (GValue* value, gpointer v_object) {
+void
+plugins_value_take_notifier (GValue* value,
+ gpointer v_object)
+{
PluginsNotifier * old;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PLUGINS_TYPE_NOTIFIER));
@@ -2233,50 +2508,58 @@ void plugins_value_take_notifier (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = v_object;
-#line 2236 "Plugins.c"
+#line 2511 "Plugins.c"
} else {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
value->data[0].v_pointer = NULL;
-#line 2240 "Plugins.c"
+#line 2515 "Plugins.c"
}
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (old) {
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_notifier_unref (old);
-#line 2246 "Plugins.c"
+#line 2521 "Plugins.c"
}
}
-static void plugins_notifier_class_init (PluginsNotifierClass * klass) {
+static void
+plugins_notifier_class_init (PluginsNotifierClass * klass)
+{
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_notifier_parent_class = g_type_class_peek_parent (klass);
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
((PluginsNotifierClass *) klass)->finalize = plugins_notifier_finalize;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
plugins_notifier_signals[PLUGINS_NOTIFIER_PLUGGABLE_ACTIVATION_SIGNAL] = g_signal_new ("pluggable-activation", PLUGINS_TYPE_NOTIFIER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_BOOLEAN, G_TYPE_NONE, 2, SPIT_TYPE_PLUGGABLE, G_TYPE_BOOLEAN);
-#line 2258 "Plugins.c"
+#line 2535 "Plugins.c"
}
-static void plugins_notifier_instance_init (PluginsNotifier * self) {
+static void
+plugins_notifier_instance_init (PluginsNotifier * self)
+{
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self->ref_count = 1;
-#line 2265 "Plugins.c"
+#line 2544 "Plugins.c"
}
-static void plugins_notifier_finalize (PluginsNotifier * obj) {
+static void
+plugins_notifier_finalize (PluginsNotifier * obj)
+{
PluginsNotifier * self;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PLUGINS_TYPE_NOTIFIER, PluginsNotifier);
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_signal_handlers_destroy (self);
-#line 2275 "Plugins.c"
+#line 2556 "Plugins.c"
}
-GType plugins_notifier_get_type (void) {
+GType
+plugins_notifier_get_type (void)
+{
static volatile gsize plugins_notifier_type_id__volatile = 0;
if (g_once_init_enter (&plugins_notifier_type_id__volatile)) {
static const GTypeValueTable g_define_type_value_table = { plugins_value_notifier_init, plugins_value_notifier_free_value, plugins_value_notifier_copy_value, plugins_value_notifier_peek_pointer, "p", plugins_value_notifier_collect_value, "p", plugins_value_notifier_lcopy_value };
@@ -2290,18 +2573,22 @@ GType plugins_notifier_get_type (void) {
}
-gpointer plugins_notifier_ref (gpointer instance) {
+gpointer
+plugins_notifier_ref (gpointer instance)
+{
PluginsNotifier * self;
self = instance;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_atomic_int_inc (&self->ref_count);
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return instance;
-#line 2300 "Plugins.c"
+#line 2585 "Plugins.c"
}
-void plugins_notifier_unref (gpointer instance) {
+void
+plugins_notifier_unref (gpointer instance)
+{
PluginsNotifier * self;
self = instance;
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -2310,223 +2597,179 @@ void plugins_notifier_unref (gpointer instance) {
PLUGINS_NOTIFIER_GET_CLASS (self)->finalize (self);
#line 148 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 2313 "Plugins.c"
+#line 2600 "Plugins.c"
}
}
-void plugins_register_extension_point (GType type, const gchar* name, const gchar* icon_name, gchar** core_ids, int core_ids_length1) {
+void
+plugins_register_extension_point (GType type,
+ const gchar* name,
+ const gchar* icon_name,
+ gchar** core_ids,
+ int core_ids_length1)
+{
GeeHashMap* _tmp0_;
- GType _tmp1_;
- gboolean _tmp2_;
- GeeHashMap* _tmp3_;
- GType _tmp4_;
- GType _tmp5_;
- const gchar* _tmp6_;
- const gchar* _tmp7_;
- gchar** _tmp8_;
- gint _tmp8__length1;
- PluginsExtensionPoint* _tmp9_;
- PluginsExtensionPoint* _tmp10_;
- gchar** _tmp11_;
- gint _tmp11__length1;
+ GeeHashMap* _tmp1_;
+ PluginsExtensionPoint* _tmp2_;
+ PluginsExtensionPoint* _tmp3_;
#line 164 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (name != NULL);
#line 166 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = plugins_extension_points;
#line 166 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = type;
-#line 166 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp1_));
-#line 166 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _vala_assert (!_tmp2_, "!extension_points.has_key(type)");
-#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = plugins_extension_points;
-#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = type;
-#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = type;
+ _vala_assert (!gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) type)), "!extension_points.has_key(type)");
#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = name;
+ _tmp1_ = plugins_extension_points;
#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = icon_name;
+ _tmp2_ = plugins_extension_point_new (type, name, icon_name, core_ids, core_ids_length1);
#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = core_ids;
-#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8__length1 = core_ids_length1;
-#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = plugins_extension_point_new (_tmp5_, _tmp6_, _tmp7_, _tmp8_, _tmp8__length1);
-#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = _tmp9_;
+ _tmp3_ = _tmp2_;
#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp4_), _tmp10_);
+ gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) type), _tmp3_);
#line 168 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _plugins_extension_point_unref0 (_tmp10_);
-#line 171 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = core_ids;
+ _plugins_extension_point_unref0 (_tmp3_);
#line 171 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11__length1 = core_ids_length1;
-#line 171 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp11_ != NULL) {
-#line 2371 "Plugins.c"
- gchar** _tmp12_;
- gint _tmp12__length1;
-#line 172 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp12_ = core_ids;
-#line 172 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp12__length1 = core_ids_length1;
-#line 2378 "Plugins.c"
+ if (core_ids != NULL) {
+#line 2634 "Plugins.c"
{
gchar** core_id_collection = NULL;
gint core_id_collection_length1 = 0;
gint _core_id_collection_size_ = 0;
gint core_id_it = 0;
#line 172 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- core_id_collection = _tmp12_;
+ core_id_collection = core_ids;
#line 172 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- core_id_collection_length1 = _tmp12__length1;
+ core_id_collection_length1 = core_ids_length1;
#line 172 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- for (core_id_it = 0; core_id_it < _tmp12__length1; core_id_it = core_id_it + 1) {
-#line 2390 "Plugins.c"
- gchar* _tmp13_;
+ for (core_id_it = 0; core_id_it < core_ids_length1; core_id_it = core_id_it + 1) {
+#line 2646 "Plugins.c"
+ gchar* _tmp4_;
gchar* core_id = NULL;
#line 172 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp13_ = g_strdup (core_id_collection[core_id_it]);
+ _tmp4_ = g_strdup (core_id_collection[core_id_it]);
#line 172 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- core_id = _tmp13_;
-#line 2397 "Plugins.c"
+ core_id = _tmp4_;
+#line 2653 "Plugins.c"
{
- GeeHashSet* _tmp14_;
- const gchar* _tmp15_;
+ GeeHashSet* _tmp5_;
+ const gchar* _tmp6_;
#line 173 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14_ = plugins_core_ids;
+ _tmp5_ = plugins_core_ids;
#line 173 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = core_id;
+ _tmp6_ = core_id;
#line 173 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp15_);
+ gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp6_);
#line 172 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_free0 (core_id);
-#line 2409 "Plugins.c"
+#line 2665 "Plugins.c"
}
}
}
}
{
GeeIterator* _pluggable_rep_it = NULL;
- GeeHashMap* _tmp16_;
- GeeCollection* _tmp17_;
- GeeCollection* _tmp18_;
- GeeCollection* _tmp19_;
- GeeIterator* _tmp20_;
- GeeIterator* _tmp21_;
+ GeeHashMap* _tmp7_;
+ GeeCollection* _tmp8_;
+ GeeCollection* _tmp9_;
+ GeeCollection* _tmp10_;
+ GeeIterator* _tmp11_;
+ GeeIterator* _tmp12_;
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp16_ = plugins_pluggable_table;
+ _tmp7_ = plugins_pluggable_table;
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp17_ = gee_abstract_map_get_values (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
+ _tmp8_ = gee_abstract_map_get_values (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp18_ = _tmp17_;
+ _tmp9_ = _tmp8_;
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp19_ = _tmp18_;
+ _tmp10_ = _tmp9_;
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp20_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ITERABLE, GeeIterable));
+ _tmp11_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ITERABLE, GeeIterable));
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp21_ = _tmp20_;
+ _tmp12_ = _tmp11_;
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_object_unref0 (_tmp19_);
+ _g_object_unref0 (_tmp10_);
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _pluggable_rep_it = _tmp21_;
+ _pluggable_rep_it = _tmp12_;
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
while (TRUE) {
-#line 2440 "Plugins.c"
- GeeIterator* _tmp22_;
- gboolean _tmp23_;
+#line 2696 "Plugins.c"
+ GeeIterator* _tmp13_;
PluginsPluggableRep* pluggable_rep = NULL;
- GeeIterator* _tmp24_;
- gpointer _tmp25_;
- PluginsPluggableRep* _tmp26_;
- SpitPluggable* _tmp27_;
- SpitPluggable* _tmp28_;
- GType _tmp29_;
- GType _tmp30_;
- gboolean _tmp31_;
- PluginsPluggableRep* _tmp32_;
- PluginsNotifier* _tmp33_;
- PluginsNotifier* _tmp34_;
- PluginsPluggableRep* _tmp35_;
- SpitPluggable* _tmp36_;
- SpitPluggable* _tmp37_;
- PluginsPluggableRep* _tmp38_;
- gboolean _tmp39_;
-#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp22_ = _pluggable_rep_it;
+ GeeIterator* _tmp14_;
+ gpointer _tmp15_;
+ PluginsPluggableRep* _tmp16_;
+ SpitPluggable* _tmp17_;
+ SpitPluggable* _tmp18_;
+ PluginsPluggableRep* _tmp19_;
+ PluginsNotifier* _tmp20_;
+ PluginsNotifier* _tmp21_;
+ PluginsPluggableRep* _tmp22_;
+ SpitPluggable* _tmp23_;
+ SpitPluggable* _tmp24_;
+ PluginsPluggableRep* _tmp25_;
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp23_ = gee_iterator_next (_tmp22_);
+ _tmp13_ = _pluggable_rep_it;
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (!_tmp23_) {
+ if (!gee_iterator_next (_tmp13_)) {
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
break;
-#line 2468 "Plugins.c"
+#line 2717 "Plugins.c"
}
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp24_ = _pluggable_rep_it;
+ _tmp14_ = _pluggable_rep_it;
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp25_ = gee_iterator_get (_tmp24_);
+ _tmp15_ = gee_iterator_get (_tmp14_);
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_rep = (PluginsPluggableRep*) _tmp25_;
-#line 178 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp26_ = pluggable_rep;
-#line 178 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp27_ = plugins_pluggable_rep_get_pluggable (_tmp26_);
+ pluggable_rep = (PluginsPluggableRep*) _tmp15_;
#line 178 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp28_ = _tmp27_;
+ _tmp16_ = pluggable_rep;
#line 178 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp29_ = G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, G_TYPE_OBJECT, GObject));
+ _tmp17_ = plugins_pluggable_rep_get_pluggable (_tmp16_);
#line 178 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp30_ = type;
+ _tmp18_ = _tmp17_;
#line 178 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp31_ = g_type_is_a (_tmp29_, _tmp30_);
-#line 178 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (!_tmp31_) {
+ if (!g_type_is_a (G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, G_TYPE_OBJECT, GObject)), type)) {
#line 179 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_pluggable_rep_unref0 (pluggable_rep);
#line 179 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
continue;
-#line 2494 "Plugins.c"
+#line 2737 "Plugins.c"
}
#line 181 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp32_ = pluggable_rep;
+ _tmp19_ = pluggable_rep;
#line 181 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_pluggable_rep_activate (_tmp32_);
-#line 182 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp33_ = plugins_notifier_get_instance ();
+ plugins_pluggable_rep_activate (_tmp19_);
#line 182 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp34_ = _tmp33_;
+ _tmp20_ = plugins_notifier_get_instance ();
#line 182 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp35_ = pluggable_rep;
+ _tmp21_ = _tmp20_;
#line 182 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp36_ = plugins_pluggable_rep_get_pluggable (_tmp35_);
+ _tmp22_ = pluggable_rep;
#line 182 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp37_ = _tmp36_;
+ _tmp23_ = plugins_pluggable_rep_get_pluggable (_tmp22_);
#line 182 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp38_ = pluggable_rep;
+ _tmp24_ = _tmp23_;
#line 182 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp39_ = plugins_pluggable_rep_is_enabled (_tmp38_);
+ _tmp25_ = pluggable_rep;
#line 182 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- g_signal_emit (_tmp34_, plugins_notifier_signals[PLUGINS_NOTIFIER_PLUGGABLE_ACTIVATION_SIGNAL], 0, _tmp37_, _tmp39_);
+ g_signal_emit (_tmp21_, plugins_notifier_signals[PLUGINS_NOTIFIER_PLUGGABLE_ACTIVATION_SIGNAL], 0, _tmp24_, plugins_pluggable_rep_is_enabled (_tmp25_));
#line 182 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _plugins_notifier_unref0 (_tmp34_);
+ _plugins_notifier_unref0 (_tmp21_);
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_pluggable_rep_unref0 (pluggable_rep);
-#line 2520 "Plugins.c"
+#line 2761 "Plugins.c"
}
#line 177 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (_pluggable_rep_it);
-#line 2524 "Plugins.c"
+#line 2765 "Plugins.c"
}
}
-GeeCollection* plugins_get_pluggables (gboolean include_disabled) {
+GeeCollection*
+plugins_get_pluggables (gboolean include_disabled)
+{
GeeCollection* result = NULL;
GeeCollection* all = NULL;
GeeHashSet* _tmp0_;
@@ -2534,7 +2777,7 @@ GeeCollection* plugins_get_pluggables (gboolean include_disabled) {
_tmp0_ = gee_hash_set_new (SPIT_TYPE_PLUGGABLE, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL);
#line 187 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
all = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2537 "Plugins.c"
+#line 2780 "Plugins.c"
{
GeeIterator* _pluggable_rep_it = NULL;
GeeHashMap* _tmp1_;
@@ -2561,154 +2804,146 @@ GeeCollection* plugins_get_pluggables (gboolean include_disabled) {
_pluggable_rep_it = _tmp6_;
#line 188 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
while (TRUE) {
-#line 2564 "Plugins.c"
+#line 2807 "Plugins.c"
GeeIterator* _tmp7_;
- gboolean _tmp8_;
PluginsPluggableRep* pluggable_rep = NULL;
- GeeIterator* _tmp9_;
- gpointer _tmp10_;
- gboolean _tmp11_ = FALSE;
- PluginsPluggableRep* _tmp12_;
+ GeeIterator* _tmp8_;
+ gpointer _tmp9_;
+ gboolean _tmp10_ = FALSE;
+ PluginsPluggableRep* _tmp11_;
+ gboolean _tmp12_;
gboolean _tmp13_;
- gboolean _tmp14_;
#line 188 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp7_ = _pluggable_rep_it;
#line 188 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = gee_iterator_next (_tmp7_);
-#line 188 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (!_tmp8_) {
+ if (!gee_iterator_next (_tmp7_)) {
#line 188 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
break;
-#line 2582 "Plugins.c"
+#line 2822 "Plugins.c"
}
#line 188 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = _pluggable_rep_it;
+ _tmp8_ = _pluggable_rep_it;
#line 188 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = gee_iterator_get (_tmp9_);
+ _tmp9_ = gee_iterator_get (_tmp8_);
#line 188 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_rep = (PluginsPluggableRep*) _tmp10_;
+ pluggable_rep = (PluginsPluggableRep*) _tmp9_;
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp12_ = pluggable_rep;
+ _tmp11_ = pluggable_rep;
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp13_ = plugins_pluggable_rep_get_activated (_tmp12_);
+ _tmp12_ = plugins_pluggable_rep_get_activated (_tmp11_);
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14_ = _tmp13_;
+ _tmp13_ = _tmp12_;
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp14_) {
-#line 2598 "Plugins.c"
- gboolean _tmp15_ = FALSE;
- gboolean _tmp16_;
+ if (_tmp13_) {
+#line 2838 "Plugins.c"
+ gboolean _tmp14_ = FALSE;
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp16_ = include_disabled;
+ if (include_disabled) {
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp16_) {
-#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = TRUE;
-#line 2607 "Plugins.c"
+ _tmp14_ = TRUE;
+#line 2844 "Plugins.c"
} else {
- PluginsPluggableRep* _tmp17_;
- gboolean _tmp18_;
-#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp17_ = pluggable_rep;
+ PluginsPluggableRep* _tmp15_;
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp18_ = plugins_pluggable_rep_is_enabled (_tmp17_);
+ _tmp15_ = pluggable_rep;
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = _tmp18_;
-#line 2617 "Plugins.c"
+ _tmp14_ = plugins_pluggable_rep_is_enabled (_tmp15_);
+#line 2851 "Plugins.c"
}
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = _tmp15_;
-#line 2621 "Plugins.c"
+ _tmp10_ = _tmp14_;
+#line 2855 "Plugins.c"
} else {
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = FALSE;
-#line 2625 "Plugins.c"
+ _tmp10_ = FALSE;
+#line 2859 "Plugins.c"
}
#line 189 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp11_) {
-#line 2629 "Plugins.c"
- GeeCollection* _tmp19_;
- PluginsPluggableRep* _tmp20_;
- SpitPluggable* _tmp21_;
- SpitPluggable* _tmp22_;
+ if (_tmp10_) {
+#line 2863 "Plugins.c"
+ GeeCollection* _tmp16_;
+ PluginsPluggableRep* _tmp17_;
+ SpitPluggable* _tmp18_;
+ SpitPluggable* _tmp19_;
#line 190 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp19_ = all;
+ _tmp16_ = all;
#line 190 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp20_ = pluggable_rep;
+ _tmp17_ = pluggable_rep;
#line 190 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp21_ = plugins_pluggable_rep_get_pluggable (_tmp20_);
+ _tmp18_ = plugins_pluggable_rep_get_pluggable (_tmp17_);
#line 190 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp22_ = _tmp21_;
+ _tmp19_ = _tmp18_;
#line 190 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- gee_collection_add (_tmp19_, _tmp22_);
-#line 2644 "Plugins.c"
+ gee_collection_add (_tmp16_, _tmp19_);
+#line 2878 "Plugins.c"
}
#line 188 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_pluggable_rep_unref0 (pluggable_rep);
-#line 2648 "Plugins.c"
+#line 2882 "Plugins.c"
}
#line 188 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (_pluggable_rep_it);
-#line 2652 "Plugins.c"
+#line 2886 "Plugins.c"
}
#line 193 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = all;
#line 193 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 2658 "Plugins.c"
+#line 2892 "Plugins.c"
}
-gboolean plugins_is_core_pluggable (SpitPluggable* pluggable) {
+gboolean
+plugins_is_core_pluggable (SpitPluggable* pluggable)
+{
gboolean result = FALSE;
GeeHashSet* _tmp0_;
- SpitPluggable* _tmp1_;
- const gchar* _tmp2_;
- gboolean _tmp3_;
+ const gchar* _tmp1_;
#line 196 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (pluggable), FALSE);
#line 197 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = plugins_core_ids;
#line 197 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = pluggable;
-#line 197 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = spit_pluggable_get_id (_tmp1_);
+ _tmp1_ = spit_pluggable_get_id (pluggable);
#line 197 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = gee_abstract_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp2_);
-#line 197 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- result = _tmp3_;
+ result = gee_abstract_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp1_);
#line 197 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 2682 "Plugins.c"
+#line 2912 "Plugins.c"
}
-static SpitPluggable** _vala_array_dup17 (SpitPluggable** self, int length) {
+static SpitPluggable**
+_vala_array_dup17 (SpitPluggable** self,
+ int length)
+{
SpitPluggable** result;
int i;
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = g_new0 (SpitPluggable*, length + 1);
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
for (i = 0; i < length; i++) {
-#line 2693 "Plugins.c"
+#line 2926 "Plugins.c"
SpitPluggable* _tmp0_;
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = _g_object_ref0 (self[i]);
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result[i] = _tmp0_;
-#line 2699 "Plugins.c"
+#line 2932 "Plugins.c"
}
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 2703 "Plugins.c"
+#line 2936 "Plugins.c"
}
-PluginsModuleRep* plugins_get_module_for_pluggable (SpitPluggable* needle) {
+PluginsModuleRep*
+plugins_get_module_for_pluggable (SpitPluggable* needle)
+{
PluginsModuleRep* result = NULL;
#line 200 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (needle), NULL);
-#line 2711 "Plugins.c"
+#line 2946 "Plugins.c"
{
GeeIterator* _module_rep_it = NULL;
GeeHashMap* _tmp0_;
@@ -2735,97 +2970,91 @@ PluginsModuleRep* plugins_get_module_for_pluggable (SpitPluggable* needle) {
_module_rep_it = _tmp5_;
#line 201 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
while (TRUE) {
-#line 2738 "Plugins.c"
+#line 2973 "Plugins.c"
GeeIterator* _tmp6_;
- gboolean _tmp7_;
PluginsModuleRep* module_rep = NULL;
- GeeIterator* _tmp8_;
- gpointer _tmp9_;
+ GeeIterator* _tmp7_;
+ gpointer _tmp8_;
SpitPluggable** pluggables = NULL;
- PluginsModuleRep* _tmp10_;
- SpitModule* _tmp11_;
- gint _tmp12_;
+ PluginsModuleRep* _tmp9_;
+ SpitModule* _tmp10_;
+ gint _tmp11_;
+ SpitPluggable** _tmp12_;
SpitPluggable** _tmp13_;
- SpitPluggable** _tmp14_;
- gint _tmp14__length1;
+ gint _tmp13__length1;
gint pluggables_length1;
gint _pluggables_size_;
- SpitPluggable** _tmp15_;
- gint _tmp15__length1;
+ SpitPluggable** _tmp14_;
+ gint _tmp14__length1;
#line 201 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp6_ = _module_rep_it;
#line 201 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = gee_iterator_next (_tmp6_);
-#line 201 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (!_tmp7_) {
+ if (!gee_iterator_next (_tmp6_)) {
#line 201 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
break;
-#line 2763 "Plugins.c"
+#line 2995 "Plugins.c"
}
#line 201 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = _module_rep_it;
+ _tmp7_ = _module_rep_it;
#line 201 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = gee_iterator_get (_tmp8_);
+ _tmp8_ = gee_iterator_get (_tmp7_);
#line 201 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- module_rep = (PluginsModuleRep*) _tmp9_;
+ module_rep = (PluginsModuleRep*) _tmp8_;
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = module_rep;
+ _tmp9_ = module_rep;
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = _tmp10_->spit_module;
+ _tmp10_ = _tmp9_->spit_module;
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp13_ = spit_module_get_pluggables (_tmp11_, &_tmp12_);
+ _tmp12_ = spit_module_get_pluggables (_tmp10_, &_tmp11_);
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14_ = (_tmp13_ != NULL) ? _vala_array_dup17 (_tmp13_, _tmp12_) : ((gpointer) _tmp13_);
+ _tmp13_ = (_tmp12_ != NULL) ? _vala_array_dup17 (_tmp12_, _tmp11_) : ((gpointer) _tmp12_);
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14__length1 = _tmp12_;
+ _tmp13__length1 = _tmp11_;
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggables = _tmp14_;
+ pluggables = _tmp13_;
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggables_length1 = _tmp14__length1;
+ pluggables_length1 = _tmp13__length1;
#line 202 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_pluggables_size_ = pluggables_length1;
#line 203 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = pluggables;
+ _tmp14_ = pluggables;
#line 203 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15__length1 = pluggables_length1;
+ _tmp14__length1 = pluggables_length1;
#line 203 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp15_ != NULL) {
-#line 2793 "Plugins.c"
- SpitPluggable** _tmp16_;
- gint _tmp16__length1;
+ if (_tmp14_ != NULL) {
+#line 3025 "Plugins.c"
+ SpitPluggable** _tmp15_;
+ gint _tmp15__length1;
#line 204 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp16_ = pluggables;
+ _tmp15_ = pluggables;
#line 204 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp16__length1 = pluggables_length1;
-#line 2800 "Plugins.c"
+ _tmp15__length1 = pluggables_length1;
+#line 3032 "Plugins.c"
{
SpitPluggable** pluggable_collection = NULL;
gint pluggable_collection_length1 = 0;
gint _pluggable_collection_size_ = 0;
gint pluggable_it = 0;
#line 204 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_collection = _tmp16_;
+ pluggable_collection = _tmp15_;
#line 204 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_collection_length1 = _tmp16__length1;
+ pluggable_collection_length1 = _tmp15__length1;
#line 204 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- for (pluggable_it = 0; pluggable_it < _tmp16__length1; pluggable_it = pluggable_it + 1) {
-#line 2812 "Plugins.c"
- SpitPluggable* _tmp17_;
+ for (pluggable_it = 0; pluggable_it < _tmp15__length1; pluggable_it = pluggable_it + 1) {
+#line 3044 "Plugins.c"
+ SpitPluggable* _tmp16_;
SpitPluggable* pluggable = NULL;
#line 204 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp17_ = _g_object_ref0 (pluggable_collection[pluggable_it]);
+ _tmp16_ = _g_object_ref0 (pluggable_collection[pluggable_it]);
#line 204 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable = _tmp17_;
-#line 2819 "Plugins.c"
+ pluggable = _tmp16_;
+#line 3051 "Plugins.c"
{
- SpitPluggable* _tmp18_;
- SpitPluggable* _tmp19_;
-#line 205 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp18_ = pluggable;
+ SpitPluggable* _tmp17_;
#line 205 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp19_ = needle;
+ _tmp17_ = pluggable;
#line 205 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp18_ == _tmp19_) {
+ if (_tmp17_ == needle) {
#line 206 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = module_rep;
#line 206 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -2836,11 +3065,11 @@ PluginsModuleRep* plugins_get_module_for_pluggable (SpitPluggable* needle) {
_g_object_unref0 (_module_rep_it);
#line 206 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 2839 "Plugins.c"
+#line 3068 "Plugins.c"
}
#line 204 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (pluggable);
-#line 2843 "Plugins.c"
+#line 3072 "Plugins.c"
}
}
}
@@ -2849,71 +3078,74 @@ PluginsModuleRep* plugins_get_module_for_pluggable (SpitPluggable* needle) {
pluggables = (_vala_array_free (pluggables, pluggables_length1, (GDestroyNotify) g_object_unref), NULL);
#line 201 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
-#line 2852 "Plugins.c"
+#line 3081 "Plugins.c"
}
#line 201 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (_module_rep_it);
-#line 2856 "Plugins.c"
+#line 3085 "Plugins.c"
}
#line 211 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = NULL;
#line 211 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 2862 "Plugins.c"
+#line 3091 "Plugins.c"
}
-gchar* plugins_get_pluggable_module_id (SpitPluggable* needle) {
+gchar*
+plugins_get_pluggable_module_id (SpitPluggable* needle)
+{
gchar* result = NULL;
PluginsModuleRep* module_rep = NULL;
- SpitPluggable* _tmp0_;
- PluginsModuleRep* _tmp1_;
- const gchar* _tmp2_ = NULL;
- PluginsModuleRep* _tmp3_;
- gchar* _tmp7_;
+ PluginsModuleRep* _tmp0_;
+ const gchar* _tmp1_ = NULL;
+ PluginsModuleRep* _tmp2_;
+ gchar* _tmp6_;
#line 214 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (needle), NULL);
#line 215 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = needle;
-#line 215 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = plugins_get_module_for_pluggable (_tmp0_);
+ _tmp0_ = plugins_get_module_for_pluggable (needle);
#line 215 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- module_rep = _tmp1_;
+ module_rep = _tmp0_;
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = module_rep;
+ _tmp2_ = module_rep;
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp3_ != NULL) {
-#line 2886 "Plugins.c"
- PluginsModuleRep* _tmp4_;
- SpitModule* _tmp5_;
- const gchar* _tmp6_;
+ if (_tmp2_ != NULL) {
+#line 3114 "Plugins.c"
+ PluginsModuleRep* _tmp3_;
+ SpitModule* _tmp4_;
+ const gchar* _tmp5_;
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = module_rep;
+ _tmp3_ = module_rep;
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = _tmp4_->spit_module;
+ _tmp4_ = _tmp3_->spit_module;
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = spit_module_get_id (_tmp5_);
+ _tmp5_ = spit_module_get_id (_tmp4_);
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = _tmp6_;
-#line 2898 "Plugins.c"
+ _tmp1_ = _tmp5_;
+#line 3126 "Plugins.c"
} else {
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = NULL;
-#line 2902 "Plugins.c"
+ _tmp1_ = NULL;
+#line 3130 "Plugins.c"
}
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = g_strdup (_tmp2_);
+ _tmp6_ = g_strdup (_tmp1_);
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- result = _tmp7_;
+ result = _tmp6_;
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
#line 217 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 2912 "Plugins.c"
+#line 3140 "Plugins.c"
}
-GeeCollection* plugins_get_extension_points (GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify) {
+GeeCollection*
+plugins_get_extension_points (GCompareDataFunc compare_func,
+ void* compare_func_target,
+ GDestroyNotify compare_func_target_destroy_notify)
+{
GeeCollection* result = NULL;
GeeCollection* sorted = NULL;
GCompareDataFunc _tmp0_;
@@ -2964,34 +3196,34 @@ GeeCollection* plugins_get_extension_points (GCompareDataFunc compare_func, void
compare_func_target_destroy_notify = NULL;
#line 224 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 2967 "Plugins.c"
+#line 3199 "Plugins.c"
}
-GeeCollection* plugins_get_pluggables_for_type (GType type, GCompareDataFunc compare_func, void* compare_func_target, GDestroyNotify compare_func_target_destroy_notify, gboolean include_disabled) {
+GeeCollection*
+plugins_get_pluggables_for_type (GType type,
+ GCompareDataFunc compare_func,
+ void* compare_func_target,
+ GDestroyNotify compare_func_target_destroy_notify,
+ gboolean include_disabled)
+{
GeeCollection* result = NULL;
GeeHashMap* _tmp0_;
- GType _tmp1_;
- gboolean _tmp2_;
GeeCollection* for_type = NULL;
- GCompareDataFunc _tmp3_;
- void* _tmp3__target;
- GDestroyNotify _tmp3__target_destroy_notify;
- GeeTreeSet* _tmp4_;
+ GCompareDataFunc _tmp1_;
+ void* _tmp1__target;
+ GDestroyNotify _tmp1__target_destroy_notify;
+ GeeTreeSet* _tmp2_;
#line 230 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = plugins_extension_points;
#line 230 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = type;
-#line 230 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) _tmp1_));
-#line 230 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _vala_assert (_tmp2_, "extension_points.has_key(type)");
+ _vala_assert (gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), (gpointer) ((gintptr) type)), "extension_points.has_key(type)");
#line 232 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = compare_func;
+ _tmp1_ = compare_func;
#line 232 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3__target = compare_func_target;
+ _tmp1__target = compare_func_target;
#line 232 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3__target_destroy_notify = compare_func_target_destroy_notify;
+ _tmp1__target_destroy_notify = compare_func_target_destroy_notify;
#line 232 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
compare_func = NULL;
#line 232 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -2999,155 +3231,137 @@ GeeCollection* plugins_get_pluggables_for_type (GType type, GCompareDataFunc com
#line 232 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
compare_func_target_destroy_notify = NULL;
#line 232 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = gee_tree_set_new (SPIT_TYPE_PLUGGABLE, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _tmp3_, _tmp3__target, _tmp3__target_destroy_notify);
+ _tmp2_ = gee_tree_set_new (SPIT_TYPE_PLUGGABLE, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, _tmp1_, _tmp1__target, _tmp1__target_destroy_notify);
#line 232 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- for_type = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 3005 "Plugins.c"
+ for_type = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
+#line 3237 "Plugins.c"
{
GeeIterator* _pluggable_rep_it = NULL;
- GeeHashMap* _tmp5_;
+ GeeHashMap* _tmp3_;
+ GeeCollection* _tmp4_;
+ GeeCollection* _tmp5_;
GeeCollection* _tmp6_;
- GeeCollection* _tmp7_;
- GeeCollection* _tmp8_;
- GeeIterator* _tmp9_;
- GeeIterator* _tmp10_;
+ GeeIterator* _tmp7_;
+ GeeIterator* _tmp8_;
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = plugins_pluggable_table;
+ _tmp3_ = plugins_pluggable_table;
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = gee_abstract_map_get_values (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
+ _tmp4_ = gee_abstract_map_get_values (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap));
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = _tmp6_;
+ _tmp5_ = _tmp4_;
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = _tmp7_;
+ _tmp6_ = _tmp5_;
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_ITERABLE, GeeIterable));
+ _tmp7_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_ITERABLE, GeeIterable));
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = _tmp9_;
+ _tmp8_ = _tmp7_;
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_object_unref0 (_tmp8_);
+ _g_object_unref0 (_tmp6_);
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _pluggable_rep_it = _tmp10_;
+ _pluggable_rep_it = _tmp8_;
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
while (TRUE) {
-#line 3032 "Plugins.c"
- GeeIterator* _tmp11_;
- gboolean _tmp12_;
+#line 3264 "Plugins.c"
+ GeeIterator* _tmp9_;
PluginsPluggableRep* pluggable_rep = NULL;
- GeeIterator* _tmp13_;
- gpointer _tmp14_;
- gboolean _tmp15_ = FALSE;
- gboolean _tmp16_ = FALSE;
- PluginsPluggableRep* _tmp17_;
- gboolean _tmp18_;
- gboolean _tmp19_;
-#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = _pluggable_rep_it;
+ GeeIterator* _tmp10_;
+ gpointer _tmp11_;
+ gboolean _tmp12_ = FALSE;
+ gboolean _tmp13_ = FALSE;
+ PluginsPluggableRep* _tmp14_;
+ gboolean _tmp15_;
+ gboolean _tmp16_;
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp12_ = gee_iterator_next (_tmp11_);
+ _tmp9_ = _pluggable_rep_it;
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (!_tmp12_) {
+ if (!gee_iterator_next (_tmp9_)) {
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
break;
-#line 3051 "Plugins.c"
+#line 3280 "Plugins.c"
}
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp13_ = _pluggable_rep_it;
+ _tmp10_ = _pluggable_rep_it;
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14_ = gee_iterator_get (_tmp13_);
+ _tmp11_ = gee_iterator_get (_tmp10_);
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_rep = (PluginsPluggableRep*) _tmp14_;
+ pluggable_rep = (PluginsPluggableRep*) _tmp11_;
#line 234 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp17_ = pluggable_rep;
+ _tmp14_ = pluggable_rep;
#line 234 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp18_ = plugins_pluggable_rep_get_activated (_tmp17_);
+ _tmp15_ = plugins_pluggable_rep_get_activated (_tmp14_);
#line 234 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp19_ = _tmp18_;
+ _tmp16_ = _tmp15_;
#line 234 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp19_) {
-#line 3067 "Plugins.c"
- PluginsPluggableRep* _tmp20_;
- SpitPluggable* _tmp21_;
- SpitPluggable* _tmp22_;
- GType _tmp23_;
- GType _tmp24_;
- gboolean _tmp25_;
-#line 235 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp20_ = pluggable_rep;
-#line 235 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp21_ = plugins_pluggable_rep_get_pluggable (_tmp20_);
-#line 235 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp22_ = _tmp21_;
+ if (_tmp16_) {
+#line 3296 "Plugins.c"
+ PluginsPluggableRep* _tmp17_;
+ SpitPluggable* _tmp18_;
+ SpitPluggable* _tmp19_;
#line 235 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp23_ = G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, G_TYPE_OBJECT, GObject));
+ _tmp17_ = pluggable_rep;
#line 235 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp24_ = type;
+ _tmp18_ = plugins_pluggable_rep_get_pluggable (_tmp17_);
#line 235 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp25_ = g_type_is_a (_tmp23_, _tmp24_);
+ _tmp19_ = _tmp18_;
#line 235 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp16_ = _tmp25_;
-#line 3088 "Plugins.c"
+ _tmp13_ = g_type_is_a (G_TYPE_FROM_INSTANCE (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, G_TYPE_OBJECT, GObject)), type);
+#line 3308 "Plugins.c"
} else {
#line 234 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp16_ = FALSE;
-#line 3092 "Plugins.c"
+ _tmp13_ = FALSE;
+#line 3312 "Plugins.c"
}
#line 234 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp16_) {
-#line 3096 "Plugins.c"
- gboolean _tmp26_ = FALSE;
- gboolean _tmp27_;
+ if (_tmp13_) {
+#line 3316 "Plugins.c"
+ gboolean _tmp20_ = FALSE;
#line 236 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp27_ = include_disabled;
+ if (include_disabled) {
#line 236 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp27_) {
-#line 236 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp26_ = TRUE;
-#line 3105 "Plugins.c"
+ _tmp20_ = TRUE;
+#line 3322 "Plugins.c"
} else {
- PluginsPluggableRep* _tmp28_;
- gboolean _tmp29_;
-#line 236 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp28_ = pluggable_rep;
+ PluginsPluggableRep* _tmp21_;
#line 236 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp29_ = plugins_pluggable_rep_is_enabled (_tmp28_);
+ _tmp21_ = pluggable_rep;
#line 236 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp26_ = _tmp29_;
-#line 3115 "Plugins.c"
+ _tmp20_ = plugins_pluggable_rep_is_enabled (_tmp21_);
+#line 3329 "Plugins.c"
}
#line 236 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = _tmp26_;
-#line 3119 "Plugins.c"
+ _tmp12_ = _tmp20_;
+#line 3333 "Plugins.c"
} else {
#line 234 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = FALSE;
-#line 3123 "Plugins.c"
+ _tmp12_ = FALSE;
+#line 3337 "Plugins.c"
}
#line 234 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp15_) {
-#line 3127 "Plugins.c"
- GeeCollection* _tmp30_;
- PluginsPluggableRep* _tmp31_;
- SpitPluggable* _tmp32_;
- SpitPluggable* _tmp33_;
+ if (_tmp12_) {
+#line 3341 "Plugins.c"
+ GeeCollection* _tmp22_;
+ PluginsPluggableRep* _tmp23_;
+ SpitPluggable* _tmp24_;
+ SpitPluggable* _tmp25_;
#line 237 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp30_ = for_type;
+ _tmp22_ = for_type;
#line 237 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp31_ = pluggable_rep;
+ _tmp23_ = pluggable_rep;
#line 237 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp32_ = plugins_pluggable_rep_get_pluggable (_tmp31_);
+ _tmp24_ = plugins_pluggable_rep_get_pluggable (_tmp23_);
#line 237 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp33_ = _tmp32_;
+ _tmp25_ = _tmp24_;
#line 237 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- gee_collection_add (_tmp30_, _tmp33_);
-#line 3142 "Plugins.c"
+ gee_collection_add (_tmp22_, _tmp25_);
+#line 3356 "Plugins.c"
}
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_pluggable_rep_unref0 (pluggable_rep);
-#line 3146 "Plugins.c"
+#line 3360 "Plugins.c"
}
#line 233 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (_pluggable_rep_it);
-#line 3150 "Plugins.c"
+#line 3364 "Plugins.c"
}
#line 241 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = for_type;
@@ -3161,98 +3375,99 @@ GeeCollection* plugins_get_pluggables_for_type (GType type, GCompareDataFunc com
compare_func_target_destroy_notify = NULL;
#line 241 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3164 "Plugins.c"
+#line 3378 "Plugins.c"
}
-gchar* plugins_get_pluggable_name (const gchar* id) {
+gchar*
+plugins_get_pluggable_name (const gchar* id)
+{
gchar* result = NULL;
PluginsPluggableRep* pluggable_rep = NULL;
GeeHashMap* _tmp0_;
- const gchar* _tmp1_;
- gpointer _tmp2_;
- const gchar* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- PluginsPluggableRep* _tmp5_;
- gchar* _tmp13_;
+ gpointer _tmp1_;
+ const gchar* _tmp2_ = NULL;
+ gboolean _tmp3_ = FALSE;
+ PluginsPluggableRep* _tmp4_;
+ gchar* _tmp12_;
#line 244 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (id != NULL, NULL);
#line 245 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = plugins_pluggable_table;
#line 245 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = id;
+ _tmp1_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), id);
#line 245 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_);
-#line 245 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_rep = (PluginsPluggableRep*) _tmp2_;
+ pluggable_rep = (PluginsPluggableRep*) _tmp1_;
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = pluggable_rep;
+ _tmp4_ = pluggable_rep;
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp5_ != NULL) {
-#line 3192 "Plugins.c"
- PluginsPluggableRep* _tmp6_;
+ if (_tmp4_ != NULL) {
+#line 3405 "Plugins.c"
+ PluginsPluggableRep* _tmp5_;
+ gboolean _tmp6_;
gboolean _tmp7_;
- gboolean _tmp8_;
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = pluggable_rep;
+ _tmp5_ = pluggable_rep;
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = plugins_pluggable_rep_get_activated (_tmp6_);
+ _tmp6_ = plugins_pluggable_rep_get_activated (_tmp5_);
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = _tmp7_;
+ _tmp7_ = _tmp6_;
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = _tmp8_;
-#line 3204 "Plugins.c"
+ _tmp3_ = _tmp7_;
+#line 3417 "Plugins.c"
} else {
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = FALSE;
-#line 3208 "Plugins.c"
+ _tmp3_ = FALSE;
+#line 3421 "Plugins.c"
}
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp4_) {
-#line 3212 "Plugins.c"
- PluginsPluggableRep* _tmp9_;
+ if (_tmp3_) {
+#line 3425 "Plugins.c"
+ PluginsPluggableRep* _tmp8_;
+ SpitPluggable* _tmp9_;
SpitPluggable* _tmp10_;
- SpitPluggable* _tmp11_;
- const gchar* _tmp12_;
+ const gchar* _tmp11_;
#line 248 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = pluggable_rep;
+ _tmp8_ = pluggable_rep;
#line 248 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = plugins_pluggable_rep_get_pluggable (_tmp9_);
+ _tmp9_ = plugins_pluggable_rep_get_pluggable (_tmp8_);
#line 248 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = _tmp10_;
+ _tmp10_ = _tmp9_;
#line 248 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp12_ = spit_pluggable_get_pluggable_name (_tmp11_);
+ _tmp11_ = spit_pluggable_get_pluggable_name (_tmp10_);
#line 248 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = _tmp12_;
-#line 3227 "Plugins.c"
+ _tmp2_ = _tmp11_;
+#line 3440 "Plugins.c"
} else {
#line 248 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = NULL;
-#line 3231 "Plugins.c"
+ _tmp2_ = NULL;
+#line 3444 "Plugins.c"
}
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp13_ = g_strdup (_tmp3_);
+ _tmp12_ = g_strdup (_tmp2_);
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- result = _tmp13_;
+ result = _tmp12_;
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_pluggable_rep_unref0 (pluggable_rep);
#line 247 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3241 "Plugins.c"
+#line 3454 "Plugins.c"
}
-gboolean plugins_get_pluggable_info (const gchar* id, SpitPluggableInfo* info) {
+gboolean
+plugins_get_pluggable_info (const gchar* id,
+ SpitPluggableInfo* info)
+{
gboolean result = FALSE;
PluginsPluggableRep* pluggable_rep = NULL;
GeeHashMap* _tmp0_;
- const gchar* _tmp1_;
- gpointer _tmp2_;
- gboolean _tmp3_ = FALSE;
- PluginsPluggableRep* _tmp4_;
- PluginsPluggableRep* _tmp8_;
+ gpointer _tmp1_;
+ gboolean _tmp2_ = FALSE;
+ PluginsPluggableRep* _tmp3_;
+ PluginsPluggableRep* _tmp7_;
+ SpitPluggable* _tmp8_;
SpitPluggable* _tmp9_;
- SpitPluggable* _tmp10_;
#line 251 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (id != NULL, FALSE);
#line 251 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -3260,104 +3475,101 @@ gboolean plugins_get_pluggable_info (const gchar* id, SpitPluggableInfo* info) {
#line 252 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = plugins_pluggable_table;
#line 252 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = id;
-#line 252 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_);
+ _tmp1_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), id);
#line 252 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_rep = (PluginsPluggableRep*) _tmp2_;
+ pluggable_rep = (PluginsPluggableRep*) _tmp1_;
#line 253 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = pluggable_rep;
+ _tmp3_ = pluggable_rep;
#line 253 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp4_ == NULL) {
+ if (_tmp3_ == NULL) {
#line 253 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = TRUE;
-#line 3274 "Plugins.c"
+ _tmp2_ = TRUE;
+#line 3487 "Plugins.c"
} else {
- PluginsPluggableRep* _tmp5_;
+ PluginsPluggableRep* _tmp4_;
+ gboolean _tmp5_;
gboolean _tmp6_;
- gboolean _tmp7_;
#line 253 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = pluggable_rep;
+ _tmp4_ = pluggable_rep;
#line 253 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = plugins_pluggable_rep_get_activated (_tmp5_);
+ _tmp5_ = plugins_pluggable_rep_get_activated (_tmp4_);
#line 253 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = _tmp6_;
+ _tmp6_ = _tmp5_;
#line 253 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = !_tmp7_;
-#line 3287 "Plugins.c"
+ _tmp2_ = !_tmp6_;
+#line 3500 "Plugins.c"
}
#line 253 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp3_) {
+ if (_tmp2_) {
#line 254 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = FALSE;
#line 254 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_pluggable_rep_unref0 (pluggable_rep);
#line 254 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3297 "Plugins.c"
+#line 3510 "Plugins.c"
}
#line 256 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = pluggable_rep;
+ _tmp7_ = pluggable_rep;
#line 256 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = plugins_pluggable_rep_get_pluggable (_tmp8_);
+ _tmp8_ = plugins_pluggable_rep_get_pluggable (_tmp7_);
#line 256 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = _tmp9_;
+ _tmp9_ = _tmp8_;
#line 256 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- spit_pluggable_get_info (_tmp10_, info);
+ spit_pluggable_get_info (_tmp9_, info);
#line 258 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = TRUE;
#line 258 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_pluggable_rep_unref0 (pluggable_rep);
#line 258 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3313 "Plugins.c"
+#line 3526 "Plugins.c"
}
-gboolean plugins_get_pluggable_enabled (const gchar* id, gboolean* enabled) {
+gboolean
+plugins_get_pluggable_enabled (const gchar* id,
+ gboolean* enabled)
+{
gboolean _vala_enabled = FALSE;
gboolean result = FALSE;
PluginsPluggableRep* pluggable_rep = NULL;
GeeHashMap* _tmp0_;
- const gchar* _tmp1_;
- gpointer _tmp2_;
- gboolean _tmp3_ = FALSE;
- PluginsPluggableRep* _tmp4_;
- PluginsPluggableRep* _tmp8_;
- gboolean _tmp9_;
+ gpointer _tmp1_;
+ gboolean _tmp2_ = FALSE;
+ PluginsPluggableRep* _tmp3_;
+ PluginsPluggableRep* _tmp7_;
#line 261 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (id != NULL, FALSE);
#line 262 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = plugins_pluggable_table;
#line 262 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = id;
+ _tmp1_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), id);
#line 262 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_);
-#line 262 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_rep = (PluginsPluggableRep*) _tmp2_;
+ pluggable_rep = (PluginsPluggableRep*) _tmp1_;
#line 263 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = pluggable_rep;
+ _tmp3_ = pluggable_rep;
#line 263 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp4_ == NULL) {
+ if (_tmp3_ == NULL) {
#line 263 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = TRUE;
-#line 3344 "Plugins.c"
+ _tmp2_ = TRUE;
+#line 3556 "Plugins.c"
} else {
- PluginsPluggableRep* _tmp5_;
+ PluginsPluggableRep* _tmp4_;
+ gboolean _tmp5_;
gboolean _tmp6_;
- gboolean _tmp7_;
#line 263 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = pluggable_rep;
+ _tmp4_ = pluggable_rep;
#line 263 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = plugins_pluggable_rep_get_activated (_tmp5_);
+ _tmp5_ = plugins_pluggable_rep_get_activated (_tmp4_);
#line 263 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = _tmp6_;
+ _tmp6_ = _tmp5_;
#line 263 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = !_tmp7_;
-#line 3357 "Plugins.c"
+ _tmp2_ = !_tmp6_;
+#line 3569 "Plugins.c"
}
#line 263 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp3_) {
+ if (_tmp2_) {
#line 264 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_vala_enabled = FALSE;
#line 266 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -3368,18 +3580,16 @@ gboolean plugins_get_pluggable_enabled (const gchar* id, gboolean* enabled) {
if (enabled) {
#line 266 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*enabled = _vala_enabled;
-#line 3371 "Plugins.c"
+#line 3583 "Plugins.c"
}
#line 266 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3375 "Plugins.c"
+#line 3587 "Plugins.c"
}
#line 269 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = pluggable_rep;
-#line 269 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = plugins_pluggable_rep_is_enabled (_tmp8_);
+ _tmp7_ = pluggable_rep;
#line 269 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _vala_enabled = _tmp9_;
+ _vala_enabled = plugins_pluggable_rep_is_enabled (_tmp7_);
#line 271 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = TRUE;
#line 271 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -3388,247 +3598,224 @@ gboolean plugins_get_pluggable_enabled (const gchar* id, gboolean* enabled) {
if (enabled) {
#line 271 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
*enabled = _vala_enabled;
-#line 3391 "Plugins.c"
+#line 3601 "Plugins.c"
}
#line 271 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3395 "Plugins.c"
+#line 3605 "Plugins.c"
}
-void plugins_set_pluggable_enabled (const gchar* id, gboolean enabled) {
+void
+plugins_set_pluggable_enabled (const gchar* id,
+ gboolean enabled)
+{
PluginsPluggableRep* pluggable_rep = NULL;
GeeHashMap* _tmp0_;
- const gchar* _tmp1_;
- gpointer _tmp2_;
- gboolean _tmp3_ = FALSE;
- PluginsPluggableRep* _tmp4_;
- PluginsPluggableRep* _tmp8_;
- gboolean _tmp9_;
- gboolean _tmp10_;
+ gpointer _tmp1_;
+ gboolean _tmp2_ = FALSE;
+ PluginsPluggableRep* _tmp3_;
+ PluginsPluggableRep* _tmp7_;
#line 274 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (id != NULL);
#line 275 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_tmp0_ = plugins_pluggable_table;
#line 275 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = id;
+ _tmp1_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), id);
#line 275 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_);
-#line 275 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_rep = (PluginsPluggableRep*) _tmp2_;
+ pluggable_rep = (PluginsPluggableRep*) _tmp1_;
#line 276 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = pluggable_rep;
+ _tmp3_ = pluggable_rep;
#line 276 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp4_ == NULL) {
+ if (_tmp3_ == NULL) {
#line 276 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = TRUE;
-#line 3425 "Plugins.c"
+ _tmp2_ = TRUE;
+#line 3633 "Plugins.c"
} else {
- PluginsPluggableRep* _tmp5_;
+ PluginsPluggableRep* _tmp4_;
+ gboolean _tmp5_;
gboolean _tmp6_;
- gboolean _tmp7_;
#line 276 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = pluggable_rep;
+ _tmp4_ = pluggable_rep;
#line 276 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = plugins_pluggable_rep_get_activated (_tmp5_);
+ _tmp5_ = plugins_pluggable_rep_get_activated (_tmp4_);
#line 276 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = _tmp6_;
+ _tmp6_ = _tmp5_;
#line 276 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = !_tmp7_;
-#line 3438 "Plugins.c"
+ _tmp2_ = !_tmp6_;
+#line 3646 "Plugins.c"
}
#line 276 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp3_) {
+ if (_tmp2_) {
#line 277 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_pluggable_rep_unref0 (pluggable_rep);
#line 277 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 3446 "Plugins.c"
+#line 3654 "Plugins.c"
}
#line 279 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = pluggable_rep;
+ _tmp7_ = pluggable_rep;
#line 279 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = enabled;
-#line 279 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = plugins_pluggable_rep_set_enabled (_tmp8_, _tmp9_);
-#line 279 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp10_) {
-#line 3456 "Plugins.c"
- PluginsNotifier* _tmp11_;
- PluginsNotifier* _tmp12_;
- PluginsPluggableRep* _tmp13_;
- SpitPluggable* _tmp14_;
- SpitPluggable* _tmp15_;
- gboolean _tmp16_;
-#line 280 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = plugins_notifier_get_instance ();
+ if (plugins_pluggable_rep_set_enabled (_tmp7_, enabled)) {
+#line 3660 "Plugins.c"
+ PluginsNotifier* _tmp8_;
+ PluginsNotifier* _tmp9_;
+ PluginsPluggableRep* _tmp10_;
+ SpitPluggable* _tmp11_;
+ SpitPluggable* _tmp12_;
#line 280 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp12_ = _tmp11_;
+ _tmp8_ = plugins_notifier_get_instance ();
#line 280 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp13_ = pluggable_rep;
+ _tmp9_ = _tmp8_;
#line 280 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14_ = plugins_pluggable_rep_get_pluggable (_tmp13_);
+ _tmp10_ = pluggable_rep;
#line 280 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = _tmp14_;
+ _tmp11_ = plugins_pluggable_rep_get_pluggable (_tmp10_);
#line 280 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp16_ = enabled;
+ _tmp12_ = _tmp11_;
#line 280 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- g_signal_emit (_tmp12_, plugins_notifier_signals[PLUGINS_NOTIFIER_PLUGGABLE_ACTIVATION_SIGNAL], 0, _tmp15_, _tmp16_);
+ g_signal_emit (_tmp9_, plugins_notifier_signals[PLUGINS_NOTIFIER_PLUGGABLE_ACTIVATION_SIGNAL], 0, _tmp12_, enabled);
#line 280 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _plugins_notifier_unref0 (_tmp12_);
-#line 3479 "Plugins.c"
+ _plugins_notifier_unref0 (_tmp9_);
+#line 3680 "Plugins.c"
}
#line 274 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_pluggable_rep_unref0 (pluggable_rep);
-#line 3483 "Plugins.c"
+#line 3684 "Plugins.c"
}
-GFile* plugins_get_pluggable_module_file (SpitPluggable* pluggable) {
+GFile*
+plugins_get_pluggable_module_file (SpitPluggable* pluggable)
+{
GFile* result = NULL;
PluginsModuleRep* module_rep = NULL;
- SpitPluggable* _tmp0_;
- PluginsModuleRep* _tmp1_;
- GFile* _tmp2_ = NULL;
- PluginsModuleRep* _tmp3_;
- GFile* _tmp6_;
+ PluginsModuleRep* _tmp0_;
+ GFile* _tmp1_ = NULL;
+ PluginsModuleRep* _tmp2_;
+ GFile* _tmp5_;
#line 283 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (pluggable), NULL);
#line 284 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = pluggable;
-#line 284 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = plugins_get_module_for_pluggable (_tmp0_);
+ _tmp0_ = plugins_get_module_for_pluggable (pluggable);
#line 284 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- module_rep = _tmp1_;
+ module_rep = _tmp0_;
#line 286 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = module_rep;
+ _tmp2_ = module_rep;
#line 286 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp3_ != NULL) {
-#line 3507 "Plugins.c"
- PluginsModuleRep* _tmp4_;
- GFile* _tmp5_;
+ if (_tmp2_ != NULL) {
+#line 3707 "Plugins.c"
+ PluginsModuleRep* _tmp3_;
+ GFile* _tmp4_;
#line 286 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = module_rep;
+ _tmp3_ = module_rep;
#line 286 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = _tmp4_->file;
+ _tmp4_ = _tmp3_->file;
#line 286 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = _tmp5_;
-#line 3516 "Plugins.c"
+ _tmp1_ = _tmp4_;
+#line 3716 "Plugins.c"
} else {
#line 286 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = NULL;
-#line 3520 "Plugins.c"
+ _tmp1_ = NULL;
+#line 3720 "Plugins.c"
}
#line 286 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = _g_object_ref0 (_tmp2_);
+ _tmp5_ = _g_object_ref0 (_tmp1_);
#line 286 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- result = _tmp6_;
+ result = _tmp5_;
#line 286 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
#line 286 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3530 "Plugins.c"
+#line 3730 "Plugins.c"
}
-gint plugins_compare_pluggable_names (void* a, void* b) {
+gint
+plugins_compare_pluggable_names (void* a,
+ void* b)
+{
gint result = 0;
SpitPluggable* apluggable = NULL;
- void* _tmp0_;
SpitPluggable* bpluggable = NULL;
- void* _tmp1_;
- const gchar* _tmp2_;
- const gchar* _tmp3_;
- gint _tmp4_;
-#line 290 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = a;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
#line 290 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- apluggable = (SpitPluggable*) _tmp0_;
+ apluggable = (SpitPluggable*) a;
#line 291 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = b;
-#line 291 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- bpluggable = (SpitPluggable*) _tmp1_;
-#line 293 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (apluggable, SPIT_TYPE_PLUGGABLE, SpitPluggable));
+ bpluggable = (SpitPluggable*) b;
#line 293 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (bpluggable, SPIT_TYPE_PLUGGABLE, SpitPluggable));
+ _tmp0_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (apluggable, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 293 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = g_utf8_collate (_tmp2_, _tmp3_);
+ _tmp1_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (bpluggable, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 293 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- result = _tmp4_;
+ result = g_utf8_collate (_tmp0_, _tmp1_);
#line 293 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3561 "Plugins.c"
+#line 3755 "Plugins.c"
}
-gint plugins_compare_extension_point_names (void* a, void* b) {
+gint
+plugins_compare_extension_point_names (void* a,
+ void* b)
+{
gint result = 0;
PluginsExtensionPoint* apoint = NULL;
- void* _tmp0_;
PluginsExtensionPoint* bpoint = NULL;
- void* _tmp1_;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
const gchar* _tmp2_;
const gchar* _tmp3_;
- const gchar* _tmp4_;
- const gchar* _tmp5_;
- gint _tmp6_;
-#line 297 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = a;
#line 297 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- apoint = (PluginsExtensionPoint*) _tmp0_;
+ apoint = (PluginsExtensionPoint*) a;
#line 298 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = b;
-#line 298 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- bpoint = (PluginsExtensionPoint*) _tmp1_;
+ bpoint = (PluginsExtensionPoint*) b;
#line 300 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = plugins_extension_point_get_name (G_TYPE_CHECK_INSTANCE_CAST (apoint, PLUGINS_TYPE_EXTENSION_POINT, PluginsExtensionPoint));
+ _tmp0_ = plugins_extension_point_get_name (G_TYPE_CHECK_INSTANCE_CAST (apoint, PLUGINS_TYPE_EXTENSION_POINT, PluginsExtensionPoint));
#line 300 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = _tmp2_;
+ _tmp1_ = _tmp0_;
#line 300 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = plugins_extension_point_get_name (G_TYPE_CHECK_INSTANCE_CAST (bpoint, PLUGINS_TYPE_EXTENSION_POINT, PluginsExtensionPoint));
+ _tmp2_ = plugins_extension_point_get_name (G_TYPE_CHECK_INSTANCE_CAST (bpoint, PLUGINS_TYPE_EXTENSION_POINT, PluginsExtensionPoint));
#line 300 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = _tmp4_;
+ _tmp3_ = _tmp2_;
#line 300 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = g_utf8_collate (_tmp3_, _tmp5_);
-#line 300 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- result = _tmp6_;
+ result = g_utf8_collate (_tmp1_, _tmp3_);
#line 300 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3598 "Plugins.c"
+#line 3786 "Plugins.c"
}
-gboolean plugins_is_shared_library (GFile* file) {
+gboolean
+plugins_is_shared_library (GFile* file)
+{
gboolean result = FALSE;
gchar* name = NULL;
gchar* ext = NULL;
- GFile* _tmp0_;
+ gchar* _tmp0_;
gchar* _tmp1_;
- gchar* _tmp2_;
+ gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
#line 303 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_val_if_fail (G_IS_FILE (file), FALSE);
#line 305 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = file;
-#line 305 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = g_file_get_basename (_tmp0_);
+ _tmp0_ = g_file_get_basename (file);
#line 305 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = _tmp1_;
+ _tmp1_ = _tmp0_;
#line 305 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- disassemble_filename (_tmp2_, &_tmp3_, &_tmp4_);
+ disassemble_filename (_tmp1_, &_tmp2_, &_tmp3_);
#line 305 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_free0 (name);
#line 305 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- name = _tmp3_;
+ name = _tmp2_;
#line 305 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_free0 (ext);
#line 305 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- ext = _tmp4_;
+ ext = _tmp3_;
#line 305 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp2_);
-#line 3631 "Plugins.c"
+ _g_free0 (_tmp1_);
+#line 3818 "Plugins.c"
{
const gchar** shared_ext_collection = NULL;
gint shared_ext_collection_length1 = 0;
@@ -3640,23 +3827,23 @@ gboolean plugins_is_shared_library (GFile* file) {
shared_ext_collection_length1 = G_N_ELEMENTS (PLUGINS_SHARED_LIB_EXTS);
#line 307 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
for (shared_ext_it = 0; shared_ext_it < G_N_ELEMENTS (PLUGINS_SHARED_LIB_EXTS); shared_ext_it = shared_ext_it + 1) {
-#line 3643 "Plugins.c"
- gchar* _tmp5_;
+#line 3830 "Plugins.c"
+ gchar* _tmp4_;
gchar* shared_ext = NULL;
#line 307 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = g_strdup (shared_ext_collection[shared_ext_it]);
+ _tmp4_ = g_strdup (shared_ext_collection[shared_ext_it]);
#line 307 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- shared_ext = _tmp5_;
-#line 3650 "Plugins.c"
+ shared_ext = _tmp4_;
+#line 3837 "Plugins.c"
{
+ const gchar* _tmp5_;
const gchar* _tmp6_;
- const gchar* _tmp7_;
#line 308 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = ext;
+ _tmp5_ = ext;
#line 308 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = shared_ext;
+ _tmp6_ = shared_ext;
#line 308 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (g_strcmp0 (_tmp6_, _tmp7_) == 0) {
+ if (g_strcmp0 (_tmp5_, _tmp6_) == 0) {
#line 309 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
result = TRUE;
#line 309 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -3667,11 +3854,11 @@ gboolean plugins_is_shared_library (GFile* file) {
_g_free0 (name);
#line 309 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3670 "Plugins.c"
+#line 3857 "Plugins.c"
}
#line 307 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_free0 (shared_ext);
-#line 3674 "Plugins.c"
+#line 3861 "Plugins.c"
}
}
}
@@ -3683,76 +3870,70 @@ gboolean plugins_is_shared_library (GFile* file) {
_g_free0 (name);
#line 312 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return result;
-#line 3686 "Plugins.c"
+#line 3873 "Plugins.c"
}
-void plugins_search_for_plugins (GFile* dir, GError** error) {
- GFile* _tmp0_;
+void
+plugins_search_for_plugins (GFile* dir,
+ GError** error)
+{
+ gchar* _tmp0_;
gchar* _tmp1_;
- gchar* _tmp2_;
GFileEnumerator* enumerator = NULL;
- GFile* _tmp3_;
- GFileEnumerator* _tmp4_;
+ GFileEnumerator* _tmp2_;
GError * _inner_error_ = NULL;
#line 315 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (G_IS_FILE (dir));
#line 316 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = dir;
-#line 316 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = g_file_get_path (_tmp0_);
+ _tmp0_ = g_file_get_path (dir);
#line 316 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = _tmp1_;
+ _tmp1_ = _tmp0_;
#line 316 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- g_debug ("Plugins.vala:316: Searching %s for plugins…", _tmp2_);
+ g_debug ("Plugins.vala:316: Searching %s for plugins…", _tmp1_);
#line 316 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp2_);
+ _g_free0 (_tmp1_);
#line 320 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = dir;
+ _tmp2_ = g_file_enumerate_children (dir, UTIL_FILE_ATTRIBUTES, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, NULL, &_inner_error_);
#line 320 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = g_file_enumerate_children (_tmp3_, UTIL_FILE_ATTRIBUTES, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, NULL, &_inner_error_);
-#line 320 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- enumerator = _tmp4_;
+ enumerator = _tmp2_;
#line 320 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 320 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_propagate_error (error, _inner_error_);
#line 320 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 3722 "Plugins.c"
+#line 3906 "Plugins.c"
}
{
- gboolean _tmp5_ = FALSE;
+ gboolean _tmp3_ = FALSE;
#line 322 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = TRUE;
+ _tmp3_ = TRUE;
#line 322 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
while (TRUE) {
-#line 3730 "Plugins.c"
+#line 3914 "Plugins.c"
GFileInfo* info = NULL;
- GFileEnumerator* _tmp6_;
+ GFileEnumerator* _tmp4_;
+ GFileInfo* _tmp5_;
+ GFileInfo* _tmp6_;
GFileInfo* _tmp7_;
- GFileInfo* _tmp8_;
- GFileInfo* _tmp9_;
- gboolean _tmp10_;
GFile* file = NULL;
- GFile* _tmp11_;
- GFileInfo* _tmp12_;
- const gchar* _tmp13_;
- GFile* _tmp14_;
- GFileInfo* _tmp15_;
- GFileType _tmp16_;
+ GFileInfo* _tmp8_;
+ const gchar* _tmp9_;
+ GFile* _tmp10_;
+ GFileInfo* _tmp11_;
#line 322 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (!_tmp5_) {
-#line 3746 "Plugins.c"
+ if (!_tmp3_) {
+#line 3927 "Plugins.c"
}
#line 322 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = FALSE;
+ _tmp3_ = FALSE;
#line 323 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = enumerator;
+ _tmp4_ = enumerator;
#line 323 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = g_file_enumerator_next_file (_tmp6_, NULL, &_inner_error_);
+ _tmp5_ = g_file_enumerator_next_file (_tmp4_, NULL, &_inner_error_);
#line 323 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- info = _tmp7_;
+ info = _tmp5_;
#line 323 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 323 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -3761,59 +3942,53 @@ void plugins_search_for_plugins (GFile* dir, GError** error) {
_g_object_unref0 (enumerator);
#line 323 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 3764 "Plugins.c"
+#line 3945 "Plugins.c"
}
#line 324 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = info;
+ _tmp6_ = info;
#line 324 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp8_ == NULL) {
+ if (_tmp6_ == NULL) {
#line 325 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (info);
#line 325 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
break;
-#line 3774 "Plugins.c"
+#line 3955 "Plugins.c"
}
#line 327 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp9_ = info;
-#line 327 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = g_file_info_get_is_hidden (_tmp9_);
+ _tmp7_ = info;
#line 327 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp10_) {
+ if (g_file_info_get_is_hidden (_tmp7_)) {
#line 328 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (info);
#line 328 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
continue;
-#line 3786 "Plugins.c"
+#line 3965 "Plugins.c"
}
#line 330 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = dir;
-#line 330 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp12_ = info;
+ _tmp8_ = info;
#line 330 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp13_ = g_file_info_get_name (_tmp12_);
+ _tmp9_ = g_file_info_get_name (_tmp8_);
#line 330 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14_ = g_file_get_child (_tmp11_, _tmp13_);
+ _tmp10_ = g_file_get_child (dir, _tmp9_);
#line 330 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- file = _tmp14_;
-#line 332 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = info;
+ file = _tmp10_;
#line 332 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp16_ = g_file_info_get_file_type (_tmp15_);
+ _tmp11_ = info;
#line 332 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- switch (_tmp16_) {
+ switch (g_file_info_get_file_type (_tmp11_)) {
#line 332 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
case G_FILE_TYPE_DIRECTORY:
-#line 3806 "Plugins.c"
+#line 3981 "Plugins.c"
{
{
- GFile* _tmp17_;
+ GFile* _tmp12_;
#line 335 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp17_ = file;
+ _tmp12_ = file;
#line 335 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_search_for_plugins (_tmp17_, &_inner_error_);
+ plugins_search_for_plugins (_tmp12_, &_inner_error_);
#line 335 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3816 "Plugins.c"
+#line 3991 "Plugins.c"
goto __catch40_g_error;
}
}
@@ -3821,32 +3996,32 @@ void plugins_search_for_plugins (GFile* dir, GError** error) {
__catch40_g_error:
{
GError* err = NULL;
- GFile* _tmp18_;
- gchar* _tmp19_;
- gchar* _tmp20_;
- GError* _tmp21_;
- const gchar* _tmp22_;
+ GFile* _tmp13_;
+ gchar* _tmp14_;
+ gchar* _tmp15_;
+ GError* _tmp16_;
+ const gchar* _tmp17_;
#line 334 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
err = _inner_error_;
#line 334 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_inner_error_ = NULL;
#line 337 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp18_ = file;
+ _tmp13_ = file;
#line 337 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp19_ = g_file_get_path (_tmp18_);
+ _tmp14_ = g_file_get_path (_tmp13_);
#line 337 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp20_ = _tmp19_;
+ _tmp15_ = _tmp14_;
#line 337 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp21_ = err;
+ _tmp16_ = err;
#line 337 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp22_ = _tmp21_->message;
+ _tmp17_ = _tmp16_->message;
#line 337 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- g_warning ("Plugins.vala:337: Unable to search directory %s for plugins: %s", _tmp20_, _tmp22_);
+ g_warning ("Plugins.vala:337: Unable to search directory %s for plugins: %s", _tmp15_, _tmp17_);
#line 337 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp20_);
+ _g_free0 (_tmp15_);
#line 334 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_error_free0 (err);
-#line 3849 "Plugins.c"
+#line 4024 "Plugins.c"
}
__finally40:
#line 334 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -3861,199 +4036,186 @@ void plugins_search_for_plugins (GFile* dir, GError** error) {
_g_object_unref0 (enumerator);
#line 334 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 3864 "Plugins.c"
+#line 4039 "Plugins.c"
}
#line 339 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
break;
-#line 3868 "Plugins.c"
+#line 4043 "Plugins.c"
}
#line 332 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
case G_FILE_TYPE_REGULAR:
-#line 3872 "Plugins.c"
+#line 4047 "Plugins.c"
{
- GFile* _tmp23_;
- gboolean _tmp24_;
+ GFile* _tmp18_;
#line 342 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp23_ = file;
+ _tmp18_ = file;
#line 342 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp24_ = plugins_is_shared_library (_tmp23_);
-#line 342 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp24_) {
-#line 3882 "Plugins.c"
- GFile* _tmp25_;
+ if (plugins_is_shared_library (_tmp18_)) {
+#line 4054 "Plugins.c"
+ GFile* _tmp19_;
#line 343 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp25_ = file;
+ _tmp19_ = file;
#line 343 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- plugins_load_module (_tmp25_);
-#line 3888 "Plugins.c"
+ plugins_load_module (_tmp19_);
+#line 4060 "Plugins.c"
}
#line 344 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
break;
-#line 3892 "Plugins.c"
+#line 4064 "Plugins.c"
}
default:
{
#line 348 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
break;
-#line 3898 "Plugins.c"
+#line 4070 "Plugins.c"
}
}
#line 322 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (file);
#line 322 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (info);
-#line 3905 "Plugins.c"
+#line 4077 "Plugins.c"
}
}
#line 315 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (enumerator);
-#line 3910 "Plugins.c"
+#line 4082 "Plugins.c"
}
-void plugins_load_module (GFile* file) {
+void
+plugins_load_module (GFile* file)
+{
PluginsModuleRep* module_rep = NULL;
- GFile* _tmp0_;
+ PluginsModuleRep* _tmp0_;
PluginsModuleRep* _tmp1_;
- PluginsModuleRep* _tmp2_;
void* entry = NULL;
- PluginsModuleRep* _tmp7_;
- GModule* _tmp8_;
- void* _tmp9_ = NULL;
- gboolean _tmp10_;
+ PluginsModuleRep* _tmp5_;
+ GModule* _tmp6_;
+ void* _tmp7_ = NULL;
+ gboolean _tmp8_;
SpitEntryPoint spit_entry_point = NULL;
- void* _tmp14_;
- gboolean _tmp15_ = FALSE;
+ void* _tmp11_;
+ gboolean _tmp12_ = FALSE;
SpitEntryPointParams params = {0};
- GFile* _tmp16_;
- GFile* _tmp17_;
- PluginsModuleRep* _tmp18_;
- SpitEntryPoint _tmp19_;
- SpitModule* _tmp20_;
- SpitEntryPointParams _tmp21_;
- gint _tmp22_;
- gboolean _tmp26_ = FALSE;
- SpitEntryPointParams _tmp27_;
- gint _tmp28_;
+ GFile* _tmp13_;
+ PluginsModuleRep* _tmp14_;
+ SpitEntryPoint _tmp15_;
+ SpitModule* _tmp16_;
+ SpitEntryPointParams _tmp17_;
+ gint _tmp18_;
+ gboolean _tmp21_ = FALSE;
+ SpitEntryPointParams _tmp22_;
+ gint _tmp23_;
+ PluginsModuleRep* _tmp30_;
+ SpitEntryPointParams _tmp31_;
+ gint _tmp32_;
+ PluginsModuleRep* _tmp33_;
+ SpitModule* _tmp34_;
PluginsModuleRep* _tmp36_;
- SpitEntryPointParams _tmp37_;
- gint _tmp38_;
- PluginsModuleRep* _tmp39_;
- SpitModule* _tmp40_;
+ SpitModule* _tmp37_;
PluginsModuleRep* _tmp42_;
- SpitModule* _tmp43_;
- PluginsModuleRep* _tmp49_;
- PluginsModuleRep* _tmp50_;
- SpitModule* _tmp51_;
- const gchar* _tmp52_;
- gchar* _tmp53_;
+ PluginsModuleRep* _tmp43_;
+ SpitModule* _tmp44_;
+ const gchar* _tmp45_;
+ gchar* _tmp46_;
+ PluginsModuleRep* _tmp47_;
+ const gchar* _tmp48_;
+ GeeHashMap* _tmp53_;
PluginsModuleRep* _tmp54_;
const gchar* _tmp55_;
- GeeHashMap* _tmp61_;
PluginsModuleRep* _tmp62_;
- const gchar* _tmp63_;
- gboolean _tmp64_;
- PluginsModuleRep* _tmp72_;
- SpitModule* _tmp73_;
+ SpitModule* _tmp63_;
+ const gchar* _tmp64_;
+ PluginsModuleRep* _tmp65_;
+ SpitModule* _tmp66_;
+ const gchar* _tmp67_;
+ PluginsModuleRep* _tmp68_;
+ const gchar* _tmp69_;
+ gchar* _tmp70_;
+ gchar* _tmp71_;
+ GeeHashMap* _tmp72_;
+ PluginsModuleRep* _tmp73_;
const gchar* _tmp74_;
PluginsModuleRep* _tmp75_;
- SpitModule* _tmp76_;
- const gchar* _tmp77_;
- PluginsModuleRep* _tmp78_;
- const gchar* _tmp79_;
- GFile* _tmp80_;
- gchar* _tmp81_;
- gchar* _tmp82_;
- GeeHashMap* _tmp83_;
- PluginsModuleRep* _tmp84_;
- const gchar* _tmp85_;
- PluginsModuleRep* _tmp86_;
- PluginsModuleRep* _tmp87_;
- SpitModule* _tmp88_;
- gint _tmp89_;
- SpitPluggable** _tmp90_;
+ PluginsModuleRep* _tmp76_;
+ SpitModule* _tmp77_;
+ gint _tmp78_;
+ SpitPluggable** _tmp79_;
#line 353 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_return_if_fail (G_IS_FILE (file));
#line 354 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp0_ = file;
-#line 354 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp1_ = plugins_module_rep_open (_tmp0_);
+ _tmp0_ = plugins_module_rep_open (file);
#line 354 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- module_rep = _tmp1_;
+ module_rep = _tmp0_;
#line 355 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp2_ = module_rep;
+ _tmp1_ = module_rep;
#line 355 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp2_ == NULL) {
-#line 3987 "Plugins.c"
- GFile* _tmp3_;
- gchar* _tmp4_;
- gchar* _tmp5_;
- const gchar* _tmp6_;
+ if (_tmp1_ == NULL) {
+#line 4155 "Plugins.c"
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ const gchar* _tmp4_;
#line 356 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp3_ = file;
+ _tmp2_ = g_file_get_path (file);
#line 356 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp4_ = g_file_get_path (_tmp3_);
-#line 356 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp5_ = _tmp4_;
+ _tmp3_ = _tmp2_;
#line 356 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp6_ = g_module_error ();
+ _tmp4_ = g_module_error ();
#line 356 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- g_critical ("Plugins.vala:356: Unable to load module %s: %s", _tmp5_, _tmp6_);
+ g_critical ("Plugins.vala:356: Unable to load module %s: %s", _tmp3_, _tmp4_);
#line 356 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp5_);
+ _g_free0 (_tmp3_);
#line 358 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
#line 358 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 4008 "Plugins.c"
+#line 4173 "Plugins.c"
}
#line 363 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp7_ = module_rep;
+ _tmp5_ = module_rep;
#line 363 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp8_ = _tmp7_->module;
+ _tmp6_ = _tmp5_->module;
#line 363 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp10_ = g_module_symbol (_tmp8_, SPIT_ENTRY_POINT_NAME, &_tmp9_);
+ _tmp8_ = g_module_symbol (_tmp6_, SPIT_ENTRY_POINT_NAME, &_tmp7_);
#line 363 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- entry = _tmp9_;
+ entry = _tmp7_;
#line 363 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (!_tmp10_) {
-#line 4020 "Plugins.c"
- GFile* _tmp11_;
- gchar* _tmp12_;
- gchar* _tmp13_;
+ if (!_tmp8_) {
+#line 4185 "Plugins.c"
+ gchar* _tmp9_;
+ gchar* _tmp10_;
#line 364 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp11_ = file;
+ _tmp9_ = g_file_get_path (file);
#line 364 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp12_ = g_file_get_path (_tmp11_);
-#line 364 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp13_ = _tmp12_;
+ _tmp10_ = _tmp9_;
#line 364 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_critical ("Plugins.vala:364: Unable to load module %s: well-known entry point %s " \
-"not found", _tmp13_, SPIT_ENTRY_POINT_NAME);
+"not found", _tmp10_, SPIT_ENTRY_POINT_NAME);
#line 364 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp13_);
+ _g_free0 (_tmp10_);
#line 367 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
#line 367 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 4038 "Plugins.c"
+#line 4200 "Plugins.c"
}
#line 370 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp14_ = entry;
+ _tmp11_ = entry;
#line 370 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- spit_entry_point = (SpitEntryPoint) _tmp14_;
+ spit_entry_point = (SpitEntryPoint) _tmp11_;
#line 372 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
if (PLUGINS_MIN_SPIT_INTERFACE <= SPIT_CURRENT_INTERFACE) {
#line 372 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = SPIT_CURRENT_INTERFACE <= PLUGINS_MAX_SPIT_INTERFACE;
-#line 4048 "Plugins.c"
+ _tmp12_ = SPIT_CURRENT_INTERFACE <= PLUGINS_MAX_SPIT_INTERFACE;
+#line 4210 "Plugins.c"
} else {
#line 372 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp15_ = FALSE;
-#line 4052 "Plugins.c"
+ _tmp12_ = FALSE;
+#line 4214 "Plugins.c"
}
#line 372 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _vala_assert (_tmp15_, "MIN_SPIT_INTERFACE <= Spit.CURRENT_INTERFACE && Spit.CURRENT_INTERFACE <= MAX_SPIT_INTERFACE");
+ _vala_assert (_tmp12_, "MIN_SPIT_INTERFACE <= Spit.CURRENT_INTERFACE && Spit.CURRENT_INTERFACE <= MAX_SPIT_INTERFACE");
#line 373 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
memset (&params, 0, sizeof (SpitEntryPointParams));
#line 374 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
@@ -4063,344 +4225,323 @@ void plugins_load_module (GFile* file) {
#line 376 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
params.module_spit_interface = SPIT_UNSUPPORTED_INTERFACE;
#line 377 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp16_ = file;
-#line 377 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp17_ = _g_object_ref0 (_tmp16_);
+ _tmp13_ = _g_object_ref0 (file);
#line 377 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (params.module_file);
#line 377 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- params.module_file = _tmp17_;
+ params.module_file = _tmp13_;
#line 379 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp18_ = module_rep;
+ _tmp14_ = module_rep;
#line 379 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp19_ = spit_entry_point;
+ _tmp15_ = spit_entry_point;
#line 379 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp20_ = _tmp19_ (&params);
+ _tmp16_ = _tmp15_ (&params);
#line 379 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_object_unref0 (_tmp18_->spit_module);
+ _g_object_unref0 (_tmp14_->spit_module);
#line 379 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp18_->spit_module = _tmp20_;
+ _tmp14_->spit_module = _tmp16_;
#line 380 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp21_ = params;
+ _tmp17_ = params;
#line 380 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp22_ = _tmp21_.module_spit_interface;
+ _tmp18_ = _tmp17_.module_spit_interface;
#line 380 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp22_ == SPIT_UNSUPPORTED_INTERFACE) {
-#line 4088 "Plugins.c"
- GFile* _tmp23_;
- gchar* _tmp24_;
- gchar* _tmp25_;
-#line 381 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp23_ = file;
+ if (_tmp18_ == SPIT_UNSUPPORTED_INTERFACE) {
+#line 4248 "Plugins.c"
+ gchar* _tmp19_;
+ gchar* _tmp20_;
#line 381 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp24_ = g_file_get_path (_tmp23_);
+ _tmp19_ = g_file_get_path (file);
#line 381 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp25_ = _tmp24_;
+ _tmp20_ = _tmp19_;
#line 381 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_critical ("Plugins.vala:381: Unable to load module %s: module reports no support " \
-"for SPIT interfaces %d to %d", _tmp25_, PLUGINS_MIN_SPIT_INTERFACE, PLUGINS_MAX_SPIT_INTERFACE);
+"for SPIT interfaces %d to %d", _tmp20_, PLUGINS_MIN_SPIT_INTERFACE, PLUGINS_MAX_SPIT_INTERFACE);
#line 381 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp25_);
+ _g_free0 (_tmp20_);
#line 384 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
spit_entry_point_params_destroy (&params);
#line 384 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
#line 384 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 4108 "Plugins.c"
+#line 4265 "Plugins.c"
}
#line 387 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp27_ = params;
+ _tmp22_ = params;
#line 387 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp28_ = _tmp27_.module_spit_interface;
+ _tmp23_ = _tmp22_.module_spit_interface;
#line 387 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp28_ < PLUGINS_MIN_SPIT_INTERFACE) {
+ if (_tmp23_ < PLUGINS_MIN_SPIT_INTERFACE) {
#line 387 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp26_ = TRUE;
-#line 4118 "Plugins.c"
+ _tmp21_ = TRUE;
+#line 4275 "Plugins.c"
} else {
- SpitEntryPointParams _tmp29_;
- gint _tmp30_;
+ SpitEntryPointParams _tmp24_;
+ gint _tmp25_;
#line 387 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp29_ = params;
+ _tmp24_ = params;
#line 387 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp30_ = _tmp29_.module_spit_interface;
+ _tmp25_ = _tmp24_.module_spit_interface;
#line 387 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp26_ = _tmp30_ > PLUGINS_MAX_SPIT_INTERFACE;
-#line 4128 "Plugins.c"
+ _tmp21_ = _tmp25_ > PLUGINS_MAX_SPIT_INTERFACE;
+#line 4285 "Plugins.c"
}
#line 387 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp26_) {
-#line 4132 "Plugins.c"
- GFile* _tmp31_;
- gchar* _tmp32_;
- gchar* _tmp33_;
- PluginsModuleRep* _tmp34_;
- gint _tmp35_;
-#line 388 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp31_ = file;
+ if (_tmp21_) {
+#line 4289 "Plugins.c"
+ gchar* _tmp26_;
+ gchar* _tmp27_;
+ PluginsModuleRep* _tmp28_;
+ gint _tmp29_;
#line 388 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp32_ = g_file_get_path (_tmp31_);
+ _tmp26_ = g_file_get_path (file);
#line 388 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp33_ = _tmp32_;
+ _tmp27_ = _tmp26_;
#line 388 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp34_ = module_rep;
+ _tmp28_ = module_rep;
#line 388 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp35_ = _tmp34_->spit_interface;
+ _tmp29_ = _tmp28_->spit_interface;
#line 388 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_critical ("Plugins.vala:388: Unable to load module %s: module reports unsupported" \
-" SPIT version %d (out of range %d to %d)", _tmp33_, _tmp35_, PLUGINS_MIN_SPIT_INTERFACE, PLUGINS_MAX_SPIT_INTERFACE);
+" SPIT version %d (out of range %d to %d)", _tmp27_, _tmp29_, PLUGINS_MIN_SPIT_INTERFACE, PLUGINS_MAX_SPIT_INTERFACE);
#line 388 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp33_);
+ _g_free0 (_tmp27_);
#line 391 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
spit_entry_point_params_destroy (&params);
#line 391 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
#line 391 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 4158 "Plugins.c"
+#line 4312 "Plugins.c"
}
#line 394 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp36_ = module_rep;
+ _tmp30_ = module_rep;
#line 394 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp37_ = params;
+ _tmp31_ = params;
#line 394 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp38_ = _tmp37_.module_spit_interface;
+ _tmp32_ = _tmp31_.module_spit_interface;
#line 394 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp36_->spit_interface = _tmp38_;
+ _tmp30_->spit_interface = _tmp32_;
#line 397 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp39_ = module_rep;
+ _tmp33_ = module_rep;
#line 397 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp40_ = _tmp39_->spit_module;
+ _tmp34_ = _tmp33_->spit_module;
#line 397 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp40_, SPIT_TYPE_MODULE)) {
-#line 4174 "Plugins.c"
- PluginsModuleRep* _tmp41_;
+ if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp34_, SPIT_TYPE_MODULE)) {
+#line 4328 "Plugins.c"
+ PluginsModuleRep* _tmp35_;
#line 398 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp41_ = module_rep;
+ _tmp35_ = module_rep;
#line 398 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_object_unref0 (_tmp41_->spit_module);
+ _g_object_unref0 (_tmp35_->spit_module);
#line 398 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp41_->spit_module = NULL;
-#line 4182 "Plugins.c"
+ _tmp35_->spit_module = NULL;
+#line 4336 "Plugins.c"
}
#line 400 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp42_ = module_rep;
+ _tmp36_ = module_rep;
#line 400 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp43_ = _tmp42_->spit_module;
+ _tmp37_ = _tmp36_->spit_module;
#line 400 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp43_ == NULL) {
-#line 4190 "Plugins.c"
- GFile* _tmp44_;
- gchar* _tmp45_;
- gchar* _tmp46_;
- PluginsModuleRep* _tmp47_;
- gint _tmp48_;
+ if (_tmp37_ == NULL) {
+#line 4344 "Plugins.c"
+ gchar* _tmp38_;
+ gchar* _tmp39_;
+ PluginsModuleRep* _tmp40_;
+ gint _tmp41_;
#line 401 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp44_ = file;
+ _tmp38_ = g_file_get_path (file);
#line 401 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp45_ = g_file_get_path (_tmp44_);
+ _tmp39_ = _tmp38_;
#line 401 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp46_ = _tmp45_;
+ _tmp40_ = module_rep;
#line 401 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp47_ = module_rep;
-#line 401 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp48_ = _tmp47_->spit_interface;
+ _tmp41_ = _tmp40_->spit_interface;
#line 401 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_critical ("Plugins.vala:401: Unable to load module %s (SPIT %d): no spit module r" \
-"eturned", _tmp46_, _tmp48_);
+"eturned", _tmp39_, _tmp41_);
#line 401 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp46_);
+ _g_free0 (_tmp39_);
#line 404 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
spit_entry_point_params_destroy (&params);
#line 404 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
#line 404 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 4216 "Plugins.c"
+#line 4367 "Plugins.c"
}
#line 409 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp49_ = module_rep;
+ _tmp42_ = module_rep;
#line 409 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp50_ = module_rep;
+ _tmp43_ = module_rep;
#line 409 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp51_ = _tmp50_->spit_module;
+ _tmp44_ = _tmp43_->spit_module;
#line 409 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp52_ = spit_module_get_id (_tmp51_);
+ _tmp45_ = spit_module_get_id (_tmp44_);
#line 409 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp53_ = prepare_input_text (_tmp52_, PREPARE_INPUT_TEXT_OPTIONS_DEFAULT, -1);
+ _tmp46_ = prepare_input_text (_tmp45_, PREPARE_INPUT_TEXT_OPTIONS_DEFAULT, -1);
#line 409 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp49_->id);
+ _g_free0 (_tmp42_->id);
#line 409 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp49_->id = _tmp53_;
+ _tmp42_->id = _tmp46_;
#line 410 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp54_ = module_rep;
+ _tmp47_ = module_rep;
#line 410 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp55_ = _tmp54_->id;
+ _tmp48_ = _tmp47_->id;
#line 410 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp55_ == NULL) {
-#line 4238 "Plugins.c"
- GFile* _tmp56_;
- gchar* _tmp57_;
- gchar* _tmp58_;
- PluginsModuleRep* _tmp59_;
- gint _tmp60_;
+ if (_tmp48_ == NULL) {
+#line 4389 "Plugins.c"
+ gchar* _tmp49_;
+ gchar* _tmp50_;
+ PluginsModuleRep* _tmp51_;
+ gint _tmp52_;
#line 411 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp56_ = file;
+ _tmp49_ = g_file_get_path (file);
#line 411 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp57_ = g_file_get_path (_tmp56_);
+ _tmp50_ = _tmp49_;
#line 411 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp58_ = _tmp57_;
+ _tmp51_ = module_rep;
#line 411 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp59_ = module_rep;
-#line 411 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp60_ = _tmp59_->spit_interface;
+ _tmp52_ = _tmp51_->spit_interface;
#line 411 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_critical ("Plugins.vala:411: Unable to load module %s (SPIT %d): invalid or empty" \
-" module name", _tmp58_, _tmp60_);
+" module name", _tmp50_, _tmp52_);
#line 411 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp58_);
+ _g_free0 (_tmp50_);
#line 414 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
spit_entry_point_params_destroy (&params);
#line 414 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
#line 414 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 4264 "Plugins.c"
+#line 4412 "Plugins.c"
}
#line 417 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp61_ = plugins_module_table;
-#line 417 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp62_ = module_rep;
+ _tmp53_ = plugins_module_table;
#line 417 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp63_ = _tmp62_->id;
+ _tmp54_ = module_rep;
#line 417 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp64_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp63_);
+ _tmp55_ = _tmp54_->id;
#line 417 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- if (_tmp64_) {
-#line 4276 "Plugins.c"
- GFile* _tmp65_;
- gchar* _tmp66_;
- gchar* _tmp67_;
- PluginsModuleRep* _tmp68_;
- gint _tmp69_;
- PluginsModuleRep* _tmp70_;
- const gchar* _tmp71_;
-#line 418 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp65_ = file;
+ if (gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp55_)) {
+#line 4422 "Plugins.c"
+ gchar* _tmp56_;
+ gchar* _tmp57_;
+ PluginsModuleRep* _tmp58_;
+ gint _tmp59_;
+ PluginsModuleRep* _tmp60_;
+ const gchar* _tmp61_;
#line 418 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp66_ = g_file_get_path (_tmp65_);
+ _tmp56_ = g_file_get_path (file);
#line 418 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp67_ = _tmp66_;
+ _tmp57_ = _tmp56_;
#line 418 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp68_ = module_rep;
+ _tmp58_ = module_rep;
#line 418 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp69_ = _tmp68_->spit_interface;
+ _tmp59_ = _tmp58_->spit_interface;
#line 418 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp70_ = module_rep;
+ _tmp60_ = module_rep;
#line 418 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp71_ = _tmp70_->id;
+ _tmp61_ = _tmp60_->id;
#line 418 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
g_critical ("Plugins.vala:418: Not loading module %s (SPIT %d): module with name \"" \
-"%s\" already loaded", _tmp67_, _tmp69_, _tmp71_);
+"%s\" already loaded", _tmp57_, _tmp59_, _tmp61_);
#line 418 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp67_);
+ _g_free0 (_tmp57_);
#line 421 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
spit_entry_point_params_destroy (&params);
#line 421 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
#line 421 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
return;
-#line 4308 "Plugins.c"
+#line 4451 "Plugins.c"
}
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp72_ = module_rep;
+ _tmp62_ = module_rep;
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp73_ = _tmp72_->spit_module;
+ _tmp63_ = _tmp62_->spit_module;
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp74_ = spit_module_get_module_name (_tmp73_);
+ _tmp64_ = spit_module_get_module_name (_tmp63_);
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp75_ = module_rep;
+ _tmp65_ = module_rep;
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp76_ = _tmp75_->spit_module;
+ _tmp66_ = _tmp65_->spit_module;
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp77_ = spit_module_get_version (_tmp76_);
+ _tmp67_ = spit_module_get_version (_tmp66_);
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp78_ = module_rep;
+ _tmp68_ = module_rep;
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp79_ = _tmp78_->id;
+ _tmp69_ = _tmp68_->id;
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp80_ = file;
+ _tmp70_ = g_file_get_path (file);
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp81_ = g_file_get_path (_tmp80_);
+ _tmp71_ = _tmp70_;
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp82_ = _tmp81_;
+ g_debug ("Plugins.vala:424: Loaded SPIT module \"%s %s\" (%s) [%s]", _tmp64_, _tmp67_, _tmp69_, _tmp71_);
#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- g_debug ("Plugins.vala:424: Loaded SPIT module \"%s %s\" (%s) [%s]", _tmp74_, _tmp77_, _tmp79_, _tmp82_);
-#line 424 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _g_free0 (_tmp82_);
+ _g_free0 (_tmp71_);
#line 428 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp83_ = plugins_module_table;
+ _tmp72_ = plugins_module_table;
#line 428 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp84_ = module_rep;
+ _tmp73_ = module_rep;
#line 428 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp85_ = _tmp84_->id;
+ _tmp74_ = _tmp73_->id;
#line 428 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp86_ = module_rep;
+ _tmp75_ = module_rep;
#line 428 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp85_, _tmp86_);
+ gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp74_, _tmp75_);
#line 431 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp87_ = module_rep;
+ _tmp76_ = module_rep;
#line 431 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp88_ = _tmp87_->spit_module;
+ _tmp77_ = _tmp76_->spit_module;
#line 431 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp90_ = spit_module_get_pluggables (_tmp88_, &_tmp89_);
-#line 4352 "Plugins.c"
+ _tmp79_ = spit_module_get_pluggables (_tmp77_, &_tmp78_);
+#line 4493 "Plugins.c"
{
SpitPluggable** pluggable_collection = NULL;
gint pluggable_collection_length1 = 0;
gint _pluggable_collection_size_ = 0;
gint pluggable_it = 0;
#line 431 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_collection = _tmp90_;
+ pluggable_collection = _tmp79_;
#line 431 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable_collection_length1 = _tmp89_;
+ pluggable_collection_length1 = _tmp78_;
#line 431 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- for (pluggable_it = 0; pluggable_it < _tmp89_; pluggable_it = pluggable_it + 1) {
-#line 4364 "Plugins.c"
- SpitPluggable* _tmp91_;
+ for (pluggable_it = 0; pluggable_it < _tmp78_; pluggable_it = pluggable_it + 1) {
+#line 4505 "Plugins.c"
+ SpitPluggable* _tmp80_;
SpitPluggable* pluggable = NULL;
#line 431 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp91_ = _g_object_ref0 (pluggable_collection[pluggable_it]);
+ _tmp80_ = _g_object_ref0 (pluggable_collection[pluggable_it]);
#line 431 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- pluggable = _tmp91_;
-#line 4371 "Plugins.c"
+ pluggable = _tmp80_;
+#line 4512 "Plugins.c"
{
- GeeHashMap* _tmp92_;
- SpitPluggable* _tmp93_;
- const gchar* _tmp94_;
- SpitPluggable* _tmp95_;
- PluginsPluggableRep* _tmp96_;
- PluginsPluggableRep* _tmp97_;
+ GeeHashMap* _tmp81_;
+ SpitPluggable* _tmp82_;
+ const gchar* _tmp83_;
+ SpitPluggable* _tmp84_;
+ PluginsPluggableRep* _tmp85_;
+ PluginsPluggableRep* _tmp86_;
#line 432 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp92_ = plugins_pluggable_table;
+ _tmp81_ = plugins_pluggable_table;
#line 432 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp93_ = pluggable;
+ _tmp82_ = pluggable;
#line 432 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp94_ = spit_pluggable_get_id (_tmp93_);
+ _tmp83_ = spit_pluggable_get_id (_tmp82_);
#line 432 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp95_ = pluggable;
+ _tmp84_ = pluggable;
#line 432 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp96_ = plugins_pluggable_rep_new (_tmp95_);
+ _tmp85_ = plugins_pluggable_rep_new (_tmp84_);
#line 432 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _tmp97_ = _tmp96_;
+ _tmp86_ = _tmp85_;
#line 432 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp92_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp94_, _tmp97_);
+ gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp81_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp83_, _tmp86_);
#line 432 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
- _plugins_pluggable_rep_unref0 (_tmp97_);
+ _plugins_pluggable_rep_unref0 (_tmp86_);
#line 431 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_g_object_unref0 (pluggable);
-#line 4397 "Plugins.c"
+#line 4538 "Plugins.c"
}
}
}
@@ -4408,11 +4549,15 @@ void plugins_load_module (GFile* file) {
spit_entry_point_params_destroy (&params);
#line 353 "/home/jens/Source/shotwell/src/plugins/Plugins.vala"
_plugins_module_rep_unref0 (module_rep);
-#line 4405 "Plugins.c"
+#line 4546 "Plugins.c"
}
-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) {
@@ -4424,7 +4569,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);
}
diff --git a/src/plugins/PublishingInterfaces.c b/src/plugins/PublishingInterfaces.c
index 745d106..54059fb 100644
--- a/src/plugins/PublishingInterfaces.c
+++ b/src/plugins/PublishingInterfaces.c
@@ -1,4 +1,4 @@
-/* PublishingInterfaces.c generated by valac 0.36.6, the Vala compiler
+/* PublishingInterfaces.c generated by valac 0.40.4, the Vala compiler
* generated from PublishingInterfaces.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>
@@ -94,9 +95,9 @@ typedef struct _SpitPublishingAuthenticatorIface SpitPublishingAuthenticatorIfac
enum {
SPIT_PUBLISHING_AUTHENTICATOR_AUTHENTICATED_SIGNAL,
SPIT_PUBLISHING_AUTHENTICATOR_AUTHENTICATION_FAILED_SIGNAL,
- SPIT_PUBLISHING_AUTHENTICATOR_LAST_SIGNAL
+ SPIT_PUBLISHING_AUTHENTICATOR_NUM_SIGNALS
};
-static guint spit_publishing_authenticator_signals[SPIT_PUBLISHING_AUTHENTICATOR_LAST_SIGNAL] = {0};
+static guint spit_publishing_authenticator_signals[SPIT_PUBLISHING_AUTHENTICATOR_NUM_SIGNALS] = {0};
#define SPIT_PUBLISHING_TYPE_AUTHENTICATOR_FACTORY (spit_publishing_authenticator_factory_get_type ())
#define SPIT_PUBLISHING_AUTHENTICATOR_FACTORY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_PUBLISHING_TYPE_AUTHENTICATOR_FACTORY, SpitPublishingAuthenticatorFactory))
@@ -306,7 +307,8 @@ GQuark spit_publishing_publishing_error_quark (void);
GType spit_pluggable_info_get_type (void) G_GNUC_CONST;
SpitPluggableInfo* spit_pluggable_info_dup (const SpitPluggableInfo* self);
void spit_pluggable_info_free (SpitPluggableInfo* self);
-void spit_pluggable_info_copy (const SpitPluggableInfo* self, SpitPluggableInfo* dest);
+void spit_pluggable_info_copy (const SpitPluggableInfo* self,
+ SpitPluggableInfo* dest);
void spit_pluggable_info_destroy (SpitPluggableInfo* self);
GType spit_pluggable_get_type (void) G_GNUC_CONST;
GType spit_host_interface_get_type (void) G_GNUC_CONST;
@@ -358,20 +360,37 @@ void spit_publishing_dialog_pane_reserved6 (SpitPublishingDialogPane* self);
static void spit_publishing_dialog_pane_real_reserved6 (SpitPublishingDialogPane* self);
void spit_publishing_dialog_pane_reserved7 (SpitPublishingDialogPane* self);
static void spit_publishing_dialog_pane_real_reserved7 (SpitPublishingDialogPane* self);
-void spit_publishing_plugin_host_post_error (SpitPublishingPluginHost* self, GError* err);
+void spit_publishing_plugin_host_post_error (SpitPublishingPluginHost* self,
+ GError* err);
void spit_publishing_plugin_host_stop_publishing (SpitPublishingPluginHost* self);
SpitPublishingPublisher* spit_publishing_plugin_host_get_publisher (SpitPublishingPluginHost* self);
-void spit_publishing_plugin_host_install_dialog_pane (SpitPublishingPluginHost* self, SpitPublishingDialogPane* pane, SpitPublishingPluginHostButtonMode mode);
-void spit_publishing_plugin_host_install_static_message_pane (SpitPublishingPluginHost* self, const gchar* message, SpitPublishingPluginHostButtonMode mode);
-void spit_publishing_plugin_host_install_pango_message_pane (SpitPublishingPluginHost* self, const gchar* markup, SpitPublishingPluginHostButtonMode mode);
+void spit_publishing_plugin_host_install_dialog_pane (SpitPublishingPluginHost* self,
+ SpitPublishingDialogPane* pane,
+ SpitPublishingPluginHostButtonMode mode);
+void spit_publishing_plugin_host_install_static_message_pane (SpitPublishingPluginHost* self,
+ const gchar* message,
+ SpitPublishingPluginHostButtonMode mode);
+void spit_publishing_plugin_host_install_pango_message_pane (SpitPublishingPluginHost* self,
+ const gchar* markup,
+ SpitPublishingPluginHostButtonMode mode);
void spit_publishing_plugin_host_install_success_pane (SpitPublishingPluginHost* self);
void spit_publishing_plugin_host_install_account_fetch_wait_pane (SpitPublishingPluginHost* self);
void spit_publishing_plugin_host_install_login_wait_pane (SpitPublishingPluginHost* self);
-void spit_publishing_plugin_host_install_welcome_pane (SpitPublishingPluginHost* self, const gchar* welcome_message, SpitPublishingLoginCallback on_login_clicked, void* on_login_clicked_target);
-void spit_publishing_plugin_host_set_service_locked (SpitPublishingPluginHost* self, gboolean is_locked);
-void spit_publishing_plugin_host_set_dialog_default_widget (SpitPublishingPluginHost* self, GtkWidget* widget);
-SpitPublishingPublishable** spit_publishing_plugin_host_get_publishables (SpitPublishingPluginHost* self, int* result_length1);
-SpitPublishingProgressCallback spit_publishing_plugin_host_serialize_publishables (SpitPublishingPluginHost* self, gint content_major_axis, gboolean strip_metadata, void** result_target, GDestroyNotify* result_target_destroy_notify);
+void spit_publishing_plugin_host_install_welcome_pane (SpitPublishingPluginHost* self,
+ const gchar* welcome_message,
+ SpitPublishingLoginCallback on_login_clicked,
+ void* on_login_clicked_target);
+void spit_publishing_plugin_host_set_service_locked (SpitPublishingPluginHost* self,
+ gboolean is_locked);
+void spit_publishing_plugin_host_set_dialog_default_widget (SpitPublishingPluginHost* self,
+ GtkWidget* widget);
+SpitPublishingPublishable** spit_publishing_plugin_host_get_publishables (SpitPublishingPluginHost* self,
+ int* result_length1);
+SpitPublishingProgressCallback spit_publishing_plugin_host_serialize_publishables (SpitPublishingPluginHost* self,
+ gint content_major_axis,
+ gboolean strip_metadata,
+ void** result_target,
+ GDestroyNotify* result_target_destroy_notify);
SpitPublishingPublisherMediaType spit_publishing_plugin_host_get_publishable_media_type (SpitPublishingPluginHost* self);
void spit_publishing_plugin_host_reserved0 (SpitPublishingPluginHost* self);
static void spit_publishing_plugin_host_real_reserved0 (SpitPublishingPluginHost* self);
@@ -391,8 +410,10 @@ void spit_publishing_plugin_host_reserved7 (SpitPublishingPluginHost* self);
static void spit_publishing_plugin_host_real_reserved7 (SpitPublishingPluginHost* self);
GFile* spit_publishing_publishable_get_serialized_file (SpitPublishingPublishable* self);
gchar* spit_publishing_publishable_get_publishing_name (SpitPublishingPublishable* self);
-gchar* spit_publishing_publishable_get_param_string (SpitPublishingPublishable* self, const gchar* name);
-gchar** spit_publishing_publishable_get_publishing_keywords (SpitPublishingPublishable* self, int* result_length1);
+gchar* spit_publishing_publishable_get_param_string (SpitPublishingPublishable* self,
+ const gchar* name);
+gchar** spit_publishing_publishable_get_publishing_keywords (SpitPublishingPublishable* self,
+ int* result_length1);
SpitPublishingPublisherMediaType spit_publishing_publishable_get_media_type (SpitPublishingPublishable* self);
GDateTime* spit_publishing_publishable_get_exposure_date_time (SpitPublishingPublishable* self);
void spit_publishing_publishable_reserved0 (SpitPublishingPublishable* self);
@@ -415,7 +436,8 @@ static void spit_publishing_publishable_real_reserved7 (SpitPublishingPublishabl
#define SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_TITLE "title"
#define SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_COMMENT "comment"
#define SPIT_PUBLISHING_PUBLISHABLE_PARAM_STRING_EVENTCOMMENT "eventcomment"
-SpitPublishingPublisher* spit_publishing_service_create_publisher (SpitPublishingService* self, SpitPublishingPluginHost* host);
+SpitPublishingPublisher* spit_publishing_service_create_publisher (SpitPublishingService* self,
+ SpitPublishingPluginHost* host);
SpitPublishingPublisherMediaType spit_publishing_service_get_supported_media (SpitPublishingService* self);
void spit_publishing_service_reserved0 (SpitPublishingService* self);
static void spit_publishing_service_real_reserved0 (SpitPublishingService* self);
@@ -441,10 +463,14 @@ void spit_publishing_authenticator_refresh (SpitPublishingAuthenticator* self);
GHashTable* spit_publishing_authenticator_get_authentication_parameter (SpitPublishingAuthenticator* self);
GType spit_publishing_authenticator_factory_get_type (void) G_GNUC_CONST;
GeeList* spit_publishing_authenticator_factory_get_available_authenticators (SpitPublishingAuthenticatorFactory* self);
-SpitPublishingAuthenticator* spit_publishing_authenticator_factory_create (SpitPublishingAuthenticatorFactory* self, const gchar* provider, SpitPublishingPluginHost* host);
+SpitPublishingAuthenticator* spit_publishing_authenticator_factory_create (SpitPublishingAuthenticatorFactory* self,
+ const gchar* provider,
+ SpitPublishingPluginHost* host);
-GQuark spit_publishing_publishing_error_quark (void) {
+GQuark
+spit_publishing_publishing_error_quark (void)
+{
return g_quark_from_static_string ("spit_publishing_publishing_error-quark");
}
@@ -455,7 +481,9 @@ GQuark spit_publishing_publishing_error_quark (void) {
* Values can be masked together, for example: {{{(MediaType.PHOTO | MediaType.VIDEO)}}}
* indicates that a publishing service supports the upload of both photos and videos.
*/
-GType spit_publishing_publisher_media_type_get_type (void) {
+GType
+spit_publishing_publisher_media_type_get_type (void)
+{
static volatile gsize spit_publishing_publisher_media_type_type_id__volatile = 0;
if (g_once_init_enter (&spit_publishing_publisher_media_type_type_id__volatile)) {
static const GEnumValue values[] = {{SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_NONE, "SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_NONE", "none"}, {SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO, "SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_PHOTO", "photo"}, {SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO, "SPIT_PUBLISHING_PUBLISHER_MEDIA_TYPE_VIDEO", "video"}, {0, NULL, NULL}};
@@ -470,12 +498,14 @@ GType spit_publishing_publisher_media_type_get_type (void) {
/**
* Returns a {@link Service} object describing the service to which this connects.
*/
-SpitPublishingService* spit_publishing_publisher_get_service (SpitPublishingPublisher* self) {
+SpitPublishingService*
+spit_publishing_publisher_get_service (SpitPublishingPublisher* self)
+{
#line 121 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self), NULL);
#line 121 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->get_service (self);
-#line 479 "PublishingInterfaces.c"
+#line 509 "PublishingInterfaces.c"
}
@@ -485,24 +515,28 @@ SpitPublishingService* spit_publishing_publisher_get_service (SpitPublishingPubl
* this publisher can install user interface panes and query configuration information.
* Only running services should perform network operations.
*/
-void spit_publishing_publisher_start (SpitPublishingPublisher* self) {
+void
+spit_publishing_publisher_start (SpitPublishingPublisher* self)
+{
#line 129 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self));
#line 129 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->start (self);
-#line 494 "PublishingInterfaces.c"
+#line 526 "PublishingInterfaces.c"
}
/**
* Returns true if this publisher is in the running state; false otherwise.
*/
-gboolean spit_publishing_publisher_is_running (SpitPublishingPublisher* self) {
+gboolean
+spit_publishing_publisher_is_running (SpitPublishingPublisher* self)
+{
#line 134 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self), FALSE);
#line 134 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->is_running (self);
-#line 506 "PublishingInterfaces.c"
+#line 540 "PublishingInterfaces.c"
}
@@ -510,120 +544,156 @@ gboolean spit_publishing_publisher_is_running (SpitPublishingPublisher* self) {
* Causes this publisher to enter a non-running state. This publisher should stop all
* network operations and cease use of the shared services provided by the {@link PluginHost}.
*/
-void spit_publishing_publisher_stop (SpitPublishingPublisher* self) {
+void
+spit_publishing_publisher_stop (SpitPublishingPublisher* self)
+{
#line 140 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self));
#line 140 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->stop (self);
-#line 519 "PublishingInterfaces.c"
+#line 555 "PublishingInterfaces.c"
}
-static void spit_publishing_publisher_real_reserved0 (SpitPublishingPublisher* self) {
+static void
+spit_publishing_publisher_real_reserved0 (SpitPublishingPublisher* self)
+{
}
-void spit_publishing_publisher_reserved0 (SpitPublishingPublisher* self) {
+void
+spit_publishing_publisher_reserved0 (SpitPublishingPublisher* self)
+{
#line 145 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self));
#line 145 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved0 (self);
-#line 532 "PublishingInterfaces.c"
+#line 572 "PublishingInterfaces.c"
}
-static void spit_publishing_publisher_real_reserved1 (SpitPublishingPublisher* self) {
+static void
+spit_publishing_publisher_real_reserved1 (SpitPublishingPublisher* self)
+{
}
-void spit_publishing_publisher_reserved1 (SpitPublishingPublisher* self) {
+void
+spit_publishing_publisher_reserved1 (SpitPublishingPublisher* self)
+{
#line 146 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self));
#line 146 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved1 (self);
-#line 545 "PublishingInterfaces.c"
+#line 589 "PublishingInterfaces.c"
}
-static void spit_publishing_publisher_real_reserved2 (SpitPublishingPublisher* self) {
+static void
+spit_publishing_publisher_real_reserved2 (SpitPublishingPublisher* self)
+{
}
-void spit_publishing_publisher_reserved2 (SpitPublishingPublisher* self) {
+void
+spit_publishing_publisher_reserved2 (SpitPublishingPublisher* self)
+{
#line 147 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self));
#line 147 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved2 (self);
-#line 558 "PublishingInterfaces.c"
+#line 606 "PublishingInterfaces.c"
}
-static void spit_publishing_publisher_real_reserved3 (SpitPublishingPublisher* self) {
+static void
+spit_publishing_publisher_real_reserved3 (SpitPublishingPublisher* self)
+{
}
-void spit_publishing_publisher_reserved3 (SpitPublishingPublisher* self) {
+void
+spit_publishing_publisher_reserved3 (SpitPublishingPublisher* self)
+{
#line 148 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self));
#line 148 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved3 (self);
-#line 571 "PublishingInterfaces.c"
+#line 623 "PublishingInterfaces.c"
}
-static void spit_publishing_publisher_real_reserved4 (SpitPublishingPublisher* self) {
+static void
+spit_publishing_publisher_real_reserved4 (SpitPublishingPublisher* self)
+{
}
-void spit_publishing_publisher_reserved4 (SpitPublishingPublisher* self) {
+void
+spit_publishing_publisher_reserved4 (SpitPublishingPublisher* self)
+{
#line 149 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self));
#line 149 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved4 (self);
-#line 584 "PublishingInterfaces.c"
+#line 640 "PublishingInterfaces.c"
}
-static void spit_publishing_publisher_real_reserved5 (SpitPublishingPublisher* self) {
+static void
+spit_publishing_publisher_real_reserved5 (SpitPublishingPublisher* self)
+{
}
-void spit_publishing_publisher_reserved5 (SpitPublishingPublisher* self) {
+void
+spit_publishing_publisher_reserved5 (SpitPublishingPublisher* self)
+{
#line 150 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self));
#line 150 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved5 (self);
-#line 597 "PublishingInterfaces.c"
+#line 657 "PublishingInterfaces.c"
}
-static void spit_publishing_publisher_real_reserved6 (SpitPublishingPublisher* self) {
+static void
+spit_publishing_publisher_real_reserved6 (SpitPublishingPublisher* self)
+{
}
-void spit_publishing_publisher_reserved6 (SpitPublishingPublisher* self) {
+void
+spit_publishing_publisher_reserved6 (SpitPublishingPublisher* self)
+{
#line 151 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self));
#line 151 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved6 (self);
-#line 610 "PublishingInterfaces.c"
+#line 674 "PublishingInterfaces.c"
}
-static void spit_publishing_publisher_real_reserved7 (SpitPublishingPublisher* self) {
+static void
+spit_publishing_publisher_real_reserved7 (SpitPublishingPublisher* self)
+{
}
-void spit_publishing_publisher_reserved7 (SpitPublishingPublisher* self) {
+void
+spit_publishing_publisher_reserved7 (SpitPublishingPublisher* self)
+{
#line 152 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHER (self));
#line 152 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHER_GET_INTERFACE (self)->reserved7 (self);
-#line 623 "PublishingInterfaces.c"
+#line 691 "PublishingInterfaces.c"
}
-static void spit_publishing_publisher_base_init (SpitPublishingPublisherIface * iface) {
+static void
+spit_publishing_publisher_base_init (SpitPublishingPublisherIface * iface)
+{
#line 105 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
static gboolean initialized = FALSE;
#line 105 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
@@ -646,7 +716,7 @@ static void spit_publishing_publisher_base_init (SpitPublishingPublisherIface *
iface->reserved6 = spit_publishing_publisher_real_reserved6;
#line 105 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
iface->reserved7 = spit_publishing_publisher_real_reserved7;
-#line 650 "PublishingInterfaces.c"
+#line 720 "PublishingInterfaces.c"
}
}
@@ -661,7 +731,9 @@ static void spit_publishing_publisher_base_init (SpitPublishingPublisherIface *
* a non-running state and do not begin running until start( ) is invoked. Publishers
* run until stop( ) is invoked.
*/
-GType spit_publishing_publisher_get_type (void) {
+GType
+spit_publishing_publisher_get_type (void)
+{
static volatile gsize spit_publishing_publisher_type_id__volatile = 0;
if (g_once_init_enter (&spit_publishing_publisher_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingPublisherIface), (GBaseInitFunc) spit_publishing_publisher_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -678,7 +750,9 @@ GType spit_publishing_publisher_get_type (void) {
* Describes how the on-screen publishing dialog box should look and behave when an associated
* pane is installed in the on-screen publishing dialog box.
*/
-GType spit_publishing_dialog_pane_geometry_options_get_type (void) {
+GType
+spit_publishing_dialog_pane_geometry_options_get_type (void)
+{
static volatile gsize spit_publishing_dialog_pane_geometry_options_type_id__volatile = 0;
if (g_once_init_enter (&spit_publishing_dialog_pane_geometry_options_type_id__volatile)) {
static const GEnumValue values[] = {{SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE, "SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_NONE", "none"}, {SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE, "SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE", "extended-size"}, {SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE, "SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE", "resizable"}, {SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE, "SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE", "colossal-size"}, {0, NULL, NULL}};
@@ -693,12 +767,14 @@ GType spit_publishing_dialog_pane_geometry_options_get_type (void) {
/**
* Returns the Gtk.Widget that is this pane's on-screen representation.
*/
-GtkWidget* spit_publishing_dialog_pane_get_widget (SpitPublishingDialogPane* self) {
+GtkWidget*
+spit_publishing_dialog_pane_get_widget (SpitPublishingDialogPane* self)
+{
#line 197 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self), NULL);
#line 197 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->get_widget (self);
-#line 702 "PublishingInterfaces.c"
+#line 778 "PublishingInterfaces.c"
}
@@ -706,12 +782,14 @@ GtkWidget* spit_publishing_dialog_pane_get_widget (SpitPublishingDialogPane* sel
* Returns a {@link GeometryOptions} bitfield describing how the on-screen publishing dialog
* box should look and behave when this pane is installed.
*/
-SpitPublishingDialogPaneGeometryOptions spit_publishing_dialog_pane_get_preferred_geometry (SpitPublishingDialogPane* self) {
+SpitPublishingDialogPaneGeometryOptions
+spit_publishing_dialog_pane_get_preferred_geometry (SpitPublishingDialogPane* self)
+{
#line 203 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self), 0);
#line 203 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->get_preferred_geometry (self);
-#line 715 "PublishingInterfaces.c"
+#line 793 "PublishingInterfaces.c"
}
@@ -719,12 +797,14 @@ SpitPublishingDialogPaneGeometryOptions spit_publishing_dialog_pane_get_preferre
* Invoked automatically by Shotwell when this pane has been installed into the on-screen
* publishing dialog box and become visible to the user.
*/
-void spit_publishing_dialog_pane_on_pane_installed (SpitPublishingDialogPane* self) {
+void
+spit_publishing_dialog_pane_on_pane_installed (SpitPublishingDialogPane* self)
+{
#line 209 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self));
#line 209 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->on_pane_installed (self);
-#line 728 "PublishingInterfaces.c"
+#line 808 "PublishingInterfaces.c"
}
@@ -732,120 +812,156 @@ void spit_publishing_dialog_pane_on_pane_installed (SpitPublishingDialogPane* se
* Invoked automatically by Shotwell when this pane has been removed from the on-screen
* publishing dialog box and is no longer visible to the user.
*/
-void spit_publishing_dialog_pane_on_pane_uninstalled (SpitPublishingDialogPane* self) {
+void
+spit_publishing_dialog_pane_on_pane_uninstalled (SpitPublishingDialogPane* self)
+{
#line 215 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self));
#line 215 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->on_pane_uninstalled (self);
-#line 741 "PublishingInterfaces.c"
+#line 823 "PublishingInterfaces.c"
}
-static void spit_publishing_dialog_pane_real_reserved0 (SpitPublishingDialogPane* self) {
+static void
+spit_publishing_dialog_pane_real_reserved0 (SpitPublishingDialogPane* self)
+{
}
-void spit_publishing_dialog_pane_reserved0 (SpitPublishingDialogPane* self) {
+void
+spit_publishing_dialog_pane_reserved0 (SpitPublishingDialogPane* self)
+{
#line 220 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self));
#line 220 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved0 (self);
-#line 754 "PublishingInterfaces.c"
+#line 840 "PublishingInterfaces.c"
}
-static void spit_publishing_dialog_pane_real_reserved1 (SpitPublishingDialogPane* self) {
+static void
+spit_publishing_dialog_pane_real_reserved1 (SpitPublishingDialogPane* self)
+{
}
-void spit_publishing_dialog_pane_reserved1 (SpitPublishingDialogPane* self) {
+void
+spit_publishing_dialog_pane_reserved1 (SpitPublishingDialogPane* self)
+{
#line 221 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self));
#line 221 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved1 (self);
-#line 767 "PublishingInterfaces.c"
+#line 857 "PublishingInterfaces.c"
}
-static void spit_publishing_dialog_pane_real_reserved2 (SpitPublishingDialogPane* self) {
+static void
+spit_publishing_dialog_pane_real_reserved2 (SpitPublishingDialogPane* self)
+{
}
-void spit_publishing_dialog_pane_reserved2 (SpitPublishingDialogPane* self) {
+void
+spit_publishing_dialog_pane_reserved2 (SpitPublishingDialogPane* self)
+{
#line 222 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self));
#line 222 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved2 (self);
-#line 780 "PublishingInterfaces.c"
+#line 874 "PublishingInterfaces.c"
}
-static void spit_publishing_dialog_pane_real_reserved3 (SpitPublishingDialogPane* self) {
+static void
+spit_publishing_dialog_pane_real_reserved3 (SpitPublishingDialogPane* self)
+{
}
-void spit_publishing_dialog_pane_reserved3 (SpitPublishingDialogPane* self) {
+void
+spit_publishing_dialog_pane_reserved3 (SpitPublishingDialogPane* self)
+{
#line 223 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self));
#line 223 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved3 (self);
-#line 793 "PublishingInterfaces.c"
+#line 891 "PublishingInterfaces.c"
}
-static void spit_publishing_dialog_pane_real_reserved4 (SpitPublishingDialogPane* self) {
+static void
+spit_publishing_dialog_pane_real_reserved4 (SpitPublishingDialogPane* self)
+{
}
-void spit_publishing_dialog_pane_reserved4 (SpitPublishingDialogPane* self) {
+void
+spit_publishing_dialog_pane_reserved4 (SpitPublishingDialogPane* self)
+{
#line 224 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self));
#line 224 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved4 (self);
-#line 806 "PublishingInterfaces.c"
+#line 908 "PublishingInterfaces.c"
}
-static void spit_publishing_dialog_pane_real_reserved5 (SpitPublishingDialogPane* self) {
+static void
+spit_publishing_dialog_pane_real_reserved5 (SpitPublishingDialogPane* self)
+{
}
-void spit_publishing_dialog_pane_reserved5 (SpitPublishingDialogPane* self) {
+void
+spit_publishing_dialog_pane_reserved5 (SpitPublishingDialogPane* self)
+{
#line 225 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self));
#line 225 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved5 (self);
-#line 819 "PublishingInterfaces.c"
+#line 925 "PublishingInterfaces.c"
}
-static void spit_publishing_dialog_pane_real_reserved6 (SpitPublishingDialogPane* self) {
+static void
+spit_publishing_dialog_pane_real_reserved6 (SpitPublishingDialogPane* self)
+{
}
-void spit_publishing_dialog_pane_reserved6 (SpitPublishingDialogPane* self) {
+void
+spit_publishing_dialog_pane_reserved6 (SpitPublishingDialogPane* self)
+{
#line 226 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self));
#line 226 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved6 (self);
-#line 832 "PublishingInterfaces.c"
+#line 942 "PublishingInterfaces.c"
}
-static void spit_publishing_dialog_pane_real_reserved7 (SpitPublishingDialogPane* self) {
+static void
+spit_publishing_dialog_pane_real_reserved7 (SpitPublishingDialogPane* self)
+{
}
-void spit_publishing_dialog_pane_reserved7 (SpitPublishingDialogPane* self) {
+void
+spit_publishing_dialog_pane_reserved7 (SpitPublishingDialogPane* self)
+{
#line 227 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_DIALOG_PANE (self));
#line 227 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_DIALOG_PANE_GET_INTERFACE (self)->reserved7 (self);
-#line 845 "PublishingInterfaces.c"
+#line 959 "PublishingInterfaces.c"
}
-static void spit_publishing_dialog_pane_base_init (SpitPublishingDialogPaneIface * iface) {
+static void
+spit_publishing_dialog_pane_base_init (SpitPublishingDialogPaneIface * iface)
+{
#line 160 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
static gboolean initialized = FALSE;
#line 160 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
@@ -868,7 +984,7 @@ static void spit_publishing_dialog_pane_base_init (SpitPublishingDialogPaneIface
iface->reserved6 = spit_publishing_dialog_pane_real_reserved6;
#line 160 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
iface->reserved7 = spit_publishing_dialog_pane_real_reserved7;
-#line 872 "PublishingInterfaces.c"
+#line 988 "PublishingInterfaces.c"
}
}
@@ -878,7 +994,9 @@ static void spit_publishing_dialog_pane_base_init (SpitPublishingDialogPaneIface
* communicate status to and to get information from the user.
*
*/
-GType spit_publishing_dialog_pane_get_type (void) {
+GType
+spit_publishing_dialog_pane_get_type (void)
+{
static volatile gsize spit_publishing_dialog_pane_type_id__volatile = 0;
if (g_once_init_enter (&spit_publishing_dialog_pane_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingDialogPaneIface), (GBaseInitFunc) spit_publishing_dialog_pane_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -895,7 +1013,9 @@ GType spit_publishing_dialog_pane_get_type (void) {
* Specifies the label text on the push button control that appears in the
* lower-right-hand corner of the on-screen publishing dialog box.
*/
-GType spit_publishing_plugin_host_button_mode_get_type (void) {
+GType
+spit_publishing_plugin_host_button_mode_get_type (void)
+{
static volatile gsize spit_publishing_plugin_host_button_mode_type_id__volatile = 0;
if (g_once_init_enter (&spit_publishing_plugin_host_button_mode_type_id__volatile)) {
static const GEnumValue values[] = {{SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE, "SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CLOSE", "close"}, {SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL, "SPIT_PUBLISHING_PLUGIN_HOST_BUTTON_MODE_CANCEL", "cancel"}, {0, NULL, NULL}};
@@ -913,12 +1033,15 @@ GType spit_publishing_plugin_host_button_mode_get_type (void) {
*
* @param err An error object that describes the kind of error that occurred.
*/
-void spit_publishing_plugin_host_post_error (SpitPublishingPluginHost* self, GError* err) {
+void
+spit_publishing_plugin_host_post_error (SpitPublishingPluginHost* self,
+ GError* err)
+{
#line 277 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 277 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->post_error (self, err);
-#line 922 "PublishingInterfaces.c"
+#line 1045 "PublishingInterfaces.c"
}
@@ -928,24 +1051,28 @@ void spit_publishing_plugin_host_post_error (SpitPublishingPluginHost* self, GEr
* Calling this method stops all network activity and hides the on-screen publishing
* dialog box.
*/
-void spit_publishing_plugin_host_stop_publishing (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_stop_publishing (SpitPublishingPluginHost* self)
+{
#line 285 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 285 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->stop_publishing (self);
-#line 937 "PublishingInterfaces.c"
+#line 1062 "PublishingInterfaces.c"
}
/**
* Returns a reference to the {@link Publisher} object that this is currently hosting.
*/
-SpitPublishingPublisher* spit_publishing_plugin_host_get_publisher (SpitPublishingPluginHost* self) {
+SpitPublishingPublisher*
+spit_publishing_plugin_host_get_publisher (SpitPublishingPluginHost* self)
+{
#line 290 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self), NULL);
#line 290 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->get_publisher (self);
-#line 949 "PublishingInterfaces.c"
+#line 1076 "PublishingInterfaces.c"
}
@@ -967,12 +1094,16 @@ SpitPublishingPublisher* spit_publishing_plugin_host_get_publisher (SpitPublishi
* should be ButtonMode.CLOSE, because all cancellable publishing actions have already
* occurred.
*/
-void spit_publishing_plugin_host_install_dialog_pane (SpitPublishingPluginHost* self, SpitPublishingDialogPane* pane, SpitPublishingPluginHostButtonMode mode) {
+void
+spit_publishing_plugin_host_install_dialog_pane (SpitPublishingPluginHost* self,
+ SpitPublishingDialogPane* pane,
+ SpitPublishingPluginHostButtonMode mode)
+{
#line 310 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 310 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_dialog_pane (self, pane, mode);
-#line 976 "PublishingInterfaces.c"
+#line 1107 "PublishingInterfaces.c"
}
@@ -1002,12 +1133,16 @@ void spit_publishing_plugin_host_install_dialog_pane (SpitPublishingPluginHost*
* should be ButtonMode.CLOSE, because all cancellable publishing actions have already
* occurred.
*/
-void spit_publishing_plugin_host_install_static_message_pane (SpitPublishingPluginHost* self, const gchar* message, SpitPublishingPluginHostButtonMode mode) {
+void
+spit_publishing_plugin_host_install_static_message_pane (SpitPublishingPluginHost* self,
+ const gchar* message,
+ SpitPublishingPluginHostButtonMode mode)
+{
#line 339 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 339 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_static_message_pane (self, message, mode);
-#line 1011 "PublishingInterfaces.c"
+#line 1146 "PublishingInterfaces.c"
}
@@ -1029,12 +1164,16 @@ void spit_publishing_plugin_host_install_static_message_pane (SpitPublishingPlug
* should be ButtonMode.CLOSE, because all cancellable publishing actions have already
* occurred.
*/
-void spit_publishing_plugin_host_install_pango_message_pane (SpitPublishingPluginHost* self, const gchar* markup, SpitPublishingPluginHostButtonMode mode) {
+void
+spit_publishing_plugin_host_install_pango_message_pane (SpitPublishingPluginHost* self,
+ const gchar* markup,
+ SpitPublishingPluginHostButtonMode mode)
+{
#line 360 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 360 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_pango_message_pane (self, markup, mode);
-#line 1038 "PublishingInterfaces.c"
+#line 1177 "PublishingInterfaces.c"
}
@@ -1050,12 +1189,14 @@ void spit_publishing_plugin_host_install_pango_message_pane (SpitPublishingPlugi
* If an error has posted, the {@link PluginHost} will not honor
* this request.
*/
-void spit_publishing_plugin_host_install_success_pane (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_install_success_pane (SpitPublishingPluginHost* self)
+{
#line 375 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 375 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_success_pane (self);
-#line 1059 "PublishingInterfaces.c"
+#line 1200 "PublishingInterfaces.c"
}
@@ -1073,12 +1214,14 @@ void spit_publishing_plugin_host_install_success_pane (SpitPublishingPluginHost*
*
* If an error has posted, the {@link PluginHost} will not honor this request.
*/
-void spit_publishing_plugin_host_install_account_fetch_wait_pane (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_install_account_fetch_wait_pane (SpitPublishingPluginHost* self)
+{
#line 391 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 391 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_account_fetch_wait_pane (self);
-#line 1082 "PublishingInterfaces.c"
+#line 1225 "PublishingInterfaces.c"
}
@@ -1093,12 +1236,14 @@ void spit_publishing_plugin_host_install_account_fetch_wait_pane (SpitPublishing
*
* If an error has posted, the {@link PluginHost} will not honor this request.
*/
-void spit_publishing_plugin_host_install_login_wait_pane (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_install_login_wait_pane (SpitPublishingPluginHost* self)
+{
#line 405 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 405 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_login_wait_pane (self);
-#line 1102 "PublishingInterfaces.c"
+#line 1247 "PublishingInterfaces.c"
}
@@ -1122,12 +1267,17 @@ void spit_publishing_plugin_host_install_login_wait_pane (SpitPublishingPluginHo
* @param on_login_clicked specifies the callback that is invoked when the user clicks
* the “Login” button.
*/
-void spit_publishing_plugin_host_install_welcome_pane (SpitPublishingPluginHost* self, const gchar* welcome_message, SpitPublishingLoginCallback on_login_clicked, void* on_login_clicked_target) {
+void
+spit_publishing_plugin_host_install_welcome_pane (SpitPublishingPluginHost* self,
+ const gchar* welcome_message,
+ SpitPublishingLoginCallback on_login_clicked,
+ void* on_login_clicked_target)
+{
#line 427 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 427 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->install_welcome_pane (self, welcome_message, on_login_clicked, on_login_clicked_target);
-#line 1131 "PublishingInterfaces.c"
+#line 1281 "PublishingInterfaces.c"
}
@@ -1145,12 +1295,15 @@ void spit_publishing_plugin_host_install_welcome_pane (SpitPublishingPluginHost*
* When is_locked is false, the combo box is sensitive, allowing the user to freely switch
* from the current service to another service.
*/
-void spit_publishing_plugin_host_set_service_locked (SpitPublishingPluginHost* self, gboolean is_locked) {
+void
+spit_publishing_plugin_host_set_service_locked (SpitPublishingPluginHost* self,
+ gboolean is_locked)
+{
#line 444 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 444 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->set_service_locked (self, is_locked);
-#line 1154 "PublishingInterfaces.c"
+#line 1307 "PublishingInterfaces.c"
}
@@ -1164,12 +1317,15 @@ void spit_publishing_plugin_host_set_service_locked (SpitPublishingPluginHost* s
* @param widget a reference to the widget to designate as the default widget for the
* publishing dialog.
*/
-void spit_publishing_plugin_host_set_dialog_default_widget (SpitPublishingPluginHost* self, GtkWidget* widget) {
+void
+spit_publishing_plugin_host_set_dialog_default_widget (SpitPublishingPluginHost* self,
+ GtkWidget* widget)
+{
#line 456 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 456 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->set_dialog_default_widget (self, widget);
-#line 1173 "PublishingInterfaces.c"
+#line 1329 "PublishingInterfaces.c"
}
@@ -1177,12 +1333,15 @@ void spit_publishing_plugin_host_set_dialog_default_widget (SpitPublishingPlugin
* Returns an array of the publishable media items that the user has selected for upload to the
* remote service.
*/
-SpitPublishingPublishable** spit_publishing_plugin_host_get_publishables (SpitPublishingPluginHost* self, int* result_length1) {
+SpitPublishingPublishable**
+spit_publishing_plugin_host_get_publishables (SpitPublishingPluginHost* self,
+ int* result_length1)
+{
#line 462 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self), NULL);
#line 462 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->get_publishables (self, result_length1);
-#line 1186 "PublishingInterfaces.c"
+#line 1345 "PublishingInterfaces.c"
}
@@ -1216,12 +1375,18 @@ SpitPublishingPublishable** spit_publishing_plugin_host_get_publishables (SpitPu
* metadata will be left intact. The value of this parameter has no
* effect on video publishables.
*/
-SpitPublishingProgressCallback spit_publishing_plugin_host_serialize_publishables (SpitPublishingPluginHost* self, gint content_major_axis, gboolean strip_metadata, void** result_target, GDestroyNotify* result_target_destroy_notify) {
+SpitPublishingProgressCallback
+spit_publishing_plugin_host_serialize_publishables (SpitPublishingPluginHost* self,
+ gint content_major_axis,
+ gboolean strip_metadata,
+ void** result_target,
+ GDestroyNotify* result_target_destroy_notify)
+{
#line 494 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self), NULL);
#line 494 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->serialize_publishables (self, content_major_axis, strip_metadata, result_target, result_target_destroy_notify);
-#line 1225 "PublishingInterfaces.c"
+#line 1390 "PublishingInterfaces.c"
}
@@ -1230,120 +1395,156 @@ SpitPublishingProgressCallback spit_publishing_plugin_host_serialize_publishable
* in the set of publishable media items that the user has selected for upload to the remote
* service.
*/
-SpitPublishingPublisherMediaType spit_publishing_plugin_host_get_publishable_media_type (SpitPublishingPluginHost* self) {
+SpitPublishingPublisherMediaType
+spit_publishing_plugin_host_get_publishable_media_type (SpitPublishingPluginHost* self)
+{
#line 502 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self), 0);
#line 502 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->get_publishable_media_type (self);
-#line 1239 "PublishingInterfaces.c"
+#line 1406 "PublishingInterfaces.c"
}
-static void spit_publishing_plugin_host_real_reserved0 (SpitPublishingPluginHost* self) {
+static void
+spit_publishing_plugin_host_real_reserved0 (SpitPublishingPluginHost* self)
+{
}
-void spit_publishing_plugin_host_reserved0 (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_reserved0 (SpitPublishingPluginHost* self)
+{
#line 507 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 507 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved0 (self);
-#line 1252 "PublishingInterfaces.c"
+#line 1423 "PublishingInterfaces.c"
}
-static void spit_publishing_plugin_host_real_reserved1 (SpitPublishingPluginHost* self) {
+static void
+spit_publishing_plugin_host_real_reserved1 (SpitPublishingPluginHost* self)
+{
}
-void spit_publishing_plugin_host_reserved1 (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_reserved1 (SpitPublishingPluginHost* self)
+{
#line 508 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 508 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved1 (self);
-#line 1265 "PublishingInterfaces.c"
+#line 1440 "PublishingInterfaces.c"
}
-static void spit_publishing_plugin_host_real_reserved2 (SpitPublishingPluginHost* self) {
+static void
+spit_publishing_plugin_host_real_reserved2 (SpitPublishingPluginHost* self)
+{
}
-void spit_publishing_plugin_host_reserved2 (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_reserved2 (SpitPublishingPluginHost* self)
+{
#line 509 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 509 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved2 (self);
-#line 1278 "PublishingInterfaces.c"
+#line 1457 "PublishingInterfaces.c"
}
-static void spit_publishing_plugin_host_real_reserved3 (SpitPublishingPluginHost* self) {
+static void
+spit_publishing_plugin_host_real_reserved3 (SpitPublishingPluginHost* self)
+{
}
-void spit_publishing_plugin_host_reserved3 (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_reserved3 (SpitPublishingPluginHost* self)
+{
#line 510 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 510 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved3 (self);
-#line 1291 "PublishingInterfaces.c"
+#line 1474 "PublishingInterfaces.c"
}
-static void spit_publishing_plugin_host_real_reserved4 (SpitPublishingPluginHost* self) {
+static void
+spit_publishing_plugin_host_real_reserved4 (SpitPublishingPluginHost* self)
+{
}
-void spit_publishing_plugin_host_reserved4 (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_reserved4 (SpitPublishingPluginHost* self)
+{
#line 511 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 511 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved4 (self);
-#line 1304 "PublishingInterfaces.c"
+#line 1491 "PublishingInterfaces.c"
}
-static void spit_publishing_plugin_host_real_reserved5 (SpitPublishingPluginHost* self) {
+static void
+spit_publishing_plugin_host_real_reserved5 (SpitPublishingPluginHost* self)
+{
}
-void spit_publishing_plugin_host_reserved5 (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_reserved5 (SpitPublishingPluginHost* self)
+{
#line 512 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 512 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved5 (self);
-#line 1317 "PublishingInterfaces.c"
+#line 1508 "PublishingInterfaces.c"
}
-static void spit_publishing_plugin_host_real_reserved6 (SpitPublishingPluginHost* self) {
+static void
+spit_publishing_plugin_host_real_reserved6 (SpitPublishingPluginHost* self)
+{
}
-void spit_publishing_plugin_host_reserved6 (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_reserved6 (SpitPublishingPluginHost* self)
+{
#line 513 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 513 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved6 (self);
-#line 1330 "PublishingInterfaces.c"
+#line 1525 "PublishingInterfaces.c"
}
-static void spit_publishing_plugin_host_real_reserved7 (SpitPublishingPluginHost* self) {
+static void
+spit_publishing_plugin_host_real_reserved7 (SpitPublishingPluginHost* self)
+{
}
-void spit_publishing_plugin_host_reserved7 (SpitPublishingPluginHost* self) {
+void
+spit_publishing_plugin_host_reserved7 (SpitPublishingPluginHost* self)
+{
#line 514 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PLUGIN_HOST (self));
#line 514 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PLUGIN_HOST_GET_INTERFACE (self)->reserved7 (self);
-#line 1343 "PublishingInterfaces.c"
+#line 1542 "PublishingInterfaces.c"
}
-static void spit_publishing_plugin_host_base_init (SpitPublishingPluginHostIface * iface) {
+static void
+spit_publishing_plugin_host_base_init (SpitPublishingPluginHostIface * iface)
+{
#line 260 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
static gboolean initialized = FALSE;
#line 260 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
@@ -1366,7 +1567,7 @@ static void spit_publishing_plugin_host_base_init (SpitPublishingPluginHostIface
iface->reserved6 = spit_publishing_plugin_host_real_reserved6;
#line 260 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
iface->reserved7 = spit_publishing_plugin_host_real_reserved7;
-#line 1370 "PublishingInterfaces.c"
+#line 1571 "PublishingInterfaces.c"
}
}
@@ -1383,7 +1584,9 @@ static void spit_publishing_plugin_host_base_init (SpitPublishingPluginHostIface
* {@link Publisher} is in the running state. This ensures that non-running publishers
* don’t destructively interfere with the actively running publisher.
*/
-GType spit_publishing_plugin_host_get_type (void) {
+GType
+spit_publishing_plugin_host_get_type (void)
+{
static volatile gsize spit_publishing_plugin_host_type_id__volatile = 0;
if (g_once_init_enter (&spit_publishing_plugin_host_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingPluginHostIface), (GBaseInitFunc) spit_publishing_plugin_host_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -1404,12 +1607,14 @@ GType spit_publishing_plugin_host_get_type (void) {
* You should use this file handle to read into memory the binary data you will send over
* the network to the remote publishing service when this publishable is uploaded.
*/
-GFile* spit_publishing_publishable_get_serialized_file (SpitPublishingPublishable* self) {
+GFile*
+spit_publishing_publishable_get_serialized_file (SpitPublishingPublishable* self)
+{
#line 535 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), NULL);
#line 535 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_serialized_file (self);
-#line 1413 "PublishingInterfaces.c"
+#line 1618 "PublishingInterfaces.c"
}
@@ -1420,12 +1625,14 @@ GFile* spit_publishing_publishable_get_serialized_file (SpitPublishingPublishabl
* and provide a fallback value. One possible option for a fallback is:
* get_param_string(Spit.Publishing.Publishable.PARAM_STRING_BASENAME)
*/
-gchar* spit_publishing_publishable_get_publishing_name (SpitPublishingPublishable* self) {
+gchar*
+spit_publishing_publishable_get_publishing_name (SpitPublishingPublishable* self)
+{
#line 544 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), NULL);
#line 544 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_publishing_name (self);
-#line 1429 "PublishingInterfaces.c"
+#line 1636 "PublishingInterfaces.c"
}
@@ -1433,12 +1640,15 @@ gchar* spit_publishing_publishable_get_publishing_name (SpitPublishingPublishabl
* Returns a string value from the publishable corresponding with the parameter name
* provided, or null if there is no value for this name.
*/
-gchar* spit_publishing_publishable_get_param_string (SpitPublishingPublishable* self, const gchar* name) {
+gchar*
+spit_publishing_publishable_get_param_string (SpitPublishingPublishable* self,
+ const gchar* name)
+{
#line 550 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), NULL);
#line 550 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_param_string (self, name);
-#line 1442 "PublishingInterfaces.c"
+#line 1652 "PublishingInterfaces.c"
}
@@ -1446,144 +1656,185 @@ gchar* spit_publishing_publishable_get_param_string (SpitPublishingPublishable*
* Returns an array of strings that should be used to tag or mark this publishable on the
* remote service, or null if this publishable has no tags or markings.
*/
-gchar** spit_publishing_publishable_get_publishing_keywords (SpitPublishingPublishable* self, int* result_length1) {
+gchar**
+spit_publishing_publishable_get_publishing_keywords (SpitPublishingPublishable* self,
+ int* result_length1)
+{
#line 556 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), NULL);
#line 556 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_publishing_keywords (self, result_length1);
-#line 1455 "PublishingInterfaces.c"
+#line 1668 "PublishingInterfaces.c"
}
/**
* Returns the kind of media item this publishable encapsulates.
*/
-SpitPublishingPublisherMediaType spit_publishing_publishable_get_media_type (SpitPublishingPublishable* self) {
+SpitPublishingPublisherMediaType
+spit_publishing_publishable_get_media_type (SpitPublishingPublishable* self)
+{
#line 561 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), 0);
#line 561 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_media_type (self);
-#line 1467 "PublishingInterfaces.c"
+#line 1682 "PublishingInterfaces.c"
}
/**
* Returns the creation timestamp on the file.
*/
-GDateTime* spit_publishing_publishable_get_exposure_date_time (SpitPublishingPublishable* self) {
+GDateTime*
+spit_publishing_publishable_get_exposure_date_time (SpitPublishingPublishable* self)
+{
#line 566 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self), NULL);
#line 566 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->get_exposure_date_time (self);
-#line 1479 "PublishingInterfaces.c"
+#line 1696 "PublishingInterfaces.c"
}
-static void spit_publishing_publishable_real_reserved0 (SpitPublishingPublishable* self) {
+static void
+spit_publishing_publishable_real_reserved0 (SpitPublishingPublishable* self)
+{
}
-void spit_publishing_publishable_reserved0 (SpitPublishingPublishable* self) {
+void
+spit_publishing_publishable_reserved0 (SpitPublishingPublishable* self)
+{
#line 571 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self));
#line 571 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved0 (self);
-#line 1492 "PublishingInterfaces.c"
+#line 1713 "PublishingInterfaces.c"
}
-static void spit_publishing_publishable_real_reserved1 (SpitPublishingPublishable* self) {
+static void
+spit_publishing_publishable_real_reserved1 (SpitPublishingPublishable* self)
+{
}
-void spit_publishing_publishable_reserved1 (SpitPublishingPublishable* self) {
+void
+spit_publishing_publishable_reserved1 (SpitPublishingPublishable* self)
+{
#line 572 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self));
#line 572 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved1 (self);
-#line 1505 "PublishingInterfaces.c"
+#line 1730 "PublishingInterfaces.c"
}
-static void spit_publishing_publishable_real_reserved2 (SpitPublishingPublishable* self) {
+static void
+spit_publishing_publishable_real_reserved2 (SpitPublishingPublishable* self)
+{
}
-void spit_publishing_publishable_reserved2 (SpitPublishingPublishable* self) {
+void
+spit_publishing_publishable_reserved2 (SpitPublishingPublishable* self)
+{
#line 573 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self));
#line 573 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved2 (self);
-#line 1518 "PublishingInterfaces.c"
+#line 1747 "PublishingInterfaces.c"
}
-static void spit_publishing_publishable_real_reserved3 (SpitPublishingPublishable* self) {
+static void
+spit_publishing_publishable_real_reserved3 (SpitPublishingPublishable* self)
+{
}
-void spit_publishing_publishable_reserved3 (SpitPublishingPublishable* self) {
+void
+spit_publishing_publishable_reserved3 (SpitPublishingPublishable* self)
+{
#line 574 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self));
#line 574 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved3 (self);
-#line 1531 "PublishingInterfaces.c"
+#line 1764 "PublishingInterfaces.c"
}
-static void spit_publishing_publishable_real_reserved4 (SpitPublishingPublishable* self) {
+static void
+spit_publishing_publishable_real_reserved4 (SpitPublishingPublishable* self)
+{
}
-void spit_publishing_publishable_reserved4 (SpitPublishingPublishable* self) {
+void
+spit_publishing_publishable_reserved4 (SpitPublishingPublishable* self)
+{
#line 575 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self));
#line 575 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved4 (self);
-#line 1544 "PublishingInterfaces.c"
+#line 1781 "PublishingInterfaces.c"
}
-static void spit_publishing_publishable_real_reserved5 (SpitPublishingPublishable* self) {
+static void
+spit_publishing_publishable_real_reserved5 (SpitPublishingPublishable* self)
+{
}
-void spit_publishing_publishable_reserved5 (SpitPublishingPublishable* self) {
+void
+spit_publishing_publishable_reserved5 (SpitPublishingPublishable* self)
+{
#line 576 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self));
#line 576 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved5 (self);
-#line 1557 "PublishingInterfaces.c"
+#line 1798 "PublishingInterfaces.c"
}
-static void spit_publishing_publishable_real_reserved6 (SpitPublishingPublishable* self) {
+static void
+spit_publishing_publishable_real_reserved6 (SpitPublishingPublishable* self)
+{
}
-void spit_publishing_publishable_reserved6 (SpitPublishingPublishable* self) {
+void
+spit_publishing_publishable_reserved6 (SpitPublishingPublishable* self)
+{
#line 577 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self));
#line 577 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved6 (self);
-#line 1570 "PublishingInterfaces.c"
+#line 1815 "PublishingInterfaces.c"
}
-static void spit_publishing_publishable_real_reserved7 (SpitPublishingPublishable* self) {
+static void
+spit_publishing_publishable_real_reserved7 (SpitPublishingPublishable* self)
+{
}
-void spit_publishing_publishable_reserved7 (SpitPublishingPublishable* self) {
+void
+spit_publishing_publishable_reserved7 (SpitPublishingPublishable* self)
+{
#line 578 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_PUBLISHABLE (self));
#line 578 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_PUBLISHABLE_GET_INTERFACE (self)->reserved7 (self);
-#line 1583 "PublishingInterfaces.c"
+#line 1832 "PublishingInterfaces.c"
}
-static void spit_publishing_publishable_base_init (SpitPublishingPublishableIface * iface) {
+static void
+spit_publishing_publishable_base_init (SpitPublishingPublishableIface * iface)
+{
#line 521 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
static gboolean initialized = FALSE;
#line 521 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
@@ -1606,7 +1857,7 @@ static void spit_publishing_publishable_base_init (SpitPublishingPublishableIfac
iface->reserved6 = spit_publishing_publishable_real_reserved6;
#line 521 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
iface->reserved7 = spit_publishing_publishable_real_reserved7;
-#line 1610 "PublishingInterfaces.c"
+#line 1861 "PublishingInterfaces.c"
}
}
@@ -1615,7 +1866,9 @@ static void spit_publishing_publishable_base_init (SpitPublishingPublishableIfac
* Describes an underlying media item (such as a photo or a video) that your plugin
* uploads to a remote publishing service.
*/
-GType spit_publishing_publishable_get_type (void) {
+GType
+spit_publishing_publishable_get_type (void)
+{
static volatile gsize spit_publishing_publishable_type_id__volatile = 0;
if (g_once_init_enter (&spit_publishing_publishable_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingPublishableIface), (GBaseInitFunc) spit_publishing_publishable_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -1632,132 +1885,171 @@ GType spit_publishing_publishable_get_type (void) {
* A factory method that instantiates and returns a new {@link Publisher} object that
* encapsulates a connection to the remote publishing service that this Service describes.
*/
-SpitPublishingPublisher* spit_publishing_service_create_publisher (SpitPublishingService* self, SpitPublishingPluginHost* host) {
+SpitPublishingPublisher*
+spit_publishing_service_create_publisher (SpitPublishingService* self,
+ SpitPublishingPluginHost* host)
+{
#line 591 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_SERVICE (self), NULL);
#line 591 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->create_publisher (self, host);
-#line 1641 "PublishingInterfaces.c"
+#line 1897 "PublishingInterfaces.c"
}
/**
* Returns the kinds of media that this service can work with.
*/
-SpitPublishingPublisherMediaType spit_publishing_service_get_supported_media (SpitPublishingService* self) {
+SpitPublishingPublisherMediaType
+spit_publishing_service_get_supported_media (SpitPublishingService* self)
+{
#line 596 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_SERVICE (self), 0);
#line 596 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->get_supported_media (self);
-#line 1653 "PublishingInterfaces.c"
+#line 1911 "PublishingInterfaces.c"
}
-static void spit_publishing_service_real_reserved0 (SpitPublishingService* self) {
+static void
+spit_publishing_service_real_reserved0 (SpitPublishingService* self)
+{
}
-void spit_publishing_service_reserved0 (SpitPublishingService* self) {
+void
+spit_publishing_service_reserved0 (SpitPublishingService* self)
+{
#line 601 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self));
#line 601 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved0 (self);
-#line 1666 "PublishingInterfaces.c"
+#line 1928 "PublishingInterfaces.c"
}
-static void spit_publishing_service_real_reserved1 (SpitPublishingService* self) {
+static void
+spit_publishing_service_real_reserved1 (SpitPublishingService* self)
+{
}
-void spit_publishing_service_reserved1 (SpitPublishingService* self) {
+void
+spit_publishing_service_reserved1 (SpitPublishingService* self)
+{
#line 602 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self));
#line 602 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved1 (self);
-#line 1679 "PublishingInterfaces.c"
+#line 1945 "PublishingInterfaces.c"
}
-static void spit_publishing_service_real_reserved2 (SpitPublishingService* self) {
+static void
+spit_publishing_service_real_reserved2 (SpitPublishingService* self)
+{
}
-void spit_publishing_service_reserved2 (SpitPublishingService* self) {
+void
+spit_publishing_service_reserved2 (SpitPublishingService* self)
+{
#line 603 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self));
#line 603 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved2 (self);
-#line 1692 "PublishingInterfaces.c"
+#line 1962 "PublishingInterfaces.c"
}
-static void spit_publishing_service_real_reserved3 (SpitPublishingService* self) {
+static void
+spit_publishing_service_real_reserved3 (SpitPublishingService* self)
+{
}
-void spit_publishing_service_reserved3 (SpitPublishingService* self) {
+void
+spit_publishing_service_reserved3 (SpitPublishingService* self)
+{
#line 604 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self));
#line 604 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved3 (self);
-#line 1705 "PublishingInterfaces.c"
+#line 1979 "PublishingInterfaces.c"
}
-static void spit_publishing_service_real_reserved4 (SpitPublishingService* self) {
+static void
+spit_publishing_service_real_reserved4 (SpitPublishingService* self)
+{
}
-void spit_publishing_service_reserved4 (SpitPublishingService* self) {
+void
+spit_publishing_service_reserved4 (SpitPublishingService* self)
+{
#line 605 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self));
#line 605 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved4 (self);
-#line 1718 "PublishingInterfaces.c"
+#line 1996 "PublishingInterfaces.c"
}
-static void spit_publishing_service_real_reserved5 (SpitPublishingService* self) {
+static void
+spit_publishing_service_real_reserved5 (SpitPublishingService* self)
+{
}
-void spit_publishing_service_reserved5 (SpitPublishingService* self) {
+void
+spit_publishing_service_reserved5 (SpitPublishingService* self)
+{
#line 606 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self));
#line 606 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved5 (self);
-#line 1731 "PublishingInterfaces.c"
+#line 2013 "PublishingInterfaces.c"
}
-static void spit_publishing_service_real_reserved6 (SpitPublishingService* self) {
+static void
+spit_publishing_service_real_reserved6 (SpitPublishingService* self)
+{
}
-void spit_publishing_service_reserved6 (SpitPublishingService* self) {
+void
+spit_publishing_service_reserved6 (SpitPublishingService* self)
+{
#line 607 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self));
#line 607 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved6 (self);
-#line 1744 "PublishingInterfaces.c"
+#line 2030 "PublishingInterfaces.c"
}
-static void spit_publishing_service_real_reserved7 (SpitPublishingService* self) {
+static void
+spit_publishing_service_real_reserved7 (SpitPublishingService* self)
+{
}
-void spit_publishing_service_reserved7 (SpitPublishingService* self) {
+void
+spit_publishing_service_reserved7 (SpitPublishingService* self)
+{
#line 608 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_SERVICE (self));
#line 608 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_SERVICE_GET_INTERFACE (self)->reserved7 (self);
-#line 1757 "PublishingInterfaces.c"
+#line 2047 "PublishingInterfaces.c"
}
-static void spit_publishing_service_base_init (SpitPublishingServiceIface * iface) {
+static void
+spit_publishing_service_base_init (SpitPublishingServiceIface * iface)
+{
#line 586 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
static gboolean initialized = FALSE;
#line 586 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
@@ -1780,7 +2072,7 @@ static void spit_publishing_service_base_init (SpitPublishingServiceIface * ifac
iface->reserved6 = spit_publishing_service_real_reserved6;
#line 586 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
iface->reserved7 = spit_publishing_service_real_reserved7;
-#line 1784 "PublishingInterfaces.c"
+#line 2076 "PublishingInterfaces.c"
}
}
@@ -1790,7 +2082,9 @@ static void spit_publishing_service_base_init (SpitPublishingServiceIface * ifac
*
* Developers of publishing plugins provide a class that implements this interface.
*/
-GType spit_publishing_service_get_type (void) {
+GType
+spit_publishing_service_get_type (void)
+{
static volatile gsize spit_publishing_service_type_id__volatile = 0;
if (g_once_init_enter (&spit_publishing_service_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingServiceIface), (GBaseInitFunc) spit_publishing_service_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -1804,52 +2098,64 @@ GType spit_publishing_service_get_type (void) {
}
-void spit_publishing_authenticator_authenticate (SpitPublishingAuthenticator* self) {
+void
+spit_publishing_authenticator_authenticate (SpitPublishingAuthenticator* self)
+{
#line 615 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR (self));
#line 615 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_AUTHENTICATOR_GET_INTERFACE (self)->authenticate (self);
-#line 1813 "PublishingInterfaces.c"
+#line 2109 "PublishingInterfaces.c"
}
-gboolean spit_publishing_authenticator_can_logout (SpitPublishingAuthenticator* self) {
+gboolean
+spit_publishing_authenticator_can_logout (SpitPublishingAuthenticator* self)
+{
#line 616 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR (self), FALSE);
#line 616 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_AUTHENTICATOR_GET_INTERFACE (self)->can_logout (self);
-#line 1822 "PublishingInterfaces.c"
+#line 2120 "PublishingInterfaces.c"
}
-void spit_publishing_authenticator_logout (SpitPublishingAuthenticator* self) {
+void
+spit_publishing_authenticator_logout (SpitPublishingAuthenticator* self)
+{
#line 617 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR (self));
#line 617 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_AUTHENTICATOR_GET_INTERFACE (self)->logout (self);
-#line 1831 "PublishingInterfaces.c"
+#line 2131 "PublishingInterfaces.c"
}
-void spit_publishing_authenticator_refresh (SpitPublishingAuthenticator* self) {
+void
+spit_publishing_authenticator_refresh (SpitPublishingAuthenticator* self)
+{
#line 618 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR (self));
#line 618 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
SPIT_PUBLISHING_AUTHENTICATOR_GET_INTERFACE (self)->refresh (self);
-#line 1840 "PublishingInterfaces.c"
+#line 2142 "PublishingInterfaces.c"
}
-GHashTable* spit_publishing_authenticator_get_authentication_parameter (SpitPublishingAuthenticator* self) {
+GHashTable*
+spit_publishing_authenticator_get_authentication_parameter (SpitPublishingAuthenticator* self)
+{
#line 620 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR (self), NULL);
#line 620 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_AUTHENTICATOR_GET_INTERFACE (self)->get_authentication_parameter (self);
-#line 1849 "PublishingInterfaces.c"
+#line 2153 "PublishingInterfaces.c"
}
-static void spit_publishing_authenticator_base_init (SpitPublishingAuthenticatorIface * iface) {
+static void
+spit_publishing_authenticator_base_init (SpitPublishingAuthenticatorIface * iface)
+{
#line 611 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
static gboolean initialized = FALSE;
#line 611 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
@@ -1860,12 +2166,14 @@ static void spit_publishing_authenticator_base_init (SpitPublishingAuthenticator
spit_publishing_authenticator_signals[SPIT_PUBLISHING_AUTHENTICATOR_AUTHENTICATED_SIGNAL] = g_signal_new ("authenticated", SPIT_PUBLISHING_TYPE_AUTHENTICATOR, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 611 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
spit_publishing_authenticator_signals[SPIT_PUBLISHING_AUTHENTICATOR_AUTHENTICATION_FAILED_SIGNAL] = g_signal_new ("authentication-failed", SPIT_PUBLISHING_TYPE_AUTHENTICATOR, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 1864 "PublishingInterfaces.c"
+#line 2170 "PublishingInterfaces.c"
}
}
-GType spit_publishing_authenticator_get_type (void) {
+GType
+spit_publishing_authenticator_get_type (void)
+{
static volatile gsize spit_publishing_authenticator_type_id__volatile = 0;
if (g_once_init_enter (&spit_publishing_authenticator_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingAuthenticatorIface), (GBaseInitFunc) spit_publishing_authenticator_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -1878,37 +2186,47 @@ GType spit_publishing_authenticator_get_type (void) {
}
-GeeList* spit_publishing_authenticator_factory_get_available_authenticators (SpitPublishingAuthenticatorFactory* self) {
+GeeList*
+spit_publishing_authenticator_factory_get_available_authenticators (SpitPublishingAuthenticatorFactory* self)
+{
#line 628 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR_FACTORY (self), NULL);
#line 628 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_AUTHENTICATOR_FACTORY_GET_INTERFACE (self)->get_available_authenticators (self);
-#line 1887 "PublishingInterfaces.c"
+#line 2197 "PublishingInterfaces.c"
}
-SpitPublishingAuthenticator* spit_publishing_authenticator_factory_create (SpitPublishingAuthenticatorFactory* self, const gchar* provider, SpitPublishingPluginHost* host) {
+SpitPublishingAuthenticator*
+spit_publishing_authenticator_factory_create (SpitPublishingAuthenticatorFactory* self,
+ const gchar* provider,
+ SpitPublishingPluginHost* host)
+{
#line 629 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
g_return_val_if_fail (SPIT_PUBLISHING_IS_AUTHENTICATOR_FACTORY (self), NULL);
#line 629 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
return SPIT_PUBLISHING_AUTHENTICATOR_FACTORY_GET_INTERFACE (self)->create (self, provider, host);
-#line 1896 "PublishingInterfaces.c"
+#line 2210 "PublishingInterfaces.c"
}
-static void spit_publishing_authenticator_factory_base_init (SpitPublishingAuthenticatorFactoryIface * iface) {
+static void
+spit_publishing_authenticator_factory_base_init (SpitPublishingAuthenticatorFactoryIface * iface)
+{
#line 623 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
static gboolean initialized = FALSE;
#line 623 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
if (!initialized) {
#line 623 "/home/jens/Source/shotwell/src/plugins/PublishingInterfaces.vala"
initialized = TRUE;
-#line 1907 "PublishingInterfaces.c"
+#line 2223 "PublishingInterfaces.c"
}
}
-GType spit_publishing_authenticator_factory_get_type (void) {
+GType
+spit_publishing_authenticator_factory_get_type (void)
+{
static volatile gsize spit_publishing_authenticator_factory_type_id__volatile = 0;
if (g_once_init_enter (&spit_publishing_authenticator_factory_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitPublishingAuthenticatorFactoryIface), (GBaseInitFunc) spit_publishing_authenticator_factory_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
diff --git a/src/plugins/SpitInterfaces.c b/src/plugins/SpitInterfaces.c
index 83c548d..d890484 100644
--- a/src/plugins/SpitInterfaces.c
+++ b/src/plugins/SpitInterfaces.c
@@ -1,4 +1,4 @@
-/* SpitInterfaces.c generated by valac 0.36.6, the Vala compiler
+/* SpitInterfaces.c generated by valac 0.40.4, the Vala compiler
* generated from SpitInterfaces.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 <gio/gio.h>
@@ -130,16 +131,20 @@ struct _SpitHostInterfaceIface {
#define SPIT_UNSUPPORTED_INTERFACE -1
#define SPIT_CURRENT_INTERFACE 0
-gint spit_negotiate_interfaces (gint min_host_interface, gint max_host_interface, gint plugin_interface);
+gint spit_negotiate_interfaces (gint min_host_interface,
+ gint max_host_interface,
+ gint plugin_interface);
GType spit_entry_point_params_get_type (void) G_GNUC_CONST;
SpitEntryPointParams* spit_entry_point_params_dup (const SpitEntryPointParams* self);
void spit_entry_point_params_free (SpitEntryPointParams* self);
-void spit_entry_point_params_copy (const SpitEntryPointParams* self, SpitEntryPointParams* dest);
+void spit_entry_point_params_copy (const SpitEntryPointParams* self,
+ SpitEntryPointParams* dest);
void spit_entry_point_params_destroy (SpitEntryPointParams* self);
GType spit_pluggable_info_get_type (void) G_GNUC_CONST;
SpitPluggableInfo* spit_pluggable_info_dup (const SpitPluggableInfo* self);
void spit_pluggable_info_free (SpitPluggableInfo* self);
-void spit_pluggable_info_copy (const SpitPluggableInfo* self, SpitPluggableInfo* dest);
+void spit_pluggable_info_copy (const SpitPluggableInfo* self,
+ SpitPluggableInfo* dest);
void spit_pluggable_info_destroy (SpitPluggableInfo* self);
GType spit_pluggable_get_type (void) G_GNUC_CONST;
GType spit_module_get_type (void) G_GNUC_CONST;
@@ -147,7 +152,8 @@ GType spit_module_get_type (void) G_GNUC_CONST;
const gchar* spit_module_get_module_name (SpitModule* self);
const gchar* spit_module_get_version (SpitModule* self);
const gchar* spit_module_get_id (SpitModule* self);
-SpitPluggable** spit_module_get_pluggables (SpitModule* self, int* result_length1);
+SpitPluggable** spit_module_get_pluggables (SpitModule* self,
+ int* result_length1);
void spit_module_reserved0 (SpitModule* self);
static void spit_module_real_reserved0 (SpitModule* self);
void spit_module_reserved1 (SpitModule* self);
@@ -164,12 +170,17 @@ void spit_module_reserved6 (SpitModule* self);
static void spit_module_real_reserved6 (SpitModule* self);
void spit_module_reserved7 (SpitModule* self);
static void spit_module_real_reserved7 (SpitModule* self);
-static GdkPixbuf** _vala_array_dup1 (GdkPixbuf** self, int length);
-gint spit_pluggable_get_pluggable_interface (SpitPluggable* self, gint min_host_interface, gint max_host_interface);
+static GdkPixbuf** _vala_array_dup1 (GdkPixbuf** self,
+ int length);
+gint spit_pluggable_get_pluggable_interface (SpitPluggable* self,
+ gint min_host_interface,
+ gint max_host_interface);
const gchar* spit_pluggable_get_id (SpitPluggable* self);
const gchar* spit_pluggable_get_pluggable_name (SpitPluggable* self);
-void spit_pluggable_get_info (SpitPluggable* self, SpitPluggableInfo* info);
-void spit_pluggable_activation (SpitPluggable* self, gboolean enabled);
+void spit_pluggable_get_info (SpitPluggable* self,
+ SpitPluggableInfo* info);
+void spit_pluggable_activation (SpitPluggable* self,
+ gboolean enabled);
void spit_pluggable_reserved0 (SpitPluggable* self);
static void spit_pluggable_real_reserved0 (SpitPluggable* self);
void spit_pluggable_reserved1 (SpitPluggable* self);
@@ -188,15 +199,32 @@ void spit_pluggable_reserved7 (SpitPluggable* self);
static void spit_pluggable_real_reserved7 (SpitPluggable* self);
GType spit_host_interface_get_type (void) G_GNUC_CONST;
GFile* spit_host_interface_get_module_file (SpitHostInterface* self);
-gboolean spit_host_interface_get_config_bool (SpitHostInterface* self, const gchar* key, gboolean def);
-void spit_host_interface_set_config_bool (SpitHostInterface* self, const gchar* key, gboolean val);
-gint spit_host_interface_get_config_int (SpitHostInterface* self, const gchar* key, gint def);
-void spit_host_interface_set_config_int (SpitHostInterface* self, const gchar* key, gint val);
-gchar* spit_host_interface_get_config_string (SpitHostInterface* self, const gchar* key, const gchar* def);
-void spit_host_interface_set_config_string (SpitHostInterface* self, const gchar* key, const gchar* val);
-gdouble spit_host_interface_get_config_double (SpitHostInterface* self, const gchar* key, gdouble def);
-void spit_host_interface_set_config_double (SpitHostInterface* self, const gchar* key, gdouble val);
-void spit_host_interface_unset_config_key (SpitHostInterface* self, const gchar* key);
+gboolean spit_host_interface_get_config_bool (SpitHostInterface* self,
+ const gchar* key,
+ gboolean def);
+void spit_host_interface_set_config_bool (SpitHostInterface* self,
+ const gchar* key,
+ gboolean val);
+gint spit_host_interface_get_config_int (SpitHostInterface* self,
+ const gchar* key,
+ gint def);
+void spit_host_interface_set_config_int (SpitHostInterface* self,
+ const gchar* key,
+ gint val);
+gchar* spit_host_interface_get_config_string (SpitHostInterface* self,
+ const gchar* key,
+ const gchar* def);
+void spit_host_interface_set_config_string (SpitHostInterface* self,
+ const gchar* key,
+ const gchar* val);
+gdouble spit_host_interface_get_config_double (SpitHostInterface* self,
+ const gchar* key,
+ gdouble def);
+void spit_host_interface_set_config_double (SpitHostInterface* self,
+ const gchar* key,
+ gdouble val);
+void spit_host_interface_unset_config_key (SpitHostInterface* self,
+ const gchar* key);
void spit_host_interface_reserved0 (SpitHostInterface* self);
static void spit_host_interface_real_reserved0 (SpitHostInterface* self);
void spit_host_interface_reserved1 (SpitHostInterface* self);
@@ -213,8 +241,12 @@ void spit_host_interface_reserved6 (SpitHostInterface* self);
static void spit_host_interface_real_reserved6 (SpitHostInterface* self);
void spit_host_interface_reserved7 (SpitHostInterface* self);
static void spit_host_interface_real_reserved7 (SpitHostInterface* self);
-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_destroy (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func);
+static void _vala_array_free (gpointer array,
+ gint array_length,
+ GDestroyNotify destroy_func);
/**
@@ -229,61 +261,55 @@ static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify
*
* @return The plugin's interface version if supported, {@link UNSUPPORTED_INTERFACE} otherwise.
*/
-gint spit_negotiate_interfaces (gint min_host_interface, gint max_host_interface, gint plugin_interface) {
+gint
+spit_negotiate_interfaces (gint min_host_interface,
+ gint max_host_interface,
+ gint plugin_interface)
+{
gint result = 0;
gint _tmp0_ = 0;
gboolean _tmp1_ = FALSE;
- gint _tmp2_;
- gint _tmp3_;
-#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp2_ = min_host_interface;
-#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp3_ = plugin_interface;
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- if (_tmp2_ > _tmp3_) {
+ if (min_host_interface > plugin_interface) {
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
_tmp1_ = TRUE;
-#line 247 "SpitInterfaces.c"
+#line 277 "SpitInterfaces.c"
} else {
- gint _tmp4_;
- gint _tmp5_;
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp4_ = max_host_interface;
-#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp5_ = plugin_interface;
-#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp1_ = _tmp4_ < _tmp5_;
-#line 257 "SpitInterfaces.c"
+ _tmp1_ = max_host_interface < plugin_interface;
+#line 281 "SpitInterfaces.c"
}
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
if (_tmp1_) {
#line 48 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
_tmp0_ = SPIT_UNSUPPORTED_INTERFACE;
-#line 263 "SpitInterfaces.c"
+#line 287 "SpitInterfaces.c"
} else {
- gint _tmp6_;
#line 48 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp6_ = plugin_interface;
-#line 48 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
- _tmp0_ = _tmp6_;
-#line 270 "SpitInterfaces.c"
+ _tmp0_ = plugin_interface;
+#line 291 "SpitInterfaces.c"
}
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
result = _tmp0_;
#line 47 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return result;
-#line 276 "SpitInterfaces.c"
+#line 297 "SpitInterfaces.c"
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return self ? g_object_ref (self) : NULL;
-#line 283 "SpitInterfaces.c"
+#line 306 "SpitInterfaces.c"
}
-void spit_entry_point_params_copy (const SpitEntryPointParams* self, SpitEntryPointParams* dest) {
+void
+spit_entry_point_params_copy (const SpitEntryPointParams* self,
+ SpitEntryPointParams* dest)
+{
gint _tmp0_;
gint _tmp1_;
gint _tmp2_;
@@ -309,18 +335,22 @@ void spit_entry_point_params_copy (const SpitEntryPointParams* self, SpitEntryPo
_g_object_unref0 ((*dest).module_file);
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
(*dest).module_file = _tmp4_;
-#line 313 "SpitInterfaces.c"
+#line 339 "SpitInterfaces.c"
}
-void spit_entry_point_params_destroy (SpitEntryPointParams* self) {
+void
+spit_entry_point_params_destroy (SpitEntryPointParams* self)
+{
#line 79 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
_g_object_unref0 ((*self).module_file);
-#line 320 "SpitInterfaces.c"
+#line 348 "SpitInterfaces.c"
}
-SpitEntryPointParams* spit_entry_point_params_dup (const SpitEntryPointParams* self) {
+SpitEntryPointParams*
+spit_entry_point_params_dup (const SpitEntryPointParams* self)
+{
SpitEntryPointParams* dup;
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
dup = g_new0 (SpitEntryPointParams, 1);
@@ -328,20 +358,24 @@ SpitEntryPointParams* spit_entry_point_params_dup (const SpitEntryPointParams* s
spit_entry_point_params_copy (self, dup);
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return dup;
-#line 332 "SpitInterfaces.c"
+#line 362 "SpitInterfaces.c"
}
-void spit_entry_point_params_free (SpitEntryPointParams* self) {
+void
+spit_entry_point_params_free (SpitEntryPointParams* self)
+{
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
spit_entry_point_params_destroy (self);
#line 62 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_free (self);
-#line 341 "SpitInterfaces.c"
+#line 373 "SpitInterfaces.c"
}
-GType spit_entry_point_params_get_type (void) {
+GType
+spit_entry_point_params_get_type (void)
+{
static volatile gsize spit_entry_point_params_type_id__volatile = 0;
if (g_once_init_enter (&spit_entry_point_params_type_id__volatile)) {
GType spit_entry_point_params_type_id;
@@ -355,12 +389,14 @@ GType spit_entry_point_params_get_type (void) {
/**
* Returns a user-visible string describing the module.
*/
-const gchar* spit_module_get_module_name (SpitModule* self) {
+const gchar*
+spit_module_get_module_name (SpitModule* self)
+{
#line 117 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_MODULE (self), NULL);
#line 117 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_MODULE_GET_INTERFACE (self)->get_module_name (self);
-#line 364 "SpitInterfaces.c"
+#line 400 "SpitInterfaces.c"
}
@@ -370,12 +406,14 @@ const gchar* spit_module_get_module_name (SpitModule* self) {
* Note that this may be programmatically interpreted at some point, so use a widespread
* versioning scheme.
*/
-const gchar* spit_module_get_version (SpitModule* self) {
+const gchar*
+spit_module_get_version (SpitModule* self)
+{
#line 125 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_MODULE (self), NULL);
#line 125 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_MODULE_GET_INTERFACE (self)->get_version (self);
-#line 379 "SpitInterfaces.c"
+#line 417 "SpitInterfaces.c"
}
@@ -389,12 +427,14 @@ const gchar* spit_module_get_version (SpitModule* self) {
* Best practice: use a reverse-DNS-order scheme, a la Java's packages
* (i.e. "org.yorba.shotwell.frotz").
*/
-const gchar* spit_module_get_id (SpitModule* self) {
+const gchar*
+spit_module_get_id (SpitModule* self)
+{
#line 137 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_MODULE (self), NULL);
#line 137 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_MODULE_GET_INTERFACE (self)->get_id (self);
-#line 398 "SpitInterfaces.c"
+#line 438 "SpitInterfaces.c"
}
@@ -403,120 +443,157 @@ const gchar* spit_module_get_id (SpitModule* self) {
*
* May return NULL or an empty array.
*/
-SpitPluggable** spit_module_get_pluggables (SpitModule* self, int* result_length1) {
+SpitPluggable**
+spit_module_get_pluggables (SpitModule* self,
+ int* result_length1)
+{
#line 144 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_MODULE (self), NULL);
#line 144 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_MODULE_GET_INTERFACE (self)->get_pluggables (self, result_length1);
-#line 412 "SpitInterfaces.c"
+#line 455 "SpitInterfaces.c"
}
-static void spit_module_real_reserved0 (SpitModule* self) {
+static void
+spit_module_real_reserved0 (SpitModule* self)
+{
}
-void spit_module_reserved0 (SpitModule* self) {
+void
+spit_module_reserved0 (SpitModule* self)
+{
#line 149 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 149 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved0 (self);
-#line 425 "SpitInterfaces.c"
+#line 472 "SpitInterfaces.c"
}
-static void spit_module_real_reserved1 (SpitModule* self) {
+static void
+spit_module_real_reserved1 (SpitModule* self)
+{
}
-void spit_module_reserved1 (SpitModule* self) {
+void
+spit_module_reserved1 (SpitModule* self)
+{
#line 150 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 150 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved1 (self);
-#line 438 "SpitInterfaces.c"
+#line 489 "SpitInterfaces.c"
}
-static void spit_module_real_reserved2 (SpitModule* self) {
+static void
+spit_module_real_reserved2 (SpitModule* self)
+{
}
-void spit_module_reserved2 (SpitModule* self) {
+void
+spit_module_reserved2 (SpitModule* self)
+{
#line 151 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 151 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved2 (self);
-#line 451 "SpitInterfaces.c"
+#line 506 "SpitInterfaces.c"
}
-static void spit_module_real_reserved3 (SpitModule* self) {
+static void
+spit_module_real_reserved3 (SpitModule* self)
+{
}
-void spit_module_reserved3 (SpitModule* self) {
+void
+spit_module_reserved3 (SpitModule* self)
+{
#line 152 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 152 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved3 (self);
-#line 464 "SpitInterfaces.c"
+#line 523 "SpitInterfaces.c"
}
-static void spit_module_real_reserved4 (SpitModule* self) {
+static void
+spit_module_real_reserved4 (SpitModule* self)
+{
}
-void spit_module_reserved4 (SpitModule* self) {
+void
+spit_module_reserved4 (SpitModule* self)
+{
#line 153 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 153 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved4 (self);
-#line 477 "SpitInterfaces.c"
+#line 540 "SpitInterfaces.c"
}
-static void spit_module_real_reserved5 (SpitModule* self) {
+static void
+spit_module_real_reserved5 (SpitModule* self)
+{
}
-void spit_module_reserved5 (SpitModule* self) {
+void
+spit_module_reserved5 (SpitModule* self)
+{
#line 154 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 154 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved5 (self);
-#line 490 "SpitInterfaces.c"
+#line 557 "SpitInterfaces.c"
}
-static void spit_module_real_reserved6 (SpitModule* self) {
+static void
+spit_module_real_reserved6 (SpitModule* self)
+{
}
-void spit_module_reserved6 (SpitModule* self) {
+void
+spit_module_reserved6 (SpitModule* self)
+{
#line 155 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 155 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved6 (self);
-#line 503 "SpitInterfaces.c"
+#line 574 "SpitInterfaces.c"
}
-static void spit_module_real_reserved7 (SpitModule* self) {
+static void
+spit_module_real_reserved7 (SpitModule* self)
+{
}
-void spit_module_reserved7 (SpitModule* self) {
+void
+spit_module_reserved7 (SpitModule* self)
+{
#line 156 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_MODULE (self));
#line 156 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_MODULE_GET_INTERFACE (self)->reserved7 (self);
-#line 516 "SpitInterfaces.c"
+#line 591 "SpitInterfaces.c"
}
-static void spit_module_base_init (SpitModuleIface * iface) {
+static void
+spit_module_base_init (SpitModuleIface * iface)
+{
#line 113 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
static gboolean initialized = FALSE;
#line 113 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
@@ -539,7 +616,7 @@ static void spit_module_base_init (SpitModuleIface * iface) {
iface->reserved6 = spit_module_real_reserved6;
#line 113 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
iface->reserved7 = spit_module_real_reserved7;
-#line 543 "SpitInterfaces.c"
+#line 620 "SpitInterfaces.c"
}
}
@@ -555,7 +632,9 @@ static void spit_module_base_init (SpitModuleIface * iface) {
* should be only one in the library file. The module should implement a g_module_unload method
* and drop the reference there.
*/
-GType spit_module_get_type (void) {
+GType
+spit_module_get_type (void)
+{
static volatile gsize spit_module_type_id__volatile = 0;
if (g_once_init_enter (&spit_module_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitModuleIface), (GBaseInitFunc) spit_module_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -568,28 +647,34 @@ GType spit_module_get_type (void) {
}
-static GdkPixbuf** _vala_array_dup1 (GdkPixbuf** self, int length) {
+static GdkPixbuf**
+_vala_array_dup1 (GdkPixbuf** self,
+ int length)
+{
GdkPixbuf** result;
int i;
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
result = g_new0 (GdkPixbuf*, length + 1);
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
for (i = 0; i < length; i++) {
-#line 579 "SpitInterfaces.c"
+#line 661 "SpitInterfaces.c"
GdkPixbuf* _tmp0_;
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
_tmp0_ = _g_object_ref0 (self[i]);
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
result[i] = _tmp0_;
-#line 585 "SpitInterfaces.c"
+#line 667 "SpitInterfaces.c"
}
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return result;
-#line 589 "SpitInterfaces.c"
+#line 671 "SpitInterfaces.c"
}
-void spit_pluggable_info_copy (const SpitPluggableInfo* self, SpitPluggableInfo* dest) {
+void
+spit_pluggable_info_copy (const SpitPluggableInfo* self,
+ SpitPluggableInfo* dest)
+{
const gchar* _tmp0_;
gchar* _tmp1_;
const gchar* _tmp2_;
@@ -693,11 +778,13 @@ void spit_pluggable_info_copy (const SpitPluggableInfo* self, SpitPluggableInfo*
(*dest).icons = _tmp18_;
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
(*dest).icons_length1 = _tmp18__length1;
-#line 697 "SpitInterfaces.c"
+#line 782 "SpitInterfaces.c"
}
-void spit_pluggable_info_destroy (SpitPluggableInfo* self) {
+void
+spit_pluggable_info_destroy (SpitPluggableInfo* self)
+{
#line 163 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
_g_free0 ((*self).version);
#line 164 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
@@ -716,11 +803,13 @@ void spit_pluggable_info_destroy (SpitPluggableInfo* self) {
_g_free0 ((*self).translators);
#line 179 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
(*self).icons = (_vala_array_free ((*self).icons, (*self).icons_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 720 "SpitInterfaces.c"
+#line 807 "SpitInterfaces.c"
}
-SpitPluggableInfo* spit_pluggable_info_dup (const SpitPluggableInfo* self) {
+SpitPluggableInfo*
+spit_pluggable_info_dup (const SpitPluggableInfo* self)
+{
SpitPluggableInfo* dup;
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
dup = g_new0 (SpitPluggableInfo, 1);
@@ -728,20 +817,24 @@ SpitPluggableInfo* spit_pluggable_info_dup (const SpitPluggableInfo* self) {
spit_pluggable_info_copy (self, dup);
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return dup;
-#line 732 "SpitInterfaces.c"
+#line 821 "SpitInterfaces.c"
}
-void spit_pluggable_info_free (SpitPluggableInfo* self) {
+void
+spit_pluggable_info_free (SpitPluggableInfo* self)
+{
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
spit_pluggable_info_destroy (self);
#line 162 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_free (self);
-#line 741 "SpitInterfaces.c"
+#line 832 "SpitInterfaces.c"
}
-GType spit_pluggable_info_get_type (void) {
+GType
+spit_pluggable_info_get_type (void)
+{
static volatile gsize spit_pluggable_info_type_id__volatile = 0;
if (g_once_init_enter (&spit_pluggable_info_type_id__volatile)) {
GType spit_pluggable_info_type_id;
@@ -773,12 +866,16 @@ GType spit_pluggable_info_get_type (void) {
* @return The version number supported by the host and the Pluggable or
* {@link UNSUPPORTED_INTERFACE}.
*/
-gint spit_pluggable_get_pluggable_interface (SpitPluggable* self, gint min_host_interface, gint max_host_interface) {
+gint
+spit_pluggable_get_pluggable_interface (SpitPluggable* self,
+ gint min_host_interface,
+ gint max_host_interface)
+{
#line 210 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (self), 0);
#line 210 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_PLUGGABLE_GET_INTERFACE (self)->get_pluggable_interface (self, min_host_interface, max_host_interface);
-#line 782 "SpitInterfaces.c"
+#line 879 "SpitInterfaces.c"
}
@@ -788,36 +885,43 @@ gint spit_pluggable_get_pluggable_interface (SpitPluggable* self, gint min_host_
* Like {@link Module.get_id}, best practice is to use a reverse-DNS-order scheme to avoid
* conflicts.
*/
-const gchar* spit_pluggable_get_id (SpitPluggable* self) {
+const gchar*
+spit_pluggable_get_id (SpitPluggable* self)
+{
#line 218 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (self), NULL);
#line 218 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_PLUGGABLE_GET_INTERFACE (self)->get_id (self);
-#line 797 "SpitInterfaces.c"
+#line 896 "SpitInterfaces.c"
}
/**
* Returns a user-visible name for the Pluggable.
*/
-const gchar* spit_pluggable_get_pluggable_name (SpitPluggable* self) {
+const gchar*
+spit_pluggable_get_pluggable_name (SpitPluggable* self)
+{
#line 223 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (self), NULL);
#line 223 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_PLUGGABLE_GET_INTERFACE (self)->get_pluggable_name (self);
-#line 809 "SpitInterfaces.c"
+#line 910 "SpitInterfaces.c"
}
/**
* Returns extra information about the Pluggable that is used to identify it to the user.
*/
-void spit_pluggable_get_info (SpitPluggable* self, SpitPluggableInfo* info) {
+void
+spit_pluggable_get_info (SpitPluggable* self,
+ SpitPluggableInfo* info)
+{
#line 228 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 228 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->get_info (self, info);
-#line 821 "SpitInterfaces.c"
+#line 925 "SpitInterfaces.c"
}
@@ -834,120 +938,157 @@ void spit_pluggable_get_info (SpitPluggable* self, SpitPluggableInfo* info) {
*
* @param enabled ``true`` if the Pluggable has been enabled, ``false`` otherwise.
*/
-void spit_pluggable_activation (SpitPluggable* self, gboolean enabled) {
+void
+spit_pluggable_activation (SpitPluggable* self,
+ gboolean enabled)
+{
#line 243 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 243 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->activation (self, enabled);
-#line 843 "SpitInterfaces.c"
+#line 950 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved0 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved0 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved0 (SpitPluggable* self) {
+void
+spit_pluggable_reserved0 (SpitPluggable* self)
+{
#line 248 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 248 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved0 (self);
-#line 856 "SpitInterfaces.c"
+#line 967 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved1 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved1 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved1 (SpitPluggable* self) {
+void
+spit_pluggable_reserved1 (SpitPluggable* self)
+{
#line 249 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 249 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved1 (self);
-#line 869 "SpitInterfaces.c"
+#line 984 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved2 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved2 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved2 (SpitPluggable* self) {
+void
+spit_pluggable_reserved2 (SpitPluggable* self)
+{
#line 250 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 250 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved2 (self);
-#line 882 "SpitInterfaces.c"
+#line 1001 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved3 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved3 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved3 (SpitPluggable* self) {
+void
+spit_pluggable_reserved3 (SpitPluggable* self)
+{
#line 251 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 251 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved3 (self);
-#line 895 "SpitInterfaces.c"
+#line 1018 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved4 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved4 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved4 (SpitPluggable* self) {
+void
+spit_pluggable_reserved4 (SpitPluggable* self)
+{
#line 252 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 252 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved4 (self);
-#line 908 "SpitInterfaces.c"
+#line 1035 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved5 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved5 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved5 (SpitPluggable* self) {
+void
+spit_pluggable_reserved5 (SpitPluggable* self)
+{
#line 253 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 253 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved5 (self);
-#line 921 "SpitInterfaces.c"
+#line 1052 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved6 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved6 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved6 (SpitPluggable* self) {
+void
+spit_pluggable_reserved6 (SpitPluggable* self)
+{
#line 254 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 254 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved6 (self);
-#line 934 "SpitInterfaces.c"
+#line 1069 "SpitInterfaces.c"
}
-static void spit_pluggable_real_reserved7 (SpitPluggable* self) {
+static void
+spit_pluggable_real_reserved7 (SpitPluggable* self)
+{
}
-void spit_pluggable_reserved7 (SpitPluggable* self) {
+void
+spit_pluggable_reserved7 (SpitPluggable* self)
+{
#line 255 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_PLUGGABLE (self));
#line 255 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_PLUGGABLE_GET_INTERFACE (self)->reserved7 (self);
-#line 947 "SpitInterfaces.c"
+#line 1086 "SpitInterfaces.c"
}
-static void spit_pluggable_base_init (SpitPluggableIface * iface) {
+static void
+spit_pluggable_base_init (SpitPluggableIface * iface)
+{
#line 188 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
static gboolean initialized = FALSE;
#line 188 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
@@ -970,7 +1111,7 @@ static void spit_pluggable_base_init (SpitPluggableIface * iface) {
iface->reserved6 = spit_pluggable_real_reserved6;
#line 188 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
iface->reserved7 = spit_pluggable_real_reserved7;
-#line 974 "SpitInterfaces.c"
+#line 1115 "SpitInterfaces.c"
}
}
@@ -981,7 +1122,9 @@ static void spit_pluggable_base_init (SpitPluggableIface * iface) {
* Each plugin in a module needs to implement this interface at a minimum. Extension
* points may have (and probably will have) specific interface requirements as well.
*/
-GType spit_pluggable_get_type (void) {
+GType
+spit_pluggable_get_type (void)
+{
static volatile gsize spit_pluggable_type_id__volatile = 0;
if (g_once_init_enter (&spit_pluggable_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitPluggableIface), (GBaseInitFunc) spit_pluggable_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -998,12 +1141,14 @@ GType spit_pluggable_get_type (void) {
* Returns a File object representing the library file (.so/la.) that the plugin was loaded
* from.
*/
-GFile* spit_host_interface_get_module_file (SpitHostInterface* self) {
+GFile*
+spit_host_interface_get_module_file (SpitHostInterface* self)
+{
#line 274 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_HOST_INTERFACE (self), NULL);
#line 274 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_HOST_INTERFACE_GET_INTERFACE (self)->get_module_file (self);
-#line 1007 "SpitInterfaces.c"
+#line 1152 "SpitInterfaces.c"
}
@@ -1015,12 +1160,16 @@ GFile* spit_host_interface_get_module_file (SpitHostInterface* self) {
*
* @return The value associated with key, def if not set.
*/
-gboolean spit_host_interface_get_config_bool (SpitHostInterface* self, const gchar* key, gboolean def) {
+gboolean
+spit_host_interface_get_config_bool (SpitHostInterface* self,
+ const gchar* key,
+ gboolean def)
+{
#line 284 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_HOST_INTERFACE (self), FALSE);
#line 284 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_HOST_INTERFACE_GET_INTERFACE (self)->get_config_bool (self, key, def);
-#line 1024 "SpitInterfaces.c"
+#line 1173 "SpitInterfaces.c"
}
@@ -1030,12 +1179,16 @@ gboolean spit_host_interface_get_config_bool (SpitHostInterface* self, const gch
* @param key The name of the value to be stored.
* @param val The value to be stored.
*/
-void spit_host_interface_set_config_bool (SpitHostInterface* self, const gchar* key, gboolean val) {
+void
+spit_host_interface_set_config_bool (SpitHostInterface* self,
+ const gchar* key,
+ gboolean val)
+{
#line 292 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 292 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->set_config_bool (self, key, val);
-#line 1039 "SpitInterfaces.c"
+#line 1192 "SpitInterfaces.c"
}
@@ -1047,12 +1200,16 @@ void spit_host_interface_set_config_bool (SpitHostInterface* self, const gchar*
*
* @return The value associated with key, def if not set.
*/
-gint spit_host_interface_get_config_int (SpitHostInterface* self, const gchar* key, gint def) {
+gint
+spit_host_interface_get_config_int (SpitHostInterface* self,
+ const gchar* key,
+ gint def)
+{
#line 302 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_HOST_INTERFACE (self), 0);
#line 302 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_HOST_INTERFACE_GET_INTERFACE (self)->get_config_int (self, key, def);
-#line 1056 "SpitInterfaces.c"
+#line 1213 "SpitInterfaces.c"
}
@@ -1062,12 +1219,16 @@ gint spit_host_interface_get_config_int (SpitHostInterface* self, const gchar* k
* @param key The name of the value to be stored.
* @param val The value to be stored.
*/
-void spit_host_interface_set_config_int (SpitHostInterface* self, const gchar* key, gint val) {
+void
+spit_host_interface_set_config_int (SpitHostInterface* self,
+ const gchar* key,
+ gint val)
+{
#line 310 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 310 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->set_config_int (self, key, val);
-#line 1071 "SpitInterfaces.c"
+#line 1232 "SpitInterfaces.c"
}
@@ -1079,12 +1240,16 @@ void spit_host_interface_set_config_int (SpitHostInterface* self, const gchar* k
*
* @return The value associated with key, def if not set.
*/
-gchar* spit_host_interface_get_config_string (SpitHostInterface* self, const gchar* key, const gchar* def) {
+gchar*
+spit_host_interface_get_config_string (SpitHostInterface* self,
+ const gchar* key,
+ const gchar* def)
+{
#line 320 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_HOST_INTERFACE (self), NULL);
#line 320 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_HOST_INTERFACE_GET_INTERFACE (self)->get_config_string (self, key, def);
-#line 1088 "SpitInterfaces.c"
+#line 1253 "SpitInterfaces.c"
}
@@ -1094,12 +1259,16 @@ gchar* spit_host_interface_get_config_string (SpitHostInterface* self, const gch
* @param key The name of the value to be stored.
* @param val The value to be stored.
*/
-void spit_host_interface_set_config_string (SpitHostInterface* self, const gchar* key, const gchar* val) {
+void
+spit_host_interface_set_config_string (SpitHostInterface* self,
+ const gchar* key,
+ const gchar* val)
+{
#line 328 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 328 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->set_config_string (self, key, val);
-#line 1103 "SpitInterfaces.c"
+#line 1272 "SpitInterfaces.c"
}
@@ -1111,12 +1280,16 @@ void spit_host_interface_set_config_string (SpitHostInterface* self, const gchar
*
* @return The value associated with key, def if not set.
*/
-gdouble spit_host_interface_get_config_double (SpitHostInterface* self, const gchar* key, gdouble def) {
+gdouble
+spit_host_interface_get_config_double (SpitHostInterface* self,
+ const gchar* key,
+ gdouble def)
+{
#line 338 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_val_if_fail (SPIT_IS_HOST_INTERFACE (self), 0.0);
#line 338 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
return SPIT_HOST_INTERFACE_GET_INTERFACE (self)->get_config_double (self, key, def);
-#line 1120 "SpitInterfaces.c"
+#line 1293 "SpitInterfaces.c"
}
@@ -1126,132 +1299,173 @@ gdouble spit_host_interface_get_config_double (SpitHostInterface* self, const gc
* @param key The name of the value to be stored.
* @param val The value to be stored.
*/
-void spit_host_interface_set_config_double (SpitHostInterface* self, const gchar* key, gdouble val) {
+void
+spit_host_interface_set_config_double (SpitHostInterface* self,
+ const gchar* key,
+ gdouble val)
+{
#line 346 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 346 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->set_config_double (self, key, val);
-#line 1135 "SpitInterfaces.c"
+#line 1312 "SpitInterfaces.c"
}
/**
* Delete the value from the persistent configuration store.
*/
-void spit_host_interface_unset_config_key (SpitHostInterface* self, const gchar* key) {
+void
+spit_host_interface_unset_config_key (SpitHostInterface* self,
+ const gchar* key)
+{
#line 351 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 351 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->unset_config_key (self, key);
-#line 1147 "SpitInterfaces.c"
+#line 1327 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved0 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved0 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved0 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved0 (SpitHostInterface* self)
+{
#line 356 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 356 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved0 (self);
-#line 1160 "SpitInterfaces.c"
+#line 1344 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved1 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved1 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved1 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved1 (SpitHostInterface* self)
+{
#line 357 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 357 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved1 (self);
-#line 1173 "SpitInterfaces.c"
+#line 1361 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved2 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved2 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved2 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved2 (SpitHostInterface* self)
+{
#line 358 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 358 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved2 (self);
-#line 1186 "SpitInterfaces.c"
+#line 1378 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved3 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved3 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved3 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved3 (SpitHostInterface* self)
+{
#line 359 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 359 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved3 (self);
-#line 1199 "SpitInterfaces.c"
+#line 1395 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved4 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved4 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved4 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved4 (SpitHostInterface* self)
+{
#line 360 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 360 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved4 (self);
-#line 1212 "SpitInterfaces.c"
+#line 1412 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved5 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved5 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved5 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved5 (SpitHostInterface* self)
+{
#line 361 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 361 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved5 (self);
-#line 1225 "SpitInterfaces.c"
+#line 1429 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved6 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved6 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved6 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved6 (SpitHostInterface* self)
+{
#line 362 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 362 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved6 (self);
-#line 1238 "SpitInterfaces.c"
+#line 1446 "SpitInterfaces.c"
}
-static void spit_host_interface_real_reserved7 (SpitHostInterface* self) {
+static void
+spit_host_interface_real_reserved7 (SpitHostInterface* self)
+{
}
-void spit_host_interface_reserved7 (SpitHostInterface* self) {
+void
+spit_host_interface_reserved7 (SpitHostInterface* self)
+{
#line 363 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
g_return_if_fail (SPIT_IS_HOST_INTERFACE (self));
#line 363 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
SPIT_HOST_INTERFACE_GET_INTERFACE (self)->reserved7 (self);
-#line 1251 "SpitInterfaces.c"
+#line 1463 "SpitInterfaces.c"
}
-static void spit_host_interface_base_init (SpitHostInterfaceIface * iface) {
+static void
+spit_host_interface_base_init (SpitHostInterfaceIface * iface)
+{
#line 269 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
static gboolean initialized = FALSE;
#line 269 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
@@ -1274,7 +1488,7 @@ static void spit_host_interface_base_init (SpitHostInterfaceIface * iface) {
iface->reserved6 = spit_host_interface_real_reserved6;
#line 269 "/home/jens/Source/shotwell/src/plugins/SpitInterfaces.vala"
iface->reserved7 = spit_host_interface_real_reserved7;
-#line 1278 "SpitInterfaces.c"
+#line 1492 "SpitInterfaces.c"
}
}
@@ -1290,7 +1504,9 @@ static void spit_host_interface_base_init (SpitHostInterfaceIface * iface) {
* also allows the extension point to extend HostInterface to offer other services applicable to the
* type of plugin.
*/
-GType spit_host_interface_get_type (void) {
+GType
+spit_host_interface_get_type (void)
+{
static volatile gsize spit_host_interface_type_id__volatile = 0;
if (g_once_init_enter (&spit_host_interface_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitHostInterfaceIface), (GBaseInitFunc) spit_host_interface_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -1303,7 +1519,11 @@ GType spit_host_interface_get_type (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) {
@@ -1315,7 +1535,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);
}
diff --git a/src/plugins/StandardHostInterface.c b/src/plugins/StandardHostInterface.c
index c1b8599..4dfc7ed 100644
--- a/src/plugins/StandardHostInterface.c
+++ b/src/plugins/StandardHostInterface.c
@@ -1,4 +1,4 @@
-/* StandardHostInterface.c generated by valac 0.36.6, the Vala compiler
+/* StandardHostInterface.c generated by valac 0.40.4, the Vala compiler
* generated from StandardHostInterface.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 "shotwell-plugin-dev-1.0.h"
@@ -27,6 +28,11 @@
typedef struct _PluginsStandardHostInterface PluginsStandardHostInterface;
typedef struct _PluginsStandardHostInterfaceClass PluginsStandardHostInterfaceClass;
typedef struct _PluginsStandardHostInterfacePrivate PluginsStandardHostInterfacePrivate;
+enum {
+ PLUGINS_STANDARD_HOST_INTERFACE_0_PROPERTY,
+ PLUGINS_STANDARD_HOST_INTERFACE_NUM_PROPERTIES
+};
+static GParamSpec* plugins_standard_host_interface_properties[PLUGINS_STANDARD_HOST_INTERFACE_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
@@ -72,48 +78,100 @@ static SpitHostInterfaceIface * plugins_standard_host_interface_spit_host_interf
GType plugins_standard_host_interface_get_type (void) G_GNUC_CONST;
#define PLUGINS_STANDARD_HOST_INTERFACE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterfacePrivate))
-enum {
- PLUGINS_STANDARD_HOST_INTERFACE_DUMMY_PROPERTY
-};
-PluginsStandardHostInterface* plugins_standard_host_interface_new (SpitPluggable* pluggable, const gchar* config_domain);
-PluginsStandardHostInterface* plugins_standard_host_interface_construct (GType object_type, SpitPluggable* pluggable, const gchar* config_domain);
+PluginsStandardHostInterface* plugins_standard_host_interface_new (SpitPluggable* pluggable,
+ const gchar* config_domain);
+PluginsStandardHostInterface* plugins_standard_host_interface_construct (GType object_type,
+ SpitPluggable* pluggable,
+ const gchar* config_domain);
static gchar* plugins_standard_host_interface_parse_key (const gchar* id);
GFile* plugins_get_pluggable_module_file (SpitPluggable* pluggable);
static GFile* plugins_standard_host_interface_real_get_module_file (SpitHostInterface* base);
-static gboolean plugins_standard_host_interface_real_get_config_bool (SpitHostInterface* base, const gchar* key, gboolean def);
+static gboolean plugins_standard_host_interface_real_get_config_bool (SpitHostInterface* base,
+ const gchar* key,
+ gboolean def);
GType configuration_facade_get_type (void) G_GNUC_CONST;
GType config_facade_get_type (void) G_GNUC_CONST;
ConfigFacade* config_facade_get_instance (void);
-gboolean configuration_facade_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def);
-static void plugins_standard_host_interface_real_set_config_bool (SpitHostInterface* base, const gchar* key, gboolean val);
-void configuration_facade_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val);
-static gint plugins_standard_host_interface_real_get_config_int (SpitHostInterface* base, const gchar* key, gint def);
-gint configuration_facade_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def);
-static void plugins_standard_host_interface_real_set_config_int (SpitHostInterface* base, const gchar* key, gint val);
-void configuration_facade_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val);
-static gchar* plugins_standard_host_interface_real_get_config_string (SpitHostInterface* base, const gchar* key, const gchar* def);
-gchar* configuration_facade_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def);
-static void plugins_standard_host_interface_real_set_config_string (SpitHostInterface* base, const gchar* key, const gchar* val);
-void configuration_facade_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val);
-static gdouble plugins_standard_host_interface_real_get_config_double (SpitHostInterface* base, const gchar* key, gdouble def);
-gdouble configuration_facade_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def);
-static void plugins_standard_host_interface_real_set_config_double (SpitHostInterface* base, const gchar* key, gdouble val);
-void configuration_facade_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val);
-static void plugins_standard_host_interface_real_unset_config_key (SpitHostInterface* base, const gchar* key);
-void configuration_facade_unset_plugin_key (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key);
+gboolean configuration_facade_get_plugin_bool (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean def);
+static void plugins_standard_host_interface_real_set_config_bool (SpitHostInterface* base,
+ const gchar* key,
+ gboolean val);
+void configuration_facade_set_plugin_bool (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gboolean val);
+static gint plugins_standard_host_interface_real_get_config_int (SpitHostInterface* base,
+ const gchar* key,
+ gint def);
+gint configuration_facade_get_plugin_int (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint def);
+static void plugins_standard_host_interface_real_set_config_int (SpitHostInterface* base,
+ const gchar* key,
+ gint val);
+void configuration_facade_set_plugin_int (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gint val);
+static gchar* plugins_standard_host_interface_real_get_config_string (SpitHostInterface* base,
+ const gchar* key,
+ const gchar* def);
+gchar* configuration_facade_get_plugin_string (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* def);
+static void plugins_standard_host_interface_real_set_config_string (SpitHostInterface* base,
+ const gchar* key,
+ const gchar* val);
+void configuration_facade_set_plugin_string (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ const gchar* val);
+static gdouble plugins_standard_host_interface_real_get_config_double (SpitHostInterface* base,
+ const gchar* key,
+ gdouble def);
+gdouble configuration_facade_get_plugin_double (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble def);
+static void plugins_standard_host_interface_real_set_config_double (SpitHostInterface* base,
+ const gchar* key,
+ gdouble val);
+void configuration_facade_set_plugin_double (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key,
+ gdouble val);
+static void plugins_standard_host_interface_real_unset_config_key (SpitHostInterface* base,
+ const gchar* key);
+void configuration_facade_unset_plugin_key (ConfigurationFacade* self,
+ const gchar* domain,
+ const gchar* id,
+ const gchar* key);
static void plugins_standard_host_interface_finalize (GObject * obj);
-PluginsStandardHostInterface* plugins_standard_host_interface_construct (GType object_type, SpitPluggable* pluggable, const gchar* config_domain) {
+PluginsStandardHostInterface*
+plugins_standard_host_interface_construct (GType object_type,
+ SpitPluggable* pluggable,
+ const gchar* config_domain)
+{
PluginsStandardHostInterface * self = NULL;
- const gchar* _tmp0_;
- gchar* _tmp1_;
- SpitPluggable* _tmp2_;
- const gchar* _tmp3_;
- gchar* _tmp4_;
- SpitPluggable* _tmp5_;
- GFile* _tmp6_;
- SpitPluggable* _tmp7_;
+ gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
+ GFile* _tmp3_;
#line 15 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
g_return_val_if_fail (SPIT_IS_PLUGGABLE (pluggable), NULL);
#line 15 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -121,165 +179,160 @@ PluginsStandardHostInterface* plugins_standard_host_interface_construct (GType o
#line 15 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = (PluginsStandardHostInterface*) g_object_new (object_type, NULL);
#line 16 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp0_ = config_domain;
-#line 16 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp1_ = g_strdup (_tmp0_);
+ _tmp0_ = g_strdup (config_domain);
#line 16 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_free0 (self->priv->config_domain);
#line 16 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- self->priv->config_domain = _tmp1_;
-#line 17 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp2_ = pluggable;
+ self->priv->config_domain = _tmp0_;
#line 17 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp3_ = spit_pluggable_get_id (_tmp2_);
+ _tmp1_ = spit_pluggable_get_id (pluggable);
#line 17 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = plugins_standard_host_interface_parse_key (_tmp3_);
+ _tmp2_ = plugins_standard_host_interface_parse_key (_tmp1_);
#line 17 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_free0 (self->priv->config_id);
#line 17 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- self->priv->config_id = _tmp4_;
+ self->priv->config_id = _tmp2_;
#line 18 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp5_ = pluggable;
-#line 18 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp6_ = plugins_get_pluggable_module_file (_tmp5_);
+ _tmp3_ = plugins_get_pluggable_module_file (pluggable);
#line 18 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_object_unref0 (self->priv->module_file);
#line 18 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- self->priv->module_file = _tmp6_;
-#line 19 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp7_ = pluggable;
+ self->priv->module_file = _tmp3_;
#line 19 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- spit_pluggable_get_info (_tmp7_, &self->priv->info);
+ spit_pluggable_get_info (pluggable, &self->priv->info);
#line 15 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return self;
-#line 156 "StandardHostInterface.c"
+#line 206 "StandardHostInterface.c"
}
-PluginsStandardHostInterface* plugins_standard_host_interface_new (SpitPluggable* pluggable, const gchar* config_domain) {
+PluginsStandardHostInterface*
+plugins_standard_host_interface_new (SpitPluggable* pluggable,
+ const gchar* config_domain)
+{
#line 15 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return plugins_standard_host_interface_construct (PLUGINS_TYPE_STANDARD_HOST_INTERFACE, pluggable, config_domain);
-#line 163 "StandardHostInterface.c"
+#line 216 "StandardHostInterface.c"
}
-static gchar* plugins_standard_host_interface_parse_key (const gchar* id) {
+static gchar*
+plugins_standard_host_interface_parse_key (const gchar* id)
+{
gchar* result = NULL;
const gchar* _tmp0_;
- const gchar* _tmp1_;
- GQuark _tmp3_ = 0U;
+ GQuark _tmp2_ = 0U;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- static GQuark _tmp2_label0 = 0;
+ static GQuark _tmp1_label0 = 0;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- static GQuark _tmp2_label1 = 0;
+ static GQuark _tmp1_label1 = 0;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- static GQuark _tmp2_label2 = 0;
+ static GQuark _tmp1_label2 = 0;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- static GQuark _tmp2_label3 = 0;
+ static GQuark _tmp1_label3 = 0;
#line 22 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
g_return_val_if_fail (id != NULL, NULL);
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_tmp0_ = id;
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp1_ = _tmp0_;
-#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp3_ = (NULL == _tmp1_) ? 0 : g_quark_from_string (_tmp1_);
+ _tmp2_ = (NULL == _tmp0_) ? 0 : g_quark_from_string (_tmp0_);
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- if (_tmp3_ == ((0 != _tmp2_label0) ? _tmp2_label0 : (_tmp2_label0 = g_quark_from_static_string ("org.yorba.shotwell.publishing.facebook")))) {
+ if (_tmp2_ == ((0 != _tmp1_label0) ? _tmp1_label0 : (_tmp1_label0 = g_quark_from_static_string ("org.yorba.shotwell.publishing.facebook")))) {
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
switch (0) {
-#line 192 "StandardHostInterface.c"
+#line 244 "StandardHostInterface.c"
default:
{
- gchar* _tmp4_;
+ gchar* _tmp3_;
#line 27 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = g_strdup ("facebook");
+ _tmp3_ = g_strdup ("facebook");
#line 27 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- result = _tmp4_;
+ result = _tmp3_;
#line 27 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return result;
-#line 202 "StandardHostInterface.c"
+#line 254 "StandardHostInterface.c"
}
}
- } else if (_tmp3_ == ((0 != _tmp2_label1) ? _tmp2_label1 : (_tmp2_label1 = g_quark_from_static_string ("org.yorba.shotwell.publishing.picasa")))) {
+ } else if (_tmp2_ == ((0 != _tmp1_label1) ? _tmp1_label1 : (_tmp1_label1 = g_quark_from_static_string ("org.yorba.shotwell.publishing.picasa")))) {
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
switch (0) {
-#line 208 "StandardHostInterface.c"
+#line 260 "StandardHostInterface.c"
default:
{
- gchar* _tmp5_;
+ gchar* _tmp4_;
#line 30 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp5_ = g_strdup ("picasa");
+ _tmp4_ = g_strdup ("picasa");
#line 30 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- result = _tmp5_;
+ result = _tmp4_;
#line 30 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return result;
-#line 218 "StandardHostInterface.c"
+#line 270 "StandardHostInterface.c"
}
}
- } else if (_tmp3_ == ((0 != _tmp2_label2) ? _tmp2_label2 : (_tmp2_label2 = g_quark_from_static_string ("org.yorba.shotwell.publishing.flickr")))) {
+ } else if (_tmp2_ == ((0 != _tmp1_label2) ? _tmp1_label2 : (_tmp1_label2 = g_quark_from_static_string ("org.yorba.shotwell.publishing.flickr")))) {
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
switch (0) {
-#line 224 "StandardHostInterface.c"
+#line 276 "StandardHostInterface.c"
default:
{
- gchar* _tmp6_;
+ gchar* _tmp5_;
#line 33 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp6_ = g_strdup ("flickr");
+ _tmp5_ = g_strdup ("flickr");
#line 33 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- result = _tmp6_;
+ result = _tmp5_;
#line 33 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return result;
-#line 234 "StandardHostInterface.c"
+#line 286 "StandardHostInterface.c"
}
}
- } else if (_tmp3_ == ((0 != _tmp2_label3) ? _tmp2_label3 : (_tmp2_label3 = g_quark_from_static_string ("org.yorba.shotwell.publishing.youtube")))) {
+ } else if (_tmp2_ == ((0 != _tmp1_label3) ? _tmp1_label3 : (_tmp1_label3 = g_quark_from_static_string ("org.yorba.shotwell.publishing.youtube")))) {
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
switch (0) {
-#line 240 "StandardHostInterface.c"
+#line 292 "StandardHostInterface.c"
default:
{
- gchar* _tmp7_;
+ gchar* _tmp6_;
#line 36 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp7_ = g_strdup ("youtube");
+ _tmp6_ = g_strdup ("youtube");
#line 36 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- result = _tmp7_;
+ result = _tmp6_;
#line 36 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return result;
-#line 250 "StandardHostInterface.c"
+#line 302 "StandardHostInterface.c"
}
}
} else {
#line 25 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
switch (0) {
-#line 256 "StandardHostInterface.c"
+#line 308 "StandardHostInterface.c"
default:
{
- const gchar* _tmp8_;
- gchar* _tmp9_;
-#line 39 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp8_ = id;
+ gchar* _tmp7_;
#line 39 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp9_ = g_strdup (_tmp8_);
+ _tmp7_ = g_strdup (id);
#line 39 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- result = _tmp9_;
+ result = _tmp7_;
#line 39 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return result;
-#line 269 "StandardHostInterface.c"
+#line 318 "StandardHostInterface.c"
}
}
}
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 44 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return self ? g_object_ref (self) : NULL;
-#line 279 "StandardHostInterface.c"
+#line 330 "StandardHostInterface.c"
}
-static GFile* plugins_standard_host_interface_real_get_module_file (SpitHostInterface* base) {
+static GFile*
+plugins_standard_host_interface_real_get_module_file (SpitHostInterface* base)
+{
PluginsStandardHostInterface * self;
GFile* result = NULL;
GFile* _tmp0_;
@@ -294,21 +347,22 @@ static GFile* plugins_standard_host_interface_real_get_module_file (SpitHostInte
result = _tmp1_;
#line 44 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return result;
-#line 298 "StandardHostInterface.c"
+#line 351 "StandardHostInterface.c"
}
-static gboolean plugins_standard_host_interface_real_get_config_bool (SpitHostInterface* base, const gchar* key, gboolean def) {
+static gboolean
+plugins_standard_host_interface_real_get_config_bool (SpitHostInterface* base,
+ const gchar* key,
+ gboolean def)
+{
PluginsStandardHostInterface * self;
gboolean result = FALSE;
ConfigFacade* _tmp0_;
ConfigFacade* _tmp1_;
const gchar* _tmp2_;
const gchar* _tmp3_;
- const gchar* _tmp4_;
- gboolean _tmp5_;
- gboolean _tmp6_;
- gboolean _tmp7_;
+ gboolean _tmp4_;
#line 47 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 47 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -322,31 +376,27 @@ static gboolean plugins_standard_host_interface_real_get_config_bool (SpitHostIn
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_tmp3_ = self->priv->config_id;
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = key;
-#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp5_ = def;
-#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp6_ = configuration_facade_get_plugin_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp7_ = _tmp6_;
+ _tmp4_ = configuration_facade_get_plugin_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, key, def);
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_object_unref0 (_tmp1_);
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- result = _tmp7_;
+ result = _tmp4_;
#line 48 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return result;
-#line 339 "StandardHostInterface.c"
+#line 387 "StandardHostInterface.c"
}
-static void plugins_standard_host_interface_real_set_config_bool (SpitHostInterface* base, const gchar* key, gboolean val) {
+static void
+plugins_standard_host_interface_real_set_config_bool (SpitHostInterface* base,
+ const gchar* key,
+ gboolean val)
+{
PluginsStandardHostInterface * self;
ConfigFacade* _tmp0_;
ConfigFacade* _tmp1_;
const gchar* _tmp2_;
const gchar* _tmp3_;
- const gchar* _tmp4_;
- gboolean _tmp5_;
#line 51 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 51 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -360,28 +410,25 @@ static void plugins_standard_host_interface_real_set_config_bool (SpitHostInterf
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_tmp3_ = self->priv->config_id;
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = key;
-#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp5_ = val;
-#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- configuration_facade_set_plugin_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
+ configuration_facade_set_plugin_bool (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, key, val);
#line 52 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_object_unref0 (_tmp1_);
-#line 371 "StandardHostInterface.c"
+#line 417 "StandardHostInterface.c"
}
-static gint plugins_standard_host_interface_real_get_config_int (SpitHostInterface* base, const gchar* key, gint def) {
+static gint
+plugins_standard_host_interface_real_get_config_int (SpitHostInterface* base,
+ const gchar* key,
+ gint def)
+{
PluginsStandardHostInterface * self;
gint result = 0;
ConfigFacade* _tmp0_;
ConfigFacade* _tmp1_;
const gchar* _tmp2_;
const gchar* _tmp3_;
- const gchar* _tmp4_;
- gint _tmp5_;
- gint _tmp6_;
- gint _tmp7_;
+ gint _tmp4_;
#line 55 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 55 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -395,31 +442,27 @@ static gint plugins_standard_host_interface_real_get_config_int (SpitHostInterfa
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_tmp3_ = self->priv->config_id;
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = key;
-#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp5_ = def;
-#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp6_ = configuration_facade_get_plugin_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp7_ = _tmp6_;
+ _tmp4_ = configuration_facade_get_plugin_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, key, def);
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_object_unref0 (_tmp1_);
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- result = _tmp7_;
+ result = _tmp4_;
#line 56 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return result;
-#line 412 "StandardHostInterface.c"
+#line 453 "StandardHostInterface.c"
}
-static void plugins_standard_host_interface_real_set_config_int (SpitHostInterface* base, const gchar* key, gint val) {
+static void
+plugins_standard_host_interface_real_set_config_int (SpitHostInterface* base,
+ const gchar* key,
+ gint val)
+{
PluginsStandardHostInterface * self;
ConfigFacade* _tmp0_;
ConfigFacade* _tmp1_;
const gchar* _tmp2_;
const gchar* _tmp3_;
- const gchar* _tmp4_;
- gint _tmp5_;
#line 59 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 59 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -433,28 +476,26 @@ static void plugins_standard_host_interface_real_set_config_int (SpitHostInterfa
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_tmp3_ = self->priv->config_id;
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = key;
-#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp5_ = val;
-#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- configuration_facade_set_plugin_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
+ configuration_facade_set_plugin_int (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, key, val);
#line 60 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_object_unref0 (_tmp1_);
-#line 444 "StandardHostInterface.c"
+#line 483 "StandardHostInterface.c"
}
-static gchar* plugins_standard_host_interface_real_get_config_string (SpitHostInterface* base, const gchar* key, const gchar* def) {
+static gchar*
+plugins_standard_host_interface_real_get_config_string (SpitHostInterface* base,
+ const gchar* key,
+ const gchar* def)
+{
PluginsStandardHostInterface * self;
gchar* result = NULL;
ConfigFacade* _tmp0_;
ConfigFacade* _tmp1_;
const gchar* _tmp2_;
const gchar* _tmp3_;
- const gchar* _tmp4_;
- const gchar* _tmp5_;
- gchar* _tmp6_;
- gchar* _tmp7_;
+ gchar* _tmp4_;
+ gchar* _tmp5_;
#line 63 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 63 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -468,31 +509,29 @@ static gchar* plugins_standard_host_interface_real_get_config_string (SpitHostIn
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_tmp3_ = self->priv->config_id;
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = key;
-#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp5_ = def;
+ _tmp4_ = configuration_facade_get_plugin_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, key, def);
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp6_ = configuration_facade_get_plugin_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp7_ = _tmp6_;
+ _tmp5_ = _tmp4_;
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_object_unref0 (_tmp1_);
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- result = _tmp7_;
+ result = _tmp5_;
#line 64 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return result;
-#line 485 "StandardHostInterface.c"
+#line 522 "StandardHostInterface.c"
}
-static void plugins_standard_host_interface_real_set_config_string (SpitHostInterface* base, const gchar* key, const gchar* val) {
+static void
+plugins_standard_host_interface_real_set_config_string (SpitHostInterface* base,
+ const gchar* key,
+ const gchar* val)
+{
PluginsStandardHostInterface * self;
ConfigFacade* _tmp0_;
ConfigFacade* _tmp1_;
const gchar* _tmp2_;
const gchar* _tmp3_;
- const gchar* _tmp4_;
- const gchar* _tmp5_;
#line 67 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 67 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -506,28 +545,25 @@ static void plugins_standard_host_interface_real_set_config_string (SpitHostInte
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_tmp3_ = self->priv->config_id;
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = key;
-#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp5_ = val;
-#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- configuration_facade_set_plugin_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
+ configuration_facade_set_plugin_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, key, val);
#line 68 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_object_unref0 (_tmp1_);
-#line 517 "StandardHostInterface.c"
+#line 552 "StandardHostInterface.c"
}
-static gdouble plugins_standard_host_interface_real_get_config_double (SpitHostInterface* base, const gchar* key, gdouble def) {
+static gdouble
+plugins_standard_host_interface_real_get_config_double (SpitHostInterface* base,
+ const gchar* key,
+ gdouble def)
+{
PluginsStandardHostInterface * self;
gdouble result = 0.0;
ConfigFacade* _tmp0_;
ConfigFacade* _tmp1_;
const gchar* _tmp2_;
const gchar* _tmp3_;
- const gchar* _tmp4_;
- gdouble _tmp5_;
- gdouble _tmp6_;
- gdouble _tmp7_;
+ gdouble _tmp4_;
#line 71 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 71 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -541,31 +577,27 @@ static gdouble plugins_standard_host_interface_real_get_config_double (SpitHostI
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_tmp3_ = self->priv->config_id;
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = key;
-#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp5_ = def;
-#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp6_ = configuration_facade_get_plugin_double (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp7_ = _tmp6_;
+ _tmp4_ = configuration_facade_get_plugin_double (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, key, def);
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_object_unref0 (_tmp1_);
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- result = _tmp7_;
+ result = _tmp4_;
#line 72 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
return result;
-#line 558 "StandardHostInterface.c"
+#line 588 "StandardHostInterface.c"
}
-static void plugins_standard_host_interface_real_set_config_double (SpitHostInterface* base, const gchar* key, gdouble val) {
+static void
+plugins_standard_host_interface_real_set_config_double (SpitHostInterface* base,
+ const gchar* key,
+ gdouble val)
+{
PluginsStandardHostInterface * self;
ConfigFacade* _tmp0_;
ConfigFacade* _tmp1_;
const gchar* _tmp2_;
const gchar* _tmp3_;
- const gchar* _tmp4_;
- gdouble _tmp5_;
#line 75 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 75 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -579,24 +611,22 @@ static void plugins_standard_host_interface_real_set_config_double (SpitHostInte
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_tmp3_ = self->priv->config_id;
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = key;
-#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp5_ = val;
-#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- configuration_facade_set_plugin_double (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_, _tmp5_);
+ configuration_facade_set_plugin_double (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, key, val);
#line 76 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_object_unref0 (_tmp1_);
-#line 590 "StandardHostInterface.c"
+#line 618 "StandardHostInterface.c"
}
-static void plugins_standard_host_interface_real_unset_config_key (SpitHostInterface* base, const gchar* key) {
+static void
+plugins_standard_host_interface_real_unset_config_key (SpitHostInterface* base,
+ const gchar* key)
+{
PluginsStandardHostInterface * self;
ConfigFacade* _tmp0_;
ConfigFacade* _tmp1_;
const gchar* _tmp2_;
const gchar* _tmp3_;
- const gchar* _tmp4_;
#line 79 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
#line 79 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -610,27 +640,29 @@ static void plugins_standard_host_interface_real_unset_config_key (SpitHostInter
#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_tmp3_ = self->priv->config_id;
#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- _tmp4_ = key;
-#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
- configuration_facade_unset_plugin_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, _tmp4_);
+ configuration_facade_unset_plugin_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_, _tmp3_, key);
#line 80 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
_g_object_unref0 (_tmp1_);
-#line 619 "StandardHostInterface.c"
+#line 647 "StandardHostInterface.c"
}
-static void plugins_standard_host_interface_class_init (PluginsStandardHostInterfaceClass * klass) {
+static void
+plugins_standard_host_interface_class_init (PluginsStandardHostInterfaceClass * klass)
+{
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
plugins_standard_host_interface_parent_class = g_type_class_peek_parent (klass);
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
g_type_class_add_private (klass, sizeof (PluginsStandardHostInterfacePrivate));
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
G_OBJECT_CLASS (klass)->finalize = plugins_standard_host_interface_finalize;
-#line 630 "StandardHostInterface.c"
+#line 660 "StandardHostInterface.c"
}
-static void plugins_standard_host_interface_spit_host_interface_interface_init (SpitHostInterfaceIface * iface) {
+static void
+plugins_standard_host_interface_spit_host_interface_interface_init (SpitHostInterfaceIface * iface)
+{
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
plugins_standard_host_interface_spit_host_interface_parent_iface = g_type_interface_peek_parent (iface);
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
@@ -653,18 +685,22 @@ static void plugins_standard_host_interface_spit_host_interface_interface_init (
iface->set_config_double = (void (*) (SpitHostInterface *, const gchar*, gdouble)) plugins_standard_host_interface_real_set_config_double;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
iface->unset_config_key = (void (*) (SpitHostInterface *, const gchar*)) plugins_standard_host_interface_real_unset_config_key;
-#line 657 "StandardHostInterface.c"
+#line 689 "StandardHostInterface.c"
}
-static void plugins_standard_host_interface_instance_init (PluginsStandardHostInterface * self) {
+static void
+plugins_standard_host_interface_instance_init (PluginsStandardHostInterface * self)
+{
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self->priv = PLUGINS_STANDARD_HOST_INTERFACE_GET_PRIVATE (self);
-#line 664 "StandardHostInterface.c"
+#line 698 "StandardHostInterface.c"
}
-static void plugins_standard_host_interface_finalize (GObject * obj) {
+static void
+plugins_standard_host_interface_finalize (GObject * obj)
+{
PluginsStandardHostInterface * self;
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PLUGINS_TYPE_STANDARD_HOST_INTERFACE, PluginsStandardHostInterface);
@@ -678,11 +714,13 @@ static void plugins_standard_host_interface_finalize (GObject * obj) {
spit_pluggable_info_destroy (&self->priv->info);
#line 9 "/home/jens/Source/shotwell/src/plugins/StandardHostInterface.vala"
G_OBJECT_CLASS (plugins_standard_host_interface_parent_class)->finalize (obj);
-#line 682 "StandardHostInterface.c"
+#line 718 "StandardHostInterface.c"
}
-GType plugins_standard_host_interface_get_type (void) {
+GType
+plugins_standard_host_interface_get_type (void)
+{
static volatile gsize plugins_standard_host_interface_type_id__volatile = 0;
if (g_once_init_enter (&plugins_standard_host_interface_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (PluginsStandardHostInterfaceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) plugins_standard_host_interface_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PluginsStandardHostInterface), 0, (GInstanceInitFunc) plugins_standard_host_interface_instance_init, NULL };
diff --git a/src/plugins/TransitionsInterfaces.c b/src/plugins/TransitionsInterfaces.c
index 0e06742..248a2e9 100644
--- a/src/plugins/TransitionsInterfaces.c
+++ b/src/plugins/TransitionsInterfaces.c
@@ -1,4 +1,4 @@
-/* TransitionsInterfaces.c generated by valac 0.36.6, the Vala compiler
+/* TransitionsInterfaces.c generated by valac 0.40.4, the Vala compiler
* generated from TransitionsInterfaces.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 <gdk-pixbuf/gdk-pixbuf.h>
@@ -31,6 +32,16 @@
typedef struct _SpitTransitionsVisuals SpitTransitionsVisuals;
typedef struct _SpitTransitionsVisualsClass SpitTransitionsVisualsClass;
typedef struct _SpitTransitionsVisualsPrivate SpitTransitionsVisualsPrivate;
+enum {
+ SPIT_TRANSITIONS_VISUALS_0_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY,
+ SPIT_TRANSITIONS_VISUALS_NUM_PROPERTIES
+};
+static GParamSpec* spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define SPIT_TRANSITIONS_TYPE_MOTION (spit_transitions_motion_get_type ())
@@ -43,6 +54,16 @@ typedef struct _SpitTransitionsVisualsPrivate SpitTransitionsVisualsPrivate;
typedef struct _SpitTransitionsMotion SpitTransitionsMotion;
typedef struct _SpitTransitionsMotionClass SpitTransitionsMotionClass;
typedef struct _SpitTransitionsMotionPrivate SpitTransitionsMotionPrivate;
+enum {
+ SPIT_TRANSITIONS_MOTION_0_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_FPS_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_TOTAL_FRAMES_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_TICK_MSEC_PROPERTY,
+ SPIT_TRANSITIONS_MOTION_NUM_PROPERTIES
+};
+static GParamSpec* spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_NUM_PROPERTIES];
#define SPIT_TYPE_PLUGGABLE (spit_pluggable_get_type ())
#define SPIT_PLUGGABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SPIT_TYPE_PLUGGABLE, SpitPluggable))
@@ -226,21 +247,27 @@ static gpointer spit_transitions_motion_parent_class = NULL;
GType spit_transitions_direction_get_type (void) G_GNUC_CONST;
GType spit_transitions_visuals_get_type (void) G_GNUC_CONST;
#define SPIT_TRANSITIONS_VISUALS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SPIT_TRANSITIONS_TYPE_VISUALS, SpitTransitionsVisualsPrivate))
-enum {
- SPIT_TRANSITIONS_VISUALS_DUMMY_PROPERTY,
- SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY,
- SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY,
- SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY,
- SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY,
- SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY
-};
-SpitTransitionsVisuals* spit_transitions_visuals_new (GdkPixbuf* from_pixbuf, GdkRectangle* from_pos, GdkPixbuf* to_pixbuf, GdkRectangle* to_pos, GdkRGBA* bg_color);
-SpitTransitionsVisuals* spit_transitions_visuals_construct (GType object_type, GdkPixbuf* from_pixbuf, GdkRectangle* from_pos, GdkPixbuf* to_pixbuf, GdkRectangle* to_pos, GdkRGBA* bg_color);
-static void spit_transitions_visuals_set_from_pixbuf (SpitTransitionsVisuals* self, GdkPixbuf* value);
-static void spit_transitions_visuals_set_from_pos (SpitTransitionsVisuals* self, GdkRectangle * value);
-static void spit_transitions_visuals_set_to_pixbuf (SpitTransitionsVisuals* self, GdkPixbuf* value);
-static void spit_transitions_visuals_set_to_pos (SpitTransitionsVisuals* self, GdkRectangle * value);
-static void spit_transitions_visuals_set_bg_color (SpitTransitionsVisuals* self, GdkRGBA * value);
+SpitTransitionsVisuals* spit_transitions_visuals_new (GdkPixbuf* from_pixbuf,
+ GdkRectangle* from_pos,
+ GdkPixbuf* to_pixbuf,
+ GdkRectangle* to_pos,
+ GdkRGBA* bg_color);
+SpitTransitionsVisuals* spit_transitions_visuals_construct (GType object_type,
+ GdkPixbuf* from_pixbuf,
+ GdkRectangle* from_pos,
+ GdkPixbuf* to_pixbuf,
+ GdkRectangle* to_pos,
+ GdkRGBA* bg_color);
+static void spit_transitions_visuals_set_from_pixbuf (SpitTransitionsVisuals* self,
+ GdkPixbuf* value);
+static void spit_transitions_visuals_set_from_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * value);
+static void spit_transitions_visuals_set_to_pixbuf (SpitTransitionsVisuals* self,
+ GdkPixbuf* value);
+static void spit_transitions_visuals_set_to_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * value);
+static void spit_transitions_visuals_set_bg_color (SpitTransitionsVisuals* self,
+ GdkRGBA * value);
void spit_transitions_visuals_reserved0 (SpitTransitionsVisuals* self);
static void spit_transitions_visuals_real_reserved0 (SpitTransitionsVisuals* self);
void spit_transitions_visuals_reserved1 (SpitTransitionsVisuals* self);
@@ -258,31 +285,43 @@ static void spit_transitions_visuals_real_reserved6 (SpitTransitionsVisuals* sel
void spit_transitions_visuals_reserved7 (SpitTransitionsVisuals* self);
static void spit_transitions_visuals_real_reserved7 (SpitTransitionsVisuals* self);
GdkPixbuf* spit_transitions_visuals_get_from_pixbuf (SpitTransitionsVisuals* self);
-void spit_transitions_visuals_get_from_pos (SpitTransitionsVisuals* self, GdkRectangle * result);
-static gboolean _cairo_rectangle_int_equal (const cairo_rectangle_int_t * s1, const cairo_rectangle_int_t * s2);
+void spit_transitions_visuals_get_from_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * result);
+static gboolean _cairo_rectangle_int_equal (const cairo_rectangle_int_t * s1,
+ const cairo_rectangle_int_t * s2);
GdkPixbuf* spit_transitions_visuals_get_to_pixbuf (SpitTransitionsVisuals* self);
-void spit_transitions_visuals_get_to_pos (SpitTransitionsVisuals* self, GdkRectangle * result);
-void spit_transitions_visuals_get_bg_color (SpitTransitionsVisuals* self, GdkRGBA * result);
-static gboolean _gdk_rgba_equal (const GdkRGBA * s1, const GdkRGBA * s2);
+void spit_transitions_visuals_get_to_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * result);
+void spit_transitions_visuals_get_bg_color (SpitTransitionsVisuals* self,
+ GdkRGBA * result);
+static gboolean _gdk_rgba_equal (const GdkRGBA * s1,
+ const GdkRGBA * s2);
static void spit_transitions_visuals_finalize (GObject * obj);
-static void _vala_spit_transitions_visuals_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
-static void _vala_spit_transitions_visuals_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
+static void _vala_spit_transitions_visuals_get_property (GObject * object,
+ guint property_id,
+ GValue * value,
+ GParamSpec * pspec);
+static void _vala_spit_transitions_visuals_set_property (GObject * object,
+ guint property_id,
+ const GValue * value,
+ GParamSpec * pspec);
GType spit_transitions_motion_get_type (void) G_GNUC_CONST;
#define SPIT_TRANSITIONS_MOTION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), SPIT_TRANSITIONS_TYPE_MOTION, SpitTransitionsMotionPrivate))
-enum {
- SPIT_TRANSITIONS_MOTION_DUMMY_PROPERTY,
- SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY,
- SPIT_TRANSITIONS_MOTION_FPS_PROPERTY,
- SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY,
- SPIT_TRANSITIONS_MOTION_TOTAL_FRAMES_PROPERTY,
- SPIT_TRANSITIONS_MOTION_TICK_MSEC_PROPERTY
-};
-SpitTransitionsMotion* spit_transitions_motion_new (SpitTransitionsDirection direction, gint fps, gint duration_msec);
-SpitTransitionsMotion* spit_transitions_motion_construct (GType object_type, SpitTransitionsDirection direction, gint fps, gint duration_msec);
-static void spit_transitions_motion_set_direction (SpitTransitionsMotion* self, SpitTransitionsDirection value);
-static void spit_transitions_motion_set_fps (SpitTransitionsMotion* self, gint value);
-static void spit_transitions_motion_set_duration_msec (SpitTransitionsMotion* self, gint value);
-gdouble spit_transitions_motion_get_alpha (SpitTransitionsMotion* self, gint frame_number);
+SpitTransitionsMotion* spit_transitions_motion_new (SpitTransitionsDirection direction,
+ gint fps,
+ gint duration_msec);
+SpitTransitionsMotion* spit_transitions_motion_construct (GType object_type,
+ SpitTransitionsDirection direction,
+ gint fps,
+ gint duration_msec);
+static void spit_transitions_motion_set_direction (SpitTransitionsMotion* self,
+ SpitTransitionsDirection value);
+static void spit_transitions_motion_set_fps (SpitTransitionsMotion* self,
+ gint value);
+static void spit_transitions_motion_set_duration_msec (SpitTransitionsMotion* self,
+ gint value);
+gdouble spit_transitions_motion_get_alpha (SpitTransitionsMotion* self,
+ gint frame_number);
gint spit_transitions_motion_get_total_frames (SpitTransitionsMotion* self);
void spit_transitions_motion_reserved0 (SpitTransitionsMotion* self);
static void spit_transitions_motion_real_reserved0 (SpitTransitionsMotion* self);
@@ -305,18 +344,26 @@ gint spit_transitions_motion_get_fps (SpitTransitionsMotion* self);
gint spit_transitions_motion_get_duration_msec (SpitTransitionsMotion* self);
gint spit_transitions_motion_get_tick_msec (SpitTransitionsMotion* self);
static void spit_transitions_motion_finalize (GObject * obj);
-static void _vala_spit_transitions_motion_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
-static void _vala_spit_transitions_motion_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
+static void _vala_spit_transitions_motion_get_property (GObject * object,
+ guint property_id,
+ GValue * value,
+ GParamSpec * pspec);
+static void _vala_spit_transitions_motion_set_property (GObject * object,
+ guint property_id,
+ const GValue * value,
+ GParamSpec * pspec);
GType spit_pluggable_info_get_type (void) G_GNUC_CONST;
SpitPluggableInfo* spit_pluggable_info_dup (const SpitPluggableInfo* self);
void spit_pluggable_info_free (SpitPluggableInfo* self);
-void spit_pluggable_info_copy (const SpitPluggableInfo* self, SpitPluggableInfo* dest);
+void spit_pluggable_info_copy (const SpitPluggableInfo* self,
+ SpitPluggableInfo* dest);
void spit_pluggable_info_destroy (SpitPluggableInfo* self);
GType spit_pluggable_get_type (void) G_GNUC_CONST;
GType spit_host_interface_get_type (void) G_GNUC_CONST;
GType spit_transitions_effect_get_type (void) G_GNUC_CONST;
GType spit_transitions_descriptor_get_type (void) G_GNUC_CONST;
-SpitTransitionsEffect* spit_transitions_descriptor_create (SpitTransitionsDescriptor* self, SpitHostInterface* host);
+SpitTransitionsEffect* spit_transitions_descriptor_create (SpitTransitionsDescriptor* self,
+ SpitHostInterface* host);
void spit_transitions_descriptor_reserved0 (SpitTransitionsDescriptor* self);
static void spit_transitions_descriptor_real_reserved0 (SpitTransitionsDescriptor* self);
void spit_transitions_descriptor_reserved1 (SpitTransitionsDescriptor* self);
@@ -333,11 +380,24 @@ void spit_transitions_descriptor_reserved6 (SpitTransitionsDescriptor* self);
static void spit_transitions_descriptor_real_reserved6 (SpitTransitionsDescriptor* self);
void spit_transitions_descriptor_reserved7 (SpitTransitionsDescriptor* self);
static void spit_transitions_descriptor_real_reserved7 (SpitTransitionsDescriptor* self);
-void spit_transitions_effect_get_fps (SpitTransitionsEffect* self, gint* desired_fps, gint* min_fps);
-void spit_transitions_effect_start (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion);
+void spit_transitions_effect_get_fps (SpitTransitionsEffect* self,
+ gint* desired_fps,
+ gint* min_fps);
+void spit_transitions_effect_start (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion);
gboolean spit_transitions_effect_needs_clear_background (SpitTransitionsEffect* self);
-void spit_transitions_effect_paint (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, cairo_t* ctx, gint width, gint height, gint frame_number);
-void spit_transitions_effect_advance (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, gint frame_number);
+void spit_transitions_effect_paint (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ cairo_t* ctx,
+ gint width,
+ gint height,
+ gint frame_number);
+void spit_transitions_effect_advance (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ gint frame_number);
void spit_transitions_effect_cancel (SpitTransitionsEffect* self);
void spit_transitions_effect_reserved0 (SpitTransitionsEffect* self);
static void spit_transitions_effect_real_reserved0 (SpitTransitionsEffect* self);
@@ -367,7 +427,9 @@ static void spit_transitions_effect_real_reserved7 (SpitTransitionsEffect* self)
*
* UP, DOWN, and diagonals may be added at some point.
*/
-GType spit_transitions_direction_get_type (void) {
+GType
+spit_transitions_direction_get_type (void)
+{
static volatile gsize spit_transitions_direction_type_id__volatile = 0;
if (g_once_init_enter (&spit_transitions_direction_type_id__volatile)) {
static const GEnumValue values[] = {{SPIT_TRANSITIONS_DIRECTION_LEFT, "SPIT_TRANSITIONS_DIRECTION_LEFT", "left"}, {SPIT_TRANSITIONS_DIRECTION_RIGHT, "SPIT_TRANSITIONS_DIRECTION_RIGHT", "right"}, {SPIT_TRANSITIONS_DIRECTION_FORWARD, "SPIT_TRANSITIONS_DIRECTION_FORWARD", "forward"}, {SPIT_TRANSITIONS_DIRECTION_BACKWARD, "SPIT_TRANSITIONS_DIRECTION_BACKWARD", "backward"}, {0, NULL, NULL}};
@@ -379,13 +441,18 @@ GType spit_transitions_direction_get_type (void) {
}
-SpitTransitionsVisuals* spit_transitions_visuals_construct (GType object_type, GdkPixbuf* from_pixbuf, GdkRectangle* from_pos, GdkPixbuf* to_pixbuf, GdkRectangle* to_pos, GdkRGBA* bg_color) {
+SpitTransitionsVisuals*
+spit_transitions_visuals_construct (GType object_type,
+ GdkPixbuf* from_pixbuf,
+ GdkRectangle* from_pos,
+ GdkPixbuf* to_pixbuf,
+ GdkRectangle* to_pos,
+ GdkRGBA* bg_color)
+{
SpitTransitionsVisuals * self = NULL;
- GdkPixbuf* _tmp0_;
+ GdkRectangle _tmp0_;
GdkRectangle _tmp1_;
- GdkPixbuf* _tmp2_;
- GdkRectangle _tmp3_;
- GdkRGBA _tmp4_;
+ GdkRGBA _tmp2_;
#line 94 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_val_if_fail ((from_pixbuf == NULL) || GDK_IS_PIXBUF (from_pixbuf), NULL);
#line 94 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -399,143 +466,179 @@ SpitTransitionsVisuals* spit_transitions_visuals_construct (GType object_type, G
#line 94 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self = (SpitTransitionsVisuals*) g_object_new (object_type, NULL);
#line 96 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = from_pixbuf;
-#line 96 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_visuals_set_from_pixbuf (self, _tmp0_);
+ spit_transitions_visuals_set_from_pixbuf (self, from_pixbuf);
#line 97 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp1_ = *from_pos;
+ _tmp0_ = *from_pos;
#line 97 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_visuals_set_from_pos (self, &_tmp1_);
-#line 98 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp2_ = to_pixbuf;
+ spit_transitions_visuals_set_from_pos (self, &_tmp0_);
#line 98 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_visuals_set_to_pixbuf (self, _tmp2_);
+ spit_transitions_visuals_set_to_pixbuf (self, to_pixbuf);
#line 99 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp3_ = *to_pos;
+ _tmp1_ = *to_pos;
#line 99 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_visuals_set_to_pos (self, &_tmp3_);
+ spit_transitions_visuals_set_to_pos (self, &_tmp1_);
#line 100 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp4_ = *bg_color;
+ _tmp2_ = *bg_color;
#line 100 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_visuals_set_bg_color (self, &_tmp4_);
+ spit_transitions_visuals_set_bg_color (self, &_tmp2_);
#line 94 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return self;
-#line 424 "TransitionsInterfaces.c"
+#line 487 "TransitionsInterfaces.c"
}
-SpitTransitionsVisuals* spit_transitions_visuals_new (GdkPixbuf* from_pixbuf, GdkRectangle* from_pos, GdkPixbuf* to_pixbuf, GdkRectangle* to_pos, GdkRGBA* bg_color) {
+SpitTransitionsVisuals*
+spit_transitions_visuals_new (GdkPixbuf* from_pixbuf,
+ GdkRectangle* from_pos,
+ GdkPixbuf* to_pixbuf,
+ GdkRectangle* to_pos,
+ GdkRGBA* bg_color)
+{
#line 94 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return spit_transitions_visuals_construct (SPIT_TRANSITIONS_TYPE_VISUALS, from_pixbuf, from_pos, to_pixbuf, to_pos, bg_color);
-#line 431 "TransitionsInterfaces.c"
+#line 500 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved0 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved0 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved0 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved0 (SpitTransitionsVisuals* self)
+{
#line 106 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 106 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved0 (self);
-#line 444 "TransitionsInterfaces.c"
+#line 517 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved1 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved1 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved1 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved1 (SpitTransitionsVisuals* self)
+{
#line 107 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 107 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved1 (self);
-#line 457 "TransitionsInterfaces.c"
+#line 534 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved2 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved2 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved2 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved2 (SpitTransitionsVisuals* self)
+{
#line 108 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 108 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved2 (self);
-#line 470 "TransitionsInterfaces.c"
+#line 551 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved3 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved3 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved3 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved3 (SpitTransitionsVisuals* self)
+{
#line 109 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 109 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved3 (self);
-#line 483 "TransitionsInterfaces.c"
+#line 568 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved4 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved4 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved4 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved4 (SpitTransitionsVisuals* self)
+{
#line 110 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 110 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved4 (self);
-#line 496 "TransitionsInterfaces.c"
+#line 585 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved5 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved5 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved5 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved5 (SpitTransitionsVisuals* self)
+{
#line 111 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 111 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved5 (self);
-#line 509 "TransitionsInterfaces.c"
+#line 602 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved6 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved6 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved6 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved6 (SpitTransitionsVisuals* self)
+{
#line 112 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 112 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved6 (self);
-#line 522 "TransitionsInterfaces.c"
+#line 619 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_real_reserved7 (SpitTransitionsVisuals* self) {
+static void
+spit_transitions_visuals_real_reserved7 (SpitTransitionsVisuals* self)
+{
}
-void spit_transitions_visuals_reserved7 (SpitTransitionsVisuals* self) {
+void
+spit_transitions_visuals_reserved7 (SpitTransitionsVisuals* self)
+{
#line 113 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 113 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_VISUALS_GET_CLASS (self)->reserved7 (self);
-#line 535 "TransitionsInterfaces.c"
+#line 636 "TransitionsInterfaces.c"
}
-GdkPixbuf* spit_transitions_visuals_get_from_pixbuf (SpitTransitionsVisuals* self) {
+GdkPixbuf*
+spit_transitions_visuals_get_from_pixbuf (SpitTransitionsVisuals* self)
+{
GdkPixbuf* result;
GdkPixbuf* _tmp0_;
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -546,41 +649,46 @@ GdkPixbuf* spit_transitions_visuals_get_from_pixbuf (SpitTransitionsVisuals* sel
result = _tmp0_;
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 550 "TransitionsInterfaces.c"
+#line 653 "TransitionsInterfaces.c"
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return self ? g_object_ref (self) : NULL;
-#line 557 "TransitionsInterfaces.c"
+#line 662 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_set_from_pixbuf (SpitTransitionsVisuals* self, GdkPixbuf* value) {
+static void
+spit_transitions_visuals_set_from_pixbuf (SpitTransitionsVisuals* self,
+ GdkPixbuf* value)
+{
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (spit_transitions_visuals_get_from_pixbuf (self) != value) {
-#line 566 "TransitionsInterfaces.c"
+#line 674 "TransitionsInterfaces.c"
GdkPixbuf* _tmp0_;
- GdkPixbuf* _tmp1_;
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = value;
-#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
+ _tmp0_ = _g_object_ref0 (value);
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
_g_object_unref0 (self->priv->_from_pixbuf);
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- self->priv->_from_pixbuf = _tmp1_;
+ self->priv->_from_pixbuf = _tmp0_;
#line 66 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "from-pixbuf");
-#line 579 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY]);
+#line 684 "TransitionsInterfaces.c"
}
}
-void spit_transitions_visuals_get_from_pos (SpitTransitionsVisuals* self, GdkRectangle * result) {
+void
+spit_transitions_visuals_get_from_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * result)
+{
GdkRectangle _tmp0_;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
@@ -590,79 +698,87 @@ void spit_transitions_visuals_get_from_pos (SpitTransitionsVisuals* self, GdkRec
*result = _tmp0_;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return;
-#line 594 "TransitionsInterfaces.c"
+#line 702 "TransitionsInterfaces.c"
}
-static gboolean _cairo_rectangle_int_equal (const cairo_rectangle_int_t * s1, const cairo_rectangle_int_t * s2) {
+static gboolean
+_cairo_rectangle_int_equal (const cairo_rectangle_int_t * s1,
+ const cairo_rectangle_int_t * s2)
+{
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1 == s2) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return TRUE;
-#line 603 "TransitionsInterfaces.c"
+#line 714 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1 == NULL) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 609 "TransitionsInterfaces.c"
+#line 720 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s2 == NULL) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 615 "TransitionsInterfaces.c"
+#line 726 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->x != s2->x) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 621 "TransitionsInterfaces.c"
+#line 732 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->y != s2->y) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 627 "TransitionsInterfaces.c"
+#line 738 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->width != s2->width) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 633 "TransitionsInterfaces.c"
+#line 744 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->height != s2->height) {
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 639 "TransitionsInterfaces.c"
+#line 750 "TransitionsInterfaces.c"
}
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return TRUE;
-#line 643 "TransitionsInterfaces.c"
+#line 754 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_set_from_pos (SpitTransitionsVisuals* self, GdkRectangle * value) {
+static void
+spit_transitions_visuals_set_from_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * value)
+{
GdkRectangle old_value;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (_cairo_rectangle_int_equal (value, (spit_transitions_visuals_get_from_pos (self, &old_value), &old_value)) != TRUE) {
-#line 653 "TransitionsInterfaces.c"
+#line 767 "TransitionsInterfaces.c"
GdkRectangle _tmp0_;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
_tmp0_ = *value;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self->priv->_from_pos = _tmp0_;
#line 73 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "from-pos");
-#line 661 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY]);
+#line 775 "TransitionsInterfaces.c"
}
}
-GdkPixbuf* spit_transitions_visuals_get_to_pixbuf (SpitTransitionsVisuals* self) {
+GdkPixbuf*
+spit_transitions_visuals_get_to_pixbuf (SpitTransitionsVisuals* self)
+{
GdkPixbuf* result;
GdkPixbuf* _tmp0_;
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -673,34 +789,37 @@ GdkPixbuf* spit_transitions_visuals_get_to_pixbuf (SpitTransitionsVisuals* self)
result = _tmp0_;
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 677 "TransitionsInterfaces.c"
+#line 793 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_set_to_pixbuf (SpitTransitionsVisuals* self, GdkPixbuf* value) {
+static void
+spit_transitions_visuals_set_to_pixbuf (SpitTransitionsVisuals* self,
+ GdkPixbuf* value)
+{
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (spit_transitions_visuals_get_to_pixbuf (self) != value) {
-#line 686 "TransitionsInterfaces.c"
+#line 805 "TransitionsInterfaces.c"
GdkPixbuf* _tmp0_;
- GdkPixbuf* _tmp1_;
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = value;
-#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
+ _tmp0_ = _g_object_ref0 (value);
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
_g_object_unref0 (self->priv->_to_pixbuf);
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- self->priv->_to_pixbuf = _tmp1_;
+ self->priv->_to_pixbuf = _tmp0_;
#line 80 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "to-pixbuf");
-#line 699 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY]);
+#line 815 "TransitionsInterfaces.c"
}
}
-void spit_transitions_visuals_get_to_pos (SpitTransitionsVisuals* self, GdkRectangle * result) {
+void
+spit_transitions_visuals_get_to_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * result)
+{
GdkRectangle _tmp0_;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
@@ -710,30 +829,36 @@ void spit_transitions_visuals_get_to_pos (SpitTransitionsVisuals* self, GdkRecta
*result = _tmp0_;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return;
-#line 714 "TransitionsInterfaces.c"
+#line 833 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_set_to_pos (SpitTransitionsVisuals* self, GdkRectangle * value) {
+static void
+spit_transitions_visuals_set_to_pos (SpitTransitionsVisuals* self,
+ GdkRectangle * value)
+{
GdkRectangle old_value;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (_cairo_rectangle_int_equal (value, (spit_transitions_visuals_get_to_pos (self, &old_value), &old_value)) != TRUE) {
-#line 724 "TransitionsInterfaces.c"
+#line 846 "TransitionsInterfaces.c"
GdkRectangle _tmp0_;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
_tmp0_ = *value;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self->priv->_to_pos = _tmp0_;
#line 87 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "to-pos");
-#line 732 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY]);
+#line 854 "TransitionsInterfaces.c"
}
}
-void spit_transitions_visuals_get_bg_color (SpitTransitionsVisuals* self, GdkRGBA * result) {
+void
+spit_transitions_visuals_get_bg_color (SpitTransitionsVisuals* self,
+ GdkRGBA * result)
+{
GdkRGBA _tmp0_;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
@@ -743,79 +868,87 @@ void spit_transitions_visuals_get_bg_color (SpitTransitionsVisuals* self, GdkRGB
*result = _tmp0_;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return;
-#line 747 "TransitionsInterfaces.c"
+#line 872 "TransitionsInterfaces.c"
}
-static gboolean _gdk_rgba_equal (const GdkRGBA * s1, const GdkRGBA * s2) {
+static gboolean
+_gdk_rgba_equal (const GdkRGBA * s1,
+ const GdkRGBA * s2)
+{
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1 == s2) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return TRUE;
-#line 756 "TransitionsInterfaces.c"
+#line 884 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1 == NULL) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 762 "TransitionsInterfaces.c"
+#line 890 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s2 == NULL) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 768 "TransitionsInterfaces.c"
+#line 896 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->red != s2->red) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 774 "TransitionsInterfaces.c"
+#line 902 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->green != s2->green) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 780 "TransitionsInterfaces.c"
+#line 908 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->blue != s2->blue) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 786 "TransitionsInterfaces.c"
+#line 914 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (s1->alpha != s2->alpha) {
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return FALSE;
-#line 792 "TransitionsInterfaces.c"
+#line 920 "TransitionsInterfaces.c"
}
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return TRUE;
-#line 796 "TransitionsInterfaces.c"
+#line 924 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_set_bg_color (SpitTransitionsVisuals* self, GdkRGBA * value) {
+static void
+spit_transitions_visuals_set_bg_color (SpitTransitionsVisuals* self,
+ GdkRGBA * value)
+{
GdkRGBA old_value;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_VISUALS (self));
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (_gdk_rgba_equal (value, (spit_transitions_visuals_get_bg_color (self, &old_value), &old_value)) != TRUE) {
-#line 806 "TransitionsInterfaces.c"
+#line 937 "TransitionsInterfaces.c"
GdkRGBA _tmp0_;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
_tmp0_ = *value;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self->priv->_bg_color = _tmp0_;
#line 92 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "bg-color");
-#line 814 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY]);
+#line 945 "TransitionsInterfaces.c"
}
}
-static void spit_transitions_visuals_class_init (SpitTransitionsVisualsClass * klass) {
+static void
+spit_transitions_visuals_class_init (SpitTransitionsVisualsClass * klass)
+{
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
spit_transitions_visuals_parent_class = g_type_class_peek_parent (klass);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -842,56 +975,60 @@ static void spit_transitions_visuals_class_init (SpitTransitionsVisualsClass * k
G_OBJECT_CLASS (klass)->set_property = _vala_spit_transitions_visuals_set_property;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_CLASS (klass)->finalize = spit_transitions_visuals_finalize;
-#line 846 "TransitionsInterfaces.c"
+#line 979 "TransitionsInterfaces.c"
/**
* Returns the starting pixbuf (the pixbuf currently on the display).
*
* If transitioning from a blank screen, this will return null.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY, g_param_spec_object ("from-pixbuf", "from-pixbuf", "from-pixbuf", gdk_pixbuf_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 854 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF_PROPERTY] = g_param_spec_object ("from-pixbuf", "from-pixbuf", "from-pixbuf", gdk_pixbuf_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 987 "TransitionsInterfaces.c"
/**
* Returns the position of the starting pixbuf on the display.
*
* If transitioning from a blank screen, this will be zeroed.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY, g_param_spec_boxed ("from-pos", "from-pos", "from-pos", gdk_rectangle_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 862 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY] = g_param_spec_boxed ("from-pos", "from-pos", "from-pos", gdk_rectangle_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 995 "TransitionsInterfaces.c"
/**
* Returns the ending pixbuf (the pixbuf that the transition should result in).
*
* If transitioning to a blank screen, this will return null.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY, g_param_spec_object ("to-pixbuf", "to-pixbuf", "to-pixbuf", gdk_pixbuf_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 870 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_TO_PIXBUF_PROPERTY] = g_param_spec_object ("to-pixbuf", "to-pixbuf", "to-pixbuf", gdk_pixbuf_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1003 "TransitionsInterfaces.c"
/**
* Returns the position of the ending pixbuf on the display.
*
* If transitioning to a blank screen, this will be zeroed.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY, g_param_spec_boxed ("to-pos", "to-pos", "to-pos", gdk_rectangle_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 878 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY] = g_param_spec_boxed ("to-pos", "to-pos", "to-pos", gdk_rectangle_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1011 "TransitionsInterfaces.c"
/**
* Returns the background color of the viewport.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY, g_param_spec_boxed ("bg-color", "bg-color", "bg-color", gdk_rgba_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 884 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY, spit_transitions_visuals_properties[SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY] = g_param_spec_boxed ("bg-color", "bg-color", "bg-color", gdk_rgba_get_type (), G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1017 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_instance_init (SpitTransitionsVisuals * self) {
+static void
+spit_transitions_visuals_instance_init (SpitTransitionsVisuals * self)
+{
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self->priv = SPIT_TRANSITIONS_VISUALS_GET_PRIVATE (self);
-#line 891 "TransitionsInterfaces.c"
+#line 1026 "TransitionsInterfaces.c"
}
-static void spit_transitions_visuals_finalize (GObject * obj) {
+static void
+spit_transitions_visuals_finalize (GObject * obj)
+{
SpitTransitionsVisuals * self;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SPIT_TRANSITIONS_TYPE_VISUALS, SpitTransitionsVisuals);
@@ -901,7 +1038,7 @@ static void spit_transitions_visuals_finalize (GObject * obj) {
_g_object_unref0 (self->priv->_to_pixbuf);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_CLASS (spit_transitions_visuals_parent_class)->finalize (obj);
-#line 905 "TransitionsInterfaces.c"
+#line 1042 "TransitionsInterfaces.c"
}
@@ -919,7 +1056,9 @@ static void spit_transitions_visuals_finalize (GObject * obj) {
* zeroed. Like the prior case, the transition should move toward a blank screen of the background
* color.
*/
-GType spit_transitions_visuals_get_type (void) {
+GType
+spit_transitions_visuals_get_type (void)
+{
static volatile gsize spit_transitions_visuals_type_id__volatile = 0;
if (g_once_init_enter (&spit_transitions_visuals_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitTransitionsVisualsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spit_transitions_visuals_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpitTransitionsVisuals), 0, (GInstanceInitFunc) spit_transitions_visuals_instance_init, NULL };
@@ -931,7 +1070,12 @@ GType spit_transitions_visuals_get_type (void) {
}
-static void _vala_spit_transitions_visuals_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
+static void
+_vala_spit_transitions_visuals_get_property (GObject * object,
+ guint property_id,
+ GValue * value,
+ GParamSpec * pspec)
+{
SpitTransitionsVisuals * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, SPIT_TRANSITIONS_TYPE_VISUALS, SpitTransitionsVisuals);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -944,14 +1088,14 @@ static void _vala_spit_transitions_visuals_get_property (GObject * object, guint
break;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
case SPIT_TRANSITIONS_VISUALS_FROM_POS_PROPERTY:
-#line 948 "TransitionsInterfaces.c"
+#line 1092 "TransitionsInterfaces.c"
{
GdkRectangle boxed;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
spit_transitions_visuals_get_from_pos (self, &boxed);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_value_set_boxed (value, &boxed);
-#line 955 "TransitionsInterfaces.c"
+#line 1099 "TransitionsInterfaces.c"
}
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
@@ -963,42 +1107,47 @@ static void _vala_spit_transitions_visuals_get_property (GObject * object, guint
break;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
case SPIT_TRANSITIONS_VISUALS_TO_POS_PROPERTY:
-#line 967 "TransitionsInterfaces.c"
+#line 1111 "TransitionsInterfaces.c"
{
GdkRectangle boxed;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
spit_transitions_visuals_get_to_pos (self, &boxed);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_value_set_boxed (value, &boxed);
-#line 974 "TransitionsInterfaces.c"
+#line 1118 "TransitionsInterfaces.c"
}
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
case SPIT_TRANSITIONS_VISUALS_BG_COLOR_PROPERTY:
-#line 980 "TransitionsInterfaces.c"
+#line 1124 "TransitionsInterfaces.c"
{
GdkRGBA boxed;
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
spit_transitions_visuals_get_bg_color (self, &boxed);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_value_set_boxed (value, &boxed);
-#line 987 "TransitionsInterfaces.c"
+#line 1131 "TransitionsInterfaces.c"
}
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 991 "TransitionsInterfaces.c"
+#line 1135 "TransitionsInterfaces.c"
default:
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 997 "TransitionsInterfaces.c"
+#line 1141 "TransitionsInterfaces.c"
}
}
-static void _vala_spit_transitions_visuals_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
+static void
+_vala_spit_transitions_visuals_set_property (GObject * object,
+ guint property_id,
+ const GValue * value,
+ GParamSpec * pspec)
+{
SpitTransitionsVisuals * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, SPIT_TRANSITIONS_TYPE_VISUALS, SpitTransitionsVisuals);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1033,46 +1182,46 @@ static void _vala_spit_transitions_visuals_set_property (GObject * object, guint
spit_transitions_visuals_set_bg_color (self, g_value_get_boxed (value));
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1037 "TransitionsInterfaces.c"
+#line 1186 "TransitionsInterfaces.c"
default:
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1043 "TransitionsInterfaces.c"
+#line 1192 "TransitionsInterfaces.c"
}
}
-SpitTransitionsMotion* spit_transitions_motion_construct (GType object_type, SpitTransitionsDirection direction, gint fps, gint duration_msec) {
+SpitTransitionsMotion*
+spit_transitions_motion_construct (GType object_type,
+ SpitTransitionsDirection direction,
+ gint fps,
+ gint duration_msec)
+{
SpitTransitionsMotion * self = NULL;
- SpitTransitionsDirection _tmp0_;
- gint _tmp1_;
- gint _tmp2_;
#line 157 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self = (SpitTransitionsMotion*) g_object_new (object_type, NULL);
#line 158 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = direction;
-#line 158 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_motion_set_direction (self, _tmp0_);
+ spit_transitions_motion_set_direction (self, direction);
#line 159 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp1_ = fps;
-#line 159 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_motion_set_fps (self, _tmp1_);
-#line 160 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp2_ = duration_msec;
+ spit_transitions_motion_set_fps (self, fps);
#line 160 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- spit_transitions_motion_set_duration_msec (self, _tmp2_);
+ spit_transitions_motion_set_duration_msec (self, duration_msec);
#line 157 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return self;
-#line 1069 "TransitionsInterfaces.c"
+#line 1214 "TransitionsInterfaces.c"
}
-SpitTransitionsMotion* spit_transitions_motion_new (SpitTransitionsDirection direction, gint fps, gint duration_msec) {
+SpitTransitionsMotion*
+spit_transitions_motion_new (SpitTransitionsDirection direction,
+ gint fps,
+ gint duration_msec)
+{
#line 157 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return spit_transitions_motion_construct (SPIT_TRANSITIONS_TYPE_MOTION, direction, fps, duration_msec);
-#line 1076 "TransitionsInterfaces.c"
+#line 1225 "TransitionsInterfaces.c"
}
@@ -1080,132 +1229,166 @@ SpitTransitionsMotion* spit_transitions_motion_new (SpitTransitionsDirection dir
* Returns a value from 0.0 to 1.0 that represents the percentage of the transition's completion
* for the specified frame.
*/
-gdouble spit_transitions_motion_get_alpha (SpitTransitionsMotion* self, gint frame_number) {
+gdouble
+spit_transitions_motion_get_alpha (SpitTransitionsMotion* self,
+ gint frame_number)
+{
gdouble result = 0.0;
gint _tmp0_;
gint _tmp1_;
- gint _tmp2_;
#line 167 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_val_if_fail (SPIT_TRANSITIONS_IS_MOTION (self), 0.0);
#line 168 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = frame_number;
+ _tmp0_ = spit_transitions_motion_get_total_frames (self);
#line 168 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp1_ = spit_transitions_motion_get_total_frames (self);
+ _tmp1_ = _tmp0_;
#line 168 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp2_ = _tmp1_;
-#line 168 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- result = ((gdouble) _tmp0_) / ((gdouble) _tmp2_);
+ result = ((gdouble) frame_number) / ((gdouble) _tmp1_);
#line 168 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1101 "TransitionsInterfaces.c"
+#line 1250 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved0 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved0 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved0 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved0 (SpitTransitionsMotion* self)
+{
#line 174 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 174 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved0 (self);
-#line 1114 "TransitionsInterfaces.c"
+#line 1267 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved1 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved1 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved1 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved1 (SpitTransitionsMotion* self)
+{
#line 175 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 175 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved1 (self);
-#line 1127 "TransitionsInterfaces.c"
+#line 1284 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved2 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved2 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved2 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved2 (SpitTransitionsMotion* self)
+{
#line 176 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 176 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved2 (self);
-#line 1140 "TransitionsInterfaces.c"
+#line 1301 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved3 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved3 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved3 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved3 (SpitTransitionsMotion* self)
+{
#line 177 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 177 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved3 (self);
-#line 1153 "TransitionsInterfaces.c"
+#line 1318 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved4 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved4 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved4 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved4 (SpitTransitionsMotion* self)
+{
#line 178 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 178 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved4 (self);
-#line 1166 "TransitionsInterfaces.c"
+#line 1335 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved5 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved5 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved5 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved5 (SpitTransitionsMotion* self)
+{
#line 179 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 179 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved5 (self);
-#line 1179 "TransitionsInterfaces.c"
+#line 1352 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved6 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved6 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved6 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved6 (SpitTransitionsMotion* self)
+{
#line 180 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 180 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved6 (self);
-#line 1192 "TransitionsInterfaces.c"
+#line 1369 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_real_reserved7 (SpitTransitionsMotion* self) {
+static void
+spit_transitions_motion_real_reserved7 (SpitTransitionsMotion* self)
+{
}
-void spit_transitions_motion_reserved7 (SpitTransitionsMotion* self) {
+void
+spit_transitions_motion_reserved7 (SpitTransitionsMotion* self)
+{
#line 181 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 181 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_MOTION_GET_CLASS (self)->reserved7 (self);
-#line 1205 "TransitionsInterfaces.c"
+#line 1386 "TransitionsInterfaces.c"
}
-SpitTransitionsDirection spit_transitions_motion_get_direction (SpitTransitionsMotion* self) {
+SpitTransitionsDirection
+spit_transitions_motion_get_direction (SpitTransitionsMotion* self)
+{
SpitTransitionsDirection result;
SpitTransitionsDirection _tmp0_;
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1216,29 +1399,30 @@ SpitTransitionsDirection spit_transitions_motion_get_direction (SpitTransitionsM
result = _tmp0_;
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1220 "TransitionsInterfaces.c"
+#line 1403 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_set_direction (SpitTransitionsMotion* self, SpitTransitionsDirection value) {
+static void
+spit_transitions_motion_set_direction (SpitTransitionsMotion* self,
+ SpitTransitionsDirection value)
+{
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (spit_transitions_motion_get_direction (self) != value) {
-#line 1229 "TransitionsInterfaces.c"
- SpitTransitionsDirection _tmp0_;
-#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = value;
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- self->priv->_direction = _tmp0_;
+ self->priv->_direction = value;
#line 126 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "direction");
-#line 1237 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY]);
+#line 1419 "TransitionsInterfaces.c"
}
}
-gint spit_transitions_motion_get_fps (SpitTransitionsMotion* self) {
+gint
+spit_transitions_motion_get_fps (SpitTransitionsMotion* self)
+{
gint result;
gint _tmp0_;
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1249,29 +1433,30 @@ gint spit_transitions_motion_get_fps (SpitTransitionsMotion* self) {
result = _tmp0_;
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1253 "TransitionsInterfaces.c"
+#line 1437 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_set_fps (SpitTransitionsMotion* self, gint value) {
+static void
+spit_transitions_motion_set_fps (SpitTransitionsMotion* self,
+ gint value)
+{
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (spit_transitions_motion_get_fps (self) != value) {
-#line 1262 "TransitionsInterfaces.c"
- gint _tmp0_;
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = value;
+ self->priv->_fps = value;
#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- self->priv->_fps = _tmp0_;
-#line 131 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "fps");
-#line 1270 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_FPS_PROPERTY]);
+#line 1453 "TransitionsInterfaces.c"
}
}
-gint spit_transitions_motion_get_duration_msec (SpitTransitionsMotion* self) {
+gint
+spit_transitions_motion_get_duration_msec (SpitTransitionsMotion* self)
+{
gint result;
gint _tmp0_;
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1282,29 +1467,30 @@ gint spit_transitions_motion_get_duration_msec (SpitTransitionsMotion* self) {
result = _tmp0_;
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1286 "TransitionsInterfaces.c"
+#line 1471 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_set_duration_msec (SpitTransitionsMotion* self, gint value) {
+static void
+spit_transitions_motion_set_duration_msec (SpitTransitionsMotion* self,
+ gint value)
+{
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_MOTION (self));
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
if (spit_transitions_motion_get_duration_msec (self) != value) {
-#line 1295 "TransitionsInterfaces.c"
- gint _tmp0_;
-#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- _tmp0_ = value;
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- self->priv->_duration_msec = _tmp0_;
+ self->priv->_duration_msec = value;
#line 136 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_notify ((GObject *) self, "duration-msec");
-#line 1303 "TransitionsInterfaces.c"
+ g_object_notify_by_pspec ((GObject *) self, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY]);
+#line 1487 "TransitionsInterfaces.c"
}
}
-gint spit_transitions_motion_get_total_frames (SpitTransitionsMotion* self) {
+gint
+spit_transitions_motion_get_total_frames (SpitTransitionsMotion* self)
+{
gint result;
gint _tmp0_;
gint _tmp1_;
@@ -1318,11 +1504,13 @@ gint spit_transitions_motion_get_total_frames (SpitTransitionsMotion* self) {
result = (gint) (((gdouble) _tmp0_) * (((gdouble) _tmp1_) / 1000.0));
#line 144 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1322 "TransitionsInterfaces.c"
+#line 1508 "TransitionsInterfaces.c"
}
-gint spit_transitions_motion_get_tick_msec (SpitTransitionsMotion* self) {
+gint
+spit_transitions_motion_get_tick_msec (SpitTransitionsMotion* self)
+{
gint result;
gint _tmp0_;
#line 152 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1333,11 +1521,13 @@ gint spit_transitions_motion_get_tick_msec (SpitTransitionsMotion* self) {
result = (gint) (1000.0 / ((gdouble) _tmp0_));
#line 153 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return result;
-#line 1337 "TransitionsInterfaces.c"
+#line 1525 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_class_init (SpitTransitionsMotionClass * klass) {
+static void
+spit_transitions_motion_class_init (SpitTransitionsMotionClass * klass)
+{
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
spit_transitions_motion_parent_class = g_type_class_peek_parent (klass);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1364,55 +1554,59 @@ static void spit_transitions_motion_class_init (SpitTransitionsMotionClass * kla
G_OBJECT_CLASS (klass)->set_property = _vala_spit_transitions_motion_set_property;
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_CLASS (klass)->finalize = spit_transitions_motion_finalize;
-#line 1368 "TransitionsInterfaces.c"
+#line 1558 "TransitionsInterfaces.c"
/**
* Returns the direction the transition should occur in (if pertinent to the {@link Effect}.
*/
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY, g_param_spec_enum ("direction", "direction", "direction", SPIT_TRANSITIONS_TYPE_DIRECTION, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 1374 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_DIRECTION_PROPERTY] = g_param_spec_enum ("direction", "direction", "direction", SPIT_TRANSITIONS_TYPE_DIRECTION, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1564 "TransitionsInterfaces.c"
/**
* Returns the frames per second of the {@link Effect}.
*/
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_FPS_PROPERTY, g_param_spec_int ("fps", "fps", "fps", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 1380 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_FPS_PROPERTY, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_FPS_PROPERTY] = g_param_spec_int ("fps", "fps", "fps", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1570 "TransitionsInterfaces.c"
/**
* Returns the amount of time the transition should take (in milliseconds).
*/
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY, g_param_spec_int ("duration-msec", "duration-msec", "duration-msec", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 1386 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_DURATION_MSEC_PROPERTY] = g_param_spec_int ("duration-msec", "duration-msec", "duration-msec", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1576 "TransitionsInterfaces.c"
/**
* Returns the number of frames that should be required to perform the transition in the
* expected {@link duration_msec}.
*/
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_TOTAL_FRAMES_PROPERTY, g_param_spec_int ("total-frames", "total-frames", "total-frames", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 1393 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_TOTAL_FRAMES_PROPERTY, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_TOTAL_FRAMES_PROPERTY] = g_param_spec_int ("total-frames", "total-frames", "total-frames", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1583 "TransitionsInterfaces.c"
/**
* Returns the approximate time between each frame draw (in milliseconds).
*/
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_TICK_MSEC_PROPERTY, g_param_spec_int ("tick-msec", "tick-msec", "tick-msec", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
-#line 1399 "TransitionsInterfaces.c"
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_MOTION_TICK_MSEC_PROPERTY, spit_transitions_motion_properties[SPIT_TRANSITIONS_MOTION_TICK_MSEC_PROPERTY] = g_param_spec_int ("tick-msec", "tick-msec", "tick-msec", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
+#line 1589 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_instance_init (SpitTransitionsMotion * self) {
+static void
+spit_transitions_motion_instance_init (SpitTransitionsMotion * self)
+{
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self->priv = SPIT_TRANSITIONS_MOTION_GET_PRIVATE (self);
-#line 1406 "TransitionsInterfaces.c"
+#line 1598 "TransitionsInterfaces.c"
}
-static void spit_transitions_motion_finalize (GObject * obj) {
+static void
+spit_transitions_motion_finalize (GObject * obj)
+{
SpitTransitionsMotion * self;
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SPIT_TRANSITIONS_TYPE_MOTION, SpitTransitionsMotion);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_CLASS (spit_transitions_motion_parent_class)->finalize (obj);
-#line 1416 "TransitionsInterfaces.c"
+#line 1610 "TransitionsInterfaces.c"
}
@@ -1422,7 +1616,9 @@ static void spit_transitions_motion_finalize (GObject * obj) {
* Some of Motion's information may not apply to a transition effect (such as Direction for a
* fade effect).
*/
-GType spit_transitions_motion_get_type (void) {
+GType
+spit_transitions_motion_get_type (void)
+{
static volatile gsize spit_transitions_motion_type_id__volatile = 0;
if (g_once_init_enter (&spit_transitions_motion_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitTransitionsMotionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) spit_transitions_motion_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SpitTransitionsMotion), 0, (GInstanceInitFunc) spit_transitions_motion_instance_init, NULL };
@@ -1434,7 +1630,12 @@ GType spit_transitions_motion_get_type (void) {
}
-static void _vala_spit_transitions_motion_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
+static void
+_vala_spit_transitions_motion_get_property (GObject * object,
+ guint property_id,
+ GValue * value,
+ GParamSpec * pspec)
+{
SpitTransitionsMotion * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, SPIT_TRANSITIONS_TYPE_MOTION, SpitTransitionsMotion);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1469,18 +1670,23 @@ static void _vala_spit_transitions_motion_get_property (GObject * object, guint
g_value_set_int (value, spit_transitions_motion_get_tick_msec (self));
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1473 "TransitionsInterfaces.c"
+#line 1674 "TransitionsInterfaces.c"
default:
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1479 "TransitionsInterfaces.c"
+#line 1680 "TransitionsInterfaces.c"
}
}
-static void _vala_spit_transitions_motion_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
+static void
+_vala_spit_transitions_motion_set_property (GObject * object,
+ guint property_id,
+ const GValue * value,
+ GParamSpec * pspec)
+{
SpitTransitionsMotion * self;
self = G_TYPE_CHECK_INSTANCE_CAST (object, SPIT_TRANSITIONS_TYPE_MOTION, SpitTransitionsMotion);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1503,13 +1709,13 @@ static void _vala_spit_transitions_motion_set_property (GObject * object, guint
spit_transitions_motion_set_duration_msec (self, g_value_get_int (value));
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1507 "TransitionsInterfaces.c"
+#line 1713 "TransitionsInterfaces.c"
default:
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 122 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
break;
-#line 1513 "TransitionsInterfaces.c"
+#line 1719 "TransitionsInterfaces.c"
}
}
@@ -1517,120 +1723,157 @@ static void _vala_spit_transitions_motion_set_property (GObject * object, guint
/**
* Returns an instance of the {@link Effect} this descriptor represents.
*/
-SpitTransitionsEffect* spit_transitions_descriptor_create (SpitTransitionsDescriptor* self, SpitHostInterface* host) {
+SpitTransitionsEffect*
+spit_transitions_descriptor_create (SpitTransitionsDescriptor* self,
+ SpitHostInterface* host)
+{
#line 191 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_val_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self), NULL);
#line 191 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->create (self, host);
-#line 1526 "TransitionsInterfaces.c"
+#line 1735 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved0 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved0 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved0 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved0 (SpitTransitionsDescriptor* self)
+{
#line 196 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 196 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved0 (self);
-#line 1539 "TransitionsInterfaces.c"
+#line 1752 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved1 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved1 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved1 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved1 (SpitTransitionsDescriptor* self)
+{
#line 197 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 197 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved1 (self);
-#line 1552 "TransitionsInterfaces.c"
+#line 1769 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved2 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved2 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved2 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved2 (SpitTransitionsDescriptor* self)
+{
#line 198 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 198 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved2 (self);
-#line 1565 "TransitionsInterfaces.c"
+#line 1786 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved3 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved3 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved3 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved3 (SpitTransitionsDescriptor* self)
+{
#line 199 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 199 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved3 (self);
-#line 1578 "TransitionsInterfaces.c"
+#line 1803 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved4 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved4 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved4 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved4 (SpitTransitionsDescriptor* self)
+{
#line 200 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 200 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved4 (self);
-#line 1591 "TransitionsInterfaces.c"
+#line 1820 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved5 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved5 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved5 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved5 (SpitTransitionsDescriptor* self)
+{
#line 201 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 201 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved5 (self);
-#line 1604 "TransitionsInterfaces.c"
+#line 1837 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved6 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved6 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved6 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved6 (SpitTransitionsDescriptor* self)
+{
#line 202 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 202 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved6 (self);
-#line 1617 "TransitionsInterfaces.c"
+#line 1854 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_real_reserved7 (SpitTransitionsDescriptor* self) {
+static void
+spit_transitions_descriptor_real_reserved7 (SpitTransitionsDescriptor* self)
+{
}
-void spit_transitions_descriptor_reserved7 (SpitTransitionsDescriptor* self) {
+void
+spit_transitions_descriptor_reserved7 (SpitTransitionsDescriptor* self)
+{
#line 203 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_DESCRIPTOR (self));
#line 203 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_DESCRIPTOR_GET_INTERFACE (self)->reserved7 (self);
-#line 1630 "TransitionsInterfaces.c"
+#line 1871 "TransitionsInterfaces.c"
}
-static void spit_transitions_descriptor_base_init (SpitTransitionsDescriptorIface * iface) {
+static void
+spit_transitions_descriptor_base_init (SpitTransitionsDescriptorIface * iface)
+{
#line 187 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
static gboolean initialized = FALSE;
#line 187 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1653,7 +1896,7 @@ static void spit_transitions_descriptor_base_init (SpitTransitionsDescriptorIfac
iface->reserved6 = spit_transitions_descriptor_real_reserved6;
#line 187 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
iface->reserved7 = spit_transitions_descriptor_real_reserved7;
-#line 1657 "TransitionsInterfaces.c"
+#line 1900 "TransitionsInterfaces.c"
}
}
@@ -1661,7 +1904,9 @@ static void spit_transitions_descriptor_base_init (SpitTransitionsDescriptorIfac
/**
* A Descriptor offers a factory method for creating {@link Effect} instances.
*/
-GType spit_transitions_descriptor_get_type (void) {
+GType
+spit_transitions_descriptor_get_type (void)
+{
static volatile gsize spit_transitions_descriptor_type_id__volatile = 0;
if (g_once_init_enter (&spit_transitions_descriptor_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitTransitionsDescriptorIface), (GBaseInitFunc) spit_transitions_descriptor_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
@@ -1685,12 +1930,16 @@ GType spit_transitions_descriptor_get_type (void) {
* @param min_fps The minimum FPS before the effect is consider "ruined".
* Return zero if any FPS is acceptable.
*/
-void spit_transitions_effect_get_fps (SpitTransitionsEffect* self, gint* desired_fps, gint* min_fps) {
+void
+spit_transitions_effect_get_fps (SpitTransitionsEffect* self,
+ gint* desired_fps,
+ gint* min_fps)
+{
#line 240 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 240 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->get_fps (self, desired_fps, min_fps);
-#line 1694 "TransitionsInterfaces.c"
+#line 1943 "TransitionsInterfaces.c"
}
@@ -1699,24 +1948,30 @@ void spit_transitions_effect_get_fps (SpitTransitionsEffect* self, gint* desired
*
* All state should be reset. The frame number, which is not supplied, is one.
*/
-void spit_transitions_effect_start (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion) {
+void
+spit_transitions_effect_start (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion)
+{
#line 247 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 247 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->start (self, visuals, motion);
-#line 1708 "TransitionsInterfaces.c"
+#line 1961 "TransitionsInterfaces.c"
}
/**
* Return true if the Effect needs the background cleared prior to calling {@link paint}.
*/
-gboolean spit_transitions_effect_needs_clear_background (SpitTransitionsEffect* self) {
+gboolean
+spit_transitions_effect_needs_clear_background (SpitTransitionsEffect* self)
+{
#line 252 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_val_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self), FALSE);
#line 252 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
return SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->needs_clear_background (self);
-#line 1720 "TransitionsInterfaces.c"
+#line 1975 "TransitionsInterfaces.c"
}
@@ -1731,12 +1986,20 @@ gboolean spit_transitions_effect_needs_clear_background (SpitTransitionsEffect*
* @param height The height (in pixels) of the Cairo surface.
* @param frame_number The ''one-based'' frame being drawn.
*/
-void spit_transitions_effect_paint (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, cairo_t* ctx, gint width, gint height, gint frame_number) {
+void
+spit_transitions_effect_paint (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ cairo_t* ctx,
+ gint width,
+ gint height,
+ gint frame_number)
+{
#line 265 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 265 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->paint (self, visuals, motion, ctx, width, height, frame_number);
-#line 1740 "TransitionsInterfaces.c"
+#line 2003 "TransitionsInterfaces.c"
}
@@ -1749,12 +2012,17 @@ void spit_transitions_effect_paint (SpitTransitionsEffect* self, SpitTransitions
*
* @param frame_number The ''one-based'' frame being advanced to.
*/
-void spit_transitions_effect_advance (SpitTransitionsEffect* self, SpitTransitionsVisuals* visuals, SpitTransitionsMotion* motion, gint frame_number) {
+void
+spit_transitions_effect_advance (SpitTransitionsEffect* self,
+ SpitTransitionsVisuals* visuals,
+ SpitTransitionsMotion* motion,
+ gint frame_number)
+{
#line 277 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 277 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->advance (self, visuals, motion, frame_number);
-#line 1758 "TransitionsInterfaces.c"
+#line 2026 "TransitionsInterfaces.c"
}
@@ -1763,120 +2031,156 @@ void spit_transitions_effect_advance (SpitTransitionsEffect* self, SpitTransitio
*
* It only needs to reset state if {@link start} is called again.
*/
-void spit_transitions_effect_cancel (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_cancel (SpitTransitionsEffect* self)
+{
#line 284 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 284 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->cancel (self);
-#line 1772 "TransitionsInterfaces.c"
+#line 2042 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved0 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved0 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved0 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved0 (SpitTransitionsEffect* self)
+{
#line 289 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 289 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved0 (self);
-#line 1785 "TransitionsInterfaces.c"
+#line 2059 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved1 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved1 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved1 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved1 (SpitTransitionsEffect* self)
+{
#line 290 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 290 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved1 (self);
-#line 1798 "TransitionsInterfaces.c"
+#line 2076 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved2 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved2 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved2 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved2 (SpitTransitionsEffect* self)
+{
#line 291 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 291 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved2 (self);
-#line 1811 "TransitionsInterfaces.c"
+#line 2093 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved3 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved3 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved3 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved3 (SpitTransitionsEffect* self)
+{
#line 292 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 292 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved3 (self);
-#line 1824 "TransitionsInterfaces.c"
+#line 2110 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved4 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved4 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved4 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved4 (SpitTransitionsEffect* self)
+{
#line 293 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 293 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved4 (self);
-#line 1837 "TransitionsInterfaces.c"
+#line 2127 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved5 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved5 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved5 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved5 (SpitTransitionsEffect* self)
+{
#line 294 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 294 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved5 (self);
-#line 1850 "TransitionsInterfaces.c"
+#line 2144 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved6 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved6 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved6 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved6 (SpitTransitionsEffect* self)
+{
#line 295 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 295 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved6 (self);
-#line 1863 "TransitionsInterfaces.c"
+#line 2161 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_real_reserved7 (SpitTransitionsEffect* self) {
+static void
+spit_transitions_effect_real_reserved7 (SpitTransitionsEffect* self)
+{
}
-void spit_transitions_effect_reserved7 (SpitTransitionsEffect* self) {
+void
+spit_transitions_effect_reserved7 (SpitTransitionsEffect* self)
+{
#line 296 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
g_return_if_fail (SPIT_TRANSITIONS_IS_EFFECT (self));
#line 296 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
SPIT_TRANSITIONS_EFFECT_GET_INTERFACE (self)->reserved7 (self);
-#line 1876 "TransitionsInterfaces.c"
+#line 2178 "TransitionsInterfaces.c"
}
-static void spit_transitions_effect_base_init (SpitTransitionsEffectIface * iface) {
+static void
+spit_transitions_effect_base_init (SpitTransitionsEffectIface * iface)
+{
#line 229 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
static gboolean initialized = FALSE;
#line 229 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
@@ -1899,7 +2203,7 @@ static void spit_transitions_effect_base_init (SpitTransitionsEffectIface * ifac
iface->reserved6 = spit_transitions_effect_real_reserved6;
#line 229 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
iface->reserved7 = spit_transitions_effect_real_reserved7;
-#line 1903 "TransitionsInterfaces.c"
+#line 2207 "TransitionsInterfaces.c"
}
}
@@ -1927,7 +2231,9 @@ static void spit_transitions_effect_base_init (SpitTransitionsEffectIface * ifac
*
* An instance may be reused and should be prepared for restarts.
*/
-GType spit_transitions_effect_get_type (void) {
+GType
+spit_transitions_effect_get_type (void)
+{
static volatile gsize spit_transitions_effect_type_id__volatile = 0;
if (g_once_init_enter (&spit_transitions_effect_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SpitTransitionsEffectIface), (GBaseInitFunc) spit_transitions_effect_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };