diff options
Diffstat (limited to 'src/data_imports/DataImportsUI.c')
-rw-r--r-- | src/data_imports/DataImportsUI.c | 1690 |
1 files changed, 838 insertions, 852 deletions
diff --git a/src/data_imports/DataImportsUI.c b/src/data_imports/DataImportsUI.c index 5a1c46a..28039a9 100644 --- a/src/data_imports/DataImportsUI.c +++ b/src/data_imports/DataImportsUI.c @@ -1,4 +1,4 @@ -/* DataImportsUI.c generated by valac 0.34.7, the Vala compiler +/* DataImportsUI.c generated by valac 0.36.6, the Vala compiler * generated from DataImportsUI.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. @@ -54,8 +54,8 @@ typedef struct _DataImportsUILibrarySelectionPane DataImportsUILibrarySelectionP typedef struct _DataImportsUILibrarySelectionPaneClass DataImportsUILibrarySelectionPaneClass; typedef struct _DataImportsUILibrarySelectionPanePrivate DataImportsUILibrarySelectionPanePrivate; #define _g_free0(var) (var = (g_free (var), NULL)) -typedef struct _Block10Data Block10Data; typedef struct _Block11Data Block11Data; +typedef struct _Block12Data Block12Data; #define DATA_IMPORTS_UI_TYPE_PROGRESS_PANE (data_imports_ui_progress_pane_get_type ()) #define DATA_IMPORTS_UI_PROGRESS_PANE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DATA_IMPORTS_UI_TYPE_PROGRESS_PANE, DataImportsUIProgressPane)) @@ -162,13 +162,13 @@ struct _DataImportsUILibrarySelectionPanePrivate { GtkRadioButton* file_radio; }; -struct _Block10Data { +struct _Block11Data { int _ref_count_; DataImportsUILibrarySelectionPane* self; GtkFileChooserButton* file_chooser; }; -struct _Block11Data { +struct _Block12Data { int _ref_count_; DataImportsUILibrarySelectionPane* self; GtkRadioButton* button; @@ -209,7 +209,7 @@ struct _DataImportsUIDataImportsDialogPrivate { static gpointer data_imports_ui_concrete_dialog_pane_parent_class = NULL; -static SpitDataImportsDialogPaneIface* data_imports_ui_concrete_dialog_pane_spit_data_imports_dialog_pane_parent_iface = NULL; +static SpitDataImportsDialogPaneIface * data_imports_ui_concrete_dialog_pane_spit_data_imports_dialog_pane_parent_iface = NULL; static gpointer data_imports_ui_static_message_pane_parent_class = NULL; static gpointer data_imports_ui_library_selection_pane_parent_class = NULL; static gpointer data_imports_ui_progress_pane_parent_class = NULL; @@ -233,7 +233,7 @@ static GtkWidget* data_imports_ui_concrete_dialog_pane_real_get_widget (SpitData static SpitDataImportsDialogPaneGeometryOptions data_imports_ui_concrete_dialog_pane_real_get_preferred_geometry (SpitDataImportsDialogPane* base); 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_uninstalled (SpitDataImportsDialogPane* base); -static void data_imports_ui_concrete_dialog_pane_finalize (GObject* obj); +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 @@ -251,19 +251,19 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_new (S 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 Block10Data* block10_data_ref (Block10Data* _data10_); -static void block10_data_unref (void * _userdata_); -static void ___lambda19_ (Block10Data* _data10_); -static void data_imports_ui_library_selection_pane_set_import_button_sensitivity (DataImportsUILibrarySelectionPane* self); -static void ____lambda19__gtk_file_chooser_selection_changed (GtkFileChooser* _sender, gpointer self); -static void __lambda20_ (DataImportsUILibrarySelectionPane* self); -static void data_imports_ui_library_selection_pane_on_library_selected (DataImportsUILibrarySelectionPane* self, SpitDataImportsImportableLibrary* library); -static void ___lambda20__gtk_button_clicked (GtkButton* _sender, gpointer self); static Block11Data* block11_data_ref (Block11Data* _data11_); static void block11_data_unref (void * _userdata_); -static void __lambda18_ (Block11Data* _data11_); -static void ___lambda18__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self); -static void data_imports_ui_library_selection_pane_finalize (GObject* obj); +static void ___lambda21_ (Block11Data* _data11_); +static void data_imports_ui_library_selection_pane_set_import_button_sensitivity (DataImportsUILibrarySelectionPane* self); +static void ____lambda21__gtk_file_chooser_selection_changed (GtkFileChooser* _sender, gpointer self); +static void __lambda22_ (DataImportsUILibrarySelectionPane* self); +static void data_imports_ui_library_selection_pane_on_library_selected (DataImportsUILibrarySelectionPane* self, SpitDataImportsImportableLibrary* library); +static void ___lambda22__gtk_button_clicked (GtkButton* _sender, gpointer self); +static Block12Data* block12_data_ref (Block12Data* _data12_); +static void block12_data_unref (void * _userdata_); +static void __lambda20_ (Block12Data* _data12_); +static void ___lambda20__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 { @@ -273,7 +273,7 @@ DataImportsUIProgressPane* data_imports_ui_progress_pane_new (const gchar* messa 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); +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; @@ -322,14 +322,14 @@ SpitDataImportsDialogPane* data_imports_ui_data_imports_dialog_get_active_pane ( void data_imports_ui_data_imports_dialog_set_cancel_button_mode (DataImportsUIDataImportsDialog* self); 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 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); DataImportsUIConcreteDialogPane* data_imports_ui_concrete_dialog_pane_construct (GType object_type) { DataImportsUIConcreteDialogPane * self = NULL; - GtkBox* _tmp0_ = NULL; + GtkBox* _tmp0_; #line 15 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" self = (DataImportsUIConcreteDialogPane*) g_object_new (object_type, NULL); #line 16 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -363,8 +363,8 @@ static gpointer _g_object_ref0 (gpointer self) { static GtkWidget* data_imports_ui_concrete_dialog_pane_real_get_widget (SpitDataImportsDialogPane* base) { DataImportsUIConcreteDialogPane * self; GtkWidget* result = NULL; - GtkBox* _tmp0_ = NULL; - GtkWidget* _tmp1_ = NULL; + GtkBox* _tmp0_; + GtkWidget* _tmp1_; #line 19 "/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 20 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -423,13 +423,13 @@ static void data_imports_ui_concrete_dialog_pane_spit_data_imports_dialog_pane_i #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" - iface->get_widget = (GtkWidget* (*)(SpitDataImportsDialogPane*)) data_imports_ui_concrete_dialog_pane_real_get_widget; + iface->get_widget = (GtkWidget* (*) (SpitDataImportsDialogPane *)) data_imports_ui_concrete_dialog_pane_real_get_widget; #line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - iface->get_preferred_geometry = (SpitDataImportsDialogPaneGeometryOptions (*)(SpitDataImportsDialogPane*)) data_imports_ui_concrete_dialog_pane_real_get_preferred_geometry; + iface->get_preferred_geometry = (SpitDataImportsDialogPaneGeometryOptions (*) (SpitDataImportsDialogPane *)) data_imports_ui_concrete_dialog_pane_real_get_preferred_geometry; #line 12 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - iface->on_pane_installed = (void (*)(SpitDataImportsDialogPane*)) data_imports_ui_concrete_dialog_pane_real_on_pane_installed; + 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; + iface->on_pane_uninstalled = (void (*) (SpitDataImportsDialogPane *)) data_imports_ui_concrete_dialog_pane_real_on_pane_uninstalled; #line 430 "DataImportsUI.c" } @@ -441,7 +441,7 @@ static void data_imports_ui_concrete_dialog_pane_instance_init (DataImportsUICon } -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); @@ -470,11 +470,11 @@ 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 * self = NULL; GtkLabel* message_label = NULL; - const gchar* _tmp0_ = NULL; - GtkLabel* _tmp1_ = NULL; - GtkWidget* _tmp2_ = NULL; - GtkBox* _tmp3_ = NULL; - GtkBox* _tmp4_ = NULL; + const gchar* _tmp0_; + GtkLabel* _tmp1_; + GtkWidget* _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" @@ -521,11 +521,11 @@ DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_new (const g DataImportsUIStaticMessagePane* data_imports_ui_static_message_pane_construct_with_pango (GType object_type, const gchar* msg) { DataImportsUIStaticMessagePane * self = NULL; GtkLabel* label = NULL; - GtkLabel* _tmp0_ = NULL; - const gchar* _tmp1_ = NULL; - GtkWidget* _tmp2_ = NULL; - GtkBox* _tmp3_ = NULL; - GtkBox* _tmp4_ = NULL; + GtkLabel* _tmp0_; + const gchar* _tmp1_; + GtkWidget* _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" @@ -596,44 +596,44 @@ GType data_imports_ui_static_message_pane_get_type (void) { } -static Block10Data* block10_data_ref (Block10Data* _data10_) { +static Block11Data* block11_data_ref (Block11Data* _data11_) { #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_atomic_int_inc (&_data10_->_ref_count_); + g_atomic_int_inc (&_data11_->_ref_count_); #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - return _data10_; + return _data11_; #line 601 "DataImportsUI.c" } -static void block10_data_unref (void * _userdata_) { - Block10Data* _data10_; - _data10_ = (Block10Data*) _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 (&_data10_->_ref_count_)) { + if (g_atomic_int_dec_and_test (&_data11_->_ref_count_)) { #line 610 "DataImportsUI.c" DataImportsUILibrarySelectionPane* self; #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - self = _data10_->self; + self = _data11_->self; #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _g_object_unref0 (_data10_->file_chooser); + _g_object_unref0 (_data11_->file_chooser); #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (self); #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_slice_free (Block10Data, _data10_); + g_slice_free (Block11Data, _data11_); #line 620 "DataImportsUI.c" } } -static void ___lambda19_ (Block10Data* _data10_) { +static void ___lambda21_ (Block11Data* _data11_) { DataImportsUILibrarySelectionPane* self; - GtkFileChooserButton* _tmp0_ = NULL; - GFile* _tmp1_ = NULL; - GtkRadioButton* _tmp2_ = NULL; + GtkFileChooserButton* _tmp0_; + GFile* _tmp1_; + GtkRadioButton* _tmp2_; #line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - self = _data10_->self; + self = _data11_->self; #line 102 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp0_ = _data10_->file_chooser; + _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)); #line 102 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -645,7 +645,7 @@ static void ___lambda19_ (Block10Data* _data10_) { #line 103 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (_tmp2_ != NULL) { #line 644 "DataImportsUI.c" - GtkRadioButton* _tmp3_ = NULL; + 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" @@ -658,34 +658,34 @@ static void ___lambda19_ (Block10Data* _data10_) { } -static void ____lambda19__gtk_file_chooser_selection_changed (GtkFileChooser* _sender, gpointer self) { +static void ____lambda21__gtk_file_chooser_selection_changed (GtkFileChooser* _sender, gpointer self) { #line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - ___lambda19_ (self); + ___lambda21_ (self); #line 661 "DataImportsUI.c" } -static void __lambda20_ (DataImportsUILibrarySelectionPane* self) { - SpitDataImportsImportableLibrary* _tmp0_ = NULL; +static void __lambda22_ (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 671 "DataImportsUI.c" - SpitDataImportsImportableLibrary* _tmp1_ = NULL; + 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 677 "DataImportsUI.c" } else { - GFile* _tmp2_ = NULL; + 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 684 "DataImportsUI.c" - GFile* _tmp3_ = NULL; + 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" @@ -701,9 +701,9 @@ static void __lambda20_ (DataImportsUILibrarySelectionPane* self) { } -static void ___lambda20__gtk_button_clicked (GtkButton* _sender, gpointer self) { +static void ___lambda22__gtk_button_clicked (GtkButton* _sender, gpointer self) { #line 113 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - __lambda20_ ((DataImportsUILibrarySelectionPane*) self); + __lambda22_ ((DataImportsUILibrarySelectionPane*) self); #line 703 "DataImportsUI.c" } @@ -711,42 +711,41 @@ static void ___lambda20__gtk_button_clicked (GtkButton* _sender, gpointer self) 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_ = NULL; - gint _tmp1__length1 = 0; - SpitDataImportsPluginHost* _tmp2_ = NULL; + SpitDataImportsImportableLibrary** _tmp1_; + gint _tmp1__length1; + SpitDataImportsPluginHost* _tmp2_; GtkBox* content_box = NULL; - GtkBox* _tmp3_ = NULL; - GtkBox* _tmp4_ = NULL; - GtkBox* _tmp5_ = NULL; + GtkBox* _tmp3_; + GtkBox* _tmp4_; + GtkBox* _tmp5_; GtkLabel* welcome_label = NULL; - GtkLabel* _tmp6_ = NULL; - GtkLabel* _tmp7_ = NULL; - const gchar* _tmp8_ = NULL; - GtkLabel* _tmp9_ = NULL; - GtkLabel* _tmp10_ = NULL; - GtkBox* _tmp11_ = NULL; - GtkLabel* _tmp12_ = NULL; + GtkLabel* _tmp6_; + GtkLabel* _tmp7_; + const gchar* _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_ = 0; + gint _tmp13_; gint chooser_margin_right = 0; - gint _tmp14_ = 0; + gint _tmp14_; GtkRadioButton* lib_radio = NULL; - SpitDataImportsImportableLibrary** _tmp15_ = NULL; - gint _tmp15__length1 = 0; - const gchar* _tmp37_ = NULL; - const gchar* _tmp47_ = NULL; - GtkButton* _tmp48_ = NULL; - GtkButton* _tmp49_ = NULL; + SpitDataImportsImportableLibrary** _tmp15_; + gint _tmp15__length1; + const gchar* _tmp37_; + GtkButton* _tmp46_; + GtkButton* _tmp47_; GtkButtonBox* button_box = NULL; - GtkButtonBox* _tmp50_ = NULL; - GtkButton* _tmp51_ = NULL; - GtkBox* _tmp52_ = NULL; - GtkWidget* _tmp53_ = NULL; - GtkBox* _tmp54_ = NULL; - GtkBox* _tmp55_ = NULL; - GtkBox* _tmp56_ = NULL; + GtkButtonBox* _tmp48_; + GtkButton* _tmp49_; + GtkBox* _tmp50_; + GtkWidget* _tmp51_; + GtkBox* _tmp52_; + GtkBox* _tmp53_; + GtkBox* _tmp54_; #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" @@ -761,11 +760,11 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr if (_tmp1__length1 > 0) { #line 62 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = TRUE; -#line 760 "DataImportsUI.c" +#line 759 "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 763 "DataImportsUI.c" } #line 62 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _vala_assert (_tmp0_, "discovered_libraries.length > 0 || on_file_selected != null"); @@ -833,11 +832,11 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr _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_ = 0; - SpitDataImportsImportableLibrary** _tmp17_ = NULL; - gint _tmp17__length1 = 0; - const gchar* _tmp28_ = NULL; +#line 831 "DataImportsUI.c" + gint _tmp16_; + SpitDataImportsImportableLibrary** _tmp17_; + gint _tmp17__length1; + const gchar* _tmp28_; #line 83 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp16_ = radio_margin_left; #line 83 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -846,7 +845,7 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr _tmp17_ = discovered_libraries; #line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp17__length1 = discovered_libraries_length1; -#line 845 "DataImportsUI.c" +#line 844 "DataImportsUI.c" { SpitDataImportsImportableLibrary** library_collection = NULL; gint library_collection_length1 = 0; @@ -858,25 +857,25 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr library_collection_length1 = _tmp17__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_ = NULL; +#line 856 "DataImportsUI.c" + SpitDataImportsImportableLibrary* _tmp18_; SpitDataImportsImportableLibrary* library = NULL; #line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp18_ = _g_object_ref0 (library_collection[library_it]); #line 84 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" library = _tmp18_; -#line 864 "DataImportsUI.c" +#line 863 "DataImportsUI.c" { gchar* lib_radio_label = NULL; - SpitDataImportsImportableLibrary* _tmp19_ = NULL; - gchar* _tmp20_ = NULL; - GtkBox* _tmp21_ = NULL; - GtkRadioButton* _tmp22_ = NULL; - SpitDataImportsImportableLibrary* _tmp23_ = NULL; - const gchar* _tmp24_ = NULL; - gint _tmp25_ = 0; - gint _tmp26_ = 0; - GtkRadioButton* _tmp27_ = NULL; + SpitDataImportsImportableLibrary* _tmp19_; + gchar* _tmp20_; + GtkBox* _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; #line 85 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -905,7 +904,7 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr _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 903 "DataImportsUI.c" } } } @@ -913,15 +912,15 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr _tmp28_ = file_select_label; #line 91 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (_tmp28_ != NULL) { -#line 912 "DataImportsUI.c" - GtkBox* _tmp29_ = NULL; - GtkRadioButton* _tmp30_ = NULL; - const gchar* _tmp31_ = NULL; - gint _tmp32_ = 0; - gint _tmp33_ = 0; - GtkRadioButton* _tmp34_ = NULL; - GtkRadioButton* _tmp35_ = NULL; - GtkRadioButton* _tmp36_ = NULL; +#line 911 "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; #line 92 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -946,114 +945,109 @@ DataImportsUILibrarySelectionPane* data_imports_ui_library_selection_pane_constr _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" +#line 944 "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" - Block10Data* _data10_; - const gchar* _tmp38_ = NULL; - GtkFileChooserButton* _tmp39_ = NULL; - GtkFileChooserButton* _tmp40_ = NULL; - GtkFileChooserButton* _tmp41_ = NULL; - gint _tmp42_ = 0; - GtkFileChooserButton* _tmp43_ = NULL; - gint _tmp44_ = 0; - GtkBox* _tmp45_ = NULL; - GtkFileChooserButton* _tmp46_ = NULL; +#line 951 "DataImportsUI.c" + Block11Data* _data11_; + GtkFileChooserButton* _tmp38_; + GtkFileChooserButton* _tmp39_; + GtkFileChooserButton* _tmp40_; + gint _tmp41_; + GtkFileChooserButton* _tmp42_; + gint _tmp43_; + GtkBox* _tmp44_; + GtkFileChooserButton* _tmp45_; #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data10_ = g_slice_new0 (Block10Data); + _data11_ = g_slice_new0 (Block11Data); #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data10_->_ref_count_ = 1; + _data11_->_ref_count_ = 1; #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data10_->self = g_object_ref (self); -#line 100 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp38_ = _ ("Database file:"); + _data11_->self = g_object_ref (self); #line 100 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp39_ = (GtkFileChooserButton*) gtk_file_chooser_button_new (_tmp38_, GTK_FILE_CHOOSER_ACTION_OPEN); + _tmp38_ = (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 (_tmp39_); + g_object_ref_sink (_tmp38_); #line 100 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data10_->file_chooser = _tmp39_; + _data11_->file_chooser = _tmp38_; #line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp40_ = _data10_->file_chooser; + _tmp39_ = _data11_->file_chooser; #line 101 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), "selection-changed", (GCallback) ____lambda19__gtk_file_chooser_selection_changed, block10_data_ref (_data10_), (GClosureNotify) block10_data_unref, 0); + g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), "selection-changed", (GCallback) ____lambda21__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" - _tmp41_ = _data10_->file_chooser; + _tmp40_ = _data11_->file_chooser; #line 107 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp42_ = chooser_margin_left; + _tmp41_ = chooser_margin_left; #line 107 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), _tmp42_); + gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget), _tmp41_); #line 108 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp43_ = _data10_->file_chooser; + _tmp42_ = _data11_->file_chooser; #line 108 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp44_ = chooser_margin_right; + _tmp43_ = chooser_margin_right; #line 108 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), _tmp44_); + gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget), _tmp43_); #line 109 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp45_ = content_box; + _tmp44_ = content_box; #line 109 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp46_ = _data10_->file_chooser; + _tmp45_ = _data11_->file_chooser; #line 109 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_box_pack_start (_tmp45_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6); + gtk_box_pack_start (_tmp44_, G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6); #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - block10_data_unref (_data10_); + block11_data_unref (_data11_); #line 99 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data10_ = NULL; -#line 1003 "DataImportsUI.c" + _data11_ = NULL; +#line 999 "DataImportsUI.c" } #line 112 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp47_ = _ ("_Import"); + _tmp46_ = (GtkButton*) gtk_button_new_with_mnemonic (_ ("_Import")); #line 112 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp48_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp47_); -#line 112 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_object_ref_sink (_tmp48_); + g_object_ref_sink (_tmp46_); #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 = _tmp48_; + self->priv->import_button = _tmp46_; #line 113 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp49_ = self->priv->import_button; + _tmp47_ = self->priv->import_button; #line 113 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_signal_connect_object (_tmp49_, "clicked", (GCallback) ___lambda20__gtk_button_clicked, self, 0); + g_signal_connect_object (_tmp47_, "clicked", (GCallback) ___lambda22__gtk_button_clicked, self, 0); #line 121 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp50_ = (GtkButtonBox*) gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); + _tmp48_ = (GtkButtonBox*) gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); #line 121 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_object_ref_sink (_tmp50_); + g_object_ref_sink (_tmp48_); #line 121 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - button_box = _tmp50_; + button_box = _tmp48_; #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" - _tmp51_ = self->priv->import_button; + _tmp49_ = 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 (_tmp51_, 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 (_tmp49_, gtk_widget_get_type (), GtkWidget)); #line 124 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp52_ = content_box; + _tmp50_ = content_box; #line 124 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_box_pack_end (_tmp52_, G_TYPE_CHECK_INSTANCE_CAST (button_box, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 6); + gtk_box_pack_end (_tmp50_, 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" - _tmp53_ = spit_data_imports_dialog_pane_get_widget (G_TYPE_CHECK_INSTANCE_CAST (self, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane)); + _tmp51_ = 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" - _tmp54_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp53_, gtk_box_get_type ()) ? ((GtkBox*) _tmp53_) : NULL; + _tmp52_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp51_, gtk_box_get_type ()) ? ((GtkBox*) _tmp51_) : NULL; #line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - if (_tmp54_ == NULL) { + if (_tmp52_ == NULL) { #line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _g_object_unref0 (_tmp53_); -#line 1043 "DataImportsUI.c" + _g_object_unref0 (_tmp51_); +#line 1037 "DataImportsUI.c" } #line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp55_ = _tmp54_; + _tmp53_ = _tmp52_; #line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp56_ = content_box; + _tmp54_ = content_box; #line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_box_pack_start (_tmp55_, G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); + gtk_box_pack_start (_tmp53_, G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); #line 126 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _g_object_unref0 (_tmp55_); + _g_object_unref0 (_tmp53_); #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" @@ -1066,68 +1060,68 @@ 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 1065 "DataImportsUI.c" +#line 1059 "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) { #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 1072 "DataImportsUI.c" +#line 1066 "DataImportsUI.c" } -static Block11Data* block11_data_ref (Block11Data* _data11_) { +static Block12Data* block12_data_ref (Block12Data* _data12_) { #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_atomic_int_inc (&_data11_->_ref_count_); + g_atomic_int_inc (&_data12_->_ref_count_); #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - return _data11_; -#line 1081 "DataImportsUI.c" + return _data12_; +#line 1075 "DataImportsUI.c" } -static void block11_data_unref (void * _userdata_) { - Block11Data* _data11_; - _data11_ = (Block11Data*) _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 (&_data11_->_ref_count_)) { -#line 1090 "DataImportsUI.c" + if (g_atomic_int_dec_and_test (&_data12_->_ref_count_)) { +#line 1084 "DataImportsUI.c" DataImportsUILibrarySelectionPane* self; #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - self = _data11_->self; + self = _data12_->self; #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _g_object_unref0 (_data11_->button); + _g_object_unref0 (_data12_->button); #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _g_object_unref0 (_data11_->library); + _g_object_unref0 (_data12_->library); #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (self); #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_slice_free (Block11Data, _data11_); -#line 1102 "DataImportsUI.c" + g_slice_free (Block12Data, _data12_); +#line 1096 "DataImportsUI.c" } } -static void __lambda18_ (Block11Data* _data11_) { +static void __lambda20_ (Block12Data* _data12_) { DataImportsUILibrarySelectionPane* self; - GtkRadioButton* _tmp0_ = NULL; - gboolean _tmp1_ = FALSE; - gboolean _tmp2_ = FALSE; + GtkRadioButton* _tmp0_; + gboolean _tmp1_; + gboolean _tmp2_; #line 140 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - self = _data11_->self; + self = _data12_->self; #line 141 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp0_ = _data11_->button; + _tmp0_ = _data12_->button; #line 141 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton)); #line 141 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp2_ = _tmp1_; #line 141 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (_tmp2_) { -#line 1122 "DataImportsUI.c" - SpitDataImportsImportableLibrary* _tmp3_ = NULL; - SpitDataImportsImportableLibrary* _tmp4_ = NULL; +#line 1116 "DataImportsUI.c" + SpitDataImportsImportableLibrary* _tmp3_; + SpitDataImportsImportableLibrary* _tmp4_; #line 142 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp3_ = _data11_->library; + _tmp3_ = _data12_->library; #line 142 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp4_ = _g_object_ref0 (_tmp3_); #line 142 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -1136,36 +1130,36 @@ static void __lambda18_ (Block11Data* _data11_) { self->priv->selected_library = _tmp4_; #line 143 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_library_selection_pane_set_import_button_sensitivity (self); -#line 1135 "DataImportsUI.c" +#line 1129 "DataImportsUI.c" } } -static void ___lambda18__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) { +static void ___lambda20__gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) { #line 140 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - __lambda18_ (self); -#line 1143 "DataImportsUI.c" + __lambda20_ (self); +#line 1137 "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) { GtkRadioButton* result = NULL; - Block11Data* _data11_; - SpitDataImportsImportableLibrary* _tmp0_ = NULL; - SpitDataImportsImportableLibrary* _tmp1_ = NULL; - GtkRadioButton* _tmp2_ = NULL; - const gchar* _tmp3_ = NULL; - GtkRadioButton* _tmp4_ = NULL; - GtkRadioButton* _tmp5_ = NULL; - GtkRadioButton* _tmp9_ = NULL; - GtkRadioButton* _tmp10_ = NULL; - gint _tmp11_ = 0; - GtkRadioButton* _tmp12_ = NULL; - gint _tmp13_ = 0; - GtkBox* _tmp14_ = NULL; - GtkRadioButton* _tmp15_ = NULL; - GtkRadioButton* _tmp16_ = NULL; - GtkRadioButton* _tmp17_ = NULL; + Block12Data* _data12_; + SpitDataImportsImportableLibrary* _tmp0_; + SpitDataImportsImportableLibrary* _tmp1_; + GtkRadioButton* _tmp2_; + const gchar* _tmp3_; + GtkRadioButton* _tmp4_; + GtkRadioButton* _tmp5_; + 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" @@ -1177,19 +1171,19 @@ static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_butto #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_val_if_fail (label != NULL, NULL); #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data11_ = g_slice_new0 (Block11Data); + _data12_ = g_slice_new0 (Block12Data); #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data11_->_ref_count_ = 1; + _data12_->_ref_count_ = 1; #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data11_->self = g_object_ref (self); + _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_); #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _g_object_unref0 (_data11_->library); + _g_object_unref0 (_data12_->library); #line 131 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data11_->library = _tmp1_; + _data12_->library = _tmp1_; #line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp2_ = group; #line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -1199,41 +1193,41 @@ static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_butto #line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_object_ref_sink (_tmp4_); #line 135 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data11_->button = _tmp4_; + _data12_->button = _tmp4_; #line 136 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp5_ = group; #line 136 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (_tmp5_ == NULL) { -#line 1203 "DataImportsUI.c" - GtkRadioButton* _tmp6_ = NULL; - SpitDataImportsImportableLibrary* _tmp7_ = NULL; - SpitDataImportsImportableLibrary* _tmp8_ = NULL; +#line 1197 "DataImportsUI.c" + GtkRadioButton* _tmp6_; + SpitDataImportsImportableLibrary* _tmp7_; + SpitDataImportsImportableLibrary* _tmp8_; #line 137 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp6_ = _data11_->button; + _tmp6_ = _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_ = _data11_->library; + _tmp7_ = _data12_->library; #line 138 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp8_ = _g_object_ref0 (_tmp7_); #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 1219 "DataImportsUI.c" +#line 1213 "DataImportsUI.c" } #line 140 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp9_ = _data11_->button; + _tmp9_ = _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) ___lambda18__gtk_toggle_button_toggled, block11_data_ref (_data11_), (GClosureNotify) block11_data_unref, 0); + g_signal_connect_data (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) ___lambda20__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_ = _data11_->button; + _tmp10_ = _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_ = _data11_->button; + _tmp12_ = _data12_->button; #line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp13_ = margin_right; #line 148 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -1241,29 +1235,29 @@ static GtkRadioButton* data_imports_ui_library_selection_pane_create_radio_butto #line 149 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp14_ = box; #line 149 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp15_ = _data11_->button; + _tmp15_ = _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); #line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp16_ = _data11_->button; + _tmp16_ = _data12_->button; #line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp17_ = _g_object_ref0 (_tmp16_); #line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" result = _tmp17_; #line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - block11_data_unref (_data11_); + block12_data_unref (_data12_); #line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _data11_ = NULL; + _data12_ = NULL; #line 150 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" return result; -#line 1255 "DataImportsUI.c" +#line 1249 "DataImportsUI.c" } static void data_imports_ui_library_selection_pane_set_import_button_sensitivity (DataImportsUILibrarySelectionPane* self) { gboolean _tmp0_ = FALSE; - SpitDataImportsImportableLibrary* _tmp1_ = NULL; - GtkButton* _tmp3_ = NULL; + SpitDataImportsImportableLibrary* _tmp1_; + GtkButton* _tmp3_; #line 153 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_LIBRARY_SELECTION_PANE (self)); #line 154 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -1272,28 +1266,28 @@ 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 1271 "DataImportsUI.c" +#line 1265 "DataImportsUI.c" } else { - GFile* _tmp2_ = NULL; + 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 1278 "DataImportsUI.c" +#line 1272 "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 1284 "DataImportsUI.c" +#line 1278 "DataImportsUI.c" } static void data_imports_ui_library_selection_pane_on_library_selected (DataImportsUILibrarySelectionPane* self, SpitDataImportsImportableLibrary* library) { - SpitDataImportsPluginHost* _tmp0_ = NULL; - SpitDataImportsDataImporter* _tmp1_ = NULL; - SpitDataImportsDataImporter* _tmp2_ = NULL; - SpitDataImportsImportableLibrary* _tmp3_ = NULL; + 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" @@ -1310,15 +1304,15 @@ static void data_imports_ui_library_selection_pane_on_library_selected (DataImpo spit_data_imports_data_importer_on_library_selected (_tmp2_, _tmp3_); #line 158 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (_tmp2_); -#line 1309 "DataImportsUI.c" +#line 1303 "DataImportsUI.c" } static void data_imports_ui_library_selection_pane_on_file_selected (DataImportsUILibrarySelectionPane* self, GFile* file) { - SpitDataImportsPluginHost* _tmp0_ = NULL; - SpitDataImportsDataImporter* _tmp1_ = NULL; - SpitDataImportsDataImporter* _tmp2_ = NULL; - GFile* _tmp3_ = NULL; + 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" @@ -1335,7 +1329,7 @@ static void data_imports_ui_library_selection_pane_on_file_selected (DataImports spit_data_imports_data_importer_on_file_selected (_tmp2_, _tmp3_); #line 162 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (_tmp2_); -#line 1334 "DataImportsUI.c" +#line 1328 "DataImportsUI.c" } @@ -1346,7 +1340,7 @@ static void data_imports_ui_library_selection_pane_class_init (DataImportsUILibr 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 1345 "DataImportsUI.c" +#line 1339 "DataImportsUI.c" } @@ -1359,11 +1353,11 @@ 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 1358 "DataImportsUI.c" +#line 1352 "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); @@ -1377,7 +1371,7 @@ 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 1376 "DataImportsUI.c" +#line 1370 "DataImportsUI.c" } @@ -1396,17 +1390,17 @@ GType data_imports_ui_library_selection_pane_get_type (void) { DataImportsUIProgressPane* data_imports_ui_progress_pane_construct (GType object_type, const gchar* message) { DataImportsUIProgressPane * self = NULL; GtkBox* content_box = NULL; - GtkBox* _tmp0_ = NULL; - const gchar* _tmp1_ = NULL; - GtkLabel* _tmp2_ = NULL; - GtkLabel* _tmp3_ = NULL; - GtkProgressBar* _tmp4_ = NULL; - GtkProgressBar* _tmp5_ = NULL; - GtkLabel* _tmp6_ = NULL; - GtkLabel* _tmp7_ = NULL; - GtkWidget* _tmp8_ = NULL; - GtkContainer* _tmp9_ = NULL; - GtkContainer* _tmp10_ = NULL; + GtkBox* _tmp0_; + const gchar* _tmp1_; + GtkLabel* _tmp2_; + GtkLabel* _tmp3_; + GtkProgressBar* _tmp4_; + GtkProgressBar* _tmp5_; + GtkLabel* _tmp6_; + GtkLabel* _tmp7_; + GtkWidget* _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" @@ -1463,7 +1457,7 @@ DataImportsUIProgressPane* data_imports_ui_progress_pane_construct (GType object if (_tmp9_ == NULL) { #line 180 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (_tmp8_); -#line 1462 "DataImportsUI.c" +#line 1456 "DataImportsUI.c" } #line 180 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp10_ = _tmp9_; @@ -1475,21 +1469,21 @@ DataImportsUIProgressPane* data_imports_ui_progress_pane_construct (GType object _g_object_unref0 (content_box); #line 171 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" return self; -#line 1474 "DataImportsUI.c" +#line 1468 "DataImportsUI.c" } 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 1481 "DataImportsUI.c" +#line 1475 "DataImportsUI.c" } void data_imports_ui_progress_pane_update_progress (DataImportsUIProgressPane* self, gdouble progress, const gchar* progress_message) { - GtkProgressBar* _tmp0_ = NULL; - gdouble _tmp1_ = 0.0; - const gchar* _tmp2_ = NULL; + 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" @@ -1502,20 +1496,20 @@ void data_imports_ui_progress_pane_update_progress (DataImportsUIProgressPane* s _tmp2_ = progress_message; #line 185 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (_tmp2_ != NULL) { -#line 1501 "DataImportsUI.c" - GtkLabel* _tmp3_ = NULL; - const gchar* _tmp4_ = NULL; +#line 1495 "DataImportsUI.c" + GtkLabel* _tmp3_; + const gchar* _tmp4_; #line 186 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp3_ = 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 1510 "DataImportsUI.c" +#line 1504 "DataImportsUI.c" } #line 187 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" spin_event_loop (); -#line 1514 "DataImportsUI.c" +#line 1508 "DataImportsUI.c" } @@ -1526,18 +1520,18 @@ static void data_imports_ui_progress_pane_class_init (DataImportsUIProgressPaneC 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 1525 "DataImportsUI.c" +#line 1519 "DataImportsUI.c" } 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 1532 "DataImportsUI.c" +#line 1526 "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); @@ -1549,7 +1543,7 @@ 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 1548 "DataImportsUI.c" +#line 1542 "DataImportsUI.c" } @@ -1570,52 +1564,50 @@ static gboolean _data_imports_ui_data_imports_dialog_on_window_close_gtk_widget_ result = data_imports_ui_data_imports_dialog_on_window_close ((DataImportsUIDataImportsDialog*) self, event); #line 218 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" return result; -#line 1569 "DataImportsUI.c" +#line 1563 "DataImportsUI.c" } static void _data_imports_ui_data_imports_dialog_on_service_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) { #line 251 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_on_service_changed ((DataImportsUIDataImportsDialog*) self); -#line 1576 "DataImportsUI.c" +#line 1570 "DataImportsUI.c" } static void _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) { -#line 304 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 306 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_on_close_cancel_clicked ((DataImportsUIDataImportsDialog*) self); -#line 1583 "DataImportsUI.c" +#line 1577 "DataImportsUI.c" } DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (GType object_type) { DataImportsUIDataImportsDialog * self = NULL; gboolean use_header = FALSE; - GtkSettings* _tmp0_ = NULL; + GtkSettings* _tmp0_; gint _tmp1_ = 0; - gboolean _tmp2_ = FALSE; - gboolean _tmp3_ = FALSE; + gboolean _tmp2_; + gboolean _tmp3_; gchar* title = NULL; - const gchar* _tmp5_ = NULL; - gchar* _tmp6_ = NULL; + gchar* _tmp5_; gchar* label = NULL; - const gchar* _tmp7_ = NULL; - gchar* _tmp8_ = NULL; - const gchar* _tmp9_ = NULL; + gchar* _tmp6_; + const gchar* _tmp7_; SpitDataImportsService** loaded_services = NULL; - gint _tmp10_ = 0; - SpitDataImportsService** _tmp11_ = NULL; - gint loaded_services_length1 = 0; - gint _loaded_services_size_ = 0; - SpitDataImportsService** _tmp12_ = NULL; - gint _tmp12__length1 = 0; - GtkBox* _tmp67_ = NULL; - GtkBox* _tmp68_ = NULL; - GtkBox* _tmp69_ = NULL; - gboolean _tmp70_ = FALSE; - GtkButton* _tmp80_ = NULL; - SpitDataImportsService** _tmp81_ = NULL; - gint _tmp81__length1 = 0; + gint _tmp8_; + SpitDataImportsService** _tmp9_; + gint loaded_services_length1; + gint _loaded_services_size_; + SpitDataImportsService** _tmp10_; + gint _tmp10__length1; + GtkBox* _tmp65_; + GtkBox* _tmp66_; + GtkBox* _tmp67_; + gboolean _tmp68_; + GtkButton* _tmp78_; + SpitDataImportsService** _tmp79_; + gint _tmp79__length1; #line 211 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" use_header = FALSE; #line 212 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -1628,11 +1620,11 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (G if (_tmp2_) { #line 213 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp1_ = 1; -#line 1627 "DataImportsUI.c" +#line 1619 "DataImportsUI.c" } else { #line 213 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp1_ = 0; -#line 1631 "DataImportsUI.c" +#line 1623 "DataImportsUI.c" } #line 213 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" self = (DataImportsUIDataImportsDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL); @@ -1640,352 +1632,348 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (G _tmp3_ = use_header; #line 214 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (_tmp3_) { -#line 1639 "DataImportsUI.c" - GtkWidget* _tmp4_ = NULL; +#line 1631 "DataImportsUI.c" + GtkWidget* _tmp4_; #line 215 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp4_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); #line 215 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" gtk_header_bar_set_show_close_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_header_bar_get_type (), GtkHeaderBar), FALSE); -#line 1645 "DataImportsUI.c" +#line 1637 "DataImportsUI.c" } #line 217 "/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 218 "/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 220 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp5_ = _ ("Import From Application"); -#line 220 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp6_ = g_strdup (_tmp5_); + _tmp5_ = g_strdup (_ ("Import From Application")); #line 220 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - title = _tmp6_; + title = _tmp5_; #line 221 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp7_ = _ ("Import media _from:"); + _tmp6_ = g_strdup (_ ("Import media _from:")); #line 221 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp8_ = g_strdup (_tmp7_); -#line 221 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - label = _tmp8_; + label = _tmp6_; #line 223 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp9_ = title; + _tmp7_ = title; #line 223 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp9_); + gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp7_); #line 225 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp11_ = spit_data_imports_load_services (FALSE, &_tmp10_); + _tmp9_ = spit_data_imports_load_services (FALSE, &_tmp8_); #line 225 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - loaded_services = _tmp11_; + loaded_services = _tmp9_; #line 225 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - loaded_services_length1 = _tmp10_; + loaded_services_length1 = _tmp8_; #line 225 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _loaded_services_size_ = loaded_services_length1; #line 227 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp12_ = loaded_services; + _tmp10_ = loaded_services; #line 227 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp12__length1 = loaded_services_length1; + _tmp10__length1 = loaded_services_length1; #line 227 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - if (_tmp12__length1 > 0) { -#line 1681 "DataImportsUI.c" - GtkComboBoxText* _tmp13_ = NULL; - GtkComboBoxText* _tmp14_ = NULL; + if (_tmp10__length1 > 0) { +#line 1669 "DataImportsUI.c" + GtkComboBoxText* _tmp11_; + GtkComboBoxText* _tmp12_; gchar* last_used_service = NULL; - ConfigFacade* _tmp15_ = NULL; - ConfigFacade* _tmp16_ = NULL; - gchar* _tmp17_ = NULL; - gchar* _tmp18_ = NULL; + ConfigFacade* _tmp13_; + ConfigFacade* _tmp14_; + gchar* _tmp15_; + gchar* _tmp16_; gint ticker = 0; gint last_used_index = 0; - SpitDataImportsService** _tmp19_ = NULL; - gint _tmp19__length1 = 0; - gint _tmp33_ = 0; - GtkComboBoxText* _tmp37_ = NULL; - gboolean _tmp38_ = FALSE; + SpitDataImportsService** _tmp17_; + gint _tmp17__length1; + gint _tmp31_; + GtkComboBoxText* _tmp35_; + gboolean _tmp36_; #line 230 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp13_ = (GtkComboBoxText*) gtk_combo_box_text_new (); + _tmp11_ = (GtkComboBoxText*) gtk_combo_box_text_new (); #line 230 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_object_ref_sink (_tmp13_); + g_object_ref_sink (_tmp11_); #line 230 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (self->priv->service_selector_box); #line 230 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - self->priv->service_selector_box = _tmp13_; + self->priv->service_selector_box = _tmp11_; #line 231 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp14_ = self->priv->service_selector_box; + _tmp12_ = self->priv->service_selector_box; #line 231 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_combo_box_get_type (), GtkComboBox), 0); + gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_combo_box_get_type (), GtkComboBox), 0); #line 234 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp15_ = config_facade_get_instance (); + _tmp13_ = config_facade_get_instance (); #line 234 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp16_ = _tmp15_; + _tmp14_ = _tmp13_; #line 234 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp17_ = configuration_facade_get_last_used_dataimports_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); + _tmp15_ = configuration_facade_get_last_used_dataimports_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); #line 234 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp18_ = _tmp17_; + _tmp16_ = _tmp15_; #line 234 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _g_object_unref0 (_tmp16_); + _g_object_unref0 (_tmp14_); #line 234 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - last_used_service = _tmp18_; + last_used_service = _tmp16_; #line 236 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" ticker = 0; #line 237 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" last_used_index = -1; #line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp19_ = loaded_services; + _tmp17_ = loaded_services; #line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp19__length1 = loaded_services_length1; -#line 1728 "DataImportsUI.c" + _tmp17__length1 = loaded_services_length1; +#line 1716 "DataImportsUI.c" { SpitDataImportsService** service_collection = NULL; gint service_collection_length1 = 0; gint _service_collection_size_ = 0; gint service_it = 0; #line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - service_collection = _tmp19_; + service_collection = _tmp17_; #line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - service_collection_length1 = _tmp19__length1; + service_collection_length1 = _tmp17__length1; #line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - for (service_it = 0; service_it < _tmp19__length1; service_it = service_it + 1) { -#line 1740 "DataImportsUI.c" - SpitDataImportsService* _tmp20_ = NULL; + for (service_it = 0; service_it < _tmp17__length1; service_it = service_it + 1) { +#line 1728 "DataImportsUI.c" + SpitDataImportsService* _tmp18_; SpitDataImportsService* service = NULL; #line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp20_ = _g_object_ref0 (service_collection[service_it]); + _tmp18_ = _g_object_ref0 (service_collection[service_it]); #line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - service = _tmp20_; -#line 1747 "DataImportsUI.c" + service = _tmp18_; +#line 1735 "DataImportsUI.c" { gchar* curr_service_id = NULL; - SpitDataImportsService* _tmp21_ = NULL; - const gchar* _tmp22_ = NULL; - gchar* _tmp23_ = NULL; - gboolean _tmp24_ = FALSE; - const gchar* _tmp25_ = NULL; - GtkComboBoxText* _tmp29_ = NULL; - SpitDataImportsService* _tmp30_ = NULL; - const gchar* _tmp31_ = NULL; - gint _tmp32_ = 0; + SpitDataImportsService* _tmp19_; + const gchar* _tmp20_; + gchar* _tmp21_; + gboolean _tmp22_ = FALSE; + const gchar* _tmp23_; + GtkComboBoxText* _tmp27_; + SpitDataImportsService* _tmp28_; + const gchar* _tmp29_; + gint _tmp30_; #line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp21_ = service; + _tmp19_ = service; #line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp22_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, SPIT_TYPE_PLUGGABLE, SpitPluggable)); + _tmp20_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, SPIT_TYPE_PLUGGABLE, SpitPluggable)); #line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp23_ = g_strdup (_tmp22_); + _tmp21_ = g_strdup (_tmp20_); #line 239 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - curr_service_id = _tmp23_; + curr_service_id = _tmp21_; #line 240 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp25_ = last_used_service; + _tmp23_ = last_used_service; #line 240 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - if (_tmp25_ != NULL) { -#line 1771 "DataImportsUI.c" - const gchar* _tmp26_ = NULL; - const gchar* _tmp27_ = NULL; + if (_tmp23_ != NULL) { +#line 1759 "DataImportsUI.c" + const gchar* _tmp24_; + const gchar* _tmp25_; #line 240 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp26_ = last_used_service; + _tmp24_ = last_used_service; #line 240 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp27_ = curr_service_id; + _tmp25_ = curr_service_id; #line 240 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp24_ = g_strcmp0 (_tmp26_, _tmp27_) == 0; -#line 1780 "DataImportsUI.c" + _tmp22_ = g_strcmp0 (_tmp24_, _tmp25_) == 0; +#line 1768 "DataImportsUI.c" } else { #line 240 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp24_ = FALSE; -#line 1784 "DataImportsUI.c" + _tmp22_ = FALSE; +#line 1772 "DataImportsUI.c" } #line 240 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - if (_tmp24_) { -#line 1788 "DataImportsUI.c" - gint _tmp28_ = 0; + if (_tmp22_) { +#line 1776 "DataImportsUI.c" + gint _tmp26_; #line 241 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp28_ = ticker; + _tmp26_ = ticker; #line 241 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - last_used_index = _tmp28_; -#line 1794 "DataImportsUI.c" + last_used_index = _tmp26_; +#line 1782 "DataImportsUI.c" } #line 243 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp29_ = self->priv->service_selector_box; + _tmp27_ = self->priv->service_selector_box; #line 243 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp30_ = service; + _tmp28_ = service; #line 243 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp31_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, SPIT_TYPE_PLUGGABLE, SpitPluggable)); + _tmp29_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, SPIT_TYPE_PLUGGABLE, SpitPluggable)); #line 243 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_combo_box_text_append_text (_tmp29_, _tmp31_); + gtk_combo_box_text_append_text (_tmp27_, _tmp29_); #line 244 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp32_ = ticker; + _tmp30_ = ticker; #line 244 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - ticker = _tmp32_ + 1; + ticker = _tmp30_ + 1; #line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_free0 (curr_service_id); #line 238 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (service); -#line 1812 "DataImportsUI.c" +#line 1800 "DataImportsUI.c" } } } #line 246 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp33_ = last_used_index; + _tmp31_ = last_used_index; #line 246 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - if (_tmp33_ >= 0) { -#line 1820 "DataImportsUI.c" - GtkComboBoxText* _tmp34_ = NULL; - gint _tmp35_ = 0; + if (_tmp31_ >= 0) { +#line 1808 "DataImportsUI.c" + GtkComboBoxText* _tmp32_; + gint _tmp33_; #line 247 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp34_ = self->priv->service_selector_box; + _tmp32_ = self->priv->service_selector_box; #line 247 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp35_ = last_used_index; + _tmp33_ = last_used_index; #line 247 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_combo_box_get_type (), GtkComboBox), _tmp35_); -#line 1829 "DataImportsUI.c" + gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_combo_box_get_type (), GtkComboBox), _tmp33_); +#line 1817 "DataImportsUI.c" } else { - GtkComboBoxText* _tmp36_ = NULL; + GtkComboBoxText* _tmp34_; #line 249 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp36_ = self->priv->service_selector_box; + _tmp34_ = self->priv->service_selector_box; #line 249 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_combo_box_get_type (), GtkComboBox), 0); -#line 1836 "DataImportsUI.c" + gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_combo_box_get_type (), GtkComboBox), 0); +#line 1824 "DataImportsUI.c" } #line 251 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp37_ = self->priv->service_selector_box; + _tmp35_ = self->priv->service_selector_box; #line 251 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, 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 (_tmp35_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _data_imports_ui_data_imports_dialog_on_service_changed_gtk_combo_box_changed, self, 0); #line 253 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp38_ = use_header; + _tmp36_ = use_header; #line 253 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - if (!_tmp38_) { -#line 1846 "DataImportsUI.c" + if (!_tmp36_) { +#line 1834 "DataImportsUI.c" GtkLabel* service_selector_box_label = NULL; - const gchar* _tmp39_ = NULL; - GtkLabel* _tmp40_ = NULL; - GtkLabel* _tmp41_ = NULL; - GtkComboBoxText* _tmp42_ = NULL; - GtkLabel* _tmp43_ = NULL; - GtkLabel* _tmp44_ = NULL; - GtkComboBoxText* _tmp45_ = NULL; - GtkComboBoxText* _tmp46_ = NULL; - GtkComboBoxText* _tmp47_ = NULL; - GtkComboBoxText* _tmp48_ = NULL; + const gchar* _tmp37_; + GtkLabel* _tmp38_; + GtkLabel* _tmp39_; + GtkComboBoxText* _tmp40_; + GtkLabel* _tmp41_; + GtkLabel* _tmp42_; + GtkComboBoxText* _tmp43_; + GtkComboBoxText* _tmp44_; + GtkComboBoxText* _tmp45_; + GtkComboBoxText* _tmp46_; GtkBox* service_selector_layouter = NULL; - GtkBox* _tmp49_ = NULL; - GtkBox* _tmp50_ = NULL; - GtkBox* _tmp51_ = NULL; - GtkLabel* _tmp52_ = NULL; - GtkBox* _tmp53_ = NULL; - GtkComboBoxText* _tmp54_ = NULL; + GtkBox* _tmp47_; + GtkBox* _tmp48_; + GtkBox* _tmp49_; + GtkLabel* _tmp50_; + GtkBox* _tmp51_; + GtkComboBoxText* _tmp52_; GtkBox* service_area_layouter = NULL; - GtkBox* _tmp55_ = NULL; - GtkBox* _tmp56_ = NULL; - GtkBox* _tmp57_ = NULL; + GtkBox* _tmp53_; + GtkBox* _tmp54_; + GtkBox* _tmp55_; GtkSeparator* service_central_separator = NULL; - GtkSeparator* _tmp58_ = NULL; - GtkBox* _tmp59_ = NULL; - GtkSeparator* _tmp60_ = NULL; - GtkBox* _tmp61_ = NULL; - GtkBox* _tmp62_ = NULL; - GtkBox* _tmp63_ = NULL; - GtkBox* _tmp64_ = NULL; - GtkBox* _tmp65_ = NULL; - GtkBox* _tmp66_ = NULL; + GtkSeparator* _tmp56_; + GtkBox* _tmp57_; + GtkSeparator* _tmp58_; + GtkBox* _tmp59_; + GtkBox* _tmp60_; + GtkBox* _tmp61_; + GtkBox* _tmp62_; + GtkBox* _tmp63_; + GtkBox* _tmp64_; #line 255 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp39_ = label; + _tmp37_ = label; #line 255 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp40_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp39_); + _tmp38_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp37_); #line 255 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_object_ref_sink (_tmp40_); + g_object_ref_sink (_tmp38_); #line 255 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - service_selector_box_label = _tmp40_; + service_selector_box_label = _tmp38_; #line 256 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp41_ = service_selector_box_label; + _tmp39_ = service_selector_box_label; #line 256 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp42_ = self->priv->service_selector_box; + _tmp40_ = self->priv->service_selector_box; #line 256 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_label_set_mnemonic_widget (_tmp41_, G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget)); + gtk_label_set_mnemonic_widget (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget)); #line 257 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp43_ = service_selector_box_label; + _tmp41_ = service_selector_box_label; #line 257 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START); + gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START); #line 258 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp44_ = service_selector_box_label; + _tmp42_ = service_selector_box_label; #line 258 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER); + gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER); #line 264 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp45_ = self->priv->service_selector_box; + _tmp43_ = self->priv->service_selector_box; #line 264 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_END); + gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_END); #line 265 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp46_ = self->priv->service_selector_box; + _tmp44_ = self->priv->service_selector_box; #line 265 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER); + gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER); #line 266 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp47_ = self->priv->service_selector_box; + _tmp45_ = self->priv->service_selector_box; #line 266 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, gtk_widget_get_type (), GtkWidget), FALSE); + gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget), FALSE); #line 267 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp48_ = self->priv->service_selector_box; + _tmp46_ = self->priv->service_selector_box; #line 267 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_widget_get_type (), GtkWidget), FALSE); + gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), FALSE); #line 269 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp49_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8); + _tmp47_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8); #line 269 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_object_ref_sink (_tmp49_); + g_object_ref_sink (_tmp47_); #line 269 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - service_selector_layouter = _tmp49_; + service_selector_layouter = _tmp47_; #line 270 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp50_ = service_selector_layouter; + _tmp48_ = service_selector_layouter; #line 270 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_container_get_type (), GtkContainer), (guint) 12); + gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_container_get_type (), GtkContainer), (guint) 12); #line 271 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp51_ = service_selector_layouter; + _tmp49_ = service_selector_layouter; #line 271 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp52_ = service_selector_box_label; + _tmp50_ = service_selector_box_label; #line 271 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_widget_get_type (), GtkWidget)); + gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_widget_get_type (), GtkWidget)); #line 272 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp53_ = service_selector_layouter; + _tmp51_ = service_selector_layouter; #line 272 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp54_ = self->priv->service_selector_box; + _tmp52_ = self->priv->service_selector_box; #line 272 "/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 276 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp55_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + _tmp53_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); #line 276 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_object_ref_sink (_tmp55_); + g_object_ref_sink (_tmp53_); #line 276 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - service_area_layouter = _tmp55_; + service_area_layouter = _tmp53_; #line 277 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp56_ = service_area_layouter; + _tmp54_ = service_area_layouter; #line 277 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp57_ = service_selector_layouter; + _tmp55_ = service_selector_layouter; #line 277 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_box_pack_start (_tmp56_, G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); + gtk_box_pack_start (_tmp54_, G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); #line 278 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp58_ = (GtkSeparator*) gtk_separator_new (GTK_ORIENTATION_HORIZONTAL); + _tmp56_ = (GtkSeparator*) gtk_separator_new (GTK_ORIENTATION_HORIZONTAL); #line 278 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_object_ref_sink (_tmp58_); + g_object_ref_sink (_tmp56_); #line 278 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - service_central_separator = _tmp58_; + service_central_separator = _tmp56_; #line 279 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp59_ = service_area_layouter; + _tmp57_ = service_area_layouter; #line 279 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp60_ = service_central_separator; + _tmp58_ = service_central_separator; #line 279 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget)); + gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_widget_get_type (), GtkWidget)); #line 280 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp61_ = service_area_layouter; + _tmp59_ = service_area_layouter; #line 280 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL); + gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp59_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL); #line 281 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp62_ = service_area_layouter; + _tmp60_ = service_area_layouter; #line 281 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START); + gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START); #line 282 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp63_ = service_area_layouter; + _tmp61_ = service_area_layouter; #line 282 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, gtk_widget_get_type (), GtkWidget), TRUE); + gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_widget_get_type (), GtkWidget), TRUE); #line 283 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp64_ = service_area_layouter; + _tmp62_ = service_area_layouter; #line 283 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, gtk_widget_get_type (), GtkWidget), FALSE); + gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_widget_get_type (), GtkWidget), FALSE); #line 285 "/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_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); #line 285 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp66_ = service_area_layouter; + _tmp64_ = service_area_layouter; #line 285 "/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), FALSE, FALSE, (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), FALSE, FALSE, (guint) 0); #line 253 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (service_central_separator); #line 253 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" @@ -1994,111 +1982,115 @@ DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_construct (G _g_object_unref0 (service_selector_layouter); #line 253 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (service_selector_box_label); -#line 1993 "DataImportsUI.c" +#line 1981 "DataImportsUI.c" } #line 227 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_free0 (last_used_service); -#line 1997 "DataImportsUI.c" +#line 1985 "DataImportsUI.c" } #line 290 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp67_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); + _tmp65_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0); #line 290 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_object_ref_sink (_tmp67_); + g_object_ref_sink (_tmp65_); #line 290 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (self->priv->central_area_layouter); #line 290 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - self->priv->central_area_layouter = _tmp67_; + self->priv->central_area_layouter = _tmp65_; #line 291 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp68_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); + _tmp66_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); #line 291 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp69_ = self->priv->central_area_layouter; + _tmp67_ = self->priv->central_area_layouter; #line 291 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); + gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp66_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0); #line 294 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp70_ = use_header; + _tmp68_ = use_header; #line 294 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - if (_tmp70_) { -#line 2017 "DataImportsUI.c" - GtkButton* _tmp71_ = NULL; - GtkButton* _tmp72_ = NULL; - GtkWidget* _tmp73_ = NULL; - GtkButton* _tmp74_ = NULL; - GtkWidget* _tmp75_ = NULL; - GtkComboBoxText* _tmp76_ = NULL; + if (_tmp68_) { +#line 2005 "DataImportsUI.c" + GtkButton* _tmp69_; + GtkButton* _tmp70_; + GtkWidget* _tmp71_; + GtkButton* _tmp72_; + GtkComboBoxText* _tmp73_; #line 295 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp71_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Cancel"); + _tmp69_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Cancel"); #line 295 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_object_ref_sink (_tmp71_); + g_object_ref_sink (_tmp69_); #line 295 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (self->priv->close_cancel_button); #line 295 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - self->priv->close_cancel_button = _tmp71_; + self->priv->close_cancel_button = _tmp69_; #line 296 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp72_ = self->priv->close_cancel_button; + _tmp70_ = self->priv->close_cancel_button; #line 296 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget), TRUE); + gtk_widget_set_can_default (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, gtk_widget_get_type (), GtkWidget), TRUE); #line 297 "/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 297 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp74_ = self->priv->close_cancel_button; + _tmp72_ = self->priv->close_cancel_button; #line 297 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_header_bar_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_widget_get_type (), GtkWidget)); + gtk_header_bar_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget)); #line 298 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp75_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); + _tmp73_ = self->priv->service_selector_box; #line 298 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp76_ = 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 (_tmp75_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, gtk_widget_get_type (), GtkWidget)); -#line 2048 "DataImportsUI.c" + if (_tmp73_ != NULL) { +#line 2033 "DataImportsUI.c" + GtkWidget* _tmp74_; + GtkComboBoxText* _tmp75_; +#line 299 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _tmp74_ = gtk_dialog_get_header_bar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog)); +#line 299 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _tmp75_ = self->priv->service_selector_box; +#line 299 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + gtk_header_bar_pack_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_header_bar_get_type (), GtkHeaderBar), G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_widget_get_type (), GtkWidget)); +#line 2042 "DataImportsUI.c" + } } else { - const gchar* _tmp77_ = NULL; - GtkWidget* _tmp78_ = NULL; - GtkButton* _tmp79_ = NULL; -#line 301 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp77_ = _ ("_Cancel"); -#line 301 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), _tmp77_, (gint) GTK_RESPONSE_CANCEL); -#line 302 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp78_ = gtk_dialog_get_widget_for_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_CANCEL); -#line 302 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp79_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp78_, gtk_button_get_type ()) ? ((GtkButton*) _tmp78_) : NULL); -#line 302 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _g_object_unref0 (self->priv->close_cancel_button); -#line 302 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - self->priv->close_cancel_button = _tmp79_; -#line 2065 "DataImportsUI.c" - } + GtkWidget* _tmp76_; + GtkButton* _tmp77_; +#line 303 "/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 304 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _tmp76_ = gtk_dialog_get_widget_for_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_CANCEL); #line 304 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp80_ = self->priv->close_cancel_button; + _tmp77_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp76_, gtk_button_get_type ()) ? ((GtkButton*) _tmp76_) : NULL); #line 304 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_signal_connect_object (_tmp80_, "clicked", (GCallback) _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked, self, 0); + _g_object_unref0 (self->priv->close_cancel_button); +#line 304 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + self->priv->close_cancel_button = _tmp77_; +#line 2057 "DataImportsUI.c" + } #line 306 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - data_imports_ui_data_imports_dialog_set_standard_window_mode (self); -#line 308 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp81_ = loaded_services; -#line 308 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp81__length1 = loaded_services_length1; + _tmp78_ = self->priv->close_cancel_button; +#line 306 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + g_signal_connect_object (_tmp78_, "clicked", (GCallback) _data_imports_ui_data_imports_dialog_on_close_cancel_clicked_gtk_button_clicked, self, 0); #line 308 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - if (_tmp81__length1 > 0) { + data_imports_ui_data_imports_dialog_set_standard_window_mode (self); +#line 310 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _tmp79_ = loaded_services; #line 310 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _tmp79__length1 = loaded_services_length1; +#line 310 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + if (_tmp79__length1 > 0) { +#line 312 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_on_service_changed (self); -#line 2081 "DataImportsUI.c" +#line 2073 "DataImportsUI.c" } else { - DataImportsUIStaticMessagePane* _tmp82_ = NULL; - DataImportsUIStaticMessagePane* _tmp83_ = NULL; -#line 313 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp82_ = data_imports_ui_static_message_pane_new_with_pango (DATA_IMPORTS_UI_NO_PLUGINS_ENABLED_MESSAGE); -#line 313 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp83_ = _tmp82_; -#line 313 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - data_imports_ui_data_imports_dialog_install_pane (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane)); -#line 313 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _g_object_unref0 (_tmp83_); -#line 314 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + DataImportsUIStaticMessagePane* _tmp80_; + DataImportsUIStaticMessagePane* _tmp81_; +#line 315 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _tmp80_ = data_imports_ui_static_message_pane_new_with_pango (DATA_IMPORTS_UI_NO_PLUGINS_ENABLED_MESSAGE); +#line 315 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _tmp81_ = _tmp80_; +#line 315 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + data_imports_ui_data_imports_dialog_install_pane (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp81_, SPIT_DATA_IMPORTS_TYPE_DIALOG_PANE, SpitDataImportsDialogPane)); +#line 315 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _g_object_unref0 (_tmp81_); +#line 316 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_set_close_button_mode (self); -#line 2095 "DataImportsUI.c" +#line 2087 "DataImportsUI.c" } -#line 317 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 319 "/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 210 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" loaded_services = (_vala_array_free (loaded_services, loaded_services_length1, (GDestroyNotify) g_object_unref), NULL); @@ -2108,535 +2100,529 @@ 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 2107 "DataImportsUI.c" +#line 2099 "DataImportsUI.c" } 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 2114 "DataImportsUI.c" +#line 2106 "DataImportsUI.c" } DataImportsUIDataImportsDialog* data_imports_ui_data_imports_dialog_get_or_create_instance (void) { DataImportsUIDataImportsDialog* result = NULL; - DataImportsUIDataImportsDialog* _tmp0_ = NULL; - DataImportsUIDataImportsDialog* _tmp2_ = NULL; - DataImportsUIDataImportsDialog* _tmp3_ = NULL; -#line 321 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + DataImportsUIDataImportsDialog* _tmp0_; + DataImportsUIDataImportsDialog* _tmp2_; + DataImportsUIDataImportsDialog* _tmp3_; +#line 323 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = data_imports_ui_data_imports_dialog_instance; -#line 321 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 323 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (_tmp0_ == NULL) { -#line 2127 "DataImportsUI.c" - DataImportsUIDataImportsDialog* _tmp1_ = NULL; -#line 322 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 2119 "DataImportsUI.c" + DataImportsUIDataImportsDialog* _tmp1_; +#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp1_ = data_imports_ui_data_imports_dialog_new (); -#line 322 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_object_ref_sink (_tmp1_); -#line 322 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (data_imports_ui_data_imports_dialog_instance); -#line 322 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_instance = _tmp1_; -#line 2137 "DataImportsUI.c" +#line 2129 "DataImportsUI.c" } -#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 326 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp2_ = data_imports_ui_data_imports_dialog_instance; -#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 326 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 326 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" result = _tmp3_; -#line 324 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 326 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" return result; -#line 2147 "DataImportsUI.c" +#line 2139 "DataImportsUI.c" } void data_imports_ui_data_imports_dialog_terminate_instance (void) { - DataImportsUIDataImportsDialog* _tmp0_ = NULL; -#line 328 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + DataImportsUIDataImportsDialog* _tmp0_; +#line 330 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = data_imports_ui_data_imports_dialog_instance; -#line 328 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 330 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (_tmp0_ != NULL) { -#line 2157 "DataImportsUI.c" - DataImportsUIDataImportsDialog* _tmp1_ = NULL; -#line 329 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 2149 "DataImportsUI.c" + DataImportsUIDataImportsDialog* _tmp1_; +#line 331 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp1_ = data_imports_ui_data_imports_dialog_instance; -#line 329 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 331 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_terminate (_tmp1_); -#line 2163 "DataImportsUI.c" +#line 2155 "DataImportsUI.c" } -#line 331 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 333 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (data_imports_ui_data_imports_dialog_instance); -#line 331 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 333 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_instance = NULL; -#line 2169 "DataImportsUI.c" +#line 2161 "DataImportsUI.c" } static gboolean data_imports_ui_data_imports_dialog_on_window_close (DataImportsUIDataImportsDialog* self, GdkEventAny* evt) { gboolean result = FALSE; -#line 334 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 336 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_val_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self), FALSE); -#line 334 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 336 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_val_if_fail (evt != NULL, FALSE); -#line 335 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_debug ("DataImportsUI.vala:335: DataImportsDialog: on_window_close( ): invoked" \ +#line 337 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + g_debug ("DataImportsUI.vala:337: DataImportsDialog: on_window_close( ): invoked" \ "."); -#line 336 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - data_imports_ui_data_imports_dialog_terminate (self); #line 338 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + data_imports_ui_data_imports_dialog_terminate (self); +#line 340 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" result = TRUE; -#line 338 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 340 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" return result; -#line 2187 "DataImportsUI.c" +#line 2179 "DataImportsUI.c" } static void data_imports_ui_data_imports_dialog_on_service_changed (DataImportsUIDataImportsDialog* self) { gchar* service_name = NULL; - GtkComboBoxText* _tmp0_ = NULL; - gchar* _tmp1_ = NULL; + GtkComboBoxText* _tmp0_; + gchar* _tmp1_; SpitDataImportsService* selected_service = NULL; SpitDataImportsService** services = NULL; - gint _tmp2_ = 0; - SpitDataImportsService** _tmp3_ = NULL; - gint services_length1 = 0; - gint _services_size_ = 0; - SpitDataImportsService** _tmp4_ = NULL; - gint _tmp4__length1 = 0; - SpitDataImportsService* _tmp11_ = NULL; - ConfigFacade* _tmp12_ = NULL; - ConfigFacade* _tmp13_ = NULL; - SpitDataImportsService* _tmp14_ = NULL; - const gchar* _tmp15_ = NULL; - SpitDataImportsService* _tmp16_ = NULL; - SpitDataImportsConcreteDataImportsHost* _tmp17_ = NULL; - SpitDataImportsConcreteDataImportsHost* _tmp18_ = NULL; -#line 341 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 342 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_debug ("DataImportsUI.vala:342: DataImportsDialog: on_service_changed invoked."); + gint _tmp2_; + SpitDataImportsService** _tmp3_; + gint services_length1; + gint _services_size_; + SpitDataImportsService** _tmp4_; + gint _tmp4__length1; + SpitDataImportsService* _tmp11_; + ConfigFacade* _tmp12_; + ConfigFacade* _tmp13_; + SpitDataImportsService* _tmp14_; + const gchar* _tmp15_; + SpitDataImportsService* _tmp16_; + SpitDataImportsConcreteDataImportsHost* _tmp17_; + SpitDataImportsConcreteDataImportsHost* _tmp18_; #line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); +#line 344 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + g_debug ("DataImportsUI.vala:344: DataImportsDialog: on_service_changed invoked."); +#line 345 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->service_selector_box; -#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 345 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp1_ = gtk_combo_box_text_get_active_text (_tmp0_); -#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - service_name = _tmp1_; #line 345 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + service_name = _tmp1_; +#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" selected_service = NULL; -#line 346 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp3_ = spit_data_imports_load_all_services (&_tmp2_); -#line 346 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" services = _tmp3_; -#line 346 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" services_length1 = _tmp2_; -#line 346 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _services_size_ = services_length1; -#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp4_ = services; -#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp4__length1 = services_length1; -#line 2235 "DataImportsUI.c" +#line 2227 "DataImportsUI.c" { SpitDataImportsService** service_collection = NULL; gint service_collection_length1 = 0; gint _service_collection_size_ = 0; gint service_it = 0; -#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" service_collection = _tmp4_; -#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" service_collection_length1 = _tmp4__length1; -#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" for (service_it = 0; service_it < _tmp4__length1; service_it = service_it + 1) { -#line 2247 "DataImportsUI.c" - SpitDataImportsService* _tmp5_ = NULL; +#line 2239 "DataImportsUI.c" + SpitDataImportsService* _tmp5_; SpitDataImportsService* service = NULL; -#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp5_ = _g_object_ref0 (service_collection[service_it]); -#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" service = _tmp5_; -#line 2254 "DataImportsUI.c" +#line 2246 "DataImportsUI.c" { - SpitDataImportsService* _tmp6_ = NULL; - const gchar* _tmp7_ = NULL; - const gchar* _tmp8_ = NULL; -#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + SpitDataImportsService* _tmp6_; + const gchar* _tmp7_; + const gchar* _tmp8_; +#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp6_ = service; -#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp7_ = spit_pluggable_get_pluggable_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, SPIT_TYPE_PLUGGABLE, SpitPluggable)); -#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp8_ = service_name; -#line 348 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (g_strcmp0 (_tmp7_, _tmp8_) == 0) { -#line 2267 "DataImportsUI.c" - SpitDataImportsService* _tmp9_ = NULL; - SpitDataImportsService* _tmp10_ = NULL; -#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 2259 "DataImportsUI.c" + SpitDataImportsService* _tmp9_; + SpitDataImportsService* _tmp10_; +#line 351 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp9_ = service; -#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 351 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp10_ = _g_object_ref0 (_tmp9_); -#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 351 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (selected_service); -#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 351 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" selected_service = _tmp10_; -#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 352 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (service); -#line 350 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 352 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" break; -#line 2282 "DataImportsUI.c" +#line 2274 "DataImportsUI.c" } -#line 347 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 349 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (service); -#line 2286 "DataImportsUI.c" +#line 2278 "DataImportsUI.c" } } } -#line 353 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp11_ = selected_service; -#line 353 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _vala_assert (_tmp11_ != NULL, "selected_service != null"); #line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _vala_assert (_tmp11_ != NULL, "selected_service != null"); +#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp12_ = config_facade_get_instance (); -#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp13_ = _tmp12_; -#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp14_ = selected_service; -#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp15_ = spit_pluggable_get_id (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, SPIT_TYPE_PLUGGABLE, SpitPluggable)); -#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" configuration_facade_set_last_used_dataimports_service (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp15_); -#line 355 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _g_object_unref0 (_tmp13_); #line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _g_object_unref0 (_tmp13_); +#line 359 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp16_ = selected_service; -#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 359 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp17_ = spit_data_imports_concrete_data_imports_host_new (_tmp16_, self); -#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 359 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (self->priv->host); -#line 357 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 359 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" self->priv->host = _tmp17_; -#line 358 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 360 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp18_ = self->priv->host; -#line 358 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 360 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" spit_data_imports_plugin_host_start_importing (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, SPIT_DATA_IMPORTS_TYPE_PLUGIN_HOST, SpitDataImportsPluginHost)); -#line 341 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" services = (_vala_array_free (services, services_length1, (GDestroyNotify) g_object_unref), NULL); -#line 341 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (selected_service); -#line 341 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 343 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_free0 (service_name); -#line 2324 "DataImportsUI.c" +#line 2316 "DataImportsUI.c" } static void data_imports_ui_data_imports_dialog_on_close_cancel_clicked (DataImportsUIDataImportsDialog* self) { -#line 361 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 363 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 362 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_debug ("DataImportsUI.vala:362: DataImportsDialog: on_close_cancel_clicked( ):" \ -" invoked."); #line 364 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + g_debug ("DataImportsUI.vala:364: DataImportsDialog: on_close_cancel_clicked( ):" \ +" invoked."); +#line 366 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_terminate (self); -#line 2335 "DataImportsUI.c" +#line 2327 "DataImportsUI.c" } static void data_imports_ui_data_imports_dialog_terminate (DataImportsUIDataImportsDialog* self) { - SpitDataImportsConcreteDataImportsHost* _tmp0_ = NULL; -#line 367 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + SpitDataImportsConcreteDataImportsHost* _tmp0_; +#line 369 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 368 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_debug ("DataImportsUI.vala:368: DataImportsDialog: terminate( ): invoked."); #line 370 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + g_debug ("DataImportsUI.vala:370: DataImportsDialog: terminate( ): invoked."); +#line 372 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->host; -#line 370 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 372 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (_tmp0_ != NULL) { -#line 2349 "DataImportsUI.c" - SpitDataImportsConcreteDataImportsHost* _tmp1_ = NULL; -#line 371 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 2341 "DataImportsUI.c" + SpitDataImportsConcreteDataImportsHost* _tmp1_; +#line 373 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp1_ = self->priv->host; -#line 371 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 373 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" spit_data_imports_plugin_host_stop_importing (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, SPIT_DATA_IMPORTS_TYPE_PLUGIN_HOST, SpitDataImportsPluginHost)); -#line 372 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 374 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (self->priv->host); -#line 372 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 374 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" self->priv->host = NULL; -#line 2359 "DataImportsUI.c" +#line 2351 "DataImportsUI.c" } -#line 375 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 377 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 376 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 378 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 377 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 379 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (data_imports_ui_data_imports_dialog_instance); -#line 377 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 379 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_instance = NULL; -#line 2369 "DataImportsUI.c" +#line 2361 "DataImportsUI.c" } static void data_imports_ui_data_imports_dialog_set_large_window_mode (DataImportsUIDataImportsDialog* self) { - GtkBox* _tmp0_ = NULL; -#line 380 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + GtkBox* _tmp0_; +#line 382 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 381 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 383 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_LARGE_WINDOW_HEIGHT); -#line 382 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 384 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->central_area_layouter; -#line 382 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - 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 384 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + 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 386 "/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 2385 "DataImportsUI.c" +#line 2377 "DataImportsUI.c" } static void data_imports_ui_data_imports_dialog_set_colossal_window_mode (DataImportsUIDataImportsDialog* self) { - GtkBox* _tmp0_ = NULL; -#line 387 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + GtkBox* _tmp0_; +#line 389 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 388 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 390 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_COLOSSAL_WINDOW_HEIGHT); -#line 389 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 391 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->central_area_layouter; -#line 389 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - 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 391 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + 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 393 "/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 2401 "DataImportsUI.c" +#line 2393 "DataImportsUI.c" } static void data_imports_ui_data_imports_dialog_set_standard_window_mode (DataImportsUIDataImportsDialog* self) { - GtkBox* _tmp0_ = NULL; -#line 394 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + GtkBox* _tmp0_; +#line 396 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 395 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 397 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_STANDARD_WINDOW_WIDTH, DATA_IMPORTS_UI_DATA_IMPORTS_DIALOG_STANDARD_WINDOW_HEIGHT); -#line 396 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 398 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->central_area_layouter; -#line 396 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - 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 398 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + 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 400 "/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 2417 "DataImportsUI.c" +#line 2409 "DataImportsUI.c" } static void data_imports_ui_data_imports_dialog_set_free_sizable_window_mode (DataImportsUIDataImportsDialog* self) { -#line 401 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 403 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 402 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 404 "/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 2426 "DataImportsUI.c" +#line 2418 "DataImportsUI.c" } static void data_imports_ui_data_imports_dialog_clear_free_sizable_window_mode (DataImportsUIDataImportsDialog* self) { -#line 405 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 407 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 406 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 408 "/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 2435 "DataImportsUI.c" +#line 2427 "DataImportsUI.c" } SpitDataImportsDialogPane* data_imports_ui_data_imports_dialog_get_active_pane (DataImportsUIDataImportsDialog* self) { SpitDataImportsDialogPane* result = NULL; - SpitDataImportsDialogPane* _tmp0_ = NULL; - SpitDataImportsDialogPane* _tmp1_ = NULL; -#line 409 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + SpitDataImportsDialogPane* _tmp0_; + SpitDataImportsDialogPane* _tmp1_; +#line 411 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_val_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self), NULL); -#line 410 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 412 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->active_pane; -#line 410 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 412 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 410 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 412 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" result = _tmp1_; -#line 410 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 412 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" return result; -#line 2453 "DataImportsUI.c" +#line 2445 "DataImportsUI.c" } void data_imports_ui_data_imports_dialog_set_close_button_mode (DataImportsUIDataImportsDialog* self) { - GtkButton* _tmp0_ = NULL; - const gchar* _tmp1_ = NULL; - GtkButton* _tmp2_ = NULL; -#line 413 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + GtkButton* _tmp0_; + GtkButton* _tmp1_; +#line 415 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 414 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 416 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->close_cancel_button; -#line 414 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp1_ = _ ("_Close"); -#line 414 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_button_set_label (_tmp0_, _tmp1_); -#line 415 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp2_ = self->priv->close_cancel_button; -#line 415 "/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 (_tmp2_, gtk_widget_get_type (), GtkWidget)); -#line 2473 "DataImportsUI.c" +#line 416 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + gtk_button_set_label (_tmp0_, _ ("_Close")); +#line 417 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + _tmp1_ = self->priv->close_cancel_button; +#line 417 "/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 2462 "DataImportsUI.c" } void data_imports_ui_data_imports_dialog_set_cancel_button_mode (DataImportsUIDataImportsDialog* self) { - GtkButton* _tmp0_ = NULL; - const gchar* _tmp1_ = NULL; -#line 418 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + GtkButton* _tmp0_; +#line 420 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 419 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 421 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->close_cancel_button; -#line 419 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - _tmp1_ = _ ("_Cancel"); -#line 419 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - gtk_button_set_label (_tmp0_, _tmp1_); -#line 2488 "DataImportsUI.c" +#line 421 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + gtk_button_set_label (_tmp0_, _ ("_Cancel")); +#line 2474 "DataImportsUI.c" } void data_imports_ui_data_imports_dialog_lock_service (DataImportsUIDataImportsDialog* self) { - GtkComboBoxText* _tmp0_ = NULL; -#line 422 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + GtkComboBoxText* _tmp0_; +#line 424 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 423 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 425 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->service_selector_box; -#line 423 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 425 "/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 2500 "DataImportsUI.c" +#line 2486 "DataImportsUI.c" } void data_imports_ui_data_imports_dialog_unlock_service (DataImportsUIDataImportsDialog* self) { - GtkComboBoxText* _tmp0_ = NULL; -#line 426 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + GtkComboBoxText* _tmp0_; +#line 428 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 427 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 429 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->service_selector_box; -#line 427 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 429 "/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 2512 "DataImportsUI.c" +#line 2498 "DataImportsUI.c" } void data_imports_ui_data_imports_dialog_install_pane (DataImportsUIDataImportsDialog* self, SpitDataImportsDialogPane* pane) { - SpitDataImportsDialogPane* _tmp0_ = NULL; - GtkBox* _tmp6_ = NULL; - SpitDataImportsDialogPane* _tmp7_ = NULL; - GtkWidget* _tmp8_ = NULL; - GtkWidget* _tmp9_ = NULL; + SpitDataImportsDialogPane* _tmp0_; + GtkBox* _tmp6_; + SpitDataImportsDialogPane* _tmp7_; + GtkWidget* _tmp8_; + GtkWidget* _tmp9_; SpitDataImportsDialogPaneGeometryOptions geometry_options = 0; - SpitDataImportsDialogPane* _tmp10_ = NULL; - SpitDataImportsDialogPaneGeometryOptions _tmp11_ = 0; - SpitDataImportsDialogPaneGeometryOptions _tmp12_ = 0; - SpitDataImportsDialogPaneGeometryOptions _tmp14_ = 0; - SpitDataImportsDialogPane* _tmp15_ = NULL; - SpitDataImportsDialogPane* _tmp16_ = NULL; - SpitDataImportsDialogPane* _tmp17_ = NULL; -#line 430 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + SpitDataImportsDialogPane* _tmp10_; + SpitDataImportsDialogPaneGeometryOptions _tmp11_; + SpitDataImportsDialogPaneGeometryOptions _tmp12_; + SpitDataImportsDialogPaneGeometryOptions _tmp14_; + SpitDataImportsDialogPane* _tmp15_; + SpitDataImportsDialogPane* _tmp16_; + SpitDataImportsDialogPane* _tmp17_; +#line 432 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (DATA_IMPORTS_UI_IS_DATA_IMPORTS_DIALOG (self)); -#line 430 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 432 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" g_return_if_fail (SPIT_DATA_IMPORTS_IS_DIALOG_PANE (pane)); -#line 431 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_debug ("DataImportsUI.vala:431: DataImportsDialog: install_pane( ): invoked."); #line 433 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + g_debug ("DataImportsUI.vala:433: DataImportsDialog: install_pane( ): invoked."); +#line 435 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp0_ = self->priv->active_pane; -#line 433 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 435 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if (_tmp0_ != NULL) { -#line 2540 "DataImportsUI.c" - SpitDataImportsDialogPane* _tmp1_ = NULL; - GtkBox* _tmp2_ = NULL; - SpitDataImportsDialogPane* _tmp3_ = NULL; - GtkWidget* _tmp4_ = NULL; - GtkWidget* _tmp5_ = NULL; -#line 434 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - g_debug ("DataImportsUI.vala:434: DataImportsDialog: install_pane( ): a pane is " \ -"already installed; removing it."); +#line 2526 "DataImportsUI.c" + SpitDataImportsDialogPane* _tmp1_; + GtkBox* _tmp2_; + SpitDataImportsDialogPane* _tmp3_; + GtkWidget* _tmp4_; + GtkWidget* _tmp5_; #line 436 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + g_debug ("DataImportsUI.vala:436: DataImportsDialog: install_pane( ): a pane is " \ +"already installed; removing it."); +#line 438 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp1_ = self->priv->active_pane; -#line 436 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 438 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" spit_data_imports_dialog_pane_on_pane_uninstalled (_tmp1_); -#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp2_ = self->priv->central_area_layouter; -#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp3_ = self->priv->active_pane; -#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp4_ = spit_data_imports_dialog_pane_get_widget (_tmp3_); -#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp5_ = _tmp4_; -#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_container_get_type (), GtkContainer), _tmp5_); -#line 437 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 439 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (_tmp5_); -#line 2564 "DataImportsUI.c" +#line 2550 "DataImportsUI.c" } -#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp6_ = self->priv->central_area_layouter; -#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp7_ = pane; -#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp8_ = spit_data_imports_dialog_pane_get_widget (_tmp7_); -#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp9_ = _tmp8_; -#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" gtk_box_pack_start (_tmp6_, _tmp9_, TRUE, TRUE, (guint) 0); -#line 440 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 442 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (_tmp9_); -#line 441 "/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 443 "/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 445 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp10_ = pane; -#line 443 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 445 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp11_ = spit_data_imports_dialog_pane_get_preferred_geometry (_tmp10_); -#line 443 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" - geometry_options = _tmp11_; #line 445 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + geometry_options = _tmp11_; +#line 447 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp12_ = geometry_options; -#line 445 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 447 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if ((_tmp12_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_EXTENDED_SIZE) != 0) { -#line 446 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 448 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_set_large_window_mode (self); -#line 2592 "DataImportsUI.c" +#line 2578 "DataImportsUI.c" } else { - SpitDataImportsDialogPaneGeometryOptions _tmp13_ = 0; -#line 447 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" + SpitDataImportsDialogPaneGeometryOptions _tmp13_; +#line 449 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp13_ = geometry_options; -#line 447 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 449 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if ((_tmp13_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_COLOSSAL_SIZE) != 0) { -#line 448 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 450 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_set_colossal_window_mode (self); -#line 2601 "DataImportsUI.c" +#line 2587 "DataImportsUI.c" } else { -#line 450 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 452 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_set_standard_window_mode (self); -#line 2605 "DataImportsUI.c" +#line 2591 "DataImportsUI.c" } } -#line 452 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 454 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp14_ = geometry_options; -#line 452 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 454 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" if ((_tmp14_ & SPIT_PUBLISHING_DIALOG_PANE_GEOMETRY_OPTIONS_RESIZABLE) != 0) { -#line 453 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 455 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_set_free_sizable_window_mode (self); -#line 2614 "DataImportsUI.c" +#line 2600 "DataImportsUI.c" } else { -#line 455 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" data_imports_ui_data_imports_dialog_clear_free_sizable_window_mode (self); -#line 2618 "DataImportsUI.c" +#line 2604 "DataImportsUI.c" } -#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 459 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp15_ = pane; -#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 459 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp16_ = _g_object_ref0 (_tmp15_); -#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 459 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _g_object_unref0 (self->priv->active_pane); -#line 457 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 459 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" self->priv->active_pane = _tmp16_; -#line 458 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 460 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" _tmp17_ = pane; -#line 458 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" +#line 460 "/home/jens/Source/shotwell/src/data_imports/DataImportsUI.vala" spit_data_imports_dialog_pane_on_pane_installed (_tmp17_); -#line 2632 "DataImportsUI.c" +#line 2618 "DataImportsUI.c" } @@ -2647,18 +2633,18 @@ static void data_imports_ui_data_imports_dialog_class_init (DataImportsUIDataImp 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 2643 "DataImportsUI.c" +#line 2629 "DataImportsUI.c" } 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 2650 "DataImportsUI.c" +#line 2636 "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); @@ -2674,7 +2660,7 @@ 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 2670 "DataImportsUI.c" +#line 2656 "DataImportsUI.c" } |