From 143bfc9f801c84428074312d661f8e08803df83b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 20 Aug 2016 15:09:31 +0200 Subject: Imported Upstream version 0.23.5 --- src/config/Config.c | 872 +++ src/config/ConfigurationInterfaces.c | 12023 ++++++++++++++++++++++++++++++ src/config/ConfigurationInterfaces.vala | 26 + src/config/GSettingsEngine.c | 5519 ++++++++++++++ src/config/GSettingsEngine.vala | 2 + src/config/mk/config.mk | 29 - 6 files changed, 18442 insertions(+), 29 deletions(-) create mode 100644 src/config/Config.c create mode 100644 src/config/ConfigurationInterfaces.c create mode 100644 src/config/GSettingsEngine.c delete mode 100644 src/config/mk/config.mk (limited to 'src/config') diff --git a/src/config/Config.c b/src/config/Config.c new file mode 100644 index 0000000..0bcb4d4 --- /dev/null +++ b/src/config/Config.c @@ -0,0 +1,872 @@ +/* Config.c generated by valac 0.32.1, the Vala compiler + * generated from Config.vala, do not modify */ + +/* Copyright 2016 Software Freedom Conservancy Inc. + * + * This software is licensed under the GNU Lesser General Public License + * (version 2.1 or later). See the COPYING file in this distribution. + */ +/* This file is the master unit file for the Config unit. It should be edited to include + * whatever code is deemed necessary. + * + * The init() and terminate() methods are mandatory. + * + * If the unit needs to be configured prior to initialization, add the proper parameters to + * the preconfigure() method, implement it, and ensure in init() that it's been called. + */ + +#include +#include +#include +#include +#include +#include +#include + + +#define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ()) +#define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade)) +#define CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass)) +#define IS_CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_FACADE)) +#define IS_CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONFIGURATION_FACADE)) +#define CONFIGURATION_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass)) + +typedef struct _ConfigurationFacade ConfigurationFacade; +typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass; +typedef struct _ConfigurationFacadePrivate ConfigurationFacadePrivate; + +#define TYPE_DIMENSIONS (dimensions_get_type ()) +typedef struct _Dimensions Dimensions; + +#define TYPE_RAW_DEVELOPER (raw_developer_get_type ()) + +#define TYPE_FUZZY_PROPERTY_STATE (fuzzy_property_state_get_type ()) + +#define CONFIG_TYPE_FACADE (config_facade_get_type ()) +#define CONFIG_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONFIG_TYPE_FACADE, ConfigFacade)) +#define CONFIG_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONFIG_TYPE_FACADE, ConfigFacadeClass)) +#define CONFIG_IS_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONFIG_TYPE_FACADE)) +#define CONFIG_IS_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONFIG_TYPE_FACADE)) +#define CONFIG_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONFIG_TYPE_FACADE, ConfigFacadeClass)) + +typedef struct _ConfigFacade ConfigFacade; +typedef struct _ConfigFacadeClass ConfigFacadeClass; +typedef struct _ConfigFacadePrivate ConfigFacadePrivate; +#define _g_free0(var) (var = (g_free (var), NULL)) + +#define TYPE_GSETTINGS_CONFIGURATION_ENGINE (gsettings_configuration_engine_get_type ()) +#define GSETTINGS_CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine)) +#define GSETTINGS_CONFIGURATION_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngineClass)) +#define IS_GSETTINGS_CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GSETTINGS_CONFIGURATION_ENGINE)) +#define IS_GSETTINGS_CONFIGURATION_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GSETTINGS_CONFIGURATION_ENGINE)) +#define GSETTINGS_CONFIGURATION_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngineClass)) + +typedef struct _GSettingsConfigurationEngine GSettingsConfigurationEngine; +typedef struct _GSettingsConfigurationEngineClass GSettingsConfigurationEngineClass; + +#define TYPE_CONFIGURATION_ENGINE (configuration_engine_get_type ()) +#define CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_ENGINE, ConfigurationEngine)) +#define IS_CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_ENGINE)) +#define CONFIGURATION_ENGINE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_CONFIGURATION_ENGINE, ConfigurationEngineIface)) + +typedef struct _ConfigurationEngine ConfigurationEngine; +typedef struct _ConfigurationEngineIface ConfigurationEngineIface; + +#define TYPE_CONFIGURABLE_PROPERTY (configurable_property_get_type ()) +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) + +struct _Dimensions { + gint width; + gint height; +}; + +typedef enum { + RAW_DEVELOPER_SHOTWELL = 0, + RAW_DEVELOPER_CAMERA, + RAW_DEVELOPER_EMBEDDED +} RawDeveloper; + +typedef enum { + FUZZY_PROPERTY_STATE_ENABLED, + FUZZY_PROPERTY_STATE_DISABLED, + FUZZY_PROPERTY_STATE_UNKNOWN +} FuzzyPropertyState; + +struct _ConfigurationFacade { + GObject parent_instance; + ConfigurationFacadePrivate * priv; +}; + +struct _ConfigurationFacadeClass { + GObjectClass parent_class; + gboolean (*get_auto_import_from_library) (ConfigurationFacade* self); + void (*set_auto_import_from_library) (ConfigurationFacade* self, gboolean auto_import); + gchar* (*get_bg_color_name) (ConfigurationFacade* self); + void (*set_bg_color_name) (ConfigurationFacade* self, const gchar* color_name); + gboolean (*get_commit_metadata_to_masters) (ConfigurationFacade* self); + void (*set_commit_metadata_to_masters) (ConfigurationFacade* self, gboolean commit_metadata); + gchar* (*get_desktop_background) (ConfigurationFacade* self); + void (*set_desktop_background) (ConfigurationFacade* self, const gchar* filename); + gchar* (*get_screensaver) (ConfigurationFacade* self); + void (*set_screensaver) (ConfigurationFacade* self, const gchar* filename); + gchar* (*get_directory_pattern) (ConfigurationFacade* self); + void (*set_directory_pattern) (ConfigurationFacade* self, const gchar* s); + gchar* (*get_directory_pattern_custom) (ConfigurationFacade* self); + void (*set_directory_pattern_custom) (ConfigurationFacade* self, const gchar* s); + void (*get_direct_window_state) (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions); + void (*set_direct_window_state) (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions); + gboolean (*get_display_basic_properties) (ConfigurationFacade* self); + void (*set_display_basic_properties) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_extended_properties) (ConfigurationFacade* self); + void (*set_display_extended_properties) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_sidebar) (ConfigurationFacade* self); + void (*set_display_sidebar) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_toolbar) (ConfigurationFacade* self); + void (*set_display_toolbar) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_search_bar) (ConfigurationFacade* self); + void (*set_display_search_bar) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_photo_ratings) (ConfigurationFacade* self); + void (*set_display_photo_ratings) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_photo_tags) (ConfigurationFacade* self); + void (*set_display_photo_tags) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_photo_titles) (ConfigurationFacade* self); + void (*set_display_photo_titles) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_photo_comments) (ConfigurationFacade* self); + void (*set_display_photo_comments) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_event_comments) (ConfigurationFacade* self); + void (*set_display_event_comments) (ConfigurationFacade* self, gboolean display); + void (*get_event_photos_sort) (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by); + void (*set_event_photos_sort) (ConfigurationFacade* self, gboolean sort_order, gint sort_by); + gboolean (*get_events_sort_ascending) (ConfigurationFacade* self); + void (*set_events_sort_ascending) (ConfigurationFacade* self, gboolean sort); + gchar* (*get_external_photo_app) (ConfigurationFacade* self); + void (*set_external_photo_app) (ConfigurationFacade* self, const gchar* external_photo_app); + gchar* (*get_external_raw_app) (ConfigurationFacade* self); + void (*set_external_raw_app) (ConfigurationFacade* self, const gchar* external_raw_app); + RawDeveloper (*get_default_raw_developer) (ConfigurationFacade* self); + void (*set_default_raw_developer) (ConfigurationFacade* self, RawDeveloper d); + gboolean (*get_hide_photos_already_imported) (ConfigurationFacade* self); + void (*set_hide_photos_already_imported) (ConfigurationFacade* self, gboolean hide_imported); + gchar* (*get_import_dir) (ConfigurationFacade* self); + void (*set_import_dir) (ConfigurationFacade* self, const gchar* import_dir); + gboolean (*get_keep_relativity) (ConfigurationFacade* self); + void (*set_keep_relativity) (ConfigurationFacade* self, gboolean keep_relativity); + gboolean (*get_pin_toolbar_state) (ConfigurationFacade* self); + void (*set_pin_toolbar_state) (ConfigurationFacade* self, gboolean state); + gint (*get_last_crop_height) (ConfigurationFacade* self); + void (*set_last_crop_height) (ConfigurationFacade* self, gint choice); + gint (*get_last_crop_menu_choice) (ConfigurationFacade* self); + void (*set_last_crop_menu_choice) (ConfigurationFacade* self, gint choice); + gint (*get_last_crop_width) (ConfigurationFacade* self); + void (*set_last_crop_width) (ConfigurationFacade* self, gint choice); + gchar* (*get_last_used_service) (ConfigurationFacade* self); + void (*set_last_used_service) (ConfigurationFacade* self, const gchar* service_name); + gchar* (*get_last_used_dataimports_service) (ConfigurationFacade* self); + void (*set_last_used_dataimports_service) (ConfigurationFacade* self, const gchar* service_name); + void (*get_library_photos_sort) (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by); + void (*set_library_photos_sort) (ConfigurationFacade* self, gboolean sort_order, gint sort_by); + void (*get_library_window_state) (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions); + void (*set_library_window_state) (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions); + gboolean (*get_modify_originals) (ConfigurationFacade* self); + void (*set_modify_originals) (ConfigurationFacade* self, gboolean modify_originals); + gint (*get_photo_thumbnail_scale) (ConfigurationFacade* self); + void (*set_photo_thumbnail_scale) (ConfigurationFacade* self, gint scale); + gdouble (*get_printing_content_height) (ConfigurationFacade* self); + void (*set_printing_content_height) (ConfigurationFacade* self, gdouble content_height); + gint (*get_printing_content_layout) (ConfigurationFacade* self); + void (*set_printing_content_layout) (ConfigurationFacade* self, gint layout_code); + gint (*get_printing_content_ppi) (ConfigurationFacade* self); + void (*set_printing_content_ppi) (ConfigurationFacade* self, gint content_ppi); + gint (*get_printing_content_units) (ConfigurationFacade* self); + void (*set_printing_content_units) (ConfigurationFacade* self, gint units_code); + gdouble (*get_printing_content_width) (ConfigurationFacade* self); + void (*set_printing_content_width) (ConfigurationFacade* self, gdouble content_width); + gint (*get_printing_images_per_page) (ConfigurationFacade* self); + void (*set_printing_images_per_page) (ConfigurationFacade* self, gint images_per_page_code); + gboolean (*get_printing_match_aspect_ratio) (ConfigurationFacade* self); + void (*set_printing_match_aspect_ratio) (ConfigurationFacade* self, gboolean match_aspect_ratio); + gboolean (*get_printing_print_titles) (ConfigurationFacade* self); + void (*set_printing_print_titles) (ConfigurationFacade* self, gboolean print_titles); + gint (*get_printing_size_selection) (ConfigurationFacade* self); + void (*set_printing_size_selection) (ConfigurationFacade* self, gint size_code); + gchar* (*get_printing_titles_font) (ConfigurationFacade* self); + void (*set_printing_titles_font) (ConfigurationFacade* self, const gchar* font_name); + gboolean (*get_show_welcome_dialog) (ConfigurationFacade* self); + void (*set_show_welcome_dialog) (ConfigurationFacade* self, gboolean show); + gint (*get_sidebar_position) (ConfigurationFacade* self); + void (*set_sidebar_position) (ConfigurationFacade* self, gint position); + gdouble (*get_slideshow_delay) (ConfigurationFacade* self); + void (*set_slideshow_delay) (ConfigurationFacade* self, gdouble delay); + gdouble (*get_slideshow_transition_delay) (ConfigurationFacade* self); + void (*set_slideshow_transition_delay) (ConfigurationFacade* self, gdouble delay); + gchar* (*get_slideshow_transition_effect_id) (ConfigurationFacade* self); + void (*set_slideshow_transition_effect_id) (ConfigurationFacade* self, const gchar* id); + gboolean (*get_slideshow_show_title) (ConfigurationFacade* self); + void (*set_slideshow_show_title) (ConfigurationFacade* self, gboolean show_title); + gboolean (*get_use_24_hour_time) (ConfigurationFacade* self); + void (*set_use_24_hour_time) (ConfigurationFacade* self, gboolean use_24_hour_time); + gboolean (*get_use_lowercase_filenames) (ConfigurationFacade* self); + void (*set_use_lowercase_filenames) (ConfigurationFacade* self, gboolean b); + gint (*get_video_interpreter_state_cookie) (ConfigurationFacade* self); + void (*set_video_interpreter_state_cookie) (ConfigurationFacade* self, gint state_cookie); + gboolean (*get_plugin_bool) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def); + void (*set_plugin_bool) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val); + gdouble (*get_plugin_double) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def); + void (*set_plugin_double) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val); + gint (*get_plugin_int) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def); + void (*set_plugin_int) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val); + gchar* (*get_plugin_string) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def); + void (*set_plugin_string) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val); + void (*unset_plugin_key) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key); + FuzzyPropertyState (*is_plugin_enabled) (ConfigurationFacade* self, const gchar* id); + void (*set_plugin_enabled) (ConfigurationFacade* self, const gchar* id, gboolean enabled); +}; + +struct _ConfigFacade { + ConfigurationFacade parent_instance; + ConfigFacadePrivate * priv; +}; + +struct _ConfigFacadeClass { + ConfigurationFacadeClass parent_class; +}; + +struct _ConfigFacadePrivate { + gchar* bg_color; + gchar* selected_color; + gchar* unselected_color; + gchar* unfocused_selected_color; + gchar* border_color; +}; + +typedef enum { + CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY = 0, + CONFIGURABLE_PROPERTY_BG_COLOR_NAME, + CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, + CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, + CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, + CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, + CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, + CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, + CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, + CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, + CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, + CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, + CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, + CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, + CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, + CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, + CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, + CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, + CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, + CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, + CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, + CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, + CONFIGURABLE_PROPERTY_IMPORT_DIR, + CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, + CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, + CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, + CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, + CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, + CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, + CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, + CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, + CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, + CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, + CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, + CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, + CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, + CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, + CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, + CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, + CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, + CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, + CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, + CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, + CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, + CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, + CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, + CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, + CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, + CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, + CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, + CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, + CONFIGURABLE_PROPERTY_NUM_PROPERTIES +} ConfigurableProperty; + +typedef enum { + CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE, + CONFIGURATION_ERROR_ENGINE_ERROR +} ConfigurationError; +#define CONFIGURATION_ERROR configuration_error_quark () +struct _ConfigurationEngineIface { + GTypeInterface parent_iface; + gchar* (*get_name) (ConfigurationEngine* self); + gint (*get_int_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_int_property) (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); + gchar* (*get_string_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_string_property) (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error); + gboolean (*get_bool_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_bool_property) (ConfigurationEngine* self, ConfigurableProperty p, gboolean val, GError** error); + gdouble (*get_double_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_double_property) (ConfigurationEngine* self, ConfigurableProperty p, gdouble val, GError** error); + gboolean (*get_plugin_bool) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def); + void (*set_plugin_bool) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val); + gdouble (*get_plugin_double) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def); + void (*set_plugin_double) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val); + gint (*get_plugin_int) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint def); + void (*set_plugin_int) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint val); + gchar* (*get_plugin_string) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def); + void (*set_plugin_string) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val); + void (*unset_plugin_key) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key); + FuzzyPropertyState (*is_plugin_enabled) (ConfigurationEngine* self, const gchar* id); + void (*set_plugin_enabled) (ConfigurationEngine* self, const gchar* id, gboolean enabled); +}; + + +static gpointer config_facade_parent_class = NULL; +static ConfigFacade* config_facade_instance; +static ConfigFacade* config_facade_instance = NULL; + +GType configuration_facade_get_type (void) G_GNUC_CONST; +GType dimensions_get_type (void) G_GNUC_CONST; +Dimensions* dimensions_dup (const Dimensions* self); +void dimensions_free (Dimensions* self); +GType raw_developer_get_type (void) G_GNUC_CONST; +GType fuzzy_property_state_get_type (void) G_GNUC_CONST; +GType config_facade_get_type (void) G_GNUC_CONST; +#define CONFIG_FACADE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), CONFIG_TYPE_FACADE, ConfigFacadePrivate)) +enum { + CONFIG_FACADE_DUMMY_PROPERTY +}; +#define CONFIG_FACADE_SLIDESHOW_DELAY_MAX 30.0 +#define CONFIG_FACADE_SLIDESHOW_DELAY_MIN 1.0 +#define CONFIG_FACADE_SLIDESHOW_DELAY_DEFAULT 3.0 +#define CONFIG_FACADE_SLIDESHOW_TRANSITION_DELAY_MAX 1.0 +#define CONFIG_FACADE_SLIDESHOW_TRANSITION_DELAY_MIN 0.1 +#define CONFIG_FACADE_SLIDESHOW_TRANSITION_DELAY_DEFAULT 0.3 +#define CONFIG_FACADE_WIDTH_DEFAULT 1024 +#define CONFIG_FACADE_HEIGHT_DEFAULT 768 +#define CONFIG_FACADE_SIDEBAR_MIN_POSITION 180 +#define CONFIG_FACADE_SIDEBAR_MAX_POSITION 1000 +#define CONFIG_FACADE_DEFAULT_BG_COLOR "#444" +#define CONFIG_FACADE_NO_VIDEO_INTERPRETER_STATE -1 +#define CONFIG_FACADE_BLACK_THRESHOLD 0.61 +#define CONFIG_FACADE_DARK_SELECTED_COLOR "#0AD" +#define CONFIG_FACADE_LIGHT_SELECTED_COLOR "#2DF" +#define CONFIG_FACADE_DARK_UNSELECTED_COLOR "#000" +#define CONFIG_FACADE_LIGHT_UNSELECTED_COLOR "#FFF" +#define CONFIG_FACADE_DARK_BORDER_COLOR "#999" +#define CONFIG_FACADE_LIGHT_BORDER_COLOR "#AAA" +#define CONFIG_FACADE_DARK_UNFOCUSED_SELECTED_COLOR "#6fc4dd" +#define CONFIG_FACADE_LIGHT_UNFOCUSED_SELECTED_COLOR "#99efff" +static ConfigFacade* config_facade_new (void); +static ConfigFacade* config_facade_construct (GType object_type); +GSettingsConfigurationEngine* gsettings_configuration_engine_new (void); +GSettingsConfigurationEngine* gsettings_configuration_engine_construct (GType object_type); +GType gsettings_configuration_engine_get_type (void) G_GNUC_CONST; +GType configurable_property_get_type (void) G_GNUC_CONST; +GQuark configuration_error_quark (void); +GType configuration_engine_get_type (void) G_GNUC_CONST; +ConfigurationFacade* configuration_facade_construct (GType object_type, ConfigurationEngine* engine); +static void config_facade_on_color_name_changed (ConfigFacade* self); +static void _config_facade_on_color_name_changed_configuration_facade_bg_color_name_changed (ConfigurationFacade* _sender, gpointer self); +ConfigFacade* config_facade_get_instance (void); +static void config_facade_set_text_colors (ConfigFacade* self, GdkRGBA* bg_color); +static void config_facade_get_colors (ConfigFacade* self); +gchar* configuration_facade_get_bg_color_name (ConfigurationFacade* self); +gboolean is_color_parsable (const gchar* spec); +void parse_color (const gchar* spec, GdkRGBA* result); +void config_facade_get_bg_color (ConfigFacade* self, GdkRGBA* result); +gboolean is_string_empty (const gchar* s); +void config_facade_get_selected_color (ConfigFacade* self, gboolean in_focus, GdkRGBA* result); +void config_facade_get_unselected_color (ConfigFacade* self, GdkRGBA* result); +void config_facade_get_border_color (ConfigFacade* self, GdkRGBA* result); +void config_facade_set_bg_color (ConfigFacade* self, GdkRGBA* color); +void configuration_facade_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name); +void config_facade_commit_bg_color (ConfigFacade* self); +static void config_facade_finalize (GObject* obj); +void config_preconfigure (void); +void config_init (GError** error); +void config_terminate (void); + + +static void _config_facade_on_color_name_changed_configuration_facade_bg_color_name_changed (ConfigurationFacade* _sender, gpointer self) { +#line 55 "/home/jens/Source/shotwell/src/config/Config.vala" + config_facade_on_color_name_changed ((ConfigFacade*) self); +#line 410 "Config.c" +} + + +static ConfigFacade* config_facade_construct (GType object_type) { + ConfigFacade * self = NULL; + GSettingsConfigurationEngine* _tmp0_ = NULL; + GSettingsConfigurationEngine* _tmp1_ = NULL; +#line 53 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp0_ = gsettings_configuration_engine_new (); +#line 53 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp1_ = _tmp0_; +#line 53 "/home/jens/Source/shotwell/src/config/Config.vala" + self = (ConfigFacade*) configuration_facade_construct (object_type, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine)); +#line 53 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_object_unref0 (_tmp1_); +#line 55 "/home/jens/Source/shotwell/src/config/Config.vala" + g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), "bg-color-name-changed", (GCallback) _config_facade_on_color_name_changed_configuration_facade_bg_color_name_changed, self, 0); +#line 52 "/home/jens/Source/shotwell/src/config/Config.vala" + return self; +#line 430 "Config.c" +} + + +static ConfigFacade* config_facade_new (void) { +#line 52 "/home/jens/Source/shotwell/src/config/Config.vala" + return config_facade_construct (CONFIG_TYPE_FACADE); +#line 437 "Config.c" +} + + +static gpointer _g_object_ref0 (gpointer self) { +#line 62 "/home/jens/Source/shotwell/src/config/Config.vala" + return self ? g_object_ref (self) : NULL; +#line 444 "Config.c" +} + + +ConfigFacade* config_facade_get_instance (void) { + ConfigFacade* result = NULL; + ConfigFacade* _tmp0_ = NULL; + ConfigFacade* _tmp2_ = NULL; + ConfigFacade* _tmp3_ = NULL; +#line 59 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp0_ = config_facade_instance; +#line 59 "/home/jens/Source/shotwell/src/config/Config.vala" + if (_tmp0_ == NULL) { +#line 457 "Config.c" + ConfigFacade* _tmp1_ = NULL; +#line 60 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp1_ = config_facade_new (); +#line 60 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_object_unref0 (config_facade_instance); +#line 60 "/home/jens/Source/shotwell/src/config/Config.vala" + config_facade_instance = _tmp1_; +#line 465 "Config.c" + } +#line 62 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp2_ = config_facade_instance; +#line 62 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp3_ = _g_object_ref0 (_tmp2_); +#line 62 "/home/jens/Source/shotwell/src/config/Config.vala" + result = _tmp3_; +#line 62 "/home/jens/Source/shotwell/src/config/Config.vala" + return result; +#line 475 "Config.c" +} + + +static void config_facade_on_color_name_changed (ConfigFacade* self) { +#line 65 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (CONFIG_IS_FACADE (self)); +#line 66 "/home/jens/Source/shotwell/src/config/Config.vala" + g_signal_emit_by_name (self, "colors-changed"); +#line 484 "Config.c" +} + + +static void config_facade_set_text_colors (ConfigFacade* self, GdkRGBA* bg_color) { + GdkRGBA _tmp0_ = {0}; + gdouble _tmp1_ = 0.0; +#line 69 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (CONFIG_IS_FACADE (self)); +#line 69 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (bg_color != NULL); +#line 73 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp0_ = *bg_color; +#line 73 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp1_ = _tmp0_.red; +#line 73 "/home/jens/Source/shotwell/src/config/Config.vala" + if (_tmp1_ > CONFIG_FACADE_BLACK_THRESHOLD) { +#line 501 "Config.c" + gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 74 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp2_ = g_strdup (CONFIG_FACADE_DARK_SELECTED_COLOR); +#line 74 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->selected_color); +#line 74 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->selected_color = _tmp2_; +#line 75 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp3_ = g_strdup (CONFIG_FACADE_DARK_UNSELECTED_COLOR); +#line 75 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->unselected_color); +#line 75 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->unselected_color = _tmp3_; +#line 76 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp4_ = g_strdup (CONFIG_FACADE_DARK_UNFOCUSED_SELECTED_COLOR); +#line 76 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->unfocused_selected_color); +#line 76 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->unfocused_selected_color = _tmp4_; +#line 77 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp5_ = g_strdup (CONFIG_FACADE_DARK_BORDER_COLOR); +#line 77 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->border_color); +#line 77 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->border_color = _tmp5_; +#line 530 "Config.c" + } else { + gchar* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; + gchar* _tmp8_ = NULL; + gchar* _tmp9_ = NULL; +#line 79 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp6_ = g_strdup (CONFIG_FACADE_LIGHT_SELECTED_COLOR); +#line 79 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->selected_color); +#line 79 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->selected_color = _tmp6_; +#line 80 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp7_ = g_strdup (CONFIG_FACADE_LIGHT_UNSELECTED_COLOR); +#line 80 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->unselected_color); +#line 80 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->unselected_color = _tmp7_; +#line 81 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp8_ = g_strdup (CONFIG_FACADE_LIGHT_UNFOCUSED_SELECTED_COLOR); +#line 81 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->unfocused_selected_color); +#line 81 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->unfocused_selected_color = _tmp8_; +#line 82 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp9_ = g_strdup (CONFIG_FACADE_LIGHT_BORDER_COLOR); +#line 82 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->border_color); +#line 82 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->border_color = _tmp9_; +#line 560 "Config.c" + } +} + + +static void config_facade_get_colors (ConfigFacade* self) { + gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; + const gchar* _tmp4_ = NULL; + GdkRGBA _tmp5_ = {0}; +#line 86 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (CONFIG_IS_FACADE (self)); +#line 87 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp0_ = CONFIGURATION_FACADE_CLASS (config_facade_parent_class)->get_bg_color_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_FACADE, ConfigurationFacade)); +#line 87 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->bg_color); +#line 87 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->bg_color = _tmp0_; +#line 89 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp1_ = self->priv->bg_color; +#line 89 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp2_ = is_color_parsable (_tmp1_); +#line 89 "/home/jens/Source/shotwell/src/config/Config.vala" + if (!_tmp2_) { +#line 585 "Config.c" + gchar* _tmp3_ = NULL; +#line 90 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp3_ = g_strdup (CONFIG_FACADE_DEFAULT_BG_COLOR); +#line 90 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->bg_color); +#line 90 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->bg_color = _tmp3_; +#line 593 "Config.c" + } +#line 92 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp4_ = self->priv->bg_color; +#line 92 "/home/jens/Source/shotwell/src/config/Config.vala" + parse_color (_tmp4_, &_tmp5_); +#line 92 "/home/jens/Source/shotwell/src/config/Config.vala" + config_facade_set_text_colors (self, &_tmp5_); +#line 601 "Config.c" +} + + +void config_facade_get_bg_color (ConfigFacade* self, GdkRGBA* result) { + const gchar* _tmp0_ = NULL; + gboolean _tmp1_ = FALSE; + const gchar* _tmp2_ = NULL; + GdkRGBA _tmp3_ = {0}; +#line 95 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (CONFIG_IS_FACADE (self)); +#line 96 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp0_ = self->priv->bg_color; +#line 96 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp1_ = is_string_empty (_tmp0_); +#line 96 "/home/jens/Source/shotwell/src/config/Config.vala" + if (_tmp1_) { +#line 97 "/home/jens/Source/shotwell/src/config/Config.vala" + config_facade_get_colors (self); +#line 620 "Config.c" + } +#line 99 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp2_ = self->priv->bg_color; +#line 99 "/home/jens/Source/shotwell/src/config/Config.vala" + parse_color (_tmp2_, &_tmp3_); +#line 99 "/home/jens/Source/shotwell/src/config/Config.vala" + *result = _tmp3_; +#line 99 "/home/jens/Source/shotwell/src/config/Config.vala" + return; +#line 630 "Config.c" +} + + +void config_facade_get_selected_color (ConfigFacade* self, gboolean in_focus, GdkRGBA* result) { + gboolean _tmp0_ = FALSE; +#line 102 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (CONFIG_IS_FACADE (self)); +#line 103 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp0_ = in_focus; +#line 103 "/home/jens/Source/shotwell/src/config/Config.vala" + if (_tmp0_) { +#line 642 "Config.c" + const gchar* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; + const gchar* _tmp3_ = NULL; + GdkRGBA _tmp4_ = {0}; +#line 104 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp1_ = self->priv->selected_color; +#line 104 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp2_ = is_string_empty (_tmp1_); +#line 104 "/home/jens/Source/shotwell/src/config/Config.vala" + if (_tmp2_) { +#line 105 "/home/jens/Source/shotwell/src/config/Config.vala" + config_facade_get_colors (self); +#line 655 "Config.c" + } +#line 107 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp3_ = self->priv->selected_color; +#line 107 "/home/jens/Source/shotwell/src/config/Config.vala" + parse_color (_tmp3_, &_tmp4_); +#line 107 "/home/jens/Source/shotwell/src/config/Config.vala" + *result = _tmp4_; +#line 107 "/home/jens/Source/shotwell/src/config/Config.vala" + return; +#line 665 "Config.c" + } else { + const gchar* _tmp5_ = NULL; + gboolean _tmp6_ = FALSE; + const gchar* _tmp7_ = NULL; + GdkRGBA _tmp8_ = {0}; +#line 109 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp5_ = self->priv->unfocused_selected_color; +#line 109 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp6_ = is_string_empty (_tmp5_); +#line 109 "/home/jens/Source/shotwell/src/config/Config.vala" + if (_tmp6_) { +#line 110 "/home/jens/Source/shotwell/src/config/Config.vala" + config_facade_get_colors (self); +#line 679 "Config.c" + } +#line 112 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp7_ = self->priv->unfocused_selected_color; +#line 112 "/home/jens/Source/shotwell/src/config/Config.vala" + parse_color (_tmp7_, &_tmp8_); +#line 112 "/home/jens/Source/shotwell/src/config/Config.vala" + *result = _tmp8_; +#line 112 "/home/jens/Source/shotwell/src/config/Config.vala" + return; +#line 689 "Config.c" + } +} + + +void config_facade_get_unselected_color (ConfigFacade* self, GdkRGBA* result) { + const gchar* _tmp0_ = NULL; + gboolean _tmp1_ = FALSE; + const gchar* _tmp2_ = NULL; + GdkRGBA _tmp3_ = {0}; +#line 116 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (CONFIG_IS_FACADE (self)); +#line 117 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp0_ = self->priv->unselected_color; +#line 117 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp1_ = is_string_empty (_tmp0_); +#line 117 "/home/jens/Source/shotwell/src/config/Config.vala" + if (_tmp1_) { +#line 118 "/home/jens/Source/shotwell/src/config/Config.vala" + config_facade_get_colors (self); +#line 709 "Config.c" + } +#line 120 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp2_ = self->priv->unselected_color; +#line 120 "/home/jens/Source/shotwell/src/config/Config.vala" + parse_color (_tmp2_, &_tmp3_); +#line 120 "/home/jens/Source/shotwell/src/config/Config.vala" + *result = _tmp3_; +#line 120 "/home/jens/Source/shotwell/src/config/Config.vala" + return; +#line 719 "Config.c" +} + + +void config_facade_get_border_color (ConfigFacade* self, GdkRGBA* result) { + const gchar* _tmp0_ = NULL; + gboolean _tmp1_ = FALSE; + const gchar* _tmp2_ = NULL; + GdkRGBA _tmp3_ = {0}; +#line 123 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (CONFIG_IS_FACADE (self)); +#line 124 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp0_ = self->priv->border_color; +#line 124 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp1_ = is_string_empty (_tmp0_); +#line 124 "/home/jens/Source/shotwell/src/config/Config.vala" + if (_tmp1_) { +#line 125 "/home/jens/Source/shotwell/src/config/Config.vala" + config_facade_get_colors (self); +#line 738 "Config.c" + } +#line 127 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp2_ = self->priv->border_color; +#line 127 "/home/jens/Source/shotwell/src/config/Config.vala" + parse_color (_tmp2_, &_tmp3_); +#line 127 "/home/jens/Source/shotwell/src/config/Config.vala" + *result = _tmp3_; +#line 127 "/home/jens/Source/shotwell/src/config/Config.vala" + return; +#line 748 "Config.c" +} + + +void config_facade_set_bg_color (ConfigFacade* self, GdkRGBA* color) { + guint8 col_tmp = 0U; + GdkRGBA _tmp0_ = {0}; + gdouble _tmp1_ = 0.0; + gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + GdkRGBA _tmp4_ = {0}; +#line 130 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (CONFIG_IS_FACADE (self)); +#line 130 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (color != NULL); +#line 131 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp0_ = *color; +#line 131 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp1_ = _tmp0_.red; +#line 131 "/home/jens/Source/shotwell/src/config/Config.vala" + col_tmp = (guint8) (_tmp1_ * 255.0); +#line 133 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp2_ = g_strdup_printf ("#%02X%02X%02X", (guint) col_tmp, (guint) col_tmp, (guint) col_tmp); +#line 133 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->bg_color); +#line 133 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->bg_color = _tmp2_; +#line 134 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp3_ = self->priv->bg_color; +#line 134 "/home/jens/Source/shotwell/src/config/Config.vala" + configuration_facade_set_bg_color_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp3_); +#line 136 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp4_ = *color; +#line 136 "/home/jens/Source/shotwell/src/config/Config.vala" + config_facade_set_text_colors (self, &_tmp4_); +#line 783 "Config.c" +} + + +void config_facade_commit_bg_color (ConfigFacade* self) { + const gchar* _tmp0_ = NULL; +#line 139 "/home/jens/Source/shotwell/src/config/Config.vala" + g_return_if_fail (CONFIG_IS_FACADE (self)); +#line 140 "/home/jens/Source/shotwell/src/config/Config.vala" + _tmp0_ = self->priv->bg_color; +#line 140 "/home/jens/Source/shotwell/src/config/Config.vala" + CONFIGURATION_FACADE_CLASS (config_facade_parent_class)->set_bg_color_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp0_); +#line 795 "Config.c" +} + + +static void config_facade_class_init (ConfigFacadeClass * klass) { +#line 18 "/home/jens/Source/shotwell/src/config/Config.vala" + config_facade_parent_class = g_type_class_peek_parent (klass); +#line 18 "/home/jens/Source/shotwell/src/config/Config.vala" + g_type_class_add_private (klass, sizeof (ConfigFacadePrivate)); +#line 18 "/home/jens/Source/shotwell/src/config/Config.vala" + G_OBJECT_CLASS (klass)->finalize = config_facade_finalize; +#line 18 "/home/jens/Source/shotwell/src/config/Config.vala" + g_signal_new ("colors_changed", CONFIG_TYPE_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +#line 808 "Config.c" +} + + +static void config_facade_instance_init (ConfigFacade * self) { +#line 18 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv = CONFIG_FACADE_GET_PRIVATE (self); +#line 42 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->bg_color = NULL; +#line 43 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->selected_color = NULL; +#line 44 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->unselected_color = NULL; +#line 45 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->unfocused_selected_color = NULL; +#line 46 "/home/jens/Source/shotwell/src/config/Config.vala" + self->priv->border_color = NULL; +#line 825 "Config.c" +} + + +static void config_facade_finalize (GObject* obj) { + ConfigFacade * self; +#line 18 "/home/jens/Source/shotwell/src/config/Config.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (obj, CONFIG_TYPE_FACADE, ConfigFacade); +#line 42 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->bg_color); +#line 43 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->selected_color); +#line 44 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->unselected_color); +#line 45 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->unfocused_selected_color); +#line 46 "/home/jens/Source/shotwell/src/config/Config.vala" + _g_free0 (self->priv->border_color); +#line 18 "/home/jens/Source/shotwell/src/config/Config.vala" + G_OBJECT_CLASS (config_facade_parent_class)->finalize (obj); +#line 845 "Config.c" +} + + +GType config_facade_get_type (void) { + static volatile gsize config_facade_type_id__volatile = 0; + if (g_once_init_enter (&config_facade_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (ConfigFacadeClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) config_facade_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ConfigFacade), 0, (GInstanceInitFunc) config_facade_instance_init, NULL }; + GType config_facade_type_id; + config_facade_type_id = g_type_register_static (TYPE_CONFIGURATION_FACADE, "ConfigFacade", &g_define_type_info, 0); + g_once_init_leave (&config_facade_type_id__volatile, config_facade_type_id); + } + return config_facade_type_id__volatile; +} + + +void config_preconfigure (void) { +} + + +void config_init (GError** error) { +} + + +void config_terminate (void) { +} + + + diff --git a/src/config/ConfigurationInterfaces.c b/src/config/ConfigurationInterfaces.c new file mode 100644 index 0000000..0e35565 --- /dev/null +++ b/src/config/ConfigurationInterfaces.c @@ -0,0 +1,12023 @@ +/* ConfigurationInterfaces.c generated by valac 0.32.1, the Vala compiler + * generated from ConfigurationInterfaces.vala, do not modify */ + +/* Copyright 2016 Software Freedom Conservancy Inc. + * + * This software is licensed under the GNU LGPL (version 2.1 or later). + * See the COPYING file in this distribution. + */ + +#include +#include +#include +#include +#include +#include +#include + + +#define TYPE_FUZZY_PROPERTY_STATE (fuzzy_property_state_get_type ()) + +#define TYPE_CONFIGURABLE_PROPERTY (configurable_property_get_type ()) + +#define TYPE_CONFIGURATION_ENGINE (configuration_engine_get_type ()) +#define CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_ENGINE, ConfigurationEngine)) +#define IS_CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_ENGINE)) +#define CONFIGURATION_ENGINE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_CONFIGURATION_ENGINE, ConfigurationEngineIface)) + +typedef struct _ConfigurationEngine ConfigurationEngine; +typedef struct _ConfigurationEngineIface ConfigurationEngineIface; + +#define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ()) +#define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade)) +#define CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass)) +#define IS_CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_FACADE)) +#define IS_CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONFIGURATION_FACADE)) +#define CONFIGURATION_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass)) + +typedef struct _ConfigurationFacade ConfigurationFacade; +typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass; +typedef struct _ConfigurationFacadePrivate ConfigurationFacadePrivate; + +#define TYPE_DIMENSIONS (dimensions_get_type ()) +typedef struct _Dimensions Dimensions; + +#define TYPE_RAW_DEVELOPER (raw_developer_get_type ()) +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) +#define _g_free0(var) (var = (g_free (var), NULL)) +#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) + +typedef enum { + CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE, + CONFIGURATION_ERROR_ENGINE_ERROR +} ConfigurationError; +#define CONFIGURATION_ERROR configuration_error_quark () +typedef enum { + FUZZY_PROPERTY_STATE_ENABLED, + FUZZY_PROPERTY_STATE_DISABLED, + FUZZY_PROPERTY_STATE_UNKNOWN +} FuzzyPropertyState; + +typedef enum { + CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY = 0, + CONFIGURABLE_PROPERTY_BG_COLOR_NAME, + CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, + CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, + CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, + CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, + CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, + CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, + CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, + CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, + CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, + CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, + CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, + CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, + CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, + CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, + CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, + CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, + CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, + CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, + CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, + CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, + CONFIGURABLE_PROPERTY_IMPORT_DIR, + CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, + CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, + CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, + CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, + CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, + CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, + CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, + CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, + CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, + CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, + CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, + CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, + CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, + CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, + CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, + CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, + CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, + CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, + CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, + CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, + CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, + CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, + CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, + CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, + CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, + CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, + CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, + CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, + CONFIGURABLE_PROPERTY_NUM_PROPERTIES +} ConfigurableProperty; + +struct _ConfigurationEngineIface { + GTypeInterface parent_iface; + gchar* (*get_name) (ConfigurationEngine* self); + gint (*get_int_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_int_property) (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); + gchar* (*get_string_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_string_property) (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error); + gboolean (*get_bool_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_bool_property) (ConfigurationEngine* self, ConfigurableProperty p, gboolean val, GError** error); + gdouble (*get_double_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_double_property) (ConfigurationEngine* self, ConfigurableProperty p, gdouble val, GError** error); + gboolean (*get_plugin_bool) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def); + void (*set_plugin_bool) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val); + gdouble (*get_plugin_double) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def); + void (*set_plugin_double) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val); + gint (*get_plugin_int) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint def); + void (*set_plugin_int) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint val); + gchar* (*get_plugin_string) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def); + void (*set_plugin_string) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val); + void (*unset_plugin_key) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key); + FuzzyPropertyState (*is_plugin_enabled) (ConfigurationEngine* self, const gchar* id); + void (*set_plugin_enabled) (ConfigurationEngine* self, const gchar* id, gboolean enabled); +}; + +struct _Dimensions { + gint width; + gint height; +}; + +typedef enum { + RAW_DEVELOPER_SHOTWELL = 0, + RAW_DEVELOPER_CAMERA, + RAW_DEVELOPER_EMBEDDED +} RawDeveloper; + +struct _ConfigurationFacade { + GObject parent_instance; + ConfigurationFacadePrivate * priv; +}; + +struct _ConfigurationFacadeClass { + GObjectClass parent_class; + gboolean (*get_auto_import_from_library) (ConfigurationFacade* self); + void (*set_auto_import_from_library) (ConfigurationFacade* self, gboolean auto_import); + gchar* (*get_bg_color_name) (ConfigurationFacade* self); + void (*set_bg_color_name) (ConfigurationFacade* self, const gchar* color_name); + gboolean (*get_commit_metadata_to_masters) (ConfigurationFacade* self); + void (*set_commit_metadata_to_masters) (ConfigurationFacade* self, gboolean commit_metadata); + gchar* (*get_desktop_background) (ConfigurationFacade* self); + void (*set_desktop_background) (ConfigurationFacade* self, const gchar* filename); + gchar* (*get_screensaver) (ConfigurationFacade* self); + void (*set_screensaver) (ConfigurationFacade* self, const gchar* filename); + gchar* (*get_directory_pattern) (ConfigurationFacade* self); + void (*set_directory_pattern) (ConfigurationFacade* self, const gchar* s); + gchar* (*get_directory_pattern_custom) (ConfigurationFacade* self); + void (*set_directory_pattern_custom) (ConfigurationFacade* self, const gchar* s); + void (*get_direct_window_state) (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions); + void (*set_direct_window_state) (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions); + gboolean (*get_display_basic_properties) (ConfigurationFacade* self); + void (*set_display_basic_properties) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_extended_properties) (ConfigurationFacade* self); + void (*set_display_extended_properties) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_sidebar) (ConfigurationFacade* self); + void (*set_display_sidebar) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_toolbar) (ConfigurationFacade* self); + void (*set_display_toolbar) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_search_bar) (ConfigurationFacade* self); + void (*set_display_search_bar) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_photo_ratings) (ConfigurationFacade* self); + void (*set_display_photo_ratings) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_photo_tags) (ConfigurationFacade* self); + void (*set_display_photo_tags) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_photo_titles) (ConfigurationFacade* self); + void (*set_display_photo_titles) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_photo_comments) (ConfigurationFacade* self); + void (*set_display_photo_comments) (ConfigurationFacade* self, gboolean display); + gboolean (*get_display_event_comments) (ConfigurationFacade* self); + void (*set_display_event_comments) (ConfigurationFacade* self, gboolean display); + void (*get_event_photos_sort) (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by); + void (*set_event_photos_sort) (ConfigurationFacade* self, gboolean sort_order, gint sort_by); + gboolean (*get_events_sort_ascending) (ConfigurationFacade* self); + void (*set_events_sort_ascending) (ConfigurationFacade* self, gboolean sort); + gchar* (*get_external_photo_app) (ConfigurationFacade* self); + void (*set_external_photo_app) (ConfigurationFacade* self, const gchar* external_photo_app); + gchar* (*get_external_raw_app) (ConfigurationFacade* self); + void (*set_external_raw_app) (ConfigurationFacade* self, const gchar* external_raw_app); + RawDeveloper (*get_default_raw_developer) (ConfigurationFacade* self); + void (*set_default_raw_developer) (ConfigurationFacade* self, RawDeveloper d); + gboolean (*get_hide_photos_already_imported) (ConfigurationFacade* self); + void (*set_hide_photos_already_imported) (ConfigurationFacade* self, gboolean hide_imported); + gchar* (*get_import_dir) (ConfigurationFacade* self); + void (*set_import_dir) (ConfigurationFacade* self, const gchar* import_dir); + gboolean (*get_keep_relativity) (ConfigurationFacade* self); + void (*set_keep_relativity) (ConfigurationFacade* self, gboolean keep_relativity); + gboolean (*get_pin_toolbar_state) (ConfigurationFacade* self); + void (*set_pin_toolbar_state) (ConfigurationFacade* self, gboolean state); + gint (*get_last_crop_height) (ConfigurationFacade* self); + void (*set_last_crop_height) (ConfigurationFacade* self, gint choice); + gint (*get_last_crop_menu_choice) (ConfigurationFacade* self); + void (*set_last_crop_menu_choice) (ConfigurationFacade* self, gint choice); + gint (*get_last_crop_width) (ConfigurationFacade* self); + void (*set_last_crop_width) (ConfigurationFacade* self, gint choice); + gchar* (*get_last_used_service) (ConfigurationFacade* self); + void (*set_last_used_service) (ConfigurationFacade* self, const gchar* service_name); + gchar* (*get_last_used_dataimports_service) (ConfigurationFacade* self); + void (*set_last_used_dataimports_service) (ConfigurationFacade* self, const gchar* service_name); + void (*get_library_photos_sort) (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by); + void (*set_library_photos_sort) (ConfigurationFacade* self, gboolean sort_order, gint sort_by); + void (*get_library_window_state) (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions); + void (*set_library_window_state) (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions); + gboolean (*get_modify_originals) (ConfigurationFacade* self); + void (*set_modify_originals) (ConfigurationFacade* self, gboolean modify_originals); + gint (*get_photo_thumbnail_scale) (ConfigurationFacade* self); + void (*set_photo_thumbnail_scale) (ConfigurationFacade* self, gint scale); + gdouble (*get_printing_content_height) (ConfigurationFacade* self); + void (*set_printing_content_height) (ConfigurationFacade* self, gdouble content_height); + gint (*get_printing_content_layout) (ConfigurationFacade* self); + void (*set_printing_content_layout) (ConfigurationFacade* self, gint layout_code); + gint (*get_printing_content_ppi) (ConfigurationFacade* self); + void (*set_printing_content_ppi) (ConfigurationFacade* self, gint content_ppi); + gint (*get_printing_content_units) (ConfigurationFacade* self); + void (*set_printing_content_units) (ConfigurationFacade* self, gint units_code); + gdouble (*get_printing_content_width) (ConfigurationFacade* self); + void (*set_printing_content_width) (ConfigurationFacade* self, gdouble content_width); + gint (*get_printing_images_per_page) (ConfigurationFacade* self); + void (*set_printing_images_per_page) (ConfigurationFacade* self, gint images_per_page_code); + gboolean (*get_printing_match_aspect_ratio) (ConfigurationFacade* self); + void (*set_printing_match_aspect_ratio) (ConfigurationFacade* self, gboolean match_aspect_ratio); + gboolean (*get_printing_print_titles) (ConfigurationFacade* self); + void (*set_printing_print_titles) (ConfigurationFacade* self, gboolean print_titles); + gint (*get_printing_size_selection) (ConfigurationFacade* self); + void (*set_printing_size_selection) (ConfigurationFacade* self, gint size_code); + gchar* (*get_printing_titles_font) (ConfigurationFacade* self); + void (*set_printing_titles_font) (ConfigurationFacade* self, const gchar* font_name); + gboolean (*get_show_welcome_dialog) (ConfigurationFacade* self); + void (*set_show_welcome_dialog) (ConfigurationFacade* self, gboolean show); + gint (*get_sidebar_position) (ConfigurationFacade* self); + void (*set_sidebar_position) (ConfigurationFacade* self, gint position); + gdouble (*get_slideshow_delay) (ConfigurationFacade* self); + void (*set_slideshow_delay) (ConfigurationFacade* self, gdouble delay); + gdouble (*get_slideshow_transition_delay) (ConfigurationFacade* self); + void (*set_slideshow_transition_delay) (ConfigurationFacade* self, gdouble delay); + gchar* (*get_slideshow_transition_effect_id) (ConfigurationFacade* self); + void (*set_slideshow_transition_effect_id) (ConfigurationFacade* self, const gchar* id); + gboolean (*get_slideshow_show_title) (ConfigurationFacade* self); + void (*set_slideshow_show_title) (ConfigurationFacade* self, gboolean show_title); + gboolean (*get_use_24_hour_time) (ConfigurationFacade* self); + void (*set_use_24_hour_time) (ConfigurationFacade* self, gboolean use_24_hour_time); + gboolean (*get_use_lowercase_filenames) (ConfigurationFacade* self); + void (*set_use_lowercase_filenames) (ConfigurationFacade* self, gboolean b); + gint (*get_video_interpreter_state_cookie) (ConfigurationFacade* self); + void (*set_video_interpreter_state_cookie) (ConfigurationFacade* self, gint state_cookie); + gboolean (*get_plugin_bool) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def); + void (*set_plugin_bool) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val); + gdouble (*get_plugin_double) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def); + void (*set_plugin_double) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val); + gint (*get_plugin_int) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def); + void (*set_plugin_int) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val); + gchar* (*get_plugin_string) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def); + void (*set_plugin_string) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val); + void (*unset_plugin_key) (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key); + FuzzyPropertyState (*is_plugin_enabled) (ConfigurationFacade* self, const gchar* id); + void (*set_plugin_enabled) (ConfigurationFacade* self, const gchar* id, gboolean enabled); +}; + +struct _ConfigurationFacadePrivate { + ConfigurationEngine* engine; +}; + + +static gpointer configuration_facade_parent_class = NULL; + +GQuark configuration_error_quark (void); +GType fuzzy_property_state_get_type (void) G_GNUC_CONST; +GType configurable_property_get_type (void) G_GNUC_CONST; +gchar* configurable_property_to_string (ConfigurableProperty self); +GType configuration_engine_get_type (void) G_GNUC_CONST; +gchar* configuration_engine_get_name (ConfigurationEngine* self); +gint configuration_engine_get_int_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error); +void configuration_engine_set_int_property (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); +gchar* configuration_engine_get_string_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error); +void configuration_engine_set_string_property (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error); +gboolean configuration_engine_get_bool_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error); +void configuration_engine_set_bool_property (ConfigurationEngine* self, ConfigurableProperty p, gboolean val, GError** error); +gdouble configuration_engine_get_double_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error); +void configuration_engine_set_double_property (ConfigurationEngine* self, ConfigurableProperty p, gdouble val, GError** error); +gboolean configuration_engine_get_plugin_bool (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def); +void configuration_engine_set_plugin_bool (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val); +gdouble configuration_engine_get_plugin_double (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def); +void configuration_engine_set_plugin_double (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val); +gint configuration_engine_get_plugin_int (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint def); +void configuration_engine_set_plugin_int (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint val); +gchar* configuration_engine_get_plugin_string (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def); +void configuration_engine_set_plugin_string (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val); +void configuration_engine_unset_plugin_key (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key); +FuzzyPropertyState configuration_engine_is_plugin_enabled (ConfigurationEngine* self, const gchar* id); +void configuration_engine_set_plugin_enabled (ConfigurationEngine* self, const gchar* id, gboolean enabled); +GType configuration_facade_get_type (void) G_GNUC_CONST; +GType dimensions_get_type (void) G_GNUC_CONST; +Dimensions* dimensions_dup (const Dimensions* self); +void dimensions_free (Dimensions* self); +GType raw_developer_get_type (void) G_GNUC_CONST; +#define CONFIGURATION_FACADE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_CONFIGURATION_FACADE, ConfigurationFacadePrivate)) +enum { + CONFIGURATION_FACADE_DUMMY_PROPERTY +}; +ConfigurationFacade* configuration_facade_construct (GType object_type, ConfigurationEngine* engine); +static void configuration_facade_on_property_changed (ConfigurationFacade* self, ConfigurableProperty p); +static void _configuration_facade_on_property_changed_configuration_engine_property_changed (ConfigurationEngine* _sender, ConfigurableProperty p, gpointer self); +ConfigurationEngine* configuration_facade_get_engine (ConfigurationFacade* self); +void configuration_facade_on_configuration_error (ConfigurationFacade* self, GError* err); +gboolean configuration_facade_get_auto_import_from_library (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_auto_import_from_library (ConfigurationFacade* self); +void configuration_facade_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import); +static void configuration_facade_real_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import); +gchar* configuration_facade_get_bg_color_name (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade* self); +void configuration_facade_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name); +static void configuration_facade_real_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name); +gboolean configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_commit_metadata_to_masters (ConfigurationFacade* self); +void configuration_facade_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata); +static void configuration_facade_real_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata); +gchar* configuration_facade_get_desktop_background (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_desktop_background (ConfigurationFacade* self); +void configuration_facade_set_desktop_background (ConfigurationFacade* self, const gchar* filename); +static void configuration_facade_real_set_desktop_background (ConfigurationFacade* self, const gchar* filename); +gchar* configuration_facade_get_screensaver (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* self); +void configuration_facade_set_screensaver (ConfigurationFacade* self, const gchar* filename); +static void configuration_facade_real_set_screensaver (ConfigurationFacade* self, const gchar* filename); +gchar* configuration_facade_get_directory_pattern (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFacade* self); +void configuration_facade_set_directory_pattern (ConfigurationFacade* self, const gchar* s); +static void configuration_facade_real_set_directory_pattern (ConfigurationFacade* self, const gchar* s); +gchar* configuration_facade_get_directory_pattern_custom (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_directory_pattern_custom (ConfigurationFacade* self); +void configuration_facade_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s); +static void configuration_facade_real_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s); +void configuration_facade_get_direct_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions); +static void configuration_facade_real_get_direct_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions); +void dimensions_init (Dimensions *self, gint width, gint height); +void configuration_facade_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions); +static void configuration_facade_real_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions); +gboolean configuration_facade_get_display_basic_properties (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_display_basic_properties (ConfigurationFacade* self); +void configuration_facade_set_display_basic_properties (ConfigurationFacade* self, gboolean display); +static void configuration_facade_real_set_display_basic_properties (ConfigurationFacade* self, gboolean display); +gboolean configuration_facade_get_display_extended_properties (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_display_extended_properties (ConfigurationFacade* self); +void configuration_facade_set_display_extended_properties (ConfigurationFacade* self, gboolean display); +static void configuration_facade_real_set_display_extended_properties (ConfigurationFacade* self, gboolean display); +gboolean configuration_facade_get_display_sidebar (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_display_sidebar (ConfigurationFacade* self); +void configuration_facade_set_display_sidebar (ConfigurationFacade* self, gboolean display); +static void configuration_facade_real_set_display_sidebar (ConfigurationFacade* self, gboolean display); +gboolean configuration_facade_get_display_toolbar (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_display_toolbar (ConfigurationFacade* self); +void configuration_facade_set_display_toolbar (ConfigurationFacade* self, gboolean display); +static void configuration_facade_real_set_display_toolbar (ConfigurationFacade* self, gboolean display); +gboolean configuration_facade_get_display_search_bar (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_display_search_bar (ConfigurationFacade* self); +void configuration_facade_set_display_search_bar (ConfigurationFacade* self, gboolean display); +static void configuration_facade_real_set_display_search_bar (ConfigurationFacade* self, gboolean display); +gboolean configuration_facade_get_display_photo_ratings (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_display_photo_ratings (ConfigurationFacade* self); +void configuration_facade_set_display_photo_ratings (ConfigurationFacade* self, gboolean display); +static void configuration_facade_real_set_display_photo_ratings (ConfigurationFacade* self, gboolean display); +gboolean configuration_facade_get_display_photo_tags (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_display_photo_tags (ConfigurationFacade* self); +void configuration_facade_set_display_photo_tags (ConfigurationFacade* self, gboolean display); +static void configuration_facade_real_set_display_photo_tags (ConfigurationFacade* self, gboolean display); +gboolean configuration_facade_get_display_photo_titles (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_display_photo_titles (ConfigurationFacade* self); +void configuration_facade_set_display_photo_titles (ConfigurationFacade* self, gboolean display); +static void configuration_facade_real_set_display_photo_titles (ConfigurationFacade* self, gboolean display); +gboolean configuration_facade_get_display_photo_comments (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_display_photo_comments (ConfigurationFacade* self); +void configuration_facade_set_display_photo_comments (ConfigurationFacade* self, gboolean display); +static void configuration_facade_real_set_display_photo_comments (ConfigurationFacade* self, gboolean display); +gboolean configuration_facade_get_display_event_comments (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_display_event_comments (ConfigurationFacade* self); +void configuration_facade_set_display_event_comments (ConfigurationFacade* self, gboolean display); +static void configuration_facade_real_set_display_event_comments (ConfigurationFacade* self, gboolean display); +void configuration_facade_get_event_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by); +static void configuration_facade_real_get_event_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by); +void configuration_facade_set_event_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by); +static void configuration_facade_real_set_event_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by); +gboolean configuration_facade_get_events_sort_ascending (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_events_sort_ascending (ConfigurationFacade* self); +void configuration_facade_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort); +static void configuration_facade_real_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort); +gchar* configuration_facade_get_external_photo_app (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFacade* self); +void configuration_facade_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app); +static void configuration_facade_real_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app); +gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacade* self); +void configuration_facade_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app); +static void configuration_facade_real_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app); +RawDeveloper configuration_facade_get_default_raw_developer (ConfigurationFacade* self); +static RawDeveloper configuration_facade_real_get_default_raw_developer (ConfigurationFacade* self); +RawDeveloper raw_developer_from_string (const gchar* value); +void configuration_facade_set_default_raw_developer (ConfigurationFacade* self, RawDeveloper d); +static void configuration_facade_real_set_default_raw_developer (ConfigurationFacade* self, RawDeveloper d); +gchar* raw_developer_to_string (RawDeveloper self); +gboolean configuration_facade_get_hide_photos_already_imported (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_hide_photos_already_imported (ConfigurationFacade* self); +void configuration_facade_set_hide_photos_already_imported (ConfigurationFacade* self, gboolean hide_imported); +static void configuration_facade_real_set_hide_photos_already_imported (ConfigurationFacade* self, gboolean hide_imported); +gchar* configuration_facade_get_import_dir (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_import_dir (ConfigurationFacade* self); +void configuration_facade_set_import_dir (ConfigurationFacade* self, const gchar* import_dir); +static void configuration_facade_real_set_import_dir (ConfigurationFacade* self, const gchar* import_dir); +gboolean configuration_facade_get_keep_relativity (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_keep_relativity (ConfigurationFacade* self); +void configuration_facade_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity); +static void configuration_facade_real_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity); +gboolean configuration_facade_get_pin_toolbar_state (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_pin_toolbar_state (ConfigurationFacade* self); +void configuration_facade_set_pin_toolbar_state (ConfigurationFacade* self, gboolean state); +static void configuration_facade_real_set_pin_toolbar_state (ConfigurationFacade* self, gboolean state); +gint configuration_facade_get_last_crop_height (ConfigurationFacade* self); +static gint configuration_facade_real_get_last_crop_height (ConfigurationFacade* self); +void configuration_facade_set_last_crop_height (ConfigurationFacade* self, gint choice); +static void configuration_facade_real_set_last_crop_height (ConfigurationFacade* self, gint choice); +gint configuration_facade_get_last_crop_menu_choice (ConfigurationFacade* self); +static gint configuration_facade_real_get_last_crop_menu_choice (ConfigurationFacade* self); +void configuration_facade_set_last_crop_menu_choice (ConfigurationFacade* self, gint choice); +static void configuration_facade_real_set_last_crop_menu_choice (ConfigurationFacade* self, gint choice); +gint configuration_facade_get_last_crop_width (ConfigurationFacade* self); +static gint configuration_facade_real_get_last_crop_width (ConfigurationFacade* self); +void configuration_facade_set_last_crop_width (ConfigurationFacade* self, gint choice); +static void configuration_facade_real_set_last_crop_width (ConfigurationFacade* self, gint choice); +gchar* configuration_facade_get_last_used_service (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_last_used_service (ConfigurationFacade* self); +void configuration_facade_set_last_used_service (ConfigurationFacade* self, const gchar* service_name); +static void configuration_facade_real_set_last_used_service (ConfigurationFacade* self, const gchar* service_name); +gchar* configuration_facade_get_last_used_dataimports_service (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_last_used_dataimports_service (ConfigurationFacade* self); +void configuration_facade_set_last_used_dataimports_service (ConfigurationFacade* self, const gchar* service_name); +static void configuration_facade_real_set_last_used_dataimports_service (ConfigurationFacade* self, const gchar* service_name); +void configuration_facade_get_library_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by); +static void configuration_facade_real_get_library_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by); +void configuration_facade_set_library_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by); +static void configuration_facade_real_set_library_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by); +void configuration_facade_get_library_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions); +static void configuration_facade_real_get_library_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions); +void configuration_facade_set_library_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions); +static void configuration_facade_real_set_library_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions); +gboolean configuration_facade_get_modify_originals (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_modify_originals (ConfigurationFacade* self); +void configuration_facade_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals); +static void configuration_facade_real_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals); +gint configuration_facade_get_photo_thumbnail_scale (ConfigurationFacade* self); +static gint configuration_facade_real_get_photo_thumbnail_scale (ConfigurationFacade* self); +gint thumbnail_get_DEFAULT_SCALE (void); +void configuration_facade_set_photo_thumbnail_scale (ConfigurationFacade* self, gint scale); +static void configuration_facade_real_set_photo_thumbnail_scale (ConfigurationFacade* self, gint scale); +gdouble configuration_facade_get_printing_content_height (ConfigurationFacade* self); +static gdouble configuration_facade_real_get_printing_content_height (ConfigurationFacade* self); +void configuration_facade_set_printing_content_height (ConfigurationFacade* self, gdouble content_height); +static void configuration_facade_real_set_printing_content_height (ConfigurationFacade* self, gdouble content_height); +gint configuration_facade_get_printing_content_layout (ConfigurationFacade* self); +static gint configuration_facade_real_get_printing_content_layout (ConfigurationFacade* self); +void configuration_facade_set_printing_content_layout (ConfigurationFacade* self, gint layout_code); +static void configuration_facade_real_set_printing_content_layout (ConfigurationFacade* self, gint layout_code); +gint configuration_facade_get_printing_content_ppi (ConfigurationFacade* self); +static gint configuration_facade_real_get_printing_content_ppi (ConfigurationFacade* self); +void configuration_facade_set_printing_content_ppi (ConfigurationFacade* self, gint content_ppi); +static void configuration_facade_real_set_printing_content_ppi (ConfigurationFacade* self, gint content_ppi); +gint configuration_facade_get_printing_content_units (ConfigurationFacade* self); +static gint configuration_facade_real_get_printing_content_units (ConfigurationFacade* self); +void configuration_facade_set_printing_content_units (ConfigurationFacade* self, gint units_code); +static void configuration_facade_real_set_printing_content_units (ConfigurationFacade* self, gint units_code); +gdouble configuration_facade_get_printing_content_width (ConfigurationFacade* self); +static gdouble configuration_facade_real_get_printing_content_width (ConfigurationFacade* self); +void configuration_facade_set_printing_content_width (ConfigurationFacade* self, gdouble content_width); +static void configuration_facade_real_set_printing_content_width (ConfigurationFacade* self, gdouble content_width); +gint configuration_facade_get_printing_images_per_page (ConfigurationFacade* self); +static gint configuration_facade_real_get_printing_images_per_page (ConfigurationFacade* self); +void configuration_facade_set_printing_images_per_page (ConfigurationFacade* self, gint images_per_page_code); +static void configuration_facade_real_set_printing_images_per_page (ConfigurationFacade* self, gint images_per_page_code); +gboolean configuration_facade_get_printing_match_aspect_ratio (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_printing_match_aspect_ratio (ConfigurationFacade* self); +void configuration_facade_set_printing_match_aspect_ratio (ConfigurationFacade* self, gboolean match_aspect_ratio); +static void configuration_facade_real_set_printing_match_aspect_ratio (ConfigurationFacade* self, gboolean match_aspect_ratio); +gboolean configuration_facade_get_printing_print_titles (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_printing_print_titles (ConfigurationFacade* self); +void configuration_facade_set_printing_print_titles (ConfigurationFacade* self, gboolean print_titles); +static void configuration_facade_real_set_printing_print_titles (ConfigurationFacade* self, gboolean print_titles); +gint configuration_facade_get_printing_size_selection (ConfigurationFacade* self); +static gint configuration_facade_real_get_printing_size_selection (ConfigurationFacade* self); +void configuration_facade_set_printing_size_selection (ConfigurationFacade* self, gint size_code); +static void configuration_facade_real_set_printing_size_selection (ConfigurationFacade* self, gint size_code); +gchar* configuration_facade_get_printing_titles_font (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_printing_titles_font (ConfigurationFacade* self); +void configuration_facade_set_printing_titles_font (ConfigurationFacade* self, const gchar* font_name); +static void configuration_facade_real_set_printing_titles_font (ConfigurationFacade* self, const gchar* font_name); +gboolean configuration_facade_get_show_welcome_dialog (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_show_welcome_dialog (ConfigurationFacade* self); +void configuration_facade_set_show_welcome_dialog (ConfigurationFacade* self, gboolean show); +static void configuration_facade_real_set_show_welcome_dialog (ConfigurationFacade* self, gboolean show); +gint configuration_facade_get_sidebar_position (ConfigurationFacade* self); +static gint configuration_facade_real_get_sidebar_position (ConfigurationFacade* self); +void configuration_facade_set_sidebar_position (ConfigurationFacade* self, gint position); +static void configuration_facade_real_set_sidebar_position (ConfigurationFacade* self, gint position); +gdouble configuration_facade_get_slideshow_delay (ConfigurationFacade* self); +static gdouble configuration_facade_real_get_slideshow_delay (ConfigurationFacade* self); +void configuration_facade_set_slideshow_delay (ConfigurationFacade* self, gdouble delay); +static void configuration_facade_real_set_slideshow_delay (ConfigurationFacade* self, gdouble delay); +gdouble configuration_facade_get_slideshow_transition_delay (ConfigurationFacade* self); +static gdouble configuration_facade_real_get_slideshow_transition_delay (ConfigurationFacade* self); +void configuration_facade_set_slideshow_transition_delay (ConfigurationFacade* self, gdouble delay); +static void configuration_facade_real_set_slideshow_transition_delay (ConfigurationFacade* self, gdouble delay); +gchar* configuration_facade_get_slideshow_transition_effect_id (ConfigurationFacade* self); +static gchar* configuration_facade_real_get_slideshow_transition_effect_id (ConfigurationFacade* self); +#define NULL_TRANSITION_DESCRIPTOR_EFFECT_ID "org.yorba.shotwell.transitions.null" +#define TRANSITION_EFFECTS_MANAGER_NULL_EFFECT_ID NULL_TRANSITION_DESCRIPTOR_EFFECT_ID +void configuration_facade_set_slideshow_transition_effect_id (ConfigurationFacade* self, const gchar* id); +static void configuration_facade_real_set_slideshow_transition_effect_id (ConfigurationFacade* self, const gchar* id); +gboolean configuration_facade_get_slideshow_show_title (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_slideshow_show_title (ConfigurationFacade* self); +void configuration_facade_set_slideshow_show_title (ConfigurationFacade* self, gboolean show_title); +static void configuration_facade_real_set_slideshow_show_title (ConfigurationFacade* self, gboolean show_title); +gboolean configuration_facade_get_use_24_hour_time (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_use_24_hour_time (ConfigurationFacade* self); +gboolean is_string_empty (const gchar* s); +void configuration_facade_set_use_24_hour_time (ConfigurationFacade* self, gboolean use_24_hour_time); +static void configuration_facade_real_set_use_24_hour_time (ConfigurationFacade* self, gboolean use_24_hour_time); +gboolean configuration_facade_get_use_lowercase_filenames (ConfigurationFacade* self); +static gboolean configuration_facade_real_get_use_lowercase_filenames (ConfigurationFacade* self); +void configuration_facade_set_use_lowercase_filenames (ConfigurationFacade* self, gboolean b); +static void configuration_facade_real_set_use_lowercase_filenames (ConfigurationFacade* self, gboolean b); +gint configuration_facade_get_video_interpreter_state_cookie (ConfigurationFacade* self); +static gint configuration_facade_real_get_video_interpreter_state_cookie (ConfigurationFacade* self); +void configuration_facade_set_video_interpreter_state_cookie (ConfigurationFacade* self, gint state_cookie); +static void configuration_facade_real_set_video_interpreter_state_cookie (ConfigurationFacade* self, gint state_cookie); +gboolean configuration_facade_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def); +static gboolean configuration_facade_real_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def); +void configuration_facade_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val); +static void configuration_facade_real_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val); +gdouble configuration_facade_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def); +static gdouble configuration_facade_real_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def); +void configuration_facade_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val); +static void configuration_facade_real_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val); +gint configuration_facade_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def); +static gint configuration_facade_real_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def); +void configuration_facade_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val); +static void configuration_facade_real_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val); +gchar* configuration_facade_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def); +static gchar* configuration_facade_real_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def); +void configuration_facade_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val); +static void configuration_facade_real_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val); +void configuration_facade_unset_plugin_key (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key); +static void configuration_facade_real_unset_plugin_key (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key); +FuzzyPropertyState configuration_facade_is_plugin_enabled (ConfigurationFacade* self, const gchar* id); +static FuzzyPropertyState configuration_facade_real_is_plugin_enabled (ConfigurationFacade* self, const gchar* id); +void configuration_facade_set_plugin_enabled (ConfigurationFacade* self, const gchar* id, gboolean enabled); +static void configuration_facade_real_set_plugin_enabled (ConfigurationFacade* self, const gchar* id, gboolean enabled); +static void configuration_facade_finalize (GObject* obj); + + +GQuark configuration_error_quark (void) { + return g_quark_from_static_string ("configuration_error-quark"); +} + + +GType fuzzy_property_state_get_type (void) { + static volatile gsize fuzzy_property_state_type_id__volatile = 0; + if (g_once_init_enter (&fuzzy_property_state_type_id__volatile)) { + static const GEnumValue values[] = {{FUZZY_PROPERTY_STATE_ENABLED, "FUZZY_PROPERTY_STATE_ENABLED", "enabled"}, {FUZZY_PROPERTY_STATE_DISABLED, "FUZZY_PROPERTY_STATE_DISABLED", "disabled"}, {FUZZY_PROPERTY_STATE_UNKNOWN, "FUZZY_PROPERTY_STATE_UNKNOWN", "unknown"}, {0, NULL, NULL}}; + GType fuzzy_property_state_type_id; + fuzzy_property_state_type_id = g_enum_register_static ("FuzzyPropertyState", values); + g_once_init_leave (&fuzzy_property_state_type_id__volatile, fuzzy_property_state_type_id); + } + return fuzzy_property_state_type_id__volatile; +} + + +gchar* configurable_property_to_string (ConfigurableProperty self) { + gchar* result = NULL; +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + switch (self) { +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY: +#line 615 "ConfigurationInterfaces.c" + { + gchar* _tmp0_ = NULL; +#line 93 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = g_strdup ("AUTO_IMPORT_FROM_LIBRARY"); +#line 93 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 93 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 624 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_BG_COLOR_NAME: +#line 628 "ConfigurationInterfaces.c" + { + gchar* _tmp1_ = NULL; +#line 96 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = g_strdup ("BG_COLOR_NAME"); +#line 96 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp1_; +#line 96 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 637 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS: +#line 641 "ConfigurationInterfaces.c" + { + gchar* _tmp2_ = NULL; +#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = g_strdup ("COMMIT_METADATA_TO_MASTERS"); +#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp2_; +#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 650 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE: +#line 654 "ConfigurationInterfaces.c" + { + gchar* _tmp3_ = NULL; +#line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = g_strdup ("DESKTOP_BACKGROUND_FILE"); +#line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp3_; +#line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 663 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE: +#line 667 "ConfigurationInterfaces.c" + { + gchar* _tmp4_ = NULL; +#line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = g_strdup ("DESKTOP_BACKGROUND_MODE"); +#line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp4_; +#line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 676 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SCREENSAVER_FILE: +#line 680 "ConfigurationInterfaces.c" + { + gchar* _tmp5_ = NULL; +#line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = g_strdup ("SCREENSAVER_FILE"); +#line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 689 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SCREENSAVER_MODE: +#line 693 "ConfigurationInterfaces.c" + { + gchar* _tmp6_ = NULL; +#line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = g_strdup ("SCREENSAVER_MODE"); +#line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp6_; +#line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 702 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN: +#line 706 "ConfigurationInterfaces.c" + { + gchar* _tmp7_ = NULL; +#line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup ("DIRECTORY_PATTERN"); +#line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 715 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM: +#line 719 "ConfigurationInterfaces.c" + { + gchar* _tmp8_ = NULL; +#line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = g_strdup ("DIRECTORY_PATTERN_CUSTOM"); +#line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp8_; +#line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 728 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT: +#line 732 "ConfigurationInterfaces.c" + { + gchar* _tmp9_ = NULL; +#line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp9_ = g_strdup ("DIRECT_WINDOW_HEIGHT"); +#line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp9_; +#line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 741 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE: +#line 745 "ConfigurationInterfaces.c" + { + gchar* _tmp10_ = NULL; +#line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp10_ = g_strdup ("DIRECT_WINDOW_MAXIMIZE"); +#line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp10_; +#line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 754 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH: +#line 758 "ConfigurationInterfaces.c" + { + gchar* _tmp11_ = NULL; +#line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp11_ = g_strdup ("DIRECT_WINDOW_WIDTH"); +#line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp11_; +#line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 767 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES: +#line 771 "ConfigurationInterfaces.c" + { + gchar* _tmp12_ = NULL; +#line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp12_ = g_strdup ("DISPLAY_BASIC_PROPERTIES"); +#line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp12_; +#line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 780 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES: +#line 784 "ConfigurationInterfaces.c" + { + gchar* _tmp13_ = NULL; +#line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp13_ = g_strdup ("DISPLAY_EXTENDED_PROPERTIES"); +#line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp13_; +#line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 793 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR: +#line 797 "ConfigurationInterfaces.c" + { + gchar* _tmp14_ = NULL; +#line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp14_ = g_strdup ("DISPLAY_SIDEBAR"); +#line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp14_; +#line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 806 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR: +#line 810 "ConfigurationInterfaces.c" + { + gchar* _tmp15_ = NULL; +#line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp15_ = g_strdup ("DISPLAY_TOOLBAR"); +#line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp15_; +#line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 819 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR: +#line 823 "ConfigurationInterfaces.c" + { + gchar* _tmp16_ = NULL; +#line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp16_ = g_strdup ("DISPLAY_SEARCH_BAR"); +#line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp16_; +#line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 832 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS: +#line 836 "ConfigurationInterfaces.c" + { + gchar* _tmp17_ = NULL; +#line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp17_ = g_strdup ("DISPLAY_PHOTO_RATINGS"); +#line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp17_; +#line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 845 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS: +#line 849 "ConfigurationInterfaces.c" + { + gchar* _tmp18_ = NULL; +#line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp18_ = g_strdup ("DISPLAY_PHOTO_TAGS"); +#line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp18_; +#line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 858 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES: +#line 862 "ConfigurationInterfaces.c" + { + gchar* _tmp19_ = NULL; +#line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp19_ = g_strdup ("DISPLAY_PHOTO_TITLES"); +#line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp19_; +#line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 871 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS: +#line 875 "ConfigurationInterfaces.c" + { + gchar* _tmp20_ = NULL; +#line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp20_ = g_strdup ("DISPLAY_PHOTO_COMMENTS"); +#line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp20_; +#line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 884 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS: +#line 888 "ConfigurationInterfaces.c" + { + gchar* _tmp21_ = NULL; +#line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp21_ = g_strdup ("DISPLAY_EVENT_COMMENTS"); +#line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp21_; +#line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 897 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING: +#line 901 "ConfigurationInterfaces.c" + { + gchar* _tmp22_ = NULL; +#line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp22_ = g_strdup ("EVENT_PHOTOS_SORT_ASCENDING"); +#line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp22_; +#line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 910 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY: +#line 914 "ConfigurationInterfaces.c" + { + gchar* _tmp23_ = NULL; +#line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp23_ = g_strdup ("EVENT_PHOTOS_SORT_BY"); +#line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp23_; +#line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 923 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING: +#line 927 "ConfigurationInterfaces.c" + { + gchar* _tmp24_ = NULL; +#line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp24_ = g_strdup ("EVENTS_SORT_ASCENDING"); +#line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp24_; +#line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 936 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP: +#line 940 "ConfigurationInterfaces.c" + { + gchar* _tmp25_ = NULL; +#line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp25_ = g_strdup ("EXTERNAL_PHOTO_APP"); +#line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp25_; +#line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 949 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP: +#line 953 "ConfigurationInterfaces.c" + { + gchar* _tmp26_ = NULL; +#line 171 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp26_ = g_strdup ("EXTERNAL_RAW_APP"); +#line 171 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp26_; +#line 171 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 962 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED: +#line 966 "ConfigurationInterfaces.c" + { + gchar* _tmp27_ = NULL; +#line 174 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp27_ = g_strdup ("HIDE_PHOTOS_ALREADY_IMPORTED"); +#line 174 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp27_; +#line 174 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 975 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_IMPORT_DIR: +#line 979 "ConfigurationInterfaces.c" + { + gchar* _tmp28_ = NULL; +#line 177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp28_ = g_strdup ("IMPORT_DIR"); +#line 177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp28_; +#line 177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 988 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_KEEP_RELATIVITY: +#line 992 "ConfigurationInterfaces.c" + { + gchar* _tmp29_ = NULL; +#line 180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp29_ = g_strdup ("KEEP_RELATIVITY"); +#line 180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp29_; +#line 180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1001 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT: +#line 1005 "ConfigurationInterfaces.c" + { + gchar* _tmp30_ = NULL; +#line 183 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp30_ = g_strdup ("LAST_CROP_HEIGHT"); +#line 183 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp30_; +#line 183 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1014 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE: +#line 1018 "ConfigurationInterfaces.c" + { + gchar* _tmp31_ = NULL; +#line 186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp31_ = g_strdup ("LAST_CROP_MENU_CHOICE"); +#line 186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp31_; +#line 186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1027 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH: +#line 1031 "ConfigurationInterfaces.c" + { + gchar* _tmp32_ = NULL; +#line 189 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp32_ = g_strdup ("LAST_CROP_WIDTH"); +#line 189 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp32_; +#line 189 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1040 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LAST_USED_SERVICE: +#line 1044 "ConfigurationInterfaces.c" + { + gchar* _tmp33_ = NULL; +#line 192 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp33_ = g_strdup ("LAST_USED_SERVICE"); +#line 192 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp33_; +#line 192 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1053 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE: +#line 1057 "ConfigurationInterfaces.c" + { + gchar* _tmp34_ = NULL; +#line 195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp34_ = g_strdup ("LAST_USED_DATAIMPORTS_SERVICE"); +#line 195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp34_; +#line 195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1066 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING: +#line 1070 "ConfigurationInterfaces.c" + { + gchar* _tmp35_ = NULL; +#line 198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp35_ = g_strdup ("LIBRARY_PHOTOS_SORT_ASCENDING"); +#line 198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp35_; +#line 198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1079 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY: +#line 1083 "ConfigurationInterfaces.c" + { + gchar* _tmp36_ = NULL; +#line 201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp36_ = g_strdup ("LIBRARY_PHOTOS_SORT_BY"); +#line 201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp36_; +#line 201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1092 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT: +#line 1096 "ConfigurationInterfaces.c" + { + gchar* _tmp37_ = NULL; +#line 204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp37_ = g_strdup ("LIBRARY_WINDOW_HEIGHT"); +#line 204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp37_; +#line 204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1105 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE: +#line 1109 "ConfigurationInterfaces.c" + { + gchar* _tmp38_ = NULL; +#line 207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp38_ = g_strdup ("LIBRARY_WINDOW_MAXIMIZE"); +#line 207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp38_; +#line 207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1118 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH: +#line 1122 "ConfigurationInterfaces.c" + { + gchar* _tmp39_ = NULL; +#line 210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp39_ = g_strdup ("LIBRARY_WINDOW_WIDTH"); +#line 210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp39_; +#line 210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1131 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS: +#line 1135 "ConfigurationInterfaces.c" + { + gchar* _tmp40_ = NULL; +#line 213 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp40_ = g_strdup ("MODIFY_ORIGINALS"); +#line 213 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp40_; +#line 213 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1144 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE: +#line 1148 "ConfigurationInterfaces.c" + { + gchar* _tmp41_ = NULL; +#line 216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp41_ = g_strdup ("PHOTO_THUMBNAIL_SCALE"); +#line 216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp41_; +#line 216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1157 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE: +#line 1161 "ConfigurationInterfaces.c" + { + gchar* _tmp42_ = NULL; +#line 219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp42_ = g_strdup ("PIN_TOOLBAR_STATE"); +#line 219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp42_; +#line 219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1170 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT: +#line 1174 "ConfigurationInterfaces.c" + { + gchar* _tmp43_ = NULL; +#line 222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp43_ = g_strdup ("PRINTING_CONTENT_HEIGHT"); +#line 222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp43_; +#line 222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1183 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT: +#line 1187 "ConfigurationInterfaces.c" + { + gchar* _tmp44_ = NULL; +#line 225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp44_ = g_strdup ("PRINTING_CONTENT_LAYOUT"); +#line 225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp44_; +#line 225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1196 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI: +#line 1200 "ConfigurationInterfaces.c" + { + gchar* _tmp45_ = NULL; +#line 228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp45_ = g_strdup ("PRINTING_CONTENT_PPI"); +#line 228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp45_; +#line 228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1209 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS: +#line 1213 "ConfigurationInterfaces.c" + { + gchar* _tmp46_ = NULL; +#line 231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp46_ = g_strdup ("PRINTING_CONTENT_UNITS"); +#line 231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp46_; +#line 231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1222 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH: +#line 1226 "ConfigurationInterfaces.c" + { + gchar* _tmp47_ = NULL; +#line 234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp47_ = g_strdup ("PRINTING_CONTENT_WIDTH"); +#line 234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp47_; +#line 234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1235 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE: +#line 1239 "ConfigurationInterfaces.c" + { + gchar* _tmp48_ = NULL; +#line 237 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp48_ = g_strdup ("PRINTING_IMAGES_PER_PAGE"); +#line 237 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp48_; +#line 237 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1248 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO: +#line 1252 "ConfigurationInterfaces.c" + { + gchar* _tmp49_ = NULL; +#line 240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp49_ = g_strdup ("PRINTING_MATCH_ASPECT_RATIO"); +#line 240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp49_; +#line 240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1261 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES: +#line 1265 "ConfigurationInterfaces.c" + { + gchar* _tmp50_ = NULL; +#line 243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp50_ = g_strdup ("PRINTING_PRINT_TITLES"); +#line 243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp50_; +#line 243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1274 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION: +#line 1278 "ConfigurationInterfaces.c" + { + gchar* _tmp51_ = NULL; +#line 246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp51_ = g_strdup ("PRINTING_SIZE_SELECTION"); +#line 246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp51_; +#line 246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1287 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT: +#line 1291 "ConfigurationInterfaces.c" + { + gchar* _tmp52_ = NULL; +#line 249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp52_ = g_strdup ("PRINTING_TITLES_FONT"); +#line 249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp52_; +#line 249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1300 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT: +#line 1304 "ConfigurationInterfaces.c" + { + gchar* _tmp53_ = NULL; +#line 252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp53_ = g_strdup ("RAW_DEVELOPER_DEFAULT"); +#line 252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp53_; +#line 252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1313 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG: +#line 1317 "ConfigurationInterfaces.c" + { + gchar* _tmp54_ = NULL; +#line 255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp54_ = g_strdup ("SHOW_WELCOME_DIALOG"); +#line 255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp54_; +#line 255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1326 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SIDEBAR_POSITION: +#line 1330 "ConfigurationInterfaces.c" + { + gchar* _tmp55_ = NULL; +#line 258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp55_ = g_strdup ("SIDEBAR_POSITION"); +#line 258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp55_; +#line 258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1339 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY: +#line 1343 "ConfigurationInterfaces.c" + { + gchar* _tmp56_ = NULL; +#line 261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp56_ = g_strdup ("SLIDESHOW_DELAY"); +#line 261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp56_; +#line 261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1352 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY: +#line 1356 "ConfigurationInterfaces.c" + { + gchar* _tmp57_ = NULL; +#line 264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp57_ = g_strdup ("SLIDESHOW_TRANSITION_DELAY"); +#line 264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp57_; +#line 264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1365 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID: +#line 1369 "ConfigurationInterfaces.c" + { + gchar* _tmp58_ = NULL; +#line 267 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp58_ = g_strdup ("SLIDESHOW_TRANSITION_EFFECT_ID"); +#line 267 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp58_; +#line 267 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1378 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE: +#line 1382 "ConfigurationInterfaces.c" + { + gchar* _tmp59_ = NULL; +#line 270 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp59_ = g_strdup ("SLIDESHOW_SHOW_TITLE"); +#line 270 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp59_; +#line 270 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1391 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME: +#line 1395 "ConfigurationInterfaces.c" + { + gchar* _tmp60_ = NULL; +#line 273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp60_ = g_strdup ("USE_24_HOUR_TIME"); +#line 273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp60_; +#line 273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1404 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES: +#line 1408 "ConfigurationInterfaces.c" + { + gchar* _tmp61_ = NULL; +#line 276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp61_ = g_strdup ("USE_LOWERCASE_FILENAMES"); +#line 276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp61_; +#line 276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1417 "ConfigurationInterfaces.c" + } +#line 91 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE: +#line 1421 "ConfigurationInterfaces.c" + { + gchar* _tmp62_ = NULL; +#line 279 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp62_ = g_strdup ("VIDEO_INTERPRETER_STATE_COOKIE"); +#line 279 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp62_; +#line 279 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1430 "ConfigurationInterfaces.c" + } + default: + { +#line 282 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_error ("ConfigurationInterfaces.vala:282: unknown ConfigurableProperty enumera" \ +"tion value"); +#line 1436 "ConfigurationInterfaces.c" + } + } +} + + +GType configurable_property_get_type (void) { + static volatile gsize configurable_property_type_id__volatile = 0; + if (g_once_init_enter (&configurable_property_type_id__volatile)) { + static const GEnumValue values[] = {{CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, "CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY", "auto-import-from-library"}, {CONFIGURABLE_PROPERTY_BG_COLOR_NAME, "CONFIGURABLE_PROPERTY_BG_COLOR_NAME", "bg-color-name"}, {CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, "CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS", "commit-metadata-to-masters"}, {CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, "CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE", "desktop-background-file"}, {CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE", "desktop-background-mode"}, {CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, "CONFIGURABLE_PROPERTY_SCREENSAVER_FILE", "screensaver-file"}, {CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "CONFIGURABLE_PROPERTY_SCREENSAVER_MODE", "screensaver-mode"}, {CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, "CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN", "directory-pattern"}, {CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, "CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM", "directory-pattern-custom"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT", "direct-window-height"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE", "direct-window-maximize"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH", "direct-window-width"}, {CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, "CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES", "display-basic-properties"}, {CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, "CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS", "display-event-comments"}, {CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, "CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES", "display-extended-properties"}, {CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, "CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR", "display-sidebar"}, {CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, "CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR", "display-toolbar"}, {CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, "CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR", "display-search-bar"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS", "display-photo-ratings"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS", "display-photo-tags"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES", "display-photo-titles"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS", "display-photo-comments"}, {CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING", "event-photos-sort-ascending"}, {CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, "CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY", "event-photos-sort-by"}, {CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING", "events-sort-ascending"}, {CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, "CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP", "external-photo-app"}, {CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, "CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP", "external-raw-app"}, {CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, "CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED", "hide-photos-already-imported"}, {CONFIGURABLE_PROPERTY_IMPORT_DIR, "CONFIGURABLE_PROPERTY_IMPORT_DIR", "import-dir"}, {CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, "CONFIGURABLE_PROPERTY_KEEP_RELATIVITY", "keep-relativity"}, {CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, "CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT", "last-crop-height"}, {CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, "CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE", "last-crop-menu-choice"}, {CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, "CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH", "last-crop-width"}, {CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, "CONFIGURABLE_PROPERTY_LAST_USED_SERVICE", "last-used-service"}, {CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, "CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE", "last-used-dataimports-service"}, {CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING", "library-photos-sort-ascending"}, {CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, "CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY", "library-photos-sort-by"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT", "library-window-height"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE", "library-window-maximize"}, {CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, "CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH", "library-window-width"}, {CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, "CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS", "modify-originals"}, {CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, "CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE", "photo-thumbnail-scale"}, {CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, "CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE", "pin-toolbar-state"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT", "printing-content-height"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT", "printing-content-layout"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI", "printing-content-ppi"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS", "printing-content-units"}, {CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, "CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH", "printing-content-width"}, {CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, "CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE", "printing-images-per-page"}, {CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, "CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO", "printing-match-aspect-ratio"}, {CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, "CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES", "printing-print-titles"}, {CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, "CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION", "printing-size-selection"}, {CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, "CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT", "printing-titles-font"}, {CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, "CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT", "raw-developer-default"}, {CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, "CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG", "show-welcome-dialog"}, {CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, "CONFIGURABLE_PROPERTY_SIDEBAR_POSITION", "sidebar-position"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, "CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY", "slideshow-delay"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, "CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY", "slideshow-transition-delay"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, "CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID", "slideshow-transition-effect-id"}, {CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, "CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE", "slideshow-show-title"}, {CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, "CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME", "use-24-hour-time"}, {CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, "CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES", "use-lowercase-filenames"}, {CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, "CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE", "video-interpreter-state-cookie"}, {CONFIGURABLE_PROPERTY_NUM_PROPERTIES, "CONFIGURABLE_PROPERTY_NUM_PROPERTIES", "num-properties"}, {0, NULL, NULL}}; + GType configurable_property_type_id; + configurable_property_type_id = g_enum_register_static ("ConfigurableProperty", values); + g_once_init_leave (&configurable_property_type_id__volatile, configurable_property_type_id); + } + return configurable_property_type_id__volatile; +} + + +gchar* configuration_engine_get_name (ConfigurationEngine* self) { +#line 290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); +#line 290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_name (self); +#line 1459 "ConfigurationInterfaces.c" +} + + +gint configuration_engine_get_int_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { +#line 292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); +#line 292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_int_property (self, p, error); +#line 1468 "ConfigurationInterfaces.c" +} + + +void configuration_engine_set_int_property (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error) { +#line 293 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 293 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_int_property (self, p, val, error); +#line 1477 "ConfigurationInterfaces.c" +} + + +gchar* configuration_engine_get_string_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { +#line 295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); +#line 295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_string_property (self, p, error); +#line 1486 "ConfigurationInterfaces.c" +} + + +void configuration_engine_set_string_property (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error) { +#line 296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_string_property (self, p, val, error); +#line 1495 "ConfigurationInterfaces.c" +} + + +gboolean configuration_engine_get_bool_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { +#line 298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), FALSE); +#line 298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_bool_property (self, p, error); +#line 1504 "ConfigurationInterfaces.c" +} + + +void configuration_engine_set_bool_property (ConfigurationEngine* self, ConfigurableProperty p, gboolean val, GError** error) { +#line 299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_bool_property (self, p, val, error); +#line 1513 "ConfigurationInterfaces.c" +} + + +gdouble configuration_engine_get_double_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { +#line 301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0.0); +#line 301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_double_property (self, p, error); +#line 1522 "ConfigurationInterfaces.c" +} + + +void configuration_engine_set_double_property (ConfigurationEngine* self, ConfigurableProperty p, gdouble val, GError** error) { +#line 302 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 302 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_double_property (self, p, val, error); +#line 1531 "ConfigurationInterfaces.c" +} + + +gboolean configuration_engine_get_plugin_bool (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) { +#line 304 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), FALSE); +#line 304 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_bool (self, domain, id, key, def); +#line 1540 "ConfigurationInterfaces.c" +} + + +void configuration_engine_set_plugin_bool (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) { +#line 305 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 305 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_bool (self, domain, id, key, val); +#line 1549 "ConfigurationInterfaces.c" +} + + +gdouble configuration_engine_get_plugin_double (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) { +#line 306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0.0); +#line 306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_double (self, domain, id, key, def); +#line 1558 "ConfigurationInterfaces.c" +} + + +void configuration_engine_set_plugin_double (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) { +#line 307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_double (self, domain, id, key, val); +#line 1567 "ConfigurationInterfaces.c" +} + + +gint configuration_engine_get_plugin_int (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint def) { +#line 308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); +#line 308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_int (self, domain, id, key, def); +#line 1576 "ConfigurationInterfaces.c" +} + + +void configuration_engine_set_plugin_int (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint val) { +#line 309 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 309 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_int (self, domain, id, key, val); +#line 1585 "ConfigurationInterfaces.c" +} + + +gchar* configuration_engine_get_plugin_string (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) { +#line 310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); +#line 310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_string (self, domain, id, key, def); +#line 1594 "ConfigurationInterfaces.c" +} + + +void configuration_engine_set_plugin_string (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) { +#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_string (self, domain, id, key, val); +#line 1603 "ConfigurationInterfaces.c" +} + + +void configuration_engine_unset_plugin_key (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key) { +#line 312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->unset_plugin_key (self, domain, id, key); +#line 1612 "ConfigurationInterfaces.c" +} + + +FuzzyPropertyState configuration_engine_is_plugin_enabled (ConfigurationEngine* self, const gchar* id) { +#line 314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); +#line 314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_ENGINE_GET_INTERFACE (self)->is_plugin_enabled (self, id); +#line 1621 "ConfigurationInterfaces.c" +} + + +void configuration_engine_set_plugin_enabled (ConfigurationEngine* self, const gchar* id, gboolean enabled) { +#line 315 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); +#line 315 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_enabled (self, id, enabled); +#line 1630 "ConfigurationInterfaces.c" +} + + +static void configuration_engine_base_init (ConfigurationEngineIface * iface) { +#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + static gboolean initialized = FALSE; +#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (!initialized) { +#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + initialized = TRUE; +#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_new ("property_changed", TYPE_CONFIGURATION_ENGINE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__ENUM, G_TYPE_NONE, 1, TYPE_CONFIGURABLE_PROPERTY); +#line 1643 "ConfigurationInterfaces.c" + } +} + + +GType configuration_engine_get_type (void) { + static volatile gsize configuration_engine_type_id__volatile = 0; + if (g_once_init_enter (&configuration_engine_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (ConfigurationEngineIface), (GBaseInitFunc) configuration_engine_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL }; + GType configuration_engine_type_id; + configuration_engine_type_id = g_type_register_static (G_TYPE_INTERFACE, "ConfigurationEngine", &g_define_type_info, 0); + g_type_interface_add_prerequisite (configuration_engine_type_id, G_TYPE_OBJECT); + g_once_init_leave (&configuration_engine_type_id__volatile, configuration_engine_type_id); + } + return configuration_engine_type_id__volatile; +} + + +static gpointer _g_object_ref0 (gpointer self) { +#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return self ? g_object_ref (self) : NULL; +#line 1664 "ConfigurationInterfaces.c" +} + + +static void _configuration_facade_on_property_changed_configuration_engine_property_changed (ConfigurationEngine* _sender, ConfigurableProperty p, gpointer self) { +#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_property_changed ((ConfigurationFacade*) self, p); +#line 1671 "ConfigurationInterfaces.c" +} + + +ConfigurationFacade* configuration_facade_construct (GType object_type, ConfigurationEngine* engine) { + ConfigurationFacade * self = NULL; + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; +#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_ENGINE (engine), NULL); +#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + self = (ConfigurationFacade*) g_object_new (object_type, NULL); +#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = engine; +#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _g_object_ref0 (_tmp0_); +#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (self->priv->engine); +#line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + self->priv->engine = _tmp1_; +#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = engine; +#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_connect_object (_tmp2_, "property-changed", (GCallback) _configuration_facade_on_property_changed_configuration_engine_property_changed, self, 0); +#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return self; +#line 1698 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_on_property_changed (ConfigurationFacade* self, ConfigurableProperty p) { + ConfigurableProperty _tmp0_ = 0; + gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + ConfigurableProperty _tmp3_ = 0; +#line 334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = p; +#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configurable_property_to_string (_tmp0_); +#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_debug ("ConfigurationInterfaces.vala:335: ConfigurationFacade: engine reports " \ +"property '%s' changed.", _tmp2_); +#line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp2_); +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = p; +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + switch (_tmp3_) { +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY: +#line 1725 "ConfigurationInterfaces.c" + { +#line 339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_emit_by_name (self, "auto-import-from-library-changed"); +#line 340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + break; +#line 1731 "ConfigurationInterfaces.c" + } +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_BG_COLOR_NAME: +#line 1735 "ConfigurationInterfaces.c" + { +#line 343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_emit_by_name (self, "bg-color-name-changed"); +#line 344 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + break; +#line 1741 "ConfigurationInterfaces.c" + } +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS: +#line 1745 "ConfigurationInterfaces.c" + { +#line 347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_emit_by_name (self, "commit-metadata-to-masters-changed"); +#line 348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + break; +#line 1751 "ConfigurationInterfaces.c" + } +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING: +#line 1755 "ConfigurationInterfaces.c" + { +#line 351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_emit_by_name (self, "events-sort-ascending-changed"); +#line 352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + break; +#line 1761 "ConfigurationInterfaces.c" + } +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP: +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP: +#line 1767 "ConfigurationInterfaces.c" + { +#line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_emit_by_name (self, "external-app-changed"); +#line 357 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + break; +#line 1773 "ConfigurationInterfaces.c" + } +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + case CONFIGURABLE_PROPERTY_IMPORT_DIR: +#line 1777 "ConfigurationInterfaces.c" + { +#line 360 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_emit_by_name (self, "import-directory-changed"); +#line 361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + break; +#line 1783 "ConfigurationInterfaces.c" + } + default: +#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + break; +#line 1788 "ConfigurationInterfaces.c" + } +} + + +ConfigurationEngine* configuration_facade_get_engine (ConfigurationFacade* self) { + ConfigurationEngine* result = NULL; + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; +#line 365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = self->priv->engine; +#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _g_object_ref0 (_tmp0_); +#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp1_; +#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1807 "ConfigurationInterfaces.c" +} + + +void configuration_facade_on_configuration_error (ConfigurationFacade* self, GError* err) { + GError* _tmp0_ = NULL; +#line 369 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 370 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = err; +#line 370 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (g_error_matches (_tmp0_, CONFIGURATION_ERROR, CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE)) { +#line 1819 "ConfigurationInterfaces.c" + ConfigurationEngine* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + GError* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; +#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = self->priv->engine; +#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = configuration_engine_get_name (_tmp1_); +#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = _tmp2_; +#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = err; +#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp4_->message; +#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_message ("ConfigurationInterfaces.vala:371: configuration engine '%s' reports PR" \ +"OPERTY_HAS_NO_VALUE error: %s", _tmp3_, _tmp5_); +#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp3_); +#line 1839 "ConfigurationInterfaces.c" + } else { + GError* _tmp6_ = NULL; +#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (g_error_matches (_tmp6_, CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR)) { +#line 1846 "ConfigurationInterfaces.c" + ConfigurationEngine* _tmp7_ = NULL; + gchar* _tmp8_ = NULL; + gchar* _tmp9_ = NULL; + GError* _tmp10_ = NULL; + const gchar* _tmp11_ = NULL; +#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = self->priv->engine; +#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = configuration_engine_get_name (_tmp7_); +#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp9_ = _tmp8_; +#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp10_ = err; +#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp11_ = _tmp10_->message; +#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("ConfigurationInterfaces.vala:375: configuration engine '%s' reports EN" \ +"GINE_ERROR: %s", _tmp9_, _tmp11_); +#line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp9_); +#line 1866 "ConfigurationInterfaces.c" + } else { + ConfigurationEngine* _tmp12_ = NULL; + gchar* _tmp13_ = NULL; + gchar* _tmp14_ = NULL; + GError* _tmp15_ = NULL; + const gchar* _tmp16_ = NULL; +#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp12_ = self->priv->engine; +#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp13_ = configuration_engine_get_name (_tmp12_); +#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp14_ = _tmp13_; +#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp15_ = err; +#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp16_ = _tmp15_->message; +#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("ConfigurationInterfaces.vala:378: configuration engine '%s' reports un" \ +"known error: %s", _tmp14_, _tmp16_); +#line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp14_); +#line 1887 "ConfigurationInterfaces.c" + } + } +} + + +static gboolean configuration_facade_real_get_auto_import_from_library (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, &_inner_error_); +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 1918 "ConfigurationInterfaces.c" + goto __catch79_configuration_error; + } +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 1927 "ConfigurationInterfaces.c" + } +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1933 "ConfigurationInterfaces.c" + } + goto __finally79; + __catch79_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 390 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 390 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 1954 "ConfigurationInterfaces.c" + } + __finally79: +#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 1963 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_auto_import_from_library (ConfigurationFacade* self) { +#line 386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_auto_import_from_library (self); +#line 1972 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = auto_import; +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, _tmp2_, &_inner_error_); +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 1996 "ConfigurationInterfaces.c" + goto __catch80_configuration_error; + } +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2005 "ConfigurationInterfaces.c" + } + } + goto __finally80; + __catch80_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 401 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 401 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2025 "ConfigurationInterfaces.c" + } + __finally80: +#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2036 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import) { +#line 396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_auto_import_from_library (self, auto_import); +#line 2046 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_BG_COLOR_NAME, &_inner_error_); +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2076 "ConfigurationInterfaces.c" + goto __catch81_configuration_error; + } +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 2085 "ConfigurationInterfaces.c" + } +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2097 "ConfigurationInterfaces.c" + } + goto __finally81; + __catch81_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (""); +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2121 "ConfigurationInterfaces.c" + } + __finally81: +#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 2130 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_bg_color_name (ConfigurationFacade* self) { +#line 409 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 409 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_bg_color_name (self); +#line 2139 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name) { + GError * _inner_error_ = NULL; +#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (color_name != NULL); +#line 2147 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; +#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = color_name; +#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_BG_COLOR_NAME, _tmp2_, &_inner_error_); +#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2166 "ConfigurationInterfaces.c" + goto __catch82_configuration_error; + } +#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2175 "ConfigurationInterfaces.c" + } + } + goto __finally82; + __catch82_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2195 "ConfigurationInterfaces.c" + } + __finally82: +#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2206 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name) { +#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_bg_color_name (self, color_name); +#line 2216 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_commit_metadata_to_masters (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, &_inner_error_); +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2245 "ConfigurationInterfaces.c" + goto __catch83_configuration_error; + } +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 2254 "ConfigurationInterfaces.c" + } +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2260 "ConfigurationInterfaces.c" + } + goto __finally83; + __catch83_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 435 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 435 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2281 "ConfigurationInterfaces.c" + } + __finally83: +#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 2290 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self) { +#line 431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_commit_metadata_to_masters (self); +#line 2299 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = commit_metadata; +#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, _tmp2_, &_inner_error_); +#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2323 "ConfigurationInterfaces.c" + goto __catch84_configuration_error; + } +#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2332 "ConfigurationInterfaces.c" + } + } + goto __finally84; + __catch84_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2352 "ConfigurationInterfaces.c" + } + __finally84: +#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2363 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata) { +#line 441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_commit_metadata_to_masters (self, commit_metadata); +#line 2373 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_desktop_background (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, &_inner_error_); +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2403 "ConfigurationInterfaces.c" + goto __catch85_configuration_error; + } +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 2412 "ConfigurationInterfaces.c" + } +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2424 "ConfigurationInterfaces.c" + } + goto __finally85; + __catch85_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (""); +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2448 "ConfigurationInterfaces.c" + } + __finally85: +#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 455 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 2457 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_desktop_background (ConfigurationFacade* self) { +#line 454 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 454 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_desktop_background (self); +#line 2466 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_desktop_background (ConfigurationFacade* self, const gchar* filename) { + GError * _inner_error_ = NULL; +#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (filename != NULL); +#line 2474 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + ConfigurationEngine* _tmp3_ = NULL; + ConfigurationEngine* _tmp4_ = NULL; +#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = filename; +#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, _tmp2_, &_inner_error_); +#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2495 "ConfigurationInterfaces.c" + goto __catch86_configuration_error; + } +#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2504 "ConfigurationInterfaces.c" + } +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_facade_get_engine (self); +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp4_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "zoom", &_inner_error_); +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp4_); +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2518 "ConfigurationInterfaces.c" + goto __catch86_configuration_error; + } +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2527 "ConfigurationInterfaces.c" + } + } + goto __finally86; + __catch86_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 2545 "ConfigurationInterfaces.c" + } + __finally86: +#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2556 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_desktop_background (ConfigurationFacade* self, const gchar* filename) { +#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_desktop_background (self, filename); +#line 2566 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, &_inner_error_); +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2596 "ConfigurationInterfaces.c" + goto __catch87_configuration_error; + } +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 2605 "ConfigurationInterfaces.c" + } +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2617 "ConfigurationInterfaces.c" + } + goto __finally87; + __catch87_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (""); +#line 484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2641 "ConfigurationInterfaces.c" + } + __finally87: +#line 479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 2650 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_screensaver (ConfigurationFacade* self) { +#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_screensaver (self); +#line 2659 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_screensaver (ConfigurationFacade* self, const gchar* filename) { + GError * _inner_error_ = NULL; +#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (filename != NULL); +#line 2667 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + ConfigurationEngine* _tmp3_ = NULL; + ConfigurationEngine* _tmp4_ = NULL; +#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = filename; +#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, _tmp2_, &_inner_error_); +#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2688 "ConfigurationInterfaces.c" + goto __catch88_configuration_error; + } +#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2697 "ConfigurationInterfaces.c" + } +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_facade_get_engine (self); +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp4_, CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "zoom", &_inner_error_); +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp4_); +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2711 "ConfigurationInterfaces.c" + goto __catch88_configuration_error; + } +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2720 "ConfigurationInterfaces.c" + } + } + goto __finally88; + __catch88_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 2738 "ConfigurationInterfaces.c" + } + __finally88: +#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 489 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2749 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_screensaver (ConfigurationFacade* self, const gchar* filename) { +#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_screensaver (self, filename); +#line 2759 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* s = NULL; + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = configuration_engine_get_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, &_inner_error_); +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = _tmp2_; +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + s = _tmp3_; +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2790 "ConfigurationInterfaces.c" + goto __catch89_configuration_error; + } +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 2799 "ConfigurationInterfaces.c" + } +#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (g_strcmp0 (s, "") == 0) { +#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = NULL; +#line 2805 "ConfigurationInterfaces.c" + } else { +#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = s; +#line 2809 "ConfigurationInterfaces.c" + } +#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = g_strdup (_tmp4_); +#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (s); +#line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2819 "ConfigurationInterfaces.c" + } + goto __finally89; + __catch89_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 503 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 503 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (""); +#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2843 "ConfigurationInterfaces.c" + } + __finally89: +#line 503 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 503 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 503 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 2852 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_directory_pattern (ConfigurationFacade* self) { +#line 502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_directory_pattern (self); +#line 2861 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_directory_pattern (ConfigurationFacade* self, const gchar* s) { + GError * _inner_error_ = NULL; + { + const gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; +#line 515 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = s; +#line 515 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_tmp0_ == NULL) { +#line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + s = ""; +#line 2878 "ConfigurationInterfaces.c" + } +#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = s; +#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, _tmp3_, &_inner_error_); +#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2894 "ConfigurationInterfaces.c" + goto __catch90_configuration_error; + } +#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2903 "ConfigurationInterfaces.c" + } + } + goto __finally90; + __catch90_configuration_error: + { + GError* err = NULL; + GError* _tmp4_ = NULL; +#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = err; +#line 520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp4_); +#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 2921 "ConfigurationInterfaces.c" + } + __finally90: +#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 2932 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_directory_pattern (ConfigurationFacade* self, const gchar* s) { +#line 513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_directory_pattern (self, s); +#line 2942 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_directory_pattern_custom (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, &_inner_error_); +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 2972 "ConfigurationInterfaces.c" + goto __catch91_configuration_error; + } +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 2981 "ConfigurationInterfaces.c" + } +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 2993 "ConfigurationInterfaces.c" + } + goto __finally91; + __catch91_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (""); +#line 533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 3017 "ConfigurationInterfaces.c" + } + __finally91: +#line 528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 3026 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_directory_pattern_custom (ConfigurationFacade* self) { +#line 527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_directory_pattern_custom (self); +#line 3035 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s) { + GError * _inner_error_ = NULL; +#line 537 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (s != NULL); +#line 3043 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; +#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = s; +#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, _tmp2_, &_inner_error_); +#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3062 "ConfigurationInterfaces.c" + goto __catch92_configuration_error; + } +#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3071 "ConfigurationInterfaces.c" + } + } + goto __finally92; + __catch92_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 3089 "ConfigurationInterfaces.c" + } + __finally92: +#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3100 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s) { +#line 537 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 537 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_directory_pattern_custom (self, s); +#line 3110 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_get_direct_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions) { + gboolean _vala_maximize = FALSE; + Dimensions _vala_dimensions = {0}; + GError * _inner_error_ = NULL; +#line 549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_maximize = FALSE; +#line 550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + dimensions_init (&_vala_dimensions, 1024, 768); +#line 3122 "ConfigurationInterfaces.c" + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; + gint w = 0; + ConfigurationEngine* _tmp5_ = NULL; + ConfigurationEngine* _tmp6_ = NULL; + gint _tmp7_ = 0; + gint _tmp8_ = 0; + gint h = 0; + ConfigurationEngine* _tmp9_ = NULL; + ConfigurationEngine* _tmp10_ = NULL; + gint _tmp11_ = 0; + gint _tmp12_ = 0; + gint _tmp13_ = 0; + gint _tmp14_ = 0; +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, &_inner_error_); +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3157 "ConfigurationInterfaces.c" + goto __catch93_configuration_error; + } +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3166 "ConfigurationInterfaces.c" + } +#line 552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_maximize = _tmp0_; +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = configuration_facade_get_engine (self); +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = _tmp5_; +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, &_inner_error_); +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = _tmp7_; +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp6_); +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + w = _tmp8_; +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3186 "ConfigurationInterfaces.c" + goto __catch93_configuration_error; + } +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3195 "ConfigurationInterfaces.c" + } +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp9_ = configuration_facade_get_engine (self); +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp10_ = _tmp9_; +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp11_ = configuration_engine_get_int_property (_tmp10_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, &_inner_error_); +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp12_ = _tmp11_; +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp10_); +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + h = _tmp12_; +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3213 "ConfigurationInterfaces.c" + goto __catch93_configuration_error; + } +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3222 "ConfigurationInterfaces.c" + } +#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp13_ = w; +#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp14_ = h; +#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + dimensions_init (&_vala_dimensions, _tmp13_, _tmp14_); +#line 3230 "ConfigurationInterfaces.c" + } + goto __finally93; + __catch93_configuration_error: + { + GError* err = NULL; + GError* _tmp15_ = NULL; +#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp15_ = err; +#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp15_); +#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 3247 "ConfigurationInterfaces.c" + } + __finally93: +#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3258 "ConfigurationInterfaces.c" + } +#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (maximize) { +#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + *maximize = _vala_maximize; +#line 3264 "ConfigurationInterfaces.c" + } +#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (dimensions) { +#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + *dimensions = _vala_dimensions; +#line 3270 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_get_direct_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions) { +#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 548 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->get_direct_window_state (self, maximize, dimensions); +#line 3280 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { + GError * _inner_error_ = NULL; +#line 561 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (dimensions != NULL); +#line 3288 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; + ConfigurationEngine* _tmp3_ = NULL; + ConfigurationEngine* _tmp4_ = NULL; + Dimensions _tmp5_ = {0}; + gint _tmp6_ = 0; + ConfigurationEngine* _tmp7_ = NULL; + ConfigurationEngine* _tmp8_ = NULL; + Dimensions _tmp9_ = {0}; + gint _tmp10_ = 0; +#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = maximize; +#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, _tmp2_, &_inner_error_); +#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3315 "ConfigurationInterfaces.c" + goto __catch94_configuration_error; + } +#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3324 "ConfigurationInterfaces.c" + } +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_facade_get_engine (self); +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = *dimensions; +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = _tmp5_.width; +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, _tmp6_, &_inner_error_); +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp4_); +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3342 "ConfigurationInterfaces.c" + goto __catch94_configuration_error; + } +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3351 "ConfigurationInterfaces.c" + } +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = configuration_facade_get_engine (self); +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = _tmp7_; +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp9_ = *dimensions; +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp10_ = _tmp9_.height; +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp8_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, _tmp10_, &_inner_error_); +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp8_); +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3369 "ConfigurationInterfaces.c" + goto __catch94_configuration_error; + } +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3378 "ConfigurationInterfaces.c" + } + } + goto __finally94; + __catch94_configuration_error: + { + GError* err = NULL; + GError* _tmp11_ = NULL; +#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp11_ = err; +#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp11_); +#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 3396 "ConfigurationInterfaces.c" + } + __finally94: +#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3407 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { +#line 561 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 561 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_direct_window_state (self, maximize, dimensions); +#line 3417 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_display_basic_properties (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, &_inner_error_); +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3446 "ConfigurationInterfaces.c" + goto __catch95_configuration_error; + } +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 3455 "ConfigurationInterfaces.c" + } +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 3461 "ConfigurationInterfaces.c" + } + goto __finally95; + __catch95_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = TRUE; +#line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 3482 "ConfigurationInterfaces.c" + } + __finally95: +#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 3491 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_display_basic_properties (ConfigurationFacade* self) { +#line 576 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 576 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_basic_properties (self); +#line 3500 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_display_basic_properties (ConfigurationFacade* self, gboolean display) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = display; +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, _tmp2_, &_inner_error_); +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3524 "ConfigurationInterfaces.c" + goto __catch96_configuration_error; + } +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3533 "ConfigurationInterfaces.c" + } + } + goto __finally96; + __catch96_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 3551 "ConfigurationInterfaces.c" + } + __finally96: +#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3562 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_display_basic_properties (ConfigurationFacade* self, gboolean display) { +#line 586 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 586 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_display_basic_properties (self, display); +#line 3572 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_display_extended_properties (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, &_inner_error_); +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3601 "ConfigurationInterfaces.c" + goto __catch97_configuration_error; + } +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 3610 "ConfigurationInterfaces.c" + } +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 3616 "ConfigurationInterfaces.c" + } + goto __finally97; + __catch97_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 601 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 601 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 3637 "ConfigurationInterfaces.c" + } + __finally97: +#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 3646 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_display_extended_properties (ConfigurationFacade* self) { +#line 597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_extended_properties (self); +#line 3655 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_display_extended_properties (ConfigurationFacade* self, gboolean display) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = display; +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, _tmp2_, &_inner_error_); +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3679 "ConfigurationInterfaces.c" + goto __catch98_configuration_error; + } +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3688 "ConfigurationInterfaces.c" + } + } + goto __finally98; + __catch98_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 612 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 612 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 3706 "ConfigurationInterfaces.c" + } + __finally98: +#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3717 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_display_extended_properties (ConfigurationFacade* self, gboolean display) { +#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_display_extended_properties (self, display); +#line 3727 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_display_sidebar (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, &_inner_error_); +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3756 "ConfigurationInterfaces.c" + goto __catch99_configuration_error; + } +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 3765 "ConfigurationInterfaces.c" + } +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 3771 "ConfigurationInterfaces.c" + } + goto __finally99; + __catch99_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 3792 "ConfigurationInterfaces.c" + } + __finally99: +#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 3801 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_display_sidebar (ConfigurationFacade* self) { +#line 619 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 619 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_sidebar (self); +#line 3810 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_display_sidebar (ConfigurationFacade* self, gboolean display) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = display; +#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, _tmp2_, &_inner_error_); +#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3834 "ConfigurationInterfaces.c" + goto __catch100_configuration_error; + } +#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 631 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3843 "ConfigurationInterfaces.c" + } + } + goto __finally100; + __catch100_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 3861 "ConfigurationInterfaces.c" + } + __finally100: +#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3872 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_display_sidebar (ConfigurationFacade* self, gboolean display) { +#line 629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_display_sidebar (self, display); +#line 3882 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_display_toolbar (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, &_inner_error_); +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3911 "ConfigurationInterfaces.c" + goto __catch101_configuration_error; + } +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 3920 "ConfigurationInterfaces.c" + } +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 3926 "ConfigurationInterfaces.c" + } + goto __finally101; + __catch101_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 645 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 645 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 3947 "ConfigurationInterfaces.c" + } + __finally101: +#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 3956 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_display_toolbar (ConfigurationFacade* self) { +#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_toolbar (self); +#line 3965 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_display_toolbar (ConfigurationFacade* self, gboolean display) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = display; +#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, _tmp2_, &_inner_error_); +#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 3989 "ConfigurationInterfaces.c" + goto __catch102_configuration_error; + } +#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 3998 "ConfigurationInterfaces.c" + } + } + goto __finally102; + __catch102_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 4016 "ConfigurationInterfaces.c" + } + __finally102: +#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4027 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_display_toolbar (ConfigurationFacade* self, gboolean display) { +#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_display_toolbar (self, display); +#line 4037 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_display_search_bar (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, &_inner_error_); +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4066 "ConfigurationInterfaces.c" + goto __catch103_configuration_error; + } +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4075 "ConfigurationInterfaces.c" + } +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4081 "ConfigurationInterfaces.c" + } + goto __finally103; + __catch103_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4102 "ConfigurationInterfaces.c" + } + __finally103: +#line 663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4111 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_display_search_bar (ConfigurationFacade* self) { +#line 662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_search_bar (self); +#line 4120 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_display_search_bar (ConfigurationFacade* self, gboolean display) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = display; +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, _tmp2_, &_inner_error_); +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4144 "ConfigurationInterfaces.c" + goto __catch104_configuration_error; + } +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4153 "ConfigurationInterfaces.c" + } + } + goto __finally104; + __catch104_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 4171 "ConfigurationInterfaces.c" + } + __finally104: +#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4182 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_display_search_bar (ConfigurationFacade* self, gboolean display) { +#line 672 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 672 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_display_search_bar (self, display); +#line 4192 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_display_photo_ratings (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, &_inner_error_); +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4221 "ConfigurationInterfaces.c" + goto __catch105_configuration_error; + } +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4230 "ConfigurationInterfaces.c" + } +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4236 "ConfigurationInterfaces.c" + } + goto __finally105; + __catch105_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = TRUE; +#line 689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4257 "ConfigurationInterfaces.c" + } + __finally105: +#line 684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4266 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_display_photo_ratings (ConfigurationFacade* self) { +#line 683 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 683 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_ratings (self); +#line 4275 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_display_photo_ratings (ConfigurationFacade* self, gboolean display) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = display; +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, _tmp2_, &_inner_error_); +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4299 "ConfigurationInterfaces.c" + goto __catch106_configuration_error; + } +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4308 "ConfigurationInterfaces.c" + } + } + goto __finally106; + __catch106_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 4326 "ConfigurationInterfaces.c" + } + __finally106: +#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4337 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_display_photo_ratings (ConfigurationFacade* self, gboolean display) { +#line 693 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 693 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_ratings (self, display); +#line 4347 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_display_photo_tags (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, &_inner_error_); +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4376 "ConfigurationInterfaces.c" + goto __catch107_configuration_error; + } +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4385 "ConfigurationInterfaces.c" + } +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4391 "ConfigurationInterfaces.c" + } + goto __finally107; + __catch107_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 705 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 705 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = TRUE; +#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4412 "ConfigurationInterfaces.c" + } + __finally107: +#line 705 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 705 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 705 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4421 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_display_photo_tags (ConfigurationFacade* self) { +#line 704 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 704 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_tags (self); +#line 4430 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_display_photo_tags (ConfigurationFacade* self, gboolean display) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = display; +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, _tmp2_, &_inner_error_); +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4454 "ConfigurationInterfaces.c" + goto __catch108_configuration_error; + } +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4463 "ConfigurationInterfaces.c" + } + } + goto __finally108; + __catch108_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 4481 "ConfigurationInterfaces.c" + } + __finally108: +#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 715 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4492 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_display_photo_tags (ConfigurationFacade* self, gboolean display) { +#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_tags (self, display); +#line 4502 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_display_photo_titles (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, &_inner_error_); +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4531 "ConfigurationInterfaces.c" + goto __catch109_configuration_error; + } +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4540 "ConfigurationInterfaces.c" + } +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4546 "ConfigurationInterfaces.c" + } + goto __finally109; + __catch109_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 726 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 726 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4567 "ConfigurationInterfaces.c" + } + __finally109: +#line 726 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 726 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 726 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4576 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_display_photo_titles (ConfigurationFacade* self) { +#line 725 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 725 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_titles (self); +#line 4585 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_display_photo_titles (ConfigurationFacade* self, gboolean display) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = display; +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, _tmp2_, &_inner_error_); +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4609 "ConfigurationInterfaces.c" + goto __catch110_configuration_error; + } +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4618 "ConfigurationInterfaces.c" + } + } + goto __finally110; + __catch110_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 4636 "ConfigurationInterfaces.c" + } + __finally110: +#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4647 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_display_photo_titles (ConfigurationFacade* self, gboolean display) { +#line 735 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 735 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_titles (self, display); +#line 4657 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_display_photo_comments (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, &_inner_error_); +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4686 "ConfigurationInterfaces.c" + goto __catch111_configuration_error; + } +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4695 "ConfigurationInterfaces.c" + } +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4701 "ConfigurationInterfaces.c" + } + goto __finally111; + __catch111_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 747 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 747 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4722 "ConfigurationInterfaces.c" + } + __finally111: +#line 747 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 747 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 747 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4731 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_display_photo_comments (ConfigurationFacade* self) { +#line 746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_comments (self); +#line 4740 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_display_photo_comments (ConfigurationFacade* self, gboolean display) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = display; +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, _tmp2_, &_inner_error_); +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4764 "ConfigurationInterfaces.c" + goto __catch112_configuration_error; + } +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4773 "ConfigurationInterfaces.c" + } + } + goto __finally112; + __catch112_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 760 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 760 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 4791 "ConfigurationInterfaces.c" + } + __finally112: +#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4802 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_display_photo_comments (ConfigurationFacade* self, gboolean display) { +#line 756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_comments (self, display); +#line 4812 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_display_event_comments (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, &_inner_error_); +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4841 "ConfigurationInterfaces.c" + goto __catch113_configuration_error; + } +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4850 "ConfigurationInterfaces.c" + } +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4856 "ConfigurationInterfaces.c" + } + goto __finally113; + __catch113_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 768 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 768 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 771 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 771 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 4877 "ConfigurationInterfaces.c" + } + __finally113: +#line 768 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 768 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 768 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 4886 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_display_event_comments (ConfigurationFacade* self) { +#line 767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_event_comments (self); +#line 4895 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_display_event_comments (ConfigurationFacade* self, gboolean display) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = display; +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, _tmp2_, &_inner_error_); +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4919 "ConfigurationInterfaces.c" + goto __catch114_configuration_error; + } +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4928 "ConfigurationInterfaces.c" + } + } + goto __finally114; + __catch114_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 4946 "ConfigurationInterfaces.c" + } + __finally114: +#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 4957 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_display_event_comments (ConfigurationFacade* self, gboolean display) { +#line 777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_display_event_comments (self, display); +#line 4967 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_get_event_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by) { + gboolean _vala_sort_order = FALSE; + gint _vala_sort_by = 0; + GError * _inner_error_ = NULL; +#line 789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_sort_order = FALSE; +#line 790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_sort_by = 2; +#line 4979 "ConfigurationInterfaces.c" + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; + gint _tmp5_ = 0; + ConfigurationEngine* _tmp6_ = NULL; + ConfigurationEngine* _tmp7_ = NULL; + gint _tmp8_ = 0; + gint _tmp9_ = 0; +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, &_inner_error_); +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5007 "ConfigurationInterfaces.c" + goto __catch115_configuration_error; + } +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5016 "ConfigurationInterfaces.c" + } +#line 792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_sort_order = _tmp0_; +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = configuration_facade_get_engine (self); +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = _tmp6_; +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = configuration_engine_get_int_property (_tmp7_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, &_inner_error_); +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp9_ = _tmp8_; +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp7_); +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp9_; +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5036 "ConfigurationInterfaces.c" + goto __catch115_configuration_error; + } +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5045 "ConfigurationInterfaces.c" + } +#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_sort_by = _tmp5_; +#line 5049 "ConfigurationInterfaces.c" + } + goto __finally115; + __catch115_configuration_error: + { + GError* err = NULL; + GError* _tmp10_ = NULL; +#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp10_ = err; +#line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp10_); +#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 5066 "ConfigurationInterfaces.c" + } + __finally115: +#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5077 "ConfigurationInterfaces.c" + } +#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (sort_order) { +#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + *sort_order = _vala_sort_order; +#line 5083 "ConfigurationInterfaces.c" + } +#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (sort_by) { +#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + *sort_by = _vala_sort_by; +#line 5089 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_get_event_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by) { +#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->get_event_photos_sort (self, sort_order, sort_by); +#line 5099 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_event_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; + ConfigurationEngine* _tmp3_ = NULL; + ConfigurationEngine* _tmp4_ = NULL; + gint _tmp5_ = 0; +#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = sort_order; +#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, _tmp2_, &_inner_error_); +#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5126 "ConfigurationInterfaces.c" + goto __catch116_configuration_error; + } +#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5135 "ConfigurationInterfaces.c" + } +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_facade_get_engine (self); +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = sort_by; +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, _tmp5_, &_inner_error_); +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp4_); +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5151 "ConfigurationInterfaces.c" + goto __catch116_configuration_error; + } +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5160 "ConfigurationInterfaces.c" + } + } + goto __finally116; + __catch116_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; +#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 807 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 807 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 5178 "ConfigurationInterfaces.c" + } + __finally116: +#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 801 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5189 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_event_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by) { +#line 800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_event_photos_sort (self, sort_order, sort_by); +#line 5199 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_events_sort_ascending (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, &_inner_error_); +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5228 "ConfigurationInterfaces.c" + goto __catch117_configuration_error; + } +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 5237 "ConfigurationInterfaces.c" + } +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5243 "ConfigurationInterfaces.c" + } + goto __finally117; + __catch117_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5264 "ConfigurationInterfaces.c" + } + __finally117: +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 5273 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_events_sort_ascending (ConfigurationFacade* self) { +#line 814 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 814 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_events_sort_ascending (self); +#line 5282 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = sort; +#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, _tmp2_, &_inner_error_); +#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5306 "ConfigurationInterfaces.c" + goto __catch118_configuration_error; + } +#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 826 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5315 "ConfigurationInterfaces.c" + } + } + goto __finally118; + __catch118_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5335 "ConfigurationInterfaces.c" + } + __finally118: +#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5346 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort) { +#line 824 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 824 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_events_sort_ascending (self, sort); +#line 5356 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, &_inner_error_); +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5386 "ConfigurationInterfaces.c" + goto __catch119_configuration_error; + } +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 5395 "ConfigurationInterfaces.c" + } +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 838 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5407 "ConfigurationInterfaces.c" + } + goto __finally119; + __catch119_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (""); +#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5431 "ConfigurationInterfaces.c" + } + __finally119: +#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 5440 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_external_photo_app (ConfigurationFacade* self) { +#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_external_photo_app (self); +#line 5449 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app) { + GError * _inner_error_ = NULL; +#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (external_photo_app != NULL); +#line 5457 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; +#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = external_photo_app; +#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, _tmp2_, &_inner_error_); +#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5476 "ConfigurationInterfaces.c" + goto __catch120_configuration_error; + } +#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5485 "ConfigurationInterfaces.c" + } + } + goto __finally120; + __catch120_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 851 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 851 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5505 "ConfigurationInterfaces.c" + } + __finally120: +#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5516 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app) { +#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_external_photo_app (self, external_photo_app); +#line 5526 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, &_inner_error_); +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5556 "ConfigurationInterfaces.c" + goto __catch121_configuration_error; + } +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 5565 "ConfigurationInterfaces.c" + } +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5577 "ConfigurationInterfaces.c" + } + goto __finally121; + __catch121_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 863 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 863 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (""); +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5601 "ConfigurationInterfaces.c" + } + __finally121: +#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 5610 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self) { +#line 859 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 859 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_external_raw_app (self); +#line 5619 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app) { + GError * _inner_error_ = NULL; +#line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (external_raw_app != NULL); +#line 5627 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; +#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = external_raw_app; +#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, _tmp2_, &_inner_error_); +#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5646 "ConfigurationInterfaces.c" + goto __catch122_configuration_error; + } +#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 871 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5655 "ConfigurationInterfaces.c" + } + } + goto __finally122; + __catch122_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5675 "ConfigurationInterfaces.c" + } + __finally122: +#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5686 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app) { +#line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_external_raw_app (self, external_raw_app); +#line 5696 "ConfigurationInterfaces.c" +} + + +static RawDeveloper configuration_facade_real_get_default_raw_developer (ConfigurationFacade* self) { + RawDeveloper result = 0; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + RawDeveloper _tmp5_ = 0; +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, &_inner_error_); +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5726 "ConfigurationInterfaces.c" + goto __catch123_configuration_error; + } +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 5735 "ConfigurationInterfaces.c" + } +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = raw_developer_from_string (_tmp0_); +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 884 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5745 "ConfigurationInterfaces.c" + } + goto __finally123; + __catch123_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; +#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 889 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = RAW_DEVELOPER_CAMERA; +#line 889 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 889 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5766 "ConfigurationInterfaces.c" + } + __finally123: +#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 5775 "ConfigurationInterfaces.c" +} + + +RawDeveloper configuration_facade_get_default_raw_developer (ConfigurationFacade* self) { +#line 882 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 882 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_default_raw_developer (self); +#line 5784 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_default_raw_developer (ConfigurationFacade* self, RawDeveloper d) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + RawDeveloper _tmp2_ = 0; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = d; +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = raw_developer_to_string (_tmp2_); +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, _tmp4_, &_inner_error_); +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp4_); +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5816 "ConfigurationInterfaces.c" + goto __catch124_configuration_error; + } +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 895 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5825 "ConfigurationInterfaces.c" + } + } + goto __finally124; + __catch124_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 899 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 899 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5845 "ConfigurationInterfaces.c" + } + __finally124: +#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 894 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5856 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_default_raw_developer (ConfigurationFacade* self, RawDeveloper d) { +#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_default_raw_developer (self, d); +#line 5866 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_hide_photos_already_imported (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, &_inner_error_); +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5895 "ConfigurationInterfaces.c" + goto __catch125_configuration_error; + } +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 5904 "ConfigurationInterfaces.c" + } +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 908 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5910 "ConfigurationInterfaces.c" + } + goto __finally125; + __catch125_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 912 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = TRUE; +#line 912 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 912 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 5931 "ConfigurationInterfaces.c" + } + __finally125: +#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 5940 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_hide_photos_already_imported (ConfigurationFacade* self) { +#line 906 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 906 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_hide_photos_already_imported (self); +#line 5949 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_hide_photos_already_imported (ConfigurationFacade* self, gboolean hide_imported) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = hide_imported; +#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, _tmp2_, &_inner_error_); +#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5973 "ConfigurationInterfaces.c" + goto __catch126_configuration_error; + } +#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 5982 "ConfigurationInterfaces.c" + } + } + goto __finally126; + __catch126_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 6000 "ConfigurationInterfaces.c" + } + __finally126: +#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6011 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_hide_photos_already_imported (ConfigurationFacade* self, gboolean hide_imported) { +#line 916 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 916 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_hide_photos_already_imported (self, hide_imported); +#line 6021 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_import_dir (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_IMPORT_DIR, &_inner_error_); +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6051 "ConfigurationInterfaces.c" + goto __catch127_configuration_error; + } +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 6060 "ConfigurationInterfaces.c" + } +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6072 "ConfigurationInterfaces.c" + } + goto __finally127; + __catch127_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 931 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 931 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 933 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (""); +#line 933 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 933 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 933 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6096 "ConfigurationInterfaces.c" + } + __finally127: +#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 6105 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_import_dir (ConfigurationFacade* self) { +#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_import_dir (self); +#line 6114 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_import_dir (ConfigurationFacade* self, const gchar* import_dir) { + GError * _inner_error_ = NULL; +#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (import_dir != NULL); +#line 6122 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = import_dir; +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_IMPORT_DIR, _tmp2_, &_inner_error_); +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6141 "ConfigurationInterfaces.c" + goto __catch128_configuration_error; + } +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6150 "ConfigurationInterfaces.c" + } + } + goto __finally128; + __catch128_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 941 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 941 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 6168 "ConfigurationInterfaces.c" + } + __finally128: +#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6179 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_import_dir (ConfigurationFacade* self, const gchar* import_dir) { +#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_import_dir (self, import_dir); +#line 6189 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_keep_relativity (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, &_inner_error_); +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6218 "ConfigurationInterfaces.c" + goto __catch129_configuration_error; + } +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 6227 "ConfigurationInterfaces.c" + } +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6233 "ConfigurationInterfaces.c" + } + goto __finally129; + __catch129_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 952 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 952 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 954 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = TRUE; +#line 954 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 954 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6254 "ConfigurationInterfaces.c" + } + __finally129: +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 6263 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_keep_relativity (ConfigurationFacade* self) { +#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_keep_relativity (self); +#line 6272 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = keep_relativity; +#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, _tmp2_, &_inner_error_); +#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6296 "ConfigurationInterfaces.c" + goto __catch130_configuration_error; + } +#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 960 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6305 "ConfigurationInterfaces.c" + } + } + goto __finally130; + __catch130_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 962 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 962 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 6323 "ConfigurationInterfaces.c" + } + __finally130: +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6334 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity) { +#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_keep_relativity (self, keep_relativity); +#line 6344 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_pin_toolbar_state (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, &_inner_error_); +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6373 "ConfigurationInterfaces.c" + goto __catch131_configuration_error; + } +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 6382 "ConfigurationInterfaces.c" + } +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6388 "ConfigurationInterfaces.c" + } + goto __finally131; + __catch131_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 974 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 974 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 974 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6409 "ConfigurationInterfaces.c" + } + __finally131: +#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 6418 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_pin_toolbar_state (ConfigurationFacade* self) { +#line 969 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 969 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_pin_toolbar_state (self); +#line 6427 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_pin_toolbar_state (ConfigurationFacade* self, gboolean state) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = state; +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, _tmp2_, &_inner_error_); +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6451 "ConfigurationInterfaces.c" + goto __catch132_configuration_error; + } +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6460 "ConfigurationInterfaces.c" + } + } + goto __finally132; + __catch132_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 6478 "ConfigurationInterfaces.c" + } + __finally132: +#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 979 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6489 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_pin_toolbar_state (ConfigurationFacade* self, gboolean state) { +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_pin_toolbar_state (self, state); +#line 6499 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_last_crop_height (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, &_inner_error_); +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6528 "ConfigurationInterfaces.c" + goto __catch133_configuration_error; + } +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6537 "ConfigurationInterfaces.c" + } +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6543 "ConfigurationInterfaces.c" + } + goto __finally133; + __catch133_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 993 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 993 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 994 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 1; +#line 994 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 994 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6564 "ConfigurationInterfaces.c" + } + __finally133: +#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6573 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_last_crop_height (ConfigurationFacade* self) { +#line 989 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 989 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_height (self); +#line 6582 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_last_crop_height (ConfigurationFacade* self, gint choice) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = choice; +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, _tmp2_, &_inner_error_); +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6606 "ConfigurationInterfaces.c" + goto __catch134_configuration_error; + } +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6615 "ConfigurationInterfaces.c" + } + } + goto __finally134; + __catch134_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 6633 "ConfigurationInterfaces.c" + } + __finally134: +#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6644 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_last_crop_height (ConfigurationFacade* self, gint choice) { +#line 998 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 998 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_height (self, choice); +#line 6654 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_last_crop_menu_choice (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, &_inner_error_); +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6683 "ConfigurationInterfaces.c" + goto __catch135_configuration_error; + } +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6692 "ConfigurationInterfaces.c" + } +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6698 "ConfigurationInterfaces.c" + } + goto __finally135; + __catch135_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1013 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1013 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1018 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0; +#line 1018 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1018 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6719 "ConfigurationInterfaces.c" + } + __finally135: +#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6728 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_last_crop_menu_choice (ConfigurationFacade* self) { +#line 1009 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1009 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_menu_choice (self); +#line 6737 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_last_crop_menu_choice (ConfigurationFacade* self, gint choice) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = choice; +#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, _tmp2_, &_inner_error_); +#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6761 "ConfigurationInterfaces.c" + goto __catch136_configuration_error; + } +#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6770 "ConfigurationInterfaces.c" + } + } + goto __finally136; + __catch136_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1026 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1026 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 6788 "ConfigurationInterfaces.c" + } + __finally136: +#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6799 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_last_crop_menu_choice (ConfigurationFacade* self, gint choice) { +#line 1022 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1022 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_menu_choice (self, choice); +#line 6809 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_last_crop_width (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, &_inner_error_); +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6838 "ConfigurationInterfaces.c" + goto __catch137_configuration_error; + } +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6847 "ConfigurationInterfaces.c" + } +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1035 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6853 "ConfigurationInterfaces.c" + } + goto __finally137; + __catch137_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1037 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1037 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 1; +#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 6874 "ConfigurationInterfaces.c" + } + __finally137: +#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 6883 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_last_crop_width (ConfigurationFacade* self) { +#line 1033 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1033 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_width (self); +#line 6892 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_last_crop_width (ConfigurationFacade* self, gint choice) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = choice; +#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, _tmp2_, &_inner_error_); +#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6916 "ConfigurationInterfaces.c" + goto __catch138_configuration_error; + } +#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1044 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6925 "ConfigurationInterfaces.c" + } + } + goto __finally138; + __catch138_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1046 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1046 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 6943 "ConfigurationInterfaces.c" + } + __finally138: +#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 6954 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_last_crop_width (ConfigurationFacade* self, gint choice) { +#line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_width (self, choice); +#line 6964 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_last_used_service (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, &_inner_error_); +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 6994 "ConfigurationInterfaces.c" + goto __catch139_configuration_error; + } +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 7003 "ConfigurationInterfaces.c" + } +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 1055 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 7015 "ConfigurationInterfaces.c" + } + goto __finally139; + __catch139_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1057 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 1057 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (""); +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 7039 "ConfigurationInterfaces.c" + } + __finally139: +#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 7048 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_last_used_service (ConfigurationFacade* self) { +#line 1053 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 1053 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_used_service (self); +#line 7057 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_last_used_service (ConfigurationFacade* self, const gchar* service_name) { + GError * _inner_error_ = NULL; +#line 1066 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (service_name != NULL); +#line 7065 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; +#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = service_name; +#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, _tmp2_, &_inner_error_); +#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7084 "ConfigurationInterfaces.c" + goto __catch140_configuration_error; + } +#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7093 "ConfigurationInterfaces.c" + } + } + goto __finally140; + __catch140_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1070 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1070 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 7111 "ConfigurationInterfaces.c" + } + __finally140: +#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1067 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7122 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_last_used_service (ConfigurationFacade* self, const gchar* service_name) { +#line 1066 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1066 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_last_used_service (self, service_name); +#line 7132 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_last_used_dataimports_service (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, &_inner_error_); +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7162 "ConfigurationInterfaces.c" + goto __catch141_configuration_error; + } +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 7171 "ConfigurationInterfaces.c" + } +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 1079 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 7183 "ConfigurationInterfaces.c" + } + goto __finally141; + __catch141_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 1086 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (""); +#line 1086 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 1086 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1086 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 7207 "ConfigurationInterfaces.c" + } + __finally141: +#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 7216 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_last_used_dataimports_service (ConfigurationFacade* self) { +#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_used_dataimports_service (self); +#line 7225 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_last_used_dataimports_service (ConfigurationFacade* self, const gchar* service_name) { + GError * _inner_error_ = NULL; +#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (service_name != NULL); +#line 7233 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = service_name; +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, _tmp2_, &_inner_error_); +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7252 "ConfigurationInterfaces.c" + goto __catch142_configuration_error; + } +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7261 "ConfigurationInterfaces.c" + } + } + goto __finally142; + __catch142_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 7279 "ConfigurationInterfaces.c" + } + __finally142: +#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1091 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7290 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_last_used_dataimports_service (ConfigurationFacade* self, const gchar* service_name) { +#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_last_used_dataimports_service (self, service_name); +#line 7300 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_get_library_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by) { + gboolean _vala_sort_order = FALSE; + gint _vala_sort_by = 0; + GError * _inner_error_ = NULL; +#line 1102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_sort_order = FALSE; +#line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_sort_by = 2; +#line 7312 "ConfigurationInterfaces.c" + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; + gint _tmp5_ = 0; + ConfigurationEngine* _tmp6_ = NULL; + ConfigurationEngine* _tmp7_ = NULL; + gint _tmp8_ = 0; + gint _tmp9_ = 0; +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, &_inner_error_); +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7340 "ConfigurationInterfaces.c" + goto __catch143_configuration_error; + } +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7349 "ConfigurationInterfaces.c" + } +#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_sort_order = _tmp0_; +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = configuration_facade_get_engine (self); +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = _tmp6_; +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = configuration_engine_get_int_property (_tmp7_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, &_inner_error_); +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp9_ = _tmp8_; +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp7_); +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp9_; +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7369 "ConfigurationInterfaces.c" + goto __catch143_configuration_error; + } +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7378 "ConfigurationInterfaces.c" + } +#line 1107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_sort_by = _tmp5_; +#line 7382 "ConfigurationInterfaces.c" + } + goto __finally143; + __catch143_configuration_error: + { + GError* err = NULL; + GError* _tmp10_ = NULL; +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1109 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp10_ = err; +#line 1109 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp10_); +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 7399 "ConfigurationInterfaces.c" + } + __finally143: +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7410 "ConfigurationInterfaces.c" + } +#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (sort_order) { +#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + *sort_order = _vala_sort_order; +#line 7416 "ConfigurationInterfaces.c" + } +#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (sort_by) { +#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + *sort_by = _vala_sort_by; +#line 7422 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_get_library_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by) { +#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->get_library_photos_sort (self, sort_order, sort_by); +#line 7432 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_library_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; + ConfigurationEngine* _tmp3_ = NULL; + ConfigurationEngine* _tmp4_ = NULL; + gint _tmp5_ = 0; +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = sort_order; +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, _tmp2_, &_inner_error_); +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7459 "ConfigurationInterfaces.c" + goto __catch144_configuration_error; + } +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7468 "ConfigurationInterfaces.c" + } +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_facade_get_engine (self); +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = sort_by; +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, _tmp5_, &_inner_error_); +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp4_); +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7484 "ConfigurationInterfaces.c" + goto __catch144_configuration_error; + } +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7493 "ConfigurationInterfaces.c" + } + } + goto __finally144; + __catch144_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 1120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 7511 "ConfigurationInterfaces.c" + } + __finally144: +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7522 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_library_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by) { +#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_library_photos_sort (self, sort_order, sort_by); +#line 7532 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_get_library_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions) { + gboolean _vala_maximize = FALSE; + Dimensions _vala_dimensions = {0}; + GError * _inner_error_ = NULL; +#line 1128 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_maximize = FALSE; +#line 1129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + dimensions_init (&_vala_dimensions, 1024, 768); +#line 7544 "ConfigurationInterfaces.c" + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; + gint w = 0; + ConfigurationEngine* _tmp5_ = NULL; + ConfigurationEngine* _tmp6_ = NULL; + gint _tmp7_ = 0; + gint _tmp8_ = 0; + gint h = 0; + ConfigurationEngine* _tmp9_ = NULL; + ConfigurationEngine* _tmp10_ = NULL; + gint _tmp11_ = 0; + gint _tmp12_ = 0; + gint _tmp13_ = 0; + gint _tmp14_ = 0; +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, &_inner_error_); +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7579 "ConfigurationInterfaces.c" + goto __catch145_configuration_error; + } +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7588 "ConfigurationInterfaces.c" + } +#line 1131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _vala_maximize = _tmp0_; +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = configuration_facade_get_engine (self); +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = _tmp5_; +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, &_inner_error_); +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = _tmp7_; +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp6_); +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + w = _tmp8_; +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7608 "ConfigurationInterfaces.c" + goto __catch145_configuration_error; + } +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7617 "ConfigurationInterfaces.c" + } +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp9_ = configuration_facade_get_engine (self); +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp10_ = _tmp9_; +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp11_ = configuration_engine_get_int_property (_tmp10_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, &_inner_error_); +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp12_ = _tmp11_; +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp10_); +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + h = _tmp12_; +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7635 "ConfigurationInterfaces.c" + goto __catch145_configuration_error; + } +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7644 "ConfigurationInterfaces.c" + } +#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp13_ = w; +#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp14_ = h; +#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + dimensions_init (&_vala_dimensions, _tmp13_, _tmp14_); +#line 7652 "ConfigurationInterfaces.c" + } + goto __finally145; + __catch145_configuration_error: + { + GError* err = NULL; + GError* _tmp15_ = NULL; +#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1136 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp15_ = err; +#line 1136 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp15_); +#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 7669 "ConfigurationInterfaces.c" + } + __finally145: +#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1130 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7680 "ConfigurationInterfaces.c" + } +#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (maximize) { +#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + *maximize = _vala_maximize; +#line 7686 "ConfigurationInterfaces.c" + } +#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (dimensions) { +#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + *dimensions = _vala_dimensions; +#line 7692 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_get_library_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions) { +#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1127 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->get_library_window_state (self, maximize, dimensions); +#line 7702 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_library_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { + GError * _inner_error_ = NULL; +#line 1140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (dimensions != NULL); +#line 7710 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; + ConfigurationEngine* _tmp3_ = NULL; + ConfigurationEngine* _tmp4_ = NULL; + Dimensions _tmp5_ = {0}; + gint _tmp6_ = 0; + ConfigurationEngine* _tmp7_ = NULL; + ConfigurationEngine* _tmp8_ = NULL; + Dimensions _tmp9_ = {0}; + gint _tmp10_ = 0; +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = maximize; +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, _tmp2_, &_inner_error_); +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7737 "ConfigurationInterfaces.c" + goto __catch146_configuration_error; + } +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7746 "ConfigurationInterfaces.c" + } +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_facade_get_engine (self); +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = *dimensions; +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = _tmp5_.width; +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, _tmp6_, &_inner_error_); +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp4_); +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7764 "ConfigurationInterfaces.c" + goto __catch146_configuration_error; + } +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7773 "ConfigurationInterfaces.c" + } +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = configuration_facade_get_engine (self); +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = _tmp7_; +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp9_ = *dimensions; +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp10_ = _tmp9_.height; +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp8_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, _tmp10_, &_inner_error_); +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp8_); +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7791 "ConfigurationInterfaces.c" + goto __catch146_configuration_error; + } +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7800 "ConfigurationInterfaces.c" + } + } + goto __finally146; + __catch146_configuration_error: + { + GError* err = NULL; + GError* _tmp11_ = NULL; +#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1148 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp11_ = err; +#line 1148 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp11_); +#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 7818 "ConfigurationInterfaces.c" + } + __finally146: +#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7829 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_library_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { +#line 1140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_library_window_state (self, maximize, dimensions); +#line 7839 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_modify_originals (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, &_inner_error_); +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7868 "ConfigurationInterfaces.c" + goto __catch147_configuration_error; + } +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 7877 "ConfigurationInterfaces.c" + } +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 7883 "ConfigurationInterfaces.c" + } + goto __finally147; + __catch147_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 7904 "ConfigurationInterfaces.c" + } + __finally147: +#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 7913 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_modify_originals (ConfigurationFacade* self) { +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_modify_originals (self); +#line 7922 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = modify_originals; +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, _tmp2_, &_inner_error_); +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 7946 "ConfigurationInterfaces.c" + goto __catch148_configuration_error; + } +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7955 "ConfigurationInterfaces.c" + } + } + goto __finally148; + __catch148_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 7973 "ConfigurationInterfaces.c" + } + __finally148: +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 7984 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals) { +#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_modify_originals (self, modify_originals); +#line 7994 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_photo_thumbnail_scale (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, &_inner_error_); +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8023 "ConfigurationInterfaces.c" + goto __catch149_configuration_error; + } +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 8032 "ConfigurationInterfaces.c" + } +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8038 "ConfigurationInterfaces.c" + } + goto __finally149; + __catch149_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; + gint _tmp6_ = 0; + gint _tmp7_ = 0; +#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1181 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1181 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = thumbnail_get_DEFAULT_SCALE (); +#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = _tmp6_; +#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8065 "ConfigurationInterfaces.c" + } + __finally149: +#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 8074 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_photo_thumbnail_scale (ConfigurationFacade* self) { +#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_photo_thumbnail_scale (self); +#line 8083 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_photo_thumbnail_scale (ConfigurationFacade* self, gint scale) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = scale; +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, _tmp2_, &_inner_error_); +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8107 "ConfigurationInterfaces.c" + goto __catch150_configuration_error; + } +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8116 "ConfigurationInterfaces.c" + } + } + goto __finally150; + __catch150_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1190 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1190 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 8134 "ConfigurationInterfaces.c" + } + __finally150: +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8145 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_photo_thumbnail_scale (ConfigurationFacade* self, gint scale) { +#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_photo_thumbnail_scale (self, scale); +#line 8155 "ConfigurationInterfaces.c" +} + + +static gdouble configuration_facade_real_get_printing_content_height (ConfigurationFacade* self) { + gdouble result = 0.0; + GError * _inner_error_ = NULL; + { + gdouble _tmp0_ = 0.0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gdouble _tmp3_ = 0.0; + gdouble _tmp4_ = 0.0; +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, &_inner_error_); +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8184 "ConfigurationInterfaces.c" + goto __catch151_configuration_error; + } +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0.0; +#line 8193 "ConfigurationInterfaces.c" + } +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8199 "ConfigurationInterfaces.c" + } + goto __finally151; + __catch151_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 5.0; +#line 1203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8220 "ConfigurationInterfaces.c" + } + __finally151: +#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0.0; +#line 8229 "ConfigurationInterfaces.c" +} + + +gdouble configuration_facade_get_printing_content_height (ConfigurationFacade* self) { +#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); +#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_height (self); +#line 8238 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_printing_content_height (ConfigurationFacade* self, gdouble content_height) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gdouble _tmp2_ = 0.0; +#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = content_height; +#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, _tmp2_, &_inner_error_); +#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8262 "ConfigurationInterfaces.c" + goto __catch152_configuration_error; + } +#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8271 "ConfigurationInterfaces.c" + } + } + goto __finally152; + __catch152_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 8289 "ConfigurationInterfaces.c" + } + __finally152: +#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8300 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_printing_content_height (ConfigurationFacade* self, gdouble content_height) { +#line 1207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_height (self, content_height); +#line 8310 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_printing_content_layout (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, &_inner_error_); +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8339 "ConfigurationInterfaces.c" + goto __catch153_configuration_error; + } +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 8348 "ConfigurationInterfaces.c" + } +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_ - 1; +#line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8354 "ConfigurationInterfaces.c" + } + goto __finally153; + __catch153_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1220 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1220 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0; +#line 1225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8375 "ConfigurationInterfaces.c" + } + __finally153: +#line 1220 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1220 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1220 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 8384 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_printing_content_layout (ConfigurationFacade* self) { +#line 1219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_layout (self); +#line 8393 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_printing_content_layout (ConfigurationFacade* self, gint layout_code) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = layout_code; +#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, _tmp2_ + 1, &_inner_error_); +#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8417 "ConfigurationInterfaces.c" + goto __catch154_configuration_error; + } +#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8426 "ConfigurationInterfaces.c" + } + } + goto __finally154; + __catch154_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 8444 "ConfigurationInterfaces.c" + } + __finally154: +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8455 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_printing_content_layout (ConfigurationFacade* self, gint layout_code) { +#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_layout (self, layout_code); +#line 8465 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_printing_content_ppi (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, &_inner_error_); +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8494 "ConfigurationInterfaces.c" + goto __catch155_configuration_error; + } +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 8503 "ConfigurationInterfaces.c" + } +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8509 "ConfigurationInterfaces.c" + } + goto __finally155; + __catch155_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1247 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 600; +#line 1247 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1247 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8530 "ConfigurationInterfaces.c" + } + __finally155: +#line 1242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 8539 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_printing_content_ppi (ConfigurationFacade* self) { +#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_ppi (self); +#line 8548 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_printing_content_ppi (ConfigurationFacade* self, gint content_ppi) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = content_ppi; +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, _tmp2_, &_inner_error_); +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8572 "ConfigurationInterfaces.c" + goto __catch156_configuration_error; + } +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8581 "ConfigurationInterfaces.c" + } + } + goto __finally156; + __catch156_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 8599 "ConfigurationInterfaces.c" + } + __finally156: +#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8610 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_printing_content_ppi (ConfigurationFacade* self, gint content_ppi) { +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_ppi (self, content_ppi); +#line 8620 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_printing_content_units (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, &_inner_error_); +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8649 "ConfigurationInterfaces.c" + goto __catch157_configuration_error; + } +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 8658 "ConfigurationInterfaces.c" + } +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_ - 1; +#line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8664 "ConfigurationInterfaces.c" + } + goto __finally157; + __catch157_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1266 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1266 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1268 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0; +#line 1268 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1268 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8685 "ConfigurationInterfaces.c" + } + __finally157: +#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 8694 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_printing_content_units (ConfigurationFacade* self) { +#line 1262 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1262 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_units (self); +#line 8703 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_printing_content_units (ConfigurationFacade* self, gint units_code) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = units_code; +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, _tmp2_ + 1, &_inner_error_); +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8727 "ConfigurationInterfaces.c" + goto __catch158_configuration_error; + } +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8736 "ConfigurationInterfaces.c" + } + } + goto __finally158; + __catch158_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 8754 "ConfigurationInterfaces.c" + } + __finally158: +#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8765 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_printing_content_units (ConfigurationFacade* self, gint units_code) { +#line 1272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_units (self, units_code); +#line 8775 "ConfigurationInterfaces.c" +} + + +static gdouble configuration_facade_real_get_printing_content_width (ConfigurationFacade* self) { + gdouble result = 0.0; + GError * _inner_error_ = NULL; + { + gdouble _tmp0_ = 0.0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gdouble _tmp3_ = 0.0; + gdouble _tmp4_ = 0.0; +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, &_inner_error_); +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8804 "ConfigurationInterfaces.c" + goto __catch159_configuration_error; + } +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0.0; +#line 8813 "ConfigurationInterfaces.c" + } +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8819 "ConfigurationInterfaces.c" + } + goto __finally159; + __catch159_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1288 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1288 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 7.0; +#line 1290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8840 "ConfigurationInterfaces.c" + } + __finally159: +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0.0; +#line 8849 "ConfigurationInterfaces.c" +} + + +gdouble configuration_facade_get_printing_content_width (ConfigurationFacade* self) { +#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); +#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_width (self); +#line 8858 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_printing_content_width (ConfigurationFacade* self, gdouble content_width) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gdouble _tmp2_ = 0.0; +#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = content_width; +#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, _tmp2_, &_inner_error_); +#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8882 "ConfigurationInterfaces.c" + goto __catch160_configuration_error; + } +#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8891 "ConfigurationInterfaces.c" + } + } + goto __finally160; + __catch160_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 8909 "ConfigurationInterfaces.c" + } + __finally160: +#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1295 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 8920 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_printing_content_width (ConfigurationFacade* self, gdouble content_width) { +#line 1294 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1294 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_width (self, content_width); +#line 8930 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_printing_images_per_page (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, &_inner_error_); +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 8959 "ConfigurationInterfaces.c" + goto __catch161_configuration_error; + } +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 8968 "ConfigurationInterfaces.c" + } +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_ - 1; +#line 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8974 "ConfigurationInterfaces.c" + } + goto __finally161; + __catch161_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0; +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 8995 "ConfigurationInterfaces.c" + } + __finally161: +#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 9004 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_printing_images_per_page (ConfigurationFacade* self) { +#line 1306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_images_per_page (self); +#line 9013 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_printing_images_per_page (ConfigurationFacade* self, gint images_per_page_code) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = images_per_page_code; +#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, _tmp2_ + 1, &_inner_error_); +#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9037 "ConfigurationInterfaces.c" + goto __catch162_configuration_error; + } +#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9046 "ConfigurationInterfaces.c" + } + } + goto __finally162; + __catch162_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 9064 "ConfigurationInterfaces.c" + } + __finally162: +#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9075 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_printing_images_per_page (ConfigurationFacade* self, gint images_per_page_code) { +#line 1316 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1316 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_images_per_page (self, images_per_page_code); +#line 9085 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_printing_match_aspect_ratio (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, &_inner_error_); +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9114 "ConfigurationInterfaces.c" + goto __catch163_configuration_error; + } +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 9123 "ConfigurationInterfaces.c" + } +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9129 "ConfigurationInterfaces.c" + } + goto __finally163; + __catch163_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = TRUE; +#line 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9150 "ConfigurationInterfaces.c" + } + __finally163: +#line 1329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 9159 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_printing_match_aspect_ratio (ConfigurationFacade* self) { +#line 1328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 1328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_match_aspect_ratio (self); +#line 9168 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_printing_match_aspect_ratio (ConfigurationFacade* self, gboolean match_aspect_ratio) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = match_aspect_ratio; +#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, _tmp2_, &_inner_error_); +#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9192 "ConfigurationInterfaces.c" + goto __catch164_configuration_error; + } +#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9201 "ConfigurationInterfaces.c" + } + } + goto __finally164; + __catch164_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 9219 "ConfigurationInterfaces.c" + } + __finally164: +#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9230 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_printing_match_aspect_ratio (ConfigurationFacade* self, gboolean match_aspect_ratio) { +#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_match_aspect_ratio (self, match_aspect_ratio); +#line 9240 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_printing_print_titles (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, &_inner_error_); +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9269 "ConfigurationInterfaces.c" + goto __catch165_configuration_error; + } +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 9278 "ConfigurationInterfaces.c" + } +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9284 "ConfigurationInterfaces.c" + } + goto __finally165; + __catch165_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1354 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1354 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 1356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9305 "ConfigurationInterfaces.c" + } + __finally165: +#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 9314 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_printing_print_titles (ConfigurationFacade* self) { +#line 1350 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 1350 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_print_titles (self); +#line 9323 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_printing_print_titles (ConfigurationFacade* self, gboolean print_titles) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = print_titles; +#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, _tmp2_, &_inner_error_); +#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9347 "ConfigurationInterfaces.c" + goto __catch166_configuration_error; + } +#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9356 "ConfigurationInterfaces.c" + } + } + goto __finally166; + __catch166_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 9374 "ConfigurationInterfaces.c" + } + __finally166: +#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9385 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_printing_print_titles (ConfigurationFacade* self, gboolean print_titles) { +#line 1360 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1360 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_print_titles (self, print_titles); +#line 9395 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_printing_size_selection (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, &_inner_error_); +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9424 "ConfigurationInterfaces.c" + goto __catch167_configuration_error; + } +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 9433 "ConfigurationInterfaces.c" + } +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_ - 1; +#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9439 "ConfigurationInterfaces.c" + } + goto __finally167; + __catch167_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1376 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1376 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0; +#line 1378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9460 "ConfigurationInterfaces.c" + } + __finally167: +#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 9469 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_printing_size_selection (ConfigurationFacade* self) { +#line 1372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_size_selection (self); +#line 9478 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_printing_size_selection (ConfigurationFacade* self, gint size_code) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = size_code; +#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, _tmp2_ + 1, &_inner_error_); +#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9502 "ConfigurationInterfaces.c" + goto __catch168_configuration_error; + } +#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9511 "ConfigurationInterfaces.c" + } + } + goto __finally168; + __catch168_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 9529 "ConfigurationInterfaces.c" + } + __finally168: +#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9540 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_printing_size_selection (ConfigurationFacade* self, gint size_code) { +#line 1382 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1382 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_size_selection (self, size_code); +#line 9550 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_printing_titles_font (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, &_inner_error_); +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9580 "ConfigurationInterfaces.c" + goto __catch169_configuration_error; + } +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 9589 "ConfigurationInterfaces.c" + } +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9601 "ConfigurationInterfaces.c" + } + goto __finally169; + __catch169_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 1398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 1402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup ("Sans Bold 12"); +#line 1402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 1402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9625 "ConfigurationInterfaces.c" + } + __finally169: +#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 9634 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_printing_titles_font (ConfigurationFacade* self) { +#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_titles_font (self); +#line 9643 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_printing_titles_font (ConfigurationFacade* self, const gchar* font_name) { + GError * _inner_error_ = NULL; +#line 1406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (font_name != NULL); +#line 9651 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = font_name; +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, _tmp2_, &_inner_error_); +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9670 "ConfigurationInterfaces.c" + goto __catch170_configuration_error; + } +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9679 "ConfigurationInterfaces.c" + } + } + goto __finally170; + __catch170_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 9697 "ConfigurationInterfaces.c" + } + __finally170: +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9708 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_printing_titles_font (ConfigurationFacade* self, const gchar* font_name) { +#line 1406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_titles_font (self, font_name); +#line 9718 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_show_welcome_dialog (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, &_inner_error_); +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9747 "ConfigurationInterfaces.c" + goto __catch171_configuration_error; + } +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 9756 "ConfigurationInterfaces.c" + } +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9762 "ConfigurationInterfaces.c" + } + goto __finally171; + __catch171_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = TRUE; +#line 1423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9783 "ConfigurationInterfaces.c" + } + __finally171: +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 9792 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_show_welcome_dialog (ConfigurationFacade* self) { +#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_show_welcome_dialog (self); +#line 9801 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_show_welcome_dialog (ConfigurationFacade* self, gboolean show) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = show; +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, _tmp2_, &_inner_error_); +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9825 "ConfigurationInterfaces.c" + goto __catch172_configuration_error; + } +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9834 "ConfigurationInterfaces.c" + } + } + goto __finally172; + __catch172_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 9852 "ConfigurationInterfaces.c" + } + __finally172: +#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9863 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_show_welcome_dialog (ConfigurationFacade* self, gboolean show) { +#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_show_welcome_dialog (self, show); +#line 9873 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_sidebar_position (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, &_inner_error_); +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9902 "ConfigurationInterfaces.c" + goto __catch173_configuration_error; + } +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 9911 "ConfigurationInterfaces.c" + } +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1441 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9917 "ConfigurationInterfaces.c" + } + goto __finally173; + __catch173_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1445 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 180; +#line 1445 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1445 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 9938 "ConfigurationInterfaces.c" + } + __finally173: +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 9947 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_sidebar_position (ConfigurationFacade* self) { +#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_sidebar_position (self); +#line 9956 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_sidebar_position (ConfigurationFacade* self, gint position) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = position; +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, _tmp2_, &_inner_error_); +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 9980 "ConfigurationInterfaces.c" + goto __catch174_configuration_error; + } +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 9989 "ConfigurationInterfaces.c" + } + } + goto __finally174; + __catch174_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1453 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1453 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 10007 "ConfigurationInterfaces.c" + } + __finally174: +#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10018 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_sidebar_position (ConfigurationFacade* self, gint position) { +#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_sidebar_position (self, position); +#line 10028 "ConfigurationInterfaces.c" +} + + +static gdouble configuration_facade_real_get_slideshow_delay (ConfigurationFacade* self) { + gdouble result = 0.0; + GError * _inner_error_ = NULL; + { + gdouble _tmp0_ = 0.0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gdouble _tmp3_ = 0.0; + gdouble _tmp4_ = 0.0; +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, &_inner_error_); +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10057 "ConfigurationInterfaces.c" + goto __catch175_configuration_error; + } +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0.0; +#line 10066 "ConfigurationInterfaces.c" + } +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10072 "ConfigurationInterfaces.c" + } + goto __finally175; + __catch175_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 3.0; +#line 1466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1466 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10093 "ConfigurationInterfaces.c" + } + __finally175: +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0.0; +#line 10102 "ConfigurationInterfaces.c" +} + + +gdouble configuration_facade_get_slideshow_delay (ConfigurationFacade* self) { +#line 1460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); +#line 1460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_delay (self); +#line 10111 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_slideshow_delay (ConfigurationFacade* self, gdouble delay) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gdouble _tmp2_ = 0.0; +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = delay; +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, _tmp2_, &_inner_error_); +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10135 "ConfigurationInterfaces.c" + goto __catch176_configuration_error; + } +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10144 "ConfigurationInterfaces.c" + } + } + goto __finally176; + __catch176_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 10162 "ConfigurationInterfaces.c" + } + __finally176: +#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1471 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10173 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_slideshow_delay (ConfigurationFacade* self, gdouble delay) { +#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_delay (self, delay); +#line 10183 "ConfigurationInterfaces.c" +} + + +static gdouble configuration_facade_real_get_slideshow_transition_delay (ConfigurationFacade* self) { + gdouble result = 0.0; + GError * _inner_error_ = NULL; + { + gdouble _tmp0_ = 0.0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gdouble _tmp3_ = 0.0; + gdouble _tmp4_ = 0.0; +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, &_inner_error_); +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10212 "ConfigurationInterfaces.c" + goto __catch177_configuration_error; + } +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0.0; +#line 10221 "ConfigurationInterfaces.c" + } +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10227 "ConfigurationInterfaces.c" + } + goto __finally177; + __catch177_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1486 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1486 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = 0.3; +#line 1488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10248 "ConfigurationInterfaces.c" + } + __finally177: +#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0.0; +#line 10257 "ConfigurationInterfaces.c" +} + + +gdouble configuration_facade_get_slideshow_transition_delay (ConfigurationFacade* self) { +#line 1481 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); +#line 1481 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_transition_delay (self); +#line 10266 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_slideshow_transition_delay (ConfigurationFacade* self, gdouble delay) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gdouble _tmp2_ = 0.0; +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = delay; +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, _tmp2_, &_inner_error_); +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10290 "ConfigurationInterfaces.c" + goto __catch178_configuration_error; + } +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10299 "ConfigurationInterfaces.c" + } + } + goto __finally178; + __catch178_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1497 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1497 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 10317 "ConfigurationInterfaces.c" + } + __finally178: +#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10328 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_slideshow_transition_delay (ConfigurationFacade* self, gdouble delay) { +#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_transition_delay (self, delay); +#line 10338 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_slideshow_transition_effect_id (ConfigurationFacade* self) { + gchar* result = NULL; + GError * _inner_error_ = NULL; + { + gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, &_inner_error_); +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10368 "ConfigurationInterfaces.c" + goto __catch179_configuration_error; + } +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 10377 "ConfigurationInterfaces.c" + } +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = _tmp0_; +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = NULL; +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp5_; +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp0_); +#line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10389 "ConfigurationInterfaces.c" + } + goto __finally179; + __catch179_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = err; +#line 1509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp6_); +#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_strdup (TRANSITION_EFFECTS_MANAGER_NULL_EFFECT_ID); +#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10413 "ConfigurationInterfaces.c" + } + __finally179: +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return NULL; +#line 10422 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_slideshow_transition_effect_id (ConfigurationFacade* self) { +#line 1504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 1504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_transition_effect_id (self); +#line 10431 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_slideshow_transition_effect_id (ConfigurationFacade* self, const gchar* id) { + GError * _inner_error_ = NULL; +#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (id != NULL); +#line 10439 "ConfigurationInterfaces.c" + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; +#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = id; +#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, _tmp2_, &_inner_error_); +#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10458 "ConfigurationInterfaces.c" + goto __catch180_configuration_error; + } +#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10467 "ConfigurationInterfaces.c" + } + } + goto __finally180; + __catch180_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 10485 "ConfigurationInterfaces.c" + } + __finally180: +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10496 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_slideshow_transition_effect_id (ConfigurationFacade* self, const gchar* id) { +#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_transition_effect_id (self, id); +#line 10506 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_slideshow_show_title (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, &_inner_error_); +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10535 "ConfigurationInterfaces.c" + goto __catch181_configuration_error; + } +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 10544 "ConfigurationInterfaces.c" + } +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10550 "ConfigurationInterfaces.c" + } + goto __finally181; + __catch181_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1533 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10571 "ConfigurationInterfaces.c" + } + __finally181: +#line 1530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 10580 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_slideshow_show_title (ConfigurationFacade* self) { +#line 1529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 1529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_show_title (self); +#line 10589 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_slideshow_show_title (ConfigurationFacade* self, gboolean show_title) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = show_title; +#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, _tmp2_, &_inner_error_); +#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10613 "ConfigurationInterfaces.c" + goto __catch182_configuration_error; + } +#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10622 "ConfigurationInterfaces.c" + } + } + goto __finally182; + __catch182_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1543 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1543 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 10640 "ConfigurationInterfaces.c" + } + __finally182: +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10651 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_slideshow_show_title (ConfigurationFacade* self, gboolean show_title) { +#line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_show_title (self, show_title); +#line 10661 "ConfigurationInterfaces.c" +} + + +static void g_time_local (time_t time, struct tm* result) { + struct tm _result_ = {0}; + struct tm _tmp0_ = {0}; +#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + localtime_r (&time, &_tmp0_); +#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _result_ = _tmp0_; +#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + *result = _result_; +#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + return; +#line 10676 "ConfigurationInterfaces.c" +} + + +static gchar* g_time_format (struct tm *self, const gchar* format) { + gchar* result = NULL; + gchar* buffer = NULL; + gchar* _tmp0_ = NULL; + gint buffer_length1 = 0; + gint _buffer_size_ = 0; + gchar* _tmp1_ = NULL; + gint _tmp1__length1 = 0; + const gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gint _tmp3__length1 = 0; + gchar* _tmp4_ = NULL; +#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_return_val_if_fail (format != NULL, NULL); +#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp0_ = g_new0 (gchar, 64); +#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + buffer = _tmp0_; +#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + buffer_length1 = 64; +#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _buffer_size_ = buffer_length1; +#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp1_ = buffer; +#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp1__length1 = buffer_length1; +#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp2_ = format; +#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self)); +#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp3_ = buffer; +#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp3__length1 = buffer_length1; +#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp4_ = g_strdup ((const gchar*) _tmp3_); +#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + result = _tmp4_; +#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + buffer = (g_free (buffer), NULL); +#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + return result; +#line 10722 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_use_24_hour_time (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, &_inner_error_); +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10751 "ConfigurationInterfaces.c" + goto __catch183_configuration_error; + } +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 10760 "ConfigurationInterfaces.c" + } +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10766 "ConfigurationInterfaces.c" + } + goto __finally183; + __catch183_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; + struct tm _tmp6_ = {0}; + gchar* _tmp7_ = NULL; + gchar* _tmp8_ = NULL; + gboolean _tmp9_ = FALSE; + gboolean _tmp10_ = FALSE; +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_time_local ((time_t) 0, &_tmp6_); +#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = g_time_format (&_tmp6_, "%p"); +#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = _tmp7_; +#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp9_ = is_string_empty (_tmp8_); +#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp10_ = _tmp9_; +#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_tmp8_); +#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp10_; +#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10804 "ConfigurationInterfaces.c" + } + __finally183: +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 10813 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_use_24_hour_time (ConfigurationFacade* self) { +#line 1550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 1550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_use_24_hour_time (self); +#line 10822 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_use_24_hour_time (ConfigurationFacade* self, gboolean use_24_hour_time) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = use_24_hour_time; +#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, _tmp2_, &_inner_error_); +#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10846 "ConfigurationInterfaces.c" + goto __catch184_configuration_error; + } +#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10855 "ConfigurationInterfaces.c" + } + } + goto __finally184; + __catch184_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 10873 "ConfigurationInterfaces.c" + } + __finally184: +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 10884 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_use_24_hour_time (ConfigurationFacade* self, gboolean use_24_hour_time) { +#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_use_24_hour_time (self, use_24_hour_time); +#line 10894 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_use_lowercase_filenames (ConfigurationFacade* self) { + gboolean result = FALSE; + GError * _inner_error_ = NULL; + { + gboolean _tmp0_ = FALSE; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, &_inner_error_); +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 10923 "ConfigurationInterfaces.c" + goto __catch185_configuration_error; + } +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 10932 "ConfigurationInterfaces.c" + } +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10938 "ConfigurationInterfaces.c" + } + goto __finally185; + __catch185_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1574 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1574 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = FALSE; +#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 10959 "ConfigurationInterfaces.c" + } + __finally185: +#line 1574 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1574 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1574 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return FALSE; +#line 10968 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_use_lowercase_filenames (ConfigurationFacade* self) { +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_use_lowercase_filenames (self); +#line 10977 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_use_lowercase_filenames (ConfigurationFacade* self, gboolean b) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = b; +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, _tmp2_, &_inner_error_); +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 11001 "ConfigurationInterfaces.c" + goto __catch186_configuration_error; + } +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 11010 "ConfigurationInterfaces.c" + } + } + goto __finally186; + __catch186_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 11028 "ConfigurationInterfaces.c" + } + __finally186: +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 11039 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_use_lowercase_filenames (ConfigurationFacade* self, gboolean b) { +#line 1583 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1583 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_use_lowercase_filenames (self, b); +#line 11049 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_video_interpreter_state_cookie (ConfigurationFacade* self) { + gint result = 0; + GError * _inner_error_ = NULL; + { + gint _tmp0_ = 0; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + gint _tmp3_ = 0; + gint _tmp4_ = 0; +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, &_inner_error_); +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = _tmp4_; +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 11078 "ConfigurationInterfaces.c" + goto __catch187_configuration_error; + } +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 11087 "ConfigurationInterfaces.c" + } +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp0_; +#line 1596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 11093 "ConfigurationInterfaces.c" + } + goto __finally187; + __catch187_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = err; +#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp5_); +#line 1601 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = -1; +#line 1601 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 1601 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 11114 "ConfigurationInterfaces.c" + } + __finally187: +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return 0; +#line 11123 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_video_interpreter_state_cookie (ConfigurationFacade* self) { +#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_video_interpreter_state_cookie (self); +#line 11132 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_video_interpreter_state_cookie (ConfigurationFacade* self, gint state_cookie) { + GError * _inner_error_ = NULL; + { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + gint _tmp2_ = 0; +#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = state_cookie; +#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, _tmp2_, &_inner_error_); +#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 11156 "ConfigurationInterfaces.c" + goto __catch188_configuration_error; + } +#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 11165 "ConfigurationInterfaces.c" + } + } + goto __finally188; + __catch188_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + err = _inner_error_; +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _inner_error_ = NULL; +#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = err; +#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_on_configuration_error (self, _tmp3_); +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_error_free0 (err); +#line 11183 "ConfigurationInterfaces.c" + } + __finally188: +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_clear_error (&_inner_error_); +#line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return; +#line 11194 "ConfigurationInterfaces.c" + } +} + + +void configuration_facade_set_video_interpreter_state_cookie (ConfigurationFacade* self, gint state_cookie) { +#line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_video_interpreter_state_cookie (self, state_cookie); +#line 11204 "ConfigurationInterfaces.c" +} + + +static gboolean configuration_facade_real_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) { + gboolean result = FALSE; + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + gboolean _tmp5_ = FALSE; + gboolean _tmp6_ = FALSE; + gboolean _tmp7_ = FALSE; +#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (domain != NULL, FALSE); +#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (id != NULL, FALSE); +#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (key != NULL, FALSE); +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = domain; +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = id; +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = key; +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = def; +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = configuration_engine_get_plugin_bool (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = _tmp6_; +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 11246 "ConfigurationInterfaces.c" +} + + +gboolean configuration_facade_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) { +#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); +#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_bool (self, domain, id, key, def); +#line 11255 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + gboolean _tmp5_ = FALSE; +#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (domain != NULL); +#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (id != NULL); +#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (key != NULL); +#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = domain; +#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = id; +#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = key; +#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = val; +#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_plugin_bool (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); +#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 11288 "ConfigurationInterfaces.c" +} + + +void configuration_facade_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) { +#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_bool (self, domain, id, key, val); +#line 11297 "ConfigurationInterfaces.c" +} + + +static gdouble configuration_facade_real_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) { + gdouble result = 0.0; + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + gdouble _tmp5_ = 0.0; + gdouble _tmp6_ = 0.0; + gdouble _tmp7_ = 0.0; +#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (domain != NULL, 0.0); +#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (id != NULL, 0.0); +#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (key != NULL, 0.0); +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = domain; +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = id; +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = key; +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = def; +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = configuration_engine_get_plugin_double (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = _tmp6_; +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 11339 "ConfigurationInterfaces.c" +} + + +gdouble configuration_facade_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) { +#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); +#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_double (self, domain, id, key, def); +#line 11348 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + gdouble _tmp5_ = 0.0; +#line 1629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (domain != NULL); +#line 1629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (id != NULL); +#line 1629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (key != NULL); +#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = domain; +#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = id; +#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = key; +#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = val; +#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_plugin_double (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); +#line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 11381 "ConfigurationInterfaces.c" +} + + +void configuration_facade_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) { +#line 1629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1629 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_double (self, domain, id, key, val); +#line 11390 "ConfigurationInterfaces.c" +} + + +static gint configuration_facade_real_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def) { + gint result = 0; + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + gint _tmp5_ = 0; + gint _tmp6_ = 0; + gint _tmp7_ = 0; +#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (domain != NULL, 0); +#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (id != NULL, 0); +#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (key != NULL, 0); +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = domain; +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = id; +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = key; +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = def; +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = configuration_engine_get_plugin_int (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = _tmp6_; +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp7_; +#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 11432 "ConfigurationInterfaces.c" +} + + +gint configuration_facade_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def) { +#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_int (self, domain, id, key, def); +#line 11441 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val) { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + gint _tmp5_ = 0; +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (domain != NULL); +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (id != NULL); +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (key != NULL); +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = domain; +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = id; +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = key; +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = val; +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_plugin_int (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); +#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 11474 "ConfigurationInterfaces.c" +} + + +void configuration_facade_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val) { +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_int (self, domain, id, key, val); +#line 11483 "ConfigurationInterfaces.c" +} + + +static gchar* configuration_facade_real_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) { + gchar* result = NULL; + gchar* _result_ = NULL; + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; + const gchar* _tmp8_ = NULL; + const gchar* _tmp9_ = NULL; + gchar* _tmp11_ = NULL; +#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (domain != NULL, NULL); +#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (id != NULL, NULL); +#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (key != NULL, NULL); +#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = domain; +#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = id; +#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = key; +#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = def; +#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = configuration_engine_get_plugin_string (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); +#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp7_ = _tmp6_; +#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _result_ = _tmp7_; +#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp9_ = _result_; +#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (g_strcmp0 (_tmp9_, "") == 0) { +#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = NULL; +#line 11533 "ConfigurationInterfaces.c" + } else { + const gchar* _tmp10_ = NULL; +#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp10_ = _result_; +#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp8_ = _tmp10_; +#line 11540 "ConfigurationInterfaces.c" + } +#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp11_ = g_strdup (_tmp8_); +#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp11_; +#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_free0 (_result_); +#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 11550 "ConfigurationInterfaces.c" +} + + +gchar* configuration_facade_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) { +#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); +#line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_string (self, domain, id, key, def); +#line 11559 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) { + const gchar* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + ConfigurationEngine* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + const gchar* _tmp6_ = NULL; +#line 1646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (domain != NULL); +#line 1646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (id != NULL); +#line 1646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (key != NULL); +#line 1647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = val; +#line 1647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + if (_tmp0_ == NULL) { +#line 1648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + val = ""; +#line 11583 "ConfigurationInterfaces.c" + } +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = configuration_facade_get_engine (self); +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = _tmp1_; +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = domain; +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = id; +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp5_ = key; +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp6_ = val; +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_plugin_string (_tmp2_, _tmp3_, _tmp4_, _tmp5_, _tmp6_); +#line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp2_); +#line 11601 "ConfigurationInterfaces.c" +} + + +void configuration_facade_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) { +#line 1646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_string (self, domain, id, key, val); +#line 11610 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_unset_plugin_key (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key) { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; +#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (domain != NULL); +#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (id != NULL); +#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (key != NULL); +#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = domain; +#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = id; +#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = key; +#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_unset_plugin_key (_tmp1_, _tmp2_, _tmp3_, _tmp4_); +#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 11640 "ConfigurationInterfaces.c" +} + + +void configuration_facade_unset_plugin_key (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key) { +#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->unset_plugin_key (self, domain, id, key); +#line 11649 "ConfigurationInterfaces.c" +} + + +static FuzzyPropertyState configuration_facade_real_is_plugin_enabled (ConfigurationFacade* self, const gchar* id) { + FuzzyPropertyState result = 0; + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + FuzzyPropertyState _tmp3_ = 0; + FuzzyPropertyState _tmp4_ = 0; +#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (id != NULL, 0); +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = id; +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = configuration_engine_is_plugin_enabled (_tmp1_, _tmp2_); +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp4_ = _tmp3_; +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + result = _tmp4_; +#line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return result; +#line 11678 "ConfigurationInterfaces.c" +} + + +FuzzyPropertyState configuration_facade_is_plugin_enabled (ConfigurationFacade* self, const gchar* id) { +#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); +#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + return CONFIGURATION_FACADE_GET_CLASS (self)->is_plugin_enabled (self, id); +#line 11687 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_real_set_plugin_enabled (ConfigurationFacade* self, const gchar* id, gboolean enabled) { + ConfigurationEngine* _tmp0_ = NULL; + ConfigurationEngine* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + gboolean _tmp3_ = FALSE; +#line 1664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (id != NULL); +#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp0_ = configuration_facade_get_engine (self); +#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp1_ = _tmp0_; +#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp2_ = id; +#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _tmp3_ = enabled; +#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_engine_set_plugin_enabled (_tmp1_, _tmp2_, _tmp3_); +#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (_tmp1_); +#line 11710 "ConfigurationInterfaces.c" +} + + +void configuration_facade_set_plugin_enabled (ConfigurationFacade* self, const gchar* id, gboolean enabled) { +#line 1664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_return_if_fail (IS_CONFIGURATION_FACADE (self)); +#line 1664 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_enabled (self, id, enabled); +#line 11719 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_class_init (ConfigurationFacadeClass * klass) { +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + configuration_facade_parent_class = g_type_class_peek_parent (klass); +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_type_class_add_private (klass, sizeof (ConfigurationFacadePrivate)); +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_auto_import_from_library = configuration_facade_real_get_auto_import_from_library; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_auto_import_from_library = configuration_facade_real_set_auto_import_from_library; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_bg_color_name = configuration_facade_real_get_bg_color_name; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_bg_color_name = configuration_facade_real_set_bg_color_name; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_commit_metadata_to_masters = configuration_facade_real_get_commit_metadata_to_masters; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_commit_metadata_to_masters = configuration_facade_real_set_commit_metadata_to_masters; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_desktop_background = configuration_facade_real_get_desktop_background; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_desktop_background = configuration_facade_real_set_desktop_background; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_screensaver = configuration_facade_real_get_screensaver; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_screensaver = configuration_facade_real_set_screensaver; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_directory_pattern = configuration_facade_real_get_directory_pattern; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_directory_pattern = configuration_facade_real_set_directory_pattern; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_directory_pattern_custom = configuration_facade_real_get_directory_pattern_custom; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_directory_pattern_custom = configuration_facade_real_set_directory_pattern_custom; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_direct_window_state = configuration_facade_real_get_direct_window_state; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_direct_window_state = configuration_facade_real_set_direct_window_state; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_display_basic_properties = configuration_facade_real_get_display_basic_properties; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_display_basic_properties = configuration_facade_real_set_display_basic_properties; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_display_extended_properties = configuration_facade_real_get_display_extended_properties; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_display_extended_properties = configuration_facade_real_set_display_extended_properties; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_display_sidebar = configuration_facade_real_get_display_sidebar; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_display_sidebar = configuration_facade_real_set_display_sidebar; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_display_toolbar = configuration_facade_real_get_display_toolbar; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_display_toolbar = configuration_facade_real_set_display_toolbar; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_display_search_bar = configuration_facade_real_get_display_search_bar; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_display_search_bar = configuration_facade_real_set_display_search_bar; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_display_photo_ratings = configuration_facade_real_get_display_photo_ratings; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_display_photo_ratings = configuration_facade_real_set_display_photo_ratings; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_display_photo_tags = configuration_facade_real_get_display_photo_tags; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_display_photo_tags = configuration_facade_real_set_display_photo_tags; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_display_photo_titles = configuration_facade_real_get_display_photo_titles; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_display_photo_titles = configuration_facade_real_set_display_photo_titles; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_display_photo_comments = configuration_facade_real_get_display_photo_comments; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_display_photo_comments = configuration_facade_real_set_display_photo_comments; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_display_event_comments = configuration_facade_real_get_display_event_comments; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_display_event_comments = configuration_facade_real_set_display_event_comments; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_event_photos_sort = configuration_facade_real_get_event_photos_sort; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_event_photos_sort = configuration_facade_real_set_event_photos_sort; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_events_sort_ascending = configuration_facade_real_get_events_sort_ascending; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_events_sort_ascending = configuration_facade_real_set_events_sort_ascending; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_external_photo_app = configuration_facade_real_get_external_photo_app; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_external_photo_app = configuration_facade_real_set_external_photo_app; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_external_raw_app = configuration_facade_real_get_external_raw_app; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_external_raw_app = configuration_facade_real_set_external_raw_app; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_default_raw_developer = configuration_facade_real_get_default_raw_developer; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_default_raw_developer = configuration_facade_real_set_default_raw_developer; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_hide_photos_already_imported = configuration_facade_real_get_hide_photos_already_imported; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_hide_photos_already_imported = configuration_facade_real_set_hide_photos_already_imported; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_import_dir = configuration_facade_real_get_import_dir; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_import_dir = configuration_facade_real_set_import_dir; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_keep_relativity = configuration_facade_real_get_keep_relativity; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_keep_relativity = configuration_facade_real_set_keep_relativity; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_pin_toolbar_state = configuration_facade_real_get_pin_toolbar_state; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_pin_toolbar_state = configuration_facade_real_set_pin_toolbar_state; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_last_crop_height = configuration_facade_real_get_last_crop_height; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_last_crop_height = configuration_facade_real_set_last_crop_height; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_last_crop_menu_choice = configuration_facade_real_get_last_crop_menu_choice; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_last_crop_menu_choice = configuration_facade_real_set_last_crop_menu_choice; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_last_crop_width = configuration_facade_real_get_last_crop_width; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_last_crop_width = configuration_facade_real_set_last_crop_width; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_last_used_service = configuration_facade_real_get_last_used_service; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_last_used_service = configuration_facade_real_set_last_used_service; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_last_used_dataimports_service = configuration_facade_real_get_last_used_dataimports_service; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_last_used_dataimports_service = configuration_facade_real_set_last_used_dataimports_service; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_library_photos_sort = configuration_facade_real_get_library_photos_sort; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_library_photos_sort = configuration_facade_real_set_library_photos_sort; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_library_window_state = configuration_facade_real_get_library_window_state; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_library_window_state = configuration_facade_real_set_library_window_state; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_modify_originals = configuration_facade_real_get_modify_originals; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_modify_originals = configuration_facade_real_set_modify_originals; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_photo_thumbnail_scale = configuration_facade_real_get_photo_thumbnail_scale; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_photo_thumbnail_scale = configuration_facade_real_set_photo_thumbnail_scale; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_printing_content_height = configuration_facade_real_get_printing_content_height; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_printing_content_height = configuration_facade_real_set_printing_content_height; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_printing_content_layout = configuration_facade_real_get_printing_content_layout; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_printing_content_layout = configuration_facade_real_set_printing_content_layout; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_printing_content_ppi = configuration_facade_real_get_printing_content_ppi; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_printing_content_ppi = configuration_facade_real_set_printing_content_ppi; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_printing_content_units = configuration_facade_real_get_printing_content_units; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_printing_content_units = configuration_facade_real_set_printing_content_units; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_printing_content_width = configuration_facade_real_get_printing_content_width; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_printing_content_width = configuration_facade_real_set_printing_content_width; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_printing_images_per_page = configuration_facade_real_get_printing_images_per_page; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_printing_images_per_page = configuration_facade_real_set_printing_images_per_page; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_printing_match_aspect_ratio = configuration_facade_real_get_printing_match_aspect_ratio; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_printing_match_aspect_ratio = configuration_facade_real_set_printing_match_aspect_ratio; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_printing_print_titles = configuration_facade_real_get_printing_print_titles; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_printing_print_titles = configuration_facade_real_set_printing_print_titles; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_printing_size_selection = configuration_facade_real_get_printing_size_selection; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_printing_size_selection = configuration_facade_real_set_printing_size_selection; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_printing_titles_font = configuration_facade_real_get_printing_titles_font; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_printing_titles_font = configuration_facade_real_set_printing_titles_font; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_show_welcome_dialog = configuration_facade_real_get_show_welcome_dialog; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_show_welcome_dialog = configuration_facade_real_set_show_welcome_dialog; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_sidebar_position = configuration_facade_real_get_sidebar_position; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_sidebar_position = configuration_facade_real_set_sidebar_position; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_slideshow_delay = configuration_facade_real_get_slideshow_delay; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_slideshow_delay = configuration_facade_real_set_slideshow_delay; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_slideshow_transition_delay = configuration_facade_real_get_slideshow_transition_delay; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_slideshow_transition_delay = configuration_facade_real_set_slideshow_transition_delay; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_slideshow_transition_effect_id = configuration_facade_real_get_slideshow_transition_effect_id; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_slideshow_transition_effect_id = configuration_facade_real_set_slideshow_transition_effect_id; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_slideshow_show_title = configuration_facade_real_get_slideshow_show_title; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_slideshow_show_title = configuration_facade_real_set_slideshow_show_title; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_use_24_hour_time = configuration_facade_real_get_use_24_hour_time; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_use_24_hour_time = configuration_facade_real_set_use_24_hour_time; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_use_lowercase_filenames = configuration_facade_real_get_use_lowercase_filenames; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_use_lowercase_filenames = configuration_facade_real_set_use_lowercase_filenames; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_video_interpreter_state_cookie = configuration_facade_real_get_video_interpreter_state_cookie; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_video_interpreter_state_cookie = configuration_facade_real_set_video_interpreter_state_cookie; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_plugin_bool = configuration_facade_real_get_plugin_bool; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_plugin_bool = configuration_facade_real_set_plugin_bool; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_plugin_double = configuration_facade_real_get_plugin_double; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_plugin_double = configuration_facade_real_set_plugin_double; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_plugin_int = configuration_facade_real_get_plugin_int; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_plugin_int = configuration_facade_real_set_plugin_int; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->get_plugin_string = configuration_facade_real_get_plugin_string; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_plugin_string = configuration_facade_real_set_plugin_string; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->unset_plugin_key = configuration_facade_real_unset_plugin_key; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->is_plugin_enabled = configuration_facade_real_is_plugin_enabled; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + ((ConfigurationFacadeClass *) klass)->set_plugin_enabled = configuration_facade_real_set_plugin_enabled; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + G_OBJECT_CLASS (klass)->finalize = configuration_facade_finalize; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_new ("auto_import_from_library_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_new ("bg_color_name_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_new ("commit_metadata_to_masters_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_new ("events_sort_ascending_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_new ("external_app_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + g_signal_new ("import_directory_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); +#line 11984 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_instance_init (ConfigurationFacade * self) { +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + self->priv = CONFIGURATION_FACADE_GET_PRIVATE (self); +#line 11991 "ConfigurationInterfaces.c" +} + + +static void configuration_facade_finalize (GObject* obj) { + ConfigurationFacade * self; +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CONFIGURATION_FACADE, ConfigurationFacade); +#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + _g_object_unref0 (self->priv->engine); +#line 318 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" + G_OBJECT_CLASS (configuration_facade_parent_class)->finalize (obj); +#line 12003 "ConfigurationInterfaces.c" +} + + +GType configuration_facade_get_type (void) { + static volatile gsize configuration_facade_type_id__volatile = 0; + if (g_once_init_enter (&configuration_facade_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (ConfigurationFacadeClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) configuration_facade_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (ConfigurationFacade), 0, (GInstanceInitFunc) configuration_facade_instance_init, NULL }; + GType configuration_facade_type_id; + configuration_facade_type_id = g_type_register_static (G_TYPE_OBJECT, "ConfigurationFacade", &g_define_type_info, G_TYPE_FLAG_ABSTRACT); + g_once_init_leave (&configuration_facade_type_id__volatile, configuration_facade_type_id); + } + return configuration_facade_type_id__volatile; +} + + + diff --git a/src/config/ConfigurationInterfaces.vala b/src/config/ConfigurationInterfaces.vala index 03e7f59..9414f49 100644 --- a/src/config/ConfigurationInterfaces.vala +++ b/src/config/ConfigurationInterfaces.vala @@ -36,6 +36,7 @@ public enum ConfigurableProperty { DISPLAY_EVENT_COMMENTS, DISPLAY_EXTENDED_PROPERTIES, DISPLAY_SIDEBAR, + DISPLAY_TOOLBAR, DISPLAY_SEARCH_BAR, DISPLAY_PHOTO_RATINGS, DISPLAY_PHOTO_TAGS, @@ -132,6 +133,9 @@ public enum ConfigurableProperty { case DISPLAY_SIDEBAR: return "DISPLAY_SIDEBAR"; + + case DISPLAY_TOOLBAR: + return "DISPLAY_TOOLBAR"; case DISPLAY_SEARCH_BAR: return "DISPLAY_SEARCH_BAR"; @@ -630,6 +634,28 @@ public abstract class ConfigurationFacade : Object { } } + + // + // display toolbar + // + public virtual bool get_display_toolbar() { + try { + return get_engine().get_bool_property(ConfigurableProperty.DISPLAY_TOOLBAR); + } catch (ConfigurationError err) { + on_configuration_error(err); + + return false; + } + } + + public virtual void set_display_toolbar(bool display) { + try { + get_engine().set_bool_property(ConfigurableProperty.DISPLAY_TOOLBAR, display); + } catch (ConfigurationError err) { + on_configuration_error(err); + } + } + // // display search & filter toolbar // diff --git a/src/config/GSettingsEngine.c b/src/config/GSettingsEngine.c new file mode 100644 index 0000000..c27e400 --- /dev/null +++ b/src/config/GSettingsEngine.c @@ -0,0 +1,5519 @@ +/* GSettingsEngine.c generated by valac 0.32.1, the Vala compiler + * generated from GSettingsEngine.vala, do not modify */ + +/* Copyright 2016 Software Freedom Conservancy Inc. + * + * This software is licensed under the GNU LGPL (version 2.1 or later). + * See the COPYING file in this distribution. + */ + +#include +#include +#include +#include +#include +#include +#include +#include + + +#define TYPE_CONFIGURATION_ENGINE (configuration_engine_get_type ()) +#define CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_ENGINE, ConfigurationEngine)) +#define IS_CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_ENGINE)) +#define CONFIGURATION_ENGINE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_CONFIGURATION_ENGINE, ConfigurationEngineIface)) + +typedef struct _ConfigurationEngine ConfigurationEngine; +typedef struct _ConfigurationEngineIface ConfigurationEngineIface; + +#define TYPE_CONFIGURABLE_PROPERTY (configurable_property_get_type ()) + +#define TYPE_FUZZY_PROPERTY_STATE (fuzzy_property_state_get_type ()) + +#define TYPE_GSETTINGS_CONFIGURATION_ENGINE (gsettings_configuration_engine_get_type ()) +#define GSETTINGS_CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine)) +#define GSETTINGS_CONFIGURATION_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngineClass)) +#define IS_GSETTINGS_CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_GSETTINGS_CONFIGURATION_ENGINE)) +#define IS_GSETTINGS_CONFIGURATION_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_GSETTINGS_CONFIGURATION_ENGINE)) +#define GSETTINGS_CONFIGURATION_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngineClass)) + +typedef struct _GSettingsConfigurationEngine GSettingsConfigurationEngine; +typedef struct _GSettingsConfigurationEngineClass GSettingsConfigurationEngineClass; +typedef struct _GSettingsConfigurationEnginePrivate GSettingsConfigurationEnginePrivate; +#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) +#define _g_free0(var) (var = (g_free (var), NULL)) +#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL))) +#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) + +typedef enum { + CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY = 0, + CONFIGURABLE_PROPERTY_BG_COLOR_NAME, + CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, + CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, + CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, + CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, + CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, + CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, + CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, + CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, + CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, + CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, + CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, + CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, + CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, + CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, + CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, + CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, + CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, + CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, + CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, + CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, + CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, + CONFIGURABLE_PROPERTY_IMPORT_DIR, + CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, + CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, + CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, + CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, + CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, + CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, + CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, + CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, + CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, + CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, + CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, + CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, + CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, + CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, + CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, + CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, + CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, + CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, + CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, + CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, + CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, + CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, + CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, + CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, + CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, + CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, + CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, + CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, + CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, + CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, + CONFIGURABLE_PROPERTY_NUM_PROPERTIES +} ConfigurableProperty; + +typedef enum { + CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE, + CONFIGURATION_ERROR_ENGINE_ERROR +} ConfigurationError; +#define CONFIGURATION_ERROR configuration_error_quark () +typedef enum { + FUZZY_PROPERTY_STATE_ENABLED, + FUZZY_PROPERTY_STATE_DISABLED, + FUZZY_PROPERTY_STATE_UNKNOWN +} FuzzyPropertyState; + +struct _ConfigurationEngineIface { + GTypeInterface parent_iface; + gchar* (*get_name) (ConfigurationEngine* self); + gint (*get_int_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_int_property) (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error); + gchar* (*get_string_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_string_property) (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error); + gboolean (*get_bool_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_bool_property) (ConfigurationEngine* self, ConfigurableProperty p, gboolean val, GError** error); + gdouble (*get_double_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); + void (*set_double_property) (ConfigurationEngine* self, ConfigurableProperty p, gdouble val, GError** error); + gboolean (*get_plugin_bool) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def); + void (*set_plugin_bool) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val); + gdouble (*get_plugin_double) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def); + void (*set_plugin_double) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val); + gint (*get_plugin_int) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint def); + void (*set_plugin_int) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint val); + gchar* (*get_plugin_string) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def); + void (*set_plugin_string) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val); + void (*unset_plugin_key) (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key); + FuzzyPropertyState (*is_plugin_enabled) (ConfigurationEngine* self, const gchar* id); + void (*set_plugin_enabled) (ConfigurationEngine* self, const gchar* id, gboolean enabled); +}; + +struct _GSettingsConfigurationEngine { + GObject parent_instance; + GSettingsConfigurationEnginePrivate * priv; +}; + +struct _GSettingsConfigurationEngineClass { + GObjectClass parent_class; +}; + +struct _GSettingsConfigurationEnginePrivate { + GeeSet* known_schemas; + gchar** schema_names; + gint schema_names_length1; + gint _schema_names_size_; + gchar** key_names; + gint key_names_length1; + gint _key_names_size_; +}; + + +static gpointer gsettings_configuration_engine_parent_class = NULL; +static ConfigurationEngineIface* gsettings_configuration_engine_configuration_engine_parent_iface = NULL; + +GType configurable_property_get_type (void) G_GNUC_CONST; +GQuark configuration_error_quark (void); +GType fuzzy_property_state_get_type (void) G_GNUC_CONST; +GType configuration_engine_get_type (void) G_GNUC_CONST; +GType gsettings_configuration_engine_get_type (void) G_GNUC_CONST; +#define GSETTINGS_CONFIGURATION_ENGINE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEnginePrivate)) +enum { + GSETTINGS_CONFIGURATION_ENGINE_DUMMY_PROPERTY +}; +#define GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME "org.yorba.shotwell" +#define GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".preferences" +#define GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".ui" +#define GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".slideshow" +#define GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".window" +#define GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".files" +#define GSETTINGS_CONFIGURATION_ENGINE_EDITING_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".editing" +#define GSETTINGS_CONFIGURATION_ENGINE_VIDEO_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".video" +#define GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".printing" +#define GSETTINGS_CONFIGURATION_ENGINE_SHARING_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".sharing" +#define GSETTINGS_CONFIGURATION_ENGINE_IMPORTING_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".dataimports" +#define GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".crop-settings" +#define GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_DESKTOP_SCHEMA_NAME "org.gnome.desktop.background" +#define GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_SCREENSAVER_SCHEMA_NAME "org.gnome.desktop.screensaver" +#define GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_ROOT_SCHEMA_NAME ".plugins.enable-state" +GSettingsConfigurationEngine* gsettings_configuration_engine_new (void); +GSettingsConfigurationEngine* gsettings_configuration_engine_construct (GType object_type); +static gboolean gsettings_configuration_engine_schema_has_key (GSettingsConfigurationEngine* self, GSettings* schema_object, const gchar* key); +static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); +static gboolean gsettings_configuration_engine_get_gs_bool (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); +static void gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gboolean value, GError** error); +static gint gsettings_configuration_engine_get_gs_int (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); +static void gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gint value, GError** error); +static gdouble gsettings_configuration_engine_get_gs_double (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); +static void gsettings_configuration_engine_set_gs_double (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gdouble value, GError** error); +static gchar* gsettings_configuration_engine_get_gs_string (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); +static void gsettings_configuration_engine_set_gs_string (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, const gchar* value, GError** error); +static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error); +static gchar* gsettings_configuration_engine_clean_plugin_id (const gchar* id); +gboolean is_string_empty (const gchar* s); +static gchar* gsettings_configuration_engine_get_plugin_enable_disable_name (const gchar* id); +static gchar* gsettings_configuration_engine_make_plugin_schema_name (const gchar* domain, const gchar* id); +static gchar* gsettings_configuration_engine_make_gsettings_key (const gchar* gconf_key); +static gchar* gsettings_configuration_engine_real_get_name (ConfigurationEngine* base); +static gint gsettings_configuration_engine_real_get_int_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error); +static void gsettings_configuration_engine_real_set_int_property (ConfigurationEngine* base, ConfigurableProperty p, gint val, GError** error); +static gchar* gsettings_configuration_engine_real_get_string_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error); +static void gsettings_configuration_engine_real_set_string_property (ConfigurationEngine* base, ConfigurableProperty p, const gchar* val, GError** error); +static gboolean gsettings_configuration_engine_real_get_bool_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error); +static void gsettings_configuration_engine_real_set_bool_property (ConfigurationEngine* base, ConfigurableProperty p, gboolean val, GError** error); +static gdouble gsettings_configuration_engine_real_get_double_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error); +static void gsettings_configuration_engine_real_set_double_property (ConfigurationEngine* base, ConfigurableProperty p, gdouble val, GError** error); +static gboolean gsettings_configuration_engine_real_get_plugin_bool (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gboolean def); +static void gsettings_configuration_engine_real_set_plugin_bool (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gboolean val); +static gdouble gsettings_configuration_engine_real_get_plugin_double (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gdouble def); +static void gsettings_configuration_engine_real_set_plugin_double (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gdouble val); +static gint gsettings_configuration_engine_real_get_plugin_int (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gint def); +static void gsettings_configuration_engine_real_set_plugin_int (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gint val); +static gchar* gsettings_configuration_engine_real_get_plugin_string (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, const gchar* def); +static void gsettings_configuration_engine_real_set_plugin_string (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, const gchar* val); +static void gsettings_configuration_engine_real_unset_plugin_key (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key); +static FuzzyPropertyState gsettings_configuration_engine_real_is_plugin_enabled (ConfigurationEngine* base, const gchar* id); +static void gsettings_configuration_engine_real_set_plugin_enabled (ConfigurationEngine* base, const gchar* id, gboolean enabled); +void gsettings_configuration_engine_run_gsettings_migrator (void); +GFile* app_dirs_get_settings_migrator_bin (void); +static void gsettings_configuration_engine_finalize (GObject* obj); +static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func); +static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func); +static gint _vala_array_length (gpointer array); + + +GSettingsConfigurationEngine* gsettings_configuration_engine_construct (GType object_type) { + GSettingsConfigurationEngine * self = NULL; + GeeHashSet* _tmp0_ = NULL; + gchar** _tmp1_ = NULL; + gchar** _tmp2_ = NULL; + gchar** _tmp6_ = NULL; + gchar** _tmp7_ = NULL; + gint _tmp7__length1 = 0; + gchar* _tmp8_ = NULL; + gchar* _tmp9_ = NULL; + gchar** _tmp10_ = NULL; + gint _tmp10__length1 = 0; + gchar* _tmp11_ = NULL; + gchar* _tmp12_ = NULL; + gchar** _tmp13_ = NULL; + gint _tmp13__length1 = 0; + gchar* _tmp14_ = NULL; + gchar* _tmp15_ = NULL; + gchar** _tmp16_ = NULL; + gint _tmp16__length1 = 0; + gchar* _tmp17_ = NULL; + gchar* _tmp18_ = NULL; + gchar** _tmp19_ = NULL; + gint _tmp19__length1 = 0; + gchar* _tmp20_ = NULL; + gchar* _tmp21_ = NULL; + gchar** _tmp22_ = NULL; + gint _tmp22__length1 = 0; + gchar* _tmp23_ = NULL; + gchar* _tmp24_ = NULL; + gchar** _tmp25_ = NULL; + gint _tmp25__length1 = 0; + gchar* _tmp26_ = NULL; + gchar* _tmp27_ = NULL; + gchar** _tmp28_ = NULL; + gint _tmp28__length1 = 0; + gchar* _tmp29_ = NULL; + gchar* _tmp30_ = NULL; + gchar** _tmp31_ = NULL; + gint _tmp31__length1 = 0; + gchar* _tmp32_ = NULL; + gchar* _tmp33_ = NULL; + gchar** _tmp34_ = NULL; + gint _tmp34__length1 = 0; + gchar* _tmp35_ = NULL; + gchar* _tmp36_ = NULL; + gchar** _tmp37_ = NULL; + gint _tmp37__length1 = 0; + gchar* _tmp38_ = NULL; + gchar* _tmp39_ = NULL; + gchar** _tmp40_ = NULL; + gint _tmp40__length1 = 0; + gchar* _tmp41_ = NULL; + gchar* _tmp42_ = NULL; + gchar** _tmp43_ = NULL; + gint _tmp43__length1 = 0; + gchar* _tmp44_ = NULL; + gchar* _tmp45_ = NULL; + gchar** _tmp46_ = NULL; + gint _tmp46__length1 = 0; + gchar* _tmp47_ = NULL; + gchar* _tmp48_ = NULL; + gchar** _tmp49_ = NULL; + gint _tmp49__length1 = 0; + gchar* _tmp50_ = NULL; + gchar* _tmp51_ = NULL; + gchar** _tmp52_ = NULL; + gint _tmp52__length1 = 0; + gchar* _tmp53_ = NULL; + gchar* _tmp54_ = NULL; + gchar** _tmp55_ = NULL; + gint _tmp55__length1 = 0; + gchar* _tmp56_ = NULL; + gchar* _tmp57_ = NULL; + gchar** _tmp58_ = NULL; + gint _tmp58__length1 = 0; + gchar* _tmp59_ = NULL; + gchar* _tmp60_ = NULL; + gchar** _tmp61_ = NULL; + gint _tmp61__length1 = 0; + gchar* _tmp62_ = NULL; + gchar* _tmp63_ = NULL; + gchar** _tmp64_ = NULL; + gint _tmp64__length1 = 0; + gchar* _tmp65_ = NULL; + gchar* _tmp66_ = NULL; + gchar** _tmp67_ = NULL; + gint _tmp67__length1 = 0; + gchar* _tmp68_ = NULL; + gchar* _tmp69_ = NULL; + gchar** _tmp70_ = NULL; + gint _tmp70__length1 = 0; + gchar* _tmp71_ = NULL; + gchar* _tmp72_ = NULL; + gchar** _tmp73_ = NULL; + gint _tmp73__length1 = 0; + gchar* _tmp74_ = NULL; + gchar* _tmp75_ = NULL; + gchar** _tmp76_ = NULL; + gint _tmp76__length1 = 0; + gchar* _tmp77_ = NULL; + gchar* _tmp78_ = NULL; + gchar** _tmp79_ = NULL; + gint _tmp79__length1 = 0; + gchar* _tmp80_ = NULL; + gchar* _tmp81_ = NULL; + gchar** _tmp82_ = NULL; + gint _tmp82__length1 = 0; + gchar* _tmp83_ = NULL; + gchar* _tmp84_ = NULL; + gchar** _tmp85_ = NULL; + gint _tmp85__length1 = 0; + gchar* _tmp86_ = NULL; + gchar* _tmp87_ = NULL; + gchar** _tmp88_ = NULL; + gint _tmp88__length1 = 0; + gchar* _tmp89_ = NULL; + gchar* _tmp90_ = NULL; + gchar** _tmp91_ = NULL; + gint _tmp91__length1 = 0; + gchar* _tmp92_ = NULL; + gchar* _tmp93_ = NULL; + gchar** _tmp94_ = NULL; + gint _tmp94__length1 = 0; + gchar* _tmp95_ = NULL; + gchar* _tmp96_ = NULL; + gchar** _tmp97_ = NULL; + gint _tmp97__length1 = 0; + gchar* _tmp98_ = NULL; + gchar* _tmp99_ = NULL; + gchar** _tmp100_ = NULL; + gint _tmp100__length1 = 0; + gchar* _tmp101_ = NULL; + gchar* _tmp102_ = NULL; + gchar** _tmp103_ = NULL; + gint _tmp103__length1 = 0; + gchar* _tmp104_ = NULL; + gchar* _tmp105_ = NULL; + gchar** _tmp106_ = NULL; + gint _tmp106__length1 = 0; + gchar* _tmp107_ = NULL; + gchar* _tmp108_ = NULL; + gchar** _tmp109_ = NULL; + gint _tmp109__length1 = 0; + gchar* _tmp110_ = NULL; + gchar* _tmp111_ = NULL; + gchar** _tmp112_ = NULL; + gint _tmp112__length1 = 0; + gchar* _tmp113_ = NULL; + gchar* _tmp114_ = NULL; + gchar** _tmp115_ = NULL; + gint _tmp115__length1 = 0; + gchar* _tmp116_ = NULL; + gchar* _tmp117_ = NULL; + gchar** _tmp118_ = NULL; + gint _tmp118__length1 = 0; + gchar* _tmp119_ = NULL; + gchar* _tmp120_ = NULL; + gchar** _tmp121_ = NULL; + gint _tmp121__length1 = 0; + gchar* _tmp122_ = NULL; + gchar* _tmp123_ = NULL; + gchar** _tmp124_ = NULL; + gint _tmp124__length1 = 0; + gchar* _tmp125_ = NULL; + gchar* _tmp126_ = NULL; + gchar** _tmp127_ = NULL; + gint _tmp127__length1 = 0; + gchar* _tmp128_ = NULL; + gchar* _tmp129_ = NULL; + gchar** _tmp130_ = NULL; + gint _tmp130__length1 = 0; + gchar* _tmp131_ = NULL; + gchar* _tmp132_ = NULL; + gchar** _tmp133_ = NULL; + gint _tmp133__length1 = 0; + gchar* _tmp134_ = NULL; + gchar* _tmp135_ = NULL; + gchar** _tmp136_ = NULL; + gint _tmp136__length1 = 0; + gchar* _tmp137_ = NULL; + gchar* _tmp138_ = NULL; + gchar** _tmp139_ = NULL; + gint _tmp139__length1 = 0; + gchar* _tmp140_ = NULL; + gchar* _tmp141_ = NULL; + gchar** _tmp142_ = NULL; + gint _tmp142__length1 = 0; + gchar* _tmp143_ = NULL; + gchar* _tmp144_ = NULL; + gchar** _tmp145_ = NULL; + gint _tmp145__length1 = 0; + gchar* _tmp146_ = NULL; + gchar* _tmp147_ = NULL; + gchar** _tmp148_ = NULL; + gint _tmp148__length1 = 0; + gchar* _tmp149_ = NULL; + gchar* _tmp150_ = NULL; + gchar** _tmp151_ = NULL; + gint _tmp151__length1 = 0; + gchar* _tmp152_ = NULL; + gchar* _tmp153_ = NULL; + gchar** _tmp154_ = NULL; + gint _tmp154__length1 = 0; + gchar* _tmp155_ = NULL; + gchar* _tmp156_ = NULL; + gchar** _tmp157_ = NULL; + gint _tmp157__length1 = 0; + gchar* _tmp158_ = NULL; + gchar* _tmp159_ = NULL; + gchar** _tmp160_ = NULL; + gint _tmp160__length1 = 0; + gchar* _tmp161_ = NULL; + gchar* _tmp162_ = NULL; + gchar** _tmp163_ = NULL; + gint _tmp163__length1 = 0; + gchar* _tmp164_ = NULL; + gchar* _tmp165_ = NULL; + gchar** _tmp166_ = NULL; + gint _tmp166__length1 = 0; + gchar* _tmp167_ = NULL; + gchar* _tmp168_ = NULL; + gchar** _tmp169_ = NULL; + gint _tmp169__length1 = 0; + gchar* _tmp170_ = NULL; + gchar* _tmp171_ = NULL; + gchar** _tmp172_ = NULL; + gint _tmp172__length1 = 0; + gchar* _tmp173_ = NULL; + gchar* _tmp174_ = NULL; + gchar** _tmp175_ = NULL; + gint _tmp175__length1 = 0; + gchar* _tmp176_ = NULL; + gchar* _tmp177_ = NULL; + gchar** _tmp178_ = NULL; + gint _tmp178__length1 = 0; + gchar* _tmp179_ = NULL; + gchar* _tmp180_ = NULL; + gchar** _tmp181_ = NULL; + gint _tmp181__length1 = 0; + gchar* _tmp182_ = NULL; + gchar* _tmp183_ = NULL; + gchar** _tmp184_ = NULL; + gint _tmp184__length1 = 0; + gchar* _tmp185_ = NULL; + gchar* _tmp186_ = NULL; + gchar** _tmp187_ = NULL; + gint _tmp187__length1 = 0; + gchar* _tmp188_ = NULL; + gchar* _tmp189_ = NULL; + gchar** _tmp190_ = NULL; + gint _tmp190__length1 = 0; + gchar* _tmp191_ = NULL; + gchar* _tmp192_ = NULL; + gchar** _tmp193_ = NULL; + gint _tmp193__length1 = 0; + gchar* _tmp194_ = NULL; + gchar* _tmp195_ = NULL; + gchar** _tmp196_ = NULL; + gchar** _tmp197_ = NULL; + gint _tmp197__length1 = 0; + gchar* _tmp198_ = NULL; + gchar* _tmp199_ = NULL; + gchar** _tmp200_ = NULL; + gint _tmp200__length1 = 0; + gchar* _tmp201_ = NULL; + gchar* _tmp202_ = NULL; + gchar** _tmp203_ = NULL; + gint _tmp203__length1 = 0; + gchar* _tmp204_ = NULL; + gchar* _tmp205_ = NULL; + gchar** _tmp206_ = NULL; + gint _tmp206__length1 = 0; + gchar* _tmp207_ = NULL; + gchar* _tmp208_ = NULL; + gchar** _tmp209_ = NULL; + gint _tmp209__length1 = 0; + gchar* _tmp210_ = NULL; + gchar* _tmp211_ = NULL; + gchar** _tmp212_ = NULL; + gint _tmp212__length1 = 0; + gchar* _tmp213_ = NULL; + gchar* _tmp214_ = NULL; + gchar** _tmp215_ = NULL; + gint _tmp215__length1 = 0; + gchar* _tmp216_ = NULL; + gchar* _tmp217_ = NULL; + gchar** _tmp218_ = NULL; + gint _tmp218__length1 = 0; + gchar* _tmp219_ = NULL; + gchar* _tmp220_ = NULL; + gchar** _tmp221_ = NULL; + gint _tmp221__length1 = 0; + gchar* _tmp222_ = NULL; + gchar* _tmp223_ = NULL; + gchar** _tmp224_ = NULL; + gint _tmp224__length1 = 0; + gchar* _tmp225_ = NULL; + gchar* _tmp226_ = NULL; + gchar** _tmp227_ = NULL; + gint _tmp227__length1 = 0; + gchar* _tmp228_ = NULL; + gchar* _tmp229_ = NULL; + gchar** _tmp230_ = NULL; + gint _tmp230__length1 = 0; + gchar* _tmp231_ = NULL; + gchar* _tmp232_ = NULL; + gchar** _tmp233_ = NULL; + gint _tmp233__length1 = 0; + gchar* _tmp234_ = NULL; + gchar* _tmp235_ = NULL; + gchar** _tmp236_ = NULL; + gint _tmp236__length1 = 0; + gchar* _tmp237_ = NULL; + gchar* _tmp238_ = NULL; + gchar** _tmp239_ = NULL; + gint _tmp239__length1 = 0; + gchar* _tmp240_ = NULL; + gchar* _tmp241_ = NULL; + gchar** _tmp242_ = NULL; + gint _tmp242__length1 = 0; + gchar* _tmp243_ = NULL; + gchar* _tmp244_ = NULL; + gchar** _tmp245_ = NULL; + gint _tmp245__length1 = 0; + gchar* _tmp246_ = NULL; + gchar* _tmp247_ = NULL; + gchar** _tmp248_ = NULL; + gint _tmp248__length1 = 0; + gchar* _tmp249_ = NULL; + gchar* _tmp250_ = NULL; + gchar** _tmp251_ = NULL; + gint _tmp251__length1 = 0; + gchar* _tmp252_ = NULL; + gchar* _tmp253_ = NULL; + gchar** _tmp254_ = NULL; + gint _tmp254__length1 = 0; + gchar* _tmp255_ = NULL; + gchar* _tmp256_ = NULL; + gchar** _tmp257_ = NULL; + gint _tmp257__length1 = 0; + gchar* _tmp258_ = NULL; + gchar* _tmp259_ = NULL; + gchar** _tmp260_ = NULL; + gint _tmp260__length1 = 0; + gchar* _tmp261_ = NULL; + gchar* _tmp262_ = NULL; + gchar** _tmp263_ = NULL; + gint _tmp263__length1 = 0; + gchar* _tmp264_ = NULL; + gchar* _tmp265_ = NULL; + gchar** _tmp266_ = NULL; + gint _tmp266__length1 = 0; + gchar* _tmp267_ = NULL; + gchar* _tmp268_ = NULL; + gchar** _tmp269_ = NULL; + gint _tmp269__length1 = 0; + gchar* _tmp270_ = NULL; + gchar* _tmp271_ = NULL; + gchar** _tmp272_ = NULL; + gint _tmp272__length1 = 0; + gchar* _tmp273_ = NULL; + gchar* _tmp274_ = NULL; + gchar** _tmp275_ = NULL; + gint _tmp275__length1 = 0; + gchar* _tmp276_ = NULL; + gchar* _tmp277_ = NULL; + gchar** _tmp278_ = NULL; + gint _tmp278__length1 = 0; + gchar* _tmp279_ = NULL; + gchar* _tmp280_ = NULL; + gchar** _tmp281_ = NULL; + gint _tmp281__length1 = 0; + gchar* _tmp282_ = NULL; + gchar* _tmp283_ = NULL; + gchar** _tmp284_ = NULL; + gint _tmp284__length1 = 0; + gchar* _tmp285_ = NULL; + gchar* _tmp286_ = NULL; + gchar** _tmp287_ = NULL; + gint _tmp287__length1 = 0; + gchar* _tmp288_ = NULL; + gchar* _tmp289_ = NULL; + gchar** _tmp290_ = NULL; + gint _tmp290__length1 = 0; + gchar* _tmp291_ = NULL; + gchar* _tmp292_ = NULL; + gchar** _tmp293_ = NULL; + gint _tmp293__length1 = 0; + gchar* _tmp294_ = NULL; + gchar* _tmp295_ = NULL; + gchar** _tmp296_ = NULL; + gint _tmp296__length1 = 0; + gchar* _tmp297_ = NULL; + gchar* _tmp298_ = NULL; + gchar** _tmp299_ = NULL; + gint _tmp299__length1 = 0; + gchar* _tmp300_ = NULL; + gchar* _tmp301_ = NULL; + gchar** _tmp302_ = NULL; + gint _tmp302__length1 = 0; + gchar* _tmp303_ = NULL; + gchar* _tmp304_ = NULL; + gchar** _tmp305_ = NULL; + gint _tmp305__length1 = 0; + gchar* _tmp306_ = NULL; + gchar* _tmp307_ = NULL; + gchar** _tmp308_ = NULL; + gint _tmp308__length1 = 0; + gchar* _tmp309_ = NULL; + gchar* _tmp310_ = NULL; + gchar** _tmp311_ = NULL; + gint _tmp311__length1 = 0; + gchar* _tmp312_ = NULL; + gchar* _tmp313_ = NULL; + gchar** _tmp314_ = NULL; + gint _tmp314__length1 = 0; + gchar* _tmp315_ = NULL; + gchar* _tmp316_ = NULL; + gchar** _tmp317_ = NULL; + gint _tmp317__length1 = 0; + gchar* _tmp318_ = NULL; + gchar* _tmp319_ = NULL; + gchar** _tmp320_ = NULL; + gint _tmp320__length1 = 0; + gchar* _tmp321_ = NULL; + gchar* _tmp322_ = NULL; + gchar** _tmp323_ = NULL; + gint _tmp323__length1 = 0; + gchar* _tmp324_ = NULL; + gchar* _tmp325_ = NULL; + gchar** _tmp326_ = NULL; + gint _tmp326__length1 = 0; + gchar* _tmp327_ = NULL; + gchar* _tmp328_ = NULL; + gchar** _tmp329_ = NULL; + gint _tmp329__length1 = 0; + gchar* _tmp330_ = NULL; + gchar* _tmp331_ = NULL; + gchar** _tmp332_ = NULL; + gint _tmp332__length1 = 0; + gchar* _tmp333_ = NULL; + gchar* _tmp334_ = NULL; + gchar** _tmp335_ = NULL; + gint _tmp335__length1 = 0; + gchar* _tmp336_ = NULL; + gchar* _tmp337_ = NULL; + gchar** _tmp338_ = NULL; + gint _tmp338__length1 = 0; + gchar* _tmp339_ = NULL; + gchar* _tmp340_ = NULL; + gchar** _tmp341_ = NULL; + gint _tmp341__length1 = 0; + gchar* _tmp342_ = NULL; + gchar* _tmp343_ = NULL; + gchar** _tmp344_ = NULL; + gint _tmp344__length1 = 0; + gchar* _tmp345_ = NULL; + gchar* _tmp346_ = NULL; + gchar** _tmp347_ = NULL; + gint _tmp347__length1 = 0; + gchar* _tmp348_ = NULL; + gchar* _tmp349_ = NULL; + gchar** _tmp350_ = NULL; + gint _tmp350__length1 = 0; + gchar* _tmp351_ = NULL; + gchar* _tmp352_ = NULL; + gchar** _tmp353_ = NULL; + gint _tmp353__length1 = 0; + gchar* _tmp354_ = NULL; + gchar* _tmp355_ = NULL; + gchar** _tmp356_ = NULL; + gint _tmp356__length1 = 0; + gchar* _tmp357_ = NULL; + gchar* _tmp358_ = NULL; + gchar** _tmp359_ = NULL; + gint _tmp359__length1 = 0; + gchar* _tmp360_ = NULL; + gchar* _tmp361_ = NULL; + gchar** _tmp362_ = NULL; + gint _tmp362__length1 = 0; + gchar* _tmp363_ = NULL; + gchar* _tmp364_ = NULL; + gchar** _tmp365_ = NULL; + gint _tmp365__length1 = 0; + gchar* _tmp366_ = NULL; + gchar* _tmp367_ = NULL; + gchar** _tmp368_ = NULL; + gint _tmp368__length1 = 0; + gchar* _tmp369_ = NULL; + gchar* _tmp370_ = NULL; + gchar** _tmp371_ = NULL; + gint _tmp371__length1 = 0; + gchar* _tmp372_ = NULL; + gchar* _tmp373_ = NULL; + gchar** _tmp374_ = NULL; + gint _tmp374__length1 = 0; + gchar* _tmp375_ = NULL; + gchar* _tmp376_ = NULL; + gchar** _tmp377_ = NULL; + gint _tmp377__length1 = 0; + gchar* _tmp378_ = NULL; + gchar* _tmp379_ = NULL; + gchar** _tmp380_ = NULL; + gint _tmp380__length1 = 0; + gchar* _tmp381_ = NULL; + gchar* _tmp382_ = NULL; + gchar** _tmp383_ = NULL; + gint _tmp383__length1 = 0; + gchar* _tmp384_ = NULL; + gchar* _tmp385_ = NULL; +#line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = (GSettingsConfigurationEngine*) g_object_new (object_type, NULL); +#line 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL); +#line 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (self->priv->known_schemas); +#line 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->known_schemas = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_SET, GeeSet); +#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = _tmp1_ = g_settings_list_schemas (); +#line 764 "GSettingsEngine.c" + { + gchar** current_schema_collection = NULL; + gint current_schema_collection_length1 = 0; + gint _current_schema_collection_size_ = 0; + gint current_schema_it = 0; +#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + current_schema_collection = _tmp2_; +#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + current_schema_collection_length1 = _vala_array_length (_tmp1_); +#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + for (current_schema_it = 0; current_schema_it < _vala_array_length (_tmp1_); current_schema_it = current_schema_it + 1) { +#line 776 "GSettingsEngine.c" + gchar* _tmp3_ = NULL; + gchar* current_schema = NULL; +#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_strdup (current_schema_collection[current_schema_it]); +#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + current_schema = _tmp3_; +#line 783 "GSettingsEngine.c" + { + GeeSet* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; +#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = self->priv->known_schemas; +#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = current_schema; +#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection), _tmp5_); +#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (current_schema); +#line 795 "GSettingsEngine.c" + } + } + } +#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = g_new0 (gchar*, CONFIGURABLE_PROPERTY_NUM_PROPERTIES + 1); +#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->schema_names = (_vala_array_free (self->priv->schema_names, self->priv->schema_names_length1, (GDestroyNotify) g_free), NULL); +#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->schema_names = _tmp6_; +#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->schema_names_length1 = CONFIGURABLE_PROPERTY_NUM_PROPERTIES; +#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->_schema_names_size_ = self->priv->schema_names_length1; +#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = self->priv->schema_names; +#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7__length1 = self->priv->schema_names_length1; +#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); +#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp7_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]); +#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY] = _tmp8_; +#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp9_ = _tmp7_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]; +#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp10_ = self->priv->schema_names; +#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp10__length1 = self->priv->schema_names_length1; +#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp11_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp10_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]); +#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp10_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME] = _tmp11_; +#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp12_ = _tmp10_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]; +#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp13_ = self->priv->schema_names; +#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp13__length1 = self->priv->schema_names_length1; +#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp14_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); +#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp13_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]); +#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp13_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS] = _tmp14_; +#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp15_ = _tmp13_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]; +#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp16_ = self->priv->schema_names; +#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp16__length1 = self->priv->schema_names_length1; +#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp17_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_DESKTOP_SCHEMA_NAME); +#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp16_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]); +#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp16_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE] = _tmp17_; +#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp18_ = _tmp16_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]; +#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp19_ = self->priv->schema_names; +#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp19__length1 = self->priv->schema_names_length1; +#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp20_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_DESKTOP_SCHEMA_NAME); +#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp19_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]); +#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp19_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE] = _tmp20_; +#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp21_ = _tmp19_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]; +#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp22_ = self->priv->schema_names; +#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp22__length1 = self->priv->schema_names_length1; +#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp23_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_SCREENSAVER_SCHEMA_NAME); +#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp22_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]); +#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp22_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE] = _tmp23_; +#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp24_ = _tmp22_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]; +#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp25_ = self->priv->schema_names; +#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp25__length1 = self->priv->schema_names_length1; +#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp26_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_SCREENSAVER_SCHEMA_NAME); +#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp25_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]); +#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp25_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE] = _tmp26_; +#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp27_ = _tmp25_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]; +#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp28_ = self->priv->schema_names; +#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp28__length1 = self->priv->schema_names_length1; +#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp29_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); +#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp28_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]); +#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp28_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN] = _tmp29_; +#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp30_ = _tmp28_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]; +#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp31_ = self->priv->schema_names; +#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp31__length1 = self->priv->schema_names_length1; +#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp32_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); +#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp31_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]); +#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp31_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM] = _tmp32_; +#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp33_ = _tmp31_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]; +#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp34_ = self->priv->schema_names; +#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp34__length1 = self->priv->schema_names_length1; +#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp35_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); +#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]); +#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT] = _tmp35_; +#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp36_ = _tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]; +#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp37_ = self->priv->schema_names; +#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp37__length1 = self->priv->schema_names_length1; +#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp38_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); +#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp37_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]); +#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp37_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE] = _tmp38_; +#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp39_ = _tmp37_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]; +#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp40_ = self->priv->schema_names; +#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp40__length1 = self->priv->schema_names_length1; +#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp41_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); +#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp40_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]); +#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp40_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH] = _tmp41_; +#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp42_ = _tmp40_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]; +#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp43_ = self->priv->schema_names; +#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp43__length1 = self->priv->schema_names_length1; +#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp44_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]); +#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES] = _tmp44_; +#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp45_ = _tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]; +#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp46_ = self->priv->schema_names; +#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp46__length1 = self->priv->schema_names_length1; +#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp47_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]); +#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES] = _tmp47_; +#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp48_ = _tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]; +#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp49_ = self->priv->schema_names; +#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp49__length1 = self->priv->schema_names_length1; +#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp50_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]); +#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR] = _tmp50_; +#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp51_ = _tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]; +#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp52_ = self->priv->schema_names; +#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp52__length1 = self->priv->schema_names_length1; +#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp53_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]); +#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR] = _tmp53_; +#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp54_ = _tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]; +#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp55_ = self->priv->schema_names; +#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp55__length1 = self->priv->schema_names_length1; +#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp56_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]); +#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR] = _tmp56_; +#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp57_ = _tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]; +#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp58_ = self->priv->schema_names; +#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp58__length1 = self->priv->schema_names_length1; +#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp59_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]); +#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS] = _tmp59_; +#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp60_ = _tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]; +#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp61_ = self->priv->schema_names; +#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp61__length1 = self->priv->schema_names_length1; +#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp62_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]); +#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS] = _tmp62_; +#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp63_ = _tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]; +#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp64_ = self->priv->schema_names; +#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp64__length1 = self->priv->schema_names_length1; +#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp65_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]); +#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES] = _tmp65_; +#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp66_ = _tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]; +#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp67_ = self->priv->schema_names; +#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp67__length1 = self->priv->schema_names_length1; +#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp68_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp67_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]); +#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp67_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS] = _tmp68_; +#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp69_ = _tmp67_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]; +#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp70_ = self->priv->schema_names; +#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp70__length1 = self->priv->schema_names_length1; +#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp71_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp70_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]); +#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp70_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS] = _tmp71_; +#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp72_ = _tmp70_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]; +#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp73_ = self->priv->schema_names; +#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp73__length1 = self->priv->schema_names_length1; +#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp74_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp73_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]); +#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp73_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING] = _tmp74_; +#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp75_ = _tmp73_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]; +#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp76_ = self->priv->schema_names; +#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp76__length1 = self->priv->schema_names_length1; +#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp77_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp76_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]); +#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp76_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY] = _tmp77_; +#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp78_ = _tmp76_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]; +#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp79_ = self->priv->schema_names; +#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp79__length1 = self->priv->schema_names_length1; +#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp80_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp79_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]); +#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp79_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING] = _tmp80_; +#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp81_ = _tmp79_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]; +#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp82_ = self->priv->schema_names; +#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp82__length1 = self->priv->schema_names_length1; +#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp83_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EDITING_PREFS_SCHEMA_NAME); +#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp82_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]); +#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp82_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP] = _tmp83_; +#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp84_ = _tmp82_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]; +#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp85_ = self->priv->schema_names; +#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp85__length1 = self->priv->schema_names_length1; +#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp86_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EDITING_PREFS_SCHEMA_NAME); +#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp85_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]); +#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp85_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP] = _tmp86_; +#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp87_ = _tmp85_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]; +#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp88_ = self->priv->schema_names; +#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp88__length1 = self->priv->schema_names_length1; +#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp89_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp88_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]); +#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp88_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED] = _tmp89_; +#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp90_ = _tmp88_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]; +#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp91_ = self->priv->schema_names; +#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp91__length1 = self->priv->schema_names_length1; +#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp92_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); +#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp91_[CONFIGURABLE_PROPERTY_IMPORT_DIR]); +#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp91_[CONFIGURABLE_PROPERTY_IMPORT_DIR] = _tmp92_; +#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp93_ = _tmp91_[CONFIGURABLE_PROPERTY_IMPORT_DIR]; +#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp94_ = self->priv->schema_names; +#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp94__length1 = self->priv->schema_names_length1; +#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp95_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp94_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]); +#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp94_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY] = _tmp95_; +#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp96_ = _tmp94_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]; +#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp97_ = self->priv->schema_names; +#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp97__length1 = self->priv->schema_names_length1; +#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp98_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); +#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp97_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]); +#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp97_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT] = _tmp98_; +#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp99_ = _tmp97_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]; +#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp100_ = self->priv->schema_names; +#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp100__length1 = self->priv->schema_names_length1; +#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp101_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); +#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp100_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]); +#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp100_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE] = _tmp101_; +#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp102_ = _tmp100_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]; +#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp103_ = self->priv->schema_names; +#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp103__length1 = self->priv->schema_names_length1; +#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp104_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); +#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp103_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]); +#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp103_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH] = _tmp104_; +#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp105_ = _tmp103_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]; +#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp106_ = self->priv->schema_names; +#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp106__length1 = self->priv->schema_names_length1; +#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp107_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SHARING_SCHEMA_NAME); +#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp106_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]); +#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp106_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE] = _tmp107_; +#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp108_ = _tmp106_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]; +#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp109_ = self->priv->schema_names; +#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp109__length1 = self->priv->schema_names_length1; +#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp110_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_IMPORTING_SCHEMA_NAME); +#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp109_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]); +#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp109_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE] = _tmp110_; +#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp111_ = _tmp109_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]; +#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp112_ = self->priv->schema_names; +#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp112__length1 = self->priv->schema_names_length1; +#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp113_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp112_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]); +#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp112_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING] = _tmp113_; +#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp114_ = _tmp112_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]; +#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp115_ = self->priv->schema_names; +#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp115__length1 = self->priv->schema_names_length1; +#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp116_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp115_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]); +#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp115_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY] = _tmp116_; +#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp117_ = _tmp115_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]; +#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp118_ = self->priv->schema_names; +#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp118__length1 = self->priv->schema_names_length1; +#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp119_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); +#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp118_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]); +#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp118_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT] = _tmp119_; +#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp120_ = _tmp118_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]; +#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp121_ = self->priv->schema_names; +#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp121__length1 = self->priv->schema_names_length1; +#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp122_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); +#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp121_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]); +#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp121_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE] = _tmp122_; +#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp123_ = _tmp121_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]; +#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp124_ = self->priv->schema_names; +#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp124__length1 = self->priv->schema_names_length1; +#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp125_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); +#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp124_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]); +#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp124_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH] = _tmp125_; +#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp126_ = _tmp124_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]; +#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp127_ = self->priv->schema_names; +#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp127__length1 = self->priv->schema_names_length1; +#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp128_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp127_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]); +#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp127_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS] = _tmp128_; +#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp129_ = _tmp127_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]; +#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp130_ = self->priv->schema_names; +#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp130__length1 = self->priv->schema_names_length1; +#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp131_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp130_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]); +#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp130_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE] = _tmp131_; +#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp132_ = _tmp130_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]; +#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp133_ = self->priv->schema_names; +#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp133__length1 = self->priv->schema_names_length1; +#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp134_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp133_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]); +#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp133_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE] = _tmp134_; +#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp135_ = _tmp133_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]; +#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp136_ = self->priv->schema_names; +#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp136__length1 = self->priv->schema_names_length1; +#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp137_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); +#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp136_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]); +#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp136_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT] = _tmp137_; +#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp138_ = _tmp136_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]; +#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp139_ = self->priv->schema_names; +#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp139__length1 = self->priv->schema_names_length1; +#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp140_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); +#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp139_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]); +#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp139_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT] = _tmp140_; +#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp141_ = _tmp139_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]; +#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp142_ = self->priv->schema_names; +#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp142__length1 = self->priv->schema_names_length1; +#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp143_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); +#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp142_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]); +#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp142_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI] = _tmp143_; +#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp144_ = _tmp142_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]; +#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp145_ = self->priv->schema_names; +#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp145__length1 = self->priv->schema_names_length1; +#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp146_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); +#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp145_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]); +#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp145_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS] = _tmp146_; +#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp147_ = _tmp145_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]; +#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp148_ = self->priv->schema_names; +#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp148__length1 = self->priv->schema_names_length1; +#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp149_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); +#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp148_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]); +#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp148_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH] = _tmp149_; +#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp150_ = _tmp148_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]; +#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp151_ = self->priv->schema_names; +#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp151__length1 = self->priv->schema_names_length1; +#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp152_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); +#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp151_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]); +#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp151_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE] = _tmp152_; +#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp153_ = _tmp151_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]; +#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp154_ = self->priv->schema_names; +#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp154__length1 = self->priv->schema_names_length1; +#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp155_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); +#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp154_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]); +#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp154_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO] = _tmp155_; +#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp156_ = _tmp154_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]; +#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp157_ = self->priv->schema_names; +#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp157__length1 = self->priv->schema_names_length1; +#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp158_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); +#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp157_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]); +#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp157_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES] = _tmp158_; +#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp159_ = _tmp157_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]; +#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp160_ = self->priv->schema_names; +#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp160__length1 = self->priv->schema_names_length1; +#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp161_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); +#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp160_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]); +#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp160_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION] = _tmp161_; +#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp162_ = _tmp160_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]; +#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp163_ = self->priv->schema_names; +#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp163__length1 = self->priv->schema_names_length1; +#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp164_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); +#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp163_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]); +#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp163_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT] = _tmp164_; +#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp165_ = _tmp163_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]; +#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp166_ = self->priv->schema_names; +#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp166__length1 = self->priv->schema_names_length1; +#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp167_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); +#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp166_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]); +#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp166_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT] = _tmp167_; +#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp168_ = _tmp166_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]; +#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp169_ = self->priv->schema_names; +#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp169__length1 = self->priv->schema_names_length1; +#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp170_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp169_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]); +#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp169_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG] = _tmp170_; +#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp171_ = _tmp169_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]; +#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp172_ = self->priv->schema_names; +#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp172__length1 = self->priv->schema_names_length1; +#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp173_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp172_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]); +#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp172_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION] = _tmp173_; +#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp174_ = _tmp172_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]; +#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp175_ = self->priv->schema_names; +#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp175__length1 = self->priv->schema_names_length1; +#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp176_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); +#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp175_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]); +#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp175_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY] = _tmp176_; +#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp177_ = _tmp175_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]; +#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp178_ = self->priv->schema_names; +#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp178__length1 = self->priv->schema_names_length1; +#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp179_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); +#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp178_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]); +#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp178_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY] = _tmp179_; +#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp180_ = _tmp178_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]; +#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp181_ = self->priv->schema_names; +#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp181__length1 = self->priv->schema_names_length1; +#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp182_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); +#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp181_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]); +#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp181_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID] = _tmp182_; +#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp183_ = _tmp181_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]; +#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp184_ = self->priv->schema_names; +#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp184__length1 = self->priv->schema_names_length1; +#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp185_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); +#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp184_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]); +#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp184_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE] = _tmp185_; +#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp186_ = _tmp184_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]; +#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp187_ = self->priv->schema_names; +#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp187__length1 = self->priv->schema_names_length1; +#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp188_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); +#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp187_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]); +#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp187_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME] = _tmp188_; +#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp189_ = _tmp187_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]; +#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp190_ = self->priv->schema_names; +#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp190__length1 = self->priv->schema_names_length1; +#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp191_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); +#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp190_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]); +#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp190_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES] = _tmp191_; +#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp192_ = _tmp190_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]; +#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp193_ = self->priv->schema_names; +#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp193__length1 = self->priv->schema_names_length1; +#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp194_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_VIDEO_SCHEMA_NAME); +#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp193_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]); +#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp193_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE] = _tmp194_; +#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp195_ = _tmp193_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]; +#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp196_ = g_new0 (gchar*, CONFIGURABLE_PROPERTY_NUM_PROPERTIES + 1); +#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->key_names = (_vala_array_free (self->priv->key_names, self->priv->key_names_length1, (GDestroyNotify) g_free), NULL); +#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->key_names = _tmp196_; +#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->key_names_length1 = CONFIGURABLE_PROPERTY_NUM_PROPERTIES; +#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->_key_names_size_ = self->priv->key_names_length1; +#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp197_ = self->priv->key_names; +#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp197__length1 = self->priv->key_names_length1; +#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp198_ = g_strdup ("auto-import"); +#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp197_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]); +#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp197_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY] = _tmp198_; +#line 103 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp199_ = _tmp197_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]; +#line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp200_ = self->priv->key_names; +#line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp200__length1 = self->priv->key_names_length1; +#line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp201_ = g_strdup ("background-color"); +#line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp200_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]); +#line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp200_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME] = _tmp201_; +#line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp202_ = _tmp200_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]; +#line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp203_ = self->priv->key_names; +#line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp203__length1 = self->priv->key_names_length1; +#line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp204_ = g_strdup ("commit-metadata"); +#line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp203_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]); +#line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp203_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS] = _tmp204_; +#line 105 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp205_ = _tmp203_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]; +#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp206_ = self->priv->key_names; +#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp206__length1 = self->priv->key_names_length1; +#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp207_ = g_strdup ("picture-uri"); +#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp206_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]); +#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp206_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE] = _tmp207_; +#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp208_ = _tmp206_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]; +#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp209_ = self->priv->key_names; +#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp209__length1 = self->priv->key_names_length1; +#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp210_ = g_strdup ("picture-options"); +#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp209_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]); +#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp209_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE] = _tmp210_; +#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp211_ = _tmp209_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]; +#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp212_ = self->priv->key_names; +#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp212__length1 = self->priv->key_names_length1; +#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp213_ = g_strdup ("picture-uri"); +#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp212_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]); +#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp212_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE] = _tmp213_; +#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp214_ = _tmp212_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]; +#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp215_ = self->priv->key_names; +#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp215__length1 = self->priv->key_names_length1; +#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp216_ = g_strdup ("picture-options"); +#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp215_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]); +#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp215_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE] = _tmp216_; +#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp217_ = _tmp215_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]; +#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp218_ = self->priv->key_names; +#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp218__length1 = self->priv->key_names_length1; +#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp219_ = g_strdup ("directory-pattern"); +#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp218_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]); +#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp218_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN] = _tmp219_; +#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp220_ = _tmp218_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]; +#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp221_ = self->priv->key_names; +#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp221__length1 = self->priv->key_names_length1; +#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp222_ = g_strdup ("directory-pattern-custom"); +#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp221_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]); +#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp221_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM] = _tmp222_; +#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp223_ = _tmp221_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]; +#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp224_ = self->priv->key_names; +#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp224__length1 = self->priv->key_names_length1; +#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp225_ = g_strdup ("direct-height"); +#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp224_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]); +#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp224_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT] = _tmp225_; +#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp226_ = _tmp224_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]; +#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp227_ = self->priv->key_names; +#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp227__length1 = self->priv->key_names_length1; +#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp228_ = g_strdup ("direct-maximize"); +#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp227_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]); +#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp227_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE] = _tmp228_; +#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp229_ = _tmp227_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]; +#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp230_ = self->priv->key_names; +#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp230__length1 = self->priv->key_names_length1; +#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp231_ = g_strdup ("direct-width"); +#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp230_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]); +#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp230_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH] = _tmp231_; +#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp232_ = _tmp230_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]; +#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp233_ = self->priv->key_names; +#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp233__length1 = self->priv->key_names_length1; +#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp234_ = g_strdup ("display-basic-properties"); +#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp233_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]); +#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp233_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES] = _tmp234_; +#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp235_ = _tmp233_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]; +#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp236_ = self->priv->key_names; +#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp236__length1 = self->priv->key_names_length1; +#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp237_ = g_strdup ("display-extended-properties"); +#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp236_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]); +#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp236_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES] = _tmp237_; +#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp238_ = _tmp236_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]; +#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp239_ = self->priv->key_names; +#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp239__length1 = self->priv->key_names_length1; +#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp240_ = g_strdup ("display-sidebar"); +#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp239_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]); +#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp239_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR] = _tmp240_; +#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp241_ = _tmp239_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]; +#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp242_ = self->priv->key_names; +#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp242__length1 = self->priv->key_names_length1; +#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp243_ = g_strdup ("display-toolbar"); +#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp242_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]); +#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp242_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR] = _tmp243_; +#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp244_ = _tmp242_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]; +#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp245_ = self->priv->key_names; +#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp245__length1 = self->priv->key_names_length1; +#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp246_ = g_strdup ("display-search-bar"); +#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp245_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]); +#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp245_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR] = _tmp246_; +#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp247_ = _tmp245_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]; +#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp248_ = self->priv->key_names; +#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp248__length1 = self->priv->key_names_length1; +#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp249_ = g_strdup ("display-photo-ratings"); +#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp248_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]); +#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp248_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS] = _tmp249_; +#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp250_ = _tmp248_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]; +#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp251_ = self->priv->key_names; +#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp251__length1 = self->priv->key_names_length1; +#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp252_ = g_strdup ("display-photo-tags"); +#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp251_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]); +#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp251_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS] = _tmp252_; +#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp253_ = _tmp251_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]; +#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp254_ = self->priv->key_names; +#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp254__length1 = self->priv->key_names_length1; +#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp255_ = g_strdup ("display-photo-titles"); +#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp254_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]); +#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp254_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES] = _tmp255_; +#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp256_ = _tmp254_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]; +#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp257_ = self->priv->key_names; +#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp257__length1 = self->priv->key_names_length1; +#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp258_ = g_strdup ("display-photo-comments"); +#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]); +#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS] = _tmp258_; +#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp259_ = _tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]; +#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp260_ = self->priv->key_names; +#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp260__length1 = self->priv->key_names_length1; +#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp261_ = g_strdup ("display-event-comments"); +#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]); +#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS] = _tmp261_; +#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp262_ = _tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]; +#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp263_ = self->priv->key_names; +#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp263__length1 = self->priv->key_names_length1; +#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp264_ = g_strdup ("event-photos-sort-ascending"); +#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp263_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]); +#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp263_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING] = _tmp264_; +#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp265_ = _tmp263_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]; +#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp266_ = self->priv->key_names; +#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp266__length1 = self->priv->key_names_length1; +#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp267_ = g_strdup ("event-photos-sort-by"); +#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp266_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]); +#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp266_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY] = _tmp267_; +#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp268_ = _tmp266_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]; +#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp269_ = self->priv->key_names; +#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp269__length1 = self->priv->key_names_length1; +#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp270_ = g_strdup ("events-sort-ascending"); +#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp269_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]); +#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp269_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING] = _tmp270_; +#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp271_ = _tmp269_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]; +#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp272_ = self->priv->key_names; +#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp272__length1 = self->priv->key_names_length1; +#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp273_ = g_strdup ("external-photo-editor"); +#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp272_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]); +#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp272_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP] = _tmp273_; +#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp274_ = _tmp272_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]; +#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp275_ = self->priv->key_names; +#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp275__length1 = self->priv->key_names_length1; +#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp276_ = g_strdup ("external-raw-editor"); +#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp275_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]); +#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp275_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP] = _tmp276_; +#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp277_ = _tmp275_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]; +#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp278_ = self->priv->key_names; +#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp278__length1 = self->priv->key_names_length1; +#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp279_ = g_strdup ("hide-photos-already-imported"); +#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp278_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]); +#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp278_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED] = _tmp279_; +#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp280_ = _tmp278_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]; +#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp281_ = self->priv->key_names; +#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp281__length1 = self->priv->key_names_length1; +#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp282_ = g_strdup ("import-dir"); +#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp281_[CONFIGURABLE_PROPERTY_IMPORT_DIR]); +#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp281_[CONFIGURABLE_PROPERTY_IMPORT_DIR] = _tmp282_; +#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp283_ = _tmp281_[CONFIGURABLE_PROPERTY_IMPORT_DIR]; +#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp284_ = self->priv->key_names; +#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp284__length1 = self->priv->key_names_length1; +#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp285_ = g_strdup ("keep-relativity"); +#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp284_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]); +#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp284_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY] = _tmp285_; +#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp286_ = _tmp284_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]; +#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp287_ = self->priv->key_names; +#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp287__length1 = self->priv->key_names_length1; +#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp288_ = g_strdup ("last-crop-height"); +#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp287_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]); +#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp287_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT] = _tmp288_; +#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp289_ = _tmp287_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]; +#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp290_ = self->priv->key_names; +#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp290__length1 = self->priv->key_names_length1; +#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp291_ = g_strdup ("last-crop-menu-choice"); +#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp290_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]); +#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp290_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE] = _tmp291_; +#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp292_ = _tmp290_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]; +#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp293_ = self->priv->key_names; +#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp293__length1 = self->priv->key_names_length1; +#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp294_ = g_strdup ("last-crop-width"); +#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp293_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]); +#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp293_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH] = _tmp294_; +#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp295_ = _tmp293_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]; +#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp296_ = self->priv->key_names; +#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp296__length1 = self->priv->key_names_length1; +#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp297_ = g_strdup ("last-used-service"); +#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp296_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]); +#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp296_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE] = _tmp297_; +#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp298_ = _tmp296_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]; +#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp299_ = self->priv->key_names; +#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp299__length1 = self->priv->key_names_length1; +#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp300_ = g_strdup ("last-used-dataimports-service"); +#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp299_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]); +#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp299_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE] = _tmp300_; +#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp301_ = _tmp299_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]; +#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp302_ = self->priv->key_names; +#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp302__length1 = self->priv->key_names_length1; +#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp303_ = g_strdup ("library-photos-sort-ascending"); +#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp302_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]); +#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp302_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING] = _tmp303_; +#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp304_ = _tmp302_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]; +#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp305_ = self->priv->key_names; +#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp305__length1 = self->priv->key_names_length1; +#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp306_ = g_strdup ("library-photos-sort-by"); +#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp305_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]); +#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp305_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY] = _tmp306_; +#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp307_ = _tmp305_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]; +#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp308_ = self->priv->key_names; +#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp308__length1 = self->priv->key_names_length1; +#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp309_ = g_strdup ("library-height"); +#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp308_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]); +#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp308_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT] = _tmp309_; +#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp310_ = _tmp308_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]; +#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp311_ = self->priv->key_names; +#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp311__length1 = self->priv->key_names_length1; +#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp312_ = g_strdup ("library-maximize"); +#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp311_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]); +#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp311_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE] = _tmp312_; +#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp313_ = _tmp311_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]; +#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp314_ = self->priv->key_names; +#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp314__length1 = self->priv->key_names_length1; +#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp315_ = g_strdup ("library-width"); +#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp314_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]); +#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp314_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH] = _tmp315_; +#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp316_ = _tmp314_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]; +#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp317_ = self->priv->key_names; +#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp317__length1 = self->priv->key_names_length1; +#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp318_ = g_strdup ("modify-originals"); +#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp317_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]); +#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp317_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS] = _tmp318_; +#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp319_ = _tmp317_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]; +#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp320_ = self->priv->key_names; +#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp320__length1 = self->priv->key_names_length1; +#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp321_ = g_strdup ("photo-thumbnail-scale"); +#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp320_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]); +#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp320_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE] = _tmp321_; +#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp322_ = _tmp320_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]; +#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp323_ = self->priv->key_names; +#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp323__length1 = self->priv->key_names_length1; +#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp324_ = g_strdup ("pin-toolbar-state"); +#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp323_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]); +#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp323_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE] = _tmp324_; +#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp325_ = _tmp323_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]; +#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp326_ = self->priv->key_names; +#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp326__length1 = self->priv->key_names_length1; +#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp327_ = g_strdup ("content-height"); +#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp326_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]); +#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp326_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT] = _tmp327_; +#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp328_ = _tmp326_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]; +#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp329_ = self->priv->key_names; +#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp329__length1 = self->priv->key_names_length1; +#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp330_ = g_strdup ("content-layout"); +#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp329_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]); +#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp329_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT] = _tmp330_; +#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp331_ = _tmp329_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]; +#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp332_ = self->priv->key_names; +#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp332__length1 = self->priv->key_names_length1; +#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp333_ = g_strdup ("content-ppi"); +#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp332_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]); +#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp332_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI] = _tmp333_; +#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp334_ = _tmp332_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]; +#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp335_ = self->priv->key_names; +#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp335__length1 = self->priv->key_names_length1; +#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp336_ = g_strdup ("content-units"); +#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp335_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]); +#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp335_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS] = _tmp336_; +#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp337_ = _tmp335_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]; +#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp338_ = self->priv->key_names; +#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp338__length1 = self->priv->key_names_length1; +#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp339_ = g_strdup ("content-width"); +#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp338_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]); +#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp338_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH] = _tmp339_; +#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp340_ = _tmp338_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]; +#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp341_ = self->priv->key_names; +#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp341__length1 = self->priv->key_names_length1; +#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp342_ = g_strdup ("images-per-page"); +#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp341_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]); +#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp341_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE] = _tmp342_; +#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp343_ = _tmp341_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]; +#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp344_ = self->priv->key_names; +#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp344__length1 = self->priv->key_names_length1; +#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp345_ = g_strdup ("match-aspect-ratio"); +#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp344_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]); +#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp344_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO] = _tmp345_; +#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp346_ = _tmp344_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]; +#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp347_ = self->priv->key_names; +#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp347__length1 = self->priv->key_names_length1; +#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp348_ = g_strdup ("print-titles"); +#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp347_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]); +#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp347_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES] = _tmp348_; +#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp349_ = _tmp347_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]; +#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp350_ = self->priv->key_names; +#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp350__length1 = self->priv->key_names_length1; +#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp351_ = g_strdup ("size-selection"); +#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp350_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]); +#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp350_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION] = _tmp351_; +#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp352_ = _tmp350_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]; +#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp353_ = self->priv->key_names; +#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp353__length1 = self->priv->key_names_length1; +#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp354_ = g_strdup ("titles-font"); +#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp353_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]); +#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp353_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT] = _tmp354_; +#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp355_ = _tmp353_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]; +#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp356_ = self->priv->key_names; +#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp356__length1 = self->priv->key_names_length1; +#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp357_ = g_strdup ("raw-developer-default"); +#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp356_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]); +#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp356_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT] = _tmp357_; +#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp358_ = _tmp356_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]; +#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp359_ = self->priv->key_names; +#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp359__length1 = self->priv->key_names_length1; +#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp360_ = g_strdup ("show-welcome-dialog"); +#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp359_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]); +#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp359_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG] = _tmp360_; +#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp361_ = _tmp359_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]; +#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp362_ = self->priv->key_names; +#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp362__length1 = self->priv->key_names_length1; +#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp363_ = g_strdup ("sidebar-position"); +#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp362_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]); +#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp362_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION] = _tmp363_; +#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp364_ = _tmp362_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]; +#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp365_ = self->priv->key_names; +#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp365__length1 = self->priv->key_names_length1; +#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp366_ = g_strdup ("delay"); +#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp365_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]); +#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp365_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY] = _tmp366_; +#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp367_ = _tmp365_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]; +#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp368_ = self->priv->key_names; +#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp368__length1 = self->priv->key_names_length1; +#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp369_ = g_strdup ("transition-delay"); +#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp368_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]); +#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp368_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY] = _tmp369_; +#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp370_ = _tmp368_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]; +#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp371_ = self->priv->key_names; +#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp371__length1 = self->priv->key_names_length1; +#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp372_ = g_strdup ("transition-effect-id"); +#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp371_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]); +#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp371_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID] = _tmp372_; +#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp373_ = _tmp371_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]; +#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp374_ = self->priv->key_names; +#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp374__length1 = self->priv->key_names_length1; +#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp375_ = g_strdup ("show-title"); +#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp374_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]); +#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp374_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE] = _tmp375_; +#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp376_ = _tmp374_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]; +#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp377_ = self->priv->key_names; +#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp377__length1 = self->priv->key_names_length1; +#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp378_ = g_strdup ("use-24-hour-time"); +#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp377_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]); +#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp377_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME] = _tmp378_; +#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp379_ = _tmp377_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]; +#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp380_ = self->priv->key_names; +#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp380__length1 = self->priv->key_names_length1; +#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp381_ = g_strdup ("use-lowercase-filenames"); +#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp380_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]); +#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp380_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES] = _tmp381_; +#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp382_ = _tmp380_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]; +#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp383_ = self->priv->key_names; +#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp383__length1 = self->priv->key_names_length1; +#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp384_ = g_strdup ("interpreter-state-cookie"); +#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp383_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]); +#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp383_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE] = _tmp384_; +#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp385_ = _tmp383_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]; +#line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return self; +#line 2333 "GSettingsEngine.c" +} + + +GSettingsConfigurationEngine* gsettings_configuration_engine_new (void) { +#line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return gsettings_configuration_engine_construct (TYPE_GSETTINGS_CONFIGURATION_ENGINE); +#line 2340 "GSettingsEngine.c" +} + + +static gboolean gsettings_configuration_engine_schema_has_key (GSettingsConfigurationEngine* self, GSettings* schema_object, const gchar* key) { + gboolean result = FALSE; + GSettings* _tmp0_ = NULL; + gchar** _tmp1_ = NULL; + gchar** _tmp2_ = NULL; +#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), FALSE); +#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (G_IS_SETTINGS (schema_object), FALSE); +#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (key != NULL, FALSE); +#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema_object; +#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = _tmp1_ = g_settings_list_keys (_tmp0_); +#line 2359 "GSettingsEngine.c" + { + gchar** current_key_collection = NULL; + gint current_key_collection_length1 = 0; + gint _current_key_collection_size_ = 0; + gint current_key_it = 0; +#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + current_key_collection = _tmp2_; +#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + current_key_collection_length1 = _vala_array_length (_tmp1_); +#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + for (current_key_it = 0; current_key_it < _vala_array_length (_tmp1_); current_key_it = current_key_it + 1) { +#line 2371 "GSettingsEngine.c" + gchar* _tmp3_ = NULL; + gchar* current_key = NULL; +#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_strdup (current_key_collection[current_key_it]); +#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + current_key = _tmp3_; +#line 2378 "GSettingsEngine.c" + { + const gchar* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; +#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = current_key; +#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (g_strcmp0 (_tmp4_, _tmp5_) == 0) { +#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = TRUE; +#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (current_key); +#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + current_key_collection = (_vala_array_free (current_key_collection, current_key_collection_length1, (GDestroyNotify) g_free), NULL); +#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 2396 "GSettingsEngine.c" + } +#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (current_key); +#line 2400 "GSettingsEngine.c" + } + } +#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + current_key_collection = (_vala_array_free (current_key_collection, current_key_collection_length1, (GDestroyNotify) g_free), NULL); +#line 2405 "GSettingsEngine.c" + } +#line 174 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = FALSE; +#line 174 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 2411 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_check_key_valid (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) { + GeeSet* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; + GSettings* schema_object = NULL; + const gchar* _tmp8_ = NULL; + GSettings* _tmp9_ = NULL; + GSettings* _tmp10_ = NULL; + const gchar* _tmp11_ = NULL; + gboolean _tmp12_ = FALSE; + GError * _inner_error_ = NULL; +#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); +#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (schema != NULL); +#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 178 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = self->priv->known_schemas; +#line 178 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = schema; +#line 178 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = gee_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection), _tmp1_); +#line 178 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (!_tmp2_) { +#line 2440 "GSettingsEngine.c" + const gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + GError* _tmp6_ = NULL; + GError* _tmp7_ = NULL; +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = schema; +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = g_strdup_printf ("schema '%s' is not installed", _tmp3_); +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp4_; +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp5_); +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = _tmp6_; +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp5_); +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = _tmp7_; +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2466 "GSettingsEngine.c" + } else { +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2474 "GSettingsEngine.c" + } + } +#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = schema; +#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp9_ = g_settings_new (_tmp8_); +#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp9_; +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp10_ = schema_object; +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp11_ = key; +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp12_ = gsettings_configuration_engine_schema_has_key (self, _tmp10_, _tmp11_); +#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (!_tmp12_) { +#line 2491 "GSettingsEngine.c" + const gchar* _tmp13_ = NULL; + const gchar* _tmp14_ = NULL; + gchar* _tmp15_ = NULL; + gchar* _tmp16_ = NULL; + GError* _tmp17_ = NULL; + GError* _tmp18_ = NULL; +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp13_ = schema; +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp14_ = key; +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp15_ = g_strdup_printf ("schema '%s' does not define key '%s'", _tmp13_, _tmp14_); +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp16_ = _tmp15_; +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp17_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp16_); +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp18_ = _tmp17_; +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp16_); +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = _tmp18_; +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2522 "GSettingsEngine.c" + } else { +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 184 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2532 "GSettingsEngine.c" + } + } +#line 177 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 2537 "GSettingsEngine.c" +} + + +static gboolean gsettings_configuration_engine_get_gs_bool (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) { + gboolean result = FALSE; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gboolean _tmp6_ = FALSE; + GError * _inner_error_ = NULL; +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), FALSE); +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (schema != NULL, FALSE); +#line 188 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (key != NULL, FALSE); +#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return FALSE; +#line 2572 "GSettingsEngine.c" + } else { +#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 189 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return FALSE; +#line 2580 "GSettingsEngine.c" + } + } +#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = g_settings_get_boolean (_tmp4_, _tmp5_); +#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp6_; +#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 193 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 2601 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gboolean value, GError** error) { + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gboolean _tmp6_ = FALSE; + GError * _inner_error_ = NULL; +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (schema != NULL); +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2635 "GSettingsEngine.c" + } else { +#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 197 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2643 "GSettingsEngine.c" + } + } +#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 201 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 201 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 201 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = value; +#line 201 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_settings_set_boolean (_tmp4_, _tmp5_, _tmp6_); +#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 2662 "GSettingsEngine.c" +} + + +static gint gsettings_configuration_engine_get_gs_int (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) { + gint result = 0; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gint _tmp6_ = 0; + GError * _inner_error_ = NULL; +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0); +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (schema != NULL, 0); +#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (key != NULL, 0); +#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 2697 "GSettingsEngine.c" + } else { +#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 205 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 2705 "GSettingsEngine.c" + } + } +#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = g_settings_get_int (_tmp4_, _tmp5_); +#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp6_; +#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 209 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 2726 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gint value, GError** error) { + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gint _tmp6_ = 0; + GError * _inner_error_ = NULL; +#line 212 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); +#line 212 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (schema != NULL); +#line 212 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2760 "GSettingsEngine.c" + } else { +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 213 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2768 "GSettingsEngine.c" + } + } +#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = value; +#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_settings_set_int (_tmp4_, _tmp5_, _tmp6_); +#line 212 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 2787 "GSettingsEngine.c" +} + + +static gdouble gsettings_configuration_engine_get_gs_double (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) { + gdouble result = 0.0; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gdouble _tmp6_ = 0.0; + GError * _inner_error_ = NULL; +#line 220 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0.0); +#line 220 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (schema != NULL, 0.0); +#line 220 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (key != NULL, 0.0); +#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0.0; +#line 2822 "GSettingsEngine.c" + } else { +#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0.0; +#line 2830 "GSettingsEngine.c" + } + } +#line 223 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 223 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 223 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = g_settings_get_double (_tmp4_, _tmp5_); +#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp6_; +#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 225 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 2851 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_set_gs_double (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, gdouble value, GError** error) { + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gdouble _tmp6_ = 0.0; + GError * _inner_error_ = NULL; +#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); +#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (schema != NULL); +#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2885 "GSettingsEngine.c" + } else { +#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 2893 "GSettingsEngine.c" + } + } +#line 231 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 231 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 231 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = value; +#line 233 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_settings_set_double (_tmp4_, _tmp5_, _tmp6_); +#line 228 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 2912 "GSettingsEngine.c" +} + + +static gchar* gsettings_configuration_engine_get_gs_string (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) { + gchar* result = NULL; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; + GError * _inner_error_ = NULL; +#line 236 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), NULL); +#line 236 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (schema != NULL, NULL); +#line 236 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (key != NULL, NULL); +#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return NULL; +#line 2947 "GSettingsEngine.c" + } else { +#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return NULL; +#line 2955 "GSettingsEngine.c" + } + } +#line 239 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 239 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 239 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = g_settings_get_string (_tmp4_, _tmp5_); +#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp6_; +#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 241 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 2976 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_set_gs_string (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, const gchar* value, GError** error) { + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + const gchar* _tmp6_ = NULL; + GError * _inner_error_ = NULL; +#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); +#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (schema != NULL); +#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (value != NULL); +#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 3012 "GSettingsEngine.c" + } else { +#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 3020 "GSettingsEngine.c" + } + } +#line 247 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 247 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 247 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = value; +#line 249 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_settings_set_string (_tmp4_, _tmp5_, _tmp6_); +#line 244 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 3039 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigurationEngine* self, const gchar* schema, const gchar* key, GError** error) { + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + GSettings* schema_object = NULL; + const gchar* _tmp2_ = NULL; + GSettings* _tmp3_ = NULL; + GSettings* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + GError * _inner_error_ = NULL; +#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); +#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (schema != NULL); +#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = schema; +#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = key; +#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_check_key_valid (self, _tmp0_, _tmp1_, &_inner_error_); +#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 3072 "GSettingsEngine.c" + } else { +#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 3080 "GSettingsEngine.c" + } + } +#line 255 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = schema; +#line 255 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_settings_new (_tmp2_); +#line 255 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_object = _tmp3_; +#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = schema_object; +#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = key; +#line 257 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_settings_reset (_tmp4_, _tmp5_); +#line 252 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (schema_object); +#line 3097 "GSettingsEngine.c" +} + + +static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) { + gchar* result = NULL; + GError * _inner_error_ = NULL; +#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_return_val_if_fail (self != NULL, NULL); +#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_return_val_if_fail (old != NULL, NULL); +#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_return_val_if_fail (replacement != NULL, NULL); +#line 3110 "GSettingsEngine.c" + { + GRegex* regex = NULL; + const gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + GRegex* _tmp3_ = NULL; + GRegex* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + GRegex* _tmp6_ = NULL; + const gchar* _tmp7_ = NULL; + gchar* _tmp8_ = NULL; + gchar* _tmp9_ = NULL; +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp0_ = old; +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp1_ = g_regex_escape_string (_tmp0_, -1); +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp2_ = _tmp1_; +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_); +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp4_ = _tmp3_; +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _g_free0 (_tmp2_); +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + regex = _tmp4_; +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + if (_inner_error_->domain == G_REGEX_ERROR) { +#line 3141 "GSettingsEngine.c" + goto __catch189_g_regex_error; + } +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_clear_error (&_inner_error_); +#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + return NULL; +#line 3150 "GSettingsEngine.c" + } +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp6_ = regex; +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp7_ = replacement; +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_); +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp5_ = _tmp8_; +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _g_regex_unref0 (regex); +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + if (_inner_error_->domain == G_REGEX_ERROR) { +#line 3166 "GSettingsEngine.c" + goto __catch189_g_regex_error; + } +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _g_regex_unref0 (regex); +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_clear_error (&_inner_error_); +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + return NULL; +#line 3177 "GSettingsEngine.c" + } +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp9_ = _tmp5_; +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp5_ = NULL; +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + result = _tmp9_; +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _g_free0 (_tmp5_); +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _g_regex_unref0 (regex); +#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + return result; +#line 3191 "GSettingsEngine.c" + } + goto __finally189; + __catch189_g_regex_error: + { + GError* e = NULL; +#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + e = _inner_error_; +#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _inner_error_ = NULL; +#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_assert_not_reached (); +#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _g_error_free0 (e); +#line 3205 "GSettingsEngine.c" + } + __finally189: +#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_clear_error (&_inner_error_); +#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + return NULL; +#line 3216 "GSettingsEngine.c" + } +} + + +static gchar* string_strip (const gchar* self) { + gchar* result = NULL; + gchar* _result_ = NULL; + gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; +#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_return_val_if_fail (self != NULL, NULL); +#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp0_ = g_strdup (self); +#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _result_ = _tmp0_; +#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp1_ = _result_; +#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_strstrip (_tmp1_); +#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + result = _result_; +#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + return result; +#line 3240 "GSettingsEngine.c" +} + + +static gchar* gsettings_configuration_engine_clean_plugin_id (const gchar* id) { + gchar* result = NULL; + gchar* cleaned = NULL; + const gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + const gchar* _tmp5_ = NULL; + gboolean _tmp6_ = FALSE; + gchar* _tmp8_ = NULL; +#line 260 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (id != NULL, NULL); +#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = id; +#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = string_replace (_tmp0_, "/", "-"); +#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + cleaned = _tmp1_; +#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = cleaned; +#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = string_strip (_tmp2_); +#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (cleaned); +#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + cleaned = _tmp3_; +#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = cleaned; +#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = is_string_empty (_tmp5_); +#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (!_tmp6_) { +#line 3277 "GSettingsEngine.c" + const gchar* _tmp7_ = NULL; +#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = cleaned; +#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = _tmp7_; +#line 3283 "GSettingsEngine.c" + } else { +#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = NULL; +#line 3287 "GSettingsEngine.c" + } +#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = g_strdup (_tmp4_); +#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp8_; +#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (cleaned); +#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 3297 "GSettingsEngine.c" +} + + +static gchar* gsettings_configuration_engine_get_plugin_enable_disable_name (const gchar* id) { + gchar* result = NULL; + gchar* cleaned_id = NULL; + const gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + const gchar* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; +#line 267 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (id != NULL, NULL); +#line 268 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = id; +#line 268 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = gsettings_configuration_engine_clean_plugin_id (_tmp0_); +#line 268 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + cleaned_id = _tmp1_; +#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = cleaned_id; +#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_tmp2_ == NULL) { +#line 3323 "GSettingsEngine.c" + gchar* _tmp3_ = NULL; +#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_strdup ("default"); +#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (cleaned_id); +#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + cleaned_id = _tmp3_; +#line 3331 "GSettingsEngine.c" + } +#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = cleaned_id; +#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = string_replace (_tmp4_, "org.yorba.shotwell.", ""); +#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (cleaned_id); +#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + cleaned_id = _tmp5_; +#line 273 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = cleaned_id; +#line 273 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = string_replace (_tmp6_, ".", "-"); +#line 273 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (cleaned_id); +#line 273 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + cleaned_id = _tmp7_; +#line 275 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = cleaned_id; +#line 275 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 3353 "GSettingsEngine.c" +} + + +static gchar* gsettings_configuration_engine_make_plugin_schema_name (const gchar* domain, const gchar* id) { + gchar* result = NULL; + gchar* cleaned_id = NULL; + const gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; + const gchar* _tmp2_ = NULL; + const gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + const gchar* _tmp6_ = NULL; + const gchar* _tmp7_ = NULL; + gchar* _tmp8_ = NULL; +#line 278 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (domain != NULL, NULL); +#line 278 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (id != NULL, NULL); +#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = id; +#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = gsettings_configuration_engine_clean_plugin_id (_tmp0_); +#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + cleaned_id = _tmp1_; +#line 280 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = cleaned_id; +#line 280 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_tmp2_ == NULL) { +#line 3382 "GSettingsEngine.c" + gchar* _tmp3_ = NULL; +#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = g_strdup ("default"); +#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (cleaned_id); +#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + cleaned_id = _tmp3_; +#line 3390 "GSettingsEngine.c" + } +#line 282 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = cleaned_id; +#line 282 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = string_replace (_tmp4_, ".", "-"); +#line 282 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (cleaned_id); +#line 282 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + cleaned_id = _tmp5_; +#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = domain; +#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = cleaned_id; +#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = g_strdup_printf ("org.yorba.shotwell.%s.%s", _tmp6_, _tmp7_); +#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp8_; +#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (cleaned_id); +#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 3412 "GSettingsEngine.c" +} + + +static gchar* gsettings_configuration_engine_make_gsettings_key (const gchar* gconf_key) { + gchar* result = NULL; + const gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; +#line 287 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (gconf_key != NULL, NULL); +#line 288 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = gconf_key; +#line 288 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = string_replace (_tmp0_, "_", "-"); +#line 288 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp1_; +#line 288 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 3430 "GSettingsEngine.c" +} + + +static gchar* gsettings_configuration_engine_real_get_name (ConfigurationEngine* base) { + GSettingsConfigurationEngine * self; + gchar* result = NULL; + gchar* _tmp0_ = NULL; +#line 291 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = g_strdup ("GSettings"); +#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp0_; +#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 3446 "GSettingsEngine.c" +} + + +static gint gsettings_configuration_engine_real_get_int_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error) { + GSettingsConfigurationEngine * self; + gint result = 0; + gint _tmp0_ = 0; + gchar** _tmp1_ = NULL; + gint _tmp1__length1 = 0; + ConfigurableProperty _tmp2_ = 0; + const gchar* _tmp3_ = NULL; + gchar** _tmp4_ = NULL; + gint _tmp4__length1 = 0; + ConfigurableProperty _tmp5_ = 0; + const gchar* _tmp6_ = NULL; + gint _tmp7_ = 0; + GError * _inner_error_ = NULL; +#line 295 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = self->priv->schema_names; +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1__length1 = self->priv->schema_names_length1; +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = p; +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = _tmp1_[_tmp2_]; +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = self->priv->key_names; +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4__length1 = self->priv->key_names_length1; +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = p; +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = _tmp4_[_tmp5_]; +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = gsettings_configuration_engine_get_gs_int (self, _tmp3_, _tmp6_, &_inner_error_); +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = _tmp7_; +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 3494 "GSettingsEngine.c" + } else { +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 3502 "GSettingsEngine.c" + } + } +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp0_; +#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 3509 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_set_int_property (ConfigurationEngine* base, ConfigurableProperty p, gint val, GError** error) { + GSettingsConfigurationEngine * self; + gchar** _tmp0_ = NULL; + gint _tmp0__length1 = 0; + ConfigurableProperty _tmp1_ = 0; + const gchar* _tmp2_ = NULL; + gchar** _tmp3_ = NULL; + gint _tmp3__length1 = 0; + ConfigurableProperty _tmp4_ = 0; + const gchar* _tmp5_ = NULL; + gint _tmp6_ = 0; + ConfigurableProperty _tmp7_ = 0; + GError * _inner_error_ = NULL; +#line 299 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = self->priv->schema_names; +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0__length1 = self->priv->schema_names_length1; +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = p; +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = _tmp0_[_tmp1_]; +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = self->priv->key_names; +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3__length1 = self->priv->key_names_length1; +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = p; +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp3_[_tmp4_]; +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = val; +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_set_gs_int (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_); +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 3556 "GSettingsEngine.c" + } else { +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 300 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 3564 "GSettingsEngine.c" + } + } +#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = p; +#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_); +#line 3571 "GSettingsEngine.c" +} + + +static glong string_strnlen (gchar* str, glong maxlen) { + glong result = 0L; + gchar* end = NULL; + gchar* _tmp0_ = NULL; + glong _tmp1_ = 0L; + gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; +#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp0_ = str; +#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp1_ = maxlen; +#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_); +#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + end = _tmp2_; +#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp3_ = end; +#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + if (_tmp3_ == NULL) { +#line 3594 "GSettingsEngine.c" + glong _tmp4_ = 0L; +#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp4_ = maxlen; +#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + result = _tmp4_; +#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + return result; +#line 3602 "GSettingsEngine.c" + } else { + gchar* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; +#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp5_ = end; +#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp6_ = str; +#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + result = (glong) (_tmp5_ - _tmp6_); +#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + return result; +#line 3614 "GSettingsEngine.c" + } +} + + +static gchar* string_substring (const gchar* self, glong offset, glong len) { + gchar* result = NULL; + glong string_length = 0L; + gboolean _tmp0_ = FALSE; + glong _tmp1_ = 0L; + glong _tmp8_ = 0L; + glong _tmp14_ = 0L; + glong _tmp17_ = 0L; + glong _tmp18_ = 0L; + glong _tmp19_ = 0L; + glong _tmp20_ = 0L; + glong _tmp21_ = 0L; + gchar* _tmp22_ = NULL; +#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_return_val_if_fail (self != NULL, NULL); +#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp1_ = offset; +#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + if (_tmp1_ >= ((glong) 0)) { +#line 3638 "GSettingsEngine.c" + glong _tmp2_ = 0L; +#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp2_ = len; +#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp0_ = _tmp2_ >= ((glong) 0); +#line 3644 "GSettingsEngine.c" + } else { +#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp0_ = FALSE; +#line 3648 "GSettingsEngine.c" + } +#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + if (_tmp0_) { +#line 3652 "GSettingsEngine.c" + glong _tmp3_ = 0L; + glong _tmp4_ = 0L; + glong _tmp5_ = 0L; +#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp3_ = offset; +#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp4_ = len; +#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_); +#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + string_length = _tmp5_; +#line 3664 "GSettingsEngine.c" + } else { + gint _tmp6_ = 0; + gint _tmp7_ = 0; +#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp6_ = strlen (self); +#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp7_ = _tmp6_; +#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + string_length = (glong) _tmp7_; +#line 3674 "GSettingsEngine.c" + } +#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp8_ = offset; +#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + if (_tmp8_ < ((glong) 0)) { +#line 3680 "GSettingsEngine.c" + glong _tmp9_ = 0L; + glong _tmp10_ = 0L; + glong _tmp11_ = 0L; +#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp9_ = string_length; +#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp10_ = offset; +#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + offset = _tmp9_ + _tmp10_; +#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp11_ = offset; +#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL); +#line 3694 "GSettingsEngine.c" + } else { + glong _tmp12_ = 0L; + glong _tmp13_ = 0L; +#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp12_ = offset; +#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp13_ = string_length; +#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL); +#line 3704 "GSettingsEngine.c" + } +#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp14_ = len; +#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + if (_tmp14_ < ((glong) 0)) { +#line 3710 "GSettingsEngine.c" + glong _tmp15_ = 0L; + glong _tmp16_ = 0L; +#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp15_ = string_length; +#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp16_ = offset; +#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + len = _tmp15_ - _tmp16_; +#line 3719 "GSettingsEngine.c" + } +#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp17_ = offset; +#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp18_ = len; +#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp19_ = string_length; +#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL); +#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp20_ = offset; +#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp21_ = len; +#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + _tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_); +#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + result = _tmp22_; +#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" + return result; +#line 3739 "GSettingsEngine.c" +} + + +static gchar* gsettings_configuration_engine_real_get_string_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error) { + GSettingsConfigurationEngine * self; + gchar* result = NULL; + gchar* gs_result = NULL; + gchar** _tmp0_ = NULL; + gint _tmp0__length1 = 0; + ConfigurableProperty _tmp1_ = 0; + const gchar* _tmp2_ = NULL; + gchar** _tmp3_ = NULL; + gint _tmp3__length1 = 0; + ConfigurableProperty _tmp4_ = 0; + const gchar* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; + gchar* _result_ = NULL; + gchar* _tmp7_ = NULL; + ConfigurableProperty _tmp8_ = 0; + GError * _inner_error_ = NULL; +#line 304 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = self->priv->schema_names; +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0__length1 = self->priv->schema_names_length1; +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = p; +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = _tmp0_[_tmp1_]; +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = self->priv->key_names; +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3__length1 = self->priv->key_names_length1; +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = p; +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp3_[_tmp4_]; +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = gsettings_configuration_engine_get_gs_string (self, _tmp2_, _tmp5_, &_inner_error_); +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gs_result = _tmp6_; +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return NULL; +#line 3790 "GSettingsEngine.c" + } else { +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return NULL; +#line 3798 "GSettingsEngine.c" + } + } +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = g_strdup (gs_result); +#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _result_ = _tmp7_; +#line 310 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = p; +#line 310 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_tmp8_ == CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE) { +#line 3809 "GSettingsEngine.c" + gchar* _tmp9_ = NULL; +#line 311 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp9_ = string_substring (gs_result, (glong) 7, (glong) -1); +#line 311 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_result_); +#line 311 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _result_ = _tmp9_; +#line 3817 "GSettingsEngine.c" + } +#line 314 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _result_; +#line 314 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (gs_result); +#line 314 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 3825 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_set_string_property (ConfigurationEngine* base, ConfigurableProperty p, const gchar* val, GError** error) { + GSettingsConfigurationEngine * self; + gchar* converted_val = NULL; + const gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; + gboolean _tmp2_ = FALSE; + ConfigurableProperty _tmp3_ = 0; + gchar** _tmp7_ = NULL; + gint _tmp7__length1 = 0; + ConfigurableProperty _tmp8_ = 0; + const gchar* _tmp9_ = NULL; + gchar** _tmp10_ = NULL; + gint _tmp10__length1 = 0; + ConfigurableProperty _tmp11_ = 0; + const gchar* _tmp12_ = NULL; + const gchar* _tmp13_ = NULL; + ConfigurableProperty _tmp14_ = 0; + GError * _inner_error_ = NULL; +#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (val != NULL); +#line 319 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = val; +#line 319 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = g_strdup (_tmp0_); +#line 319 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + converted_val = _tmp1_; +#line 320 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = p; +#line 320 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_tmp3_ == CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE) { +#line 320 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = TRUE; +#line 3863 "GSettingsEngine.c" + } else { + ConfigurableProperty _tmp4_ = 0; +#line 321 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = p; +#line 321 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = _tmp4_ == CONFIGURABLE_PROPERTY_SCREENSAVER_FILE; +#line 3870 "GSettingsEngine.c" + } +#line 320 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_tmp2_) { +#line 3874 "GSettingsEngine.c" + const gchar* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = val; +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = g_strconcat ("file://", _tmp5_, NULL); +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (converted_val); +#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + converted_val = _tmp6_; +#line 3885 "GSettingsEngine.c" + } +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = self->priv->schema_names; +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7__length1 = self->priv->schema_names_length1; +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = p; +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp9_ = _tmp7_[_tmp8_]; +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp10_ = self->priv->key_names; +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp10__length1 = self->priv->key_names_length1; +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp11_ = p; +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp12_ = _tmp10_[_tmp11_]; +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp13_ = converted_val; +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_set_gs_string (self, _tmp9_, _tmp12_, _tmp13_, &_inner_error_); +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (converted_val); +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 3917 "GSettingsEngine.c" + } else { +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (converted_val); +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 3927 "GSettingsEngine.c" + } + } +#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp14_ = p; +#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp14_); +#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (converted_val); +#line 3936 "GSettingsEngine.c" +} + + +static gboolean gsettings_configuration_engine_real_get_bool_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error) { + GSettingsConfigurationEngine * self; + gboolean result = FALSE; + gboolean _tmp0_ = FALSE; + gchar** _tmp1_ = NULL; + gint _tmp1__length1 = 0; + ConfigurableProperty _tmp2_ = 0; + const gchar* _tmp3_ = NULL; + gchar** _tmp4_ = NULL; + gint _tmp4__length1 = 0; + ConfigurableProperty _tmp5_ = 0; + const gchar* _tmp6_ = NULL; + gboolean _tmp7_ = FALSE; + GError * _inner_error_ = NULL; +#line 329 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = self->priv->schema_names; +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1__length1 = self->priv->schema_names_length1; +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = p; +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = _tmp1_[_tmp2_]; +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = self->priv->key_names; +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4__length1 = self->priv->key_names_length1; +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = p; +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = _tmp4_[_tmp5_]; +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = gsettings_configuration_engine_get_gs_bool (self, _tmp3_, _tmp6_, &_inner_error_); +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = _tmp7_; +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return FALSE; +#line 3984 "GSettingsEngine.c" + } else { +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return FALSE; +#line 3992 "GSettingsEngine.c" + } + } +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp0_; +#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 3999 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_set_bool_property (ConfigurationEngine* base, ConfigurableProperty p, gboolean val, GError** error) { + GSettingsConfigurationEngine * self; + gchar** _tmp0_ = NULL; + gint _tmp0__length1 = 0; + ConfigurableProperty _tmp1_ = 0; + const gchar* _tmp2_ = NULL; + gchar** _tmp3_ = NULL; + gint _tmp3__length1 = 0; + ConfigurableProperty _tmp4_ = 0; + const gchar* _tmp5_ = NULL; + gboolean _tmp6_ = FALSE; + ConfigurableProperty _tmp7_ = 0; + GError * _inner_error_ = NULL; +#line 333 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = self->priv->schema_names; +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0__length1 = self->priv->schema_names_length1; +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = p; +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = _tmp0_[_tmp1_]; +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = self->priv->key_names; +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3__length1 = self->priv->key_names_length1; +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = p; +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp3_[_tmp4_]; +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = val; +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_set_gs_bool (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_); +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 4046 "GSettingsEngine.c" + } else { +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 334 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 4054 "GSettingsEngine.c" + } + } +#line 335 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = p; +#line 335 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_); +#line 4061 "GSettingsEngine.c" +} + + +static gdouble gsettings_configuration_engine_real_get_double_property (ConfigurationEngine* base, ConfigurableProperty p, GError** error) { + GSettingsConfigurationEngine * self; + gdouble result = 0.0; + gdouble _tmp0_ = 0.0; + gchar** _tmp1_ = NULL; + gint _tmp1__length1 = 0; + ConfigurableProperty _tmp2_ = 0; + const gchar* _tmp3_ = NULL; + gchar** _tmp4_ = NULL; + gint _tmp4__length1 = 0; + ConfigurableProperty _tmp5_ = 0; + const gchar* _tmp6_ = NULL; + gdouble _tmp7_ = 0.0; + GError * _inner_error_ = NULL; +#line 338 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = self->priv->schema_names; +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1__length1 = self->priv->schema_names_length1; +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = p; +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = _tmp1_[_tmp2_]; +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = self->priv->key_names; +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4__length1 = self->priv->key_names_length1; +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = p; +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = _tmp4_[_tmp5_]; +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = gsettings_configuration_engine_get_gs_double (self, _tmp3_, _tmp6_, &_inner_error_); +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = _tmp7_; +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0.0; +#line 4109 "GSettingsEngine.c" + } else { +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0.0; +#line 4117 "GSettingsEngine.c" + } + } +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp0_; +#line 339 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 4124 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_set_double_property (ConfigurationEngine* base, ConfigurableProperty p, gdouble val, GError** error) { + GSettingsConfigurationEngine * self; + gchar** _tmp0_ = NULL; + gint _tmp0__length1 = 0; + ConfigurableProperty _tmp1_ = 0; + const gchar* _tmp2_ = NULL; + gchar** _tmp3_ = NULL; + gint _tmp3__length1 = 0; + ConfigurableProperty _tmp4_ = 0; + const gchar* _tmp5_ = NULL; + gdouble _tmp6_ = 0.0; + ConfigurableProperty _tmp7_ = 0; + GError * _inner_error_ = NULL; +#line 342 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = self->priv->schema_names; +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0__length1 = self->priv->schema_names_length1; +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = p; +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = _tmp0_[_tmp1_]; +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = self->priv->key_names; +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3__length1 = self->priv->key_names_length1; +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = p; +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp3_[_tmp4_]; +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = val; +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_set_gs_double (self, _tmp2_, _tmp5_, _tmp6_, &_inner_error_); +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_propagate_error (error, _inner_error_); +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 4171 "GSettingsEngine.c" + } else { +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 4179 "GSettingsEngine.c" + } + } +#line 344 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = p; +#line 344 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_ENGINE, ConfigurationEngine), "property-changed", _tmp7_); +#line 4186 "GSettingsEngine.c" +} + + +static gboolean gsettings_configuration_engine_real_get_plugin_bool (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gboolean def) { + GSettingsConfigurationEngine * self; + gboolean result = FALSE; + gchar* schema_name = NULL; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + GError * _inner_error_ = NULL; +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (domain != NULL, FALSE); +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (id != NULL, FALSE); +#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (key != NULL, FALSE); +#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = domain; +#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = id; +#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); +#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_name = _tmp2_; +#line 4214 "GSettingsEngine.c" + { + gboolean _tmp3_ = FALSE; + const gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; + gboolean _tmp7_ = FALSE; + gboolean _tmp8_ = FALSE; +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = key; +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_); +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = _tmp5_; +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = gsettings_configuration_engine_get_gs_bool (self, schema_name, _tmp6_, &_inner_error_); +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = _tmp7_; +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp6_); +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = _tmp8_; +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4240 "GSettingsEngine.c" + goto __catch190_configuration_error; + } +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return FALSE; +#line 4251 "GSettingsEngine.c" + } +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp3_; +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 4259 "GSettingsEngine.c" + } + goto __finally190; + __catch190_configuration_error: + { + GError* err = NULL; + GError* _tmp9_ = NULL; + const gchar* _tmp10_ = NULL; + gboolean _tmp11_ = FALSE; +#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 353 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp9_ = err; +#line 353 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp10_ = _tmp9_->message; +#line 353 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:353: GSettingsConfigurationEngine: error: %s", _tmp10_); +#line 354 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp11_ = def; +#line 354 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp11_; +#line 354 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 354 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 354 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 4288 "GSettingsEngine.c" + } + __finally190: +#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 350 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return FALSE; +#line 4299 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_set_plugin_bool (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gboolean val) { + GSettingsConfigurationEngine * self; + gchar* schema_name = NULL; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + GError * _inner_error_ = NULL; +#line 358 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 358 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (domain != NULL); +#line 358 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (id != NULL); +#line 358 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 359 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = domain; +#line 359 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = id; +#line 359 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); +#line 359 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_name = _tmp2_; +#line 4326 "GSettingsEngine.c" + { + const gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + gboolean _tmp6_ = FALSE; +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = key; +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_); +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp4_; +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = val; +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_set_gs_bool (self, schema_name, _tmp5_, _tmp6_, &_inner_error_); +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp5_); +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4348 "GSettingsEngine.c" + goto __catch191_configuration_error; + } +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 362 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 4359 "GSettingsEngine.c" + } + } + goto __finally191; + __catch191_configuration_error: + { + GError* err = NULL; + GError* _tmp7_ = NULL; + const gchar* _tmp8_ = NULL; +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 364 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = err; +#line 364 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = _tmp7_->message; +#line 364 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:364: GSettingsConfigurationEngine: error: %s", _tmp8_); +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 4380 "GSettingsEngine.c" + } + __finally191: +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 361 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 4393 "GSettingsEngine.c" + } +#line 358 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 4397 "GSettingsEngine.c" +} + + +static gdouble gsettings_configuration_engine_real_get_plugin_double (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gdouble def) { + GSettingsConfigurationEngine * self; + gdouble result = 0.0; + gchar* schema_name = NULL; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + GError * _inner_error_ = NULL; +#line 368 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 368 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (domain != NULL, 0.0); +#line 368 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (id != NULL, 0.0); +#line 368 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (key != NULL, 0.0); +#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = domain; +#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = id; +#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); +#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_name = _tmp2_; +#line 4425 "GSettingsEngine.c" + { + gdouble _tmp3_ = 0.0; + const gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; + gdouble _tmp7_ = 0.0; + gdouble _tmp8_ = 0.0; +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = key; +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_); +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = _tmp5_; +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = gsettings_configuration_engine_get_gs_double (self, schema_name, _tmp6_, &_inner_error_); +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = _tmp7_; +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp6_); +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = _tmp8_; +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4451 "GSettingsEngine.c" + goto __catch192_configuration_error; + } +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0.0; +#line 4462 "GSettingsEngine.c" + } +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp3_; +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 372 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 4470 "GSettingsEngine.c" + } + goto __finally192; + __catch192_configuration_error: + { + GError* err = NULL; + GError* _tmp9_ = NULL; + const gchar* _tmp10_ = NULL; + gdouble _tmp11_ = 0.0; +#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp9_ = err; +#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp10_ = _tmp9_->message; +#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:374: GSettingsConfigurationEngine: error: %s", _tmp10_); +#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp11_ = def; +#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp11_; +#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 375 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 4499 "GSettingsEngine.c" + } + __finally192: +#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 371 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0.0; +#line 4510 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_set_plugin_double (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gdouble val) { + GSettingsConfigurationEngine * self; + gchar* schema_name = NULL; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + GError * _inner_error_ = NULL; +#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (domain != NULL); +#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (id != NULL); +#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = domain; +#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = id; +#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); +#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_name = _tmp2_; +#line 4537 "GSettingsEngine.c" + { + const gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + gdouble _tmp6_ = 0.0; +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = key; +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_); +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp4_; +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = val; +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_set_gs_double (self, schema_name, _tmp5_, _tmp6_, &_inner_error_); +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp5_); +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4559 "GSettingsEngine.c" + goto __catch193_configuration_error; + } +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 383 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 4570 "GSettingsEngine.c" + } + } + goto __finally193; + __catch193_configuration_error: + { + GError* err = NULL; + GError* _tmp7_ = NULL; + const gchar* _tmp8_ = NULL; +#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = err; +#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = _tmp7_->message; +#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:385: GSettingsConfigurationEngine: error: %s", _tmp8_); +#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 4591 "GSettingsEngine.c" + } + __finally193: +#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 382 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 4604 "GSettingsEngine.c" + } +#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 4608 "GSettingsEngine.c" +} + + +static gint gsettings_configuration_engine_real_get_plugin_int (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gint def) { + GSettingsConfigurationEngine * self; + gint result = 0; + gchar* schema_name = NULL; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + GError * _inner_error_ = NULL; +#line 389 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 389 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (domain != NULL, 0); +#line 389 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (id != NULL, 0); +#line 389 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (key != NULL, 0); +#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = domain; +#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = id; +#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); +#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_name = _tmp2_; +#line 4636 "GSettingsEngine.c" + { + gint _tmp3_ = 0; + const gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; + gint _tmp7_ = 0; + gint _tmp8_ = 0; +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = key; +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_); +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = _tmp5_; +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = gsettings_configuration_engine_get_gs_int (self, schema_name, _tmp6_, &_inner_error_); +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = _tmp7_; +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp6_); +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = _tmp8_; +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4662 "GSettingsEngine.c" + goto __catch194_configuration_error; + } +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 4673 "GSettingsEngine.c" + } +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp3_; +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 393 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 4681 "GSettingsEngine.c" + } + goto __finally194; + __catch194_configuration_error: + { + GError* err = NULL; + GError* _tmp9_ = NULL; + const gchar* _tmp10_ = NULL; + gint _tmp11_ = 0; +#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp9_ = err; +#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp10_ = _tmp9_->message; +#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:395: GSettingsConfigurationEngine: error: %s", _tmp10_); +#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp11_ = def; +#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp11_; +#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 396 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 4710 "GSettingsEngine.c" + } + __finally194: +#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 392 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 4721 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_set_plugin_int (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, gint val) { + GSettingsConfigurationEngine * self; + gchar* schema_name = NULL; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + GError * _inner_error_ = NULL; +#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (domain != NULL); +#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (id != NULL); +#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = domain; +#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = id; +#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); +#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_name = _tmp2_; +#line 4748 "GSettingsEngine.c" + { + const gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + gint _tmp6_ = 0; +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = key; +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_); +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp4_; +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = val; +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_set_gs_int (self, schema_name, _tmp5_, _tmp6_, &_inner_error_); +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp5_); +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4770 "GSettingsEngine.c" + goto __catch195_configuration_error; + } +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 404 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 4781 "GSettingsEngine.c" + } + } + goto __finally195; + __catch195_configuration_error: + { + GError* err = NULL; + GError* _tmp7_ = NULL; + const gchar* _tmp8_ = NULL; +#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = err; +#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = _tmp7_->message; +#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:406: GSettingsConfigurationEngine: error: %s", _tmp8_); +#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 4802 "GSettingsEngine.c" + } + __finally195: +#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 403 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 4815 "GSettingsEngine.c" + } +#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 4819 "GSettingsEngine.c" +} + + +static gchar* gsettings_configuration_engine_real_get_plugin_string (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) { + GSettingsConfigurationEngine * self; + gchar* result = NULL; + gchar* schema_name = NULL; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + GError * _inner_error_ = NULL; +#line 410 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 410 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (domain != NULL, NULL); +#line 410 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (id != NULL, NULL); +#line 410 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (key != NULL, NULL); +#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = domain; +#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = id; +#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); +#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_name = _tmp2_; +#line 4847 "GSettingsEngine.c" + { + gchar* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + gchar* _tmp6_ = NULL; + gchar* _tmp7_ = NULL; + gchar* _tmp8_ = NULL; + gchar* _tmp9_ = NULL; +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = key; +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = gsettings_configuration_engine_make_gsettings_key (_tmp4_); +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = _tmp5_; +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = gsettings_configuration_engine_get_gs_string (self, schema_name, _tmp6_, &_inner_error_); +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = _tmp7_; +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp6_); +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = _tmp8_; +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4874 "GSettingsEngine.c" + goto __catch196_configuration_error; + } +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return NULL; +#line 4885 "GSettingsEngine.c" + } +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp9_ = _tmp3_; +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = NULL; +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp9_; +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp3_); +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 414 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 4899 "GSettingsEngine.c" + } + goto __finally196; + __catch196_configuration_error: + { + GError* err = NULL; + GError* _tmp10_ = NULL; + const gchar* _tmp11_ = NULL; + const gchar* _tmp12_ = NULL; + gchar* _tmp13_ = NULL; +#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp10_ = err; +#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp11_ = _tmp10_->message; +#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:416: GSettingsConfigurationEngine: error: %s", _tmp11_); +#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp12_ = def; +#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp13_ = g_strdup (_tmp12_); +#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp13_; +#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 417 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 4931 "GSettingsEngine.c" + } + __finally196: +#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 413 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return NULL; +#line 4942 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_set_plugin_string (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) { + GSettingsConfigurationEngine * self; + gchar* schema_name = NULL; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + GError * _inner_error_ = NULL; +#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (domain != NULL); +#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (id != NULL); +#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = domain; +#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = id; +#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); +#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_name = _tmp2_; +#line 4969 "GSettingsEngine.c" + { + const gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + const gchar* _tmp6_ = NULL; +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = key; +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_); +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp4_; +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = val; +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_set_gs_string (self, schema_name, _tmp5_, _tmp6_, &_inner_error_); +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp5_); +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 4991 "GSettingsEngine.c" + goto __catch197_configuration_error; + } +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 425 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 5002 "GSettingsEngine.c" + } + } + goto __finally197; + __catch197_configuration_error: + { + GError* err = NULL; + GError* _tmp7_ = NULL; + const gchar* _tmp8_ = NULL; +#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = err; +#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp8_ = _tmp7_->message; +#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:427: GSettingsConfigurationEngine: error: %s", _tmp8_); +#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 5023 "GSettingsEngine.c" + } + __finally197: +#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 424 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 5036 "GSettingsEngine.c" + } +#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 5040 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_unset_plugin_key (ConfigurationEngine* base, const gchar* domain, const gchar* id, const gchar* key) { + GSettingsConfigurationEngine * self; + gchar* schema_name = NULL; + const gchar* _tmp0_ = NULL; + const gchar* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + GError * _inner_error_ = NULL; +#line 431 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 431 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (domain != NULL); +#line 431 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (id != NULL); +#line 431 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (key != NULL); +#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = domain; +#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = id; +#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = gsettings_configuration_engine_make_plugin_schema_name (_tmp0_, _tmp1_); +#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + schema_name = _tmp2_; +#line 5067 "GSettingsEngine.c" + { + const gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = key; +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = gsettings_configuration_engine_make_gsettings_key (_tmp3_); +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp4_; +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_reset_gs_to_default (self, schema_name, _tmp5_, &_inner_error_); +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp5_); +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5086 "GSettingsEngine.c" + goto __catch198_configuration_error; + } +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 435 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 5097 "GSettingsEngine.c" + } + } + goto __finally198; + __catch198_configuration_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + const gchar* _tmp7_ = NULL; +#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = err; +#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = _tmp6_->message; +#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:437: GSettingsConfigurationEngine: error: %s", _tmp7_); +#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 5118 "GSettingsEngine.c" + } + __finally198: +#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 434 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 5131 "GSettingsEngine.c" + } +#line 431 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (schema_name); +#line 5135 "GSettingsEngine.c" +} + + +static FuzzyPropertyState gsettings_configuration_engine_real_is_plugin_enabled (ConfigurationEngine* base, const gchar* id) { + GSettingsConfigurationEngine * self; + FuzzyPropertyState result = 0; + gchar* enable_disable_name = NULL; + const gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; + GError * _inner_error_ = NULL; +#line 441 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 441 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_val_if_fail (id != NULL, 0); +#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = id; +#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = gsettings_configuration_engine_get_plugin_enable_disable_name (_tmp0_); +#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + enable_disable_name = _tmp1_; +#line 5156 "GSettingsEngine.c" + { + FuzzyPropertyState _tmp2_ = 0; + gboolean _tmp3_ = FALSE; + gboolean _tmp4_ = FALSE; +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = gsettings_configuration_engine_get_gs_bool (self, GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME, enable_disable_name, &_inner_error_); +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = _tmp4_; +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5169 "GSettingsEngine.c" + goto __catch199_configuration_error; + } +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (enable_disable_name); +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 5180 "GSettingsEngine.c" + } +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_tmp3_) { +#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = FUZZY_PROPERTY_STATE_ENABLED; +#line 5186 "GSettingsEngine.c" + } else { +#line 446 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = FUZZY_PROPERTY_STATE_DISABLED; +#line 5190 "GSettingsEngine.c" + } +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = _tmp2_; +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (enable_disable_name); +#line 445 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 5198 "GSettingsEngine.c" + } + goto __finally199; + __catch199_configuration_error: + { + GError* err = NULL; + GError* _tmp5_ = NULL; + const gchar* _tmp6_ = NULL; +#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = err; +#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = _tmp5_->message; +#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:448: GSettingsConfigurationEngine: error: %s", _tmp6_); +#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + result = FUZZY_PROPERTY_STATE_UNKNOWN; +#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (enable_disable_name); +#line 449 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return result; +#line 5224 "GSettingsEngine.c" + } + __finally199: +#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (enable_disable_name); +#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 444 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return 0; +#line 5235 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_real_set_plugin_enabled (ConfigurationEngine* base, const gchar* id, gboolean enabled) { + GSettingsConfigurationEngine * self; + gchar* enable_disable_name = NULL; + const gchar* _tmp0_ = NULL; + gchar* _tmp1_ = NULL; + GError * _inner_error_ = NULL; +#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_return_if_fail (id != NULL); +#line 454 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = id; +#line 454 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = gsettings_configuration_engine_get_plugin_enable_disable_name (_tmp0_); +#line 454 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + enable_disable_name = _tmp1_; +#line 5255 "GSettingsEngine.c" + { + gboolean _tmp2_ = FALSE; +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = enabled; +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_set_gs_bool (self, GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME, enable_disable_name, _tmp2_, &_inner_error_); +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (_inner_error_->domain == CONFIGURATION_ERROR) { +#line 5266 "GSettingsEngine.c" + goto __catch200_configuration_error; + } +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (enable_disable_name); +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 5277 "GSettingsEngine.c" + } + } + goto __finally200; + __catch200_configuration_error: + { + GError* err = NULL; + GError* _tmp3_ = NULL; + const gchar* _tmp4_ = NULL; +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 459 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = err; +#line 459 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = _tmp3_->message; +#line 459 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("GSettingsEngine.vala:459: GSettingsConfigurationEngine: error: %s", _tmp4_); +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 5298 "GSettingsEngine.c" + } + __finally200: +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (enable_disable_name); +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 456 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 5311 "GSettingsEngine.c" + } +#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (enable_disable_name); +#line 5315 "GSettingsEngine.c" +} + + +void gsettings_configuration_engine_run_gsettings_migrator (void) { + gchar* cmd_line = NULL; + GFile* _tmp0_ = NULL; + GFile* _tmp1_ = NULL; + gchar* _tmp2_ = NULL; + gchar* _tmp3_ = NULL; + gchar* _tmp4_ = NULL; + gchar* _tmp5_ = NULL; + GError * _inner_error_ = NULL; +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp0_ = app_dirs_get_settings_migrator_bin (); +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp1_ = _tmp0_; +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp2_ = g_file_get_path (_tmp1_); +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp3_ = _tmp2_; +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp4_ = g_strconcat ("sh ", _tmp3_, NULL); +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp5_ = _tmp4_; +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (_tmp3_); +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (_tmp1_); +#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + cmd_line = _tmp5_; +#line 5346 "GSettingsEngine.c" + { +#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_spawn_command_line_sync (cmd_line, NULL, NULL, NULL, &_inner_error_); +#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 5352 "GSettingsEngine.c" + goto __catch201_g_error; + } + } + goto __finally201; + __catch201_g_error: + { + GError* err = NULL; + GError* _tmp6_ = NULL; + const gchar* _tmp7_ = NULL; +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + err = _inner_error_; +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _inner_error_ = NULL; +#line 473 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp6_ = err; +#line 473 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _tmp7_ = _tmp6_->message; +#line 473 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_message ("GSettingsEngine.vala:473: Error running shotwell-settings-migrator: %s", _tmp7_); +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_error_free0 (err); +#line 5374 "GSettingsEngine.c" + } + __finally201: +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + if (G_UNLIKELY (_inner_error_ != NULL)) { +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (cmd_line); +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_clear_error (&_inner_error_); +#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + return; +#line 5387 "GSettingsEngine.c" + } +#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_free0 (cmd_line); +#line 5391 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_class_init (GSettingsConfigurationEngineClass * klass) { +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_parent_class = g_type_class_peek_parent (klass); +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + g_type_class_add_private (klass, sizeof (GSettingsConfigurationEnginePrivate)); +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + G_OBJECT_CLASS (klass)->finalize = gsettings_configuration_engine_finalize; +#line 5402 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_configuration_engine_interface_init (ConfigurationEngineIface * iface) { +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + gsettings_configuration_engine_configuration_engine_parent_iface = g_type_interface_peek_parent (iface); +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->get_name = (gchar* (*)(ConfigurationEngine*)) gsettings_configuration_engine_real_get_name; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->get_int_property = (gint (*)(ConfigurationEngine*, ConfigurableProperty, GError**)) gsettings_configuration_engine_real_get_int_property; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->set_int_property = (void (*)(ConfigurationEngine*, ConfigurableProperty, gint, GError**)) gsettings_configuration_engine_real_set_int_property; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->get_string_property = (gchar* (*)(ConfigurationEngine*, ConfigurableProperty, GError**)) gsettings_configuration_engine_real_get_string_property; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->set_string_property = (void (*)(ConfigurationEngine*, ConfigurableProperty, const gchar*, GError**)) gsettings_configuration_engine_real_set_string_property; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->get_bool_property = (gboolean (*)(ConfigurationEngine*, ConfigurableProperty, GError**)) gsettings_configuration_engine_real_get_bool_property; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->set_bool_property = (void (*)(ConfigurationEngine*, ConfigurableProperty, gboolean, GError**)) gsettings_configuration_engine_real_set_bool_property; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->get_double_property = (gdouble (*)(ConfigurationEngine*, ConfigurableProperty, GError**)) gsettings_configuration_engine_real_get_double_property; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->set_double_property = (void (*)(ConfigurationEngine*, ConfigurableProperty, gdouble, GError**)) gsettings_configuration_engine_real_set_double_property; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->get_plugin_bool = (gboolean (*)(ConfigurationEngine*, const gchar*, const gchar*, const gchar*, gboolean)) gsettings_configuration_engine_real_get_plugin_bool; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->set_plugin_bool = (void (*)(ConfigurationEngine*, const gchar*, const gchar*, const gchar*, gboolean)) gsettings_configuration_engine_real_set_plugin_bool; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->get_plugin_double = (gdouble (*)(ConfigurationEngine*, const gchar*, const gchar*, const gchar*, gdouble)) gsettings_configuration_engine_real_get_plugin_double; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->set_plugin_double = (void (*)(ConfigurationEngine*, const gchar*, const gchar*, const gchar*, gdouble)) gsettings_configuration_engine_real_set_plugin_double; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->get_plugin_int = (gint (*)(ConfigurationEngine*, const gchar*, const gchar*, const gchar*, gint)) gsettings_configuration_engine_real_get_plugin_int; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->set_plugin_int = (void (*)(ConfigurationEngine*, const gchar*, const gchar*, const gchar*, gint)) gsettings_configuration_engine_real_set_plugin_int; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->get_plugin_string = (gchar* (*)(ConfigurationEngine*, const gchar*, const gchar*, const gchar*, const gchar*)) gsettings_configuration_engine_real_get_plugin_string; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->set_plugin_string = (void (*)(ConfigurationEngine*, const gchar*, const gchar*, const gchar*, const gchar*)) gsettings_configuration_engine_real_set_plugin_string; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->unset_plugin_key = (void (*)(ConfigurationEngine*, const gchar*, const gchar*, const gchar*)) gsettings_configuration_engine_real_unset_plugin_key; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->is_plugin_enabled = (FuzzyPropertyState (*)(ConfigurationEngine*, const gchar*)) gsettings_configuration_engine_real_is_plugin_enabled; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + iface->set_plugin_enabled = (void (*)(ConfigurationEngine*, const gchar*, gboolean)) gsettings_configuration_engine_real_set_plugin_enabled; +#line 5449 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_instance_init (GSettingsConfigurationEngine * self) { +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv = GSETTINGS_CONFIGURATION_ENGINE_GET_PRIVATE (self); +#line 5456 "GSettingsEngine.c" +} + + +static void gsettings_configuration_engine_finalize (GObject* obj) { + GSettingsConfigurationEngine * self; +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); +#line 25 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + _g_object_unref0 (self->priv->known_schemas); +#line 26 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->schema_names = (_vala_array_free (self->priv->schema_names, self->priv->schema_names_length1, (GDestroyNotify) g_free), NULL); +#line 27 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + self->priv->key_names = (_vala_array_free (self->priv->key_names, self->priv->key_names_length1, (GDestroyNotify) g_free), NULL); +#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" + G_OBJECT_CLASS (gsettings_configuration_engine_parent_class)->finalize (obj); +#line 5472 "GSettingsEngine.c" +} + + +GType gsettings_configuration_engine_get_type (void) { + static volatile gsize gsettings_configuration_engine_type_id__volatile = 0; + if (g_once_init_enter (&gsettings_configuration_engine_type_id__volatile)) { + static const GTypeInfo g_define_type_info = { sizeof (GSettingsConfigurationEngineClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gsettings_configuration_engine_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GSettingsConfigurationEngine), 0, (GInstanceInitFunc) gsettings_configuration_engine_instance_init, NULL }; + static const GInterfaceInfo configuration_engine_info = { (GInterfaceInitFunc) gsettings_configuration_engine_configuration_engine_interface_init, (GInterfaceFinalizeFunc) NULL, NULL}; + GType gsettings_configuration_engine_type_id; + gsettings_configuration_engine_type_id = g_type_register_static (G_TYPE_OBJECT, "GSettingsConfigurationEngine", &g_define_type_info, 0); + g_type_add_interface_static (gsettings_configuration_engine_type_id, TYPE_CONFIGURATION_ENGINE, &configuration_engine_info); + g_once_init_leave (&gsettings_configuration_engine_type_id__volatile, gsettings_configuration_engine_type_id); + } + return gsettings_configuration_engine_type_id__volatile; +} + + +static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) { + if ((array != NULL) && (destroy_func != NULL)) { + int i; + for (i = 0; i < array_length; i = i + 1) { + if (((gpointer*) array)[i] != NULL) { + destroy_func (((gpointer*) array)[i]); + } + } + } +} + + +static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) { + _vala_array_destroy (array, array_length, destroy_func); + g_free (array); +} + + +static gint _vala_array_length (gpointer array) { + int length; + length = 0; + if (array) { + while (((gpointer*) array)[length]) { + length++; + } + } + return length; +} + + + diff --git a/src/config/GSettingsEngine.vala b/src/config/GSettingsEngine.vala index d7ad69f..6329b78 100644 --- a/src/config/GSettingsEngine.vala +++ b/src/config/GSettingsEngine.vala @@ -49,6 +49,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { schema_names[ConfigurableProperty.DISPLAY_BASIC_PROPERTIES] = UI_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.DISPLAY_EXTENDED_PROPERTIES] = UI_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.DISPLAY_SIDEBAR] = UI_PREFS_SCHEMA_NAME; + schema_names[ConfigurableProperty.DISPLAY_TOOLBAR] = UI_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.DISPLAY_SEARCH_BAR] = UI_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.DISPLAY_PHOTO_RATINGS] = UI_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.DISPLAY_PHOTO_TAGS] = UI_PREFS_SCHEMA_NAME; @@ -114,6 +115,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { key_names[ConfigurableProperty.DISPLAY_BASIC_PROPERTIES] = "display-basic-properties"; key_names[ConfigurableProperty.DISPLAY_EXTENDED_PROPERTIES] = "display-extended-properties"; key_names[ConfigurableProperty.DISPLAY_SIDEBAR] = "display-sidebar"; + key_names[ConfigurableProperty.DISPLAY_TOOLBAR] = "display-toolbar"; key_names[ConfigurableProperty.DISPLAY_SEARCH_BAR] = "display-search-bar"; key_names[ConfigurableProperty.DISPLAY_PHOTO_RATINGS] = "display-photo-ratings"; key_names[ConfigurableProperty.DISPLAY_PHOTO_TAGS] = "display-photo-tags"; diff --git a/src/config/mk/config.mk b/src/config/mk/config.mk deleted file mode 100644 index e06dedf..0000000 --- a/src/config/mk/config.mk +++ /dev/null @@ -1,29 +0,0 @@ - -# UNIT_NAME is the Vala namespace. A file named UNIT_NAME.vala must be in this directory with -# a init() and terminate() function declared in the namespace. -UNIT_NAME := Config - -# UNIT_DIR should match the subdirectory the files are located in. Generally UNIT_NAME in all -# lowercase. The name of this file should be UNIT_DIR.mk. -UNIT_DIR := config - -# All Vala files in the unit should be listed here with no subdirectory prefix. -# -# NOTE: Do *not* include the unit's master file, i.e. UNIT_NAME.vala. -UNIT_FILES := \ - ConfigurationInterfaces.vala \ - GSettingsEngine.vala - -# Any unit this unit relies upon (and should be initialized before it's initialized) should -# be listed here using its Vala namespace. -# -# NOTE: All units are assumed to rely upon the unit-unit. Do not include that here. -UNIT_USES := - -# List any additional files that are used in the build process as a part of this unit that should -# be packaged in the tarball. File names should be relative to the unit's home directory. -UNIT_RC := - -# unitize.mk must be called at the end of each UNIT_DIR.mk file. -include unitize.mk - -- cgit v1.2.3