summaryrefslogtreecommitdiff
path: root/src/data_imports/DataImportsUI.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-06-25 21:12:13 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-06-25 21:12:13 +0200
commit059a62ee3c820a42fbce980c3256049adecc9100 (patch)
treee51eab94fd7d65459640ca227fb2257bb41d2acb /src/data_imports/DataImportsUI.c
parent55778740c211992cc86ea87588ab62c6750f36d1 (diff)
parente8f4d7a9cdd37c5a9fb3b6991a4e9173829808da (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/data_imports/DataImportsUI.c')
-rw-r--r--src/data_imports/DataImportsUI.c1753
1 files changed, 941 insertions, 812 deletions
diff --git a/src/data_imports/DataImportsUI.c b/src/data_imports/DataImportsUI.c
index b350abf..6a5ebdf 100644
--- a/src/data_imports/DataImportsUI.c
+++ b/src/data_imports/DataImportsUI.c
@@ -1,4 +1,4 @@
-/* DataImportsUI.c generated by valac 0.36.6, the Vala compiler
+/* DataImportsUI.c generated by valac 0.40.4, the Vala compiler
* generated from DataImportsUI.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>
@@ -30,6 +31,11 @@
typedef struct _DataImportsUIConcreteDialogPane DataImportsUIConcreteDialogPane;
typedef struct _DataImportsUIConcreteDialogPaneClass DataImportsUIConcreteDialogPaneClass;
typedef struct _DataImportsUIConcreteDialogPanePrivate DataImportsUIConcreteDialogPanePrivate;
+enum {
+ DATA_IMPORTS_UI_CONCRETE_DIALOG_PANE_0_PROPERTY,
+ DATA_IMPORTS_UI_CONCRETE_DIALOG_PANE_NUM_PROPERTIES
+};
+static GParamSpec* data_imports_ui_concrete_dialog_pane_properties[DATA_IMPORTS_UI_CONCRETE_DIALOG_PANE_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define DATA_IMPORTS_UI_TYPE_STATIC_MESSAGE_PANE (data_imports_ui_static_message_pane_get_type ())
@@ -42,6 +48,11 @@ typedef struct _DataImportsUIConcreteDialogPanePrivate DataImportsUIConcreteDial
typedef struct _DataImportsUIStaticMessagePane DataImportsUIStaticMessagePane;
typedef struct _DataImportsUIStaticMessagePaneClass DataImportsUIStaticMessagePaneClass;
typedef struct _DataImportsUIStaticMessagePanePrivate DataImportsUIStaticMessagePanePrivate;
+enum {
+ DATA_IMPORTS_UI_STATIC_MESSAGE_PANE_0_PROPERTY,
+ DATA_IMPORTS_UI_STATIC_MESSAGE_PANE_NUM_PROPERTIES
+};
+static GParamSpec* data_imports_ui_static_message_pane_properties[DATA_IMPORTS_UI_STATIC_MESSAGE_PANE_NUM_PROPERTIES];
#define DATA_IMPORTS_UI_TYPE_LIBRARY_SELECTION_PANE (data_imports_ui_library_selection_pane_get_type ())
#define DATA_IMPORTS_UI_LIBRARY_SELECTION_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DATA_IMPORTS_UI_TYPE_LIBRARY_SELECTION_PANE, DataImportsUILibrarySelectionPane))
@@ -53,6 +64,11 @@ typedef struct _DataImportsUIStaticMessagePanePrivate DataImportsUIStaticMessage
typedef struct _DataImportsUILibrarySelectionPane DataImportsUILibrarySelectionPane;
typedef struct _DataImportsUILibrarySelectionPaneClass DataImportsUILibrarySelectionPaneClass;
typedef struct _DataImportsUILibrarySelectionPanePrivate DataImportsUILibrarySelectionPanePrivate;
+enum {
+ DATA_IMPORTS_UI_LIBRARY_SELECTION_PANE_0_PROPERTY,
+ DATA_IMPORTS_UI_LIBRARY_SELECTION_PANE_NUM_PROPERTIES
+};
+static GParamSpec* data_imports_ui_library_selection_pane_properties[DATA_IMPORTS_UI_LIBRARY_SELECTION_PANE_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block11Data Block11Data;
typedef struct _Block12Data Block12Data;
@@ -67,6 +83,11 @@ typedef struct _Block12Data Block12Data;
typedef struct _DataImportsUIProgressPane DataImportsUIProgressPane;
typedef struct _DataImportsUIProgressPaneClass DataImportsUIProgressPaneClass;
typedef struct _DataImportsUIProgressPanePrivate DataImportsUIProgressPanePrivate;
+enum {
+ DATA_IMPORTS_UI_PROGRESS_PANE_0_PROPERTY,
+ DATA_IMPORTS_UI_PROGRESS_PANE_NUM_PROPERTIES
+};
+static GParamSpec* data_imports_ui_progress_pane_properties[DATA_IMPORTS_UI_PROGRESS_PANE_NUM_PROPERTIES];
#define DATA_IMPORTS_UI_TYPE_DATA_IMPORTS_DIALOG (data_imports_ui_data_imports_dialog_get_type ())
#define DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DATA_IMPORTS_UI_TYPE_DATA_IMPORTS_DIALOG, DataImportsUIDataImportsDialog))
@@ -98,6 +119,11 @@ typedef struct _PluginsStandardHostInterfaceClass PluginsStandardHostInterfaceCl
typedef struct _SpitDataImportsConcreteDataImportsHost SpitDataImportsConcreteDataImportsHost;
typedef struct _SpitDataImportsConcreteDataImportsHostClass SpitDataImportsConcreteDataImportsHostClass;
+enum {
+ DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_0_PROPERTY,
+ DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_NUM_PROPERTIES
+};
+static GParamSpec* data_imports_ui_data_imports_dialog_properties[DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_NUM_PROPERTIES];
#define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ())
#define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade))
@@ -224,9 +250,6 @@ static DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_insta
" in the Preferences dialog.")
GType data_imports_ui_concrete_dialog_pane_get_type (void) G_GNUC_CONST;
#define DATA_IMPORTS_UI_CONCRETE_DIALOG_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), DATA_IMPORTS_UI_TYPE_CONCRETE_DIALOG_PANE, DataImportsUIConcreteDialogPanePrivate))
-enum {
- DATA_IMPORTS_UI_CONCRETE_DIALOG_PANE_DUMMY_PROPERTY
-};
DataImportsUIConcreteDialogPane* data_imports_ui_concrete_dialog_pane_new (void);
DataImportsUIConcreteDialogPane* data_imports_ui_concrete_dialog_pane_construct (GType object_type);
static GtkWidget* data_imports_ui_concrete_dialog_pane_real_get_widget (SpitDataImportsDialogPane* base);
@@ -235,52 +258,65 @@ static void data_imports_ui_concrete_dialog_pane_real_on_pane_installed (SpitDat
static void data_imports_ui_concrete_dialog_pane_real_on_pane_uninstalled (SpitDataImportsDialogPane* base);
static void data_imports_ui_concrete_dialog_pane_finalize (GObject * obj);
GType data_imports_ui_static_message_pane_get_type (void) G_GNUC_CONST;
-enum {
- DATA_IMPORTS_UI_STATIC_MESSAGE_PANE_DUMMY_PROPERTY
-};
DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_new (const gchar* message_string);
-DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_construct (GType object_type, const gchar* message_string);
+DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_construct (GType object_type,
+ const gchar* message_string);
DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_new_with_pango (const gchar* msg);
-DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_construct_with_pango (GType object_type, const gchar* msg);
+DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_construct_with_pango (GType object_type,
+ const gchar* msg);
GType data_imports_ui_library_selection_pane_get_type (void) G_GNUC_CONST;
#define DATA_IMPORTS_UI_LIBRARY_SELECTION_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), DATA_IMPORTS_UI_TYPE_LIBRARY_SELECTION_PANE, DataImportsUILibrarySelectionPanePrivate))
-enum {
- DATA_IMPORTS_UI_LIBRARY_SELECTION_PANE_DUMMY_PROPERTY
-};
-DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_new (SpitDataImportsPluginHost* host, const gchar* welcome_message, SpitDataImportsImportableLibrary** discovered_libraries, int discovered_libraries_length1, const gchar* file_select_label);
-DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_construct (GType object_type, SpitDataImportsPluginHost* host, const gchar* welcome_message, SpitDataImportsImportableLibrary** discovered_libraries, int discovered_libraries_length1, const gchar* file_select_label);
-static void data_imports_ui_library_selection_pane_on_file_selected (DataImportsUILibrarySelectionPane* self, GFile* file);
-static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_button (DataImportsUILibrarySelectionPane* self, GtkBox* box, GtkRadioButton* group, SpitDataImportsImportableLibrary* library, const gchar* label, gint margin_left, gint margin_right);
+DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_new (SpitDataImportsPluginHost* host,
+ const gchar* welcome_message,
+ SpitDataImportsImportableLibrary** discovered_libraries,
+ int discovered_libraries_length1,
+ const gchar* file_select_label);
+DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_construct (GType object_type,
+ SpitDataImportsPluginHost* host,
+ const gchar* welcome_message,
+ SpitDataImportsImportableLibrary** discovered_libraries,
+ int discovered_libraries_length1,
+ const gchar* file_select_label);
+static void data_imports_ui_library_selection_pane_on_file_selected (DataImportsUILibrarySelectionPane* self,
+ GFile* file);
+static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_button (DataImportsUILibrarySelectionPane* self,
+ GtkBox* box,
+ GtkRadioButton* group,
+ SpitDataImportsImportableLibrary* library,
+ const gchar* label,
+ gint margin_left,
+ gint margin_right);
static Block11Data* block11_data_ref (Block11Data* _data11_);
static void block11_data_unref (void * _userdata_);
static void ___lambda23_ (Block11Data* _data11_);
static void data_imports_ui_library_selection_pane_set_import_button_sensitivity (DataImportsUILibrarySelectionPane* self);
-static void ____lambda23__gtk_file_chooser_selection_changed (GtkFileChooser* _sender, gpointer self);
+static void ____lambda23__gtk_file_chooser_selection_changed (GtkFileChooser* _sender,
+ gpointer self);
static void __lambda24_ (DataImportsUILibrarySelectionPane* self);
-static void data_imports_ui_library_selection_pane_on_library_selected (DataImportsUILibrarySelectionPane* self, SpitDataImportsImportableLibrary* library);
-static void ___lambda24__gtk_button_clicked (GtkButton* _sender, gpointer self);
+static void data_imports_ui_library_selection_pane_on_library_selected (DataImportsUILibrarySelectionPane* self,
+ SpitDataImportsImportableLibrary* library);
+static void ___lambda24__gtk_button_clicked (GtkButton* _sender,
+ gpointer self);
static Block12Data* block12_data_ref (Block12Data* _data12_);
static void block12_data_unref (void * _userdata_);
static void __lambda22_ (Block12Data* _data12_);
-static void ___lambda22__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
+static void ___lambda22__gtk_toggle_button_toggled (GtkToggleButton* _sender,
+ gpointer self);
static void data_imports_ui_library_selection_pane_finalize (GObject * obj);
GType data_imports_ui_progress_pane_get_type (void) G_GNUC_CONST;
#define DATA_IMPORTS_UI_PROGRESS_PANE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), DATA_IMPORTS_UI_TYPE_PROGRESS_PANE, DataImportsUIProgressPanePrivate))
-enum {
- DATA_IMPORTS_UI_PROGRESS_PANE_DUMMY_PROPERTY
-};
DataImportsUIProgressPane* data_imports_ui_progress_pane_new (const gchar* message);
-DataImportsUIProgressPane* data_imports_ui_progress_pane_construct (GType object_type, const gchar* message);
-void data_imports_ui_progress_pane_update_progress (DataImportsUIProgressPane* self, gdouble progress, const gchar* progress_message);
+DataImportsUIProgressPane* data_imports_ui_progress_pane_construct (GType object_type,
+ const gchar* message);
+void data_imports_ui_progress_pane_update_progress (DataImportsUIProgressPane* self,
+ gdouble progress,
+ const gchar* progress_message);
void spin_event_loop (void);
static void data_imports_ui_progress_pane_finalize (GObject * obj);
GType data_imports_ui_data_imports_dialog_get_type (void) G_GNUC_CONST;
GType plugins_standard_host_interface_get_type (void) G_GNUC_CONST;
GType spit_data_imports_concrete_data_imports_host_get_type (void) G_GNUC_CONST;
#define DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), DATA_IMPORTS_UI_TYPE_DATA_IMPORTS_DIALOG, DataImportsUIDataImportsDialogPrivate))
-enum {
- DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_DUMMY_PROPERTY
-};
#define DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_WIDTH 860
#define DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_HEIGHT 688
#define DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_WIDTH 1024
@@ -294,27 +330,38 @@ enum {
DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_new (void);
DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (GType object_type);
gint resources_use_header_bar (void);
-static gboolean data_imports_ui_data_imports_dialog_on_window_close (DataImportsUIDataImportsDialog* self, GdkEventAny* evt);
-static gboolean _data_imports_ui_data_imports_dialog_on_window_close_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self);
-SpitDataImportsService** spit_data_imports_load_services (gboolean load_all, int* result_length1);
+static gboolean data_imports_ui_data_imports_dialog_on_window_close (DataImportsUIDataImportsDialog* self,
+ GdkEventAny* evt);
+static gboolean _data_imports_ui_data_imports_dialog_on_window_close_gtk_widget_delete_event (GtkWidget* _sender,
+ GdkEventAny* event,
+ gpointer self);
+SpitDataImportsService** spit_data_imports_load_services (gboolean load_all,
+ int* result_length1);
GType configuration_facade_get_type (void) G_GNUC_CONST;
GType config_facade_get_type (void) G_GNUC_CONST;
ConfigFacade* config_facade_get_instance (void);
gchar* configuration_facade_get_last_used_dataimports_service (ConfigurationFacade* self);
static void data_imports_ui_data_imports_dialog_on_service_changed (DataImportsUIDataImportsDialog* self);
-static void _data_imports_ui_data_imports_dialog_on_service_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
+static void _data_imports_ui_data_imports_dialog_on_service_changed_gtk_combo_box_changed (GtkComboBox* _sender,
+ gpointer self);
static void data_imports_ui_data_imports_dialog_on_close_cancel_clicked (DataImportsUIDataImportsDialog* self);
-static void _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
+static void _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked (GtkButton* _sender,
+ gpointer self);
static void data_imports_ui_data_imports_dialog_set_standard_window_mode (DataImportsUIDataImportsDialog* self);
-void data_imports_ui_data_imports_dialog_install_pane (DataImportsUIDataImportsDialog* self, SpitDataImportsDialogPane* pane);
+void data_imports_ui_data_imports_dialog_install_pane (DataImportsUIDataImportsDialog* self,
+ SpitDataImportsDialogPane* pane);
void data_imports_ui_data_imports_dialog_set_close_button_mode (DataImportsUIDataImportsDialog* self);
DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_get_or_create_instance (void);
void data_imports_ui_data_imports_dialog_terminate_instance (void);
static void data_imports_ui_data_imports_dialog_terminate (DataImportsUIDataImportsDialog* self);
SpitDataImportsService** spit_data_imports_load_all_services (int* result_length1);
-void configuration_facade_set_last_used_dataimports_service (ConfigurationFacade* self, const gchar* service_name);
-SpitDataImportsConcreteDataImportsHost* spit_data_imports_concrete_data_imports_host_new (SpitDataImportsService* service, DataImportsUIDataImportsDialog* dialog);
-SpitDataImportsConcreteDataImportsHost* spit_data_imports_concrete_data_imports_host_construct (GType object_type, SpitDataImportsService* service, DataImportsUIDataImportsDialog* dialog);
+void configuration_facade_set_last_used_dataimports_service (ConfigurationFacade* self,
+ const gchar* service_name);
+SpitDataImportsConcreteDataImportsHost* spit_data_imports_concrete_data_imports_host_new (SpitDataImportsService* service,
+ DataImportsUIDataImportsDialog* dialog);
+SpitDataImportsConcreteDataImportsHost* spit_data_imports_concrete_data_imports_host_construct (GType object_type,
+ SpitDataImportsService* service,
+ DataImportsUIDataImportsDialog* dialog);
static void data_imports_ui_data_imports_dialog_set_large_window_mode (DataImportsUIDataImportsDialog* self);
static void data_imports_ui_data_imports_dialog_set_colossal_window_mode (DataImportsUIDataImportsDialog* self);
static void data_imports_ui_data_imports_dialog_set_free_sizable_window_mode (DataImportsUIDataImportsDialog* self);
@@ -324,11 +371,17 @@ void data_imports_ui_data_imports_dialog_set_cancel_button_mode (DataImportsUIDa
void data_imports_ui_data_imports_dialog_lock_service (DataImportsUIDataImportsDialog* self);
void data_imports_ui_data_imports_dialog_unlock_service (DataImportsUIDataImportsDialog* self);
static void data_imports_ui_data_imports_dialog_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);
-DataImportsUIConcreteDialogPane* data_imports_ui_concrete_dialog_pane_construct (GType object_type) {
+DataImportsUIConcreteDialogPane*
+data_imports_ui_concrete_dialog_pane_construct (GType object_type)
+{
DataImportsUIConcreteDialogPane * self = NULL;
GtkBox* _tmp0_;
#line 15 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -343,25 +396,31 @@ DataImportsUIConcreteDialogPane* data_imports_ui_concrete_dialog_pane_construct
self->priv->pane_widget = _tmp0_;
#line 15 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return self;
-#line 343 "DataImportsUI.c"
+#line 396 "DataImportsUI.c"
}
-DataImportsUIConcreteDialogPane* data_imports_ui_concrete_dialog_pane_new (void) {
+DataImportsUIConcreteDialogPane*
+data_imports_ui_concrete_dialog_pane_new (void)
+{
#line 15 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return data_imports_ui_concrete_dialog_pane_construct (DATA_IMPORTS_UI_TYPE_CONCRETE_DIALOG_PANE);
-#line 350 "DataImportsUI.c"
+#line 405 "DataImportsUI.c"
}
-static gpointer _g_object_ref0 (gpointer self) {
+static gpointer
+_g_object_ref0 (gpointer self)
+{
#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return self ? g_object_ref (self) : NULL;
-#line 357 "DataImportsUI.c"
+#line 414 "DataImportsUI.c"
}
-static GtkWidget* data_imports_ui_concrete_dialog_pane_real_get_widget (SpitDataImportsDialogPane* base) {
+static GtkWidget*
+data_imports_ui_concrete_dialog_pane_real_get_widget (SpitDataImportsDialogPane* base)
+{
DataImportsUIConcreteDialogPane * self;
GtkWidget* result = NULL;
GtkBox* _tmp0_;
@@ -376,11 +435,13 @@ static GtkWidget* data_imports_ui_concrete_dialog_pane_real_get_widget (SpitData
result = _tmp1_;
#line 20 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
-#line 376 "DataImportsUI.c"
+#line 435 "DataImportsUI.c"
}
-static SpitDataImportsDialogPaneGeometryOptions data_imports_ui_concrete_dialog_pane_real_get_preferred_geometry (SpitDataImportsDialogPane* base) {
+static SpitDataImportsDialogPaneGeometryOptions
+data_imports_ui_concrete_dialog_pane_real_get_preferred_geometry (SpitDataImportsDialogPane* base)
+{
DataImportsUIConcreteDialogPane * self;
SpitDataImportsDialogPaneGeometryOptions result = 0;
#line 23 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -389,38 +450,46 @@ static SpitDataImportsDialogPaneGeometryOptions data_imports_ui_concrete_dialog_
result = SPIT_DATA_IMPORTS_DIALOG_PANE_GEOMETRY_OPTIONS_NONE;
#line 24 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
-#line 389 "DataImportsUI.c"
+#line 450 "DataImportsUI.c"
}
-static void data_imports_ui_concrete_dialog_pane_real_on_pane_installed (SpitDataImportsDialogPane* base) {
+static void
+data_imports_ui_concrete_dialog_pane_real_on_pane_installed (SpitDataImportsDialogPane* base)
+{
DataImportsUIConcreteDialogPane * self;
#line 27 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, DATA_IMPORTS_UI_TYPE_CONCRETE_DIALOG_PANE, DataImportsUIConcreteDialogPane);
-#line 397 "DataImportsUI.c"
+#line 460 "DataImportsUI.c"
}
-static void data_imports_ui_concrete_dialog_pane_real_on_pane_uninstalled (SpitDataImportsDialogPane* base) {
+static void
+data_imports_ui_concrete_dialog_pane_real_on_pane_uninstalled (SpitDataImportsDialogPane* base)
+{
DataImportsUIConcreteDialogPane * self;
#line 30 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, DATA_IMPORTS_UI_TYPE_CONCRETE_DIALOG_PANE, DataImportsUIConcreteDialogPane);
-#line 405 "DataImportsUI.c"
+#line 470 "DataImportsUI.c"
}
-static void data_imports_ui_concrete_dialog_pane_class_init (DataImportsUIConcreteDialogPaneClass * klass) {
+static void
+data_imports_ui_concrete_dialog_pane_class_init (DataImportsUIConcreteDialogPaneClass * klass)
+{
#line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_concrete_dialog_pane_parent_class = g_type_class_peek_parent (klass);
#line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_type_class_add_private (klass, sizeof (DataImportsUIConcreteDialogPanePrivate));
#line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
G_OBJECT_CLASS (klass)->finalize = data_imports_ui_concrete_dialog_pane_finalize;
-#line 416 "DataImportsUI.c"
+#line 483 "DataImportsUI.c"
}
-static void data_imports_ui_concrete_dialog_pane_spit_data_imports_dialog_pane_interface_init (SpitDataImportsDialogPaneIface * iface) {
+static void
+data_imports_ui_concrete_dialog_pane_spit_data_imports_dialog_pane_interface_init (SpitDataImportsDialogPaneIface * iface)
+{
#line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_concrete_dialog_pane_spit_data_imports_dialog_pane_parent_iface = g_type_interface_peek_parent (iface);
#line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -431,18 +500,22 @@ static void data_imports_ui_concrete_dialog_pane_spit_data_imports_dialog_pane_i
iface->on_pane_installed = (void (*) (SpitDataImportsDialogPane *)) data_imports_ui_concrete_dialog_pane_real_on_pane_installed;
#line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
iface->on_pane_uninstalled = (void (*) (SpitDataImportsDialogPane *)) data_imports_ui_concrete_dialog_pane_real_on_pane_uninstalled;
-#line 431 "DataImportsUI.c"
+#line 500 "DataImportsUI.c"
}
-static void data_imports_ui_concrete_dialog_pane_instance_init (DataImportsUIConcreteDialogPane * self) {
+static void
+data_imports_ui_concrete_dialog_pane_instance_init (DataImportsUIConcreteDialogPane * self)
+{
#line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self->priv = DATA_IMPORTS_UI_CONCRETE_DIALOG_PANE_GET_PRIVATE (self);
-#line 438 "DataImportsUI.c"
+#line 509 "DataImportsUI.c"
}
-static void data_imports_ui_concrete_dialog_pane_finalize (GObject * obj) {
+static void
+data_imports_ui_concrete_dialog_pane_finalize (GObject * obj)
+{
DataImportsUIConcreteDialogPane * self;
#line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, DATA_IMPORTS_UI_TYPE_CONCRETE_DIALOG_PANE, DataImportsUIConcreteDialogPane);
@@ -450,11 +523,13 @@ static void data_imports_ui_concrete_dialog_pane_finalize (GObject * obj) {
_g_object_unref0 (self->priv->pane_widget);
#line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
G_OBJECT_CLASS (data_imports_ui_concrete_dialog_pane_parent_class)->finalize (obj);
-#line 450 "DataImportsUI.c"
+#line 523 "DataImportsUI.c"
}
-GType data_imports_ui_concrete_dialog_pane_get_type (void) {
+GType
+data_imports_ui_concrete_dialog_pane_get_type (void)
+{
static volatile gsize data_imports_ui_concrete_dialog_pane_type_id__volatile = 0;
if (g_once_init_enter (&data_imports_ui_concrete_dialog_pane_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (DataImportsUIConcreteDialogPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) data_imports_ui_concrete_dialog_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DataImportsUIConcreteDialogPane), 0, (GInstanceInitFunc) data_imports_ui_concrete_dialog_pane_instance_init, NULL };
@@ -468,65 +543,69 @@ GType data_imports_ui_concrete_dialog_pane_get_type (void) {
}
-DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_construct (GType object_type, const gchar* message_string) {
+DataImportsUIStaticMessagePane*
+data_imports_ui_static_message_pane_construct (GType object_type,
+ const gchar* message_string)
+{
DataImportsUIStaticMessagePane * self = NULL;
GtkLabel* message_label = NULL;
- const gchar* _tmp0_;
- GtkLabel* _tmp1_;
- GtkWidget* _tmp2_;
+ GtkLabel* _tmp0_;
+ GtkWidget* _tmp1_;
+ GtkBox* _tmp2_;
GtkBox* _tmp3_;
- GtkBox* _tmp4_;
#line 35 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_val_if_fail (message_string != NULL, NULL);
#line 35 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self = (DataImportsUIStaticMessagePane*) data_imports_ui_concrete_dialog_pane_construct (object_type);
#line 36 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp0_ = message_string;
-#line 36 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp1_ = (GtkLabel*) gtk_label_new (_tmp0_);
+ _tmp0_ = (GtkLabel*) gtk_label_new (message_string);
#line 36 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp1_);
+ g_object_ref_sink (_tmp0_);
#line 36 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- message_label = _tmp1_;
+ message_label = _tmp0_;
#line 37 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp2_ = spit_data_imports_dialog_pane_get_widget (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
+ _tmp1_ = spit_data_imports_dialog_pane_get_widget (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
#line 37 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_box_get_type ()) ? ((GtkBox*) _tmp2_) : NULL;
+ _tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_box_get_type ()) ? ((GtkBox*) _tmp1_) : NULL;
#line 37 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp3_ == NULL) {
+ if (_tmp2_ == NULL) {
#line 37 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp2_);
-#line 496 "DataImportsUI.c"
+ _g_object_unref0 (_tmp1_);
+#line 571 "DataImportsUI.c"
}
#line 37 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 37 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (message_label, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+ gtk_box_pack_start (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (message_label, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 37 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 35 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (message_label);
#line 35 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return self;
-#line 508 "DataImportsUI.c"
+#line 583 "DataImportsUI.c"
}
-DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_new (const gchar* message_string) {
+DataImportsUIStaticMessagePane*
+data_imports_ui_static_message_pane_new (const gchar* message_string)
+{
#line 35 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return data_imports_ui_static_message_pane_construct (DATA_IMPORTS_UI_TYPE_STATIC_MESSAGE_PANE, message_string);
-#line 515 "DataImportsUI.c"
+#line 592 "DataImportsUI.c"
}
-DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_construct_with_pango (GType object_type, const gchar* msg) {
+DataImportsUIStaticMessagePane*
+data_imports_ui_static_message_pane_construct_with_pango (GType object_type,
+ const gchar* msg)
+{
DataImportsUIStaticMessagePane * self = NULL;
GtkLabel* label = NULL;
GtkLabel* _tmp0_;
- const gchar* _tmp1_;
- GtkWidget* _tmp2_;
+ GtkWidget* _tmp1_;
+ GtkBox* _tmp2_;
GtkBox* _tmp3_;
- GtkBox* _tmp4_;
#line 40 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_val_if_fail (msg != NULL, NULL);
#line 40 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -538,54 +617,60 @@ DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_construct_wi
#line 41 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
label = _tmp0_;
#line 42 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp1_ = msg;
-#line 42 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_label_set_markup (label, _tmp1_);
+ gtk_label_set_markup (label, msg);
#line 43 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_label_set_line_wrap (label, TRUE);
#line 45 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp2_ = spit_data_imports_dialog_pane_get_widget (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
+ _tmp1_ = spit_data_imports_dialog_pane_get_widget (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
#line 45 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_box_get_type ()) ? ((GtkBox*) _tmp2_) : NULL;
+ _tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_box_get_type ()) ? ((GtkBox*) _tmp1_) : NULL;
#line 45 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp3_ == NULL) {
+ if (_tmp2_ == NULL) {
#line 45 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp2_);
-#line 551 "DataImportsUI.c"
+ _g_object_unref0 (_tmp1_);
+#line 628 "DataImportsUI.c"
}
#line 45 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 45 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (label, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+ gtk_box_pack_start (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (label, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 45 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 40 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (label);
#line 40 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return self;
-#line 563 "DataImportsUI.c"
+#line 640 "DataImportsUI.c"
}
-DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_new_with_pango (const gchar* msg) {
+DataImportsUIStaticMessagePane*
+data_imports_ui_static_message_pane_new_with_pango (const gchar* msg)
+{
#line 40 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return data_imports_ui_static_message_pane_construct_with_pango (DATA_IMPORTS_UI_TYPE_STATIC_MESSAGE_PANE, msg);
-#line 570 "DataImportsUI.c"
+#line 649 "DataImportsUI.c"
}
-static void data_imports_ui_static_message_pane_class_init (DataImportsUIStaticMessagePaneClass * klass) {
+static void
+data_imports_ui_static_message_pane_class_init (DataImportsUIStaticMessagePaneClass * klass)
+{
#line 34 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_static_message_pane_parent_class = g_type_class_peek_parent (klass);
-#line 577 "DataImportsUI.c"
+#line 658 "DataImportsUI.c"
}
-static void data_imports_ui_static_message_pane_instance_init (DataImportsUIStaticMessagePane * self) {
+static void
+data_imports_ui_static_message_pane_instance_init (DataImportsUIStaticMessagePane * self)
+{
}
-GType data_imports_ui_static_message_pane_get_type (void) {
+GType
+data_imports_ui_static_message_pane_get_type (void)
+{
static volatile gsize data_imports_ui_static_message_pane_type_id__volatile = 0;
if (g_once_init_enter (&data_imports_ui_static_message_pane_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (DataImportsUIStaticMessagePaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) data_imports_ui_static_message_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DataImportsUIStaticMessagePane), 0, (GInstanceInitFunc) data_imports_ui_static_message_pane_instance_init, NULL };
@@ -597,21 +682,25 @@ GType data_imports_ui_static_message_pane_get_type (void) {
}
-static Block11Data* block11_data_ref (Block11Data* _data11_) {
+static Block11Data*
+block11_data_ref (Block11Data* _data11_)
+{
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_atomic_int_inc (&_data11_->_ref_count_);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return _data11_;
-#line 602 "DataImportsUI.c"
+#line 689 "DataImportsUI.c"
}
-static void block11_data_unref (void * _userdata_) {
+static void
+block11_data_unref (void * _userdata_)
+{
Block11Data* _data11_;
_data11_ = (Block11Data*) _userdata_;
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (g_atomic_int_dec_and_test (&_data11_->_ref_count_)) {
-#line 611 "DataImportsUI.c"
+#line 700 "DataImportsUI.c"
DataImportsUILibrarySelectionPane* self;
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self = _data11_->self;
@@ -621,12 +710,14 @@ static void block11_data_unref (void * _userdata_) {
_g_object_unref0 (self);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_slice_free (Block11Data, _data11_);
-#line 621 "DataImportsUI.c"
+#line 710 "DataImportsUI.c"
}
}
-static void ___lambda23_ (Block11Data* _data11_) {
+static void
+___lambda23_ (Block11Data* _data11_)
+{
DataImportsUILibrarySelectionPane* self;
GtkFileChooserButton* _tmp0_;
GFile* _tmp1_;
@@ -636,7 +727,7 @@ static void ___lambda23_ (Block11Data* _data11_) {
#line 102 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = _data11_->file_chooser;
#line 102 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp1_ = gtk_file_chooser_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser));
+ _tmp1_ = gtk_file_chooser_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_file_chooser_get_type (), GtkFileChooser));
#line 102 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->selected_file);
#line 102 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -645,108 +736,116 @@ static void ___lambda23_ (Block11Data* _data11_) {
_tmp2_ = self->priv->file_radio;
#line 103 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp2_ != NULL) {
-#line 645 "DataImportsUI.c"
+#line 736 "DataImportsUI.c"
GtkRadioButton* _tmp3_;
#line 104 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp3_ = self->priv->file_radio;
#line 104 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
-#line 651 "DataImportsUI.c"
+#line 742 "DataImportsUI.c"
}
#line 105 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_library_selection_pane_set_import_button_sensitivity (self);
-#line 655 "DataImportsUI.c"
+#line 746 "DataImportsUI.c"
}
-static void ____lambda23__gtk_file_chooser_selection_changed (GtkFileChooser* _sender, gpointer self) {
+static void
+____lambda23__gtk_file_chooser_selection_changed (GtkFileChooser* _sender,
+ gpointer self)
+{
#line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
___lambda23_ (self);
-#line 662 "DataImportsUI.c"
+#line 756 "DataImportsUI.c"
}
-static void __lambda24_ (DataImportsUILibrarySelectionPane* self) {
+static void
+__lambda24_ (DataImportsUILibrarySelectionPane* self)
+{
SpitDataImportsImportableLibrary* _tmp0_;
#line 114 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->selected_library;
#line 114 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp0_ != NULL) {
-#line 672 "DataImportsUI.c"
+#line 768 "DataImportsUI.c"
SpitDataImportsImportableLibrary* _tmp1_;
#line 115 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = self->priv->selected_library;
#line 115 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_library_selection_pane_on_library_selected (self, _tmp1_);
-#line 678 "DataImportsUI.c"
+#line 774 "DataImportsUI.c"
} else {
GFile* _tmp2_;
#line 116 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp2_ = self->priv->selected_file;
#line 116 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp2_ != NULL) {
-#line 685 "DataImportsUI.c"
+#line 781 "DataImportsUI.c"
GFile* _tmp3_;
#line 117 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp3_ = self->priv->selected_file;
#line 117 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_library_selection_pane_on_file_selected (self, _tmp3_);
-#line 691 "DataImportsUI.c"
+#line 787 "DataImportsUI.c"
} else {
#line 119 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_debug ("DataImportsUI.vala:119: LibrarySelectionPane: Library or file should b" \
"e selected.");
-#line 695 "DataImportsUI.c"
+#line 791 "DataImportsUI.c"
}
}
}
-static void ___lambda24__gtk_button_clicked (GtkButton* _sender, gpointer self) {
+static void
+___lambda24__gtk_button_clicked (GtkButton* _sender,
+ gpointer self)
+{
#line 113 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
__lambda24_ ((DataImportsUILibrarySelectionPane*) self);
-#line 704 "DataImportsUI.c"
+#line 803 "DataImportsUI.c"
}
-DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_construct (GType object_type, SpitDataImportsPluginHost* host, const gchar* welcome_message, SpitDataImportsImportableLibrary** discovered_libraries, int discovered_libraries_length1, const gchar* file_select_label) {
+DataImportsUILibrarySelectionPane*
+data_imports_ui_library_selection_pane_construct (GType object_type,
+ SpitDataImportsPluginHost* host,
+ const gchar* welcome_message,
+ SpitDataImportsImportableLibrary** discovered_libraries,
+ int discovered_libraries_length1,
+ const gchar* file_select_label)
+{
DataImportsUILibrarySelectionPane * self = NULL;
gboolean _tmp0_ = FALSE;
- SpitDataImportsImportableLibrary** _tmp1_;
- gint _tmp1__length1;
- SpitDataImportsPluginHost* _tmp2_;
GtkBox* content_box = NULL;
+ GtkBox* _tmp1_;
+ GtkBox* _tmp2_;
GtkBox* _tmp3_;
- GtkBox* _tmp4_;
- GtkBox* _tmp5_;
GtkLabel* welcome_label = NULL;
+ GtkLabel* _tmp4_;
+ GtkLabel* _tmp5_;
GtkLabel* _tmp6_;
GtkLabel* _tmp7_;
- const gchar* _tmp8_;
+ GtkBox* _tmp8_;
GtkLabel* _tmp9_;
- GtkLabel* _tmp10_;
- GtkBox* _tmp11_;
- GtkLabel* _tmp12_;
gint radio_margin_left = 0;
gint radio_margin_right = 0;
gint chooser_margin_left = 0;
- gint _tmp13_;
+ gint _tmp10_;
gint chooser_margin_right = 0;
- gint _tmp14_;
+ gint _tmp11_;
GtkRadioButton* lib_radio = NULL;
- SpitDataImportsImportableLibrary** _tmp15_;
- gint _tmp15__length1;
- const gchar* _tmp37_;
- GtkButton* _tmp46_;
- GtkButton* _tmp47_;
+ GtkButton* _tmp38_;
+ GtkButton* _tmp39_;
GtkButtonBox* button_box = NULL;
- GtkButtonBox* _tmp48_;
- GtkButton* _tmp49_;
- GtkBox* _tmp50_;
- GtkWidget* _tmp51_;
- GtkBox* _tmp52_;
- GtkBox* _tmp53_;
- GtkBox* _tmp54_;
+ GtkButtonBox* _tmp40_;
+ GtkButton* _tmp41_;
+ GtkBox* _tmp42_;
+ GtkWidget* _tmp43_;
+ GtkBox* _tmp44_;
+ GtkBox* _tmp45_;
+ GtkBox* _tmp46_;
#line 56 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_val_if_fail (SPIT_DATA_IMPORTS_IS_PLUGIN_HOST (host), NULL);
#line 56 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -754,215 +853,189 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr
#line 56 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self = (DataImportsUILibrarySelectionPane*) data_imports_ui_concrete_dialog_pane_construct (object_type);
#line 62 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp1_ = discovered_libraries;
-#line 62 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp1__length1 = discovered_libraries_length1;
-#line 62 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp1__length1 > 0) {
+ if (discovered_libraries_length1 > 0) {
#line 62 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = TRUE;
-#line 760 "DataImportsUI.c"
+#line 855 "DataImportsUI.c"
} else {
#line 62 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = data_imports_ui_library_selection_pane_on_file_selected != NULL;
-#line 764 "DataImportsUI.c"
+#line 859 "DataImportsUI.c"
}
#line 62 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_vala_assert (_tmp0_, "discovered_libraries.length > 0 || on_file_selected != null");
#line 64 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp2_ = host;
-#line 64 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->host = _tmp2_;
+ self->priv->host = host;
#line 66 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
+ _tmp1_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
#line 66 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp3_);
+ g_object_ref_sink (_tmp1_);
#line 66 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- content_box = _tmp3_;
+ content_box = _tmp1_;
#line 67 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp4_ = content_box;
+ _tmp2_ = content_box;
#line 67 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), 30);
+ gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), 30);
#line 68 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp5_ = content_box;
+ _tmp3_ = content_box;
#line 68 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), 30);
+ gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), 30);
#line 69 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp6_ = (GtkLabel*) gtk_label_new (NULL);
+ _tmp4_ = (GtkLabel*) gtk_label_new (NULL);
#line 69 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp6_);
+ g_object_ref_sink (_tmp4_);
#line 69 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- welcome_label = _tmp6_;
-#line 70 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp7_ = welcome_label;
+ welcome_label = _tmp4_;
#line 70 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp8_ = welcome_message;
+ _tmp5_ = welcome_label;
#line 70 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_label_set_markup (_tmp7_, _tmp8_);
+ gtk_label_set_markup (_tmp5_, welcome_message);
#line 71 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp9_ = welcome_label;
+ _tmp6_ = welcome_label;
#line 71 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_label_set_line_wrap (_tmp9_, TRUE);
+ gtk_label_set_line_wrap (_tmp6_, TRUE);
#line 72 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp10_ = welcome_label;
+ _tmp7_ = welcome_label;
#line 72 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
+ gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
#line 73 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp11_ = content_box;
+ _tmp8_ = content_box;
#line 73 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp12_ = welcome_label;
+ _tmp9_ = welcome_label;
#line 73 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 6);
+ gtk_box_pack_start (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 6);
#line 76 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
radio_margin_left = 20;
#line 77 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
radio_margin_right = 20;
#line 78 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp13_ = radio_margin_left;
+ _tmp10_ = radio_margin_left;
#line 78 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- chooser_margin_left = _tmp13_;
+ chooser_margin_left = _tmp10_;
#line 79 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp14_ = radio_margin_right;
+ _tmp11_ = radio_margin_right;
#line 79 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- chooser_margin_right = _tmp14_;
+ chooser_margin_right = _tmp11_;
#line 81 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
lib_radio = NULL;
#line 82 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp15_ = discovered_libraries;
-#line 82 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp15__length1 = discovered_libraries_length1;
-#line 82 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp15__length1 > 0) {
-#line 832 "DataImportsUI.c"
- gint _tmp16_;
- SpitDataImportsImportableLibrary** _tmp17_;
- gint _tmp17__length1;
- const gchar* _tmp28_;
+ if (discovered_libraries_length1 > 0) {
+#line 919 "DataImportsUI.c"
+ gint _tmp12_;
#line 83 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp16_ = radio_margin_left;
+ _tmp12_ = radio_margin_left;
#line 83 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- chooser_margin_left = _tmp16_ + 20;
-#line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp17_ = discovered_libraries;
-#line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp17__length1 = discovered_libraries_length1;
-#line 845 "DataImportsUI.c"
+ chooser_margin_left = _tmp12_ + 20;
+#line 925 "DataImportsUI.c"
{
SpitDataImportsImportableLibrary** library_collection = NULL;
gint library_collection_length1 = 0;
gint _library_collection_size_ = 0;
gint library_it = 0;
#line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- library_collection = _tmp17_;
+ library_collection = discovered_libraries;
#line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- library_collection_length1 = _tmp17__length1;
+ library_collection_length1 = discovered_libraries_length1;
#line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- for (library_it = 0; library_it < _tmp17__length1; library_it = library_it + 1) {
-#line 857 "DataImportsUI.c"
- SpitDataImportsImportableLibrary* _tmp18_;
+ for (library_it = 0; library_it < discovered_libraries_length1; library_it = library_it + 1) {
+#line 937 "DataImportsUI.c"
+ SpitDataImportsImportableLibrary* _tmp13_;
SpitDataImportsImportableLibrary* library = NULL;
#line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp18_ = _g_object_ref0 (library_collection[library_it]);
+ _tmp13_ = _g_object_ref0 (library_collection[library_it]);
#line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- library = _tmp18_;
-#line 864 "DataImportsUI.c"
+ library = _tmp13_;
+#line 944 "DataImportsUI.c"
{
gchar* lib_radio_label = NULL;
- SpitDataImportsImportableLibrary* _tmp19_;
- gchar* _tmp20_;
- GtkBox* _tmp21_;
+ SpitDataImportsImportableLibrary* _tmp14_;
+ gchar* _tmp15_;
+ GtkBox* _tmp16_;
+ GtkRadioButton* _tmp17_;
+ SpitDataImportsImportableLibrary* _tmp18_;
+ const gchar* _tmp19_;
+ gint _tmp20_;
+ gint _tmp21_;
GtkRadioButton* _tmp22_;
- SpitDataImportsImportableLibrary* _tmp23_;
- const gchar* _tmp24_;
- gint _tmp25_;
- gint _tmp26_;
- GtkRadioButton* _tmp27_;
#line 85 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp19_ = library;
+ _tmp14_ = library;
#line 85 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp20_ = spit_data_imports_importable_library_get_display_name (_tmp19_);
+ _tmp15_ = spit_data_imports_importable_library_get_display_name (_tmp14_);
#line 85 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- lib_radio_label = _tmp20_;
+ lib_radio_label = _tmp15_;
#line 86 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp21_ = content_box;
+ _tmp16_ = content_box;
#line 86 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp22_ = lib_radio;
+ _tmp17_ = lib_radio;
#line 86 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp23_ = library;
+ _tmp18_ = library;
#line 86 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp24_ = lib_radio_label;
+ _tmp19_ = lib_radio_label;
#line 86 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp25_ = radio_margin_left;
+ _tmp20_ = radio_margin_left;
#line 86 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp26_ = radio_margin_right;
+ _tmp21_ = radio_margin_right;
#line 86 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp27_ = data_imports_ui_library_selection_pane_create_radio_button (self, _tmp21_, _tmp22_, _tmp23_, _tmp24_, _tmp25_, _tmp26_);
+ _tmp22_ = data_imports_ui_library_selection_pane_create_radio_button (self, _tmp16_, _tmp17_, _tmp18_, _tmp19_, _tmp20_, _tmp21_);
#line 86 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (lib_radio);
#line 86 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- lib_radio = _tmp27_;
+ lib_radio = _tmp22_;
#line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_free0 (lib_radio_label);
#line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (library);
-#line 904 "DataImportsUI.c"
+#line 984 "DataImportsUI.c"
}
}
}
#line 91 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp28_ = file_select_label;
-#line 91 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp28_ != NULL) {
-#line 912 "DataImportsUI.c"
- GtkBox* _tmp29_;
- GtkRadioButton* _tmp30_;
- const gchar* _tmp31_;
- gint _tmp32_;
- gint _tmp33_;
- GtkRadioButton* _tmp34_;
- GtkRadioButton* _tmp35_;
- GtkRadioButton* _tmp36_;
-#line 92 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp29_ = content_box;
+ if (file_select_label != NULL) {
+#line 990 "DataImportsUI.c"
+ GtkBox* _tmp23_;
+ GtkRadioButton* _tmp24_;
+ gint _tmp25_;
+ gint _tmp26_;
+ GtkRadioButton* _tmp27_;
+ GtkRadioButton* _tmp28_;
+ GtkRadioButton* _tmp29_;
#line 92 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp30_ = lib_radio;
+ _tmp23_ = content_box;
#line 92 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp31_ = file_select_label;
+ _tmp24_ = lib_radio;
#line 92 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp32_ = radio_margin_left;
+ _tmp25_ = radio_margin_left;
#line 92 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp33_ = radio_margin_right;
+ _tmp26_ = radio_margin_right;
#line 92 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp34_ = data_imports_ui_library_selection_pane_create_radio_button (self, _tmp29_, _tmp30_, NULL, _tmp31_, _tmp32_, _tmp33_);
+ _tmp27_ = data_imports_ui_library_selection_pane_create_radio_button (self, _tmp23_, _tmp24_, NULL, file_select_label, _tmp25_, _tmp26_);
#line 92 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (lib_radio);
#line 92 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- lib_radio = _tmp34_;
+ lib_radio = _tmp27_;
#line 96 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp35_ = lib_radio;
+ _tmp28_ = lib_radio;
#line 96 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp36_ = _g_object_ref0 (_tmp35_);
+ _tmp29_ = _g_object_ref0 (_tmp28_);
#line 96 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->file_radio);
#line 96 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->file_radio = _tmp36_;
-#line 945 "DataImportsUI.c"
+ self->priv->file_radio = _tmp29_;
+#line 1020 "DataImportsUI.c"
}
}
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp37_ = file_select_label;
-#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp37_ != NULL) {
-#line 952 "DataImportsUI.c"
+ if (file_select_label != NULL) {
+#line 1025 "DataImportsUI.c"
Block11Data* _data11_;
- GtkFileChooserButton* _tmp38_;
- GtkFileChooserButton* _tmp39_;
- GtkFileChooserButton* _tmp40_;
- gint _tmp41_;
- GtkFileChooserButton* _tmp42_;
- gint _tmp43_;
- GtkBox* _tmp44_;
- GtkFileChooserButton* _tmp45_;
+ GtkFileChooserButton* _tmp30_;
+ GtkFileChooserButton* _tmp31_;
+ GtkFileChooserButton* _tmp32_;
+ gint _tmp33_;
+ GtkFileChooserButton* _tmp34_;
+ gint _tmp35_;
+ GtkBox* _tmp36_;
+ GtkFileChooserButton* _tmp37_;
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_data11_ = g_slice_new0 (Block11Data);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -970,85 +1043,85 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_data11_->self = g_object_ref (self);
#line 100 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp38_ = (GtkFileChooserButton*) gtk_file_chooser_button_new (_ ("Database file:"), GTK_FILE_CHOOSER_ACTION_OPEN);
+ _tmp30_ = (GtkFileChooserButton*) gtk_file_chooser_button_new (_ ("Database file:"), GTK_FILE_CHOOSER_ACTION_OPEN);
#line 100 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp38_);
+ g_object_ref_sink (_tmp30_);
#line 100 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data11_->file_chooser = _tmp38_;
+ _data11_->file_chooser = _tmp30_;
#line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp39_ = _data11_->file_chooser;
+ _tmp31_ = _data11_->file_chooser;
#line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), "selection-changed", (GCallback) ____lambda23__gtk_file_chooser_selection_changed, block11_data_ref (_data11_), (GClosureNotify) block11_data_unref, 0);
+ g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_file_chooser_get_type (), GtkFileChooser), "selection-changed", (GCallback) ____lambda23__gtk_file_chooser_selection_changed, block11_data_ref (_data11_), (GClosureNotify) block11_data_unref, 0);
#line 107 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp40_ = _data11_->file_chooser;
+ _tmp32_ = _data11_->file_chooser;
#line 107 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp41_ = chooser_margin_left;
+ _tmp33_ = chooser_margin_left;
#line 107 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget), _tmp41_);
+ gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget), _tmp33_);
#line 108 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp42_ = _data11_->file_chooser;
+ _tmp34_ = _data11_->file_chooser;
#line 108 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp43_ = chooser_margin_right;
+ _tmp35_ = chooser_margin_right;
#line 108 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget), _tmp43_);
+ gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget), _tmp35_);
#line 109 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp44_ = content_box;
+ _tmp36_ = content_box;
#line 109 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp45_ = _data11_->file_chooser;
+ _tmp37_ = _data11_->file_chooser;
#line 109 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (_tmp44_, G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6);
+ gtk_box_pack_start (_tmp36_, G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
block11_data_unref (_data11_);
#line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_data11_ = NULL;
-#line 1000 "DataImportsUI.c"
+#line 1073 "DataImportsUI.c"
}
#line 112 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp46_ = (GtkButton*) gtk_button_new_with_mnemonic (_ ("_Import"));
+ _tmp38_ = (GtkButton*) gtk_button_new_with_mnemonic (_ ("_Import"));
#line 112 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp46_);
+ g_object_ref_sink (_tmp38_);
#line 112 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->import_button);
#line 112 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->import_button = _tmp46_;
+ self->priv->import_button = _tmp38_;
#line 113 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp47_ = self->priv->import_button;
+ _tmp39_ = self->priv->import_button;
#line 113 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_signal_connect_object (_tmp47_, "clicked", (GCallback) ___lambda24__gtk_button_clicked, self, 0);
+ g_signal_connect_object (_tmp39_, "clicked", (GCallback) ___lambda24__gtk_button_clicked, self, 0);
#line 121 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp48_ = (GtkButtonBox*) gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
+ _tmp40_ = (GtkButtonBox*) gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
#line 121 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp48_);
+ g_object_ref_sink (_tmp40_);
#line 121 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- button_box = _tmp48_;
+ button_box = _tmp40_;
#line 122 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_object_set (button_box, "layout-style", GTK_BUTTONBOX_CENTER, NULL);
#line 123 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp49_ = self->priv->import_button;
+ _tmp41_ = self->priv->import_button;
#line 123 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (button_box, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_widget_get_type (), GtkWidget));
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (button_box, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget));
#line 124 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp50_ = content_box;
+ _tmp42_ = content_box;
#line 124 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_end (_tmp50_, G_TYPE_CHECK_INSTANCE_CAST (button_box, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 6);
+ gtk_box_pack_end (_tmp42_, G_TYPE_CHECK_INSTANCE_CAST (button_box, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 6);
#line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp51_ = spit_data_imports_dialog_pane_get_widget (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
+ _tmp43_ = spit_data_imports_dialog_pane_get_widget (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
#line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp52_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp51_, gtk_box_get_type ()) ? ((GtkBox*) _tmp51_) : NULL;
+ _tmp44_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp43_, gtk_box_get_type ()) ? ((GtkBox*) _tmp43_) : NULL;
#line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp52_ == NULL) {
+ if (_tmp44_ == NULL) {
#line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp51_);
-#line 1038 "DataImportsUI.c"
+ _g_object_unref0 (_tmp43_);
+#line 1111 "DataImportsUI.c"
}
#line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp53_ = _tmp52_;
+ _tmp45_ = _tmp44_;
#line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp54_ = content_box;
+ _tmp46_ = content_box;
#line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (_tmp53_, G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+ gtk_box_pack_start (_tmp45_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp53_);
+ _g_object_unref0 (_tmp45_);
#line 128 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_library_selection_pane_set_import_button_sensitivity (self);
#line 56 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1061,32 +1134,42 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr
_g_object_unref0 (content_box);
#line 56 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return self;
-#line 1060 "DataImportsUI.c"
+#line 1133 "DataImportsUI.c"
}
-DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_new (SpitDataImportsPluginHost* host, const gchar* welcome_message, SpitDataImportsImportableLibrary** discovered_libraries, int discovered_libraries_length1, const gchar* file_select_label) {
+DataImportsUILibrarySelectionPane*
+data_imports_ui_library_selection_pane_new (SpitDataImportsPluginHost* host,
+ const gchar* welcome_message,
+ SpitDataImportsImportableLibrary** discovered_libraries,
+ int discovered_libraries_length1,
+ const gchar* file_select_label)
+{
#line 56 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return data_imports_ui_library_selection_pane_construct (DATA_IMPORTS_UI_TYPE_LIBRARY_SELECTION_PANE, host, welcome_message, discovered_libraries, discovered_libraries_length1, file_select_label);
-#line 1067 "DataImportsUI.c"
+#line 1146 "DataImportsUI.c"
}
-static Block12Data* block12_data_ref (Block12Data* _data12_) {
+static Block12Data*
+block12_data_ref (Block12Data* _data12_)
+{
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_atomic_int_inc (&_data12_->_ref_count_);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return _data12_;
-#line 1076 "DataImportsUI.c"
+#line 1157 "DataImportsUI.c"
}
-static void block12_data_unref (void * _userdata_) {
+static void
+block12_data_unref (void * _userdata_)
+{
Block12Data* _data12_;
_data12_ = (Block12Data*) _userdata_;
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (g_atomic_int_dec_and_test (&_data12_->_ref_count_)) {
-#line 1085 "DataImportsUI.c"
+#line 1168 "DataImportsUI.c"
DataImportsUILibrarySelectionPane* self;
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self = _data12_->self;
@@ -1098,12 +1181,14 @@ static void block12_data_unref (void * _userdata_) {
_g_object_unref0 (self);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_slice_free (Block12Data, _data12_);
-#line 1097 "DataImportsUI.c"
+#line 1180 "DataImportsUI.c"
}
}
-static void __lambda22_ (Block12Data* _data12_) {
+static void
+__lambda22_ (Block12Data* _data12_)
+{
DataImportsUILibrarySelectionPane* self;
GtkRadioButton* _tmp0_;
gboolean _tmp1_;
@@ -1118,49 +1203,50 @@ static void __lambda22_ (Block12Data* _data12_) {
_tmp2_ = _tmp1_;
#line 141 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp2_) {
-#line 1117 "DataImportsUI.c"
+#line 1202 "DataImportsUI.c"
SpitDataImportsImportableLibrary* _tmp3_;
- SpitDataImportsImportableLibrary* _tmp4_;
-#line 142 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = _data12_->library;
#line 142 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp4_ = _g_object_ref0 (_tmp3_);
+ _tmp3_ = _g_object_ref0 (_data12_->library);
#line 142 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->selected_library);
#line 142 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->selected_library = _tmp4_;
+ self->priv->selected_library = _tmp3_;
#line 143 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_library_selection_pane_set_import_button_sensitivity (self);
-#line 1130 "DataImportsUI.c"
+#line 1212 "DataImportsUI.c"
}
}
-static void ___lambda22__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
+static void
+___lambda22__gtk_toggle_button_toggled (GtkToggleButton* _sender,
+ gpointer self)
+{
#line 140 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
__lambda22_ (self);
-#line 1138 "DataImportsUI.c"
+#line 1223 "DataImportsUI.c"
}
-static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_button (DataImportsUILibrarySelectionPane* self, GtkBox* box, GtkRadioButton* group, SpitDataImportsImportableLibrary* library, const gchar* label, gint margin_left, gint margin_right) {
+static GtkRadioButton*
+data_imports_ui_library_selection_pane_create_radio_button (DataImportsUILibrarySelectionPane* self,
+ GtkBox* box,
+ GtkRadioButton* group,
+ SpitDataImportsImportableLibrary* library,
+ const gchar* label,
+ gint margin_left,
+ gint margin_right)
+{
GtkRadioButton* result = NULL;
Block12Data* _data12_;
SpitDataImportsImportableLibrary* _tmp0_;
- SpitDataImportsImportableLibrary* _tmp1_;
- GtkRadioButton* _tmp2_;
- const gchar* _tmp3_;
+ GtkRadioButton* _tmp1_;
GtkRadioButton* _tmp4_;
GtkRadioButton* _tmp5_;
+ GtkRadioButton* _tmp6_;
+ GtkRadioButton* _tmp7_;
+ GtkRadioButton* _tmp8_;
GtkRadioButton* _tmp9_;
- GtkRadioButton* _tmp10_;
- gint _tmp11_;
- GtkRadioButton* _tmp12_;
- gint _tmp13_;
- GtkBox* _tmp14_;
- GtkRadioButton* _tmp15_;
- GtkRadioButton* _tmp16_;
- GtkRadioButton* _tmp17_;
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_val_if_fail (DATA_IMPORTS_UI_IS_LIBRARY_SELECTION_PANE (self), NULL);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1178,84 +1264,69 @@ static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_butto
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_data12_->self = g_object_ref (self);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp0_ = library;
-#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
+ _tmp0_ = _g_object_ref0 (library);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (_data12_->library);
#line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data12_->library = _tmp1_;
-#line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp2_ = group;
+ _data12_->library = _tmp0_;
#line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = label;
+ _tmp1_ = (GtkRadioButton*) gtk_radio_button_new_with_label_from_widget (group, label);
#line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp4_ = (GtkRadioButton*) gtk_radio_button_new_with_label_from_widget (_tmp2_, _tmp3_);
-#line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp4_);
+ g_object_ref_sink (_tmp1_);
#line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _data12_->button = _tmp4_;
-#line 136 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp5_ = group;
+ _data12_->button = _tmp1_;
#line 136 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp5_ == NULL) {
-#line 1198 "DataImportsUI.c"
- GtkRadioButton* _tmp6_;
- SpitDataImportsImportableLibrary* _tmp7_;
- SpitDataImportsImportableLibrary* _tmp8_;
+ if (group == NULL) {
+#line 1276 "DataImportsUI.c"
+ GtkRadioButton* _tmp2_;
+ SpitDataImportsImportableLibrary* _tmp3_;
#line 137 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp6_ = _data12_->button;
+ _tmp2_ = _data12_->button;
#line 137 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
-#line 138 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp7_ = _data12_->library;
+ gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
#line 138 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp8_ = _g_object_ref0 (_tmp7_);
+ _tmp3_ = _g_object_ref0 (_data12_->library);
#line 138 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->selected_library);
#line 138 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->selected_library = _tmp8_;
-#line 1214 "DataImportsUI.c"
+ self->priv->selected_library = _tmp3_;
+#line 1289 "DataImportsUI.c"
}
#line 140 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp9_ = _data12_->button;
+ _tmp4_ = _data12_->button;
#line 140 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) ___lambda22__gtk_toggle_button_toggled, block12_data_ref (_data12_), (GClosureNotify) block12_data_unref, 0);
+ g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) ___lambda22__gtk_toggle_button_toggled, block12_data_ref (_data12_), (GClosureNotify) block12_data_unref, 0);
#line 147 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp10_ = _data12_->button;
+ _tmp5_ = _data12_->button;
#line 147 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp11_ = margin_left;
-#line 147 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), _tmp11_);
-#line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp12_ = _data12_->button;
+ gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), margin_left);
#line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp13_ = margin_right;
+ _tmp6_ = _data12_->button;
#line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), _tmp13_);
-#line 149 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp14_ = box;
+ gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), margin_right);
#line 149 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp15_ = _data12_->button;
+ _tmp7_ = _data12_->button;
#line 149 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (_tmp14_, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6);
+ gtk_box_pack_start (box, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6);
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp16_ = _data12_->button;
+ _tmp8_ = _data12_->button;
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp17_ = _g_object_ref0 (_tmp16_);
+ _tmp9_ = _g_object_ref0 (_tmp8_);
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- result = _tmp17_;
+ result = _tmp9_;
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
block12_data_unref (_data12_);
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_data12_ = NULL;
#line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
-#line 1250 "DataImportsUI.c"
+#line 1319 "DataImportsUI.c"
}
-static void data_imports_ui_library_selection_pane_set_import_button_sensitivity (DataImportsUILibrarySelectionPane* self) {
+static void
+data_imports_ui_library_selection_pane_set_import_button_sensitivity (DataImportsUILibrarySelectionPane* self)
+{
gboolean _tmp0_ = FALSE;
SpitDataImportsImportableLibrary* _tmp1_;
GtkButton* _tmp3_;
@@ -1267,28 +1338,30 @@ static void data_imports_ui_library_selection_pane_set_import_button_sensitivity
if (_tmp1_ != NULL) {
#line 154 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = TRUE;
-#line 1266 "DataImportsUI.c"
+#line 1337 "DataImportsUI.c"
} else {
GFile* _tmp2_;
#line 154 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp2_ = self->priv->selected_file;
#line 154 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = _tmp2_ != NULL;
-#line 1273 "DataImportsUI.c"
+#line 1344 "DataImportsUI.c"
}
#line 154 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp3_ = self->priv->import_button;
#line 154 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), _tmp0_);
-#line 1279 "DataImportsUI.c"
+#line 1350 "DataImportsUI.c"
}
-static void data_imports_ui_library_selection_pane_on_library_selected (DataImportsUILibrarySelectionPane* self, SpitDataImportsImportableLibrary* library) {
+static void
+data_imports_ui_library_selection_pane_on_library_selected (DataImportsUILibrarySelectionPane* self,
+ SpitDataImportsImportableLibrary* library)
+{
SpitDataImportsPluginHost* _tmp0_;
SpitDataImportsDataImporter* _tmp1_;
SpitDataImportsDataImporter* _tmp2_;
- SpitDataImportsImportableLibrary* _tmp3_;
#line 157 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_LIBRARY_SELECTION_PANE (self));
#line 157 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1300,20 +1373,20 @@ static void data_imports_ui_library_selection_pane_on_library_selected (DataImpo
#line 158 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp2_ = _tmp1_;
#line 158 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = library;
-#line 158 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- spit_data_imports_data_importer_on_library_selected (_tmp2_, _tmp3_);
+ spit_data_imports_data_importer_on_library_selected (_tmp2_, library);
#line 158 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (_tmp2_);
-#line 1304 "DataImportsUI.c"
+#line 1375 "DataImportsUI.c"
}
-static void data_imports_ui_library_selection_pane_on_file_selected (DataImportsUILibrarySelectionPane* self, GFile* file) {
+static void
+data_imports_ui_library_selection_pane_on_file_selected (DataImportsUILibrarySelectionPane* self,
+ GFile* file)
+{
SpitDataImportsPluginHost* _tmp0_;
SpitDataImportsDataImporter* _tmp1_;
SpitDataImportsDataImporter* _tmp2_;
- GFile* _tmp3_;
#line 161 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_LIBRARY_SELECTION_PANE (self));
#line 161 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1325,27 +1398,29 @@ static void data_imports_ui_library_selection_pane_on_file_selected (DataImports
#line 162 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp2_ = _tmp1_;
#line 162 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = file;
-#line 162 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- spit_data_imports_data_importer_on_file_selected (_tmp2_, _tmp3_);
+ spit_data_imports_data_importer_on_file_selected (_tmp2_, file);
#line 162 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (_tmp2_);
-#line 1329 "DataImportsUI.c"
+#line 1400 "DataImportsUI.c"
}
-static void data_imports_ui_library_selection_pane_class_init (DataImportsUILibrarySelectionPaneClass * klass) {
+static void
+data_imports_ui_library_selection_pane_class_init (DataImportsUILibrarySelectionPaneClass * klass)
+{
#line 49 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_library_selection_pane_parent_class = g_type_class_peek_parent (klass);
#line 49 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_type_class_add_private (klass, sizeof (DataImportsUILibrarySelectionPanePrivate));
#line 49 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
G_OBJECT_CLASS (klass)->finalize = data_imports_ui_library_selection_pane_finalize;
-#line 1340 "DataImportsUI.c"
+#line 1413 "DataImportsUI.c"
}
-static void data_imports_ui_library_selection_pane_instance_init (DataImportsUILibrarySelectionPane * self) {
+static void
+data_imports_ui_library_selection_pane_instance_init (DataImportsUILibrarySelectionPane * self)
+{
#line 49 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self->priv = DATA_IMPORTS_UI_LIBRARY_SELECTION_PANE_GET_PRIVATE (self);
#line 51 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1354,11 +1429,13 @@ static void data_imports_ui_library_selection_pane_instance_init (DataImportsUIL
self->priv->selected_file = NULL;
#line 54 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self->priv->file_radio = NULL;
-#line 1353 "DataImportsUI.c"
+#line 1428 "DataImportsUI.c"
}
-static void data_imports_ui_library_selection_pane_finalize (GObject * obj) {
+static void
+data_imports_ui_library_selection_pane_finalize (GObject * obj)
+{
DataImportsUILibrarySelectionPane * self;
#line 49 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, DATA_IMPORTS_UI_TYPE_LIBRARY_SELECTION_PANE, DataImportsUILibrarySelectionPane);
@@ -1372,11 +1449,13 @@ static void data_imports_ui_library_selection_pane_finalize (GObject * obj) {
_g_object_unref0 (self->priv->file_radio);
#line 49 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
G_OBJECT_CLASS (data_imports_ui_library_selection_pane_parent_class)->finalize (obj);
-#line 1371 "DataImportsUI.c"
+#line 1448 "DataImportsUI.c"
}
-GType data_imports_ui_library_selection_pane_get_type (void) {
+GType
+data_imports_ui_library_selection_pane_get_type (void)
+{
static volatile gsize data_imports_ui_library_selection_pane_type_id__volatile = 0;
if (g_once_init_enter (&data_imports_ui_library_selection_pane_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (DataImportsUILibrarySelectionPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) data_imports_ui_library_selection_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DataImportsUILibrarySelectionPane), 0, (GInstanceInitFunc) data_imports_ui_library_selection_pane_instance_init, NULL };
@@ -1388,20 +1467,22 @@ GType data_imports_ui_library_selection_pane_get_type (void) {
}
-DataImportsUIProgressPane* data_imports_ui_progress_pane_construct (GType object_type, const gchar* message) {
+DataImportsUIProgressPane*
+data_imports_ui_progress_pane_construct (GType object_type,
+ const gchar* message)
+{
DataImportsUIProgressPane * self = NULL;
GtkBox* content_box = NULL;
GtkBox* _tmp0_;
- const gchar* _tmp1_;
+ GtkLabel* _tmp1_;
GtkLabel* _tmp2_;
- GtkLabel* _tmp3_;
+ GtkProgressBar* _tmp3_;
GtkProgressBar* _tmp4_;
- GtkProgressBar* _tmp5_;
+ GtkLabel* _tmp5_;
GtkLabel* _tmp6_;
- GtkLabel* _tmp7_;
- GtkWidget* _tmp8_;
+ GtkWidget* _tmp7_;
+ GtkContainer* _tmp8_;
GtkContainer* _tmp9_;
- GtkContainer* _tmp10_;
#line 171 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_val_if_fail (message != NULL, NULL);
#line 171 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1413,126 +1494,127 @@ DataImportsUIProgressPane* data_imports_ui_progress_pane_construct (GType object
#line 172 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
content_box = _tmp0_;
#line 173 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp1_ = message;
-#line 173 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp2_ = (GtkLabel*) gtk_label_new (_tmp1_);
+ _tmp1_ = (GtkLabel*) gtk_label_new (message);
#line 173 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp2_);
+ g_object_ref_sink (_tmp1_);
#line 173 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->message_label);
#line 173 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->message_label = _tmp2_;
+ self->priv->message_label = _tmp1_;
#line 174 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = self->priv->message_label;
+ _tmp2_ = self->priv->message_label;
#line 174 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (content_box, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 6);
+ gtk_box_pack_start (content_box, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 6);
#line 175 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp4_ = (GtkProgressBar*) gtk_progress_bar_new ();
+ _tmp3_ = (GtkProgressBar*) gtk_progress_bar_new ();
#line 175 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp4_);
+ g_object_ref_sink (_tmp3_);
#line 175 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->progress_bar);
#line 175 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->progress_bar = _tmp4_;
+ self->priv->progress_bar = _tmp3_;
#line 176 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp5_ = self->priv->progress_bar;
+ _tmp4_ = self->priv->progress_bar;
#line 176 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (content_box, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), FALSE, TRUE, (guint) 6);
+ gtk_box_pack_start (content_box, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), FALSE, TRUE, (guint) 6);
#line 177 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp6_ = (GtkLabel*) gtk_label_new ("");
+ _tmp5_ = (GtkLabel*) gtk_label_new ("");
#line 177 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp6_);
+ g_object_ref_sink (_tmp5_);
#line 177 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->progress_label);
#line 177 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->progress_label = _tmp6_;
+ self->priv->progress_label = _tmp5_;
#line 178 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp7_ = self->priv->progress_label;
+ _tmp6_ = self->priv->progress_label;
#line 178 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (content_box, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), FALSE, TRUE, (guint) 6);
+ gtk_box_pack_start (content_box, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), FALSE, TRUE, (guint) 6);
#line 180 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp8_ = spit_data_imports_dialog_pane_get_widget (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
+ _tmp7_ = spit_data_imports_dialog_pane_get_widget (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
#line 180 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp9_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, gtk_container_get_type ()) ? ((GtkContainer*) _tmp8_) : NULL;
+ _tmp8_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, gtk_container_get_type ()) ? ((GtkContainer*) _tmp7_) : NULL;
#line 180 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp9_ == NULL) {
+ if (_tmp8_ == NULL) {
#line 180 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp8_);
-#line 1457 "DataImportsUI.c"
+ _g_object_unref0 (_tmp7_);
+#line 1536 "DataImportsUI.c"
}
#line 180 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp10_ = _tmp9_;
+ _tmp9_ = _tmp8_;
#line 180 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_container_add (_tmp10_, G_TYPE_CHECK_INSTANCE_CAST (content_box, gtk_widget_get_type (), GtkWidget));
+ gtk_container_add (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (content_box, gtk_widget_get_type (), GtkWidget));
#line 180 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp10_);
+ _g_object_unref0 (_tmp9_);
#line 171 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (content_box);
#line 171 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return self;
-#line 1469 "DataImportsUI.c"
+#line 1548 "DataImportsUI.c"
}
-DataImportsUIProgressPane* data_imports_ui_progress_pane_new (const gchar* message) {
+DataImportsUIProgressPane*
+data_imports_ui_progress_pane_new (const gchar* message)
+{
#line 171 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return data_imports_ui_progress_pane_construct (DATA_IMPORTS_UI_TYPE_PROGRESS_PANE, message);
-#line 1476 "DataImportsUI.c"
+#line 1557 "DataImportsUI.c"
}
-void data_imports_ui_progress_pane_update_progress (DataImportsUIProgressPane* self, gdouble progress, const gchar* progress_message) {
+void
+data_imports_ui_progress_pane_update_progress (DataImportsUIProgressPane* self,
+ gdouble progress,
+ const gchar* progress_message)
+{
GtkProgressBar* _tmp0_;
- gdouble _tmp1_;
- const gchar* _tmp2_;
#line 183 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_PROGRESS_PANE (self));
#line 184 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = self->priv->progress_bar;
#line 184 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp1_ = progress;
-#line 184 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_progress_bar_set_fraction (_tmp0_, _tmp1_);
+ gtk_progress_bar_set_fraction (_tmp0_, progress);
#line 185 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp2_ = progress_message;
-#line 185 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp2_ != NULL) {
-#line 1496 "DataImportsUI.c"
- GtkLabel* _tmp3_;
- const gchar* _tmp4_;
+ if (progress_message != NULL) {
+#line 1575 "DataImportsUI.c"
+ GtkLabel* _tmp1_;
#line 186 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = self->priv->progress_label;
+ _tmp1_ = self->priv->progress_label;
#line 186 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp4_ = progress_message;
-#line 186 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_label_set_label (_tmp3_, _tmp4_);
-#line 1505 "DataImportsUI.c"
+ gtk_label_set_label (_tmp1_, progress_message);
+#line 1581 "DataImportsUI.c"
}
#line 187 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
spin_event_loop ();
-#line 1509 "DataImportsUI.c"
+#line 1585 "DataImportsUI.c"
}
-static void data_imports_ui_progress_pane_class_init (DataImportsUIProgressPaneClass * klass) {
+static void
+data_imports_ui_progress_pane_class_init (DataImportsUIProgressPaneClass * klass)
+{
#line 166 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_progress_pane_parent_class = g_type_class_peek_parent (klass);
#line 166 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_type_class_add_private (klass, sizeof (DataImportsUIProgressPanePrivate));
#line 166 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
G_OBJECT_CLASS (klass)->finalize = data_imports_ui_progress_pane_finalize;
-#line 1520 "DataImportsUI.c"
+#line 1598 "DataImportsUI.c"
}
-static void data_imports_ui_progress_pane_instance_init (DataImportsUIProgressPane * self) {
+static void
+data_imports_ui_progress_pane_instance_init (DataImportsUIProgressPane * self)
+{
#line 166 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self->priv = DATA_IMPORTS_UI_PROGRESS_PANE_GET_PRIVATE (self);
-#line 1527 "DataImportsUI.c"
+#line 1607 "DataImportsUI.c"
}
-static void data_imports_ui_progress_pane_finalize (GObject * obj) {
+static void
+data_imports_ui_progress_pane_finalize (GObject * obj)
+{
DataImportsUIProgressPane * self;
#line 166 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, DATA_IMPORTS_UI_TYPE_PROGRESS_PANE, DataImportsUIProgressPane);
@@ -1544,11 +1626,13 @@ static void data_imports_ui_progress_pane_finalize (GObject * obj) {
_g_object_unref0 (self->priv->progress_bar);
#line 166 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
G_OBJECT_CLASS (data_imports_ui_progress_pane_parent_class)->finalize (obj);
-#line 1543 "DataImportsUI.c"
+#line 1625 "DataImportsUI.c"
}
-GType data_imports_ui_progress_pane_get_type (void) {
+GType
+data_imports_ui_progress_pane_get_type (void)
+{
static volatile gsize data_imports_ui_progress_pane_type_id__volatile = 0;
if (g_once_init_enter (&data_imports_ui_progress_pane_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (DataImportsUIProgressPaneClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) data_imports_ui_progress_pane_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DataImportsUIProgressPane), 0, (GInstanceInitFunc) data_imports_ui_progress_pane_instance_init, NULL };
@@ -1560,408 +1644,414 @@ GType data_imports_ui_progress_pane_get_type (void) {
}
-static gboolean _data_imports_ui_data_imports_dialog_on_window_close_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
+static gboolean
+_data_imports_ui_data_imports_dialog_on_window_close_gtk_widget_delete_event (GtkWidget* _sender,
+ GdkEventAny* event,
+ gpointer self)
+{
gboolean result;
result = data_imports_ui_data_imports_dialog_on_window_close ((DataImportsUIDataImportsDialog*) self, event);
#line 217 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
-#line 1564 "DataImportsUI.c"
+#line 1652 "DataImportsUI.c"
}
-static void _data_imports_ui_data_imports_dialog_on_service_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
+static void
+_data_imports_ui_data_imports_dialog_on_service_changed_gtk_combo_box_changed (GtkComboBox* _sender,
+ gpointer self)
+{
#line 250 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_on_service_changed ((DataImportsUIDataImportsDialog*) self);
-#line 1571 "DataImportsUI.c"
+#line 1662 "DataImportsUI.c"
}
-static void _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
+static void
+_data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked (GtkButton* _sender,
+ gpointer self)
+{
#line 305 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_on_close_cancel_clicked ((DataImportsUIDataImportsDialog*) self);
-#line 1578 "DataImportsUI.c"
+#line 1672 "DataImportsUI.c"
}
-DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (GType object_type) {
+DataImportsUIDataImportsDialog*
+data_imports_ui_data_imports_dialog_construct (GType object_type)
+{
DataImportsUIDataImportsDialog * self = NULL;
gboolean use_header = FALSE;
- gint _tmp0_;
- gint _tmp1_;
- gboolean _tmp2_;
+ gboolean _tmp0_;
gchar* title = NULL;
- gchar* _tmp4_;
+ gchar* _tmp2_;
gchar* label = NULL;
- gchar* _tmp5_;
- const gchar* _tmp6_;
+ gchar* _tmp3_;
+ const gchar* _tmp4_;
SpitDataImportsService** loaded_services = NULL;
- gint _tmp7_;
- SpitDataImportsService** _tmp8_;
+ gint _tmp5_;
+ SpitDataImportsService** _tmp6_;
gint loaded_services_length1;
gint _loaded_services_size_;
- SpitDataImportsService** _tmp9_;
- gint _tmp9__length1;
+ SpitDataImportsService** _tmp7_;
+ gint _tmp7__length1;
+ GtkBox* _tmp62_;
+ GtkBox* _tmp63_;
GtkBox* _tmp64_;
- GtkBox* _tmp65_;
- GtkBox* _tmp66_;
- gboolean _tmp67_;
- GtkButton* _tmp77_;
- SpitDataImportsService** _tmp78_;
- gint _tmp78__length1;
-#line 211 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp0_ = resources_use_header_bar ();
+ gboolean _tmp65_;
+ GtkButton* _tmp75_;
+ SpitDataImportsService** _tmp76_;
+ gint _tmp76__length1;
#line 211 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- use_header = _tmp0_ == 1;
+ use_header = resources_use_header_bar () == 1;
#line 212 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp1_ = resources_use_header_bar ();
-#line 212 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self = (DataImportsUIDataImportsDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
+ self = (DataImportsUIDataImportsDialog*) g_object_new (object_type, "use-header-bar", resources_use_header_bar (), NULL);
#line 213 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp2_ = use_header;
+ _tmp0_ = use_header;
#line 213 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp2_) {
-#line 1619 "DataImportsUI.c"
- GtkWidget* _tmp3_;
+ if (_tmp0_) {
+#line 1709 "DataImportsUI.c"
+ GtkWidget* _tmp1_;
#line 214 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp3_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+ _tmp1_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 214 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_header_bar_set_show_close_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_header_bar_get_type (), GtkHeaderBar), FALSE);
-#line 1625 "DataImportsUI.c"
+ gtk_header_bar_set_show_close_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_header_bar_get_type (), GtkHeaderBar), FALSE);
+#line 1715 "DataImportsUI.c"
}
#line 216 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
#line 217 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _data_imports_ui_data_imports_dialog_on_window_close_gtk_widget_delete_event, self, 0);
#line 219 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp4_ = g_strdup (_ ("Import From Application"));
+ _tmp2_ = g_strdup (_ ("Import From Application"));
#line 219 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- title = _tmp4_;
+ title = _tmp2_;
#line 220 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp5_ = g_strdup (_ ("Import media _from:"));
+ _tmp3_ = g_strdup (_ ("Import media _from:"));
#line 220 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- label = _tmp5_;
+ label = _tmp3_;
#line 222 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp6_ = title;
+ _tmp4_ = title;
#line 222 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp6_);
+ gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp4_);
#line 224 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp8_ = spit_data_imports_load_services (FALSE, &_tmp7_);
+ _tmp6_ = spit_data_imports_load_services (FALSE, &_tmp5_);
#line 224 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- loaded_services = _tmp8_;
+ loaded_services = _tmp6_;
#line 224 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- loaded_services_length1 = _tmp7_;
+ loaded_services_length1 = _tmp5_;
#line 224 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_loaded_services_size_ = loaded_services_length1;
#line 226 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp9_ = loaded_services;
+ _tmp7_ = loaded_services;
#line 226 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp9__length1 = loaded_services_length1;
+ _tmp7__length1 = loaded_services_length1;
#line 226 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp9__length1 > 0) {
-#line 1657 "DataImportsUI.c"
- GtkComboBoxText* _tmp10_;
- GtkComboBoxText* _tmp11_;
+ if (_tmp7__length1 > 0) {
+#line 1747 "DataImportsUI.c"
+ GtkComboBoxText* _tmp8_;
+ GtkComboBoxText* _tmp9_;
gchar* last_used_service = NULL;
- ConfigFacade* _tmp12_;
- ConfigFacade* _tmp13_;
- gchar* _tmp14_;
- gchar* _tmp15_;
+ ConfigFacade* _tmp10_;
+ ConfigFacade* _tmp11_;
+ gchar* _tmp12_;
+ gchar* _tmp13_;
gint ticker = 0;
gint last_used_index = 0;
- SpitDataImportsService** _tmp16_;
- gint _tmp16__length1;
- gint _tmp30_;
- GtkComboBoxText* _tmp34_;
- gboolean _tmp35_;
+ SpitDataImportsService** _tmp14_;
+ gint _tmp14__length1;
+ gint _tmp28_;
+ GtkComboBoxText* _tmp32_;
+ gboolean _tmp33_;
#line 229 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp10_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
+ _tmp8_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
#line 229 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp10_);
+ g_object_ref_sink (_tmp8_);
#line 229 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->service_selector_box);
#line 229 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->service_selector_box = _tmp10_;
+ self->priv->service_selector_box = _tmp8_;
#line 230 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp11_ = self->priv->service_selector_box;
+ _tmp9_ = self->priv->service_selector_box;
#line 230 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_combo_box_get_type (), GtkComboBox), 0);
+ gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_combo_box_get_type (), GtkComboBox), 0);
#line 233 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp12_ = config_facade_get_instance ();
+ _tmp10_ = config_facade_get_instance ();
#line 233 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp13_ = _tmp12_;
+ _tmp11_ = _tmp10_;
#line 233 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp14_ = configuration_facade_get_last_used_dataimports_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp12_ = configuration_facade_get_last_used_dataimports_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 233 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp15_ = _tmp14_;
+ _tmp13_ = _tmp12_;
#line 233 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp13_);
+ _g_object_unref0 (_tmp11_);
#line 233 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- last_used_service = _tmp15_;
+ last_used_service = _tmp13_;
#line 235 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
ticker = 0;
#line 236 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
last_used_index = -1;
#line 237 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp16_ = loaded_services;
+ _tmp14_ = loaded_services;
#line 237 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp16__length1 = loaded_services_length1;
-#line 1704 "DataImportsUI.c"
+ _tmp14__length1 = loaded_services_length1;
+#line 1794 "DataImportsUI.c"
{
SpitDataImportsService** service_collection = NULL;
gint service_collection_length1 = 0;
gint _service_collection_size_ = 0;
gint service_it = 0;
#line 237 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- service_collection = _tmp16_;
+ service_collection = _tmp14_;
#line 237 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- service_collection_length1 = _tmp16__length1;
+ service_collection_length1 = _tmp14__length1;
#line 237 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- for (service_it = 0; service_it < _tmp16__length1; service_it = service_it + 1) {
-#line 1716 "DataImportsUI.c"
- SpitDataImportsService* _tmp17_;
+ for (service_it = 0; service_it < _tmp14__length1; service_it = service_it + 1) {
+#line 1806 "DataImportsUI.c"
+ SpitDataImportsService* _tmp15_;
SpitDataImportsService* service = NULL;
#line 237 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp17_ = _g_object_ref0 (service_collection[service_it]);
+ _tmp15_ = _g_object_ref0 (service_collection[service_it]);
#line 237 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- service = _tmp17_;
-#line 1723 "DataImportsUI.c"
+ service = _tmp15_;
+#line 1813 "DataImportsUI.c"
{
gchar* curr_service_id = NULL;
- SpitDataImportsService* _tmp18_;
- const gchar* _tmp19_;
- gchar* _tmp20_;
- gboolean _tmp21_ = FALSE;
- const gchar* _tmp22_;
- GtkComboBoxText* _tmp26_;
- SpitDataImportsService* _tmp27_;
- const gchar* _tmp28_;
- gint _tmp29_;
+ SpitDataImportsService* _tmp16_;
+ const gchar* _tmp17_;
+ gchar* _tmp18_;
+ gboolean _tmp19_ = FALSE;
+ const gchar* _tmp20_;
+ GtkComboBoxText* _tmp24_;
+ SpitDataImportsService* _tmp25_;
+ const gchar* _tmp26_;
+ gint _tmp27_;
#line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp18_ = service;
+ _tmp16_ = service;
#line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp19_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
+ _tmp17_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp20_ = g_strdup (_tmp19_);
+ _tmp18_ = g_strdup (_tmp17_);
#line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- curr_service_id = _tmp20_;
+ curr_service_id = _tmp18_;
#line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp22_ = last_used_service;
+ _tmp20_ = last_used_service;
#line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp22_ != NULL) {
-#line 1747 "DataImportsUI.c"
- const gchar* _tmp23_;
- const gchar* _tmp24_;
+ if (_tmp20_ != NULL) {
+#line 1837 "DataImportsUI.c"
+ const gchar* _tmp21_;
+ const gchar* _tmp22_;
#line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp23_ = last_used_service;
+ _tmp21_ = last_used_service;
#line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp24_ = curr_service_id;
+ _tmp22_ = curr_service_id;
#line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp21_ = g_strcmp0 (_tmp23_, _tmp24_) == 0;
-#line 1756 "DataImportsUI.c"
+ _tmp19_ = g_strcmp0 (_tmp21_, _tmp22_) == 0;
+#line 1846 "DataImportsUI.c"
} else {
#line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp21_ = FALSE;
-#line 1760 "DataImportsUI.c"
+ _tmp19_ = FALSE;
+#line 1850 "DataImportsUI.c"
}
#line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp21_) {
-#line 1764 "DataImportsUI.c"
- gint _tmp25_;
+ if (_tmp19_) {
+#line 1854 "DataImportsUI.c"
+ gint _tmp23_;
#line 240 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp25_ = ticker;
+ _tmp23_ = ticker;
#line 240 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- last_used_index = _tmp25_;
-#line 1770 "DataImportsUI.c"
+ last_used_index = _tmp23_;
+#line 1860 "DataImportsUI.c"
}
#line 242 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp26_ = self->priv->service_selector_box;
+ _tmp24_ = self->priv->service_selector_box;
#line 242 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp27_ = service;
+ _tmp25_ = service;
#line 242 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp28_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
+ _tmp26_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, SPIT_TYPE_PLUGGABLE, SpitPluggable));
#line 242 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_combo_box_text_append_text (_tmp26_, _tmp28_);
+ gtk_combo_box_text_append_text (_tmp24_, _tmp26_);
#line 243 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp29_ = ticker;
+ _tmp27_ = ticker;
#line 243 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- ticker = _tmp29_ + 1;
+ ticker = _tmp27_ + 1;
#line 237 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_free0 (curr_service_id);
#line 237 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (service);
-#line 1788 "DataImportsUI.c"
+#line 1878 "DataImportsUI.c"
}
}
}
#line 245 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp30_ = last_used_index;
+ _tmp28_ = last_used_index;
#line 245 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp30_ >= 0) {
-#line 1796 "DataImportsUI.c"
- GtkComboBoxText* _tmp31_;
- gint _tmp32_;
+ if (_tmp28_ >= 0) {
+#line 1886 "DataImportsUI.c"
+ GtkComboBoxText* _tmp29_;
+ gint _tmp30_;
#line 246 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp31_ = self->priv->service_selector_box;
+ _tmp29_ = self->priv->service_selector_box;
#line 246 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp32_ = last_used_index;
+ _tmp30_ = last_used_index;
#line 246 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_combo_box_get_type (), GtkComboBox), _tmp32_);
-#line 1805 "DataImportsUI.c"
+ gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_combo_box_get_type (), GtkComboBox), _tmp30_);
+#line 1895 "DataImportsUI.c"
} else {
- GtkComboBoxText* _tmp33_;
+ GtkComboBoxText* _tmp31_;
#line 248 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp33_ = self->priv->service_selector_box;
+ _tmp31_ = self->priv->service_selector_box;
#line 248 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 1812 "DataImportsUI.c"
+ gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_combo_box_get_type (), GtkComboBox), 0);
+#line 1902 "DataImportsUI.c"
}
#line 250 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp34_ = self->priv->service_selector_box;
+ _tmp32_ = self->priv->service_selector_box;
#line 250 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _data_imports_ui_data_imports_dialog_on_service_changed_gtk_combo_box_changed, self, 0);
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _data_imports_ui_data_imports_dialog_on_service_changed_gtk_combo_box_changed, self, 0);
#line 252 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp35_ = use_header;
+ _tmp33_ = use_header;
#line 252 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (!_tmp35_) {
-#line 1822 "DataImportsUI.c"
+ if (!_tmp33_) {
+#line 1912 "DataImportsUI.c"
GtkLabel* service_selector_box_label = NULL;
- const gchar* _tmp36_;
- GtkLabel* _tmp37_;
+ const gchar* _tmp34_;
+ GtkLabel* _tmp35_;
+ GtkLabel* _tmp36_;
+ GtkComboBoxText* _tmp37_;
GtkLabel* _tmp38_;
- GtkComboBoxText* _tmp39_;
- GtkLabel* _tmp40_;
- GtkLabel* _tmp41_;
+ GtkLabel* _tmp39_;
+ GtkComboBoxText* _tmp40_;
+ GtkComboBoxText* _tmp41_;
GtkComboBoxText* _tmp42_;
GtkComboBoxText* _tmp43_;
- GtkComboBoxText* _tmp44_;
- GtkComboBoxText* _tmp45_;
GtkBox* service_selector_layouter = NULL;
+ GtkBox* _tmp44_;
+ GtkBox* _tmp45_;
GtkBox* _tmp46_;
- GtkBox* _tmp47_;
+ GtkLabel* _tmp47_;
GtkBox* _tmp48_;
- GtkLabel* _tmp49_;
- GtkBox* _tmp50_;
- GtkComboBoxText* _tmp51_;
+ GtkComboBoxText* _tmp49_;
GtkBox* service_area_layouter = NULL;
+ GtkBox* _tmp50_;
+ GtkBox* _tmp51_;
GtkBox* _tmp52_;
- GtkBox* _tmp53_;
- GtkBox* _tmp54_;
GtkSeparator* service_central_separator = NULL;
+ GtkSeparator* _tmp53_;
+ GtkBox* _tmp54_;
GtkSeparator* _tmp55_;
GtkBox* _tmp56_;
- GtkSeparator* _tmp57_;
+ GtkBox* _tmp57_;
GtkBox* _tmp58_;
GtkBox* _tmp59_;
GtkBox* _tmp60_;
GtkBox* _tmp61_;
- GtkBox* _tmp62_;
- GtkBox* _tmp63_;
#line 254 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp36_ = label;
+ _tmp34_ = label;
#line 254 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp37_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp36_);
+ _tmp35_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp34_);
#line 254 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp37_);
+ g_object_ref_sink (_tmp35_);
#line 254 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- service_selector_box_label = _tmp37_;
+ service_selector_box_label = _tmp35_;
#line 255 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp38_ = service_selector_box_label;
+ _tmp36_ = service_selector_box_label;
#line 255 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp39_ = self->priv->service_selector_box;
+ _tmp37_ = self->priv->service_selector_box;
#line 255 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_label_set_mnemonic_widget (_tmp38_, G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_widget_get_type (), GtkWidget));
+ gtk_label_set_mnemonic_widget (_tmp36_, G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget));
#line 256 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp40_ = service_selector_box_label;
+ _tmp38_ = service_selector_box_label;
#line 256 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
+ gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
#line 257 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp41_ = service_selector_box_label;
+ _tmp39_ = service_selector_box_label;
#line 257 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
+ gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
#line 263 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp42_ = self->priv->service_selector_box;
+ _tmp40_ = self->priv->service_selector_box;
#line 263 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_END);
+ gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_END);
#line 264 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp43_ = self->priv->service_selector_box;
+ _tmp41_ = self->priv->service_selector_box;
#line 264 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
+ gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
#line 265 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp44_ = self->priv->service_selector_box;
+ _tmp42_ = self->priv->service_selector_box;
#line 265 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, gtk_widget_get_type (), GtkWidget), FALSE);
+ gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 266 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp45_ = self->priv->service_selector_box;
+ _tmp43_ = self->priv->service_selector_box;
#line 266 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget), FALSE);
+ gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 268 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp46_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
+ _tmp44_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
#line 268 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp46_);
+ g_object_ref_sink (_tmp44_);
#line 268 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- service_selector_layouter = _tmp46_;
+ service_selector_layouter = _tmp44_;
#line 269 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp47_ = service_selector_layouter;
+ _tmp45_ = service_selector_layouter;
#line 269 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, gtk_container_get_type (), GtkContainer), (guint) 12);
+ gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_container_get_type (), GtkContainer), (guint) 12);
#line 270 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp48_ = service_selector_layouter;
+ _tmp46_ = service_selector_layouter;
#line 270 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp49_ = service_selector_box_label;
+ _tmp47_ = service_selector_box_label;
#line 270 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_widget_get_type (), GtkWidget));
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, gtk_widget_get_type (), GtkWidget));
#line 271 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp50_ = service_selector_layouter;
+ _tmp48_ = service_selector_layouter;
#line 271 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp51_ = self->priv->service_selector_box;
+ _tmp49_ = self->priv->service_selector_box;
#line 271 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (_tmp50_, G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+ gtk_box_pack_start (_tmp48_, G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 275 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp52_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ _tmp50_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 275 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp52_);
+ g_object_ref_sink (_tmp50_);
#line 275 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- service_area_layouter = _tmp52_;
+ service_area_layouter = _tmp50_;
#line 276 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp53_ = service_area_layouter;
+ _tmp51_ = service_area_layouter;
#line 276 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp54_ = service_selector_layouter;
+ _tmp52_ = service_selector_layouter;
#line 276 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (_tmp53_, G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+ gtk_box_pack_start (_tmp51_, G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 277 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp55_ = (GtkSeparator*) gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
+ _tmp53_ = (GtkSeparator*) gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
#line 277 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp55_);
+ g_object_ref_sink (_tmp53_);
#line 277 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- service_central_separator = _tmp55_;
+ service_central_separator = _tmp53_;
#line 278 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp56_ = service_area_layouter;
+ _tmp54_ = service_area_layouter;
#line 278 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp57_ = service_central_separator;
+ _tmp55_ = service_central_separator;
#line 278 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, gtk_widget_get_type (), GtkWidget));
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, gtk_widget_get_type (), GtkWidget));
#line 279 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp58_ = service_area_layouter;
+ _tmp56_ = service_area_layouter;
#line 279 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL);
+ gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL);
#line 280 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp59_ = service_area_layouter;
+ _tmp57_ = service_area_layouter;
#line 280 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
+ gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
#line 281 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp60_ = service_area_layouter;
+ _tmp58_ = service_area_layouter;
#line 281 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget), TRUE);
+ gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 282 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp61_ = service_area_layouter;
+ _tmp59_ = service_area_layouter;
#line 282 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_widget_get_type (), GtkWidget), FALSE);
+ gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 284 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp62_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+ _tmp60_ = gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 284 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp63_ = service_area_layouter;
+ _tmp61_ = service_area_layouter;
#line 284 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
+ gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 252 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (service_central_separator);
#line 252 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -1970,113 +2060,113 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (G
_g_object_unref0 (service_selector_layouter);
#line 252 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (service_selector_box_label);
-#line 1969 "DataImportsUI.c"
+#line 2059 "DataImportsUI.c"
}
#line 226 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_free0 (last_used_service);
-#line 1973 "DataImportsUI.c"
+#line 2063 "DataImportsUI.c"
}
#line 289 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp64_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
+ _tmp62_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
#line 289 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp64_);
+ g_object_ref_sink (_tmp62_);
#line 289 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->central_area_layouter);
#line 289 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->central_area_layouter = _tmp64_;
+ self->priv->central_area_layouter = _tmp62_;
#line 290 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp65_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+ _tmp63_ = gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 290 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp66_ = self->priv->central_area_layouter;
+ _tmp64_ = self->priv->central_area_layouter;
#line 290 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp66_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+ gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 293 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp67_ = use_header;
+ _tmp65_ = use_header;
#line 293 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp67_) {
-#line 1993 "DataImportsUI.c"
- GtkButton* _tmp68_;
+ if (_tmp65_) {
+#line 2083 "DataImportsUI.c"
+ GtkButton* _tmp66_;
+ GtkButton* _tmp67_;
+ GtkWidget* _tmp68_;
GtkButton* _tmp69_;
- GtkWidget* _tmp70_;
- GtkButton* _tmp71_;
- GtkComboBoxText* _tmp72_;
+ GtkComboBoxText* _tmp70_;
#line 294 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp68_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Cancel");
+ _tmp66_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Cancel");
#line 294 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_object_ref_sink (_tmp68_);
+ g_object_ref_sink (_tmp66_);
#line 294 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->close_cancel_button);
#line 294 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->close_cancel_button = _tmp68_;
+ self->priv->close_cancel_button = _tmp66_;
#line 295 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp69_ = self->priv->close_cancel_button;
+ _tmp67_ = self->priv->close_cancel_button;
#line 295 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, gtk_widget_get_type (), GtkWidget), TRUE);
+ gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, gtk_widget_get_type (), GtkWidget), TRUE);
#line 296 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp70_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+ _tmp68_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 296 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp71_ = self->priv->close_cancel_button;
+ _tmp69_ = self->priv->close_cancel_button;
#line 296 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_header_bar_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_widget_get_type (), GtkWidget));
+ gtk_header_bar_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, gtk_widget_get_type (), GtkWidget));
#line 297 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp72_ = self->priv->service_selector_box;
+ _tmp70_ = self->priv->service_selector_box;
#line 297 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp72_ != NULL) {
-#line 2021 "DataImportsUI.c"
- GtkWidget* _tmp73_;
- GtkComboBoxText* _tmp74_;
+ if (_tmp70_ != NULL) {
+#line 2111 "DataImportsUI.c"
+ GtkWidget* _tmp71_;
+ GtkComboBoxText* _tmp72_;
#line 298 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp73_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+ _tmp71_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
#line 298 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp74_ = self->priv->service_selector_box;
+ _tmp72_ = self->priv->service_selector_box;
#line 298 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_header_bar_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_widget_get_type (), GtkWidget));
-#line 2030 "DataImportsUI.c"
+ gtk_header_bar_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget));
+#line 2120 "DataImportsUI.c"
}
} else {
- GtkWidget* _tmp75_;
- GtkButton* _tmp76_;
+ GtkWidget* _tmp73_;
+ GtkButton* _tmp74_;
#line 302 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), _ ("_Cancel"), (gint) GTK_RESPONSE_CANCEL);
#line 303 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp75_ = gtk_dialog_get_widget_for_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_CANCEL);
+ _tmp73_ = gtk_dialog_get_widget_for_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_CANCEL);
#line 303 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp76_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp75_, gtk_button_get_type ()) ? ((GtkButton*) _tmp75_) : NULL);
+ _tmp74_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp73_, gtk_button_get_type ()) ? ((GtkButton*) _tmp73_) : NULL);
#line 303 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->close_cancel_button);
#line 303 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->close_cancel_button = _tmp76_;
-#line 2045 "DataImportsUI.c"
+ self->priv->close_cancel_button = _tmp74_;
+#line 2135 "DataImportsUI.c"
}
#line 305 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp77_ = self->priv->close_cancel_button;
+ _tmp75_ = self->priv->close_cancel_button;
#line 305 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- g_signal_connect_object (_tmp77_, "clicked", (GCallback) _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked, self, 0);
+ g_signal_connect_object (_tmp75_, "clicked", (GCallback) _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked, self, 0);
#line 307 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_standard_window_mode (self);
#line 309 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp78_ = loaded_services;
+ _tmp76_ = loaded_services;
#line 309 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp78__length1 = loaded_services_length1;
+ _tmp76__length1 = loaded_services_length1;
#line 309 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if (_tmp78__length1 > 0) {
+ if (_tmp76__length1 > 0) {
#line 311 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_on_service_changed (self);
-#line 2061 "DataImportsUI.c"
+#line 2151 "DataImportsUI.c"
} else {
- DataImportsUIStaticMessagePane* _tmp79_;
- DataImportsUIStaticMessagePane* _tmp80_;
+ DataImportsUIStaticMessagePane* _tmp77_;
+ DataImportsUIStaticMessagePane* _tmp78_;
#line 314 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp79_ = data_imports_ui_static_message_pane_new_with_pango (DATA_IMPORTS_UI_NO_PLUGINS_ENABLED_MESSAGE);
+ _tmp77_ = data_imports_ui_static_message_pane_new_with_pango (DATA_IMPORTS_UI_NO_PLUGINS_ENABLED_MESSAGE);
#line 314 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp80_ = _tmp79_;
+ _tmp78_ = _tmp77_;
#line 314 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- data_imports_ui_data_imports_dialog_install_pane (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
+ data_imports_ui_data_imports_dialog_install_pane (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp78_, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane));
#line 314 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp80_);
+ _g_object_unref0 (_tmp78_);
#line 315 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_close_button_mode (self);
-#line 2075 "DataImportsUI.c"
+#line 2165 "DataImportsUI.c"
}
#line 318 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
@@ -2088,18 +2178,22 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (G
_g_free0 (title);
#line 210 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return self;
-#line 2087 "DataImportsUI.c"
+#line 2177 "DataImportsUI.c"
}
-DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_new (void) {
+DataImportsUIDataImportsDialog*
+data_imports_ui_data_imports_dialog_new (void)
+{
#line 210 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return data_imports_ui_data_imports_dialog_construct (DATA_IMPORTS_UI_TYPE_DATA_IMPORTS_DIALOG);
-#line 2094 "DataImportsUI.c"
+#line 2186 "DataImportsUI.c"
}
-DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_get_or_create_instance (void) {
+DataImportsUIDataImportsDialog*
+data_imports_ui_data_imports_dialog_get_or_create_instance (void)
+{
DataImportsUIDataImportsDialog* result = NULL;
DataImportsUIDataImportsDialog* _tmp0_;
DataImportsUIDataImportsDialog* _tmp2_;
@@ -2108,7 +2202,7 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_get_or_creat
_tmp0_ = data_imports_ui_data_imports_dialog_instance;
#line 322 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp0_ == NULL) {
-#line 2107 "DataImportsUI.c"
+#line 2201 "DataImportsUI.c"
DataImportsUIDataImportsDialog* _tmp1_;
#line 323 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = data_imports_ui_data_imports_dialog_new ();
@@ -2118,7 +2212,7 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_get_or_creat
_g_object_unref0 (data_imports_ui_data_imports_dialog_instance);
#line 323 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_instance = _tmp1_;
-#line 2117 "DataImportsUI.c"
+#line 2211 "DataImportsUI.c"
}
#line 325 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp2_ = data_imports_ui_data_imports_dialog_instance;
@@ -2128,33 +2222,38 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_get_or_creat
result = _tmp3_;
#line 325 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
-#line 2127 "DataImportsUI.c"
+#line 2221 "DataImportsUI.c"
}
-void data_imports_ui_data_imports_dialog_terminate_instance (void) {
+void
+data_imports_ui_data_imports_dialog_terminate_instance (void)
+{
DataImportsUIDataImportsDialog* _tmp0_;
#line 329 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp0_ = data_imports_ui_data_imports_dialog_instance;
#line 329 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp0_ != NULL) {
-#line 2137 "DataImportsUI.c"
+#line 2233 "DataImportsUI.c"
DataImportsUIDataImportsDialog* _tmp1_;
#line 330 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = data_imports_ui_data_imports_dialog_instance;
#line 330 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_terminate (_tmp1_);
-#line 2143 "DataImportsUI.c"
+#line 2239 "DataImportsUI.c"
}
#line 332 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (data_imports_ui_data_imports_dialog_instance);
#line 332 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_instance = NULL;
-#line 2149 "DataImportsUI.c"
+#line 2245 "DataImportsUI.c"
}
-static gboolean data_imports_ui_data_imports_dialog_on_window_close (DataImportsUIDataImportsDialog* self, GdkEventAny* evt) {
+static gboolean
+data_imports_ui_data_imports_dialog_on_window_close (DataImportsUIDataImportsDialog* self,
+ GdkEventAny* evt)
+{
gboolean result = FALSE;
#line 335 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_val_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self), FALSE);
@@ -2169,11 +2268,13 @@ static gboolean data_imports_ui_data_imports_dialog_on_window_close (DataImports
result = TRUE;
#line 339 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
-#line 2167 "DataImportsUI.c"
+#line 2266 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_on_service_changed (DataImportsUIDataImportsDialog* self) {
+static void
+data_imports_ui_data_imports_dialog_on_service_changed (DataImportsUIDataImportsDialog* self)
+{
gchar* service_name = NULL;
GtkComboBoxText* _tmp0_;
gchar* _tmp1_;
@@ -2217,7 +2318,7 @@ static void data_imports_ui_data_imports_dialog_on_service_changed (DataImportsU
_tmp4_ = services;
#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp4__length1 = services_length1;
-#line 2215 "DataImportsUI.c"
+#line 2316 "DataImportsUI.c"
{
SpitDataImportsService** service_collection = NULL;
gint service_collection_length1 = 0;
@@ -2229,14 +2330,14 @@ static void data_imports_ui_data_imports_dialog_on_service_changed (DataImportsU
service_collection_length1 = _tmp4__length1;
#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
for (service_it = 0; service_it < _tmp4__length1; service_it = service_it + 1) {
-#line 2227 "DataImportsUI.c"
+#line 2328 "DataImportsUI.c"
SpitDataImportsService* _tmp5_;
SpitDataImportsService* service = NULL;
#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp5_ = _g_object_ref0 (service_collection[service_it]);
#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
service = _tmp5_;
-#line 2234 "DataImportsUI.c"
+#line 2335 "DataImportsUI.c"
{
SpitDataImportsService* _tmp6_;
const gchar* _tmp7_;
@@ -2249,7 +2350,7 @@ static void data_imports_ui_data_imports_dialog_on_service_changed (DataImportsU
_tmp8_ = service_name;
#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (g_strcmp0 (_tmp7_, _tmp8_) == 0) {
-#line 2247 "DataImportsUI.c"
+#line 2348 "DataImportsUI.c"
SpitDataImportsService* _tmp9_;
SpitDataImportsService* _tmp10_;
#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -2264,11 +2365,11 @@ static void data_imports_ui_data_imports_dialog_on_service_changed (DataImportsU
_g_object_unref0 (service);
#line 351 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
break;
-#line 2262 "DataImportsUI.c"
+#line 2363 "DataImportsUI.c"
}
#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (service);
-#line 2266 "DataImportsUI.c"
+#line 2367 "DataImportsUI.c"
}
}
}
@@ -2306,11 +2407,13 @@ static void data_imports_ui_data_imports_dialog_on_service_changed (DataImportsU
_g_object_unref0 (selected_service);
#line 342 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_free0 (service_name);
-#line 2304 "DataImportsUI.c"
+#line 2405 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_on_close_cancel_clicked (DataImportsUIDataImportsDialog* self) {
+static void
+data_imports_ui_data_imports_dialog_on_close_cancel_clicked (DataImportsUIDataImportsDialog* self)
+{
#line 362 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
#line 363 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -2318,11 +2421,13 @@ static void data_imports_ui_data_imports_dialog_on_close_cancel_clicked (DataImp
" invoked.");
#line 365 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_terminate (self);
-#line 2315 "DataImportsUI.c"
+#line 2418 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_terminate (DataImportsUIDataImportsDialog* self) {
+static void
+data_imports_ui_data_imports_dialog_terminate (DataImportsUIDataImportsDialog* self)
+{
SpitDataImportsConcreteDataImportsHost* _tmp0_;
#line 368 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
@@ -2332,7 +2437,7 @@ static void data_imports_ui_data_imports_dialog_terminate (DataImportsUIDataImpo
_tmp0_ = self->priv->host;
#line 371 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp0_ != NULL) {
-#line 2329 "DataImportsUI.c"
+#line 2434 "DataImportsUI.c"
SpitDataImportsConcreteDataImportsHost* _tmp1_;
#line 372 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp1_ = self->priv->host;
@@ -2342,7 +2447,7 @@ static void data_imports_ui_data_imports_dialog_terminate (DataImportsUIDataImpo
_g_object_unref0 (self->priv->host);
#line 373 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self->priv->host = NULL;
-#line 2339 "DataImportsUI.c"
+#line 2444 "DataImportsUI.c"
}
#line 376 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
@@ -2352,11 +2457,13 @@ static void data_imports_ui_data_imports_dialog_terminate (DataImportsUIDataImpo
_g_object_unref0 (data_imports_ui_data_imports_dialog_instance);
#line 378 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_instance = NULL;
-#line 2349 "DataImportsUI.c"
+#line 2454 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_set_large_window_mode (DataImportsUIDataImportsDialog* self) {
+static void
+data_imports_ui_data_imports_dialog_set_large_window_mode (DataImportsUIDataImportsDialog* self)
+{
GtkBox* _tmp0_;
#line 381 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
@@ -2368,11 +2475,13 @@ static void data_imports_ui_data_imports_dialog_set_large_window_mode (DataImpor
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_WIDTH - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_HEIGHT - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_HEIGHT);
#line 385 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 2365 "DataImportsUI.c"
+#line 2472 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_set_colossal_window_mode (DataImportsUIDataImportsDialog* self) {
+static void
+data_imports_ui_data_imports_dialog_set_colossal_window_mode (DataImportsUIDataImportsDialog* self)
+{
GtkBox* _tmp0_;
#line 388 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
@@ -2384,11 +2493,13 @@ static void data_imports_ui_data_imports_dialog_set_colossal_window_mode (DataIm
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_WIDTH - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_HEIGHT - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_HEIGHT);
#line 392 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 2381 "DataImportsUI.c"
+#line 2490 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_set_standard_window_mode (DataImportsUIDataImportsDialog* self) {
+static void
+data_imports_ui_data_imports_dialog_set_standard_window_mode (DataImportsUIDataImportsDialog* self)
+{
GtkBox* _tmp0_;
#line 395 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
@@ -2400,29 +2511,35 @@ static void data_imports_ui_data_imports_dialog_set_standard_window_mode (DataIm
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_STANDARD_WINDOW_WIDTH - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_STANDARD_WINDOW_HEIGHT - DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_BORDER_REGION_HEIGHT);
#line 399 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 2397 "DataImportsUI.c"
+#line 2508 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_set_free_sizable_window_mode (DataImportsUIDataImportsDialog* self) {
+static void
+data_imports_ui_data_imports_dialog_set_free_sizable_window_mode (DataImportsUIDataImportsDialog* self)
+{
#line 402 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
#line 403 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
-#line 2406 "DataImportsUI.c"
+#line 2519 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_clear_free_sizable_window_mode (DataImportsUIDataImportsDialog* self) {
+static void
+data_imports_ui_data_imports_dialog_clear_free_sizable_window_mode (DataImportsUIDataImportsDialog* self)
+{
#line 406 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
#line 407 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 2415 "DataImportsUI.c"
+#line 2530 "DataImportsUI.c"
}
-SpitDataImportsDialogPane* data_imports_ui_data_imports_dialog_get_active_pane (DataImportsUIDataImportsDialog* self) {
+SpitDataImportsDialogPane*
+data_imports_ui_data_imports_dialog_get_active_pane (DataImportsUIDataImportsDialog* self)
+{
SpitDataImportsDialogPane* result = NULL;
SpitDataImportsDialogPane* _tmp0_;
SpitDataImportsDialogPane* _tmp1_;
@@ -2436,11 +2553,13 @@ SpitDataImportsDialogPane* data_imports_ui_data_imports_dialog_get_active_pane (
result = _tmp1_;
#line 411 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
return result;
-#line 2433 "DataImportsUI.c"
+#line 2550 "DataImportsUI.c"
}
-void data_imports_ui_data_imports_dialog_set_close_button_mode (DataImportsUIDataImportsDialog* self) {
+void
+data_imports_ui_data_imports_dialog_set_close_button_mode (DataImportsUIDataImportsDialog* self)
+{
GtkButton* _tmp0_;
GtkButton* _tmp1_;
#line 414 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -2453,11 +2572,13 @@ void data_imports_ui_data_imports_dialog_set_close_button_mode (DataImportsUIDat
_tmp1_ = self->priv->close_cancel_button;
#line 416 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_window_set_default (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 2450 "DataImportsUI.c"
+#line 2569 "DataImportsUI.c"
}
-void data_imports_ui_data_imports_dialog_set_cancel_button_mode (DataImportsUIDataImportsDialog* self) {
+void
+data_imports_ui_data_imports_dialog_set_cancel_button_mode (DataImportsUIDataImportsDialog* self)
+{
GtkButton* _tmp0_;
#line 419 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
@@ -2465,11 +2586,13 @@ void data_imports_ui_data_imports_dialog_set_cancel_button_mode (DataImportsUIDa
_tmp0_ = self->priv->close_cancel_button;
#line 420 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_button_set_label (_tmp0_, _ ("_Cancel"));
-#line 2462 "DataImportsUI.c"
+#line 2583 "DataImportsUI.c"
}
-void data_imports_ui_data_imports_dialog_lock_service (DataImportsUIDataImportsDialog* self) {
+void
+data_imports_ui_data_imports_dialog_lock_service (DataImportsUIDataImportsDialog* self)
+{
GtkComboBoxText* _tmp0_;
#line 423 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
@@ -2477,11 +2600,13 @@ void data_imports_ui_data_imports_dialog_lock_service (DataImportsUIDataImportsD
_tmp0_ = self->priv->service_selector_box;
#line 424 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 2474 "DataImportsUI.c"
+#line 2597 "DataImportsUI.c"
}
-void data_imports_ui_data_imports_dialog_unlock_service (DataImportsUIDataImportsDialog* self) {
+void
+data_imports_ui_data_imports_dialog_unlock_service (DataImportsUIDataImportsDialog* self)
+{
GtkComboBoxText* _tmp0_;
#line 427 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
@@ -2489,24 +2614,22 @@ void data_imports_ui_data_imports_dialog_unlock_service (DataImportsUIDataImport
_tmp0_ = self->priv->service_selector_box;
#line 428 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 2486 "DataImportsUI.c"
+#line 2611 "DataImportsUI.c"
}
-void data_imports_ui_data_imports_dialog_install_pane (DataImportsUIDataImportsDialog* self, SpitDataImportsDialogPane* pane) {
+void
+data_imports_ui_data_imports_dialog_install_pane (DataImportsUIDataImportsDialog* self,
+ SpitDataImportsDialogPane* pane)
+{
SpitDataImportsDialogPane* _tmp0_;
GtkBox* _tmp6_;
- SpitDataImportsDialogPane* _tmp7_;
+ GtkWidget* _tmp7_;
GtkWidget* _tmp8_;
- GtkWidget* _tmp9_;
SpitDataImportsDialogPaneGeometryOptions geometry_options = 0;
- SpitDataImportsDialogPane* _tmp10_;
+ SpitDataImportsDialogPaneGeometryOptions _tmp9_;
SpitDataImportsDialogPaneGeometryOptions _tmp11_;
- SpitDataImportsDialogPaneGeometryOptions _tmp12_;
- SpitDataImportsDialogPaneGeometryOptions _tmp14_;
- SpitDataImportsDialogPane* _tmp15_;
- SpitDataImportsDialogPane* _tmp16_;
- SpitDataImportsDialogPane* _tmp17_;
+ SpitDataImportsDialogPane* _tmp12_;
#line 431 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self));
#line 431 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
@@ -2517,7 +2640,7 @@ void data_imports_ui_data_imports_dialog_install_pane (DataImportsUIDataImportsD
_tmp0_ = self->priv->active_pane;
#line 434 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
if (_tmp0_ != NULL) {
-#line 2514 "DataImportsUI.c"
+#line 2637 "DataImportsUI.c"
SpitDataImportsDialogPane* _tmp1_;
GtkBox* _tmp2_;
SpitDataImportsDialogPane* _tmp3_;
@@ -2542,97 +2665,93 @@ void data_imports_ui_data_imports_dialog_install_pane (DataImportsUIDataImportsD
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_container_get_type (), GtkContainer), _tmp5_);
#line 438 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (_tmp5_);
-#line 2538 "DataImportsUI.c"
+#line 2661 "DataImportsUI.c"
}
#line 441 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_tmp6_ = self->priv->central_area_layouter;
#line 441 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp7_ = pane;
-#line 441 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp8_ = spit_data_imports_dialog_pane_get_widget (_tmp7_);
+ _tmp7_ = spit_data_imports_dialog_pane_get_widget (pane);
#line 441 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp9_ = _tmp8_;
+ _tmp8_ = _tmp7_;
#line 441 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- gtk_box_pack_start (_tmp6_, _tmp9_, TRUE, TRUE, (guint) 0);
+ gtk_box_pack_start (_tmp6_, _tmp8_, TRUE, TRUE, (guint) 0);
#line 441 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _g_object_unref0 (_tmp9_);
+ _g_object_unref0 (_tmp8_);
#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
#line 444 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp10_ = pane;
-#line 444 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp11_ = spit_data_imports_dialog_pane_get_preferred_geometry (_tmp10_);
-#line 444 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- geometry_options = _tmp11_;
+ geometry_options = spit_data_imports_dialog_pane_get_preferred_geometry (pane);
#line 446 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp12_ = geometry_options;
+ _tmp9_ = geometry_options;
#line 446 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if ((_tmp12_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE) != 0) {
+ if ((_tmp9_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE) != 0) {
#line 447 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_large_window_mode (self);
-#line 2566 "DataImportsUI.c"
+#line 2683 "DataImportsUI.c"
} else {
- SpitDataImportsDialogPaneGeometryOptions _tmp13_;
+ SpitDataImportsDialogPaneGeometryOptions _tmp10_;
#line 448 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp13_ = geometry_options;
+ _tmp10_ = geometry_options;
#line 448 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if ((_tmp13_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE) != 0) {
+ if ((_tmp10_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE) != 0) {
#line 449 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_colossal_window_mode (self);
-#line 2575 "DataImportsUI.c"
+#line 2692 "DataImportsUI.c"
} else {
#line 451 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_standard_window_mode (self);
-#line 2579 "DataImportsUI.c"
+#line 2696 "DataImportsUI.c"
}
}
#line 453 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp14_ = geometry_options;
+ _tmp11_ = geometry_options;
#line 453 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- if ((_tmp14_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE) != 0) {
+ if ((_tmp11_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE) != 0) {
#line 454 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_set_free_sizable_window_mode (self);
-#line 2588 "DataImportsUI.c"
+#line 2705 "DataImportsUI.c"
} else {
#line 456 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_clear_free_sizable_window_mode (self);
-#line 2592 "DataImportsUI.c"
+#line 2709 "DataImportsUI.c"
}
#line 458 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp15_ = pane;
-#line 458 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp16_ = _g_object_ref0 (_tmp15_);
+ _tmp12_ = _g_object_ref0 (pane);
#line 458 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
_g_object_unref0 (self->priv->active_pane);
#line 458 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- self->priv->active_pane = _tmp16_;
-#line 459 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- _tmp17_ = pane;
+ self->priv->active_pane = _tmp12_;
#line 459 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
- spit_data_imports_dialog_pane_on_pane_installed (_tmp17_);
-#line 2606 "DataImportsUI.c"
+ spit_data_imports_dialog_pane_on_pane_installed (pane);
+#line 2719 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_class_init (DataImportsUIDataImportsDialogClass * klass) {
+static void
+data_imports_ui_data_imports_dialog_class_init (DataImportsUIDataImportsDialogClass * klass)
+{
#line 191 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
data_imports_ui_data_imports_dialog_parent_class = g_type_class_peek_parent (klass);
#line 191 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
g_type_class_add_private (klass, sizeof (DataImportsUIDataImportsDialogPrivate));
#line 191 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
G_OBJECT_CLASS (klass)->finalize = data_imports_ui_data_imports_dialog_finalize;
-#line 2617 "DataImportsUI.c"
+#line 2732 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_instance_init (DataImportsUIDataImportsDialog * self) {
+static void
+data_imports_ui_data_imports_dialog_instance_init (DataImportsUIDataImportsDialog * self)
+{
#line 191 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self->priv = DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_GET_PRIVATE (self);
-#line 2624 "DataImportsUI.c"
+#line 2741 "DataImportsUI.c"
}
-static void data_imports_ui_data_imports_dialog_finalize (GObject * obj) {
+static void
+data_imports_ui_data_imports_dialog_finalize (GObject * obj)
+{
DataImportsUIDataImportsDialog * self;
#line 191 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, DATA_IMPORTS_UI_TYPE_DATA_IMPORTS_DIALOG, DataImportsUIDataImportsDialog);
@@ -2648,11 +2767,13 @@ static void data_imports_ui_data_imports_dialog_finalize (GObject * obj) {
_g_object_unref0 (self->priv->host);
#line 191 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala"
G_OBJECT_CLASS (data_imports_ui_data_imports_dialog_parent_class)->finalize (obj);
-#line 2644 "DataImportsUI.c"
+#line 2763 "DataImportsUI.c"
}
-GType data_imports_ui_data_imports_dialog_get_type (void) {
+GType
+data_imports_ui_data_imports_dialog_get_type (void)
+{
static volatile gsize data_imports_ui_data_imports_dialog_type_id__volatile = 0;
if (g_once_init_enter (&data_imports_ui_data_imports_dialog_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (DataImportsUIDataImportsDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) data_imports_ui_data_imports_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DataImportsUIDataImportsDialog), 0, (GInstanceInitFunc) data_imports_ui_data_imports_dialog_instance_init, NULL };
@@ -2664,7 +2785,11 @@ GType data_imports_ui_data_imports_dialog_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) {
@@ -2676,7 +2801,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);
}