diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-09-30 14:09:20 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-09-30 14:09:20 +0200 |
commit | 5e9f4eea451a77ba3b93db3747841ed2bd969e9f (patch) | |
tree | 75046a38ca68975261d853a2e56ff7bf6b3e1daa /src/config | |
parent | 18b52c2983a1b3409011f72d27f15de576c5eb1c (diff) |
New upstream version 0.30.1upstream/0.30.1
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/Config.c | 1011 | ||||
-rw-r--r-- | src/config/Config.vala | 93 | ||||
-rw-r--r-- | src/config/ConfigurationInterfaces.c | 14452 | ||||
-rw-r--r-- | src/config/ConfigurationInterfaces.vala | 20 | ||||
-rw-r--r-- | src/config/GSettingsEngine.c | 5835 | ||||
-rw-r--r-- | src/config/GSettingsEngine.vala | 35 |
6 files changed, 33 insertions, 21413 deletions
diff --git a/src/config/Config.c b/src/config/Config.c deleted file mode 100644 index 7dd8334..0000000 --- a/src/config/Config.c +++ /dev/null @@ -1,1011 +0,0 @@ -/* Config.c generated by valac 0.40.4, 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 <glib.h> -#include <glib-object.h> -#include <stdlib.h> -#include <string.h> -#include <float.h> -#include <math.h> -#include <gdk/gdk.h> - - -#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_SCALE_CONSTRAINT (scale_constraint_get_type ()) - -#define TYPE_EXPORT_FORMAT_MODE (export_format_mode_get_type ()) - -#define TYPE_PHOTO_FILE_FORMAT (photo_file_format_get_type ()) - -#define JPEG_TYPE_QUALITY (jpeg_quality_get_type ()) - -#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; -enum { - CONFIG_FACADE_0_PROPERTY, - CONFIG_FACADE_NUM_PROPERTIES -}; -static GParamSpec* config_facade_properties[CONFIG_FACADE_NUM_PROPERTIES]; -#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))) -enum { - CONFIG_FACADE_COLORS_CHANGED_SIGNAL, - CONFIG_FACADE_NUM_SIGNALS -}; -static guint config_facade_signals[CONFIG_FACADE_NUM_SIGNALS] = {0}; - -struct _Dimensions { - gint width; - gint height; -}; - -typedef enum { - SCALE_CONSTRAINT_ORIGINAL, - SCALE_CONSTRAINT_DIMENSIONS, - SCALE_CONSTRAINT_WIDTH, - SCALE_CONSTRAINT_HEIGHT, - SCALE_CONSTRAINT_FILL_VIEWPORT -} ScaleConstraint; - -typedef enum { - EXPORT_FORMAT_MODE_UNMODIFIED, - EXPORT_FORMAT_MODE_CURRENT, - EXPORT_FORMAT_MODE_SPECIFIED, - EXPORT_FORMAT_MODE_LAST -} ExportFormatMode; - -typedef enum { - PHOTO_FILE_FORMAT_JFIF, - PHOTO_FILE_FORMAT_RAW, - PHOTO_FILE_FORMAT_PNG, - PHOTO_FILE_FORMAT_TIFF, - PHOTO_FILE_FORMAT_BMP, - PHOTO_FILE_FORMAT_UNKNOWN -} PhotoFileFormat; - -typedef enum { - JPEG_QUALITY_LOW = 50, - JPEG_QUALITY_MEDIUM = 75, - JPEG_QUALITY_HIGH = 90, - JPEG_QUALITY_MAXIMUM = 100 -} JpegQuality; - -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); - gchar* (*get_transparent_background_type) (ConfigurationFacade* self); - void (*set_transparent_background_type) (ConfigurationFacade* self, const gchar* type); - gchar* (*get_transparent_background_color) (ConfigurationFacade* self); - void (*set_transparent_background_color) (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); - ScaleConstraint (*get_export_constraint) (ConfigurationFacade* self); - void (*set_export_constraint) (ConfigurationFacade* self, ScaleConstraint constraint); - ExportFormatMode (*get_export_export_format_mode) (ConfigurationFacade* self); - void (*set_export_export_format_mode) (ConfigurationFacade* self, ExportFormatMode export_format_mode); - gboolean (*get_export_export_metadata) (ConfigurationFacade* self); - void (*set_export_export_metadata) (ConfigurationFacade* self, gboolean export_metadata); - PhotoFileFormat (*get_export_photo_file_format) (ConfigurationFacade* self); - void (*set_export_photo_file_format) (ConfigurationFacade* self, PhotoFileFormat photo_file_format); - JpegQuality (*get_export_quality) (ConfigurationFacade* self); - void (*set_export_quality) (ConfigurationFacade* self, JpegQuality quality); - gint (*get_export_scale) (ConfigurationFacade* self); - void (*set_export_scale) (ConfigurationFacade* self, gint scale); - 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_TRANSPARENT_BACKGROUND_TYPE, - CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR, - 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_EXPORT_CONSTRAINT, - CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, - CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, - CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, - CONFIGURABLE_PROPERTY_EXPORT_QUALITY, - CONFIGURABLE_PROPERTY_EXPORT_SCALE, - 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); - gint (*get_enum_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); - void (*set_enum_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 scale_constraint_get_type (void) G_GNUC_CONST; -GType export_format_mode_get_type (void) G_GNUC_CONST; -GType photo_file_format_get_type (void) G_GNUC_CONST; -GType jpeg_quality_get_type (void) G_GNUC_CONST; -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)) -#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); -static void _config_facade_on_color_name_changed_configuration_facade_transparent_background_type_changed (ConfigurationFacade* _sender, - gpointer self); -static void _config_facade_on_color_name_changed_configuration_facade_transparent_background_color_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 49 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_on_color_name_changed ((ConfigFacade*) self); -#line 499 "Config.c" -} - - -static void -_config_facade_on_color_name_changed_configuration_facade_transparent_background_type_changed (ConfigurationFacade* _sender, - gpointer self) -{ -#line 50 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_on_color_name_changed ((ConfigFacade*) self); -#line 509 "Config.c" -} - - -static void -_config_facade_on_color_name_changed_configuration_facade_transparent_background_color_changed (ConfigurationFacade* _sender, - gpointer self) -{ -#line 51 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_on_color_name_changed ((ConfigFacade*) self); -#line 519 "Config.c" -} - - -static ConfigFacade* -config_facade_construct (GType object_type) -{ - ConfigFacade * self = NULL; - GSettingsConfigurationEngine* _tmp0_; - GSettingsConfigurationEngine* _tmp1_; -#line 47 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp0_ = gsettings_configuration_engine_new (); -#line 47 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp1_ = _tmp0_; -#line 47 "/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 47 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_object_unref0 (_tmp1_); -#line 49 "/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 50 "/home/jens/Source/shotwell/src/config/Config.vala" - g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), "transparent-background-type-changed", (GCallback) _config_facade_on_color_name_changed_configuration_facade_transparent_background_type_changed, self, 0); -#line 51 "/home/jens/Source/shotwell/src/config/Config.vala" - g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), "transparent-background-color-changed", (GCallback) _config_facade_on_color_name_changed_configuration_facade_transparent_background_color_changed, self, 0); -#line 46 "/home/jens/Source/shotwell/src/config/Config.vala" - return self; -#line 545 "Config.c" -} - - -static ConfigFacade* -config_facade_new (void) -{ -#line 46 "/home/jens/Source/shotwell/src/config/Config.vala" - return config_facade_construct (CONFIG_TYPE_FACADE); -#line 554 "Config.c" -} - - -static gpointer -_g_object_ref0 (gpointer self) -{ -#line 58 "/home/jens/Source/shotwell/src/config/Config.vala" - return self ? g_object_ref (self) : NULL; -#line 563 "Config.c" -} - - -ConfigFacade* -config_facade_get_instance (void) -{ - ConfigFacade* result = NULL; - ConfigFacade* _tmp0_; - ConfigFacade* _tmp2_; - ConfigFacade* _tmp3_; -#line 55 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp0_ = config_facade_instance; -#line 55 "/home/jens/Source/shotwell/src/config/Config.vala" - if (_tmp0_ == NULL) { -#line 578 "Config.c" - ConfigFacade* _tmp1_; -#line 56 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp1_ = config_facade_new (); -#line 56 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_object_unref0 (config_facade_instance); -#line 56 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_instance = _tmp1_; -#line 586 "Config.c" - } -#line 58 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp2_ = config_facade_instance; -#line 58 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp3_ = _g_object_ref0 (_tmp2_); -#line 58 "/home/jens/Source/shotwell/src/config/Config.vala" - result = _tmp3_; -#line 58 "/home/jens/Source/shotwell/src/config/Config.vala" - return result; -#line 596 "Config.c" -} - - -static void -config_facade_on_color_name_changed (ConfigFacade* self) -{ -#line 61 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (CONFIG_IS_FACADE (self)); -#line 62 "/home/jens/Source/shotwell/src/config/Config.vala" - g_signal_emit (self, config_facade_signals[CONFIG_FACADE_COLORS_CHANGED_SIGNAL], 0); -#line 607 "Config.c" -} - - -static void -config_facade_set_text_colors (ConfigFacade* self, - GdkRGBA* bg_color) -{ - GdkRGBA _tmp0_; - gdouble _tmp1_; -#line 65 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (CONFIG_IS_FACADE (self)); -#line 65 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (bg_color != NULL); -#line 69 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp0_ = *bg_color; -#line 69 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp1_ = _tmp0_.red; -#line 69 "/home/jens/Source/shotwell/src/config/Config.vala" - if (_tmp1_ > CONFIG_FACADE_BLACK_THRESHOLD) { -#line 627 "Config.c" - gchar* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 70 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp2_ = g_strdup (CONFIG_FACADE_DARK_SELECTED_COLOR); -#line 70 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->selected_color); -#line 70 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->selected_color = _tmp2_; -#line 71 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp3_ = g_strdup (CONFIG_FACADE_DARK_UNSELECTED_COLOR); -#line 71 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->unselected_color); -#line 71 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->unselected_color = _tmp3_; -#line 72 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp4_ = g_strdup (CONFIG_FACADE_DARK_UNFOCUSED_SELECTED_COLOR); -#line 72 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->unfocused_selected_color); -#line 72 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->unfocused_selected_color = _tmp4_; -#line 73 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp5_ = g_strdup (CONFIG_FACADE_DARK_BORDER_COLOR); -#line 73 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->border_color); -#line 73 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->border_color = _tmp5_; -#line 656 "Config.c" - } else { - gchar* _tmp6_; - gchar* _tmp7_; - gchar* _tmp8_; - gchar* _tmp9_; -#line 75 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp6_ = g_strdup (CONFIG_FACADE_LIGHT_SELECTED_COLOR); -#line 75 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->selected_color); -#line 75 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->selected_color = _tmp6_; -#line 76 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp7_ = g_strdup (CONFIG_FACADE_LIGHT_UNSELECTED_COLOR); -#line 76 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->unselected_color); -#line 76 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->unselected_color = _tmp7_; -#line 77 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp8_ = g_strdup (CONFIG_FACADE_LIGHT_UNFOCUSED_SELECTED_COLOR); -#line 77 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->unfocused_selected_color); -#line 77 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->unfocused_selected_color = _tmp8_; -#line 78 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp9_ = g_strdup (CONFIG_FACADE_LIGHT_BORDER_COLOR); -#line 78 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->border_color); -#line 78 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->border_color = _tmp9_; -#line 686 "Config.c" - } -} - - -static void -config_facade_get_colors (ConfigFacade* self) -{ - gchar* _tmp0_; - const gchar* _tmp1_; - const gchar* _tmp3_; - GdkRGBA _tmp4_ = {0}; -#line 82 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (CONFIG_IS_FACADE (self)); -#line 83 "/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 83 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->bg_color); -#line 83 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->bg_color = _tmp0_; -#line 85 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp1_ = self->priv->bg_color; -#line 85 "/home/jens/Source/shotwell/src/config/Config.vala" - if (!is_color_parsable (_tmp1_)) { -#line 710 "Config.c" - gchar* _tmp2_; -#line 86 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp2_ = g_strdup (CONFIG_FACADE_DEFAULT_BG_COLOR); -#line 86 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->bg_color); -#line 86 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->bg_color = _tmp2_; -#line 718 "Config.c" - } -#line 88 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp3_ = self->priv->bg_color; -#line 88 "/home/jens/Source/shotwell/src/config/Config.vala" - parse_color (_tmp3_, &_tmp4_); -#line 88 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_set_text_colors (self, &_tmp4_); -#line 726 "Config.c" -} - - -void -config_facade_get_bg_color (ConfigFacade* self, - GdkRGBA* result) -{ - const gchar* _tmp0_; - const gchar* _tmp1_; - GdkRGBA _tmp2_ = {0}; -#line 91 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (CONFIG_IS_FACADE (self)); -#line 92 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp0_ = self->priv->bg_color; -#line 92 "/home/jens/Source/shotwell/src/config/Config.vala" - if (is_string_empty (_tmp0_)) { -#line 93 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_get_colors (self); -#line 745 "Config.c" - } -#line 95 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp1_ = self->priv->bg_color; -#line 95 "/home/jens/Source/shotwell/src/config/Config.vala" - parse_color (_tmp1_, &_tmp2_); -#line 95 "/home/jens/Source/shotwell/src/config/Config.vala" - *result = _tmp2_; -#line 95 "/home/jens/Source/shotwell/src/config/Config.vala" - return; -#line 755 "Config.c" -} - - -void -config_facade_get_selected_color (ConfigFacade* self, - gboolean in_focus, - GdkRGBA* result) -{ -#line 98 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (CONFIG_IS_FACADE (self)); -#line 99 "/home/jens/Source/shotwell/src/config/Config.vala" - if (in_focus) { -#line 768 "Config.c" - const gchar* _tmp0_; - const gchar* _tmp1_; - GdkRGBA _tmp2_ = {0}; -#line 100 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp0_ = self->priv->selected_color; -#line 100 "/home/jens/Source/shotwell/src/config/Config.vala" - if (is_string_empty (_tmp0_)) { -#line 101 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_get_colors (self); -#line 778 "Config.c" - } -#line 103 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp1_ = self->priv->selected_color; -#line 103 "/home/jens/Source/shotwell/src/config/Config.vala" - parse_color (_tmp1_, &_tmp2_); -#line 103 "/home/jens/Source/shotwell/src/config/Config.vala" - *result = _tmp2_; -#line 103 "/home/jens/Source/shotwell/src/config/Config.vala" - return; -#line 788 "Config.c" - } else { - const gchar* _tmp3_; - const gchar* _tmp4_; - GdkRGBA _tmp5_ = {0}; -#line 105 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp3_ = self->priv->unfocused_selected_color; -#line 105 "/home/jens/Source/shotwell/src/config/Config.vala" - if (is_string_empty (_tmp3_)) { -#line 106 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_get_colors (self); -#line 799 "Config.c" - } -#line 108 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp4_ = self->priv->unfocused_selected_color; -#line 108 "/home/jens/Source/shotwell/src/config/Config.vala" - parse_color (_tmp4_, &_tmp5_); -#line 108 "/home/jens/Source/shotwell/src/config/Config.vala" - *result = _tmp5_; -#line 108 "/home/jens/Source/shotwell/src/config/Config.vala" - return; -#line 809 "Config.c" - } -} - - -void -config_facade_get_unselected_color (ConfigFacade* self, - GdkRGBA* result) -{ - const gchar* _tmp0_; - const gchar* _tmp1_; - GdkRGBA _tmp2_ = {0}; -#line 112 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (CONFIG_IS_FACADE (self)); -#line 113 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp0_ = self->priv->unselected_color; -#line 113 "/home/jens/Source/shotwell/src/config/Config.vala" - if (is_string_empty (_tmp0_)) { -#line 114 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_get_colors (self); -#line 829 "Config.c" - } -#line 116 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp1_ = self->priv->unselected_color; -#line 116 "/home/jens/Source/shotwell/src/config/Config.vala" - parse_color (_tmp1_, &_tmp2_); -#line 116 "/home/jens/Source/shotwell/src/config/Config.vala" - *result = _tmp2_; -#line 116 "/home/jens/Source/shotwell/src/config/Config.vala" - return; -#line 839 "Config.c" -} - - -void -config_facade_get_border_color (ConfigFacade* self, - GdkRGBA* result) -{ - const gchar* _tmp0_; - const gchar* _tmp1_; - GdkRGBA _tmp2_ = {0}; -#line 119 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (CONFIG_IS_FACADE (self)); -#line 120 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp0_ = self->priv->border_color; -#line 120 "/home/jens/Source/shotwell/src/config/Config.vala" - if (is_string_empty (_tmp0_)) { -#line 121 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_get_colors (self); -#line 858 "Config.c" - } -#line 123 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp1_ = self->priv->border_color; -#line 123 "/home/jens/Source/shotwell/src/config/Config.vala" - parse_color (_tmp1_, &_tmp2_); -#line 123 "/home/jens/Source/shotwell/src/config/Config.vala" - *result = _tmp2_; -#line 123 "/home/jens/Source/shotwell/src/config/Config.vala" - return; -#line 868 "Config.c" -} - - -void -config_facade_set_bg_color (ConfigFacade* self, - GdkRGBA* color) -{ - guint8 col_tmp = 0U; - GdkRGBA _tmp0_; - gdouble _tmp1_; - gchar* _tmp2_; - const gchar* _tmp3_; - GdkRGBA _tmp4_; -#line 126 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (CONFIG_IS_FACADE (self)); -#line 126 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (color != NULL); -#line 127 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp0_ = *color; -#line 127 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp1_ = _tmp0_.red; -#line 127 "/home/jens/Source/shotwell/src/config/Config.vala" - col_tmp = (guint8) (_tmp1_ * 255.0); -#line 129 "/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 129 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->bg_color); -#line 129 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->bg_color = _tmp2_; -#line 130 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp3_ = self->priv->bg_color; -#line 130 "/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 132 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp4_ = *color; -#line 132 "/home/jens/Source/shotwell/src/config/Config.vala" - config_facade_set_text_colors (self, &_tmp4_); -#line 906 "Config.c" -} - - -void -config_facade_commit_bg_color (ConfigFacade* self) -{ - const gchar* _tmp0_; -#line 135 "/home/jens/Source/shotwell/src/config/Config.vala" - g_return_if_fail (CONFIG_IS_FACADE (self)); -#line 136 "/home/jens/Source/shotwell/src/config/Config.vala" - _tmp0_ = self->priv->bg_color; -#line 136 "/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 920 "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" - config_facade_signals[CONFIG_FACADE_COLORS_CHANGED_SIGNAL] = 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 935 "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 36 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->bg_color = NULL; -#line 37 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->selected_color = NULL; -#line 38 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->unselected_color = NULL; -#line 39 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->unfocused_selected_color = NULL; -#line 40 "/home/jens/Source/shotwell/src/config/Config.vala" - self->priv->border_color = NULL; -#line 954 "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 36 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->bg_color); -#line 37 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->selected_color); -#line 38 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->unselected_color); -#line 39 "/home/jens/Source/shotwell/src/config/Config.vala" - _g_free0 (self->priv->unfocused_selected_color); -#line 40 "/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 976 "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/Config.vala b/src/config/Config.vala index f80bfce..5675567 100644 --- a/src/config/Config.vala +++ b/src/config/Config.vala @@ -20,25 +20,9 @@ public class Facade : ConfigurationFacade { public const int HEIGHT_DEFAULT = 768; public const int SIDEBAR_MIN_POSITION = 180; public const int SIDEBAR_MAX_POSITION = 1000; - public const string DEFAULT_BG_COLOR = "#444"; public const int NO_VIDEO_INTERPRETER_STATE = -1; - private const double BLACK_THRESHOLD = 0.61; - private const string DARK_SELECTED_COLOR = "#0AD"; - private const string LIGHT_SELECTED_COLOR = "#2DF"; - private const string DARK_UNSELECTED_COLOR = "#000"; - private const string LIGHT_UNSELECTED_COLOR = "#FFF"; - private const string DARK_BORDER_COLOR = "#999"; - private const string LIGHT_BORDER_COLOR = "#AAA"; - private const string DARK_UNFOCUSED_SELECTED_COLOR = "#6fc4dd"; - private const string LIGHT_UNFOCUSED_SELECTED_COLOR = "#99efff"; - - private string bg_color = null; - private string selected_color = null; - private string unselected_color = null; - private string unfocused_selected_color = null; - private string border_color = null; - + private static Facade instance = null; public signal void colors_changed(); @@ -46,7 +30,6 @@ public class Facade : ConfigurationFacade { private Facade() { base(new GSettingsConfigurationEngine()); - bg_color_name_changed.connect(on_color_name_changed); transparent_background_type_changed.connect(on_color_name_changed); transparent_background_color_changed.connect(on_color_name_changed); } @@ -61,80 +44,6 @@ public class Facade : ConfigurationFacade { private void on_color_name_changed() { colors_changed(); } - - private void set_text_colors(Gdk.RGBA bg_color) { - // since bg color is greyscale, we only need to compare the red value to the threshold, - // which determines whether the background is dark enough to need light text and selection - // colors or vice versa - if (bg_color.red > BLACK_THRESHOLD) { - selected_color = DARK_SELECTED_COLOR; - unselected_color = DARK_UNSELECTED_COLOR; - unfocused_selected_color = DARK_UNFOCUSED_SELECTED_COLOR; - border_color = DARK_BORDER_COLOR; - } else { - selected_color = LIGHT_SELECTED_COLOR; - unselected_color = LIGHT_UNSELECTED_COLOR; - unfocused_selected_color = LIGHT_UNFOCUSED_SELECTED_COLOR; - border_color = LIGHT_BORDER_COLOR; - } - } - - private void get_colors() { - bg_color = base.get_bg_color_name(); - - if (!is_color_parsable(bg_color)) - bg_color = DEFAULT_BG_COLOR; - - set_text_colors(parse_color(bg_color)); - } - - public Gdk.RGBA get_bg_color() { - if (is_string_empty(bg_color)) - get_colors(); - - return parse_color(bg_color); - } - - public Gdk.RGBA get_selected_color(bool in_focus = true) { - if (in_focus) { - if (is_string_empty(selected_color)) - get_colors(); - - return parse_color(selected_color); - } else { - if (is_string_empty(unfocused_selected_color)) - get_colors(); - - return parse_color(unfocused_selected_color); - } - } - - public Gdk.RGBA get_unselected_color() { - if (is_string_empty(unselected_color)) - get_colors(); - - return parse_color(unselected_color); - } - - public Gdk.RGBA get_border_color() { - if (is_string_empty(border_color)) - get_colors(); - - return parse_color(border_color); - } - - public void set_bg_color(Gdk.RGBA color) { - uint8 col_tmp = (uint8) (color.red * 255.0); - - bg_color = "#%02X%02X%02X".printf(col_tmp, col_tmp, col_tmp); - set_bg_color_name(bg_color); - - set_text_colors(color); - } - - public void commit_bg_color() { - base.set_bg_color_name(bg_color); - } } // preconfigure may be deleted if not used. diff --git a/src/config/ConfigurationInterfaces.c b/src/config/ConfigurationInterfaces.c deleted file mode 100644 index 2750b10..0000000 --- a/src/config/ConfigurationInterfaces.c +++ /dev/null @@ -1,14452 +0,0 @@ -/* ConfigurationInterfaces.c generated by valac 0.40.4, 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 <glib.h> -#include <glib-object.h> -#include <stdlib.h> -#include <string.h> -#include <float.h> -#include <math.h> -#include <time.h> - - -#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; -enum { - CONFIGURATION_ENGINE_PROPERTY_CHANGED_SIGNAL, - CONFIGURATION_ENGINE_NUM_SIGNALS -}; -static guint configuration_engine_signals[CONFIGURATION_ENGINE_NUM_SIGNALS] = {0}; - -#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_SCALE_CONSTRAINT (scale_constraint_get_type ()) - -#define TYPE_EXPORT_FORMAT_MODE (export_format_mode_get_type ()) - -#define TYPE_PHOTO_FILE_FORMAT (photo_file_format_get_type ()) - -#define JPEG_TYPE_QUALITY (jpeg_quality_get_type ()) - -#define TYPE_RAW_DEVELOPER (raw_developer_get_type ()) -enum { - CONFIGURATION_FACADE_0_PROPERTY, - CONFIGURATION_FACADE_NUM_PROPERTIES -}; -static GParamSpec* configuration_facade_properties[CONFIGURATION_FACADE_NUM_PROPERTIES]; -#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) -#define _g_free0(var) (var = (g_free (var), NULL)) -#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) - -#define RESOURCES_TYPE_UNIT_SYSTEM (resources_unit_system_get_type ()) -enum { - CONFIGURATION_FACADE_AUTO_IMPORT_FROM_LIBRARY_CHANGED_SIGNAL, - CONFIGURATION_FACADE_BG_COLOR_NAME_CHANGED_SIGNAL, - CONFIGURATION_FACADE_TRANSPARENT_BACKGROUND_TYPE_CHANGED_SIGNAL, - CONFIGURATION_FACADE_TRANSPARENT_BACKGROUND_COLOR_CHANGED_SIGNAL, - CONFIGURATION_FACADE_COMMIT_METADATA_TO_MASTERS_CHANGED_SIGNAL, - CONFIGURATION_FACADE_EVENTS_SORT_ASCENDING_CHANGED_SIGNAL, - CONFIGURATION_FACADE_EXTERNAL_APP_CHANGED_SIGNAL, - CONFIGURATION_FACADE_IMPORT_DIRECTORY_CHANGED_SIGNAL, - CONFIGURATION_FACADE_NUM_SIGNALS -}; -static guint configuration_facade_signals[CONFIGURATION_FACADE_NUM_SIGNALS] = {0}; - -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_TRANSPARENT_BACKGROUND_TYPE, - CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR, - 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_EXPORT_CONSTRAINT, - CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, - CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, - CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, - CONFIGURABLE_PROPERTY_EXPORT_QUALITY, - CONFIGURABLE_PROPERTY_EXPORT_SCALE, - 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); - gint (*get_enum_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); - void (*set_enum_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 { - SCALE_CONSTRAINT_ORIGINAL, - SCALE_CONSTRAINT_DIMENSIONS, - SCALE_CONSTRAINT_WIDTH, - SCALE_CONSTRAINT_HEIGHT, - SCALE_CONSTRAINT_FILL_VIEWPORT -} ScaleConstraint; - -typedef enum { - EXPORT_FORMAT_MODE_UNMODIFIED, - EXPORT_FORMAT_MODE_CURRENT, - EXPORT_FORMAT_MODE_SPECIFIED, - EXPORT_FORMAT_MODE_LAST -} ExportFormatMode; - -typedef enum { - PHOTO_FILE_FORMAT_JFIF, - PHOTO_FILE_FORMAT_RAW, - PHOTO_FILE_FORMAT_PNG, - PHOTO_FILE_FORMAT_TIFF, - PHOTO_FILE_FORMAT_BMP, - PHOTO_FILE_FORMAT_UNKNOWN -} PhotoFileFormat; - -typedef enum { - JPEG_QUALITY_LOW = 50, - JPEG_QUALITY_MEDIUM = 75, - JPEG_QUALITY_HIGH = 90, - JPEG_QUALITY_MAXIMUM = 100 -} JpegQuality; - -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); - gchar* (*get_transparent_background_type) (ConfigurationFacade* self); - void (*set_transparent_background_type) (ConfigurationFacade* self, const gchar* type); - gchar* (*get_transparent_background_color) (ConfigurationFacade* self); - void (*set_transparent_background_color) (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); - ScaleConstraint (*get_export_constraint) (ConfigurationFacade* self); - void (*set_export_constraint) (ConfigurationFacade* self, ScaleConstraint constraint); - ExportFormatMode (*get_export_export_format_mode) (ConfigurationFacade* self); - void (*set_export_export_format_mode) (ConfigurationFacade* self, ExportFormatMode export_format_mode); - gboolean (*get_export_export_metadata) (ConfigurationFacade* self); - void (*set_export_export_metadata) (ConfigurationFacade* self, gboolean export_metadata); - PhotoFileFormat (*get_export_photo_file_format) (ConfigurationFacade* self); - void (*set_export_photo_file_format) (ConfigurationFacade* self, PhotoFileFormat photo_file_format); - JpegQuality (*get_export_quality) (ConfigurationFacade* self); - void (*set_export_quality) (ConfigurationFacade* self, JpegQuality quality); - gint (*get_export_scale) (ConfigurationFacade* self); - void (*set_export_scale) (ConfigurationFacade* self, gint scale); - 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; -}; - -typedef enum { - RESOURCES_UNIT_SYSTEM_IMPERIAL, - RESOURCES_UNIT_SYSTEM_METRIC, - RESOURCES_UNIT_SYSTEM_UNKNOWN -} ResourcesUnitSystem; - - -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); -gint configuration_engine_get_enum_property (ConfigurationEngine* self, - ConfigurableProperty p, - GError** error); -void configuration_engine_set_enum_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 scale_constraint_get_type (void) G_GNUC_CONST; -GType export_format_mode_get_type (void) G_GNUC_CONST; -GType photo_file_format_get_type (void) G_GNUC_CONST; -GType jpeg_quality_get_type (void) G_GNUC_CONST; -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)) -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); -gchar* configuration_facade_get_transparent_background_type (ConfigurationFacade* self); -static gchar* configuration_facade_real_get_transparent_background_type (ConfigurationFacade* self); -void configuration_facade_set_transparent_background_type (ConfigurationFacade* self, - const gchar* type); -static void configuration_facade_real_set_transparent_background_type (ConfigurationFacade* self, - const gchar* type); -gchar* configuration_facade_get_transparent_background_color (ConfigurationFacade* self); -static gchar* configuration_facade_real_get_transparent_background_color (ConfigurationFacade* self); -void configuration_facade_set_transparent_background_color (ConfigurationFacade* self, - const gchar* color_name); -static void configuration_facade_real_set_transparent_background_color (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); -ScaleConstraint configuration_facade_get_export_constraint (ConfigurationFacade* self); -static ScaleConstraint configuration_facade_real_get_export_constraint (ConfigurationFacade* self); -void configuration_facade_set_export_constraint (ConfigurationFacade* self, - ScaleConstraint constraint); -static void configuration_facade_real_set_export_constraint (ConfigurationFacade* self, - ScaleConstraint constraint); -ExportFormatMode configuration_facade_get_export_export_format_mode (ConfigurationFacade* self); -static ExportFormatMode configuration_facade_real_get_export_export_format_mode (ConfigurationFacade* self); -void configuration_facade_set_export_export_format_mode (ConfigurationFacade* self, - ExportFormatMode export_format_mode); -static void configuration_facade_real_set_export_export_format_mode (ConfigurationFacade* self, - ExportFormatMode export_format_mode); -gboolean configuration_facade_get_export_export_metadata (ConfigurationFacade* self); -static gboolean configuration_facade_real_get_export_export_metadata (ConfigurationFacade* self); -void configuration_facade_set_export_export_metadata (ConfigurationFacade* self, - gboolean export_metadata); -static void configuration_facade_real_set_export_export_metadata (ConfigurationFacade* self, - gboolean export_metadata); -PhotoFileFormat configuration_facade_get_export_photo_file_format (ConfigurationFacade* self); -static PhotoFileFormat configuration_facade_real_get_export_photo_file_format (ConfigurationFacade* self); -PhotoFileFormat photo_file_format_unserialize (gint value); -void configuration_facade_set_export_photo_file_format (ConfigurationFacade* self, - PhotoFileFormat photo_file_format); -static void configuration_facade_real_set_export_photo_file_format (ConfigurationFacade* self, - PhotoFileFormat photo_file_format); -gint photo_file_format_serialize (PhotoFileFormat self); -JpegQuality configuration_facade_get_export_quality (ConfigurationFacade* self); -static JpegQuality configuration_facade_real_get_export_quality (ConfigurationFacade* self); -void configuration_facade_set_export_quality (ConfigurationFacade* self, - JpegQuality quality); -static void configuration_facade_real_set_export_quality (ConfigurationFacade* self, - JpegQuality quality); -gint configuration_facade_get_export_scale (ConfigurationFacade* self); -static gint configuration_facade_real_get_export_scale (ConfigurationFacade* self); -void configuration_facade_set_export_scale (ConfigurationFacade* self, - gint scale); -static void configuration_facade_real_set_export_scale (ConfigurationFacade* self, - gint scale); -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); -GType resources_unit_system_get_type (void) G_GNUC_CONST; -ResourcesUnitSystem resources_get_default_measurement_unit (void); -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 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - switch (self) { -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY: -#line 1052 "ConfigurationInterfaces.c" - { - gchar* _tmp0_; -#line 101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = g_strdup ("AUTO_IMPORT_FROM_LIBRARY"); -#line 101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1061 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_BG_COLOR_NAME: -#line 1065 "ConfigurationInterfaces.c" - { - gchar* _tmp1_; -#line 104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = g_strdup ("BG_COLOR_NAME"); -#line 104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp1_; -#line 104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1074 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE: -#line 1078 "ConfigurationInterfaces.c" - { - gchar* _tmp2_; -#line 107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = g_strdup ("TRANSPARENT_BACKGROUND_TYPE"); -#line 107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp2_; -#line 107 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1087 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR: -#line 1091 "ConfigurationInterfaces.c" - { - gchar* _tmp3_; -#line 110 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = g_strdup ("TRANSPARENT_BACKGROUND_COLOR"); -#line 110 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp3_; -#line 110 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1100 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS: -#line 1104 "ConfigurationInterfaces.c" - { - gchar* _tmp4_; -#line 113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = g_strdup ("COMMIT_METADATA_TO_MASTERS"); -#line 113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp4_; -#line 113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1113 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE: -#line 1117 "ConfigurationInterfaces.c" - { - gchar* _tmp5_; -#line 116 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = g_strdup ("DESKTOP_BACKGROUND_FILE"); -#line 116 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 116 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1126 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE: -#line 1130 "ConfigurationInterfaces.c" - { - gchar* _tmp6_; -#line 119 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = g_strdup ("DESKTOP_BACKGROUND_MODE"); -#line 119 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp6_; -#line 119 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1139 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SCREENSAVER_FILE: -#line 1143 "ConfigurationInterfaces.c" - { - gchar* _tmp7_; -#line 122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup ("SCREENSAVER_FILE"); -#line 122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1152 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SCREENSAVER_MODE: -#line 1156 "ConfigurationInterfaces.c" - { - gchar* _tmp8_; -#line 125 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp8_ = g_strdup ("SCREENSAVER_MODE"); -#line 125 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp8_; -#line 125 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1165 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN: -#line 1169 "ConfigurationInterfaces.c" - { - gchar* _tmp9_; -#line 128 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp9_ = g_strdup ("DIRECTORY_PATTERN"); -#line 128 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp9_; -#line 128 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1178 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM: -#line 1182 "ConfigurationInterfaces.c" - { - gchar* _tmp10_; -#line 131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp10_ = g_strdup ("DIRECTORY_PATTERN_CUSTOM"); -#line 131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp10_; -#line 131 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1191 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT: -#line 1195 "ConfigurationInterfaces.c" - { - gchar* _tmp11_; -#line 134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp11_ = g_strdup ("DIRECT_WINDOW_HEIGHT"); -#line 134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp11_; -#line 134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1204 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE: -#line 1208 "ConfigurationInterfaces.c" - { - gchar* _tmp12_; -#line 137 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp12_ = g_strdup ("DIRECT_WINDOW_MAXIMIZE"); -#line 137 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp12_; -#line 137 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1217 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH: -#line 1221 "ConfigurationInterfaces.c" - { - gchar* _tmp13_; -#line 140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp13_ = g_strdup ("DIRECT_WINDOW_WIDTH"); -#line 140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp13_; -#line 140 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1230 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES: -#line 1234 "ConfigurationInterfaces.c" - { - gchar* _tmp14_; -#line 143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp14_ = g_strdup ("DISPLAY_BASIC_PROPERTIES"); -#line 143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp14_; -#line 143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1243 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES: -#line 1247 "ConfigurationInterfaces.c" - { - gchar* _tmp15_; -#line 146 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp15_ = g_strdup ("DISPLAY_EXTENDED_PROPERTIES"); -#line 146 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp15_; -#line 146 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1256 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR: -#line 1260 "ConfigurationInterfaces.c" - { - gchar* _tmp16_; -#line 149 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp16_ = g_strdup ("DISPLAY_SIDEBAR"); -#line 149 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp16_; -#line 149 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1269 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR: -#line 1273 "ConfigurationInterfaces.c" - { - gchar* _tmp17_; -#line 152 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp17_ = g_strdup ("DISPLAY_TOOLBAR"); -#line 152 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp17_; -#line 152 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1282 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR: -#line 1286 "ConfigurationInterfaces.c" - { - gchar* _tmp18_; -#line 155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp18_ = g_strdup ("DISPLAY_SEARCH_BAR"); -#line 155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp18_; -#line 155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1295 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS: -#line 1299 "ConfigurationInterfaces.c" - { - gchar* _tmp19_; -#line 158 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp19_ = g_strdup ("DISPLAY_PHOTO_RATINGS"); -#line 158 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp19_; -#line 158 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1308 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS: -#line 1312 "ConfigurationInterfaces.c" - { - gchar* _tmp20_; -#line 161 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp20_ = g_strdup ("DISPLAY_PHOTO_TAGS"); -#line 161 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp20_; -#line 161 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1321 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES: -#line 1325 "ConfigurationInterfaces.c" - { - gchar* _tmp21_; -#line 164 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp21_ = g_strdup ("DISPLAY_PHOTO_TITLES"); -#line 164 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp21_; -#line 164 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1334 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS: -#line 1338 "ConfigurationInterfaces.c" - { - gchar* _tmp22_; -#line 167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp22_ = g_strdup ("DISPLAY_PHOTO_COMMENTS"); -#line 167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp22_; -#line 167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1347 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS: -#line 1351 "ConfigurationInterfaces.c" - { - gchar* _tmp23_; -#line 170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp23_ = g_strdup ("DISPLAY_EVENT_COMMENTS"); -#line 170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp23_; -#line 170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1360 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING: -#line 1364 "ConfigurationInterfaces.c" - { - gchar* _tmp24_; -#line 173 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp24_ = g_strdup ("EVENT_PHOTOS_SORT_ASCENDING"); -#line 173 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp24_; -#line 173 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1373 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY: -#line 1377 "ConfigurationInterfaces.c" - { - gchar* _tmp25_; -#line 176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp25_ = g_strdup ("EVENT_PHOTOS_SORT_BY"); -#line 176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp25_; -#line 176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1386 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING: -#line 1390 "ConfigurationInterfaces.c" - { - gchar* _tmp26_; -#line 179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp26_ = g_strdup ("EVENTS_SORT_ASCENDING"); -#line 179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp26_; -#line 179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1399 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT: -#line 1403 "ConfigurationInterfaces.c" - { - gchar* _tmp27_; -#line 182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp27_ = g_strdup ("EXPORT_CONSTRAINT"); -#line 182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp27_; -#line 182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1412 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE: -#line 1416 "ConfigurationInterfaces.c" - { - gchar* _tmp28_; -#line 185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp28_ = g_strdup ("EXPORT_EXPORT_FORMAT_MODE"); -#line 185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp28_; -#line 185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1425 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA: -#line 1429 "ConfigurationInterfaces.c" - { - gchar* _tmp29_; -#line 188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp29_ = g_strdup ("EXPORT_EXPORT_METADATA"); -#line 188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp29_; -#line 188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1438 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT: -#line 1442 "ConfigurationInterfaces.c" - { - gchar* _tmp30_; -#line 191 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp30_ = g_strdup ("EXPORT_PHOTO_FILE_FORMAT"); -#line 191 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp30_; -#line 191 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1451 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXPORT_QUALITY: -#line 1455 "ConfigurationInterfaces.c" - { - gchar* _tmp31_; -#line 194 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp31_ = g_strdup ("EXPORT_QUALITY"); -#line 194 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp31_; -#line 194 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1464 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXPORT_SCALE: -#line 1468 "ConfigurationInterfaces.c" - { - gchar* _tmp32_; -#line 197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp32_ = g_strdup ("EXPORT_SCALE"); -#line 197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp32_; -#line 197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1477 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP: -#line 1481 "ConfigurationInterfaces.c" - { - gchar* _tmp33_; -#line 200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp33_ = g_strdup ("EXTERNAL_PHOTO_APP"); -#line 200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp33_; -#line 200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1490 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP: -#line 1494 "ConfigurationInterfaces.c" - { - gchar* _tmp34_; -#line 203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp34_ = g_strdup ("EXTERNAL_RAW_APP"); -#line 203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp34_; -#line 203 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1503 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED: -#line 1507 "ConfigurationInterfaces.c" - { - gchar* _tmp35_; -#line 206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp35_ = g_strdup ("HIDE_PHOTOS_ALREADY_IMPORTED"); -#line 206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp35_; -#line 206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1516 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_IMPORT_DIR: -#line 1520 "ConfigurationInterfaces.c" - { - gchar* _tmp36_; -#line 209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp36_ = g_strdup ("IMPORT_DIR"); -#line 209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp36_; -#line 209 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1529 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_KEEP_RELATIVITY: -#line 1533 "ConfigurationInterfaces.c" - { - gchar* _tmp37_; -#line 212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp37_ = g_strdup ("KEEP_RELATIVITY"); -#line 212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp37_; -#line 212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1542 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT: -#line 1546 "ConfigurationInterfaces.c" - { - gchar* _tmp38_; -#line 215 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp38_ = g_strdup ("LAST_CROP_HEIGHT"); -#line 215 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp38_; -#line 215 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1555 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE: -#line 1559 "ConfigurationInterfaces.c" - { - gchar* _tmp39_; -#line 218 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp39_ = g_strdup ("LAST_CROP_MENU_CHOICE"); -#line 218 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp39_; -#line 218 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1568 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH: -#line 1572 "ConfigurationInterfaces.c" - { - gchar* _tmp40_; -#line 221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp40_ = g_strdup ("LAST_CROP_WIDTH"); -#line 221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp40_; -#line 221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1581 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LAST_USED_SERVICE: -#line 1585 "ConfigurationInterfaces.c" - { - gchar* _tmp41_; -#line 224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp41_ = g_strdup ("LAST_USED_SERVICE"); -#line 224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp41_; -#line 224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1594 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE: -#line 1598 "ConfigurationInterfaces.c" - { - gchar* _tmp42_; -#line 227 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp42_ = g_strdup ("LAST_USED_DATAIMPORTS_SERVICE"); -#line 227 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp42_; -#line 227 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1607 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING: -#line 1611 "ConfigurationInterfaces.c" - { - gchar* _tmp43_; -#line 230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp43_ = g_strdup ("LIBRARY_PHOTOS_SORT_ASCENDING"); -#line 230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp43_; -#line 230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1620 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY: -#line 1624 "ConfigurationInterfaces.c" - { - gchar* _tmp44_; -#line 233 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp44_ = g_strdup ("LIBRARY_PHOTOS_SORT_BY"); -#line 233 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp44_; -#line 233 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1633 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT: -#line 1637 "ConfigurationInterfaces.c" - { - gchar* _tmp45_; -#line 236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp45_ = g_strdup ("LIBRARY_WINDOW_HEIGHT"); -#line 236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp45_; -#line 236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1646 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE: -#line 1650 "ConfigurationInterfaces.c" - { - gchar* _tmp46_; -#line 239 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp46_ = g_strdup ("LIBRARY_WINDOW_MAXIMIZE"); -#line 239 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp46_; -#line 239 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1659 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH: -#line 1663 "ConfigurationInterfaces.c" - { - gchar* _tmp47_; -#line 242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp47_ = g_strdup ("LIBRARY_WINDOW_WIDTH"); -#line 242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp47_; -#line 242 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1672 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS: -#line 1676 "ConfigurationInterfaces.c" - { - gchar* _tmp48_; -#line 245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp48_ = g_strdup ("MODIFY_ORIGINALS"); -#line 245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp48_; -#line 245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1685 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE: -#line 1689 "ConfigurationInterfaces.c" - { - gchar* _tmp49_; -#line 248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp49_ = g_strdup ("PHOTO_THUMBNAIL_SCALE"); -#line 248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp49_; -#line 248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1698 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE: -#line 1702 "ConfigurationInterfaces.c" - { - gchar* _tmp50_; -#line 251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp50_ = g_strdup ("PIN_TOOLBAR_STATE"); -#line 251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp50_; -#line 251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1711 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT: -#line 1715 "ConfigurationInterfaces.c" - { - gchar* _tmp51_; -#line 254 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp51_ = g_strdup ("PRINTING_CONTENT_HEIGHT"); -#line 254 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp51_; -#line 254 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1724 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT: -#line 1728 "ConfigurationInterfaces.c" - { - gchar* _tmp52_; -#line 257 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp52_ = g_strdup ("PRINTING_CONTENT_LAYOUT"); -#line 257 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp52_; -#line 257 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1737 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI: -#line 1741 "ConfigurationInterfaces.c" - { - gchar* _tmp53_; -#line 260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp53_ = g_strdup ("PRINTING_CONTENT_PPI"); -#line 260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp53_; -#line 260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1750 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS: -#line 1754 "ConfigurationInterfaces.c" - { - gchar* _tmp54_; -#line 263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp54_ = g_strdup ("PRINTING_CONTENT_UNITS"); -#line 263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp54_; -#line 263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1763 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH: -#line 1767 "ConfigurationInterfaces.c" - { - gchar* _tmp55_; -#line 266 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp55_ = g_strdup ("PRINTING_CONTENT_WIDTH"); -#line 266 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp55_; -#line 266 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1776 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE: -#line 1780 "ConfigurationInterfaces.c" - { - gchar* _tmp56_; -#line 269 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp56_ = g_strdup ("PRINTING_IMAGES_PER_PAGE"); -#line 269 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp56_; -#line 269 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1789 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO: -#line 1793 "ConfigurationInterfaces.c" - { - gchar* _tmp57_; -#line 272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp57_ = g_strdup ("PRINTING_MATCH_ASPECT_RATIO"); -#line 272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp57_; -#line 272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1802 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES: -#line 1806 "ConfigurationInterfaces.c" - { - gchar* _tmp58_; -#line 275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp58_ = g_strdup ("PRINTING_PRINT_TITLES"); -#line 275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp58_; -#line 275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1815 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION: -#line 1819 "ConfigurationInterfaces.c" - { - gchar* _tmp59_; -#line 278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp59_ = g_strdup ("PRINTING_SIZE_SELECTION"); -#line 278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp59_; -#line 278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1828 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT: -#line 1832 "ConfigurationInterfaces.c" - { - gchar* _tmp60_; -#line 281 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp60_ = g_strdup ("PRINTING_TITLES_FONT"); -#line 281 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp60_; -#line 281 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1841 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT: -#line 1845 "ConfigurationInterfaces.c" - { - gchar* _tmp61_; -#line 284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp61_ = g_strdup ("RAW_DEVELOPER_DEFAULT"); -#line 284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp61_; -#line 284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1854 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG: -#line 1858 "ConfigurationInterfaces.c" - { - gchar* _tmp62_; -#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp62_ = g_strdup ("SHOW_WELCOME_DIALOG"); -#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp62_; -#line 287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1867 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SIDEBAR_POSITION: -#line 1871 "ConfigurationInterfaces.c" - { - gchar* _tmp63_; -#line 290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp63_ = g_strdup ("SIDEBAR_POSITION"); -#line 290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp63_; -#line 290 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1880 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY: -#line 1884 "ConfigurationInterfaces.c" - { - gchar* _tmp64_; -#line 293 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp64_ = g_strdup ("SLIDESHOW_DELAY"); -#line 293 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp64_; -#line 293 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1893 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY: -#line 1897 "ConfigurationInterfaces.c" - { - gchar* _tmp65_; -#line 296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp65_ = g_strdup ("SLIDESHOW_TRANSITION_DELAY"); -#line 296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp65_; -#line 296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1906 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID: -#line 1910 "ConfigurationInterfaces.c" - { - gchar* _tmp66_; -#line 299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp66_ = g_strdup ("SLIDESHOW_TRANSITION_EFFECT_ID"); -#line 299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp66_; -#line 299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1919 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE: -#line 1923 "ConfigurationInterfaces.c" - { - gchar* _tmp67_; -#line 302 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp67_ = g_strdup ("SLIDESHOW_SHOW_TITLE"); -#line 302 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp67_; -#line 302 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1932 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME: -#line 1936 "ConfigurationInterfaces.c" - { - gchar* _tmp68_; -#line 305 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp68_ = g_strdup ("USE_24_HOUR_TIME"); -#line 305 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp68_; -#line 305 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1945 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES: -#line 1949 "ConfigurationInterfaces.c" - { - gchar* _tmp69_; -#line 308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp69_ = g_strdup ("USE_LOWERCASE_FILENAMES"); -#line 308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp69_; -#line 308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1958 "ConfigurationInterfaces.c" - } -#line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE: -#line 1962 "ConfigurationInterfaces.c" - { - gchar* _tmp70_; -#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp70_ = g_strdup ("VIDEO_INTERPRETER_STATE_COOKIE"); -#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp70_; -#line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 1971 "ConfigurationInterfaces.c" - } - default: - { -#line 314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_error ("ConfigurationInterfaces.vala:314: unknown ConfigurableProperty enumera" \ -"tion value"); -#line 1977 "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_TRANSPARENT_BACKGROUND_TYPE, "CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE", "transparent-background-type"}, {CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR, "CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR", "transparent-background-color"}, {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_EXPORT_CONSTRAINT, "CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT", "export-constraint"}, {CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, "CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE", "export-export-format-mode"}, {CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, "CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA", "export-export-metadata"}, {CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, "CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT", "export-photo-file-format"}, {CONFIGURABLE_PROPERTY_EXPORT_QUALITY, "CONFIGURABLE_PROPERTY_EXPORT_QUALITY", "export-quality"}, {CONFIGURABLE_PROPERTY_EXPORT_SCALE, "CONFIGURABLE_PROPERTY_EXPORT_SCALE", "export-scale"}, {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 322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); -#line 322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_name (self); -#line 2004 "ConfigurationInterfaces.c" -} - - -gint -configuration_engine_get_int_property (ConfigurationEngine* self, - ConfigurableProperty p, - GError** error) -{ -#line 324 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); -#line 324 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_int_property (self, p, error); -#line 2017 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_set_int_property (ConfigurationEngine* self, - ConfigurableProperty p, - gint val, - GError** error) -{ -#line 325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_int_property (self, p, val, error); -#line 2031 "ConfigurationInterfaces.c" -} - - -gint -configuration_engine_get_enum_property (ConfigurationEngine* self, - ConfigurableProperty p, - GError** error) -{ -#line 327 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); -#line 327 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_enum_property (self, p, error); -#line 2044 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_set_enum_property (ConfigurationEngine* self, - ConfigurableProperty p, - gint val, - GError** error) -{ -#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_enum_property (self, p, val, error); -#line 2058 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_engine_get_string_property (ConfigurationEngine* self, - ConfigurableProperty p, - GError** error) -{ -#line 330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); -#line 330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_string_property (self, p, error); -#line 2071 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_set_string_property (ConfigurationEngine* self, - ConfigurableProperty p, - const gchar* val, - GError** error) -{ -#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_string_property (self, p, val, error); -#line 2085 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_engine_get_bool_property (ConfigurationEngine* self, - ConfigurableProperty p, - GError** error) -{ -#line 333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), FALSE); -#line 333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_bool_property (self, p, error); -#line 2098 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_set_bool_property (ConfigurationEngine* self, - ConfigurableProperty p, - gboolean val, - GError** error) -{ -#line 334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_bool_property (self, p, val, error); -#line 2112 "ConfigurationInterfaces.c" -} - - -gdouble -configuration_engine_get_double_property (ConfigurationEngine* self, - ConfigurableProperty p, - GError** error) -{ -#line 336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0.0); -#line 336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_double_property (self, p, error); -#line 2125 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_set_double_property (ConfigurationEngine* self, - ConfigurableProperty p, - gdouble val, - GError** error) -{ -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_double_property (self, p, val, error); -#line 2139 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_engine_get_plugin_bool (ConfigurationEngine* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gboolean def) -{ -#line 339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), FALSE); -#line 339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_bool (self, domain, id, key, def); -#line 2154 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_set_plugin_bool (ConfigurationEngine* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gboolean val) -{ -#line 340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_bool (self, domain, id, key, val); -#line 2169 "ConfigurationInterfaces.c" -} - - -gdouble -configuration_engine_get_plugin_double (ConfigurationEngine* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gdouble def) -{ -#line 341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0.0); -#line 341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_double (self, domain, id, key, def); -#line 2184 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_set_plugin_double (ConfigurationEngine* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gdouble val) -{ -#line 342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_double (self, domain, id, key, val); -#line 2199 "ConfigurationInterfaces.c" -} - - -gint -configuration_engine_get_plugin_int (ConfigurationEngine* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gint def) -{ -#line 343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); -#line 343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_int (self, domain, id, key, def); -#line 2214 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_set_plugin_int (ConfigurationEngine* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gint val) -{ -#line 344 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 344 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_int (self, domain, id, key, val); -#line 2229 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_engine_get_plugin_string (ConfigurationEngine* self, - const gchar* domain, - const gchar* id, - const gchar* key, - const gchar* def) -{ -#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); -#line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_string (self, domain, id, key, def); -#line 2244 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_set_plugin_string (ConfigurationEngine* self, - const gchar* domain, - const gchar* id, - const gchar* key, - const gchar* val) -{ -#line 346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_string (self, domain, id, key, val); -#line 2259 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_unset_plugin_key (ConfigurationEngine* self, - const gchar* domain, - const gchar* id, - const gchar* key) -{ -#line 347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->unset_plugin_key (self, domain, id, key); -#line 2273 "ConfigurationInterfaces.c" -} - - -FuzzyPropertyState -configuration_engine_is_plugin_enabled (ConfigurationEngine* self, - const gchar* id) -{ -#line 349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); -#line 349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_ENGINE_GET_INTERFACE (self)->is_plugin_enabled (self, id); -#line 2285 "ConfigurationInterfaces.c" -} - - -void -configuration_engine_set_plugin_enabled (ConfigurationEngine* self, - const gchar* id, - gboolean enabled) -{ -#line 350 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); -#line 350 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_enabled (self, id, enabled); -#line 2298 "ConfigurationInterfaces.c" -} - - -static void -configuration_engine_base_init (ConfigurationEngineIface * iface) -{ -#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - static gboolean initialized = FALSE; -#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (!initialized) { -#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - initialized = TRUE; -#line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_signals[CONFIGURATION_ENGINE_PROPERTY_CHANGED_SIGNAL] = 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 2313 "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 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return self ? g_object_ref (self) : NULL; -#line 2338 "ConfigurationInterfaces.c" -} - - -static void -_configuration_facade_on_property_changed_configuration_engine_property_changed (ConfigurationEngine* _sender, - ConfigurableProperty p, - gpointer self) -{ -#line 368 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_property_changed ((ConfigurationFacade*) self, p); -#line 2349 "ConfigurationInterfaces.c" -} - - -ConfigurationFacade* -configuration_facade_construct (GType object_type, - ConfigurationEngine* engine) -{ - ConfigurationFacade * self = NULL; - ConfigurationEngine* _tmp0_; -#line 365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_ENGINE (engine), NULL); -#line 365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - self = (ConfigurationFacade*) g_object_new (object_type, NULL); -#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _g_object_ref0 (engine); -#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (self->priv->engine); -#line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - self->priv->engine = _tmp0_; -#line 368 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_signal_connect_object (engine, "property-changed", (GCallback) _configuration_facade_on_property_changed_configuration_engine_property_changed, self, 0); -#line 365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return self; -#line 2373 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_on_property_changed (ConfigurationFacade* self, - ConfigurableProperty p) -{ - gchar* _tmp0_; - gchar* _tmp1_; -#line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configurable_property_to_string (p); -#line 372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_debug ("ConfigurationInterfaces.vala:372: ConfigurationFacade: engine reports " \ -"property '%s' changed.", _tmp1_); -#line 372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp1_); -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - switch (p) { -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY: -#line 2397 "ConfigurationInterfaces.c" - { -#line 376 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_AUTO_IMPORT_FROM_LIBRARY_CHANGED_SIGNAL], 0); -#line 377 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - break; -#line 2403 "ConfigurationInterfaces.c" - } -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_BG_COLOR_NAME: -#line 2407 "ConfigurationInterfaces.c" - { -#line 380 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_BG_COLOR_NAME_CHANGED_SIGNAL], 0); -#line 381 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - break; -#line 2413 "ConfigurationInterfaces.c" - } -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE: -#line 2417 "ConfigurationInterfaces.c" - { -#line 384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_TRANSPARENT_BACKGROUND_TYPE_CHANGED_SIGNAL], 0); -#line 385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - break; -#line 2423 "ConfigurationInterfaces.c" - } -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR: -#line 2427 "ConfigurationInterfaces.c" - { -#line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_TRANSPARENT_BACKGROUND_COLOR_CHANGED_SIGNAL], 0); -#line 389 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - break; -#line 2433 "ConfigurationInterfaces.c" - } -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS: -#line 2437 "ConfigurationInterfaces.c" - { -#line 392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_COMMIT_METADATA_TO_MASTERS_CHANGED_SIGNAL], 0); -#line 393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - break; -#line 2443 "ConfigurationInterfaces.c" - } -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING: -#line 2447 "ConfigurationInterfaces.c" - { -#line 396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_EVENTS_SORT_ASCENDING_CHANGED_SIGNAL], 0); -#line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - break; -#line 2453 "ConfigurationInterfaces.c" - } -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP: -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP: -#line 2459 "ConfigurationInterfaces.c" - { -#line 401 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_EXTERNAL_APP_CHANGED_SIGNAL], 0); -#line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - break; -#line 2465 "ConfigurationInterfaces.c" - } -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - case CONFIGURABLE_PROPERTY_IMPORT_DIR: -#line 2469 "ConfigurationInterfaces.c" - { -#line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_signal_emit (self, configuration_facade_signals[CONFIGURATION_FACADE_IMPORT_DIRECTORY_CHANGED_SIGNAL], 0); -#line 406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - break; -#line 2475 "ConfigurationInterfaces.c" - } - default: -#line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - break; -#line 2480 "ConfigurationInterfaces.c" - } -} - - -ConfigurationEngine* -configuration_facade_get_engine (ConfigurationFacade* self) -{ - ConfigurationEngine* result = NULL; - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = self->priv->engine; -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _g_object_ref0 (_tmp0_); -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp1_; -#line 411 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 2501 "ConfigurationInterfaces.c" -} - - -void -configuration_facade_on_configuration_error (ConfigurationFacade* self, - GError* err) -{ -#line 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (g_error_matches (err, CONFIGURATION_ERROR, CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE)) { -#line 2513 "ConfigurationInterfaces.c" - ConfigurationEngine* _tmp0_; - gchar* _tmp1_; - gchar* _tmp2_; - const gchar* _tmp3_; -#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = self->priv->engine; -#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_engine_get_name (_tmp0_); -#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = err->message; -#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_message ("ConfigurationInterfaces.vala:416: configuration engine '%s' reports PR" \ -"OPERTY_HAS_NO_VALUE error: %s", _tmp2_, _tmp3_); -#line 416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp2_); -#line 2530 "ConfigurationInterfaces.c" - } else { -#line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (g_error_matches (err, CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR)) { -#line 2534 "ConfigurationInterfaces.c" - ConfigurationEngine* _tmp4_; - gchar* _tmp5_; - gchar* _tmp6_; - const gchar* _tmp7_; -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = self->priv->engine; -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = configuration_engine_get_name (_tmp4_); -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = _tmp5_; -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = err->message; -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_critical ("ConfigurationInterfaces.vala:420: configuration engine '%s' reports EN" \ -"GINE_ERROR: %s", _tmp6_, _tmp7_); -#line 420 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp6_); -#line 2551 "ConfigurationInterfaces.c" - } else { - ConfigurationEngine* _tmp8_; - gchar* _tmp9_; - gchar* _tmp10_; - const gchar* _tmp11_; -#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp8_ = self->priv->engine; -#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp9_ = configuration_engine_get_name (_tmp8_); -#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp10_ = _tmp9_; -#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp11_ = err->message; -#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_critical ("ConfigurationInterfaces.vala:423: configuration engine '%s' reports un" \ -"known error: %s", _tmp10_, _tmp11_); -#line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp10_); -#line 2569 "ConfigurationInterfaces.c" - } - } -} - - -static gboolean -configuration_facade_real_get_auto_import_from_library (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#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_AUTO_IMPORT_FROM_LIBRARY, &_inner_error_); -#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_ = _tmp3_; -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2598 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 433 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2602 "ConfigurationInterfaces.c" - goto __catch91_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 _tmp4_; -#line 2611 "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 2617 "ConfigurationInterfaces.c" - } - goto __finally91; - __catch91_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#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 2638 "ConfigurationInterfaces.c" - } - __finally91: -#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 _tmp6_; -#line 2647 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_auto_import_from_library (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_auto_import_from_library (self); -#line 2658 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_auto_import_from_library (ConfigurationFacade* self, - gboolean auto_import) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#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" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, auto_import, &_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 2682 "ConfigurationInterfaces.c" - goto __catch92_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 2691 "ConfigurationInterfaces.c" - } - } - goto __finally92; - __catch92_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#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" - _tmp2_ = err; -#line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#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 2711 "ConfigurationInterfaces.c" - } - __finally92: -#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 2722 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_auto_import_from_library (ConfigurationFacade* self, - gboolean auto_import) -{ -#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_auto_import_from_library (self, auto_import); -#line 2735 "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_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#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_BG_COLOR_NAME, &_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 2767 "ConfigurationInterfaces.c" - goto __catch93_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 2776 "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 2788 "ConfigurationInterfaces.c" - } - goto __finally93; - __catch93_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#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 2812 "ConfigurationInterfaces.c" - } - __finally93: -#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 2821 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_bg_color_name (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_bg_color_name (self); -#line 2832 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_bg_color_name (ConfigurationFacade* self, - const gchar* color_name) -{ - GError * _inner_error_ = NULL; -#line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (color_name != NULL); -#line 2843 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#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" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_BG_COLOR_NAME, color_name, &_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 2859 "ConfigurationInterfaces.c" - goto __catch94_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 2868 "ConfigurationInterfaces.c" - } - } - goto __finally94; - __catch94_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#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 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 2888 "ConfigurationInterfaces.c" - } - __finally94: -#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 2899 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_bg_color_name (ConfigurationFacade* self, - const gchar* color_name) -{ -#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_bg_color_name (self, color_name); -#line 2912 "ConfigurationInterfaces.c" -} - - -static gchar* -configuration_facade_real_get_transparent_background_type (ConfigurationFacade* self) -{ - gchar* result = NULL; - GError * _inner_error_ = NULL; - { - gchar* _tmp0_ = NULL; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE, &_inner_error_); -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2944 "ConfigurationInterfaces.c" - goto __catch95_configuration_error; - } -#line 478 "/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 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 2953 "ConfigurationInterfaces.c" - } -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 2965 "ConfigurationInterfaces.c" - } - goto __finally95; - __catch95_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 477 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 477 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup ("checkered"); -#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 2989 "ConfigurationInterfaces.c" - } - __finally95: -#line 477 "/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 477 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 477 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 2998 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_transparent_background_type (ConfigurationFacade* self) -{ -#line 476 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 476 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_transparent_background_type (self); -#line 3009 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_transparent_background_type (ConfigurationFacade* self, - const gchar* type) -{ - GError * _inner_error_ = NULL; -#line 486 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (type != NULL); -#line 3020 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE, type, &_inner_error_); -#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3036 "ConfigurationInterfaces.c" - goto __catch96_configuration_error; - } -#line 488 "/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 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 488 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3045 "ConfigurationInterfaces.c" - } - } - goto __finally96; - __catch96_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3065 "ConfigurationInterfaces.c" - } - __finally96: -#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 487 "/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 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3076 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_transparent_background_type (ConfigurationFacade* self, - const gchar* type) -{ -#line 486 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 486 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_transparent_background_type (self, type); -#line 3089 "ConfigurationInterfaces.c" -} - - -static gchar* -configuration_facade_real_get_transparent_background_color (ConfigurationFacade* self) -{ - gchar* result = NULL; - GError * _inner_error_ = NULL; - { - gchar* _tmp0_ = NULL; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR, &_inner_error_); -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3121 "ConfigurationInterfaces.c" - goto __catch97_configuration_error; - } -#line 500 "/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 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 3130 "ConfigurationInterfaces.c" - } -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 3142 "ConfigurationInterfaces.c" - } - goto __finally97; - __catch97_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 499 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 499 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup ("#444"); -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 3166 "ConfigurationInterfaces.c" - } - __finally97: -#line 499 "/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 499 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 499 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 3175 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_transparent_background_color (ConfigurationFacade* self) -{ -#line 498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_transparent_background_color (self); -#line 3186 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_transparent_background_color (ConfigurationFacade* self, - const gchar* color_name) -{ - GError * _inner_error_ = NULL; -#line 508 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (color_name != NULL); -#line 3197 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR, color_name, &_inner_error_); -#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3213 "ConfigurationInterfaces.c" - goto __catch98_configuration_error; - } -#line 510 "/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 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 510 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3222 "ConfigurationInterfaces.c" - } - } - goto __finally98; - __catch98_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 512 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 512 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3242 "ConfigurationInterfaces.c" - } - __finally98: -#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 509 "/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 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3253 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_transparent_background_color (ConfigurationFacade* self, - const gchar* color_name) -{ -#line 508 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 508 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_transparent_background_color (self, color_name); -#line 3266 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_commit_metadata_to_masters (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, &_inner_error_); -#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 3293 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3297 "ConfigurationInterfaces.c" - goto __catch99_configuration_error; - } -#line 522 "/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 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 3306 "ConfigurationInterfaces.c" - } -#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 3312 "ConfigurationInterfaces.c" - } - goto __finally99; - __catch99_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 521 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 521 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 526 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 526 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 526 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 3333 "ConfigurationInterfaces.c" - } - __finally99: -#line 521 "/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 521 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 521 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 3342 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self) -{ -#line 520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_commit_metadata_to_masters (self); -#line 3353 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_commit_metadata_to_masters (ConfigurationFacade* self, - gboolean commit_metadata) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, commit_metadata, &_inner_error_); -#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3377 "ConfigurationInterfaces.c" - goto __catch100_configuration_error; - } -#line 532 "/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 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3386 "ConfigurationInterfaces.c" - } - } - goto __finally100; - __catch100_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3406 "ConfigurationInterfaces.c" - } - __finally100: -#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 531 "/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 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3417 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_commit_metadata_to_masters (ConfigurationFacade* self, - gboolean commit_metadata) -{ -#line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_commit_metadata_to_masters (self, commit_metadata); -#line 3430 "ConfigurationInterfaces.c" -} - - -static gchar* -configuration_facade_real_get_desktop_background (ConfigurationFacade* self) -{ - gchar* result = NULL; - GError * _inner_error_ = NULL; - { - gchar* _tmp0_ = NULL; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, &_inner_error_); -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3462 "ConfigurationInterfaces.c" - goto __catch101_configuration_error; - } -#line 545 "/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 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 3471 "ConfigurationInterfaces.c" - } -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 3483 "ConfigurationInterfaces.c" - } - goto __finally101; - __catch101_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 544 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 544 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 547 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 547 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (""); -#line 549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 3507 "ConfigurationInterfaces.c" - } - __finally101: -#line 544 "/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 544 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 544 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 3516 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_desktop_background (ConfigurationFacade* self) -{ -#line 543 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 543 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_desktop_background (self); -#line 3527 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_desktop_background (ConfigurationFacade* self, - const gchar* filename) -{ - GError * _inner_error_ = NULL; -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (filename != NULL); -#line 3538 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - ConfigurationEngine* _tmp3_; -#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, filename, &_inner_error_); -#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3556 "ConfigurationInterfaces.c" - goto __catch102_configuration_error; - } -#line 555 "/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 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3565 "ConfigurationInterfaces.c" - } -#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_facade_get_engine (self); -#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = _tmp2_; -#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp3_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "zoom", &_inner_error_); -#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp3_); -#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3579 "ConfigurationInterfaces.c" - goto __catch102_configuration_error; - } -#line 557 "/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 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3588 "ConfigurationInterfaces.c" - } - } - goto __finally102; - __catch102_configuration_error: - { - GError* err = NULL; - GError* _tmp4_; -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = err; -#line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp4_); -#line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 3606 "ConfigurationInterfaces.c" - } - __finally102: -#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" - 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 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 3617 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_desktop_background (ConfigurationFacade* self, - const gchar* filename) -{ -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 553 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_desktop_background (self, filename); -#line 3630 "ConfigurationInterfaces.c" -} - - -static gchar* -configuration_facade_real_get_screensaver (ConfigurationFacade* self) -{ - gchar* result = NULL; - GError * _inner_error_ = NULL; - { - gchar* _tmp0_ = NULL; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, &_inner_error_); -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3662 "ConfigurationInterfaces.c" - goto __catch103_configuration_error; - } -#line 569 "/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 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 3671 "ConfigurationInterfaces.c" - } -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 569 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 3683 "ConfigurationInterfaces.c" - } - goto __finally103; - __catch103_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 571 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 571 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (""); -#line 573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 3707 "ConfigurationInterfaces.c" - } - __finally103: -#line 568 "/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 568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 3716 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_screensaver (ConfigurationFacade* self) -{ -#line 567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_screensaver (self); -#line 3727 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_screensaver (ConfigurationFacade* self, - const gchar* filename) -{ - GError * _inner_error_ = NULL; -#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (filename != NULL); -#line 3738 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - ConfigurationEngine* _tmp3_; -#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, filename, &_inner_error_); -#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3756 "ConfigurationInterfaces.c" - goto __catch104_configuration_error; - } -#line 579 "/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 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3765 "ConfigurationInterfaces.c" - } -#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_facade_get_engine (self); -#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = _tmp2_; -#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp3_, CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "zoom", &_inner_error_); -#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp3_); -#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3779 "ConfigurationInterfaces.c" - goto __catch104_configuration_error; - } -#line 581 "/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 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3788 "ConfigurationInterfaces.c" - } - } - goto __finally104; - __catch104_configuration_error: - { - GError* err = NULL; - GError* _tmp4_; -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = err; -#line 584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp4_); -#line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 3806 "ConfigurationInterfaces.c" - } - __finally104: -#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" - 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 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; -#line 3817 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_screensaver (ConfigurationFacade* self, - const gchar* filename) -{ -#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_screensaver (self, filename); -#line 3830 "ConfigurationInterfaces.c" -} - - -static gchar* -configuration_facade_real_get_directory_pattern (ConfigurationFacade* self) -{ - gchar* result = NULL; - GError * _inner_error_ = NULL; - { - gchar* s = NULL; - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; - gchar* _tmp2_; - gchar* _tmp3_; - const gchar* _tmp4_ = NULL; - gchar* _tmp5_; -#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_engine_get_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, &_inner_error_); -#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = _tmp2_; -#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - s = _tmp3_; -#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3863 "ConfigurationInterfaces.c" - goto __catch105_configuration_error; - } -#line 593 "/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 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 3872 "ConfigurationInterfaces.c" - } -#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (g_strcmp0 (s, "") == 0) { -#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = NULL; -#line 3878 "ConfigurationInterfaces.c" - } else { -#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = s; -#line 3882 "ConfigurationInterfaces.c" - } -#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = g_strdup (_tmp4_); -#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (s); -#line 594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 3892 "ConfigurationInterfaces.c" - } - goto __finally105; - __catch105_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 592 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 592 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (""); -#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 3916 "ConfigurationInterfaces.c" - } - __finally105: -#line 592 "/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 592 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 592 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 3925 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_directory_pattern (ConfigurationFacade* self) -{ -#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_directory_pattern (self); -#line 3936 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_directory_pattern (ConfigurationFacade* self, - const gchar* s) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (s == NULL) { -#line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - s = ""; -#line 3952 "ConfigurationInterfaces.c" - } -#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, s, &_inner_error_); -#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3966 "ConfigurationInterfaces.c" - goto __catch106_configuration_error; - } -#line 607 "/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 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 3975 "ConfigurationInterfaces.c" - } - } - goto __finally106; - __catch106_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 3993 "ConfigurationInterfaces.c" - } - __finally106: -#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 603 "/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 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4004 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_directory_pattern (ConfigurationFacade* self, - const gchar* s) -{ -#line 602 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 602 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_directory_pattern (self, s); -#line 4017 "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_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, &_inner_error_); -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4049 "ConfigurationInterfaces.c" - goto __catch107_configuration_error; - } -#line 618 "/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 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 4058 "ConfigurationInterfaces.c" - } -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 4070 "ConfigurationInterfaces.c" - } - goto __finally107; - __catch107_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 620 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (""); -#line 622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 4094 "ConfigurationInterfaces.c" - } - __finally107: -#line 617 "/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 617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 4103 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_directory_pattern_custom (ConfigurationFacade* self) -{ -#line 616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_directory_pattern_custom (self); -#line 4114 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_directory_pattern_custom (ConfigurationFacade* self, - const gchar* s) -{ - GError * _inner_error_ = NULL; -#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (s != NULL); -#line 4125 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, s, &_inner_error_); -#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4141 "ConfigurationInterfaces.c" - goto __catch108_configuration_error; - } -#line 628 "/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 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4150 "ConfigurationInterfaces.c" - } - } - goto __finally108; - __catch108_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 4168 "ConfigurationInterfaces.c" - } - __finally108: -#line 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 627 "/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 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4179 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_directory_pattern_custom (ConfigurationFacade* self, - const gchar* s) -{ -#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_directory_pattern_custom (self, s); -#line 4192 "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 638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_maximize = FALSE; -#line 639 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - dimensions_init (&_vala_dimensions, 1024, 768); -#line 4208 "ConfigurationInterfaces.c" - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; - gint w = 0; - ConfigurationEngine* _tmp4_; - ConfigurationEngine* _tmp5_; - gint _tmp6_; - gint h = 0; - ConfigurationEngine* _tmp7_; - ConfigurationEngine* _tmp8_; - gint _tmp9_; - gint _tmp10_; - gint _tmp11_; -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, &_inner_error_); -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4238 "ConfigurationInterfaces.c" - goto __catch109_configuration_error; - } -#line 641 "/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 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4247 "ConfigurationInterfaces.c" - } -#line 641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_maximize = _tmp0_; -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = configuration_facade_get_engine (self); -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp4_; -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = configuration_engine_get_int_property (_tmp5_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, &_inner_error_); -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp5_); -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - w = _tmp6_; -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4265 "ConfigurationInterfaces.c" - goto __catch109_configuration_error; - } -#line 642 "/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 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; -#line 4274 "ConfigurationInterfaces.c" - } -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = configuration_facade_get_engine (self); -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp8_ = _tmp7_; -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp9_ = configuration_engine_get_int_property (_tmp8_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, &_inner_error_); -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp8_); -#line 643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - h = _tmp9_; -#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 4290 "ConfigurationInterfaces.c" - goto __catch109_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; -#line 4299 "ConfigurationInterfaces.c" - } -#line 644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp10_ = w; -#line 644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp11_ = h; -#line 644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - dimensions_init (&_vala_dimensions, _tmp10_, _tmp11_); -#line 4307 "ConfigurationInterfaces.c" - } - goto __finally109; - __catch109_configuration_error: - { - GError* err = NULL; - GError* _tmp12_; -#line 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp12_ = err; -#line 646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp12_); -#line 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 4324 "ConfigurationInterfaces.c" - } - __finally109: -#line 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 640 "/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 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 640 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4335 "ConfigurationInterfaces.c" - } -#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (maximize) { -#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - *maximize = _vala_maximize; -#line 4341 "ConfigurationInterfaces.c" - } -#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (dimensions) { -#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - *dimensions = _vala_dimensions; -#line 4347 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_get_direct_window_state (ConfigurationFacade* self, - gboolean* maximize, - Dimensions* dimensions) -{ -#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->get_direct_window_state (self, maximize, dimensions); -#line 4361 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_direct_window_state (ConfigurationFacade* self, - gboolean maximize, - Dimensions* dimensions) -{ - GError * _inner_error_ = NULL; -#line 650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (dimensions != NULL); -#line 4373 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - ConfigurationEngine* _tmp3_; - Dimensions _tmp4_; - gint _tmp5_; - ConfigurationEngine* _tmp6_; - ConfigurationEngine* _tmp7_; - Dimensions _tmp8_; - gint _tmp9_; -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, maximize, &_inner_error_); -#line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#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" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4397 "ConfigurationInterfaces.c" - goto __catch110_configuration_error; - } -#line 652 "/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 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 4406 "ConfigurationInterfaces.c" - } -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_facade_get_engine (self); -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = _tmp2_; -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = *dimensions; -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp4_.width; -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp3_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, _tmp5_, &_inner_error_); -#line 653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp3_); -#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 4424 "ConfigurationInterfaces.c" - goto __catch110_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 4433 "ConfigurationInterfaces.c" - } -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = configuration_facade_get_engine (self); -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = _tmp6_; -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp8_ = *dimensions; -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp9_ = _tmp8_.height; -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp7_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, _tmp9_, &_inner_error_); -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp7_); -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4451 "ConfigurationInterfaces.c" - goto __catch110_configuration_error; - } -#line 655 "/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 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4460 "ConfigurationInterfaces.c" - } - } - goto __finally110; - __catch110_configuration_error: - { - GError* err = NULL; - GError* _tmp10_; -#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp10_ = err; -#line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp10_); -#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 4478 "ConfigurationInterfaces.c" - } - __finally110: -#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 651 "/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 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 651 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4489 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_direct_window_state (ConfigurationFacade* self, - gboolean maximize, - Dimensions* dimensions) -{ -#line 650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_direct_window_state (self, maximize, dimensions); -#line 4503 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_display_basic_properties (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, &_inner_error_); -#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4530 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4534 "ConfigurationInterfaces.c" - goto __catch111_configuration_error; - } -#line 667 "/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 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 4543 "ConfigurationInterfaces.c" - } -#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 667 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 4549 "ConfigurationInterfaces.c" - } - goto __finally111; - __catch111_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 671 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = TRUE; -#line 671 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 671 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 4570 "ConfigurationInterfaces.c" - } - __finally111: -#line 666 "/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 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 4579 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_display_basic_properties (ConfigurationFacade* self) -{ -#line 665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_basic_properties (self); -#line 4590 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_display_basic_properties (ConfigurationFacade* self, - gboolean display) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, display, &_inner_error_); -#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4614 "ConfigurationInterfaces.c" - goto __catch112_configuration_error; - } -#line 677 "/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 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4623 "ConfigurationInterfaces.c" - } - } - goto __finally112; - __catch112_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 4641 "ConfigurationInterfaces.c" - } - __finally112: -#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 676 "/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 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4652 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_display_basic_properties (ConfigurationFacade* self, - gboolean display) -{ -#line 675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_display_basic_properties (self, display); -#line 4665 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_display_extended_properties (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, &_inner_error_); -#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4692 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4696 "ConfigurationInterfaces.c" - goto __catch113_configuration_error; - } -#line 688 "/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 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 4705 "ConfigurationInterfaces.c" - } -#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 688 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 4711 "ConfigurationInterfaces.c" - } - goto __finally113; - __catch113_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 692 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 692 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 692 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 4732 "ConfigurationInterfaces.c" - } - __finally113: -#line 687 "/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 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 4741 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_display_extended_properties (ConfigurationFacade* self) -{ -#line 686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_extended_properties (self); -#line 4752 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_display_extended_properties (ConfigurationFacade* self, - gboolean display) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, display, &_inner_error_); -#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4776 "ConfigurationInterfaces.c" - goto __catch114_configuration_error; - } -#line 698 "/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 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4785 "ConfigurationInterfaces.c" - } - } - goto __finally114; - __catch114_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 4803 "ConfigurationInterfaces.c" - } - __finally114: -#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 697 "/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 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4814 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_display_extended_properties (ConfigurationFacade* self, - gboolean display) -{ -#line 696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_display_extended_properties (self, display); -#line 4827 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_display_sidebar (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, &_inner_error_); -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4854 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4858 "ConfigurationInterfaces.c" - goto __catch115_configuration_error; - } -#line 710 "/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 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 4867 "ConfigurationInterfaces.c" - } -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 4873 "ConfigurationInterfaces.c" - } - goto __finally115; - __catch115_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 4894 "ConfigurationInterfaces.c" - } - __finally115: -#line 709 "/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 709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 4903 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_display_sidebar (ConfigurationFacade* self) -{ -#line 708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_sidebar (self); -#line 4914 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_display_sidebar (ConfigurationFacade* self, - gboolean display) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, display, &_inner_error_); -#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4938 "ConfigurationInterfaces.c" - goto __catch116_configuration_error; - } -#line 720 "/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 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4947 "ConfigurationInterfaces.c" - } - } - goto __finally116; - __catch116_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 4965 "ConfigurationInterfaces.c" - } - __finally116: -#line 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 719 "/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 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 4976 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_display_sidebar (ConfigurationFacade* self, - gboolean display) -{ -#line 718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_display_sidebar (self, display); -#line 4989 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_display_toolbar (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, &_inner_error_); -#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5016 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5020 "ConfigurationInterfaces.c" - goto __catch117_configuration_error; - } -#line 732 "/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 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 5029 "ConfigurationInterfaces.c" - } -#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 5035 "ConfigurationInterfaces.c" - } - goto __finally117; - __catch117_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 736 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 5056 "ConfigurationInterfaces.c" - } - __finally117: -#line 731 "/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 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 5065 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_display_toolbar (ConfigurationFacade* self) -{ -#line 730 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 730 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_toolbar (self); -#line 5076 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_display_toolbar (ConfigurationFacade* self, - gboolean display) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, display, &_inner_error_); -#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5100 "ConfigurationInterfaces.c" - goto __catch118_configuration_error; - } -#line 742 "/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 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 5109 "ConfigurationInterfaces.c" - } - } - goto __finally118; - __catch118_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 744 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 744 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 5127 "ConfigurationInterfaces.c" - } - __finally118: -#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 741 "/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 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 5138 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_display_toolbar (ConfigurationFacade* self, - gboolean display) -{ -#line 740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_display_toolbar (self, display); -#line 5151 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_display_search_bar (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, &_inner_error_); -#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5178 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5182 "ConfigurationInterfaces.c" - goto __catch119_configuration_error; - } -#line 753 "/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 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 5191 "ConfigurationInterfaces.c" - } -#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 5197 "ConfigurationInterfaces.c" - } - goto __finally119; - __catch119_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 757 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 5218 "ConfigurationInterfaces.c" - } - __finally119: -#line 752 "/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 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 5227 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_display_search_bar (ConfigurationFacade* self) -{ -#line 751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_search_bar (self); -#line 5238 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_display_search_bar (ConfigurationFacade* self, - gboolean display) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, display, &_inner_error_); -#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5262 "ConfigurationInterfaces.c" - goto __catch120_configuration_error; - } -#line 763 "/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 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 5271 "ConfigurationInterfaces.c" - } - } - goto __finally120; - __catch120_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 5289 "ConfigurationInterfaces.c" - } - __finally120: -#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 762 "/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 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 5300 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_display_search_bar (ConfigurationFacade* self, - gboolean display) -{ -#line 761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_display_search_bar (self, display); -#line 5313 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_display_photo_ratings (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, &_inner_error_); -#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5340 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5344 "ConfigurationInterfaces.c" - goto __catch121_configuration_error; - } -#line 774 "/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 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 5353 "ConfigurationInterfaces.c" - } -#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 5359 "ConfigurationInterfaces.c" - } - goto __finally121; - __catch121_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 776 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 776 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = TRUE; -#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 5380 "ConfigurationInterfaces.c" - } - __finally121: -#line 773 "/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 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 5389 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_display_photo_ratings (ConfigurationFacade* self) -{ -#line 772 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 772 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_ratings (self); -#line 5400 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_display_photo_ratings (ConfigurationFacade* self, - gboolean display) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, display, &_inner_error_); -#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5424 "ConfigurationInterfaces.c" - goto __catch122_configuration_error; - } -#line 784 "/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 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 5433 "ConfigurationInterfaces.c" - } - } - goto __finally122; - __catch122_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 5451 "ConfigurationInterfaces.c" - } - __finally122: -#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 783 "/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 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 5462 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_display_photo_ratings (ConfigurationFacade* self, - gboolean display) -{ -#line 782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_ratings (self, display); -#line 5475 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_display_photo_tags (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, &_inner_error_); -#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5502 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5506 "ConfigurationInterfaces.c" - goto __catch123_configuration_error; - } -#line 795 "/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 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 5515 "ConfigurationInterfaces.c" - } -#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 5521 "ConfigurationInterfaces.c" - } - goto __finally123; - __catch123_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = TRUE; -#line 799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 5542 "ConfigurationInterfaces.c" - } - __finally123: -#line 794 "/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 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 _tmp6_; -#line 5551 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_display_photo_tags (ConfigurationFacade* self) -{ -#line 793 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 793 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_tags (self); -#line 5562 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_display_photo_tags (ConfigurationFacade* self, - gboolean display) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, display, &_inner_error_); -#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5586 "ConfigurationInterfaces.c" - goto __catch124_configuration_error; - } -#line 805 "/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 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 5595 "ConfigurationInterfaces.c" - } - } - goto __finally124; - __catch124_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 807 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 807 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 5613 "ConfigurationInterfaces.c" - } - __finally124: -#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" - 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 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 5624 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_display_photo_tags (ConfigurationFacade* self, - gboolean display) -{ -#line 803 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 803 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_tags (self, display); -#line 5637 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_display_photo_titles (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#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_DISPLAY_PHOTO_TITLES, &_inner_error_); -#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_ = _tmp3_; -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5664 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5668 "ConfigurationInterfaces.c" - goto __catch125_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 _tmp4_; -#line 5677 "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 5683 "ConfigurationInterfaces.c" - } - goto __finally125; - __catch125_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#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 5704 "ConfigurationInterfaces.c" - } - __finally125: -#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 _tmp6_; -#line 5713 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_display_photo_titles (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_display_photo_titles (self); -#line 5724 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_display_photo_titles (ConfigurationFacade* self, - gboolean display) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#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" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, display, &_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 5748 "ConfigurationInterfaces.c" - goto __catch126_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 5757 "ConfigurationInterfaces.c" - } - } - goto __finally126; - __catch126_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#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" - _tmp2_ = err; -#line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 5775 "ConfigurationInterfaces.c" - } - __finally126: -#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 5786 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_display_photo_titles (ConfigurationFacade* self, - gboolean display) -{ -#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_display_photo_titles (self, display); -#line 5799 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_display_photo_comments (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, &_inner_error_); -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5826 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5830 "ConfigurationInterfaces.c" - goto __catch127_configuration_error; - } -#line 837 "/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 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 _tmp4_; -#line 5839 "ConfigurationInterfaces.c" - } -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 5845 "ConfigurationInterfaces.c" - } - goto __finally127; - __catch127_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 839 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 839 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 5866 "ConfigurationInterfaces.c" - } - __finally127: -#line 836 "/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 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 5875 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_display_photo_comments (ConfigurationFacade* self) -{ -#line 835 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 835 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_comments (self); -#line 5886 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_display_photo_comments (ConfigurationFacade* self, - gboolean display) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, display, &_inner_error_); -#line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#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" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5910 "ConfigurationInterfaces.c" - goto __catch128_configuration_error; - } -#line 847 "/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 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 5919 "ConfigurationInterfaces.c" - } - } - goto __finally128; - __catch128_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 5937 "ConfigurationInterfaces.c" - } - __finally128: -#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 846 "/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 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 846 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 5948 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_display_photo_comments (ConfigurationFacade* self, - gboolean display) -{ -#line 845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_comments (self, display); -#line 5961 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_display_event_comments (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, &_inner_error_); -#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5988 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5992 "ConfigurationInterfaces.c" - goto __catch129_configuration_error; - } -#line 858 "/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 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 6001 "ConfigurationInterfaces.c" - } -#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 6007 "ConfigurationInterfaces.c" - } - goto __finally129; - __catch129_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 860 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 862 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 862 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 862 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 6028 "ConfigurationInterfaces.c" - } - __finally129: -#line 857 "/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 857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 6037 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_display_event_comments (ConfigurationFacade* self) -{ -#line 856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_event_comments (self); -#line 6048 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_display_event_comments (ConfigurationFacade* self, - gboolean display) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, display, &_inner_error_); -#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6072 "ConfigurationInterfaces.c" - goto __catch130_configuration_error; - } -#line 868 "/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 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6081 "ConfigurationInterfaces.c" - } - } - goto __finally130; - __catch130_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 870 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 6099 "ConfigurationInterfaces.c" - } - __finally130: -#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 867 "/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 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6110 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_display_event_comments (ConfigurationFacade* self, - gboolean display) -{ -#line 866 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 866 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_display_event_comments (self, display); -#line 6123 "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 878 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_sort_order = FALSE; -#line 879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_sort_by = 2; -#line 6139 "ConfigurationInterfaces.c" - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; - gint _tmp4_ = 0; - ConfigurationEngine* _tmp5_; - ConfigurationEngine* _tmp6_; - gint _tmp7_; -#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, &_inner_error_); -#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6163 "ConfigurationInterfaces.c" - goto __catch131_configuration_error; - } -#line 881 "/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 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6172 "ConfigurationInterfaces.c" - } -#line 881 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_sort_order = _tmp0_; -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = configuration_facade_get_engine (self); -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = _tmp5_; -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, &_inner_error_); -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp6_); -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp7_; -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6190 "ConfigurationInterfaces.c" - goto __catch131_configuration_error; - } -#line 883 "/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 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; -#line 6199 "ConfigurationInterfaces.c" - } -#line 883 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_sort_by = _tmp4_; -#line 6203 "ConfigurationInterfaces.c" - } - goto __finally131; - __catch131_configuration_error: - { - GError* err = NULL; - GError* _tmp8_; -#line 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 885 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp8_ = err; -#line 885 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp8_); -#line 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 6220 "ConfigurationInterfaces.c" - } - __finally131: -#line 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 880 "/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 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6231 "ConfigurationInterfaces.c" - } -#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (sort_order) { -#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - *sort_order = _vala_sort_order; -#line 6237 "ConfigurationInterfaces.c" - } -#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (sort_by) { -#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - *sort_by = _vala_sort_by; -#line 6243 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_get_event_photos_sort (ConfigurationFacade* self, - gboolean* sort_order, - gint* sort_by) -{ -#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 877 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->get_event_photos_sort (self, sort_order, sort_by); -#line 6257 "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_; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - ConfigurationEngine* _tmp3_; -#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, sort_order, &_inner_error_); -#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6284 "ConfigurationInterfaces.c" - goto __catch132_configuration_error; - } -#line 891 "/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 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 891 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6293 "ConfigurationInterfaces.c" - } -#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_facade_get_engine (self); -#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = _tmp2_; -#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp3_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, sort_by, &_inner_error_); -#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp3_); -#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6307 "ConfigurationInterfaces.c" - goto __catch132_configuration_error; - } -#line 893 "/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 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 893 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6316 "ConfigurationInterfaces.c" - } - } - goto __finally132; - __catch132_configuration_error: - { - GError* err = NULL; - GError* _tmp4_; -#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 896 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = err; -#line 896 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp4_); -#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 6334 "ConfigurationInterfaces.c" - } - __finally132: -#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 890 "/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 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6345 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_event_photos_sort (ConfigurationFacade* self, - gboolean sort_order, - gint sort_by) -{ -#line 889 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 889 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_event_photos_sort (self, sort_order, sort_by); -#line 6359 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_events_sort_ascending (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, &_inner_error_); -#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 6386 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6390 "ConfigurationInterfaces.c" - goto __catch133_configuration_error; - } -#line 905 "/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 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 6399 "ConfigurationInterfaces.c" - } -#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 905 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 6405 "ConfigurationInterfaces.c" - } - goto __finally133; - __catch133_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 904 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 904 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 907 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 909 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 909 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 909 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 6426 "ConfigurationInterfaces.c" - } - __finally133: -#line 904 "/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 904 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 904 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 6435 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_events_sort_ascending (ConfigurationFacade* self) -{ -#line 903 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 903 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_events_sort_ascending (self); -#line 6446 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_events_sort_ascending (ConfigurationFacade* self, - gboolean sort) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, sort, &_inner_error_); -#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6470 "ConfigurationInterfaces.c" - goto __catch134_configuration_error; - } -#line 915 "/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 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6479 "ConfigurationInterfaces.c" - } - } - goto __finally134; - __catch134_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 914 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 914 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 917 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 918 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6499 "ConfigurationInterfaces.c" - } - __finally134: -#line 914 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 914 "/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 914 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 914 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6510 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_events_sort_ascending (ConfigurationFacade* self, - gboolean sort) -{ -#line 913 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 913 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_events_sort_ascending (self, sort); -#line 6523 "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_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, &_inner_error_); -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6555 "ConfigurationInterfaces.c" - goto __catch135_configuration_error; - } -#line 927 "/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 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 6564 "ConfigurationInterfaces.c" - } -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 927 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 6576 "ConfigurationInterfaces.c" - } - goto __finally135; - __catch135_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 926 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 926 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 931 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (""); -#line 931 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 931 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 931 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 6600 "ConfigurationInterfaces.c" - } - __finally135: -#line 926 "/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 926 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 926 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 6609 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_external_photo_app (ConfigurationFacade* self) -{ -#line 925 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 925 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_external_photo_app (self); -#line 6620 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_external_photo_app (ConfigurationFacade* self, - const gchar* external_photo_app) -{ - GError * _inner_error_ = NULL; -#line 935 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (external_photo_app != NULL); -#line 6631 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, external_photo_app, &_inner_error_); -#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6647 "ConfigurationInterfaces.c" - goto __catch136_configuration_error; - } -#line 937 "/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 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 937 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6656 "ConfigurationInterfaces.c" - } - } - goto __finally136; - __catch136_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 936 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 936 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 941 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 941 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6676 "ConfigurationInterfaces.c" - } - __finally136: -#line 936 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 936 "/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 936 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 936 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6687 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_external_photo_app (ConfigurationFacade* self, - const gchar* external_photo_app) -{ -#line 935 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 935 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_external_photo_app (self, external_photo_app); -#line 6700 "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_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#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_string_property (_tmp2_, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, &_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 6732 "ConfigurationInterfaces.c" - goto __catch137_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 NULL; -#line 6741 "ConfigurationInterfaces.c" - } -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 950 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 6753 "ConfigurationInterfaces.c" - } - goto __finally137; - __catch137_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#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" - _tmp6_ = err; -#line 952 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 954 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (""); -#line 954 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#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 6777 "ConfigurationInterfaces.c" - } - __finally137: -#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 NULL; -#line 6786 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_external_raw_app (ConfigurationFacade* self) -{ -#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_external_raw_app (self); -#line 6797 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_external_raw_app (ConfigurationFacade* self, - const gchar* external_raw_app) -{ - GError * _inner_error_ = NULL; -#line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (external_raw_app != NULL); -#line 6808 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#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" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, external_raw_app, &_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 6824 "ConfigurationInterfaces.c" - goto __catch138_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 6833 "ConfigurationInterfaces.c" - } - } - goto __finally138; - __catch138_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#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 963 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 963 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 964 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 964 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6853 "ConfigurationInterfaces.c" - } - __finally138: -#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 6864 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_external_raw_app (ConfigurationFacade* self, - const gchar* external_raw_app) -{ -#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_external_raw_app (self, external_raw_app); -#line 6877 "ConfigurationInterfaces.c" -} - - -static ScaleConstraint -configuration_facade_real_get_export_constraint (ConfigurationFacade* self) -{ - ScaleConstraint result = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, &_inner_error_); -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6905 "ConfigurationInterfaces.c" - goto __catch139_configuration_error; - } -#line 973 "/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 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return 0; -#line 6914 "ConfigurationInterfaces.c" - } -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = (ScaleConstraint) _tmp0_; -#line 973 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 6920 "ConfigurationInterfaces.c" - } - goto __finally139; - __catch139_configuration_error: - { - GError* err = NULL; - GError* _tmp4_; -#line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 975 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = err; -#line 975 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp4_); -#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0; -#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 6941 "ConfigurationInterfaces.c" - } - __finally139: -#line 972 "/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 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return 0; -#line 6950 "ConfigurationInterfaces.c" -} - - -ScaleConstraint -configuration_facade_get_export_constraint (ConfigurationFacade* self) -{ -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 971 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_constraint (self); -#line 6961 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_export_constraint (ConfigurationFacade* self, - ScaleConstraint constraint) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, (gint) constraint, &_inner_error_); -#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 6985 "ConfigurationInterfaces.c" - goto __catch140_configuration_error; - } -#line 983 "/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 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 983 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 6994 "ConfigurationInterfaces.c" - } - } - goto __finally140; - __catch140_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 985 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 985 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7014 "ConfigurationInterfaces.c" - } - __finally140: -#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 982 "/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 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 982 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7025 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_export_constraint (ConfigurationFacade* self, - ScaleConstraint constraint) -{ -#line 981 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 981 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_export_constraint (self, constraint); -#line 7038 "ConfigurationInterfaces.c" -} - - -static ExportFormatMode -configuration_facade_real_get_export_export_format_mode (ConfigurationFacade* self) -{ - ExportFormatMode result = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, &_inner_error_); -#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7066 "ConfigurationInterfaces.c" - goto __catch141_configuration_error; - } -#line 992 "/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 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return 0; -#line 7075 "ConfigurationInterfaces.c" - } -#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = (ExportFormatMode) _tmp0_; -#line 992 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7081 "ConfigurationInterfaces.c" - } - goto __finally141; - __catch141_configuration_error: - { - GError* err = NULL; - GError* _tmp4_; -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 994 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = err; -#line 994 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp4_); -#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0; -#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7102 "ConfigurationInterfaces.c" - } - __finally141: -#line 991 "/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 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 7111 "ConfigurationInterfaces.c" -} - - -ExportFormatMode -configuration_facade_get_export_export_format_mode (ConfigurationFacade* self) -{ -#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 990 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_export_format_mode (self); -#line 7122 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_export_export_format_mode (ConfigurationFacade* self, - ExportFormatMode export_format_mode) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, (gint) export_format_mode, &_inner_error_); -#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7146 "ConfigurationInterfaces.c" - goto __catch142_configuration_error; - } -#line 1002 "/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 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1002 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7155 "ConfigurationInterfaces.c" - } - } - goto __finally142; - __catch142_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1001 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1001 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1004 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1004 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7175 "ConfigurationInterfaces.c" - } - __finally142: -#line 1001 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1001 "/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 1001 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1001 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7186 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_export_export_format_mode (ConfigurationFacade* self, - ExportFormatMode export_format_mode) -{ -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_export_export_format_mode (self, export_format_mode); -#line 7199 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_export_export_metadata (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#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_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, &_inner_error_); -#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_ = _tmp3_; -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7226 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1011 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7230 "ConfigurationInterfaces.c" - goto __catch143_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 _tmp4_; -#line 7239 "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 7245 "ConfigurationInterfaces.c" - } - goto __finally143; - __catch143_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#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 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7266 "ConfigurationInterfaces.c" - } - __finally143: -#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 _tmp6_; -#line 7275 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_export_export_metadata (ConfigurationFacade* self) -{ -#line 1009 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1009 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_export_metadata (self); -#line 7286 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_export_export_metadata (ConfigurationFacade* self, - gboolean export_metadata) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, export_metadata, &_inner_error_); -#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7310 "ConfigurationInterfaces.c" - goto __catch144_configuration_error; - } -#line 1021 "/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 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1021 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7319 "ConfigurationInterfaces.c" - } - } - goto __finally144; - __catch144_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1020 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1020 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1023 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1024 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7339 "ConfigurationInterfaces.c" - } - __finally144: -#line 1020 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1020 "/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 1020 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1020 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7350 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_export_export_metadata (ConfigurationFacade* self, - gboolean export_metadata) -{ -#line 1019 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1019 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_export_export_metadata (self, export_metadata); -#line 7363 "ConfigurationInterfaces.c" -} - - -static PhotoFileFormat -configuration_facade_real_get_export_photo_file_format (ConfigurationFacade* self) -{ - PhotoFileFormat result = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, &_inner_error_); -#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7391 "ConfigurationInterfaces.c" - goto __catch145_configuration_error; - } -#line 1030 "/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 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return 0; -#line 7400 "ConfigurationInterfaces.c" - } -#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = photo_file_format_unserialize (_tmp0_); -#line 1030 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7406 "ConfigurationInterfaces.c" - } - goto __finally145; - __catch145_configuration_error: - { - GError* err = NULL; - GError* _tmp4_; -#line 1029 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1029 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1032 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = err; -#line 1032 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp4_); -#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0; -#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1034 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7427 "ConfigurationInterfaces.c" - } - __finally145: -#line 1029 "/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 1029 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1029 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return 0; -#line 7436 "ConfigurationInterfaces.c" -} - - -PhotoFileFormat -configuration_facade_get_export_photo_file_format (ConfigurationFacade* self) -{ -#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_photo_file_format (self); -#line 7447 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_export_photo_file_format (ConfigurationFacade* self, - PhotoFileFormat photo_file_format) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, photo_file_format_serialize (photo_file_format), &_inner_error_); -#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7471 "ConfigurationInterfaces.c" - goto __catch146_configuration_error; - } -#line 1040 "/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 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1040 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7480 "ConfigurationInterfaces.c" - } - } - goto __finally146; - __catch146_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1043 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7500 "ConfigurationInterfaces.c" - } - __finally146: -#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1039 "/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 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7511 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_export_photo_file_format (ConfigurationFacade* self, - PhotoFileFormat photo_file_format) -{ -#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_export_photo_file_format (self, photo_file_format); -#line 7524 "ConfigurationInterfaces.c" -} - - -static JpegQuality -configuration_facade_real_get_export_quality (ConfigurationFacade* self) -{ - JpegQuality result = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_QUALITY, &_inner_error_); -#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7552 "ConfigurationInterfaces.c" - goto __catch147_configuration_error; - } -#line 1049 "/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 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return 0; -#line 7561 "ConfigurationInterfaces.c" - } -#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = (JpegQuality) _tmp0_; -#line 1049 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7567 "ConfigurationInterfaces.c" - } - goto __finally147; - __catch147_configuration_error: - { - GError* err = NULL; - GError* _tmp4_; -#line 1048 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1048 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = err; -#line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp4_); -#line 1053 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0; -#line 1053 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1053 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7588 "ConfigurationInterfaces.c" - } - __finally147: -#line 1048 "/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 1048 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1048 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return 0; -#line 7597 "ConfigurationInterfaces.c" -} - - -JpegQuality -configuration_facade_get_export_quality (ConfigurationFacade* self) -{ -#line 1047 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1047 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_quality (self); -#line 7608 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_export_quality (ConfigurationFacade* self, - JpegQuality quality) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_QUALITY, (gint) quality, &_inner_error_); -#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7632 "ConfigurationInterfaces.c" - goto __catch148_configuration_error; - } -#line 1059 "/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 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1059 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7641 "ConfigurationInterfaces.c" - } - } - goto __finally148; - __catch148_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1058 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1058 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#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; -#line 7661 "ConfigurationInterfaces.c" - } - __finally148: -#line 1058 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1058 "/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 1058 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1058 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7672 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_export_quality (ConfigurationFacade* self, - JpegQuality quality) -{ -#line 1057 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1057 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_export_quality (self, quality); -#line 7685 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_export_scale (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp6_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_SCALE, &_inner_error_); -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 7712 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7716 "ConfigurationInterfaces.c" - goto __catch149_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 _tmp4_; -#line 7725 "ConfigurationInterfaces.c" - } -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1068 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7731 "ConfigurationInterfaces.c" - } - goto __finally149; - __catch149_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#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" - _tmp5_ = err; -#line 1070 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0; -#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7752 "ConfigurationInterfaces.c" - } - __finally149: -#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 _tmp6_; -#line 7761 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_export_scale (ConfigurationFacade* self) -{ -#line 1066 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1066 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_scale (self); -#line 7772 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_export_scale (ConfigurationFacade* self, - gint scale) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_SCALE, scale, &_inner_error_); -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1078 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7796 "ConfigurationInterfaces.c" - goto __catch150_configuration_error; - } -#line 1078 "/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 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; -#line 7805 "ConfigurationInterfaces.c" - } - } - goto __finally150; - __catch150_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1080 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1080 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7825 "ConfigurationInterfaces.c" - } - __finally150: -#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1077 "/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 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7836 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_export_scale (ConfigurationFacade* self, - gint scale) -{ -#line 1076 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1076 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_export_scale (self, scale); -#line 7849 "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_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, &_inner_error_); -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7880 "ConfigurationInterfaces.c" - goto __catch151_configuration_error; - } -#line 1090 "/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 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return 0; -#line 7889 "ConfigurationInterfaces.c" - } -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = raw_developer_from_string (_tmp0_); -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 1090 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7897 "ConfigurationInterfaces.c" - } - goto __finally151; - __catch151_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1089 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1089 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1095 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = RAW_DEVELOPER_CAMERA; -#line 1095 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1095 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 7918 "ConfigurationInterfaces.c" - } - __finally151: -#line 1089 "/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 1089 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1089 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return 0; -#line 7927 "ConfigurationInterfaces.c" -} - - -RawDeveloper -configuration_facade_get_default_raw_developer (ConfigurationFacade* self) -{ -#line 1088 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1088 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_default_raw_developer (self); -#line 7938 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_default_raw_developer (ConfigurationFacade* self, - RawDeveloper d) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; - gchar* _tmp2_; - gchar* _tmp3_; -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = raw_developer_to_string (d); -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = _tmp2_; -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, _tmp3_, &_inner_error_); -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp3_); -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 7970 "ConfigurationInterfaces.c" - goto __catch152_configuration_error; - } -#line 1101 "/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 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1101 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7979 "ConfigurationInterfaces.c" - } - } - goto __finally152; - __catch152_configuration_error: - { - GError* err = NULL; - GError* _tmp4_; -#line 1100 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1100 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = err; -#line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp4_); -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 7999 "ConfigurationInterfaces.c" - } - __finally152: -#line 1100 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1100 "/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 1100 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1100 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8010 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_default_raw_developer (ConfigurationFacade* self, - RawDeveloper d) -{ -#line 1099 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1099 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_default_raw_developer (self, d); -#line 8023 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_hide_photos_already_imported (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, &_inner_error_); -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 8050 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8054 "ConfigurationInterfaces.c" - goto __catch153_configuration_error; - } -#line 1114 "/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 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 _tmp4_; -#line 8063 "ConfigurationInterfaces.c" - } -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8069 "ConfigurationInterfaces.c" - } - goto __finally153; - __catch153_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1116 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1116 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1118 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = TRUE; -#line 1118 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1118 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8090 "ConfigurationInterfaces.c" - } - __finally153: -#line 1113 "/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 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 8099 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_hide_photos_already_imported (ConfigurationFacade* self) -{ -#line 1112 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1112 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_hide_photos_already_imported (self); -#line 8110 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_hide_photos_already_imported (ConfigurationFacade* self, - gboolean hide_imported) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, hide_imported, &_inner_error_); -#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8134 "ConfigurationInterfaces.c" - goto __catch154_configuration_error; - } -#line 1124 "/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 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8143 "ConfigurationInterfaces.c" - } - } - goto __finally154; - __catch154_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 8161 "ConfigurationInterfaces.c" - } - __finally154: -#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1123 "/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 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8172 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_hide_photos_already_imported (ConfigurationFacade* self, - gboolean hide_imported) -{ -#line 1122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1122 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_hide_photos_already_imported (self, hide_imported); -#line 8185 "ConfigurationInterfaces.c" -} - - -static gchar* -configuration_facade_real_get_import_dir (ConfigurationFacade* self) -{ - gchar* result = NULL; - GError * _inner_error_ = NULL; - { - gchar* _tmp0_ = NULL; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_IMPORT_DIR, &_inner_error_); -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8217 "ConfigurationInterfaces.c" - goto __catch155_configuration_error; - } -#line 1135 "/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 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 8226 "ConfigurationInterfaces.c" - } -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8238 "ConfigurationInterfaces.c" - } - goto __finally155; - __catch155_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1137 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 1137 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 1139 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (""); -#line 1139 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 1139 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1139 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8262 "ConfigurationInterfaces.c" - } - __finally155: -#line 1134 "/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 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1134 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 8271 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_import_dir (ConfigurationFacade* self) -{ -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_import_dir (self); -#line 8282 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_import_dir (ConfigurationFacade* self, - const gchar* import_dir) -{ - GError * _inner_error_ = NULL; -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (import_dir != NULL); -#line 8293 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_IMPORT_DIR, import_dir, &_inner_error_); -#line 1145 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#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 8309 "ConfigurationInterfaces.c" - goto __catch156_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 8318 "ConfigurationInterfaces.c" - } - } - goto __finally156; - __catch156_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 8336 "ConfigurationInterfaces.c" - } - __finally156: -#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1144 "/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 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8347 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_import_dir (ConfigurationFacade* self, - const gchar* import_dir) -{ -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_import_dir (self, import_dir); -#line 8360 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_keep_relativity (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, &_inner_error_); -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 8387 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8391 "ConfigurationInterfaces.c" - goto __catch157_configuration_error; - } -#line 1156 "/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 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 _tmp4_; -#line 8400 "ConfigurationInterfaces.c" - } -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8406 "ConfigurationInterfaces.c" - } - goto __finally157; - __catch157_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1158 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1158 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1160 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = TRUE; -#line 1160 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1160 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8427 "ConfigurationInterfaces.c" - } - __finally157: -#line 1155 "/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 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 8436 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_keep_relativity (ConfigurationFacade* self) -{ -#line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_keep_relativity (self); -#line 8447 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_keep_relativity (ConfigurationFacade* self, - gboolean keep_relativity) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, keep_relativity, &_inner_error_); -#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8471 "ConfigurationInterfaces.c" - goto __catch158_configuration_error; - } -#line 1166 "/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 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8480 "ConfigurationInterfaces.c" - } - } - goto __finally158; - __catch158_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 8498 "ConfigurationInterfaces.c" - } - __finally158: -#line 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1165 "/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 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8509 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_keep_relativity (ConfigurationFacade* self, - gboolean keep_relativity) -{ -#line 1164 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1164 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_keep_relativity (self, keep_relativity); -#line 8522 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_pin_toolbar_state (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, &_inner_error_); -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 8549 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8553 "ConfigurationInterfaces.c" - goto __catch159_configuration_error; - } -#line 1177 "/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 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 8562 "ConfigurationInterfaces.c" - } -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8568 "ConfigurationInterfaces.c" - } - goto __finally159; - __catch159_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 1180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8589 "ConfigurationInterfaces.c" - } - __finally159: -#line 1176 "/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 1176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1176 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 8598 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_pin_toolbar_state (ConfigurationFacade* self) -{ -#line 1175 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1175 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_pin_toolbar_state (self); -#line 8609 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_pin_toolbar_state (ConfigurationFacade* self, - gboolean state) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, state, &_inner_error_); -#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8633 "ConfigurationInterfaces.c" - goto __catch160_configuration_error; - } -#line 1186 "/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 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8642 "ConfigurationInterfaces.c" - } - } - goto __finally160; - __catch160_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 8660 "ConfigurationInterfaces.c" - } - __finally160: -#line 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1185 "/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 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1185 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8671 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_pin_toolbar_state (ConfigurationFacade* self, - gboolean state) -{ -#line 1184 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1184 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_pin_toolbar_state (self, state); -#line 8684 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_last_crop_height (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp6_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, &_inner_error_); -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 8711 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8715 "ConfigurationInterfaces.c" - goto __catch161_configuration_error; - } -#line 1197 "/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 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 8724 "ConfigurationInterfaces.c" - } -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8730 "ConfigurationInterfaces.c" - } - goto __finally161; - __catch161_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1196 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1196 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 1; -#line 1200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1200 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8751 "ConfigurationInterfaces.c" - } - __finally161: -#line 1196 "/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 1196 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1196 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 8760 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_last_crop_height (ConfigurationFacade* self) -{ -#line 1195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_height (self); -#line 8771 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_last_crop_height (ConfigurationFacade* self, - gint choice) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, choice, &_inner_error_); -#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8795 "ConfigurationInterfaces.c" - goto __catch162_configuration_error; - } -#line 1206 "/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 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8804 "ConfigurationInterfaces.c" - } - } - goto __finally162; - __catch162_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1208 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 8822 "ConfigurationInterfaces.c" - } - __finally162: -#line 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1205 "/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 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1205 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8833 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_last_crop_height (ConfigurationFacade* self, - gint choice) -{ -#line 1204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_height (self, choice); -#line 8846 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_last_crop_menu_choice (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp6_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, &_inner_error_); -#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 8873 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8877 "ConfigurationInterfaces.c" - goto __catch163_configuration_error; - } -#line 1217 "/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 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 8886 "ConfigurationInterfaces.c" - } -#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1217 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8892 "ConfigurationInterfaces.c" - } - goto __finally163; - __catch163_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0; -#line 1224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1224 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 8913 "ConfigurationInterfaces.c" - } - __finally163: -#line 1216 "/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 1216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 8922 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_last_crop_menu_choice (ConfigurationFacade* self) -{ -#line 1215 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1215 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_menu_choice (self); -#line 8933 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_last_crop_menu_choice (ConfigurationFacade* self, - gint choice) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, choice, &_inner_error_); -#line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#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" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 8957 "ConfigurationInterfaces.c" - goto __catch164_configuration_error; - } -#line 1230 "/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 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 8966 "ConfigurationInterfaces.c" - } - } - goto __finally164; - __catch164_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1232 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1232 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 8984 "ConfigurationInterfaces.c" - } - __finally164: -#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1229 "/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 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1229 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 8995 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_last_crop_menu_choice (ConfigurationFacade* self, - gint choice) -{ -#line 1228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_menu_choice (self, choice); -#line 9008 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_last_crop_width (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp6_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, &_inner_error_); -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 9035 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9039 "ConfigurationInterfaces.c" - goto __catch165_configuration_error; - } -#line 1241 "/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 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 9048 "ConfigurationInterfaces.c" - } -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1241 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 9054 "ConfigurationInterfaces.c" - } - goto __finally165; - __catch165_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1244 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 1; -#line 1244 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1244 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 9075 "ConfigurationInterfaces.c" - } - __finally165: -#line 1240 "/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 1240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 9084 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_last_crop_width (ConfigurationFacade* self) -{ -#line 1239 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1239 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_width (self); -#line 9095 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_last_crop_width (ConfigurationFacade* self, - gint choice) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, choice, &_inner_error_); -#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9119 "ConfigurationInterfaces.c" - goto __catch166_configuration_error; - } -#line 1250 "/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 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1250 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9128 "ConfigurationInterfaces.c" - } - } - goto __finally166; - __catch166_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 9146 "ConfigurationInterfaces.c" - } - __finally166: -#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1249 "/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 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9157 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_last_crop_width (ConfigurationFacade* self, - gint choice) -{ -#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_width (self, choice); -#line 9170 "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_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, &_inner_error_); -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9202 "ConfigurationInterfaces.c" - goto __catch167_configuration_error; - } -#line 1261 "/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 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 9211 "ConfigurationInterfaces.c" - } -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 9223 "ConfigurationInterfaces.c" - } - goto __finally167; - __catch167_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 1260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 1263 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 1268 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (""); -#line 1268 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#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 9247 "ConfigurationInterfaces.c" - } - __finally167: -#line 1260 "/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 1260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1260 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 9256 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_last_used_service (ConfigurationFacade* self) -{ -#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_used_service (self); -#line 9267 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_last_used_service (ConfigurationFacade* self, - const gchar* service_name) -{ - GError * _inner_error_ = NULL; -#line 1272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (service_name != NULL); -#line 9278 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#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" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, service_name, &_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 9294 "ConfigurationInterfaces.c" - goto __catch168_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 9303 "ConfigurationInterfaces.c" - } - } - goto __finally168; - __catch168_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#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 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 9321 "ConfigurationInterfaces.c" - } - __finally168: -#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 9332 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_last_used_service (ConfigurationFacade* self, - const gchar* service_name) -{ -#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_last_used_service (self, service_name); -#line 9345 "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_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, &_inner_error_); -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9377 "ConfigurationInterfaces.c" - goto __catch169_configuration_error; - } -#line 1285 "/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 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 NULL; -#line 9386 "ConfigurationInterfaces.c" - } -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 9398 "ConfigurationInterfaces.c" - } - goto __finally169; - __catch169_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 1292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (""); -#line 1292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 1292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 9422 "ConfigurationInterfaces.c" - } - __finally169: -#line 1284 "/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 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 9431 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_last_used_dataimports_service (ConfigurationFacade* self) -{ -#line 1283 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1283 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_used_dataimports_service (self); -#line 9442 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_last_used_dataimports_service (ConfigurationFacade* self, - const gchar* service_name) -{ - GError * _inner_error_ = NULL; -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (service_name != NULL); -#line 9453 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, service_name, &_inner_error_); -#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9469 "ConfigurationInterfaces.c" - goto __catch170_configuration_error; - } -#line 1298 "/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 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1298 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9478 "ConfigurationInterfaces.c" - } - } - goto __finally170; - __catch170_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 9496 "ConfigurationInterfaces.c" - } - __finally170: -#line 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1297 "/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 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9507 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_last_used_dataimports_service (ConfigurationFacade* self, - const gchar* service_name) -{ -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1296 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_last_used_dataimports_service (self, service_name); -#line 9520 "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 1308 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_sort_order = FALSE; -#line 1309 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_sort_by = 2; -#line 9536 "ConfigurationInterfaces.c" - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; - gint _tmp4_ = 0; - ConfigurationEngine* _tmp5_; - ConfigurationEngine* _tmp6_; - gint _tmp7_; -#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, &_inner_error_); -#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9560 "ConfigurationInterfaces.c" - goto __catch171_configuration_error; - } -#line 1311 "/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 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9569 "ConfigurationInterfaces.c" - } -#line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_sort_order = _tmp0_; -#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = configuration_facade_get_engine (self); -#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = _tmp5_; -#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, &_inner_error_); -#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp6_); -#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp7_; -#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9587 "ConfigurationInterfaces.c" - goto __catch171_configuration_error; - } -#line 1313 "/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 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9596 "ConfigurationInterfaces.c" - } -#line 1313 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_sort_by = _tmp4_; -#line 9600 "ConfigurationInterfaces.c" - } - goto __finally171; - __catch171_configuration_error: - { - GError* err = NULL; - GError* _tmp8_; -#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1315 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp8_ = err; -#line 1315 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp8_); -#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 9617 "ConfigurationInterfaces.c" - } - __finally171: -#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1310 "/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 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9628 "ConfigurationInterfaces.c" - } -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (sort_order) { -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - *sort_order = _vala_sort_order; -#line 9634 "ConfigurationInterfaces.c" - } -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (sort_by) { -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - *sort_by = _vala_sort_by; -#line 9640 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_get_library_photos_sort (ConfigurationFacade* self, - gboolean* sort_order, - gint* sort_by) -{ -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1307 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->get_library_photos_sort (self, sort_order, sort_by); -#line 9654 "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_; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - ConfigurationEngine* _tmp3_; -#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, sort_order, &_inner_error_); -#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9681 "ConfigurationInterfaces.c" - goto __catch172_configuration_error; - } -#line 1321 "/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 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9690 "ConfigurationInterfaces.c" - } -#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_facade_get_engine (self); -#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = _tmp2_; -#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp3_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, sort_by, &_inner_error_); -#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp3_); -#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9704 "ConfigurationInterfaces.c" - goto __catch172_configuration_error; - } -#line 1323 "/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 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9713 "ConfigurationInterfaces.c" - } - } - goto __finally172; - __catch172_configuration_error: - { - GError* err = NULL; - GError* _tmp4_; -#line 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = err; -#line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp4_); -#line 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 9731 "ConfigurationInterfaces.c" - } - __finally172: -#line 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1320 "/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 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9742 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_library_photos_sort (ConfigurationFacade* self, - gboolean sort_order, - gint sort_by) -{ -#line 1319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_library_photos_sort (self, sort_order, sort_by); -#line 9756 "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 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_maximize = FALSE; -#line 1335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - dimensions_init (&_vala_dimensions, 1024, 768); -#line 9772 "ConfigurationInterfaces.c" - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; - gint w = 0; - ConfigurationEngine* _tmp4_; - ConfigurationEngine* _tmp5_; - gint _tmp6_; - gint h = 0; - ConfigurationEngine* _tmp7_; - ConfigurationEngine* _tmp8_; - gint _tmp9_; - gint _tmp10_; - gint _tmp11_; -#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, &_inner_error_); -#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9802 "ConfigurationInterfaces.c" - goto __catch173_configuration_error; - } -#line 1337 "/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 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9811 "ConfigurationInterfaces.c" - } -#line 1337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _vala_maximize = _tmp0_; -#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = configuration_facade_get_engine (self); -#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp4_; -#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = configuration_engine_get_int_property (_tmp5_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, &_inner_error_); -#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp5_); -#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - w = _tmp6_; -#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9829 "ConfigurationInterfaces.c" - goto __catch173_configuration_error; - } -#line 1338 "/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 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9838 "ConfigurationInterfaces.c" - } -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = configuration_facade_get_engine (self); -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp8_ = _tmp7_; -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp9_ = configuration_engine_get_int_property (_tmp8_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, &_inner_error_); -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp8_); -#line 1339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - h = _tmp9_; -#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" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9854 "ConfigurationInterfaces.c" - goto __catch173_configuration_error; - } -#line 1339 "/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 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 9863 "ConfigurationInterfaces.c" - } -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp10_ = w; -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp11_ = h; -#line 1340 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - dimensions_init (&_vala_dimensions, _tmp10_, _tmp11_); -#line 9871 "ConfigurationInterfaces.c" - } - goto __finally173; - __catch173_configuration_error: - { - GError* err = NULL; - GError* _tmp12_; -#line 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp12_ = err; -#line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp12_); -#line 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 9888 "ConfigurationInterfaces.c" - } - __finally173: -#line 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1336 "/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 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9899 "ConfigurationInterfaces.c" - } -#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (maximize) { -#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - *maximize = _vala_maximize; -#line 9905 "ConfigurationInterfaces.c" - } -#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (dimensions) { -#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - *dimensions = _vala_dimensions; -#line 9911 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_get_library_window_state (ConfigurationFacade* self, - gboolean* maximize, - Dimensions* dimensions) -{ -#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->get_library_window_state (self, maximize, dimensions); -#line 9925 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_library_window_state (ConfigurationFacade* self, - gboolean maximize, - Dimensions* dimensions) -{ - GError * _inner_error_ = NULL; -#line 1346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (dimensions != NULL); -#line 9937 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - ConfigurationEngine* _tmp3_; - Dimensions _tmp4_; - gint _tmp5_; - ConfigurationEngine* _tmp6_; - ConfigurationEngine* _tmp7_; - Dimensions _tmp8_; - gint _tmp9_; -#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, maximize, &_inner_error_); -#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9961 "ConfigurationInterfaces.c" - goto __catch174_configuration_error; - } -#line 1348 "/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 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1348 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9970 "ConfigurationInterfaces.c" - } -#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_facade_get_engine (self); -#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = _tmp2_; -#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = *dimensions; -#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp4_.width; -#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp3_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, _tmp5_, &_inner_error_); -#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp3_); -#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 9988 "ConfigurationInterfaces.c" - goto __catch174_configuration_error; - } -#line 1349 "/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 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1349 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 9997 "ConfigurationInterfaces.c" - } -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = configuration_facade_get_engine (self); -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = _tmp6_; -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp8_ = *dimensions; -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp9_ = _tmp8_.height; -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp7_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, _tmp9_, &_inner_error_); -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp7_); -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10015 "ConfigurationInterfaces.c" - goto __catch174_configuration_error; - } -#line 1351 "/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 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; -#line 10024 "ConfigurationInterfaces.c" - } - } - goto __finally174; - __catch174_configuration_error: - { - GError* err = NULL; - GError* _tmp10_; -#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1354 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp10_ = err; -#line 1354 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp10_); -#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 10042 "ConfigurationInterfaces.c" - } - __finally174: -#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1347 "/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 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 10053 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_library_window_state (ConfigurationFacade* self, - gboolean maximize, - Dimensions* dimensions) -{ -#line 1346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_library_window_state (self, maximize, dimensions); -#line 10067 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_modify_originals (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, &_inner_error_); -#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 10094 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10098 "ConfigurationInterfaces.c" - goto __catch175_configuration_error; - } -#line 1363 "/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 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 10107 "ConfigurationInterfaces.c" - } -#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10113 "ConfigurationInterfaces.c" - } - goto __finally175; - __catch175_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1368 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 1368 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1368 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10134 "ConfigurationInterfaces.c" - } - __finally175: -#line 1362 "/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 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 _tmp6_; -#line 10143 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_modify_originals (ConfigurationFacade* self) -{ -#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_modify_originals (self); -#line 10154 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_modify_originals (ConfigurationFacade* self, - gboolean modify_originals) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, modify_originals, &_inner_error_); -#line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#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 10178 "ConfigurationInterfaces.c" - goto __catch176_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; -#line 10187 "ConfigurationInterfaces.c" - } - } - goto __finally176; - __catch176_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#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" - _tmp2_ = err; -#line 1376 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 10205 "ConfigurationInterfaces.c" - } - __finally176: -#line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#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; -#line 10216 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_modify_originals (ConfigurationFacade* self, - gboolean modify_originals) -{ -#line 1372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1372 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_modify_originals (self, modify_originals); -#line 10229 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_photo_thumbnail_scale (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp8_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, &_inner_error_); -#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 10256 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10260 "ConfigurationInterfaces.c" - goto __catch177_configuration_error; - } -#line 1385 "/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 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 10269 "ConfigurationInterfaces.c" - } -#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10275 "ConfigurationInterfaces.c" - } - goto __finally177; - __catch177_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; - gint _tmp6_; - gint _tmp7_; -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = thumbnail_get_DEFAULT_SCALE (); -#line 1388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = _tmp6_; -#line 1388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 1388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10302 "ConfigurationInterfaces.c" - } - __finally177: -#line 1384 "/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 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 _tmp8_; -#line 10311 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_photo_thumbnail_scale (ConfigurationFacade* self) -{ -#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_photo_thumbnail_scale (self); -#line 10322 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_photo_thumbnail_scale (ConfigurationFacade* self, - gint scale) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, scale, &_inner_error_); -#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10346 "ConfigurationInterfaces.c" - goto __catch178_configuration_error; - } -#line 1394 "/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 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1394 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 10355 "ConfigurationInterfaces.c" - } - } - goto __finally178; - __catch178_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 10373 "ConfigurationInterfaces.c" - } - __finally178: -#line 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1393 "/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 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 10384 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_photo_thumbnail_scale (ConfigurationFacade* self, - gint scale) -{ -#line 1392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_photo_thumbnail_scale (self, scale); -#line 10397 "ConfigurationInterfaces.c" -} - - -static gdouble -configuration_facade_real_get_printing_content_height (ConfigurationFacade* self) -{ - gdouble result = 0.0; - gdouble _tmp6_ = 0.0; - GError * _inner_error_ = NULL; - { - gdouble _tmp0_ = 0.0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gdouble _tmp3_; -#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, &_inner_error_); -#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 10424 "ConfigurationInterfaces.c" - gdouble _tmp4_ = 0.0; -#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10428 "ConfigurationInterfaces.c" - goto __catch179_configuration_error; - } -#line 1405 "/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 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 10437 "ConfigurationInterfaces.c" - } -#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10443 "ConfigurationInterfaces.c" - } - goto __finally179; - __catch179_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1404 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1404 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1409 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 5.0; -#line 1409 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1409 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10464 "ConfigurationInterfaces.c" - } - __finally179: -#line 1404 "/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 1404 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1404 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 10473 "ConfigurationInterfaces.c" -} - - -gdouble -configuration_facade_get_printing_content_height (ConfigurationFacade* self) -{ -#line 1403 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); -#line 1403 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_height (self); -#line 10484 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_printing_content_height (ConfigurationFacade* self, - gdouble content_height) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, content_height, &_inner_error_); -#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10508 "ConfigurationInterfaces.c" - goto __catch180_configuration_error; - } -#line 1415 "/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 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 10517 "ConfigurationInterfaces.c" - } - } - goto __finally180; - __catch180_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 10535 "ConfigurationInterfaces.c" - } - __finally180: -#line 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1414 "/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 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 10546 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_printing_content_height (ConfigurationFacade* self, - gdouble content_height) -{ -#line 1413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_height (self, content_height); -#line 10559 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_printing_content_layout (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp6_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, &_inner_error_); -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 10586 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10590 "ConfigurationInterfaces.c" - goto __catch181_configuration_error; - } -#line 1427 "/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 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 10599 "ConfigurationInterfaces.c" - } -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_ - 1; -#line 1427 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10605 "ConfigurationInterfaces.c" - } - goto __finally181; - __catch181_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1426 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1426 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0; -#line 1431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1431 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10626 "ConfigurationInterfaces.c" - } - __finally181: -#line 1426 "/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 1426 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1426 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 10635 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_printing_content_layout (ConfigurationFacade* self) -{ -#line 1425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_layout (self); -#line 10646 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_printing_content_layout (ConfigurationFacade* self, - gint layout_code) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, layout_code + 1, &_inner_error_); -#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10670 "ConfigurationInterfaces.c" - goto __catch182_configuration_error; - } -#line 1437 "/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 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 10679 "ConfigurationInterfaces.c" - } - } - goto __finally182; - __catch182_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 10697 "ConfigurationInterfaces.c" - } - __finally182: -#line 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1436 "/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 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 10708 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_printing_content_layout (ConfigurationFacade* self, - gint layout_code) -{ -#line 1435 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1435 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_layout (self, layout_code); -#line 10721 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_printing_content_ppi (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp6_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, &_inner_error_); -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 10748 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10752 "ConfigurationInterfaces.c" - goto __catch183_configuration_error; - } -#line 1449 "/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 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 10761 "ConfigurationInterfaces.c" - } -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1449 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10767 "ConfigurationInterfaces.c" - } - goto __finally183; - __catch183_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1453 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 600; -#line 1453 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1453 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10788 "ConfigurationInterfaces.c" - } - __finally183: -#line 1448 "/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 1448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 10797 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_printing_content_ppi (ConfigurationFacade* self) -{ -#line 1447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_ppi (self); -#line 10808 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_printing_content_ppi (ConfigurationFacade* self, - gint content_ppi) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, content_ppi, &_inner_error_); -#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10832 "ConfigurationInterfaces.c" - goto __catch184_configuration_error; - } -#line 1459 "/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 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 10841 "ConfigurationInterfaces.c" - } - } - goto __finally184; - __catch184_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 10859 "ConfigurationInterfaces.c" - } - __finally184: -#line 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1458 "/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 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 10870 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_printing_content_ppi (ConfigurationFacade* self, - gint content_ppi) -{ -#line 1457 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1457 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_ppi (self, content_ppi); -#line 10883 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_printing_content_units (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp6_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, &_inner_error_); -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 10910 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10914 "ConfigurationInterfaces.c" - goto __catch185_configuration_error; - } -#line 1470 "/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 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 10923 "ConfigurationInterfaces.c" - } -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_ - 1; -#line 1470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10929 "ConfigurationInterfaces.c" - } - goto __finally185; - __catch185_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0; -#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 10950 "ConfigurationInterfaces.c" - } - __finally185: -#line 1469 "/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 1469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 10959 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_printing_content_units (ConfigurationFacade* self) -{ -#line 1468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_units (self); -#line 10970 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_printing_content_units (ConfigurationFacade* self, - gint units_code) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, units_code + 1, &_inner_error_); -#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 10994 "ConfigurationInterfaces.c" - goto __catch186_configuration_error; - } -#line 1480 "/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 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1480 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11003 "ConfigurationInterfaces.c" - } - } - goto __finally186; - __catch186_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 11021 "ConfigurationInterfaces.c" - } - __finally186: -#line 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1479 "/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 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1479 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11032 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_printing_content_units (ConfigurationFacade* self, - gint units_code) -{ -#line 1478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_units (self, units_code); -#line 11045 "ConfigurationInterfaces.c" -} - - -static gdouble -configuration_facade_real_get_printing_content_width (ConfigurationFacade* self) -{ - gdouble result = 0.0; - gdouble _tmp6_ = 0.0; - GError * _inner_error_ = NULL; - { - gdouble _tmp0_ = 0.0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gdouble _tmp3_; -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, &_inner_error_); -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 11072 "ConfigurationInterfaces.c" - gdouble _tmp4_ = 0.0; -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11076 "ConfigurationInterfaces.c" - goto __catch187_configuration_error; - } -#line 1492 "/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 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 11085 "ConfigurationInterfaces.c" - } -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11091 "ConfigurationInterfaces.c" - } - goto __finally187; - __catch187_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 7.0; -#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11112 "ConfigurationInterfaces.c" - } - __finally187: -#line 1491 "/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 1491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 11121 "ConfigurationInterfaces.c" -} - - -gdouble -configuration_facade_get_printing_content_width (ConfigurationFacade* self) -{ -#line 1490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); -#line 1490 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_width (self); -#line 11132 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_printing_content_width (ConfigurationFacade* self, - gdouble content_width) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, content_width, &_inner_error_); -#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11156 "ConfigurationInterfaces.c" - goto __catch188_configuration_error; - } -#line 1502 "/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 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1502 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11165 "ConfigurationInterfaces.c" - } - } - goto __finally188; - __catch188_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 11183 "ConfigurationInterfaces.c" - } - __finally188: -#line 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1501 "/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 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1501 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11194 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_printing_content_width (ConfigurationFacade* self, - gdouble content_width) -{ -#line 1500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_width (self, content_width); -#line 11207 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_printing_images_per_page (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp6_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, &_inner_error_); -#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 11234 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11238 "ConfigurationInterfaces.c" - goto __catch189_configuration_error; - } -#line 1514 "/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 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 11247 "ConfigurationInterfaces.c" - } -#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_ - 1; -#line 1514 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11253 "ConfigurationInterfaces.c" - } - goto __finally189; - __catch189_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0; -#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11274 "ConfigurationInterfaces.c" - } - __finally189: -#line 1513 "/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 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1513 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 11283 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_printing_images_per_page (ConfigurationFacade* self) -{ -#line 1512 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1512 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_images_per_page (self); -#line 11294 "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_; - ConfigurationEngine* _tmp1_; -#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, images_per_page_code + 1, &_inner_error_); -#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11318 "ConfigurationInterfaces.c" - goto __catch190_configuration_error; - } -#line 1524 "/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 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1524 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11327 "ConfigurationInterfaces.c" - } - } - goto __finally190; - __catch190_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 11345 "ConfigurationInterfaces.c" - } - __finally190: -#line 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1523 "/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 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1523 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11356 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_printing_images_per_page (ConfigurationFacade* self, - gint images_per_page_code) -{ -#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_images_per_page (self, images_per_page_code); -#line 11369 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_printing_match_aspect_ratio (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, &_inner_error_); -#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 11396 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11400 "ConfigurationInterfaces.c" - goto __catch191_configuration_error; - } -#line 1536 "/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 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 11409 "ConfigurationInterfaces.c" - } -#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11415 "ConfigurationInterfaces.c" - } - goto __finally191; - __catch191_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = TRUE; -#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11436 "ConfigurationInterfaces.c" - } - __finally191: -#line 1535 "/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 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1535 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 11445 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_printing_match_aspect_ratio (ConfigurationFacade* self) -{ -#line 1534 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1534 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_match_aspect_ratio (self); -#line 11456 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_printing_match_aspect_ratio (ConfigurationFacade* self, - gboolean match_aspect_ratio) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, match_aspect_ratio, &_inner_error_); -#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11480 "ConfigurationInterfaces.c" - goto __catch192_configuration_error; - } -#line 1546 "/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 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11489 "ConfigurationInterfaces.c" - } - } - goto __finally192; - __catch192_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1549 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 11507 "ConfigurationInterfaces.c" - } - __finally192: -#line 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1545 "/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 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11518 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_printing_match_aspect_ratio (ConfigurationFacade* self, - gboolean match_aspect_ratio) -{ -#line 1544 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1544 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_match_aspect_ratio (self, match_aspect_ratio); -#line 11531 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_printing_print_titles (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, &_inner_error_); -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 11558 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11562 "ConfigurationInterfaces.c" - goto __catch193_configuration_error; - } -#line 1558 "/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 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 11571 "ConfigurationInterfaces.c" - } -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11577 "ConfigurationInterfaces.c" - } - goto __finally193; - __catch193_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11598 "ConfigurationInterfaces.c" - } - __finally193: -#line 1557 "/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 1557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1557 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 11607 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_printing_print_titles (ConfigurationFacade* self) -{ -#line 1556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_print_titles (self); -#line 11618 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_printing_print_titles (ConfigurationFacade* self, - gboolean print_titles) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, print_titles, &_inner_error_); -#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11642 "ConfigurationInterfaces.c" - goto __catch194_configuration_error; - } -#line 1568 "/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 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11651 "ConfigurationInterfaces.c" - } - } - goto __finally194; - __catch194_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1571 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1571 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 11669 "ConfigurationInterfaces.c" - } - __finally194: -#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1567 "/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 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11680 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_printing_print_titles (ConfigurationFacade* self, - gboolean print_titles) -{ -#line 1566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_print_titles (self, print_titles); -#line 11693 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_printing_size_selection (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp7_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; - gint val = 0; - gint _tmp5_; -#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, &_inner_error_); -#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 11722 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11726 "ConfigurationInterfaces.c" - goto __catch195_configuration_error; - } -#line 1580 "/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 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 11735 "ConfigurationInterfaces.c" - } -#line 1580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - val = _tmp0_ - 1; -#line 1581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = val; -#line 1581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_tmp5_ == -2) { -#line 1582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (resources_get_default_measurement_unit () == RESOURCES_UNIT_SYSTEM_IMPERIAL) { -#line 1583 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - val = 2; -#line 11747 "ConfigurationInterfaces.c" - } else { -#line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - val = 10; -#line 11751 "ConfigurationInterfaces.c" - } - } -#line 1589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = val; -#line 1589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11758 "ConfigurationInterfaces.c" - } - goto __finally195; - __catch195_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; -#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 1591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 1593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0; -#line 1593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11779 "ConfigurationInterfaces.c" - } - __finally195: -#line 1579 "/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 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp7_; -#line 11788 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_printing_size_selection (ConfigurationFacade* self) -{ -#line 1578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_size_selection (self); -#line 11799 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_printing_size_selection (ConfigurationFacade* self, - gint size_code) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, size_code + 1, &_inner_error_); -#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11823 "ConfigurationInterfaces.c" - goto __catch196_configuration_error; - } -#line 1599 "/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 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1599 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11832 "ConfigurationInterfaces.c" - } - } - goto __finally196; - __catch196_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1602 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1602 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 11850 "ConfigurationInterfaces.c" - } - __finally196: -#line 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1598 "/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 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1598 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 11861 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_printing_size_selection (ConfigurationFacade* self, - gint size_code) -{ -#line 1597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_size_selection (self, size_code); -#line 11874 "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_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, &_inner_error_); -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11906 "ConfigurationInterfaces.c" - goto __catch197_configuration_error; - } -#line 1611 "/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 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 11915 "ConfigurationInterfaces.c" - } -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 1611 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11927 "ConfigurationInterfaces.c" - } - goto __finally197; - __catch197_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1613 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 1613 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup ("Sans Bold 12"); -#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 11951 "ConfigurationInterfaces.c" - } - __finally197: -#line 1610 "/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 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 11960 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_printing_titles_font (ConfigurationFacade* self) -{ -#line 1609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_titles_font (self); -#line 11971 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_printing_titles_font (ConfigurationFacade* self, - const gchar* font_name) -{ - GError * _inner_error_ = NULL; -#line 1621 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (font_name != NULL); -#line 11982 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, font_name, &_inner_error_); -#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 11998 "ConfigurationInterfaces.c" - goto __catch198_configuration_error; - } -#line 1623 "/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 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1623 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12007 "ConfigurationInterfaces.c" - } - } - goto __finally198; - __catch198_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 12025 "ConfigurationInterfaces.c" - } - __finally198: -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1622 "/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 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1622 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12036 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_printing_titles_font (ConfigurationFacade* self, - const gchar* font_name) -{ -#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_printing_titles_font (self, font_name); -#line 12049 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_show_welcome_dialog (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, &_inner_error_); -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 12076 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12080 "ConfigurationInterfaces.c" - goto __catch199_configuration_error; - } -#line 1634 "/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 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 12089 "ConfigurationInterfaces.c" - } -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12095 "ConfigurationInterfaces.c" - } - goto __finally199; - __catch199_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = TRUE; -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12116 "ConfigurationInterfaces.c" - } - __finally199: -#line 1633 "/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 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1633 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 12125 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_show_welcome_dialog (ConfigurationFacade* self) -{ -#line 1632 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1632 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_show_welcome_dialog (self); -#line 12136 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_show_welcome_dialog (ConfigurationFacade* self, - gboolean show) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, show, &_inner_error_); -#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12160 "ConfigurationInterfaces.c" - goto __catch200_configuration_error; - } -#line 1644 "/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 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1644 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12169 "ConfigurationInterfaces.c" - } - } - goto __finally200; - __catch200_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 12187 "ConfigurationInterfaces.c" - } - __finally200: -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1643 "/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 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1643 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12198 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_show_welcome_dialog (ConfigurationFacade* self, - gboolean show) -{ -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1642 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_show_welcome_dialog (self, show); -#line 12211 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_sidebar_position (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp6_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, &_inner_error_); -#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 12238 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12242 "ConfigurationInterfaces.c" - goto __catch201_configuration_error; - } -#line 1656 "/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 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 12251 "ConfigurationInterfaces.c" - } -#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12257 "ConfigurationInterfaces.c" - } - goto __finally201; - __catch201_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 180; -#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12278 "ConfigurationInterfaces.c" - } - __finally201: -#line 1655 "/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 1655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1655 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 12287 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_sidebar_position (ConfigurationFacade* self) -{ -#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1654 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_sidebar_position (self); -#line 12298 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_sidebar_position (ConfigurationFacade* self, - gint position) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, position, &_inner_error_); -#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12322 "ConfigurationInterfaces.c" - goto __catch202_configuration_error; - } -#line 1666 "/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 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12331 "ConfigurationInterfaces.c" - } - } - goto __finally202; - __catch202_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 12349 "ConfigurationInterfaces.c" - } - __finally202: -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1665 "/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 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1665 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12360 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_sidebar_position (ConfigurationFacade* self, - gint position) -{ -#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_sidebar_position (self, position); -#line 12373 "ConfigurationInterfaces.c" -} - - -static gdouble -configuration_facade_real_get_slideshow_delay (ConfigurationFacade* self) -{ - gdouble result = 0.0; - gdouble _tmp6_ = 0.0; - GError * _inner_error_ = NULL; - { - gdouble _tmp0_ = 0.0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gdouble _tmp3_; -#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, &_inner_error_); -#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 12400 "ConfigurationInterfaces.c" - gdouble _tmp4_ = 0.0; -#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12404 "ConfigurationInterfaces.c" - goto __catch203_configuration_error; - } -#line 1677 "/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 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 12413 "ConfigurationInterfaces.c" - } -#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12419 "ConfigurationInterfaces.c" - } - goto __finally203; - __catch203_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1681 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 3.0; -#line 1681 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1681 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12440 "ConfigurationInterfaces.c" - } - __finally203: -#line 1676 "/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 1676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1676 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 12449 "ConfigurationInterfaces.c" -} - - -gdouble -configuration_facade_get_slideshow_delay (ConfigurationFacade* self) -{ -#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); -#line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_delay (self); -#line 12460 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_slideshow_delay (ConfigurationFacade* self, - gdouble delay) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, delay, &_inner_error_); -#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12484 "ConfigurationInterfaces.c" - goto __catch204_configuration_error; - } -#line 1687 "/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 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12493 "ConfigurationInterfaces.c" - } - } - goto __finally204; - __catch204_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 12511 "ConfigurationInterfaces.c" - } - __finally204: -#line 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1686 "/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 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1686 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12522 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_slideshow_delay (ConfigurationFacade* self, - gdouble delay) -{ -#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_delay (self, delay); -#line 12535 "ConfigurationInterfaces.c" -} - - -static gdouble -configuration_facade_real_get_slideshow_transition_delay (ConfigurationFacade* self) -{ - gdouble result = 0.0; - gdouble _tmp6_ = 0.0; - GError * _inner_error_ = NULL; - { - gdouble _tmp0_ = 0.0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gdouble _tmp3_; -#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, &_inner_error_); -#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 12562 "ConfigurationInterfaces.c" - gdouble _tmp4_ = 0.0; -#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12566 "ConfigurationInterfaces.c" - goto __catch205_configuration_error; - } -#line 1698 "/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 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 12575 "ConfigurationInterfaces.c" - } -#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12581 "ConfigurationInterfaces.c" - } - goto __finally205; - __catch205_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1703 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = 0.3; -#line 1703 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1703 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12602 "ConfigurationInterfaces.c" - } - __finally205: -#line 1697 "/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 1697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1697 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 12611 "ConfigurationInterfaces.c" -} - - -gdouble -configuration_facade_get_slideshow_transition_delay (ConfigurationFacade* self) -{ -#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); -#line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_transition_delay (self); -#line 12622 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_slideshow_transition_delay (ConfigurationFacade* self, - gdouble delay) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, delay, &_inner_error_); -#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12646 "ConfigurationInterfaces.c" - goto __catch206_configuration_error; - } -#line 1709 "/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 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1709 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12655 "ConfigurationInterfaces.c" - } - } - goto __finally206; - __catch206_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 12673 "ConfigurationInterfaces.c" - } - __finally206: -#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1708 "/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 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12684 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_slideshow_transition_delay (ConfigurationFacade* self, - gdouble delay) -{ -#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_transition_delay (self, delay); -#line 12697 "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_; - ConfigurationEngine* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, &_inner_error_); -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp3_; -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp4_; -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12729 "ConfigurationInterfaces.c" - goto __catch207_configuration_error; - } -#line 1721 "/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 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 12738 "ConfigurationInterfaces.c" - } -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _tmp0_; -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = NULL; -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp5_; -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp0_); -#line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12750 "ConfigurationInterfaces.c" - } - goto __finally207; - __catch207_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - gchar* _tmp7_; -#line 1720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1724 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = err; -#line 1724 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp6_); -#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (TRANSITION_EFFECTS_MANAGER_NULL_EFFECT_ID); -#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12774 "ConfigurationInterfaces.c" - } - __finally207: -#line 1720 "/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 1720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return NULL; -#line 12783 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_slideshow_transition_effect_id (ConfigurationFacade* self) -{ -#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_transition_effect_id (self); -#line 12794 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_slideshow_transition_effect_id (ConfigurationFacade* self, - const gchar* id) -{ - GError * _inner_error_ = NULL; -#line 1732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (id != NULL); -#line 12805 "ConfigurationInterfaces.c" - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, id, &_inner_error_); -#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12821 "ConfigurationInterfaces.c" - goto __catch208_configuration_error; - } -#line 1734 "/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 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1734 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12830 "ConfigurationInterfaces.c" - } - } - goto __finally208; - __catch208_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 12848 "ConfigurationInterfaces.c" - } - __finally208: -#line 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1733 "/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 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12859 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_slideshow_transition_effect_id (ConfigurationFacade* self, - const gchar* id) -{ -#line 1732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_transition_effect_id (self, id); -#line 12872 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_slideshow_show_title (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, &_inner_error_); -#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 12899 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12903 "ConfigurationInterfaces.c" - goto __catch209_configuration_error; - } -#line 1746 "/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 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 12912 "ConfigurationInterfaces.c" - } -#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1746 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12918 "ConfigurationInterfaces.c" - } - goto __finally209; - __catch209_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1748 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 12939 "ConfigurationInterfaces.c" - } - __finally209: -#line 1745 "/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 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 12948 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_slideshow_show_title (ConfigurationFacade* self) -{ -#line 1744 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1744 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_show_title (self); -#line 12959 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_slideshow_show_title (ConfigurationFacade* self, - gboolean show_title) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, show_title, &_inner_error_); -#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 12983 "ConfigurationInterfaces.c" - goto __catch210_configuration_error; - } -#line 1756 "/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 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 12992 "ConfigurationInterfaces.c" - } - } - goto __finally210; - __catch210_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 13010 "ConfigurationInterfaces.c" - } - __finally210: -#line 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1755 "/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 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1755 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 13021 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_slideshow_show_title (ConfigurationFacade* self, - gboolean show_title) -{ -#line 1754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_show_title (self, show_title); -#line 13034 "ConfigurationInterfaces.c" -} - - -static void -g_time_local (time_t time, - struct tm* result) -{ - struct tm _result_ = {0}; - struct tm _tmp0_ = {0}; -#line 2866 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - localtime_r (&time, &_tmp0_); -#line 2866 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _result_ = _tmp0_; -#line 2867 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - *result = _result_; -#line 2867 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return; -#line 13052 "ConfigurationInterfaces.c" -} - - -static gchar* -g_time_format (struct tm *self, - const gchar* format) -{ - gchar* result = NULL; - gchar* buffer = NULL; - gchar* _tmp0_; - gint buffer_length1; - gint _buffer_size_; - gchar* _tmp1_; - gint _tmp1__length1; - gchar* _tmp2_; - gint _tmp2__length1; - gchar* _tmp3_; -#line 2874 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_return_val_if_fail (format != NULL, NULL); -#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp0_ = g_new0 (gchar, 64); -#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - buffer = _tmp0_; -#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - buffer_length1 = 64; -#line 2875 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _buffer_size_ = buffer_length1; -#line 2876 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp1_ = buffer; -#line 2876 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp1__length1 = buffer_length1; -#line 2876 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - strftime (_tmp1_, _tmp1__length1, format, &(*self)); -#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp2_ = buffer; -#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp2__length1 = buffer_length1; -#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp3_ = g_strdup ((const gchar*) _tmp2_); -#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - result = _tmp3_; -#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - buffer = (g_free (buffer), NULL); -#line 2877 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return result; -#line 13098 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_use_24_hour_time (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp10_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, &_inner_error_); -#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 13125 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 13129 "ConfigurationInterfaces.c" - goto __catch211_configuration_error; - } -#line 1767 "/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 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 13138 "ConfigurationInterfaces.c" - } -#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1767 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 13144 "ConfigurationInterfaces.c" - } - goto __finally211; - __catch211_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; - struct tm _tmp6_ = {0}; - gchar* _tmp7_; - gchar* _tmp8_; - gboolean _tmp9_; -#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_time_local ((time_t) 0, &_tmp6_); -#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_time_format (&_tmp6_, "%p"); -#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp8_ = _tmp7_; -#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp9_ = is_string_empty (_tmp8_); -#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_tmp8_); -#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp9_; -#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 13179 "ConfigurationInterfaces.c" - } - __finally211: -#line 1766 "/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 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp10_; -#line 13188 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_use_24_hour_time (ConfigurationFacade* self) -{ -#line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_use_24_hour_time (self); -#line 13199 "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_; - ConfigurationEngine* _tmp1_; -#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, use_24_hour_time, &_inner_error_); -#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 13223 "ConfigurationInterfaces.c" - goto __catch212_configuration_error; - } -#line 1779 "/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 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 13232 "ConfigurationInterfaces.c" - } - } - goto __finally212; - __catch212_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 13250 "ConfigurationInterfaces.c" - } - __finally212: -#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1778 "/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 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 13261 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_use_24_hour_time (ConfigurationFacade* self, - gboolean use_24_hour_time) -{ -#line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_use_24_hour_time (self, use_24_hour_time); -#line 13274 "ConfigurationInterfaces.c" -} - - -static gboolean -configuration_facade_real_get_use_lowercase_filenames (ConfigurationFacade* self) -{ - gboolean result = FALSE; - gboolean _tmp6_ = FALSE; - GError * _inner_error_ = NULL; - { - gboolean _tmp0_ = FALSE; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gboolean _tmp3_; -#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, &_inner_error_); -#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 13301 "ConfigurationInterfaces.c" - gboolean _tmp4_ = FALSE; -#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 13305 "ConfigurationInterfaces.c" - goto __catch213_configuration_error; - } -#line 1790 "/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 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 13314 "ConfigurationInterfaces.c" - } -#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 13320 "ConfigurationInterfaces.c" - } - goto __finally213; - __catch213_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = FALSE; -#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 13341 "ConfigurationInterfaces.c" - } - __finally213: -#line 1789 "/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 1789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1789 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 13350 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_use_lowercase_filenames (ConfigurationFacade* self) -{ -#line 1788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1788 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_use_lowercase_filenames (self); -#line 13361 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_use_lowercase_filenames (ConfigurationFacade* self, - gboolean b) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, b, &_inner_error_); -#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 13385 "ConfigurationInterfaces.c" - goto __catch214_configuration_error; - } -#line 1800 "/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 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 13394 "ConfigurationInterfaces.c" - } - } - goto __finally214; - __catch214_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1802 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 13412 "ConfigurationInterfaces.c" - } - __finally214: -#line 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1799 "/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 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1799 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 13423 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_use_lowercase_filenames (ConfigurationFacade* self, - gboolean b) -{ -#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_use_lowercase_filenames (self, b); -#line 13436 "ConfigurationInterfaces.c" -} - - -static gint -configuration_facade_real_get_video_interpreter_state_cookie (ConfigurationFacade* self) -{ - gint result = 0; - gint _tmp6_ = 0; - GError * _inner_error_ = NULL; - { - gint _tmp0_ = 0; - ConfigurationEngine* _tmp1_; - ConfigurationEngine* _tmp2_; - gint _tmp3_; -#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = configuration_facade_get_engine (self); -#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = _tmp1_; -#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, &_inner_error_); -#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp2_); -#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = _tmp3_; -#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 13463 "ConfigurationInterfaces.c" - gint _tmp4_ = 0; -#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 13467 "ConfigurationInterfaces.c" - goto __catch215_configuration_error; - } -#line 1811 "/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 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp4_; -#line 13476 "ConfigurationInterfaces.c" - } -#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp0_; -#line 1811 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 13482 "ConfigurationInterfaces.c" - } - goto __finally215; - __catch215_configuration_error: - { - GError* err = NULL; - GError* _tmp5_; -#line 1810 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1810 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1814 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = err; -#line 1814 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp5_); -#line 1816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = -1; -#line 1816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 1816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 13503 "ConfigurationInterfaces.c" - } - __finally215: -#line 1810 "/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 1810 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1810 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return _tmp6_; -#line 13512 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_video_interpreter_state_cookie (ConfigurationFacade* self) -{ -#line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_video_interpreter_state_cookie (self); -#line 13523 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_video_interpreter_state_cookie (ConfigurationFacade* self, - gint state_cookie) -{ - GError * _inner_error_ = NULL; - { - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, state_cookie, &_inner_error_); -#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 13547 "ConfigurationInterfaces.c" - goto __catch216_configuration_error; - } -#line 1822 "/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 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1822 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 13556 "ConfigurationInterfaces.c" - } - } - goto __finally216; - __catch216_configuration_error: - { - GError* err = NULL; - GError* _tmp2_; -#line 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - err = _inner_error_; -#line 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _inner_error_ = NULL; -#line 1825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = err; -#line 1825 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_on_configuration_error (self, _tmp2_); -#line 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_error_free0 (err); -#line 13574 "ConfigurationInterfaces.c" - } - __finally216: -#line 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1821 "/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 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_clear_error (&_inner_error_); -#line 1821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return; -#line 13585 "ConfigurationInterfaces.c" - } -} - - -void -configuration_facade_set_video_interpreter_state_cookie (ConfigurationFacade* self, - gint state_cookie) -{ -#line 1820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1820 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_video_interpreter_state_cookie (self, state_cookie); -#line 13598 "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_; - ConfigurationEngine* _tmp1_; - gboolean _tmp2_; -#line 1832 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (domain != NULL, FALSE); -#line 1832 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (id != NULL, FALSE); -#line 1832 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (key != NULL, FALSE); -#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_engine_get_plugin_bool (_tmp1_, domain, id, key, def); -#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp2_; -#line 1833 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 13631 "ConfigurationInterfaces.c" -} - - -gboolean -configuration_facade_get_plugin_bool (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gboolean def) -{ -#line 1832 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); -#line 1832 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_bool (self, domain, id, key, def); -#line 13646 "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_; - ConfigurationEngine* _tmp1_; -#line 1836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (domain != NULL); -#line 1836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (id != NULL); -#line 1836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (key != NULL); -#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_plugin_bool (_tmp1_, domain, id, key, val); -#line 1837 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 13673 "ConfigurationInterfaces.c" -} - - -void -configuration_facade_set_plugin_bool (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gboolean val) -{ -#line 1836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1836 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_bool (self, domain, id, key, val); -#line 13688 "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_; - ConfigurationEngine* _tmp1_; - gdouble _tmp2_; -#line 1840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (domain != NULL, 0.0); -#line 1840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (id != NULL, 0.0); -#line 1840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (key != NULL, 0.0); -#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_engine_get_plugin_double (_tmp1_, domain, id, key, def); -#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp2_; -#line 1841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 13721 "ConfigurationInterfaces.c" -} - - -gdouble -configuration_facade_get_plugin_double (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gdouble def) -{ -#line 1840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); -#line 1840 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_double (self, domain, id, key, def); -#line 13736 "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_; - ConfigurationEngine* _tmp1_; -#line 1844 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (domain != NULL); -#line 1844 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (id != NULL); -#line 1844 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (key != NULL); -#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_plugin_double (_tmp1_, domain, id, key, val); -#line 1845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 13763 "ConfigurationInterfaces.c" -} - - -void -configuration_facade_set_plugin_double (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gdouble val) -{ -#line 1844 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1844 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_double (self, domain, id, key, val); -#line 13778 "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_; - ConfigurationEngine* _tmp1_; - gint _tmp2_; -#line 1848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (domain != NULL, 0); -#line 1848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (id != NULL, 0); -#line 1848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (key != NULL, 0); -#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_engine_get_plugin_int (_tmp1_, domain, id, key, def); -#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp2_; -#line 1849 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 13811 "ConfigurationInterfaces.c" -} - - -gint -configuration_facade_get_plugin_int (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gint def) -{ -#line 1848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1848 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_int (self, domain, id, key, def); -#line 13826 "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_; - ConfigurationEngine* _tmp1_; -#line 1852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (domain != NULL); -#line 1852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (id != NULL); -#line 1852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (key != NULL); -#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_plugin_int (_tmp1_, domain, id, key, val); -#line 1853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 13853 "ConfigurationInterfaces.c" -} - - -void -configuration_facade_set_plugin_int (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key, - gint val) -{ -#line 1852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_int (self, domain, id, key, val); -#line 13868 "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_; - ConfigurationEngine* _tmp1_; - gchar* _tmp2_; - gchar* _tmp3_; - const gchar* _tmp4_ = NULL; - const gchar* _tmp5_; - gchar* _tmp7_; -#line 1856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (domain != NULL, NULL); -#line 1856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (id != NULL, NULL); -#line 1856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (key != NULL, NULL); -#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_engine_get_plugin_string (_tmp1_, domain, id, key, def); -#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp3_ = _tmp2_; -#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1857 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _result_ = _tmp3_; -#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp5_ = _result_; -#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (g_strcmp0 (_tmp5_, "") == 0) { -#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = NULL; -#line 13912 "ConfigurationInterfaces.c" - } else { - const gchar* _tmp6_; -#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp6_ = _result_; -#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp4_ = _tmp6_; -#line 13919 "ConfigurationInterfaces.c" - } -#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp7_ = g_strdup (_tmp4_); -#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp7_; -#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_free0 (_result_); -#line 1858 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 13929 "ConfigurationInterfaces.c" -} - - -gchar* -configuration_facade_get_plugin_string (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key, - const gchar* def) -{ -#line 1856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); -#line 1856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_string (self, domain, id, key, def); -#line 13944 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_plugin_string (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key, - const gchar* val) -{ - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (domain != NULL); -#line 1861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (id != NULL); -#line 1861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (key != NULL); -#line 1862 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - if (val == NULL) { -#line 1863 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - val = ""; -#line 13967 "ConfigurationInterfaces.c" - } -#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_plugin_string (_tmp1_, domain, id, key, val); -#line 1865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 13977 "ConfigurationInterfaces.c" -} - - -void -configuration_facade_set_plugin_string (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key, - const gchar* val) -{ -#line 1861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1861 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_string (self, domain, id, key, val); -#line 13992 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_unset_plugin_key (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key) -{ - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (domain != NULL); -#line 1868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (id != NULL); -#line 1868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (key != NULL); -#line 1869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_unset_plugin_key (_tmp1_, domain, id, key); -#line 1869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 14018 "ConfigurationInterfaces.c" -} - - -void -configuration_facade_unset_plugin_key (ConfigurationFacade* self, - const gchar* domain, - const gchar* id, - const gchar* key) -{ -#line 1868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1868 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->unset_plugin_key (self, domain, id, key); -#line 14032 "ConfigurationInterfaces.c" -} - - -static FuzzyPropertyState -configuration_facade_real_is_plugin_enabled (ConfigurationFacade* self, - const gchar* id) -{ - FuzzyPropertyState result = 0; - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; - FuzzyPropertyState _tmp2_; -#line 1875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (id != NULL, 0); -#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp2_ = configuration_engine_is_plugin_enabled (_tmp1_, id); -#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - result = _tmp2_; -#line 1876 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return result; -#line 14058 "ConfigurationInterfaces.c" -} - - -FuzzyPropertyState -configuration_facade_is_plugin_enabled (ConfigurationFacade* self, - const gchar* id) -{ -#line 1875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); -#line 1875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - return CONFIGURATION_FACADE_GET_CLASS (self)->is_plugin_enabled (self, id); -#line 14070 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_real_set_plugin_enabled (ConfigurationFacade* self, - const gchar* id, - gboolean enabled) -{ - ConfigurationEngine* _tmp0_; - ConfigurationEngine* _tmp1_; -#line 1879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (id != NULL); -#line 1880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp0_ = configuration_facade_get_engine (self); -#line 1880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _tmp1_ = _tmp0_; -#line 1880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_engine_set_plugin_enabled (_tmp1_, id, enabled); -#line 1880 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (_tmp1_); -#line 14091 "ConfigurationInterfaces.c" -} - - -void -configuration_facade_set_plugin_enabled (ConfigurationFacade* self, - const gchar* id, - gboolean enabled) -{ -#line 1879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_return_if_fail (IS_CONFIGURATION_FACADE (self)); -#line 1879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_enabled (self, id, enabled); -#line 14104 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_class_init (ConfigurationFacadeClass * klass) -{ -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_parent_class = g_type_class_peek_parent (klass); -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - g_type_class_add_private (klass, sizeof (ConfigurationFacadePrivate)); -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_auto_import_from_library = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_auto_import_from_library; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_auto_import_from_library = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_auto_import_from_library; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_bg_color_name = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_bg_color_name; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_bg_color_name = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_bg_color_name; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_transparent_background_type = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_transparent_background_type; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_transparent_background_type = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_transparent_background_type; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_transparent_background_color = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_transparent_background_color; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_transparent_background_color = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_transparent_background_color; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_commit_metadata_to_masters = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_commit_metadata_to_masters; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_commit_metadata_to_masters = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_commit_metadata_to_masters; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_desktop_background = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_desktop_background; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_desktop_background = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_desktop_background; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_screensaver = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_screensaver; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_screensaver = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_screensaver; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_directory_pattern = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_directory_pattern; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_directory_pattern = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_directory_pattern; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_directory_pattern_custom = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_directory_pattern_custom; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_directory_pattern_custom = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_directory_pattern_custom; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_direct_window_state = (void (*) (ConfigurationFacade *, gboolean*, Dimensions*)) configuration_facade_real_get_direct_window_state; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_direct_window_state = (void (*) (ConfigurationFacade *, gboolean, Dimensions*)) configuration_facade_real_set_direct_window_state; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_display_basic_properties = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_display_basic_properties; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_display_basic_properties = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_display_basic_properties; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_display_extended_properties = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_display_extended_properties; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_display_extended_properties = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_display_extended_properties; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_display_sidebar = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_display_sidebar; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_display_sidebar = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_display_sidebar; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_display_toolbar = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_display_toolbar; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_display_toolbar = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_display_toolbar; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_display_search_bar = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_display_search_bar; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_display_search_bar = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_display_search_bar; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_display_photo_ratings = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_display_photo_ratings; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_display_photo_ratings = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_display_photo_ratings; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_display_photo_tags = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_display_photo_tags; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_display_photo_tags = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_display_photo_tags; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_display_photo_titles = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_display_photo_titles; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_display_photo_titles = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_display_photo_titles; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_display_photo_comments = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_display_photo_comments; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_display_photo_comments = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_display_photo_comments; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_display_event_comments = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_display_event_comments; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_display_event_comments = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_display_event_comments; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_event_photos_sort = (void (*) (ConfigurationFacade *, gboolean*, gint*)) configuration_facade_real_get_event_photos_sort; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_event_photos_sort = (void (*) (ConfigurationFacade *, gboolean, gint)) configuration_facade_real_set_event_photos_sort; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_events_sort_ascending = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_events_sort_ascending; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_events_sort_ascending = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_events_sort_ascending; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_external_photo_app = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_external_photo_app; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_external_photo_app = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_external_photo_app; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_external_raw_app = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_external_raw_app; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_external_raw_app = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_external_raw_app; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_export_constraint = (ScaleConstraint (*) (ConfigurationFacade *)) configuration_facade_real_get_export_constraint; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_export_constraint = (void (*) (ConfigurationFacade *, ScaleConstraint)) configuration_facade_real_set_export_constraint; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_export_export_format_mode = (ExportFormatMode (*) (ConfigurationFacade *)) configuration_facade_real_get_export_export_format_mode; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_export_export_format_mode = (void (*) (ConfigurationFacade *, ExportFormatMode)) configuration_facade_real_set_export_export_format_mode; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_export_export_metadata = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_export_export_metadata; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_export_export_metadata = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_export_export_metadata; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_export_photo_file_format = (PhotoFileFormat (*) (ConfigurationFacade *)) configuration_facade_real_get_export_photo_file_format; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_export_photo_file_format = (void (*) (ConfigurationFacade *, PhotoFileFormat)) configuration_facade_real_set_export_photo_file_format; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_export_quality = (JpegQuality (*) (ConfigurationFacade *)) configuration_facade_real_get_export_quality; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_export_quality = (void (*) (ConfigurationFacade *, JpegQuality)) configuration_facade_real_set_export_quality; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_export_scale = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_export_scale; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_export_scale = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_export_scale; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_default_raw_developer = (RawDeveloper (*) (ConfigurationFacade *)) configuration_facade_real_get_default_raw_developer; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_default_raw_developer = (void (*) (ConfigurationFacade *, RawDeveloper)) configuration_facade_real_set_default_raw_developer; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_hide_photos_already_imported = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_hide_photos_already_imported; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_hide_photos_already_imported = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_hide_photos_already_imported; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_import_dir = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_import_dir; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_import_dir = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_import_dir; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_keep_relativity = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_keep_relativity; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_keep_relativity = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_keep_relativity; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_pin_toolbar_state = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_pin_toolbar_state; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_pin_toolbar_state = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_pin_toolbar_state; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_last_crop_height = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_last_crop_height; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_last_crop_height = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_last_crop_height; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_last_crop_menu_choice = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_last_crop_menu_choice; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_last_crop_menu_choice = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_last_crop_menu_choice; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_last_crop_width = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_last_crop_width; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_last_crop_width = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_last_crop_width; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_last_used_service = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_last_used_service; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_last_used_service = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_last_used_service; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_last_used_dataimports_service = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_last_used_dataimports_service; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_last_used_dataimports_service = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_last_used_dataimports_service; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_library_photos_sort = (void (*) (ConfigurationFacade *, gboolean*, gint*)) configuration_facade_real_get_library_photos_sort; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_library_photos_sort = (void (*) (ConfigurationFacade *, gboolean, gint)) configuration_facade_real_set_library_photos_sort; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_library_window_state = (void (*) (ConfigurationFacade *, gboolean*, Dimensions*)) configuration_facade_real_get_library_window_state; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_library_window_state = (void (*) (ConfigurationFacade *, gboolean, Dimensions*)) configuration_facade_real_set_library_window_state; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_modify_originals = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_modify_originals; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_modify_originals = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_modify_originals; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_photo_thumbnail_scale = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_photo_thumbnail_scale; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_photo_thumbnail_scale = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_photo_thumbnail_scale; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_printing_content_height = (gdouble (*) (ConfigurationFacade *)) configuration_facade_real_get_printing_content_height; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_printing_content_height = (void (*) (ConfigurationFacade *, gdouble)) configuration_facade_real_set_printing_content_height; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_printing_content_layout = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_printing_content_layout; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_printing_content_layout = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_printing_content_layout; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_printing_content_ppi = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_printing_content_ppi; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_printing_content_ppi = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_printing_content_ppi; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_printing_content_units = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_printing_content_units; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_printing_content_units = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_printing_content_units; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_printing_content_width = (gdouble (*) (ConfigurationFacade *)) configuration_facade_real_get_printing_content_width; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_printing_content_width = (void (*) (ConfigurationFacade *, gdouble)) configuration_facade_real_set_printing_content_width; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_printing_images_per_page = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_printing_images_per_page; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_printing_images_per_page = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_printing_images_per_page; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_printing_match_aspect_ratio = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_printing_match_aspect_ratio; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_printing_match_aspect_ratio = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_printing_match_aspect_ratio; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_printing_print_titles = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_printing_print_titles; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_printing_print_titles = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_printing_print_titles; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_printing_size_selection = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_printing_size_selection; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_printing_size_selection = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_printing_size_selection; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_printing_titles_font = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_printing_titles_font; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_printing_titles_font = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_printing_titles_font; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_show_welcome_dialog = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_show_welcome_dialog; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_show_welcome_dialog = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_show_welcome_dialog; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_sidebar_position = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_sidebar_position; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_sidebar_position = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_sidebar_position; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_slideshow_delay = (gdouble (*) (ConfigurationFacade *)) configuration_facade_real_get_slideshow_delay; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_slideshow_delay = (void (*) (ConfigurationFacade *, gdouble)) configuration_facade_real_set_slideshow_delay; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_slideshow_transition_delay = (gdouble (*) (ConfigurationFacade *)) configuration_facade_real_get_slideshow_transition_delay; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_slideshow_transition_delay = (void (*) (ConfigurationFacade *, gdouble)) configuration_facade_real_set_slideshow_transition_delay; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_slideshow_transition_effect_id = (gchar* (*) (ConfigurationFacade *)) configuration_facade_real_get_slideshow_transition_effect_id; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_slideshow_transition_effect_id = (void (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_set_slideshow_transition_effect_id; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_slideshow_show_title = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_slideshow_show_title; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_slideshow_show_title = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_slideshow_show_title; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_use_24_hour_time = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_use_24_hour_time; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_use_24_hour_time = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_use_24_hour_time; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_use_lowercase_filenames = (gboolean (*) (ConfigurationFacade *)) configuration_facade_real_get_use_lowercase_filenames; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_use_lowercase_filenames = (void (*) (ConfigurationFacade *, gboolean)) configuration_facade_real_set_use_lowercase_filenames; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_video_interpreter_state_cookie = (gint (*) (ConfigurationFacade *)) configuration_facade_real_get_video_interpreter_state_cookie; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_video_interpreter_state_cookie = (void (*) (ConfigurationFacade *, gint)) configuration_facade_real_set_video_interpreter_state_cookie; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_plugin_bool = (gboolean (*) (ConfigurationFacade *, const gchar*, const gchar*, const gchar*, gboolean)) configuration_facade_real_get_plugin_bool; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_plugin_bool = (void (*) (ConfigurationFacade *, const gchar*, const gchar*, const gchar*, gboolean)) configuration_facade_real_set_plugin_bool; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_plugin_double = (gdouble (*) (ConfigurationFacade *, const gchar*, const gchar*, const gchar*, gdouble)) configuration_facade_real_get_plugin_double; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_plugin_double = (void (*) (ConfigurationFacade *, const gchar*, const gchar*, const gchar*, gdouble)) configuration_facade_real_set_plugin_double; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_plugin_int = (gint (*) (ConfigurationFacade *, const gchar*, const gchar*, const gchar*, gint)) configuration_facade_real_get_plugin_int; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_plugin_int = (void (*) (ConfigurationFacade *, const gchar*, const gchar*, const gchar*, gint)) configuration_facade_real_set_plugin_int; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->get_plugin_string = (gchar* (*) (ConfigurationFacade *, const gchar*, const gchar*, const gchar*, const gchar*)) configuration_facade_real_get_plugin_string; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_plugin_string = (void (*) (ConfigurationFacade *, const gchar*, const gchar*, const gchar*, const gchar*)) configuration_facade_real_set_plugin_string; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->unset_plugin_key = (void (*) (ConfigurationFacade *, const gchar*, const gchar*, const gchar*)) configuration_facade_real_unset_plugin_key; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->is_plugin_enabled = (FuzzyPropertyState (*) (ConfigurationFacade *, const gchar*)) configuration_facade_real_is_plugin_enabled; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - ((ConfigurationFacadeClass *) klass)->set_plugin_enabled = (void (*) (ConfigurationFacade *, const gchar*, gboolean)) configuration_facade_real_set_plugin_enabled; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - G_OBJECT_CLASS (klass)->finalize = configuration_facade_finalize; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_signals[CONFIGURATION_FACADE_AUTO_IMPORT_FROM_LIBRARY_CHANGED_SIGNAL] = 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 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_signals[CONFIGURATION_FACADE_BG_COLOR_NAME_CHANGED_SIGNAL] = 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 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_signals[CONFIGURATION_FACADE_TRANSPARENT_BACKGROUND_TYPE_CHANGED_SIGNAL] = g_signal_new ("transparent-background-type-changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_signals[CONFIGURATION_FACADE_TRANSPARENT_BACKGROUND_COLOR_CHANGED_SIGNAL] = g_signal_new ("transparent-background-color-changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_signals[CONFIGURATION_FACADE_COMMIT_METADATA_TO_MASTERS_CHANGED_SIGNAL] = 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 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_signals[CONFIGURATION_FACADE_EVENTS_SORT_ASCENDING_CHANGED_SIGNAL] = 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 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_signals[CONFIGURATION_FACADE_EXTERNAL_APP_CHANGED_SIGNAL] = 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 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - configuration_facade_signals[CONFIGURATION_FACADE_IMPORT_DIRECTORY_CHANGED_SIGNAL] = 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 14407 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_instance_init (ConfigurationFacade * self) -{ -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - self->priv = CONFIGURATION_FACADE_GET_PRIVATE (self); -#line 14416 "ConfigurationInterfaces.c" -} - - -static void -configuration_facade_finalize (GObject * obj) -{ - ConfigurationFacade * self; -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CONFIGURATION_FACADE, ConfigurationFacade); -#line 354 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - _g_object_unref0 (self->priv->engine); -#line 353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" - G_OBJECT_CLASS (configuration_facade_parent_class)->finalize (obj); -#line 14430 "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 c785144..8af5a73 100644 --- a/src/config/ConfigurationInterfaces.vala +++ b/src/config/ConfigurationInterfaces.vala @@ -21,7 +21,7 @@ public enum FuzzyPropertyState { public enum ConfigurableProperty { AUTO_IMPORT_FROM_LIBRARY = 0, - BG_COLOR_NAME, + GTK_THEME_VARIANT, TRANSPARENT_BACKGROUND_TYPE, TRANSPARENT_BACKGROUND_COLOR, COMMIT_METADATA_TO_MASTERS, @@ -100,8 +100,8 @@ public enum ConfigurableProperty { case AUTO_IMPORT_FROM_LIBRARY: return "AUTO_IMPORT_FROM_LIBRARY"; - case BG_COLOR_NAME: - return "BG_COLOR_NAME"; + case GTK_THEME_VARIANT: + return "GTK_THEME_VARIANT"; case TRANSPARENT_BACKGROUND_TYPE: return "TRANSPARENT_BACKGROUND_TYPE"; @@ -376,7 +376,7 @@ public abstract class ConfigurationFacade : Object { auto_import_from_library_changed(); break; - case ConfigurableProperty.BG_COLOR_NAME: + case ConfigurableProperty.GTK_THEME_VARIANT: bg_color_name_changed(); break; @@ -449,21 +449,21 @@ public abstract class ConfigurationFacade : Object { } // - // bg color name + // GTK theme variant // - public virtual string get_bg_color_name() { + public virtual bool get_gtk_theme_variant() { try { - return get_engine().get_string_property(ConfigurableProperty.BG_COLOR_NAME); + return get_engine().get_bool_property(ConfigurableProperty.GTK_THEME_VARIANT); } catch (ConfigurationError err) { on_configuration_error(err); - return ""; + return true; } } - public virtual void set_bg_color_name(string color_name) { + public virtual void set_gtk_theme_variant(bool dark) { try { - get_engine().set_string_property(ConfigurableProperty.BG_COLOR_NAME, color_name); + get_engine().set_bool_property(ConfigurableProperty.GTK_THEME_VARIANT, dark); } catch (ConfigurationError err) { on_configuration_error(err); return; diff --git a/src/config/GSettingsEngine.c b/src/config/GSettingsEngine.c deleted file mode 100644 index 3ddaa71..0000000 --- a/src/config/GSettingsEngine.c +++ /dev/null @@ -1,5835 +0,0 @@ -/* GSettingsEngine.c generated by valac 0.40.4, 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 <glib.h> -#include <glib-object.h> -#include <stdlib.h> -#include <string.h> -#include <float.h> -#include <math.h> -#include <gio/gio.h> - - -#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; -enum { - GSETTINGS_CONFIGURATION_ENGINE_0_PROPERTY, - GSETTINGS_CONFIGURATION_ENGINE_NUM_PROPERTIES -}; -static GParamSpec* gsettings_configuration_engine_properties[GSETTINGS_CONFIGURATION_ENGINE_NUM_PROPERTIES]; -#define _g_free0(var) (var = (g_free (var), NULL)) -#define _g_settings_schema_unref0(var) ((var == NULL) ? NULL : (var = (g_settings_schema_unref (var), NULL))) -#define _g_settings_schema_source_unref0(var) ((var == NULL) ? NULL : (var = (g_settings_schema_source_unref (var), NULL))) -#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (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_TRANSPARENT_BACKGROUND_TYPE, - CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR, - 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_EXPORT_CONSTRAINT, - CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, - CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, - CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, - CONFIGURABLE_PROPERTY_EXPORT_QUALITY, - CONFIGURABLE_PROPERTY_EXPORT_SCALE, - 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); - gint (*get_enum_property) (ConfigurationEngine* self, ConfigurableProperty p, GError** error); - void (*set_enum_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 { - 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)) -#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_EXPORT_PREFS_SCHEMA_NAME GSETTINGS_CONFIGURATION_ENGINE_PREFS_SCHEMA_NAME ".export" -#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 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 void gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - gint value, - GError** error); -static gint gsettings_configuration_engine_get_gs_enum (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - 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_enum_property (ConfigurationEngine* base, - ConfigurableProperty p, - GError** error); -static void gsettings_configuration_engine_real_set_enum_property (ConfigurationEngine* base, - ConfigurableProperty p, - gint val, - GError** error); -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); - - -GSettingsConfigurationEngine* -gsettings_configuration_engine_construct (GType object_type) -{ - GSettingsConfigurationEngine * self = NULL; - gchar** _tmp0_; - gchar** _tmp1_; - gint _tmp1__length1; - gchar* _tmp2_; - gchar* _tmp3_; - gchar** _tmp4_; - gint _tmp4__length1; - gchar* _tmp5_; - gchar* _tmp6_; - gchar** _tmp7_; - gint _tmp7__length1; - gchar* _tmp8_; - gchar* _tmp9_; - gchar** _tmp10_; - gint _tmp10__length1; - gchar* _tmp11_; - gchar* _tmp12_; - gchar** _tmp13_; - gint _tmp13__length1; - gchar* _tmp14_; - gchar* _tmp15_; - gchar** _tmp16_; - gint _tmp16__length1; - gchar* _tmp17_; - gchar* _tmp18_; - gchar** _tmp19_; - gint _tmp19__length1; - gchar* _tmp20_; - gchar* _tmp21_; - gchar** _tmp22_; - gint _tmp22__length1; - gchar* _tmp23_; - gchar* _tmp24_; - gchar** _tmp25_; - gint _tmp25__length1; - gchar* _tmp26_; - gchar* _tmp27_; - gchar** _tmp28_; - gint _tmp28__length1; - gchar* _tmp29_; - gchar* _tmp30_; - gchar** _tmp31_; - gint _tmp31__length1; - gchar* _tmp32_; - gchar* _tmp33_; - gchar** _tmp34_; - gint _tmp34__length1; - gchar* _tmp35_; - gchar* _tmp36_; - gchar** _tmp37_; - gint _tmp37__length1; - gchar* _tmp38_; - gchar* _tmp39_; - gchar** _tmp40_; - gint _tmp40__length1; - gchar* _tmp41_; - gchar* _tmp42_; - gchar** _tmp43_; - gint _tmp43__length1; - gchar* _tmp44_; - gchar* _tmp45_; - gchar** _tmp46_; - gint _tmp46__length1; - gchar* _tmp47_; - gchar* _tmp48_; - gchar** _tmp49_; - gint _tmp49__length1; - gchar* _tmp50_; - gchar* _tmp51_; - gchar** _tmp52_; - gint _tmp52__length1; - gchar* _tmp53_; - gchar* _tmp54_; - gchar** _tmp55_; - gint _tmp55__length1; - gchar* _tmp56_; - gchar* _tmp57_; - gchar** _tmp58_; - gint _tmp58__length1; - gchar* _tmp59_; - gchar* _tmp60_; - gchar** _tmp61_; - gint _tmp61__length1; - gchar* _tmp62_; - gchar* _tmp63_; - gchar** _tmp64_; - gint _tmp64__length1; - gchar* _tmp65_; - gchar* _tmp66_; - gchar** _tmp67_; - gint _tmp67__length1; - gchar* _tmp68_; - gchar* _tmp69_; - gchar** _tmp70_; - gint _tmp70__length1; - gchar* _tmp71_; - gchar* _tmp72_; - gchar** _tmp73_; - gint _tmp73__length1; - gchar* _tmp74_; - gchar* _tmp75_; - gchar** _tmp76_; - gint _tmp76__length1; - gchar* _tmp77_; - gchar* _tmp78_; - gchar** _tmp79_; - gint _tmp79__length1; - gchar* _tmp80_; - gchar* _tmp81_; - gchar** _tmp82_; - gint _tmp82__length1; - gchar* _tmp83_; - gchar* _tmp84_; - gchar** _tmp85_; - gint _tmp85__length1; - gchar* _tmp86_; - gchar* _tmp87_; - gchar** _tmp88_; - gint _tmp88__length1; - gchar* _tmp89_; - gchar* _tmp90_; - gchar** _tmp91_; - gint _tmp91__length1; - gchar* _tmp92_; - gchar* _tmp93_; - gchar** _tmp94_; - gint _tmp94__length1; - gchar* _tmp95_; - gchar* _tmp96_; - gchar** _tmp97_; - gint _tmp97__length1; - gchar* _tmp98_; - gchar* _tmp99_; - gchar** _tmp100_; - gint _tmp100__length1; - gchar* _tmp101_; - gchar* _tmp102_; - gchar** _tmp103_; - gint _tmp103__length1; - gchar* _tmp104_; - gchar* _tmp105_; - gchar** _tmp106_; - gint _tmp106__length1; - gchar* _tmp107_; - gchar* _tmp108_; - gchar** _tmp109_; - gint _tmp109__length1; - gchar* _tmp110_; - gchar* _tmp111_; - gchar** _tmp112_; - gint _tmp112__length1; - gchar* _tmp113_; - gchar* _tmp114_; - gchar** _tmp115_; - gint _tmp115__length1; - gchar* _tmp116_; - gchar* _tmp117_; - gchar** _tmp118_; - gint _tmp118__length1; - gchar* _tmp119_; - gchar* _tmp120_; - gchar** _tmp121_; - gint _tmp121__length1; - gchar* _tmp122_; - gchar* _tmp123_; - gchar** _tmp124_; - gint _tmp124__length1; - gchar* _tmp125_; - gchar* _tmp126_; - gchar** _tmp127_; - gint _tmp127__length1; - gchar* _tmp128_; - gchar* _tmp129_; - gchar** _tmp130_; - gint _tmp130__length1; - gchar* _tmp131_; - gchar* _tmp132_; - gchar** _tmp133_; - gint _tmp133__length1; - gchar* _tmp134_; - gchar* _tmp135_; - gchar** _tmp136_; - gint _tmp136__length1; - gchar* _tmp137_; - gchar* _tmp138_; - gchar** _tmp139_; - gint _tmp139__length1; - gchar* _tmp140_; - gchar* _tmp141_; - gchar** _tmp142_; - gint _tmp142__length1; - gchar* _tmp143_; - gchar* _tmp144_; - gchar** _tmp145_; - gint _tmp145__length1; - gchar* _tmp146_; - gchar* _tmp147_; - gchar** _tmp148_; - gint _tmp148__length1; - gchar* _tmp149_; - gchar* _tmp150_; - gchar** _tmp151_; - gint _tmp151__length1; - gchar* _tmp152_; - gchar* _tmp153_; - gchar** _tmp154_; - gint _tmp154__length1; - gchar* _tmp155_; - gchar* _tmp156_; - gchar** _tmp157_; - gint _tmp157__length1; - gchar* _tmp158_; - gchar* _tmp159_; - gchar** _tmp160_; - gint _tmp160__length1; - gchar* _tmp161_; - gchar* _tmp162_; - gchar** _tmp163_; - gint _tmp163__length1; - gchar* _tmp164_; - gchar* _tmp165_; - gchar** _tmp166_; - gint _tmp166__length1; - gchar* _tmp167_; - gchar* _tmp168_; - gchar** _tmp169_; - gint _tmp169__length1; - gchar* _tmp170_; - gchar* _tmp171_; - gchar** _tmp172_; - gint _tmp172__length1; - gchar* _tmp173_; - gchar* _tmp174_; - gchar** _tmp175_; - gint _tmp175__length1; - gchar* _tmp176_; - gchar* _tmp177_; - gchar** _tmp178_; - gint _tmp178__length1; - gchar* _tmp179_; - gchar* _tmp180_; - gchar** _tmp181_; - gint _tmp181__length1; - gchar* _tmp182_; - gchar* _tmp183_; - gchar** _tmp184_; - gint _tmp184__length1; - gchar* _tmp185_; - gchar* _tmp186_; - gchar** _tmp187_; - gint _tmp187__length1; - gchar* _tmp188_; - gchar* _tmp189_; - gchar** _tmp190_; - gint _tmp190__length1; - gchar* _tmp191_; - gchar* _tmp192_; - gchar** _tmp193_; - gint _tmp193__length1; - gchar* _tmp194_; - gchar* _tmp195_; - gchar** _tmp196_; - gint _tmp196__length1; - gchar* _tmp197_; - gchar* _tmp198_; - gchar** _tmp199_; - gint _tmp199__length1; - gchar* _tmp200_; - gchar* _tmp201_; - gchar** _tmp202_; - gint _tmp202__length1; - gchar* _tmp203_; - gchar* _tmp204_; - gchar** _tmp205_; - gint _tmp205__length1; - gchar* _tmp206_; - gchar* _tmp207_; - gchar** _tmp208_; - gint _tmp208__length1; - gchar* _tmp209_; - gchar* _tmp210_; - gchar** _tmp211_; - gint _tmp211__length1; - gchar* _tmp212_; - gchar* _tmp213_; - gchar** _tmp214_; - gchar** _tmp215_; - gint _tmp215__length1; - gchar* _tmp216_; - gchar* _tmp217_; - gchar** _tmp218_; - gint _tmp218__length1; - gchar* _tmp219_; - gchar* _tmp220_; - gchar** _tmp221_; - gint _tmp221__length1; - gchar* _tmp222_; - gchar* _tmp223_; - gchar** _tmp224_; - gint _tmp224__length1; - gchar* _tmp225_; - gchar* _tmp226_; - gchar** _tmp227_; - gint _tmp227__length1; - gchar* _tmp228_; - gchar* _tmp229_; - gchar** _tmp230_; - gint _tmp230__length1; - gchar* _tmp231_; - gchar* _tmp232_; - gchar** _tmp233_; - gint _tmp233__length1; - gchar* _tmp234_; - gchar* _tmp235_; - gchar** _tmp236_; - gint _tmp236__length1; - gchar* _tmp237_; - gchar* _tmp238_; - gchar** _tmp239_; - gint _tmp239__length1; - gchar* _tmp240_; - gchar* _tmp241_; - gchar** _tmp242_; - gint _tmp242__length1; - gchar* _tmp243_; - gchar* _tmp244_; - gchar** _tmp245_; - gint _tmp245__length1; - gchar* _tmp246_; - gchar* _tmp247_; - gchar** _tmp248_; - gint _tmp248__length1; - gchar* _tmp249_; - gchar* _tmp250_; - gchar** _tmp251_; - gint _tmp251__length1; - gchar* _tmp252_; - gchar* _tmp253_; - gchar** _tmp254_; - gint _tmp254__length1; - gchar* _tmp255_; - gchar* _tmp256_; - gchar** _tmp257_; - gint _tmp257__length1; - gchar* _tmp258_; - gchar* _tmp259_; - gchar** _tmp260_; - gint _tmp260__length1; - gchar* _tmp261_; - gchar* _tmp262_; - gchar** _tmp263_; - gint _tmp263__length1; - gchar* _tmp264_; - gchar* _tmp265_; - gchar** _tmp266_; - gint _tmp266__length1; - gchar* _tmp267_; - gchar* _tmp268_; - gchar** _tmp269_; - gint _tmp269__length1; - gchar* _tmp270_; - gchar* _tmp271_; - gchar** _tmp272_; - gint _tmp272__length1; - gchar* _tmp273_; - gchar* _tmp274_; - gchar** _tmp275_; - gint _tmp275__length1; - gchar* _tmp276_; - gchar* _tmp277_; - gchar** _tmp278_; - gint _tmp278__length1; - gchar* _tmp279_; - gchar* _tmp280_; - gchar** _tmp281_; - gint _tmp281__length1; - gchar* _tmp282_; - gchar* _tmp283_; - gchar** _tmp284_; - gint _tmp284__length1; - gchar* _tmp285_; - gchar* _tmp286_; - gchar** _tmp287_; - gint _tmp287__length1; - gchar* _tmp288_; - gchar* _tmp289_; - gchar** _tmp290_; - gint _tmp290__length1; - gchar* _tmp291_; - gchar* _tmp292_; - gchar** _tmp293_; - gint _tmp293__length1; - gchar* _tmp294_; - gchar* _tmp295_; - gchar** _tmp296_; - gint _tmp296__length1; - gchar* _tmp297_; - gchar* _tmp298_; - gchar** _tmp299_; - gint _tmp299__length1; - gchar* _tmp300_; - gchar* _tmp301_; - gchar** _tmp302_; - gint _tmp302__length1; - gchar* _tmp303_; - gchar* _tmp304_; - gchar** _tmp305_; - gint _tmp305__length1; - gchar* _tmp306_; - gchar* _tmp307_; - gchar** _tmp308_; - gint _tmp308__length1; - gchar* _tmp309_; - gchar* _tmp310_; - gchar** _tmp311_; - gint _tmp311__length1; - gchar* _tmp312_; - gchar* _tmp313_; - gchar** _tmp314_; - gint _tmp314__length1; - gchar* _tmp315_; - gchar* _tmp316_; - gchar** _tmp317_; - gint _tmp317__length1; - gchar* _tmp318_; - gchar* _tmp319_; - gchar** _tmp320_; - gint _tmp320__length1; - gchar* _tmp321_; - gchar* _tmp322_; - gchar** _tmp323_; - gint _tmp323__length1; - gchar* _tmp324_; - gchar* _tmp325_; - gchar** _tmp326_; - gint _tmp326__length1; - gchar* _tmp327_; - gchar* _tmp328_; - gchar** _tmp329_; - gint _tmp329__length1; - gchar* _tmp330_; - gchar* _tmp331_; - gchar** _tmp332_; - gint _tmp332__length1; - gchar* _tmp333_; - gchar* _tmp334_; - gchar** _tmp335_; - gint _tmp335__length1; - gchar* _tmp336_; - gchar* _tmp337_; - gchar** _tmp338_; - gint _tmp338__length1; - gchar* _tmp339_; - gchar* _tmp340_; - gchar** _tmp341_; - gint _tmp341__length1; - gchar* _tmp342_; - gchar* _tmp343_; - gchar** _tmp344_; - gint _tmp344__length1; - gchar* _tmp345_; - gchar* _tmp346_; - gchar** _tmp347_; - gint _tmp347__length1; - gchar* _tmp348_; - gchar* _tmp349_; - gchar** _tmp350_; - gint _tmp350__length1; - gchar* _tmp351_; - gchar* _tmp352_; - gchar** _tmp353_; - gint _tmp353__length1; - gchar* _tmp354_; - gchar* _tmp355_; - gchar** _tmp356_; - gint _tmp356__length1; - gchar* _tmp357_; - gchar* _tmp358_; - gchar** _tmp359_; - gint _tmp359__length1; - gchar* _tmp360_; - gchar* _tmp361_; - gchar** _tmp362_; - gint _tmp362__length1; - gchar* _tmp363_; - gchar* _tmp364_; - gchar** _tmp365_; - gint _tmp365__length1; - gchar* _tmp366_; - gchar* _tmp367_; - gchar** _tmp368_; - gint _tmp368__length1; - gchar* _tmp369_; - gchar* _tmp370_; - gchar** _tmp371_; - gint _tmp371__length1; - gchar* _tmp372_; - gchar* _tmp373_; - gchar** _tmp374_; - gint _tmp374__length1; - gchar* _tmp375_; - gchar* _tmp376_; - gchar** _tmp377_; - gint _tmp377__length1; - gchar* _tmp378_; - gchar* _tmp379_; - gchar** _tmp380_; - gint _tmp380__length1; - gchar* _tmp381_; - gchar* _tmp382_; - gchar** _tmp383_; - gint _tmp383__length1; - gchar* _tmp384_; - gchar* _tmp385_; - gchar** _tmp386_; - gint _tmp386__length1; - gchar* _tmp387_; - gchar* _tmp388_; - gchar** _tmp389_; - gint _tmp389__length1; - gchar* _tmp390_; - gchar* _tmp391_; - gchar** _tmp392_; - gint _tmp392__length1; - gchar* _tmp393_; - gchar* _tmp394_; - gchar** _tmp395_; - gint _tmp395__length1; - gchar* _tmp396_; - gchar* _tmp397_; - gchar** _tmp398_; - gint _tmp398__length1; - gchar* _tmp399_; - gchar* _tmp400_; - gchar** _tmp401_; - gint _tmp401__length1; - gchar* _tmp402_; - gchar* _tmp403_; - gchar** _tmp404_; - gint _tmp404__length1; - gchar* _tmp405_; - gchar* _tmp406_; - gchar** _tmp407_; - gint _tmp407__length1; - gchar* _tmp408_; - gchar* _tmp409_; - gchar** _tmp410_; - gint _tmp410__length1; - gchar* _tmp411_; - gchar* _tmp412_; - gchar** _tmp413_; - gint _tmp413__length1; - gchar* _tmp414_; - gchar* _tmp415_; - gchar** _tmp416_; - gint _tmp416__length1; - gchar* _tmp417_; - gchar* _tmp418_; - gchar** _tmp419_; - gint _tmp419__length1; - gchar* _tmp420_; - gchar* _tmp421_; - gchar** _tmp422_; - gint _tmp422__length1; - gchar* _tmp423_; - gchar* _tmp424_; - gchar** _tmp425_; - gint _tmp425__length1; - gchar* _tmp426_; - gchar* _tmp427_; -#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_ = g_new0 (gchar*, CONFIGURABLE_PROPERTY_NUM_PROPERTIES + 1); -#line 30 "/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 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->schema_names = _tmp0_; -#line 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->schema_names_length1 = CONFIGURABLE_PROPERTY_NUM_PROPERTIES; -#line 30 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->_schema_names_size_ = self->priv->schema_names_length1; -#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = self->priv->schema_names; -#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1__length1 = self->priv->schema_names_length1; -#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); -#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp1_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]); -#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY] = _tmp2_; -#line 32 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp1_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]; -#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = self->priv->schema_names; -#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4__length1 = self->priv->schema_names_length1; -#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp4_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]); -#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME] = _tmp5_; -#line 33 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = _tmp4_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]; -#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_ = self->priv->schema_names; -#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7__length1 = self->priv->schema_names_length1; -#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp8_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp7_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE]); -#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE] = _tmp8_; -#line 34 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp9_ = _tmp7_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE]; -#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp10_ = self->priv->schema_names; -#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp10__length1 = self->priv->schema_names_length1; -#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp11_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp10_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR]); -#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp10_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR] = _tmp11_; -#line 35 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp12_ = _tmp10_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR]; -#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp13_ = self->priv->schema_names; -#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp13__length1 = self->priv->schema_names_length1; -#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp14_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); -#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp13_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]); -#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp13_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS] = _tmp14_; -#line 36 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp15_ = _tmp13_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]; -#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp16_ = self->priv->schema_names; -#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp16__length1 = self->priv->schema_names_length1; -#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp17_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_DESKTOP_SCHEMA_NAME); -#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp16_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]); -#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp16_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE] = _tmp17_; -#line 37 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp18_ = _tmp16_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]; -#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp19_ = self->priv->schema_names; -#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp19__length1 = self->priv->schema_names_length1; -#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp20_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_DESKTOP_SCHEMA_NAME); -#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp19_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]); -#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp19_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE] = _tmp20_; -#line 38 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp21_ = _tmp19_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]; -#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp22_ = self->priv->schema_names; -#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp22__length1 = self->priv->schema_names_length1; -#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp23_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_SCREENSAVER_SCHEMA_NAME); -#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp22_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]); -#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp22_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE] = _tmp23_; -#line 39 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp24_ = _tmp22_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]; -#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp25_ = self->priv->schema_names; -#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp25__length1 = self->priv->schema_names_length1; -#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp26_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SYSTEM_SCREENSAVER_SCHEMA_NAME); -#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp25_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]); -#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp25_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE] = _tmp26_; -#line 40 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp27_ = _tmp25_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]; -#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp28_ = self->priv->schema_names; -#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp28__length1 = self->priv->schema_names_length1; -#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp29_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); -#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp28_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]); -#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp28_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN] = _tmp29_; -#line 41 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp30_ = _tmp28_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]; -#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp31_ = self->priv->schema_names; -#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp31__length1 = self->priv->schema_names_length1; -#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp32_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); -#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp31_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]); -#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp31_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM] = _tmp32_; -#line 42 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp33_ = _tmp31_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]; -#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp34_ = self->priv->schema_names; -#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp34__length1 = self->priv->schema_names_length1; -#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp35_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); -#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]); -#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT] = _tmp35_; -#line 43 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp36_ = _tmp34_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]; -#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp37_ = self->priv->schema_names; -#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp37__length1 = self->priv->schema_names_length1; -#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp38_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); -#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp37_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]); -#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp37_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE] = _tmp38_; -#line 44 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp39_ = _tmp37_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]; -#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp40_ = self->priv->schema_names; -#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp40__length1 = self->priv->schema_names_length1; -#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp41_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); -#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp40_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]); -#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp40_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH] = _tmp41_; -#line 45 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp42_ = _tmp40_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]; -#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp43_ = self->priv->schema_names; -#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp43__length1 = self->priv->schema_names_length1; -#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp44_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]); -#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES] = _tmp44_; -#line 46 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp45_ = _tmp43_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]; -#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp46_ = self->priv->schema_names; -#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp46__length1 = self->priv->schema_names_length1; -#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp47_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]); -#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES] = _tmp47_; -#line 47 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp48_ = _tmp46_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]; -#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp49_ = self->priv->schema_names; -#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp49__length1 = self->priv->schema_names_length1; -#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp50_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]); -#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR] = _tmp50_; -#line 48 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp51_ = _tmp49_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]; -#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp52_ = self->priv->schema_names; -#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp52__length1 = self->priv->schema_names_length1; -#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp53_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]); -#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR] = _tmp53_; -#line 49 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp54_ = _tmp52_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]; -#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp55_ = self->priv->schema_names; -#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp55__length1 = self->priv->schema_names_length1; -#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp56_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]); -#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR] = _tmp56_; -#line 50 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp57_ = _tmp55_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]; -#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp58_ = self->priv->schema_names; -#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp58__length1 = self->priv->schema_names_length1; -#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp59_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]); -#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS] = _tmp59_; -#line 51 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp60_ = _tmp58_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]; -#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp61_ = self->priv->schema_names; -#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp61__length1 = self->priv->schema_names_length1; -#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp62_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]); -#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS] = _tmp62_; -#line 52 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp63_ = _tmp61_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]; -#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp64_ = self->priv->schema_names; -#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp64__length1 = self->priv->schema_names_length1; -#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp65_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]); -#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES] = _tmp65_; -#line 53 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp66_ = _tmp64_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]; -#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp67_ = self->priv->schema_names; -#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp67__length1 = self->priv->schema_names_length1; -#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp68_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp67_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]); -#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp67_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS] = _tmp68_; -#line 54 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp69_ = _tmp67_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]; -#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp70_ = self->priv->schema_names; -#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp70__length1 = self->priv->schema_names_length1; -#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp71_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp70_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]); -#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp70_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS] = _tmp71_; -#line 55 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp72_ = _tmp70_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]; -#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp73_ = self->priv->schema_names; -#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp73__length1 = self->priv->schema_names_length1; -#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp74_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp73_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]); -#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp73_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING] = _tmp74_; -#line 56 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp75_ = _tmp73_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]; -#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp76_ = self->priv->schema_names; -#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp76__length1 = self->priv->schema_names_length1; -#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp77_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp76_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]); -#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp76_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY] = _tmp77_; -#line 57 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp78_ = _tmp76_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]; -#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp79_ = self->priv->schema_names; -#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp79__length1 = self->priv->schema_names_length1; -#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp80_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp79_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]); -#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp79_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING] = _tmp80_; -#line 58 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp81_ = _tmp79_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]; -#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp82_ = self->priv->schema_names; -#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp82__length1 = self->priv->schema_names_length1; -#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp83_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); -#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp82_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT]); -#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp82_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT] = _tmp83_; -#line 59 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp84_ = _tmp82_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT]; -#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp85_ = self->priv->schema_names; -#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp85__length1 = self->priv->schema_names_length1; -#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp86_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); -#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp85_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE]); -#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp85_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE] = _tmp86_; -#line 60 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp87_ = _tmp85_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE]; -#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp88_ = self->priv->schema_names; -#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp88__length1 = self->priv->schema_names_length1; -#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp89_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); -#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp88_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA]); -#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp88_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA] = _tmp89_; -#line 61 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp90_ = _tmp88_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA]; -#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp91_ = self->priv->schema_names; -#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp91__length1 = self->priv->schema_names_length1; -#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp92_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); -#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp91_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT]); -#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp91_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT] = _tmp92_; -#line 62 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp93_ = _tmp91_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT]; -#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp94_ = self->priv->schema_names; -#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp94__length1 = self->priv->schema_names_length1; -#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp95_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); -#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp94_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY]); -#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp94_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY] = _tmp95_; -#line 63 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp96_ = _tmp94_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY]; -#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp97_ = self->priv->schema_names; -#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp97__length1 = self->priv->schema_names_length1; -#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp98_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EXPORT_PREFS_SCHEMA_NAME); -#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp97_[CONFIGURABLE_PROPERTY_EXPORT_SCALE]); -#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp97_[CONFIGURABLE_PROPERTY_EXPORT_SCALE] = _tmp98_; -#line 64 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp99_ = _tmp97_[CONFIGURABLE_PROPERTY_EXPORT_SCALE]; -#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp100_ = self->priv->schema_names; -#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp100__length1 = self->priv->schema_names_length1; -#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp101_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EDITING_PREFS_SCHEMA_NAME); -#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp100_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]); -#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp100_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP] = _tmp101_; -#line 65 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp102_ = _tmp100_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]; -#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp103_ = self->priv->schema_names; -#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp103__length1 = self->priv->schema_names_length1; -#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp104_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_EDITING_PREFS_SCHEMA_NAME); -#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp103_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]); -#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp103_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP] = _tmp104_; -#line 66 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp105_ = _tmp103_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]; -#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp106_ = self->priv->schema_names; -#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp106__length1 = self->priv->schema_names_length1; -#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp107_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp106_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]); -#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp106_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED] = _tmp107_; -#line 67 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp108_ = _tmp106_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]; -#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp109_ = self->priv->schema_names; -#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp109__length1 = self->priv->schema_names_length1; -#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp110_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); -#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp109_[CONFIGURABLE_PROPERTY_IMPORT_DIR]); -#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp109_[CONFIGURABLE_PROPERTY_IMPORT_DIR] = _tmp110_; -#line 68 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp111_ = _tmp109_[CONFIGURABLE_PROPERTY_IMPORT_DIR]; -#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp112_ = self->priv->schema_names; -#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp112__length1 = self->priv->schema_names_length1; -#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp113_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp112_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]); -#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp112_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY] = _tmp113_; -#line 69 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp114_ = _tmp112_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]; -#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp115_ = self->priv->schema_names; -#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp115__length1 = self->priv->schema_names_length1; -#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp116_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); -#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp115_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]); -#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp115_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT] = _tmp116_; -#line 70 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp117_ = _tmp115_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]; -#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp118_ = self->priv->schema_names; -#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp118__length1 = self->priv->schema_names_length1; -#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp119_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); -#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp118_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]); -#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp118_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE] = _tmp119_; -#line 71 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp120_ = _tmp118_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]; -#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp121_ = self->priv->schema_names; -#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp121__length1 = self->priv->schema_names_length1; -#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp122_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_CROP_SCHEMA_NAME); -#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp121_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]); -#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp121_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH] = _tmp122_; -#line 72 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp123_ = _tmp121_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]; -#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp124_ = self->priv->schema_names; -#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp124__length1 = self->priv->schema_names_length1; -#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp125_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SHARING_SCHEMA_NAME); -#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp124_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]); -#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp124_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE] = _tmp125_; -#line 73 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp126_ = _tmp124_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]; -#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp127_ = self->priv->schema_names; -#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp127__length1 = self->priv->schema_names_length1; -#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp128_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_IMPORTING_SCHEMA_NAME); -#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp127_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]); -#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp127_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE] = _tmp128_; -#line 74 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp129_ = _tmp127_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]; -#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp130_ = self->priv->schema_names; -#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp130__length1 = self->priv->schema_names_length1; -#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp131_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp130_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]); -#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp130_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING] = _tmp131_; -#line 75 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp132_ = _tmp130_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]; -#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp133_ = self->priv->schema_names; -#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp133__length1 = self->priv->schema_names_length1; -#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp134_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp133_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]); -#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp133_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY] = _tmp134_; -#line 76 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp135_ = _tmp133_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]; -#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp136_ = self->priv->schema_names; -#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp136__length1 = self->priv->schema_names_length1; -#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp137_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); -#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp136_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]); -#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp136_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT] = _tmp137_; -#line 77 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp138_ = _tmp136_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]; -#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp139_ = self->priv->schema_names; -#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp139__length1 = self->priv->schema_names_length1; -#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp140_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); -#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp139_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]); -#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp139_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE] = _tmp140_; -#line 78 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp141_ = _tmp139_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]; -#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp142_ = self->priv->schema_names; -#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp142__length1 = self->priv->schema_names_length1; -#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp143_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_WINDOW_PREFS_SCHEMA_NAME); -#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp142_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]); -#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp142_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH] = _tmp143_; -#line 79 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp144_ = _tmp142_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]; -#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp145_ = self->priv->schema_names; -#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp145__length1 = self->priv->schema_names_length1; -#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp146_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp145_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]); -#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp145_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS] = _tmp146_; -#line 80 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp147_ = _tmp145_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]; -#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp148_ = self->priv->schema_names; -#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp148__length1 = self->priv->schema_names_length1; -#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp149_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp148_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]); -#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp148_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE] = _tmp149_; -#line 81 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp150_ = _tmp148_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]; -#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp151_ = self->priv->schema_names; -#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp151__length1 = self->priv->schema_names_length1; -#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp152_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp151_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]); -#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp151_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE] = _tmp152_; -#line 82 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp153_ = _tmp151_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]; -#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp154_ = self->priv->schema_names; -#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp154__length1 = self->priv->schema_names_length1; -#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp155_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); -#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp154_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]); -#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp154_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT] = _tmp155_; -#line 83 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp156_ = _tmp154_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]; -#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp157_ = self->priv->schema_names; -#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp157__length1 = self->priv->schema_names_length1; -#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp158_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); -#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp157_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]); -#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp157_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT] = _tmp158_; -#line 84 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp159_ = _tmp157_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]; -#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp160_ = self->priv->schema_names; -#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp160__length1 = self->priv->schema_names_length1; -#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp161_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); -#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp160_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]); -#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp160_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI] = _tmp161_; -#line 85 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp162_ = _tmp160_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]; -#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp163_ = self->priv->schema_names; -#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp163__length1 = self->priv->schema_names_length1; -#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp164_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); -#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp163_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]); -#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp163_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS] = _tmp164_; -#line 86 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp165_ = _tmp163_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]; -#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp166_ = self->priv->schema_names; -#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp166__length1 = self->priv->schema_names_length1; -#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp167_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); -#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp166_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]); -#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp166_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH] = _tmp167_; -#line 87 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp168_ = _tmp166_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]; -#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp169_ = self->priv->schema_names; -#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp169__length1 = self->priv->schema_names_length1; -#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp170_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); -#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp169_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]); -#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp169_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE] = _tmp170_; -#line 88 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp171_ = _tmp169_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]; -#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp172_ = self->priv->schema_names; -#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp172__length1 = self->priv->schema_names_length1; -#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp173_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); -#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp172_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]); -#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp172_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO] = _tmp173_; -#line 89 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp174_ = _tmp172_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]; -#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp175_ = self->priv->schema_names; -#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp175__length1 = self->priv->schema_names_length1; -#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp176_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); -#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp175_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]); -#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp175_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES] = _tmp176_; -#line 90 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp177_ = _tmp175_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]; -#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp178_ = self->priv->schema_names; -#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp178__length1 = self->priv->schema_names_length1; -#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp179_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); -#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp178_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]); -#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp178_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION] = _tmp179_; -#line 91 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp180_ = _tmp178_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]; -#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp181_ = self->priv->schema_names; -#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp181__length1 = self->priv->schema_names_length1; -#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp182_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_PRINTING_SCHEMA_NAME); -#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp181_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]); -#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp181_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT] = _tmp182_; -#line 92 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp183_ = _tmp181_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]; -#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp184_ = self->priv->schema_names; -#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp184__length1 = self->priv->schema_names_length1; -#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp185_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); -#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp184_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]); -#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp184_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT] = _tmp185_; -#line 93 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp186_ = _tmp184_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]; -#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp187_ = self->priv->schema_names; -#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp187__length1 = self->priv->schema_names_length1; -#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp188_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp187_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]); -#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp187_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG] = _tmp188_; -#line 94 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp189_ = _tmp187_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]; -#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp190_ = self->priv->schema_names; -#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp190__length1 = self->priv->schema_names_length1; -#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp191_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp190_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]); -#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp190_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION] = _tmp191_; -#line 95 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp192_ = _tmp190_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]; -#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp193_ = self->priv->schema_names; -#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp193__length1 = self->priv->schema_names_length1; -#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp194_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); -#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp193_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]); -#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp193_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY] = _tmp194_; -#line 96 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp195_ = _tmp193_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]; -#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp196_ = self->priv->schema_names; -#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp196__length1 = self->priv->schema_names_length1; -#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp197_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); -#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp196_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]); -#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp196_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY] = _tmp197_; -#line 97 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp198_ = _tmp196_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]; -#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp199_ = self->priv->schema_names; -#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp199__length1 = self->priv->schema_names_length1; -#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp200_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); -#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp199_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]); -#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp199_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID] = _tmp200_; -#line 98 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp201_ = _tmp199_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]; -#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp202_ = self->priv->schema_names; -#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp202__length1 = self->priv->schema_names_length1; -#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp203_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_SLIDESHOW_PREFS_SCHEMA_NAME); -#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp202_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]); -#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp202_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE] = _tmp203_; -#line 99 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp204_ = _tmp202_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]; -#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp205_ = self->priv->schema_names; -#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp205__length1 = self->priv->schema_names_length1; -#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp206_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_UI_PREFS_SCHEMA_NAME); -#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp205_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]); -#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp205_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME] = _tmp206_; -#line 100 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp207_ = _tmp205_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]; -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp208_ = self->priv->schema_names; -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp208__length1 = self->priv->schema_names_length1; -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp209_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_FILES_PREFS_SCHEMA_NAME); -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp208_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]); -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp208_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES] = _tmp209_; -#line 101 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp210_ = _tmp208_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]; -#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp211_ = self->priv->schema_names; -#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp211__length1 = self->priv->schema_names_length1; -#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp212_ = g_strdup (GSETTINGS_CONFIGURATION_ENGINE_VIDEO_SCHEMA_NAME); -#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp211_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]); -#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp211_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE] = _tmp212_; -#line 102 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp213_ = _tmp211_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]; -#line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp214_ = g_new0 (gchar*, CONFIGURABLE_PROPERTY_NUM_PROPERTIES + 1); -#line 104 "/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 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->key_names = _tmp214_; -#line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->key_names_length1 = CONFIGURABLE_PROPERTY_NUM_PROPERTIES; -#line 104 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self->priv->_key_names_size_ = self->priv->key_names_length1; -#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp215_ = self->priv->key_names; -#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp215__length1 = self->priv->key_names_length1; -#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp216_ = g_strdup ("auto-import"); -#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp215_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]); -#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp215_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY] = _tmp216_; -#line 106 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp217_ = _tmp215_[CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY]; -#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp218_ = self->priv->key_names; -#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp218__length1 = self->priv->key_names_length1; -#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp219_ = g_strdup ("background-color"); -#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp218_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]); -#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp218_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME] = _tmp219_; -#line 107 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp220_ = _tmp218_[CONFIGURABLE_PROPERTY_BG_COLOR_NAME]; -#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp221_ = self->priv->key_names; -#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp221__length1 = self->priv->key_names_length1; -#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp222_ = g_strdup ("transparent-background-type"); -#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp221_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE]); -#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp221_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE] = _tmp222_; -#line 108 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp223_ = _tmp221_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_TYPE]; -#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp224_ = self->priv->key_names; -#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp224__length1 = self->priv->key_names_length1; -#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp225_ = g_strdup ("transparent-background-color"); -#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp224_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR]); -#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp224_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR] = _tmp225_; -#line 109 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp226_ = _tmp224_[CONFIGURABLE_PROPERTY_TRANSPARENT_BACKGROUND_COLOR]; -#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp227_ = self->priv->key_names; -#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp227__length1 = self->priv->key_names_length1; -#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp228_ = g_strdup ("commit-metadata"); -#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp227_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]); -#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp227_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS] = _tmp228_; -#line 110 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp229_ = _tmp227_[CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS]; -#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp230_ = self->priv->key_names; -#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp230__length1 = self->priv->key_names_length1; -#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp231_ = g_strdup ("picture-uri"); -#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp230_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]); -#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp230_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE] = _tmp231_; -#line 111 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp232_ = _tmp230_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE]; -#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp233_ = self->priv->key_names; -#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp233__length1 = self->priv->key_names_length1; -#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp234_ = g_strdup ("picture-options"); -#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp233_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]); -#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp233_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE] = _tmp234_; -#line 112 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp235_ = _tmp233_[CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE]; -#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp236_ = self->priv->key_names; -#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp236__length1 = self->priv->key_names_length1; -#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp237_ = g_strdup ("picture-uri"); -#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp236_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]); -#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp236_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE] = _tmp237_; -#line 113 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp238_ = _tmp236_[CONFIGURABLE_PROPERTY_SCREENSAVER_FILE]; -#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp239_ = self->priv->key_names; -#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp239__length1 = self->priv->key_names_length1; -#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp240_ = g_strdup ("picture-options"); -#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp239_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]); -#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp239_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE] = _tmp240_; -#line 114 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp241_ = _tmp239_[CONFIGURABLE_PROPERTY_SCREENSAVER_MODE]; -#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp242_ = self->priv->key_names; -#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp242__length1 = self->priv->key_names_length1; -#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp243_ = g_strdup ("directory-pattern"); -#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp242_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]); -#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp242_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN] = _tmp243_; -#line 115 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp244_ = _tmp242_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN]; -#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp245_ = self->priv->key_names; -#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp245__length1 = self->priv->key_names_length1; -#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp246_ = g_strdup ("directory-pattern-custom"); -#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp245_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]); -#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp245_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM] = _tmp246_; -#line 116 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp247_ = _tmp245_[CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM]; -#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp248_ = self->priv->key_names; -#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp248__length1 = self->priv->key_names_length1; -#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp249_ = g_strdup ("direct-height"); -#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp248_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]); -#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp248_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT] = _tmp249_; -#line 117 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp250_ = _tmp248_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT]; -#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp251_ = self->priv->key_names; -#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp251__length1 = self->priv->key_names_length1; -#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp252_ = g_strdup ("direct-maximize"); -#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp251_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]); -#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp251_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE] = _tmp252_; -#line 118 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp253_ = _tmp251_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE]; -#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp254_ = self->priv->key_names; -#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp254__length1 = self->priv->key_names_length1; -#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp255_ = g_strdup ("direct-width"); -#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp254_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]); -#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp254_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH] = _tmp255_; -#line 119 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp256_ = _tmp254_[CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH]; -#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp257_ = self->priv->key_names; -#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp257__length1 = self->priv->key_names_length1; -#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp258_ = g_strdup ("display-basic-properties"); -#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]); -#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES] = _tmp258_; -#line 120 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp259_ = _tmp257_[CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES]; -#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp260_ = self->priv->key_names; -#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp260__length1 = self->priv->key_names_length1; -#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp261_ = g_strdup ("display-extended-properties"); -#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]); -#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES] = _tmp261_; -#line 121 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp262_ = _tmp260_[CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES]; -#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp263_ = self->priv->key_names; -#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp263__length1 = self->priv->key_names_length1; -#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp264_ = g_strdup ("display-sidebar"); -#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp263_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]); -#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp263_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR] = _tmp264_; -#line 122 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp265_ = _tmp263_[CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR]; -#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp266_ = self->priv->key_names; -#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp266__length1 = self->priv->key_names_length1; -#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp267_ = g_strdup ("display-toolbar"); -#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp266_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]); -#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp266_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR] = _tmp267_; -#line 123 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp268_ = _tmp266_[CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR]; -#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp269_ = self->priv->key_names; -#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp269__length1 = self->priv->key_names_length1; -#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp270_ = g_strdup ("display-search-bar"); -#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp269_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]); -#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp269_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR] = _tmp270_; -#line 124 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp271_ = _tmp269_[CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR]; -#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp272_ = self->priv->key_names; -#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp272__length1 = self->priv->key_names_length1; -#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp273_ = g_strdup ("display-photo-ratings"); -#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp272_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]); -#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp272_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS] = _tmp273_; -#line 125 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp274_ = _tmp272_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS]; -#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp275_ = self->priv->key_names; -#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp275__length1 = self->priv->key_names_length1; -#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp276_ = g_strdup ("display-photo-tags"); -#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp275_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]); -#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp275_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS] = _tmp276_; -#line 126 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp277_ = _tmp275_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS]; -#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp278_ = self->priv->key_names; -#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp278__length1 = self->priv->key_names_length1; -#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp279_ = g_strdup ("display-photo-titles"); -#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp278_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]); -#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp278_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES] = _tmp279_; -#line 127 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp280_ = _tmp278_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES]; -#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp281_ = self->priv->key_names; -#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp281__length1 = self->priv->key_names_length1; -#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp282_ = g_strdup ("display-photo-comments"); -#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp281_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]); -#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp281_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS] = _tmp282_; -#line 128 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp283_ = _tmp281_[CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS]; -#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp284_ = self->priv->key_names; -#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp284__length1 = self->priv->key_names_length1; -#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp285_ = g_strdup ("display-event-comments"); -#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp284_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]); -#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp284_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS] = _tmp285_; -#line 129 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp286_ = _tmp284_[CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS]; -#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp287_ = self->priv->key_names; -#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp287__length1 = self->priv->key_names_length1; -#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp288_ = g_strdup ("event-photos-sort-ascending"); -#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp287_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]); -#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp287_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING] = _tmp288_; -#line 130 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp289_ = _tmp287_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING]; -#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp290_ = self->priv->key_names; -#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp290__length1 = self->priv->key_names_length1; -#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp291_ = g_strdup ("event-photos-sort-by"); -#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp290_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]); -#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp290_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY] = _tmp291_; -#line 131 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp292_ = _tmp290_[CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY]; -#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp293_ = self->priv->key_names; -#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp293__length1 = self->priv->key_names_length1; -#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp294_ = g_strdup ("events-sort-ascending"); -#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp293_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]); -#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp293_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING] = _tmp294_; -#line 132 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp295_ = _tmp293_[CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING]; -#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp296_ = self->priv->key_names; -#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp296__length1 = self->priv->key_names_length1; -#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp297_ = g_strdup ("constraint"); -#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp296_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT]); -#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp296_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT] = _tmp297_; -#line 133 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp298_ = _tmp296_[CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT]; -#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp299_ = self->priv->key_names; -#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp299__length1 = self->priv->key_names_length1; -#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp300_ = g_strdup ("export-format-mode"); -#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp299_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE]); -#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp299_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE] = _tmp300_; -#line 134 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp301_ = _tmp299_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE]; -#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp302_ = self->priv->key_names; -#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp302__length1 = self->priv->key_names_length1; -#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp303_ = g_strdup ("export-metadata"); -#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp302_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA]); -#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp302_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA] = _tmp303_; -#line 135 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp304_ = _tmp302_[CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA]; -#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp305_ = self->priv->key_names; -#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp305__length1 = self->priv->key_names_length1; -#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp306_ = g_strdup ("photo-file-format"); -#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp305_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT]); -#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp305_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT] = _tmp306_; -#line 136 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp307_ = _tmp305_[CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT]; -#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp308_ = self->priv->key_names; -#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp308__length1 = self->priv->key_names_length1; -#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp309_ = g_strdup ("quality"); -#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp308_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY]); -#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp308_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY] = _tmp309_; -#line 137 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp310_ = _tmp308_[CONFIGURABLE_PROPERTY_EXPORT_QUALITY]; -#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp311_ = self->priv->key_names; -#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp311__length1 = self->priv->key_names_length1; -#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp312_ = g_strdup ("scale"); -#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp311_[CONFIGURABLE_PROPERTY_EXPORT_SCALE]); -#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp311_[CONFIGURABLE_PROPERTY_EXPORT_SCALE] = _tmp312_; -#line 138 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp313_ = _tmp311_[CONFIGURABLE_PROPERTY_EXPORT_SCALE]; -#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp314_ = self->priv->key_names; -#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp314__length1 = self->priv->key_names_length1; -#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp315_ = g_strdup ("external-photo-editor"); -#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp314_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]); -#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp314_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP] = _tmp315_; -#line 139 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp316_ = _tmp314_[CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP]; -#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp317_ = self->priv->key_names; -#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp317__length1 = self->priv->key_names_length1; -#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp318_ = g_strdup ("external-raw-editor"); -#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp317_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]); -#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp317_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP] = _tmp318_; -#line 140 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp319_ = _tmp317_[CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP]; -#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp320_ = self->priv->key_names; -#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp320__length1 = self->priv->key_names_length1; -#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp321_ = g_strdup ("hide-photos-already-imported"); -#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp320_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]); -#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp320_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED] = _tmp321_; -#line 141 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp322_ = _tmp320_[CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED]; -#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp323_ = self->priv->key_names; -#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp323__length1 = self->priv->key_names_length1; -#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp324_ = g_strdup ("import-dir"); -#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp323_[CONFIGURABLE_PROPERTY_IMPORT_DIR]); -#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp323_[CONFIGURABLE_PROPERTY_IMPORT_DIR] = _tmp324_; -#line 142 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp325_ = _tmp323_[CONFIGURABLE_PROPERTY_IMPORT_DIR]; -#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp326_ = self->priv->key_names; -#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp326__length1 = self->priv->key_names_length1; -#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp327_ = g_strdup ("keep-relativity"); -#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp326_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]); -#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp326_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY] = _tmp327_; -#line 143 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp328_ = _tmp326_[CONFIGURABLE_PROPERTY_KEEP_RELATIVITY]; -#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp329_ = self->priv->key_names; -#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp329__length1 = self->priv->key_names_length1; -#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp330_ = g_strdup ("last-crop-height"); -#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp329_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]); -#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp329_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT] = _tmp330_; -#line 144 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp331_ = _tmp329_[CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT]; -#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp332_ = self->priv->key_names; -#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp332__length1 = self->priv->key_names_length1; -#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp333_ = g_strdup ("last-crop-menu-choice"); -#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp332_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]); -#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp332_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE] = _tmp333_; -#line 145 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp334_ = _tmp332_[CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE]; -#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp335_ = self->priv->key_names; -#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp335__length1 = self->priv->key_names_length1; -#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp336_ = g_strdup ("last-crop-width"); -#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp335_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]); -#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp335_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH] = _tmp336_; -#line 146 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp337_ = _tmp335_[CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH]; -#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp338_ = self->priv->key_names; -#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp338__length1 = self->priv->key_names_length1; -#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp339_ = g_strdup ("last-used-service"); -#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp338_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]); -#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp338_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE] = _tmp339_; -#line 147 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp340_ = _tmp338_[CONFIGURABLE_PROPERTY_LAST_USED_SERVICE]; -#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp341_ = self->priv->key_names; -#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp341__length1 = self->priv->key_names_length1; -#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp342_ = g_strdup ("last-used-dataimports-service"); -#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp341_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]); -#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp341_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE] = _tmp342_; -#line 148 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp343_ = _tmp341_[CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE]; -#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp344_ = self->priv->key_names; -#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp344__length1 = self->priv->key_names_length1; -#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp345_ = g_strdup ("library-photos-sort-ascending"); -#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp344_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]); -#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp344_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING] = _tmp345_; -#line 149 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp346_ = _tmp344_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING]; -#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp347_ = self->priv->key_names; -#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp347__length1 = self->priv->key_names_length1; -#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp348_ = g_strdup ("library-photos-sort-by"); -#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp347_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]); -#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp347_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY] = _tmp348_; -#line 150 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp349_ = _tmp347_[CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY]; -#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp350_ = self->priv->key_names; -#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp350__length1 = self->priv->key_names_length1; -#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp351_ = g_strdup ("library-height"); -#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp350_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]); -#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp350_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT] = _tmp351_; -#line 151 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp352_ = _tmp350_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT]; -#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp353_ = self->priv->key_names; -#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp353__length1 = self->priv->key_names_length1; -#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp354_ = g_strdup ("library-maximize"); -#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp353_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]); -#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp353_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE] = _tmp354_; -#line 152 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp355_ = _tmp353_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE]; -#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp356_ = self->priv->key_names; -#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp356__length1 = self->priv->key_names_length1; -#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp357_ = g_strdup ("library-width"); -#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp356_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]); -#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp356_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH] = _tmp357_; -#line 153 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp358_ = _tmp356_[CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH]; -#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp359_ = self->priv->key_names; -#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp359__length1 = self->priv->key_names_length1; -#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp360_ = g_strdup ("modify-originals"); -#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp359_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]); -#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp359_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS] = _tmp360_; -#line 154 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp361_ = _tmp359_[CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS]; -#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp362_ = self->priv->key_names; -#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp362__length1 = self->priv->key_names_length1; -#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp363_ = g_strdup ("photo-thumbnail-scale"); -#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp362_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]); -#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp362_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE] = _tmp363_; -#line 155 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp364_ = _tmp362_[CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE]; -#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp365_ = self->priv->key_names; -#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp365__length1 = self->priv->key_names_length1; -#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp366_ = g_strdup ("pin-toolbar-state"); -#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp365_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]); -#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp365_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE] = _tmp366_; -#line 156 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp367_ = _tmp365_[CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE]; -#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp368_ = self->priv->key_names; -#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp368__length1 = self->priv->key_names_length1; -#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp369_ = g_strdup ("content-height"); -#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp368_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]); -#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp368_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT] = _tmp369_; -#line 157 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp370_ = _tmp368_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT]; -#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp371_ = self->priv->key_names; -#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp371__length1 = self->priv->key_names_length1; -#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp372_ = g_strdup ("content-layout"); -#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp371_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]); -#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp371_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT] = _tmp372_; -#line 158 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp373_ = _tmp371_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT]; -#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp374_ = self->priv->key_names; -#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp374__length1 = self->priv->key_names_length1; -#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp375_ = g_strdup ("content-ppi"); -#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp374_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]); -#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp374_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI] = _tmp375_; -#line 159 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp376_ = _tmp374_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI]; -#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp377_ = self->priv->key_names; -#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp377__length1 = self->priv->key_names_length1; -#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp378_ = g_strdup ("content-units"); -#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp377_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]); -#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp377_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS] = _tmp378_; -#line 160 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp379_ = _tmp377_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS]; -#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp380_ = self->priv->key_names; -#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp380__length1 = self->priv->key_names_length1; -#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp381_ = g_strdup ("content-width"); -#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp380_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]); -#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp380_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH] = _tmp381_; -#line 161 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp382_ = _tmp380_[CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH]; -#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp383_ = self->priv->key_names; -#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp383__length1 = self->priv->key_names_length1; -#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp384_ = g_strdup ("images-per-page"); -#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp383_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]); -#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp383_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE] = _tmp384_; -#line 162 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp385_ = _tmp383_[CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE]; -#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp386_ = self->priv->key_names; -#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp386__length1 = self->priv->key_names_length1; -#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp387_ = g_strdup ("match-aspect-ratio"); -#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp386_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]); -#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp386_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO] = _tmp387_; -#line 163 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp388_ = _tmp386_[CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO]; -#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp389_ = self->priv->key_names; -#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp389__length1 = self->priv->key_names_length1; -#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp390_ = g_strdup ("print-titles"); -#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp389_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]); -#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp389_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES] = _tmp390_; -#line 164 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp391_ = _tmp389_[CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES]; -#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp392_ = self->priv->key_names; -#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp392__length1 = self->priv->key_names_length1; -#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp393_ = g_strdup ("size-selection"); -#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp392_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]); -#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp392_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION] = _tmp393_; -#line 165 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp394_ = _tmp392_[CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION]; -#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp395_ = self->priv->key_names; -#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp395__length1 = self->priv->key_names_length1; -#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp396_ = g_strdup ("titles-font"); -#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp395_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]); -#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp395_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT] = _tmp396_; -#line 166 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp397_ = _tmp395_[CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT]; -#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp398_ = self->priv->key_names; -#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp398__length1 = self->priv->key_names_length1; -#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp399_ = g_strdup ("raw-developer-default"); -#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp398_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]); -#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp398_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT] = _tmp399_; -#line 167 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp400_ = _tmp398_[CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT]; -#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp401_ = self->priv->key_names; -#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp401__length1 = self->priv->key_names_length1; -#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp402_ = g_strdup ("show-welcome-dialog"); -#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp401_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]); -#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp401_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG] = _tmp402_; -#line 168 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp403_ = _tmp401_[CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG]; -#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp404_ = self->priv->key_names; -#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp404__length1 = self->priv->key_names_length1; -#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp405_ = g_strdup ("sidebar-position"); -#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp404_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]); -#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp404_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION] = _tmp405_; -#line 169 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp406_ = _tmp404_[CONFIGURABLE_PROPERTY_SIDEBAR_POSITION]; -#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp407_ = self->priv->key_names; -#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp407__length1 = self->priv->key_names_length1; -#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp408_ = g_strdup ("delay"); -#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp407_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]); -#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp407_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY] = _tmp408_; -#line 170 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp409_ = _tmp407_[CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY]; -#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp410_ = self->priv->key_names; -#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp410__length1 = self->priv->key_names_length1; -#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp411_ = g_strdup ("transition-delay"); -#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp410_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]); -#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp410_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY] = _tmp411_; -#line 171 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp412_ = _tmp410_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY]; -#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp413_ = self->priv->key_names; -#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp413__length1 = self->priv->key_names_length1; -#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp414_ = g_strdup ("transition-effect-id"); -#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp413_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]); -#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp413_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID] = _tmp414_; -#line 172 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp415_ = _tmp413_[CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID]; -#line 173 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp416_ = self->priv->key_names; -#line 173 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp416__length1 = self->priv->key_names_length1; -#line 173 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp417_ = g_strdup ("show-title"); -#line 173 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp416_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]); -#line 173 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp416_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE] = _tmp417_; -#line 173 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp418_ = _tmp416_[CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE]; -#line 174 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp419_ = self->priv->key_names; -#line 174 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp419__length1 = self->priv->key_names_length1; -#line 174 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp420_ = g_strdup ("use-24-hour-time"); -#line 174 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp419_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]); -#line 174 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp419_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME] = _tmp420_; -#line 174 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp421_ = _tmp419_[CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME]; -#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp422_ = self->priv->key_names; -#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp422__length1 = self->priv->key_names_length1; -#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp423_ = g_strdup ("use-lowercase-filenames"); -#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp422_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]); -#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp422_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES] = _tmp423_; -#line 175 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp424_ = _tmp422_[CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES]; -#line 176 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp425_ = self->priv->key_names; -#line 176 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp425__length1 = self->priv->key_names_length1; -#line 176 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp426_ = g_strdup ("interpreter-state-cookie"); -#line 176 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp425_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]); -#line 176 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp425_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE] = _tmp426_; -#line 176 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp427_ = _tmp425_[CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE]; -#line 29 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return self; -#line 2670 "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 2679 "GSettingsEngine.c" -} - - -static gpointer -_g_settings_schema_source_ref0 (gpointer self) -{ -#line 180 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return self ? g_settings_schema_source_ref (self) : NULL; -#line 2688 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_check_key_valid (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - GError** error) -{ - GSettingsSchemaSource* schema_source = NULL; - GSettingsSchemaSource* _tmp0_; - GSettingsSchemaSource* _tmp1_; - GSettingsSchema* settings_scheme = NULL; - GSettingsSchemaSource* _tmp2_; - GSettingsSchema* _tmp3_; - GSettingsSchema* _tmp4_; - GSettingsSchema* _tmp9_; - GError * _inner_error_ = NULL; -#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (schema != NULL); -#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 180 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = g_settings_schema_source_get_default (); -#line 180 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _g_settings_schema_source_ref0 (_tmp0_); -#line 180 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_source = _tmp1_; -#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = schema_source; -#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = g_settings_schema_source_lookup (_tmp2_, schema, TRUE); -#line 181 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - settings_scheme = _tmp3_; -#line 182 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = settings_scheme; -#line 182 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_tmp4_ == NULL) { -#line 2729 "GSettingsEngine.c" - gchar* _tmp5_; - gchar* _tmp6_; - GError* _tmp7_; - GError* _tmp8_; -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = g_strdup_printf ("schema '%s' is not installed", schema); -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = _tmp5_; -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp6_); -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp8_ = _tmp7_; -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp6_); -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = _tmp8_; -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_settings_schema_unref0 (settings_scheme); -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_settings_schema_source_unref0 (schema_source); -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 2756 "GSettingsEngine.c" - } else { -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_settings_schema_unref0 (settings_scheme); -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_settings_schema_source_unref0 (schema_source); -#line 183 "/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 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 183 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 2768 "GSettingsEngine.c" - } - } -#line 186 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp9_ = settings_scheme; -#line 186 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (!g_settings_schema_has_key (_tmp9_, key)) { -#line 2775 "GSettingsEngine.c" - gchar* _tmp10_; - gchar* _tmp11_; - GError* _tmp12_; - GError* _tmp13_; -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp10_ = g_strdup_printf ("schema '%s' does not define key '%s'", schema, key); -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp11_ = _tmp10_; -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp12_ = g_error_new_literal (CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR, _tmp11_); -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp13_ = _tmp12_; -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp11_); -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = _tmp13_; -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_settings_schema_unref0 (settings_scheme); -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_settings_schema_source_unref0 (schema_source); -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 2802 "GSettingsEngine.c" - } else { -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_settings_schema_unref0 (settings_scheme); -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_settings_schema_source_unref0 (schema_source); -#line 187 "/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 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 187 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 2814 "GSettingsEngine.c" - } - } -#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_settings_schema_unref0 (settings_scheme); -#line 179 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_settings_schema_source_unref0 (schema_source); -#line 2821 "GSettingsEngine.c" -} - - -static gboolean -gsettings_configuration_engine_get_gs_bool (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - GError** error) -{ - gboolean result = FALSE; - GSettings* schema_object = NULL; - GSettings* _tmp2_; - GSettings* _tmp3_; - GError * _inner_error_ = NULL; -#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), FALSE); -#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (schema != NULL, FALSE); -#line 191 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (key != NULL, FALSE); -#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 2848 "GSettingsEngine.c" - gboolean _tmp0_ = FALSE; -#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp0_; -#line 2854 "GSettingsEngine.c" - } else { - gboolean _tmp1_ = FALSE; -#line 192 "/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 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 192 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp1_; -#line 2863 "GSettingsEngine.c" - } - } -#line 194 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = g_settings_new (schema); -#line 194 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp2_; -#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = schema_object; -#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = g_settings_get_boolean (_tmp3_, key); -#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 196 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 2878 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_set_gs_bool (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - gboolean value, - GError** error) -{ - GSettings* schema_object = NULL; - GSettings* _tmp0_; - GSettings* _tmp1_; - GError * _inner_error_ = NULL; -#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (schema != NULL); -#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 2909 "GSettingsEngine.c" - } else { -#line 200 "/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 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 200 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 2917 "GSettingsEngine.c" - } - } -#line 202 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = g_settings_new (schema); -#line 202 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp0_; -#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = schema_object; -#line 204 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_settings_set_boolean (_tmp1_, key, value); -#line 199 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 2930 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_set_gs_enum (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - gint value, - GError** error) -{ - GSettings* schema_object = NULL; - GSettings* _tmp0_; - GSettings* _tmp1_; - GError * _inner_error_ = NULL; -#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (schema != NULL); -#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 2961 "GSettingsEngine.c" - } else { -#line 208 "/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 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 208 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 2969 "GSettingsEngine.c" - } - } -#line 210 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = g_settings_new (schema); -#line 210 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp0_; -#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = schema_object; -#line 211 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_settings_set_enum (_tmp1_, key, value); -#line 207 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 2982 "GSettingsEngine.c" -} - - -static gint -gsettings_configuration_engine_get_gs_enum (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - GError** error) -{ - gint result = 0; - GSettings* schema_object = NULL; - GSettings* _tmp2_; - GSettings* _tmp3_; - GError * _inner_error_ = NULL; -#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0); -#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (schema != NULL, 0); -#line 214 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (key != NULL, 0); -#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3009 "GSettingsEngine.c" - gint _tmp0_ = 0; -#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp0_; -#line 3015 "GSettingsEngine.c" - } else { - gint _tmp1_ = 0; -#line 215 "/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 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 215 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp1_; -#line 3024 "GSettingsEngine.c" - } - } -#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = g_settings_new (schema); -#line 217 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp2_; -#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = schema_object; -#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = g_settings_get_enum (_tmp3_, key); -#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 218 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3039 "GSettingsEngine.c" -} - - -static gint -gsettings_configuration_engine_get_gs_int (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - GError** error) -{ - gint result = 0; - GSettings* schema_object = NULL; - GSettings* _tmp2_; - GSettings* _tmp3_; - GError * _inner_error_ = NULL; -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0); -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (schema != NULL, 0); -#line 221 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (key != NULL, 0); -#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3066 "GSettingsEngine.c" - gint _tmp0_ = 0; -#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp0_; -#line 3072 "GSettingsEngine.c" - } else { - gint _tmp1_ = 0; -#line 222 "/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 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 222 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp1_; -#line 3081 "GSettingsEngine.c" - } - } -#line 224 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = g_settings_new (schema); -#line 224 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp2_; -#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = schema_object; -#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = g_settings_get_int (_tmp3_, key); -#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 226 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3096 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_set_gs_int (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - gint value, - GError** error) -{ - GSettings* schema_object = NULL; - GSettings* _tmp0_; - GSettings* _tmp1_; - GError * _inner_error_ = NULL; -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (schema != NULL); -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 3127 "GSettingsEngine.c" - } else { -#line 230 "/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 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 230 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 3135 "GSettingsEngine.c" - } - } -#line 232 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = g_settings_new (schema); -#line 232 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp0_; -#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = schema_object; -#line 234 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_settings_set_int (_tmp1_, key, value); -#line 229 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 3148 "GSettingsEngine.c" -} - - -static gdouble -gsettings_configuration_engine_get_gs_double (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - GError** error) -{ - gdouble result = 0.0; - GSettings* schema_object = NULL; - GSettings* _tmp2_; - GSettings* _tmp3_; - GError * _inner_error_ = NULL; -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), 0.0); -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (schema != NULL, 0.0); -#line 237 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (key != NULL, 0.0); -#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3175 "GSettingsEngine.c" - gdouble _tmp0_ = 0.0; -#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp0_; -#line 3181 "GSettingsEngine.c" - } else { - gdouble _tmp1_ = 0.0; -#line 238 "/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 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 238 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp1_; -#line 3190 "GSettingsEngine.c" - } - } -#line 240 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = g_settings_new (schema); -#line 240 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp2_; -#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = schema_object; -#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = g_settings_get_double (_tmp3_, key); -#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 242 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3205 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_set_gs_double (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - gdouble value, - GError** error) -{ - GSettings* schema_object = NULL; - GSettings* _tmp0_; - GSettings* _tmp1_; - GError * _inner_error_ = NULL; -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (schema != NULL); -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 3236 "GSettingsEngine.c" - } else { -#line 246 "/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 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 246 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 3244 "GSettingsEngine.c" - } - } -#line 248 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = g_settings_new (schema); -#line 248 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp0_; -#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = schema_object; -#line 250 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_settings_set_double (_tmp1_, key, value); -#line 245 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 3257 "GSettingsEngine.c" -} - - -static gchar* -gsettings_configuration_engine_get_gs_string (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - GError** error) -{ - gchar* result = NULL; - GSettings* schema_object = NULL; - GSettings* _tmp0_; - GSettings* _tmp1_; - gchar* _tmp2_; - GError * _inner_error_ = NULL; -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self), NULL); -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (schema != NULL, NULL); -#line 253 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (key != NULL, NULL); -#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return NULL; -#line 3289 "GSettingsEngine.c" - } else { -#line 254 "/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 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 254 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return NULL; -#line 3297 "GSettingsEngine.c" - } - } -#line 256 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = g_settings_new (schema); -#line 256 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp0_; -#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = schema_object; -#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = g_settings_get_string (_tmp1_, key); -#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp2_; -#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 258 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3314 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_set_gs_string (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - const gchar* value, - GError** error) -{ - GSettings* schema_object = NULL; - GSettings* _tmp0_; - GSettings* _tmp1_; - GError * _inner_error_ = NULL; -#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (schema != NULL); -#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (value != NULL); -#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 3347 "GSettingsEngine.c" - } else { -#line 262 "/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 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 262 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 3355 "GSettingsEngine.c" - } - } -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = g_settings_new (schema); -#line 264 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp0_; -#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = schema_object; -#line 266 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_settings_set_string (_tmp1_, key, value); -#line 261 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 3368 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigurationEngine* self, - const gchar* schema, - const gchar* key, - GError** error) -{ - GSettings* schema_object = NULL; - GSettings* _tmp0_; - GSettings* _tmp1_; - GError * _inner_error_ = NULL; -#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (IS_GSETTINGS_CONFIGURATION_ENGINE (self)); -#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (schema != NULL); -#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_check_key_valid (self, schema, key, &_inner_error_); -#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 3398 "GSettingsEngine.c" - } else { -#line 270 "/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 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 270 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 3406 "GSettingsEngine.c" - } - } -#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = g_settings_new (schema); -#line 272 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_object = _tmp0_; -#line 274 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = schema_object; -#line 274 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_settings_reset (_tmp1_, key); -#line 269 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (schema_object); -#line 3419 "GSettingsEngine.c" -} - - -static gchar* -string_replace (const gchar* self, - const gchar* old, - const gchar* replacement) -{ - gchar* result = NULL; - gboolean _tmp0_ = FALSE; - gboolean _tmp1_ = FALSE; - GError * _inner_error_ = NULL; -#line 1421 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_return_val_if_fail (self != NULL, NULL); -#line 1421 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_return_val_if_fail (old != NULL, NULL); -#line 1421 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_return_val_if_fail (replacement != NULL, NULL); -#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if ((*((gchar*) self)) == '\0') { -#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp1_ = TRUE; -#line 3442 "GSettingsEngine.c" - } else { -#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp1_ = (*((gchar*) old)) == '\0'; -#line 3446 "GSettingsEngine.c" - } -#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (_tmp1_) { -#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp0_ = TRUE; -#line 3452 "GSettingsEngine.c" - } else { -#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp0_ = g_strcmp0 (old, replacement) == 0; -#line 3456 "GSettingsEngine.c" - } -#line 1422 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (_tmp0_) { -#line 3460 "GSettingsEngine.c" - gchar* _tmp2_; -#line 1423 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp2_ = g_strdup (self); -#line 1423 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - result = _tmp2_; -#line 1423 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return result; -#line 3468 "GSettingsEngine.c" - } - { - GRegex* regex = NULL; - gchar* _tmp3_; - gchar* _tmp4_; - GRegex* _tmp5_; - GRegex* _tmp6_; - gchar* _tmp7_ = NULL; - GRegex* _tmp8_; - gchar* _tmp9_; - gchar* _tmp10_; -#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp3_ = g_regex_escape_string (old, -1); -#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp4_ = _tmp3_; -#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp5_ = g_regex_new (_tmp4_, 0, 0, &_inner_error_); -#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp6_ = _tmp5_; -#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _g_free0 (_tmp4_); -#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - regex = _tmp6_; -#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (_inner_error_->domain == G_REGEX_ERROR) { -#line 3496 "GSettingsEngine.c" - goto __catch217_g_regex_error; - } -#line 1426 "/usr/share/vala-0.40/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 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_clear_error (&_inner_error_); -#line 1426 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return NULL; -#line 3505 "GSettingsEngine.c" - } -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp8_ = regex; -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp9_ = g_regex_replace_literal (_tmp8_, self, (gssize) -1, 0, replacement, 0, &_inner_error_); -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp7_ = _tmp9_; -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _g_regex_unref0 (regex); -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (_inner_error_->domain == G_REGEX_ERROR) { -#line 3519 "GSettingsEngine.c" - goto __catch217_g_regex_error; - } -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _g_regex_unref0 (regex); -#line 1427 "/usr/share/vala-0.40/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 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_clear_error (&_inner_error_); -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return NULL; -#line 3530 "GSettingsEngine.c" - } -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp10_ = _tmp7_; -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp7_ = NULL; -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - result = _tmp10_; -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _g_free0 (_tmp7_); -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _g_regex_unref0 (regex); -#line 1427 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return result; -#line 3544 "GSettingsEngine.c" - } - goto __finally217; - __catch217_g_regex_error: - { - GError* e = NULL; -#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - e = _inner_error_; -#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _inner_error_ = NULL; -#line 1429 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_assert_not_reached (); -#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _g_error_free0 (e); -#line 3558 "GSettingsEngine.c" - } - __finally217: -#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1425 "/usr/share/vala-0.40/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 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_clear_error (&_inner_error_); -#line 1425 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return NULL; -#line 3569 "GSettingsEngine.c" - } -} - - -static gchar* -string_strip (const gchar* self) -{ - gchar* result = NULL; - gchar* _result_ = NULL; - gchar* _tmp0_; - const gchar* _tmp1_; -#line 1248 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_return_val_if_fail (self != NULL, NULL); -#line 1249 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp0_ = g_strdup (self); -#line 1249 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _result_ = _tmp0_; -#line 1250 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp1_ = _result_; -#line 1250 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_strstrip (_tmp1_); -#line 1251 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - result = _result_; -#line 1251 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return result; -#line 3595 "GSettingsEngine.c" -} - - -static gchar* -gsettings_configuration_engine_clean_plugin_id (const gchar* id) -{ - gchar* result = NULL; - gchar* cleaned = NULL; - gchar* _tmp0_; - const gchar* _tmp1_; - gchar* _tmp2_; - const gchar* _tmp3_ = NULL; - const gchar* _tmp4_; - gchar* _tmp6_; -#line 277 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (id != NULL, NULL); -#line 278 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = string_replace (id, "/", "-"); -#line 278 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - cleaned = _tmp0_; -#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = cleaned; -#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = string_strip (_tmp1_); -#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (cleaned); -#line 279 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - cleaned = _tmp2_; -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = cleaned; -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (!is_string_empty (_tmp4_)) { -#line 3628 "GSettingsEngine.c" - const gchar* _tmp5_; -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = cleaned; -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp5_; -#line 3634 "GSettingsEngine.c" - } else { -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = NULL; -#line 3638 "GSettingsEngine.c" - } -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = g_strdup (_tmp3_); -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp6_; -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (cleaned); -#line 281 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3648 "GSettingsEngine.c" -} - - -static gchar* -gsettings_configuration_engine_get_plugin_enable_disable_name (const gchar* id) -{ - gchar* result = NULL; - gchar* cleaned_id = NULL; - gchar* _tmp0_; - const gchar* _tmp1_; - const gchar* _tmp3_; - gchar* _tmp4_; - const gchar* _tmp5_; - gchar* _tmp6_; -#line 284 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (id != NULL, NULL); -#line 285 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_clean_plugin_id (id); -#line 285 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - cleaned_id = _tmp0_; -#line 286 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = cleaned_id; -#line 286 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_tmp1_ == NULL) { -#line 3673 "GSettingsEngine.c" - gchar* _tmp2_; -#line 287 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = g_strdup ("default"); -#line 287 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (cleaned_id); -#line 287 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - cleaned_id = _tmp2_; -#line 3681 "GSettingsEngine.c" - } -#line 289 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = cleaned_id; -#line 289 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = string_replace (_tmp3_, "org.yorba.shotwell.", ""); -#line 289 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (cleaned_id); -#line 289 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - cleaned_id = _tmp4_; -#line 290 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = cleaned_id; -#line 290 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = string_replace (_tmp5_, ".", "-"); -#line 290 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (cleaned_id); -#line 290 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - cleaned_id = _tmp6_; -#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = cleaned_id; -#line 292 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3703 "GSettingsEngine.c" -} - - -static gchar* -gsettings_configuration_engine_make_plugin_schema_name (const gchar* domain, - const gchar* id) -{ - gchar* result = NULL; - gchar* cleaned_id = NULL; - gchar* _tmp0_; - const gchar* _tmp1_; - const gchar* _tmp3_; - gchar* _tmp4_; - const gchar* _tmp5_; - gchar* _tmp6_; -#line 295 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (domain != NULL, NULL); -#line 295 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (id != NULL, NULL); -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_clean_plugin_id (id); -#line 296 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - cleaned_id = _tmp0_; -#line 297 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = cleaned_id; -#line 297 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_tmp1_ == NULL) { -#line 3731 "GSettingsEngine.c" - gchar* _tmp2_; -#line 298 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = g_strdup ("default"); -#line 298 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (cleaned_id); -#line 298 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - cleaned_id = _tmp2_; -#line 3739 "GSettingsEngine.c" - } -#line 299 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = cleaned_id; -#line 299 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = string_replace (_tmp3_, ".", "-"); -#line 299 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (cleaned_id); -#line 299 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - cleaned_id = _tmp4_; -#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = cleaned_id; -#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = g_strdup_printf ("org.yorba.shotwell.%s.%s", domain, _tmp5_); -#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp6_; -#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (cleaned_id); -#line 301 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3759 "GSettingsEngine.c" -} - - -static gchar* -gsettings_configuration_engine_make_gsettings_key (const gchar* gconf_key) -{ - gchar* result = NULL; - gchar* _tmp0_; -#line 304 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (gconf_key != NULL, NULL); -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = string_replace (gconf_key, "_", "-"); -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp0_; -#line 305 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3776 "GSettingsEngine.c" -} - - -static gchar* -gsettings_configuration_engine_real_get_name (ConfigurationEngine* base) -{ - GSettingsConfigurationEngine * self; - gchar* result = NULL; - gchar* _tmp0_; -#line 308 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = g_strdup ("GSettings"); -#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp0_; -#line 309 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3794 "GSettingsEngine.c" -} - - -static gint -gsettings_configuration_engine_real_get_enum_property (ConfigurationEngine* base, - ConfigurableProperty p, - GError** error) -{ - GSettingsConfigurationEngine * self; - gint result = 0; - gint _tmp0_ = 0; - gchar** _tmp1_; - gint _tmp1__length1; - const gchar* _tmp2_; - gchar** _tmp3_; - gint _tmp3__length1; - const gchar* _tmp4_; - GError * _inner_error_ = NULL; -#line 312 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = self->priv->schema_names; -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1__length1 = self->priv->schema_names_length1; -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_[p]; -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = self->priv->key_names; -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3__length1 = self->priv->key_names_length1; -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_[p]; -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_get_gs_enum (self, _tmp2_, _tmp4_, &_inner_error_); -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3833 "GSettingsEngine.c" - gint _tmp5_ = 0; -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp5_; -#line 3839 "GSettingsEngine.c" - } else { - gint _tmp6_ = 0; -#line 313 "/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 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp6_; -#line 3848 "GSettingsEngine.c" - } - } -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp0_; -#line 313 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3855 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_real_set_enum_property (ConfigurationEngine* base, - ConfigurableProperty p, - gint val, - GError** error) -{ - GSettingsConfigurationEngine * self; - gchar** _tmp0_; - gint _tmp0__length1; - const gchar* _tmp1_; - gchar** _tmp2_; - gint _tmp2__length1; - const gchar* _tmp3_; - GError * _inner_error_ = NULL; -#line 316 "/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" - _tmp0_ = self->priv->schema_names; -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0__length1 = self->priv->schema_names_length1; -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _tmp0_[p]; -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = self->priv->key_names; -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2__length1 = self->priv->key_names_length1; -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp2_[p]; -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_set_gs_enum (self, _tmp1_, _tmp3_, val, &_inner_error_); -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 3897 "GSettingsEngine.c" - } else { -#line 317 "/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 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 317 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 3905 "GSettingsEngine.c" - } - } -#line 318 "/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", p); -#line 3910 "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_; - gint _tmp1__length1; - const gchar* _tmp2_; - gchar** _tmp3_; - gint _tmp3__length1; - const gchar* _tmp4_; - GError * _inner_error_ = NULL; -#line 321 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = self->priv->schema_names; -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1__length1 = self->priv->schema_names_length1; -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_[p]; -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = self->priv->key_names; -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3__length1 = self->priv->key_names_length1; -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_[p]; -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_get_gs_int (self, _tmp2_, _tmp4_, &_inner_error_); -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 3949 "GSettingsEngine.c" - gint _tmp5_ = 0; -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp5_; -#line 3955 "GSettingsEngine.c" - } else { - gint _tmp6_ = 0; -#line 322 "/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 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp6_; -#line 3964 "GSettingsEngine.c" - } - } -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp0_; -#line 322 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 3971 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_real_set_int_property (ConfigurationEngine* base, - ConfigurableProperty p, - gint val, - GError** error) -{ - GSettingsConfigurationEngine * self; - gchar** _tmp0_; - gint _tmp0__length1; - const gchar* _tmp1_; - gchar** _tmp2_; - gint _tmp2__length1; - const gchar* _tmp3_; - GError * _inner_error_ = NULL; -#line 325 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = self->priv->schema_names; -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0__length1 = self->priv->schema_names_length1; -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _tmp0_[p]; -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = self->priv->key_names; -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2__length1 = self->priv->key_names_length1; -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp2_[p]; -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_set_gs_int (self, _tmp1_, _tmp3_, val, &_inner_error_); -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4013 "GSettingsEngine.c" - } else { -#line 326 "/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 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 326 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4021 "GSettingsEngine.c" - } - } -#line 327 "/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", p); -#line 4026 "GSettingsEngine.c" -} - - -static glong -string_strnlen (gchar* str, - glong maxlen) -{ - glong result = 0L; - gchar* end = NULL; - gchar* _tmp0_; - gchar* _tmp1_; -#line 1336 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp0_ = memchr (str, 0, (gsize) maxlen); -#line 1336 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - end = _tmp0_; -#line 1337 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp1_ = end; -#line 1337 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (_tmp1_ == NULL) { -#line 1338 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - result = maxlen; -#line 1338 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return result; -#line 4050 "GSettingsEngine.c" - } else { - gchar* _tmp2_; -#line 1340 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp2_ = end; -#line 1340 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - result = (glong) (_tmp2_ - str); -#line 1340 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return result; -#line 4059 "GSettingsEngine.c" - } -} - - -static gchar* -string_substring (const gchar* self, - glong offset, - glong len) -{ - gchar* result = NULL; - glong string_length = 0L; - gboolean _tmp0_ = FALSE; - glong _tmp6_; - gchar* _tmp7_; -#line 1347 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_return_val_if_fail (self != NULL, NULL); -#line 1349 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (offset >= ((glong) 0)) { -#line 1349 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp0_ = len >= ((glong) 0); -#line 4080 "GSettingsEngine.c" - } else { -#line 1349 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp0_ = FALSE; -#line 4084 "GSettingsEngine.c" - } -#line 1349 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (_tmp0_) { -#line 1351 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - string_length = string_strnlen ((gchar*) self, offset + len); -#line 4090 "GSettingsEngine.c" - } else { - gint _tmp1_; - gint _tmp2_; -#line 1353 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp1_ = strlen (self); -#line 1353 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp2_ = _tmp1_; -#line 1353 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - string_length = (glong) _tmp2_; -#line 4100 "GSettingsEngine.c" - } -#line 1356 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (offset < ((glong) 0)) { -#line 4104 "GSettingsEngine.c" - glong _tmp3_; -#line 1357 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp3_ = string_length; -#line 1357 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - offset = _tmp3_ + offset; -#line 1358 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_return_val_if_fail (offset >= ((glong) 0), NULL); -#line 4112 "GSettingsEngine.c" - } else { - glong _tmp4_; -#line 1360 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp4_ = string_length; -#line 1360 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_return_val_if_fail (offset <= _tmp4_, NULL); -#line 4119 "GSettingsEngine.c" - } -#line 1362 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - if (len < ((glong) 0)) { -#line 4123 "GSettingsEngine.c" - glong _tmp5_; -#line 1363 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp5_ = string_length; -#line 1363 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - len = _tmp5_ - offset; -#line 4129 "GSettingsEngine.c" - } -#line 1365 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp6_ = string_length; -#line 1365 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - g_return_val_if_fail ((offset + len) <= _tmp6_, NULL); -#line 1366 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - _tmp7_ = g_strndup (((gchar*) self) + offset, (gsize) len); -#line 1366 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - result = _tmp7_; -#line 1366 "/usr/share/vala-0.40/vapi/glib-2.0.vapi" - return result; -#line 4141 "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_; - gint _tmp0__length1; - const gchar* _tmp1_; - gchar** _tmp2_; - gint _tmp2__length1; - const gchar* _tmp3_; - gchar* _tmp4_; - gchar* _result_ = NULL; - gchar* _tmp5_; - GError * _inner_error_ = NULL; -#line 330 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = self->priv->schema_names; -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0__length1 = self->priv->schema_names_length1; -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _tmp0_[p]; -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = self->priv->key_names; -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2__length1 = self->priv->key_names_length1; -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp2_[p]; -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = gsettings_configuration_engine_get_gs_string (self, _tmp1_, _tmp3_, &_inner_error_); -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gs_result = _tmp4_; -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return NULL; -#line 4189 "GSettingsEngine.c" - } else { -#line 331 "/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 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 331 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return NULL; -#line 4197 "GSettingsEngine.c" - } - } -#line 335 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = g_strdup (gs_result); -#line 335 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _result_ = _tmp5_; -#line 336 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (p == CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE) { -#line 4206 "GSettingsEngine.c" - gchar* _tmp6_; -#line 337 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = string_substring (gs_result, (glong) 7, (glong) -1); -#line 337 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_result_); -#line 337 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _result_ = _tmp6_; -#line 4214 "GSettingsEngine.c" - } -#line 340 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _result_; -#line 340 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (gs_result); -#line 340 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 4222 "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; - gchar* _tmp0_; - gboolean _tmp1_ = FALSE; - gchar** _tmp3_; - gint _tmp3__length1; - const gchar* _tmp4_; - gchar** _tmp5_; - gint _tmp5__length1; - const gchar* _tmp6_; - const gchar* _tmp7_; - GError * _inner_error_ = NULL; -#line 343 "/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" - g_return_if_fail (val != NULL); -#line 345 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = g_strdup (val); -#line 345 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - converted_val = _tmp0_; -#line 346 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (p == CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE) { -#line 346 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = TRUE; -#line 4256 "GSettingsEngine.c" - } else { -#line 347 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = p == CONFIGURABLE_PROPERTY_SCREENSAVER_FILE; -#line 4260 "GSettingsEngine.c" - } -#line 346 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_tmp1_) { -#line 4264 "GSettingsEngine.c" - gchar* _tmp2_; -#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = g_strconcat ("file://", val, NULL); -#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (converted_val); -#line 348 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - converted_val = _tmp2_; -#line 4272 "GSettingsEngine.c" - } -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = self->priv->schema_names; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3__length1 = self->priv->schema_names_length1; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_[p]; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = self->priv->key_names; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5__length1 = self->priv->key_names_length1; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = _tmp5_[p]; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_ = converted_val; -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_set_gs_string (self, _tmp4_, _tmp6_, _tmp7_, &_inner_error_); -#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 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (converted_val); -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4300 "GSettingsEngine.c" - } else { -#line 351 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (converted_val); -#line 351 "/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 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; -#line 4310 "GSettingsEngine.c" - } - } -#line 352 "/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", p); -#line 343 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (converted_val); -#line 4317 "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_; - gint _tmp1__length1; - const gchar* _tmp2_; - gchar** _tmp3_; - gint _tmp3__length1; - const gchar* _tmp4_; - GError * _inner_error_ = NULL; -#line 355 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = self->priv->schema_names; -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1__length1 = self->priv->schema_names_length1; -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_[p]; -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = self->priv->key_names; -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3__length1 = self->priv->key_names_length1; -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_[p]; -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_get_gs_bool (self, _tmp2_, _tmp4_, &_inner_error_); -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4356 "GSettingsEngine.c" - gboolean _tmp5_ = FALSE; -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp5_; -#line 4362 "GSettingsEngine.c" - } else { - gboolean _tmp6_ = FALSE; -#line 356 "/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 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp6_; -#line 4371 "GSettingsEngine.c" - } - } -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp0_; -#line 356 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 4378 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_real_set_bool_property (ConfigurationEngine* base, - ConfigurableProperty p, - gboolean val, - GError** error) -{ - GSettingsConfigurationEngine * self; - gchar** _tmp0_; - gint _tmp0__length1; - const gchar* _tmp1_; - gchar** _tmp2_; - gint _tmp2__length1; - const gchar* _tmp3_; - GError * _inner_error_ = NULL; -#line 359 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = self->priv->schema_names; -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0__length1 = self->priv->schema_names_length1; -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _tmp0_[p]; -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = self->priv->key_names; -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2__length1 = self->priv->key_names_length1; -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp2_[p]; -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_set_gs_bool (self, _tmp1_, _tmp3_, val, &_inner_error_); -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4420 "GSettingsEngine.c" - } else { -#line 360 "/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 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 360 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4428 "GSettingsEngine.c" - } - } -#line 361 "/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", p); -#line 4433 "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_; - gint _tmp1__length1; - const gchar* _tmp2_; - gchar** _tmp3_; - gint _tmp3__length1; - const gchar* _tmp4_; - GError * _inner_error_ = NULL; -#line 364 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = self->priv->schema_names; -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1__length1 = self->priv->schema_names_length1; -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_[p]; -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = self->priv->key_names; -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3__length1 = self->priv->key_names_length1; -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_[p]; -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_get_gs_double (self, _tmp2_, _tmp4_, &_inner_error_); -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4472 "GSettingsEngine.c" - gdouble _tmp5_ = 0.0; -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp5_; -#line 4478 "GSettingsEngine.c" - } else { - gdouble _tmp6_ = 0.0; -#line 365 "/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 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp6_; -#line 4487 "GSettingsEngine.c" - } - } -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp0_; -#line 365 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 4494 "GSettingsEngine.c" -} - - -static void -gsettings_configuration_engine_real_set_double_property (ConfigurationEngine* base, - ConfigurableProperty p, - gdouble val, - GError** error) -{ - GSettingsConfigurationEngine * self; - gchar** _tmp0_; - gint _tmp0__length1; - const gchar* _tmp1_; - gchar** _tmp2_; - gint _tmp2__length1; - const gchar* _tmp3_; - 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 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = self->priv->schema_names; -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0__length1 = self->priv->schema_names_length1; -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _tmp0_[p]; -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = self->priv->key_names; -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2__length1 = self->priv->key_names_length1; -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp2_[p]; -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_set_gs_double (self, _tmp1_, _tmp3_, val, &_inner_error_); -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_propagate_error (error, _inner_error_); -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4536 "GSettingsEngine.c" - } else { -#line 369 "/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 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 369 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4544 "GSettingsEngine.c" - } - } -#line 370 "/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", p); -#line 4549 "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; - gchar* _tmp0_; - gboolean _tmp8_ = FALSE; - GError * _inner_error_ = NULL; -#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (domain != NULL, FALSE); -#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (id != NULL, FALSE); -#line 373 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (key != NULL, FALSE); -#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id); -#line 374 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_name = _tmp0_; -#line 4578 "GSettingsEngine.c" - { - gboolean _tmp1_ = FALSE; - gchar* _tmp2_; - gchar* _tmp3_; - gboolean _tmp4_; -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = gsettings_configuration_engine_make_gsettings_key (key); -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp2_; -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = gsettings_configuration_engine_get_gs_bool (self, schema_name, _tmp3_, &_inner_error_); -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp3_); -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _tmp4_; -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4596 "GSettingsEngine.c" - gboolean _tmp5_ = FALSE; -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4600 "GSettingsEngine.c" - goto __catch218_configuration_error; - } -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 377 "/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 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp5_; -#line 4611 "GSettingsEngine.c" - } -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp1_; -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 377 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 4619 "GSettingsEngine.c" - } - goto __finally218; - __catch218_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - const gchar* _tmp7_; -#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = err; -#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_ = _tmp6_->message; -#line 379 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:379: GSettingsConfigurationEngine: error: %s", _tmp7_); -#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = def; -#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 380 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 4645 "GSettingsEngine.c" - } - __finally218: -#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 376 "/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 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 376 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp8_; -#line 4656 "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; - gchar* _tmp0_; - GError * _inner_error_ = NULL; -#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (domain != NULL); -#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (id != NULL); -#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id); -#line 385 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_name = _tmp0_; -#line 4683 "GSettingsEngine.c" - { - gchar* _tmp1_; - gchar* _tmp2_; -#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = gsettings_configuration_engine_make_gsettings_key (key); -#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_; -#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_set_gs_bool (self, schema_name, _tmp2_, val, &_inner_error_); -#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp2_); -#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4699 "GSettingsEngine.c" - goto __catch219_configuration_error; - } -#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 388 "/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 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 388 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4710 "GSettingsEngine.c" - } - } - goto __finally219; - __catch219_configuration_error: - { - GError* err = NULL; - GError* _tmp3_; - const gchar* _tmp4_; -#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = err; -#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_->message; -#line 390 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:390: GSettingsConfigurationEngine: error: %s", _tmp4_); -#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 4731 "GSettingsEngine.c" - } - __finally219: -#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 387 "/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 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 387 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4744 "GSettingsEngine.c" - } -#line 384 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 4748 "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; - gchar* _tmp0_; - gdouble _tmp8_ = 0.0; - GError * _inner_error_ = NULL; -#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (domain != NULL, 0.0); -#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (id != NULL, 0.0); -#line 394 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (key != NULL, 0.0); -#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id); -#line 395 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_name = _tmp0_; -#line 4777 "GSettingsEngine.c" - { - gdouble _tmp1_ = 0.0; - gchar* _tmp2_; - gchar* _tmp3_; - gdouble _tmp4_; -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = gsettings_configuration_engine_make_gsettings_key (key); -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp2_; -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = gsettings_configuration_engine_get_gs_double (self, schema_name, _tmp3_, &_inner_error_); -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp3_); -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _tmp4_; -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4795 "GSettingsEngine.c" - gdouble _tmp5_ = 0.0; -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4799 "GSettingsEngine.c" - goto __catch220_configuration_error; - } -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 398 "/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 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp5_; -#line 4810 "GSettingsEngine.c" - } -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp1_; -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 398 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 4818 "GSettingsEngine.c" - } - goto __finally220; - __catch220_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - const gchar* _tmp7_; -#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = err; -#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_ = _tmp6_->message; -#line 400 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:400: GSettingsConfigurationEngine: error: %s", _tmp7_); -#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = def; -#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 401 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 4844 "GSettingsEngine.c" - } - __finally220: -#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 397 "/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 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 397 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp8_; -#line 4855 "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; - gchar* _tmp0_; - GError * _inner_error_ = NULL; -#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (domain != NULL); -#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (id != NULL); -#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id); -#line 406 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_name = _tmp0_; -#line 4882 "GSettingsEngine.c" - { - gchar* _tmp1_; - gchar* _tmp2_; -#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = gsettings_configuration_engine_make_gsettings_key (key); -#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_; -#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_set_gs_double (self, schema_name, _tmp2_, val, &_inner_error_); -#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp2_); -#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4898 "GSettingsEngine.c" - goto __catch221_configuration_error; - } -#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 409 "/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 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 409 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4909 "GSettingsEngine.c" - } - } - goto __finally221; - __catch221_configuration_error: - { - GError* err = NULL; - GError* _tmp3_; - const gchar* _tmp4_; -#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = err; -#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_->message; -#line 411 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:411: GSettingsConfigurationEngine: error: %s", _tmp4_); -#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 4930 "GSettingsEngine.c" - } - __finally221: -#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 408 "/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 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 408 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 4943 "GSettingsEngine.c" - } -#line 405 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 4947 "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; - gchar* _tmp0_; - gint _tmp8_ = 0; - GError * _inner_error_ = NULL; -#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (domain != NULL, 0); -#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (id != NULL, 0); -#line 415 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (key != NULL, 0); -#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id); -#line 416 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_name = _tmp0_; -#line 4976 "GSettingsEngine.c" - { - gint _tmp1_ = 0; - gchar* _tmp2_; - gchar* _tmp3_; - gint _tmp4_; -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = gsettings_configuration_engine_make_gsettings_key (key); -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp2_; -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = gsettings_configuration_engine_get_gs_int (self, schema_name, _tmp3_, &_inner_error_); -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp3_); -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _tmp4_; -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 4994 "GSettingsEngine.c" - gint _tmp5_ = 0; -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 4998 "GSettingsEngine.c" - goto __catch222_configuration_error; - } -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 419 "/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 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp5_; -#line 5009 "GSettingsEngine.c" - } -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp1_; -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 419 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 5017 "GSettingsEngine.c" - } - goto __finally222; - __catch222_configuration_error: - { - GError* err = NULL; - GError* _tmp6_; - const gchar* _tmp7_; -#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = err; -#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_ = _tmp6_->message; -#line 421 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:421: GSettingsConfigurationEngine: error: %s", _tmp7_); -#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = def; -#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 422 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 5043 "GSettingsEngine.c" - } - __finally222: -#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 418 "/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 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 418 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return _tmp8_; -#line 5054 "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; - gchar* _tmp0_; - GError * _inner_error_ = NULL; -#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (domain != NULL); -#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (id != NULL); -#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id); -#line 427 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_name = _tmp0_; -#line 5081 "GSettingsEngine.c" - { - gchar* _tmp1_; - gchar* _tmp2_; -#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = gsettings_configuration_engine_make_gsettings_key (key); -#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_; -#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_set_gs_int (self, schema_name, _tmp2_, val, &_inner_error_); -#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp2_); -#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5097 "GSettingsEngine.c" - goto __catch223_configuration_error; - } -#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 430 "/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 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 430 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 5108 "GSettingsEngine.c" - } - } - goto __finally223; - __catch223_configuration_error: - { - GError* err = NULL; - GError* _tmp3_; - const gchar* _tmp4_; -#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = err; -#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_->message; -#line 432 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:432: GSettingsConfigurationEngine: error: %s", _tmp4_); -#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 5129 "GSettingsEngine.c" - } - __finally223: -#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 429 "/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 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 429 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 5142 "GSettingsEngine.c" - } -#line 426 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 5146 "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; - gchar* _tmp0_; - GError * _inner_error_ = NULL; -#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (domain != NULL, NULL); -#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (id != NULL, NULL); -#line 436 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (key != NULL, NULL); -#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id); -#line 437 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_name = _tmp0_; -#line 5174 "GSettingsEngine.c" - { - gchar* _tmp1_ = NULL; - gchar* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; - gchar* _tmp6_; -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = gsettings_configuration_engine_make_gsettings_key (key); -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp2_; -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = gsettings_configuration_engine_get_gs_string (self, schema_name, _tmp3_, &_inner_error_); -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = _tmp4_; -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp3_); -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _tmp5_; -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5198 "GSettingsEngine.c" - goto __catch224_configuration_error; - } -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 440 "/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 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return NULL; -#line 5209 "GSettingsEngine.c" - } -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = _tmp1_; -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = NULL; -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp6_; -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp1_); -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 440 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 5223 "GSettingsEngine.c" - } - goto __finally224; - __catch224_configuration_error: - { - GError* err = NULL; - GError* _tmp7_; - const gchar* _tmp8_; - gchar* _tmp9_; -#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_ = err; -#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp8_ = _tmp7_->message; -#line 442 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:442: GSettingsConfigurationEngine: error: %s", _tmp8_); -#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp9_ = g_strdup (def); -#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp9_; -#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 443 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 5252 "GSettingsEngine.c" - } - __finally224: -#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 439 "/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 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 439 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return NULL; -#line 5263 "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; - gchar* _tmp0_; - GError * _inner_error_ = NULL; -#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (domain != NULL); -#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (id != NULL); -#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id); -#line 448 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_name = _tmp0_; -#line 5290 "GSettingsEngine.c" - { - gchar* _tmp1_; - gchar* _tmp2_; -#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = gsettings_configuration_engine_make_gsettings_key (key); -#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_; -#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_set_gs_string (self, schema_name, _tmp2_, val, &_inner_error_); -#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp2_); -#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5306 "GSettingsEngine.c" - goto __catch225_configuration_error; - } -#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 451 "/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 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 451 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 5317 "GSettingsEngine.c" - } - } - goto __finally225; - __catch225_configuration_error: - { - GError* err = NULL; - GError* _tmp3_; - const gchar* _tmp4_; -#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = err; -#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_->message; -#line 453 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:453: GSettingsConfigurationEngine: error: %s", _tmp4_); -#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 5338 "GSettingsEngine.c" - } - __finally225: -#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 450 "/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 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 450 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 5351 "GSettingsEngine.c" - } -#line 447 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 5355 "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; - gchar* _tmp0_; - GError * _inner_error_ = NULL; -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (domain != NULL); -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (id != NULL); -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (key != NULL); -#line 458 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_make_plugin_schema_name (domain, id); -#line 458 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - schema_name = _tmp0_; -#line 5381 "GSettingsEngine.c" - { - gchar* _tmp1_; - gchar* _tmp2_; -#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = gsettings_configuration_engine_make_gsettings_key (key); -#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_; -#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - gsettings_configuration_engine_reset_gs_to_default (self, schema_name, _tmp2_, &_inner_error_); -#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp2_); -#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5397 "GSettingsEngine.c" - goto __catch226_configuration_error; - } -#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 461 "/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 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 461 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 5408 "GSettingsEngine.c" - } - } - goto __finally226; - __catch226_configuration_error: - { - GError* err = NULL; - GError* _tmp3_; - const gchar* _tmp4_; -#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 463 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = err; -#line 463 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_->message; -#line 463 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:463: GSettingsConfigurationEngine: error: %s", _tmp4_); -#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 5429 "GSettingsEngine.c" - } - __finally226: -#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 460 "/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 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 460 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 5442 "GSettingsEngine.c" - } -#line 457 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (schema_name); -#line 5446 "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; - gchar* _tmp0_; - GError * _inner_error_ = NULL; -#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 467 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_val_if_fail (id != NULL, 0); -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_get_plugin_enable_disable_name (id); -#line 468 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - enable_disable_name = _tmp0_; -#line 5467 "GSettingsEngine.c" - { - FuzzyPropertyState _tmp1_ = 0; - gboolean _tmp2_ = FALSE; -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = gsettings_configuration_engine_get_gs_bool (self, GSETTINGS_CONFIGURATION_ENGINE_PLUGINS_ENABLE_DISABLE_SCHEMA_NAME, enable_disable_name, &_inner_error_); -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5477 "GSettingsEngine.c" - goto __catch227_configuration_error; - } -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (enable_disable_name); -#line 471 "/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 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return 0; -#line 5488 "GSettingsEngine.c" - } -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_tmp2_) { -#line 472 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = FUZZY_PROPERTY_STATE_ENABLED; -#line 5494 "GSettingsEngine.c" - } else { -#line 472 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = FUZZY_PROPERTY_STATE_DISABLED; -#line 5498 "GSettingsEngine.c" - } -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = _tmp1_; -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (enable_disable_name); -#line 471 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 5506 "GSettingsEngine.c" - } - goto __finally227; - __catch227_configuration_error: - { - GError* err = NULL; - GError* _tmp3_; - const gchar* _tmp4_; -#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 474 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = err; -#line 474 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = _tmp3_->message; -#line 474 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:474: GSettingsConfigurationEngine: error: %s", _tmp4_); -#line 475 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - result = FUZZY_PROPERTY_STATE_UNKNOWN; -#line 475 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 475 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (enable_disable_name); -#line 475 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return result; -#line 5532 "GSettingsEngine.c" - } - __finally227: -#line 470 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (enable_disable_name); -#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 0; -#line 5543 "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; - gchar* _tmp0_; - GError * _inner_error_ = NULL; -#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_GSETTINGS_CONFIGURATION_ENGINE, GSettingsConfigurationEngine); -#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_return_if_fail (id != NULL); -#line 480 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = gsettings_configuration_engine_get_plugin_enable_disable_name (id); -#line 480 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - enable_disable_name = _tmp0_; -#line 5564 "GSettingsEngine.c" - { -#line 483 "/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, enabled, &_inner_error_); -#line 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (_inner_error_->domain == CONFIGURATION_ERROR) { -#line 5572 "GSettingsEngine.c" - goto __catch228_configuration_error; - } -#line 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (enable_disable_name); -#line 483 "/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 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 483 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 5583 "GSettingsEngine.c" - } - } - goto __finally228; - __catch228_configuration_error: - { - GError* err = NULL; - GError* _tmp1_; - const gchar* _tmp2_; -#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 485 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = err; -#line 485 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = _tmp1_->message; -#line 485 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_critical ("GSettingsEngine.vala:485: GSettingsConfigurationEngine: error: %s", _tmp2_); -#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 5604 "GSettingsEngine.c" - } - __finally228: -#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (enable_disable_name); -#line 482 "/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 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 482 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 5617 "GSettingsEngine.c" - } -#line 479 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (enable_disable_name); -#line 5621 "GSettingsEngine.c" -} - - -void -gsettings_configuration_engine_run_gsettings_migrator (void) -{ - gchar* cmd_line = NULL; - GFile* _tmp0_; - GFile* _tmp1_; - gchar* _tmp2_; - gchar* _tmp3_; - gchar* _tmp4_; - gchar* _tmp5_; - GError * _inner_error_ = NULL; -#line 494 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp0_ = app_dirs_get_settings_migrator_bin (); -#line 494 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp1_ = _tmp0_; -#line 494 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp2_ = g_file_get_path (_tmp1_); -#line 494 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp3_ = _tmp2_; -#line 494 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp4_ = g_strconcat ("sh ", _tmp3_, NULL); -#line 494 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp5_ = _tmp4_; -#line 494 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (_tmp3_); -#line 494 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_object_unref0 (_tmp1_); -#line 494 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - cmd_line = _tmp5_; -#line 5654 "GSettingsEngine.c" - { -#line 497 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_spawn_command_line_sync (cmd_line, NULL, NULL, NULL, &_inner_error_); -#line 497 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 5660 "GSettingsEngine.c" - goto __catch229_g_error; - } - } - goto __finally229; - __catch229_g_error: - { - GError* err = NULL; - GError* _tmp6_; - const gchar* _tmp7_; -#line 496 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - err = _inner_error_; -#line 496 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _inner_error_ = NULL; -#line 499 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp6_ = err; -#line 499 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _tmp7_ = _tmp6_->message; -#line 499 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_message ("GSettingsEngine.vala:499: Error running shotwell-settings-migrator: %s", _tmp7_); -#line 496 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_error_free0 (err); -#line 5682 "GSettingsEngine.c" - } - __finally229: -#line 496 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 496 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (cmd_line); -#line 496 "/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 496 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - g_clear_error (&_inner_error_); -#line 496 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - return; -#line 5695 "GSettingsEngine.c" - } -#line 493 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - _g_free0 (cmd_line); -#line 5699 "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 5712 "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_enum_property = (gint (*) (ConfigurationEngine *, ConfigurableProperty, GError**)) gsettings_configuration_engine_real_get_enum_property; -#line 7 "/home/jens/Source/shotwell/src/config/GSettingsEngine.vala" - iface->set_enum_property = (void (*) (ConfigurationEngine *, ConfigurableProperty, gint, GError**)) gsettings_configuration_engine_real_set_enum_property; -#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 5765 "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 5774 "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 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 5790 "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); -} - - - diff --git a/src/config/GSettingsEngine.vala b/src/config/GSettingsEngine.vala index 89116a7..a3d4e04 100644 --- a/src/config/GSettingsEngine.vala +++ b/src/config/GSettingsEngine.vala @@ -25,12 +25,13 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private string[] schema_names; private string[] key_names; + private Gee.HashMap<string, Settings> settings_cache = new Gee.HashMap<string, Settings>(); public GSettingsConfigurationEngine() { schema_names = new string[ConfigurableProperty.NUM_PROPERTIES]; schema_names[ConfigurableProperty.AUTO_IMPORT_FROM_LIBRARY] = FILES_PREFS_SCHEMA_NAME; - schema_names[ConfigurableProperty.BG_COLOR_NAME] = UI_PREFS_SCHEMA_NAME; + schema_names[ConfigurableProperty.GTK_THEME_VARIANT] = UI_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.TRANSPARENT_BACKGROUND_TYPE] = UI_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.TRANSPARENT_BACKGROUND_COLOR] = UI_PREFS_SCHEMA_NAME; schema_names[ConfigurableProperty.COMMIT_METADATA_TO_MASTERS] = FILES_PREFS_SCHEMA_NAME; @@ -104,7 +105,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { key_names = new string[ConfigurableProperty.NUM_PROPERTIES]; key_names[ConfigurableProperty.AUTO_IMPORT_FROM_LIBRARY] = "auto-import"; - key_names[ConfigurableProperty.BG_COLOR_NAME] = "background-color"; + key_names[ConfigurableProperty.GTK_THEME_VARIANT] = "use-dark-theme"; key_names[ConfigurableProperty.TRANSPARENT_BACKGROUND_TYPE] = "transparent-background-type"; key_names[ConfigurableProperty.TRANSPARENT_BACKGROUND_COLOR] = "transparent-background-color"; key_names[ConfigurableProperty.COMMIT_METADATA_TO_MASTERS] = "commit-metadata"; @@ -176,6 +177,14 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { key_names[ConfigurableProperty.VIDEO_INTERPRETER_STATE_COOKIE] = "interpreter-state-cookie"; } + private Settings get_settings(string schema) { + if (!this.settings_cache.has_key(schema)) { + this.settings_cache[schema] = new Settings(schema); + } + + return this.settings_cache[schema]; + } + private void check_key_valid(string schema, string key) throws ConfigurationError { var schema_source = SettingsSchemaSource.get_default (); var settings_scheme = schema_source.lookup (schema, true); @@ -191,7 +200,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private bool get_gs_bool(string schema, string key) throws ConfigurationError { check_key_valid(schema, key); - Settings schema_object = new Settings(schema); + Settings schema_object = get_settings(schema); return schema_object.get_boolean(key); } @@ -199,7 +208,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private void set_gs_bool(string schema, string key, bool value) throws ConfigurationError { check_key_valid(schema, key); - Settings schema_object = new Settings(schema); + Settings schema_object = get_settings(schema); schema_object.set_boolean(key, value); } @@ -207,21 +216,21 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private void set_gs_enum (string schema, string key, int value) throws ConfigurationError { check_key_valid (schema, key); - var schema_object = new Settings (schema); + var schema_object = get_settings (schema); schema_object.set_enum (key, value); } private int get_gs_enum (string schema, string key) throws ConfigurationError { check_key_valid (schema, key); - var schema_object = new Settings (schema); + var schema_object = get_settings (schema); return schema_object.get_enum (key); } private int get_gs_int(string schema, string key) throws ConfigurationError { check_key_valid(schema, key); - Settings schema_object = new Settings(schema); + Settings schema_object = get_settings(schema); return schema_object.get_int(key); } @@ -229,7 +238,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private void set_gs_int(string schema, string key, int value) throws ConfigurationError { check_key_valid(schema, key); - Settings schema_object = new Settings(schema); + Settings schema_object = get_settings(schema); schema_object.set_int(key, value); } @@ -237,7 +246,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private double get_gs_double(string schema, string key) throws ConfigurationError { check_key_valid(schema, key); - Settings schema_object = new Settings(schema); + Settings schema_object = get_settings(schema); return schema_object.get_double(key); } @@ -245,7 +254,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private void set_gs_double(string schema, string key, double value) throws ConfigurationError { check_key_valid(schema, key); - Settings schema_object = new Settings(schema); + Settings schema_object = get_settings(schema); schema_object.set_double(key, value); } @@ -253,7 +262,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private string get_gs_string(string schema, string key) throws ConfigurationError { check_key_valid(schema, key); - Settings schema_object = new Settings(schema); + Settings schema_object = get_settings(schema); return schema_object.get_string(key); } @@ -261,7 +270,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private void set_gs_string(string schema, string key, string value) throws ConfigurationError { check_key_valid(schema, key); - Settings schema_object = new Settings(schema); + Settings schema_object = get_settings(schema); schema_object.set_string(key, value); } @@ -269,7 +278,7 @@ public class GSettingsConfigurationEngine : ConfigurationEngine, GLib.Object { private void reset_gs_to_default(string schema, string key) throws ConfigurationError { check_key_valid(schema, key); - Settings schema_object = new Settings(schema); + Settings schema_object = get_settings(schema); schema_object.reset(key); } |