/* ConfigurationInterfaces.c generated by valac 0.32.1, the Vala compiler * generated from ConfigurationInterfaces.vala, do not modify */ /* Copyright 2016 Software Freedom Conservancy Inc. * * This software is licensed under the GNU LGPL (version 2.1 or later). * See the COPYING file in this distribution. */ #include #include #include #include #include #include #include #define TYPE_FUZZY_PROPERTY_STATE (fuzzy_property_state_get_type ()) #define TYPE_CONFIGURABLE_PROPERTY (configurable_property_get_type ()) #define TYPE_CONFIGURATION_ENGINE (configuration_engine_get_type ()) #define CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_ENGINE, ConfigurationEngine)) #define IS_CONFIGURATION_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_ENGINE)) #define CONFIGURATION_ENGINE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_CONFIGURATION_ENGINE, ConfigurationEngineIface)) typedef struct _ConfigurationEngine ConfigurationEngine; typedef struct _ConfigurationEngineIface ConfigurationEngineIface; #define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ()) #define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade)) #define CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass)) #define IS_CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_FACADE)) #define IS_CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONFIGURATION_FACADE)) #define CONFIGURATION_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass)) typedef struct _ConfigurationFacade ConfigurationFacade; typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass; typedef struct _ConfigurationFacadePrivate ConfigurationFacadePrivate; #define TYPE_DIMENSIONS (dimensions_get_type ()) typedef struct _Dimensions Dimensions; #define TYPE_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 _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL))) #define _g_free0(var) (var = (g_free (var), NULL)) #define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL))) typedef enum { CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE, CONFIGURATION_ERROR_ENGINE_ERROR } ConfigurationError; #define CONFIGURATION_ERROR configuration_error_quark () typedef enum { FUZZY_PROPERTY_STATE_ENABLED, FUZZY_PROPERTY_STATE_DISABLED, FUZZY_PROPERTY_STATE_UNKNOWN } FuzzyPropertyState; typedef enum { CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY = 0, CONFIGURABLE_PROPERTY_BG_COLOR_NAME, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, CONFIGURABLE_PROPERTY_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); 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; }; 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)) enum { CONFIGURATION_FACADE_DUMMY_PROPERTY }; ConfigurationFacade* configuration_facade_construct (GType object_type, ConfigurationEngine* engine); static void configuration_facade_on_property_changed (ConfigurationFacade* self, ConfigurableProperty p); static void _configuration_facade_on_property_changed_configuration_engine_property_changed (ConfigurationEngine* _sender, ConfigurableProperty p, gpointer self); ConfigurationEngine* configuration_facade_get_engine (ConfigurationFacade* self); void configuration_facade_on_configuration_error (ConfigurationFacade* self, GError* err); gboolean configuration_facade_get_auto_import_from_library (ConfigurationFacade* self); static gboolean configuration_facade_real_get_auto_import_from_library (ConfigurationFacade* self); void configuration_facade_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import); static void configuration_facade_real_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import); gchar* configuration_facade_get_bg_color_name (ConfigurationFacade* self); static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade* self); void configuration_facade_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name); static void configuration_facade_real_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name); gboolean configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self); static gboolean configuration_facade_real_get_commit_metadata_to_masters (ConfigurationFacade* self); void configuration_facade_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata); static void configuration_facade_real_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata); gchar* configuration_facade_get_desktop_background (ConfigurationFacade* self); static gchar* configuration_facade_real_get_desktop_background (ConfigurationFacade* self); void configuration_facade_set_desktop_background (ConfigurationFacade* self, const gchar* filename); static void configuration_facade_real_set_desktop_background (ConfigurationFacade* self, const gchar* filename); gchar* configuration_facade_get_screensaver (ConfigurationFacade* self); static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* self); void configuration_facade_set_screensaver (ConfigurationFacade* self, const gchar* filename); static void configuration_facade_real_set_screensaver (ConfigurationFacade* self, const gchar* filename); gchar* configuration_facade_get_directory_pattern (ConfigurationFacade* self); static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFacade* self); void configuration_facade_set_directory_pattern (ConfigurationFacade* self, const gchar* s); static void configuration_facade_real_set_directory_pattern (ConfigurationFacade* self, const gchar* s); gchar* configuration_facade_get_directory_pattern_custom (ConfigurationFacade* self); static gchar* configuration_facade_real_get_directory_pattern_custom (ConfigurationFacade* self); void configuration_facade_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s); static void configuration_facade_real_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s); void configuration_facade_get_direct_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions); static void configuration_facade_real_get_direct_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions); void dimensions_init (Dimensions *self, gint width, gint height); void configuration_facade_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions); static void configuration_facade_real_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions); gboolean configuration_facade_get_display_basic_properties (ConfigurationFacade* self); static gboolean configuration_facade_real_get_display_basic_properties (ConfigurationFacade* self); void configuration_facade_set_display_basic_properties (ConfigurationFacade* self, gboolean display); static void configuration_facade_real_set_display_basic_properties (ConfigurationFacade* self, gboolean display); gboolean configuration_facade_get_display_extended_properties (ConfigurationFacade* self); static gboolean configuration_facade_real_get_display_extended_properties (ConfigurationFacade* self); void configuration_facade_set_display_extended_properties (ConfigurationFacade* self, gboolean display); static void configuration_facade_real_set_display_extended_properties (ConfigurationFacade* self, gboolean display); gboolean configuration_facade_get_display_sidebar (ConfigurationFacade* self); static gboolean configuration_facade_real_get_display_sidebar (ConfigurationFacade* self); void configuration_facade_set_display_sidebar (ConfigurationFacade* self, gboolean display); static void configuration_facade_real_set_display_sidebar (ConfigurationFacade* self, gboolean display); gboolean configuration_facade_get_display_toolbar (ConfigurationFacade* self); static gboolean configuration_facade_real_get_display_toolbar (ConfigurationFacade* self); void configuration_facade_set_display_toolbar (ConfigurationFacade* self, gboolean display); static void configuration_facade_real_set_display_toolbar (ConfigurationFacade* self, gboolean display); gboolean configuration_facade_get_display_search_bar (ConfigurationFacade* self); static gboolean configuration_facade_real_get_display_search_bar (ConfigurationFacade* self); void configuration_facade_set_display_search_bar (ConfigurationFacade* self, gboolean display); static void configuration_facade_real_set_display_search_bar (ConfigurationFacade* self, gboolean display); gboolean configuration_facade_get_display_photo_ratings (ConfigurationFacade* self); static gboolean configuration_facade_real_get_display_photo_ratings (ConfigurationFacade* self); void configuration_facade_set_display_photo_ratings (ConfigurationFacade* self, gboolean display); static void configuration_facade_real_set_display_photo_ratings (ConfigurationFacade* self, gboolean display); gboolean configuration_facade_get_display_photo_tags (ConfigurationFacade* self); static gboolean configuration_facade_real_get_display_photo_tags (ConfigurationFacade* self); void configuration_facade_set_display_photo_tags (ConfigurationFacade* self, gboolean display); static void configuration_facade_real_set_display_photo_tags (ConfigurationFacade* self, gboolean display); gboolean configuration_facade_get_display_photo_titles (ConfigurationFacade* self); static gboolean configuration_facade_real_get_display_photo_titles (ConfigurationFacade* self); void configuration_facade_set_display_photo_titles (ConfigurationFacade* self, gboolean display); static void configuration_facade_real_set_display_photo_titles (ConfigurationFacade* self, gboolean display); gboolean configuration_facade_get_display_photo_comments (ConfigurationFacade* self); static gboolean configuration_facade_real_get_display_photo_comments (ConfigurationFacade* self); void configuration_facade_set_display_photo_comments (ConfigurationFacade* self, gboolean display); static void configuration_facade_real_set_display_photo_comments (ConfigurationFacade* self, gboolean display); gboolean configuration_facade_get_display_event_comments (ConfigurationFacade* self); static gboolean configuration_facade_real_get_display_event_comments (ConfigurationFacade* self); void configuration_facade_set_display_event_comments (ConfigurationFacade* self, gboolean display); static void configuration_facade_real_set_display_event_comments (ConfigurationFacade* self, gboolean display); void configuration_facade_get_event_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by); static void configuration_facade_real_get_event_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by); void configuration_facade_set_event_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by); static void configuration_facade_real_set_event_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by); gboolean configuration_facade_get_events_sort_ascending (ConfigurationFacade* self); static gboolean configuration_facade_real_get_events_sort_ascending (ConfigurationFacade* self); void configuration_facade_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort); static void configuration_facade_real_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort); gchar* configuration_facade_get_external_photo_app (ConfigurationFacade* self); static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFacade* self); void configuration_facade_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app); static void configuration_facade_real_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app); gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self); static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacade* self); void configuration_facade_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app); static void configuration_facade_real_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app); 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); 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 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" switch (self) { #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY: #line 706 "ConfigurationInterfaces.c" { gchar* _tmp0_ = NULL; #line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = g_strdup ("AUTO_IMPORT_FROM_LIBRARY"); #line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 99 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 715 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_BG_COLOR_NAME: #line 719 "ConfigurationInterfaces.c" { gchar* _tmp1_ = NULL; #line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = g_strdup ("BG_COLOR_NAME"); #line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp1_; #line 102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 728 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS: #line 732 "ConfigurationInterfaces.c" { gchar* _tmp2_ = NULL; #line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = g_strdup ("COMMIT_METADATA_TO_MASTERS"); #line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp2_; #line 105 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 741 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE: #line 745 "ConfigurationInterfaces.c" { gchar* _tmp3_ = NULL; #line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = g_strdup ("DESKTOP_BACKGROUND_FILE"); #line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp3_; #line 108 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 754 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE: #line 758 "ConfigurationInterfaces.c" { gchar* _tmp4_ = NULL; #line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = g_strdup ("DESKTOP_BACKGROUND_MODE"); #line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp4_; #line 111 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 767 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_SCREENSAVER_FILE: #line 771 "ConfigurationInterfaces.c" { gchar* _tmp5_ = NULL; #line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = g_strdup ("SCREENSAVER_FILE"); #line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 780 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_SCREENSAVER_MODE: #line 784 "ConfigurationInterfaces.c" { gchar* _tmp6_ = NULL; #line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = g_strdup ("SCREENSAVER_MODE"); #line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp6_; #line 117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 793 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN: #line 797 "ConfigurationInterfaces.c" { gchar* _tmp7_ = NULL; #line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup ("DIRECTORY_PATTERN"); #line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 120 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 806 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM: #line 810 "ConfigurationInterfaces.c" { gchar* _tmp8_ = NULL; #line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = g_strdup ("DIRECTORY_PATTERN_CUSTOM"); #line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp8_; #line 123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 819 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT: #line 823 "ConfigurationInterfaces.c" { gchar* _tmp9_ = NULL; #line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = g_strdup ("DIRECT_WINDOW_HEIGHT"); #line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp9_; #line 126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 832 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE: #line 836 "ConfigurationInterfaces.c" { gchar* _tmp10_ = NULL; #line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = g_strdup ("DIRECT_WINDOW_MAXIMIZE"); #line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp10_; #line 129 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 845 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH: #line 849 "ConfigurationInterfaces.c" { gchar* _tmp11_ = NULL; #line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = g_strdup ("DIRECT_WINDOW_WIDTH"); #line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp11_; #line 132 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 858 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES: #line 862 "ConfigurationInterfaces.c" { gchar* _tmp12_ = NULL; #line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp12_ = g_strdup ("DISPLAY_BASIC_PROPERTIES"); #line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp12_; #line 135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 871 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES: #line 875 "ConfigurationInterfaces.c" { gchar* _tmp13_ = NULL; #line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp13_ = g_strdup ("DISPLAY_EXTENDED_PROPERTIES"); #line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp13_; #line 138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 884 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR: #line 888 "ConfigurationInterfaces.c" { gchar* _tmp14_ = NULL; #line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp14_ = g_strdup ("DISPLAY_SIDEBAR"); #line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp14_; #line 141 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 897 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR: #line 901 "ConfigurationInterfaces.c" { gchar* _tmp15_ = NULL; #line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp15_ = g_strdup ("DISPLAY_TOOLBAR"); #line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp15_; #line 144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 910 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR: #line 914 "ConfigurationInterfaces.c" { gchar* _tmp16_ = NULL; #line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp16_ = g_strdup ("DISPLAY_SEARCH_BAR"); #line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp16_; #line 147 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 923 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS: #line 927 "ConfigurationInterfaces.c" { gchar* _tmp17_ = NULL; #line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp17_ = g_strdup ("DISPLAY_PHOTO_RATINGS"); #line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp17_; #line 150 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 936 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS: #line 940 "ConfigurationInterfaces.c" { gchar* _tmp18_ = NULL; #line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp18_ = g_strdup ("DISPLAY_PHOTO_TAGS"); #line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp18_; #line 153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 949 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES: #line 953 "ConfigurationInterfaces.c" { gchar* _tmp19_ = NULL; #line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp19_ = g_strdup ("DISPLAY_PHOTO_TITLES"); #line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp19_; #line 156 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 962 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS: #line 966 "ConfigurationInterfaces.c" { gchar* _tmp20_ = NULL; #line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp20_ = g_strdup ("DISPLAY_PHOTO_COMMENTS"); #line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp20_; #line 159 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 975 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS: #line 979 "ConfigurationInterfaces.c" { gchar* _tmp21_ = NULL; #line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp21_ = g_strdup ("DISPLAY_EVENT_COMMENTS"); #line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp21_; #line 162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 988 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING: #line 992 "ConfigurationInterfaces.c" { gchar* _tmp22_ = NULL; #line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp22_ = g_strdup ("EVENT_PHOTOS_SORT_ASCENDING"); #line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp22_; #line 165 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1001 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY: #line 1005 "ConfigurationInterfaces.c" { gchar* _tmp23_ = NULL; #line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp23_ = g_strdup ("EVENT_PHOTOS_SORT_BY"); #line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp23_; #line 168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1014 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING: #line 1018 "ConfigurationInterfaces.c" { gchar* _tmp24_ = NULL; #line 171 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp24_ = g_strdup ("EVENTS_SORT_ASCENDING"); #line 171 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp24_; #line 171 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1027 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT: #line 1031 "ConfigurationInterfaces.c" { gchar* _tmp25_ = NULL; #line 174 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp25_ = g_strdup ("EXPORT_CONSTRAINT"); #line 174 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp25_; #line 174 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1040 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE: #line 1044 "ConfigurationInterfaces.c" { gchar* _tmp26_ = NULL; #line 177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp26_ = g_strdup ("EXPORT_EXPORT_FORMAT_MODE"); #line 177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp26_; #line 177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1053 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA: #line 1057 "ConfigurationInterfaces.c" { gchar* _tmp27_ = NULL; #line 180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp27_ = g_strdup ("EXPORT_EXPORT_METADATA"); #line 180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp27_; #line 180 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1066 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT: #line 1070 "ConfigurationInterfaces.c" { gchar* _tmp28_ = NULL; #line 183 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp28_ = g_strdup ("EXPORT_PHOTO_FILE_FORMAT"); #line 183 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp28_; #line 183 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1079 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXPORT_QUALITY: #line 1083 "ConfigurationInterfaces.c" { gchar* _tmp29_ = NULL; #line 186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp29_ = g_strdup ("EXPORT_QUALITY"); #line 186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp29_; #line 186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1092 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXPORT_SCALE: #line 1096 "ConfigurationInterfaces.c" { gchar* _tmp30_ = NULL; #line 189 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp30_ = g_strdup ("EXPORT_SCALE"); #line 189 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp30_; #line 189 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1105 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP: #line 1109 "ConfigurationInterfaces.c" { gchar* _tmp31_ = NULL; #line 192 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp31_ = g_strdup ("EXTERNAL_PHOTO_APP"); #line 192 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp31_; #line 192 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1118 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP: #line 1122 "ConfigurationInterfaces.c" { gchar* _tmp32_ = NULL; #line 195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp32_ = g_strdup ("EXTERNAL_RAW_APP"); #line 195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp32_; #line 195 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1131 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED: #line 1135 "ConfigurationInterfaces.c" { gchar* _tmp33_ = NULL; #line 198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp33_ = g_strdup ("HIDE_PHOTOS_ALREADY_IMPORTED"); #line 198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp33_; #line 198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1144 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_IMPORT_DIR: #line 1148 "ConfigurationInterfaces.c" { gchar* _tmp34_ = NULL; #line 201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp34_ = g_strdup ("IMPORT_DIR"); #line 201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp34_; #line 201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1157 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_KEEP_RELATIVITY: #line 1161 "ConfigurationInterfaces.c" { gchar* _tmp35_ = NULL; #line 204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp35_ = g_strdup ("KEEP_RELATIVITY"); #line 204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp35_; #line 204 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1170 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT: #line 1174 "ConfigurationInterfaces.c" { gchar* _tmp36_ = NULL; #line 207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp36_ = g_strdup ("LAST_CROP_HEIGHT"); #line 207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp36_; #line 207 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1183 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE: #line 1187 "ConfigurationInterfaces.c" { gchar* _tmp37_ = NULL; #line 210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp37_ = g_strdup ("LAST_CROP_MENU_CHOICE"); #line 210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp37_; #line 210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1196 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH: #line 1200 "ConfigurationInterfaces.c" { gchar* _tmp38_ = NULL; #line 213 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp38_ = g_strdup ("LAST_CROP_WIDTH"); #line 213 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp38_; #line 213 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1209 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_LAST_USED_SERVICE: #line 1213 "ConfigurationInterfaces.c" { gchar* _tmp39_ = NULL; #line 216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp39_ = g_strdup ("LAST_USED_SERVICE"); #line 216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp39_; #line 216 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1222 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE: #line 1226 "ConfigurationInterfaces.c" { gchar* _tmp40_ = NULL; #line 219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp40_ = g_strdup ("LAST_USED_DATAIMPORTS_SERVICE"); #line 219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp40_; #line 219 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1235 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING: #line 1239 "ConfigurationInterfaces.c" { gchar* _tmp41_ = NULL; #line 222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp41_ = g_strdup ("LIBRARY_PHOTOS_SORT_ASCENDING"); #line 222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp41_; #line 222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1248 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY: #line 1252 "ConfigurationInterfaces.c" { gchar* _tmp42_ = NULL; #line 225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp42_ = g_strdup ("LIBRARY_PHOTOS_SORT_BY"); #line 225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp42_; #line 225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1261 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT: #line 1265 "ConfigurationInterfaces.c" { gchar* _tmp43_ = NULL; #line 228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp43_ = g_strdup ("LIBRARY_WINDOW_HEIGHT"); #line 228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp43_; #line 228 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1274 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE: #line 1278 "ConfigurationInterfaces.c" { gchar* _tmp44_ = NULL; #line 231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp44_ = g_strdup ("LIBRARY_WINDOW_MAXIMIZE"); #line 231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp44_; #line 231 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1287 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH: #line 1291 "ConfigurationInterfaces.c" { gchar* _tmp45_ = NULL; #line 234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp45_ = g_strdup ("LIBRARY_WINDOW_WIDTH"); #line 234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp45_; #line 234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1300 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS: #line 1304 "ConfigurationInterfaces.c" { gchar* _tmp46_ = NULL; #line 237 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp46_ = g_strdup ("MODIFY_ORIGINALS"); #line 237 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp46_; #line 237 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1313 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE: #line 1317 "ConfigurationInterfaces.c" { gchar* _tmp47_ = NULL; #line 240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp47_ = g_strdup ("PHOTO_THUMBNAIL_SCALE"); #line 240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp47_; #line 240 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1326 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE: #line 1330 "ConfigurationInterfaces.c" { gchar* _tmp48_ = NULL; #line 243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp48_ = g_strdup ("PIN_TOOLBAR_STATE"); #line 243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp48_; #line 243 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1339 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT: #line 1343 "ConfigurationInterfaces.c" { gchar* _tmp49_ = NULL; #line 246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp49_ = g_strdup ("PRINTING_CONTENT_HEIGHT"); #line 246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp49_; #line 246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1352 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT: #line 1356 "ConfigurationInterfaces.c" { gchar* _tmp50_ = NULL; #line 249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp50_ = g_strdup ("PRINTING_CONTENT_LAYOUT"); #line 249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp50_; #line 249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1365 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI: #line 1369 "ConfigurationInterfaces.c" { gchar* _tmp51_ = NULL; #line 252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp51_ = g_strdup ("PRINTING_CONTENT_PPI"); #line 252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp51_; #line 252 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1378 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS: #line 1382 "ConfigurationInterfaces.c" { gchar* _tmp52_ = NULL; #line 255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp52_ = g_strdup ("PRINTING_CONTENT_UNITS"); #line 255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp52_; #line 255 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1391 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH: #line 1395 "ConfigurationInterfaces.c" { gchar* _tmp53_ = NULL; #line 258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp53_ = g_strdup ("PRINTING_CONTENT_WIDTH"); #line 258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp53_; #line 258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1404 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE: #line 1408 "ConfigurationInterfaces.c" { gchar* _tmp54_ = NULL; #line 261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp54_ = g_strdup ("PRINTING_IMAGES_PER_PAGE"); #line 261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp54_; #line 261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1417 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO: #line 1421 "ConfigurationInterfaces.c" { gchar* _tmp55_ = NULL; #line 264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp55_ = g_strdup ("PRINTING_MATCH_ASPECT_RATIO"); #line 264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp55_; #line 264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1430 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES: #line 1434 "ConfigurationInterfaces.c" { gchar* _tmp56_ = NULL; #line 267 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp56_ = g_strdup ("PRINTING_PRINT_TITLES"); #line 267 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp56_; #line 267 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1443 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION: #line 1447 "ConfigurationInterfaces.c" { gchar* _tmp57_ = NULL; #line 270 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp57_ = g_strdup ("PRINTING_SIZE_SELECTION"); #line 270 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp57_; #line 270 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1456 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT: #line 1460 "ConfigurationInterfaces.c" { gchar* _tmp58_ = NULL; #line 273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp58_ = g_strdup ("PRINTING_TITLES_FONT"); #line 273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp58_; #line 273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1469 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT: #line 1473 "ConfigurationInterfaces.c" { gchar* _tmp59_ = NULL; #line 276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp59_ = g_strdup ("RAW_DEVELOPER_DEFAULT"); #line 276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp59_; #line 276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1482 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG: #line 1486 "ConfigurationInterfaces.c" { gchar* _tmp60_ = NULL; #line 279 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp60_ = g_strdup ("SHOW_WELCOME_DIALOG"); #line 279 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp60_; #line 279 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1495 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_SIDEBAR_POSITION: #line 1499 "ConfigurationInterfaces.c" { gchar* _tmp61_ = NULL; #line 282 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp61_ = g_strdup ("SIDEBAR_POSITION"); #line 282 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp61_; #line 282 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1508 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY: #line 1512 "ConfigurationInterfaces.c" { gchar* _tmp62_ = NULL; #line 285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp62_ = g_strdup ("SLIDESHOW_DELAY"); #line 285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp62_; #line 285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1521 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY: #line 1525 "ConfigurationInterfaces.c" { gchar* _tmp63_ = NULL; #line 288 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp63_ = g_strdup ("SLIDESHOW_TRANSITION_DELAY"); #line 288 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp63_; #line 288 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1534 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID: #line 1538 "ConfigurationInterfaces.c" { gchar* _tmp64_ = NULL; #line 291 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp64_ = g_strdup ("SLIDESHOW_TRANSITION_EFFECT_ID"); #line 291 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp64_; #line 291 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1547 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE: #line 1551 "ConfigurationInterfaces.c" { gchar* _tmp65_ = NULL; #line 294 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp65_ = g_strdup ("SLIDESHOW_SHOW_TITLE"); #line 294 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp65_; #line 294 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1560 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME: #line 1564 "ConfigurationInterfaces.c" { gchar* _tmp66_ = NULL; #line 297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp66_ = g_strdup ("USE_24_HOUR_TIME"); #line 297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp66_; #line 297 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1573 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES: #line 1577 "ConfigurationInterfaces.c" { gchar* _tmp67_ = NULL; #line 300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp67_ = g_strdup ("USE_LOWERCASE_FILENAMES"); #line 300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp67_; #line 300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1586 "ConfigurationInterfaces.c" } #line 97 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE: #line 1590 "ConfigurationInterfaces.c" { gchar* _tmp68_ = NULL; #line 303 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp68_ = g_strdup ("VIDEO_INTERPRETER_STATE_COOKIE"); #line 303 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp68_; #line 303 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1599 "ConfigurationInterfaces.c" } default: { #line 306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_error ("ConfigurationInterfaces.vala:306: unknown ConfigurableProperty enumera" \ "tion value"); #line 1605 "ConfigurationInterfaces.c" } } } GType configurable_property_get_type (void) { static volatile gsize configurable_property_type_id__volatile = 0; if (g_once_init_enter (&configurable_property_type_id__volatile)) { static const GEnumValue values[] = {{CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, "CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY", "auto-import-from-library"}, {CONFIGURABLE_PROPERTY_BG_COLOR_NAME, "CONFIGURABLE_PROPERTY_BG_COLOR_NAME", "bg-color-name"}, {CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, "CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS", "commit-metadata-to-masters"}, {CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, "CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE", "desktop-background-file"}, {CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE", "desktop-background-mode"}, {CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, "CONFIGURABLE_PROPERTY_SCREENSAVER_FILE", "screensaver-file"}, {CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "CONFIGURABLE_PROPERTY_SCREENSAVER_MODE", "screensaver-mode"}, {CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, "CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN", "directory-pattern"}, {CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, "CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM", "directory-pattern-custom"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT", "direct-window-height"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE", "direct-window-maximize"}, {CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, "CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH", "direct-window-width"}, {CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, "CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES", "display-basic-properties"}, {CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, "CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS", "display-event-comments"}, {CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, "CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES", "display-extended-properties"}, {CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, "CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR", "display-sidebar"}, {CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, "CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR", "display-toolbar"}, {CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, "CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR", "display-search-bar"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS", "display-photo-ratings"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS", "display-photo-tags"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES", "display-photo-titles"}, {CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, "CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS", "display-photo-comments"}, {CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING", "event-photos-sort-ascending"}, {CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, "CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY", "event-photos-sort-by"}, {CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, "CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING", "events-sort-ascending"}, {CONFIGURABLE_PROPERTY_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 314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); #line 314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_name (self); #line 1628 "ConfigurationInterfaces.c" } gint configuration_engine_get_int_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { #line 316 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); #line 316 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_int_property (self, p, error); #line 1637 "ConfigurationInterfaces.c" } void configuration_engine_set_int_property (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error) { #line 317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); #line 317 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_int_property (self, p, val, error); #line 1646 "ConfigurationInterfaces.c" } gint configuration_engine_get_enum_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { #line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); #line 319 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_enum_property (self, p, error); #line 1655 "ConfigurationInterfaces.c" } void configuration_engine_set_enum_property (ConfigurationEngine* self, ConfigurableProperty p, gint val, GError** error) { #line 320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); #line 320 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_enum_property (self, p, val, error); #line 1664 "ConfigurationInterfaces.c" } gchar* configuration_engine_get_string_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { #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_string_property (self, p, error); #line 1673 "ConfigurationInterfaces.c" } void configuration_engine_set_string_property (ConfigurationEngine* self, ConfigurableProperty p, const gchar* val, GError** error) { #line 323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); #line 323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_string_property (self, p, val, error); #line 1682 "ConfigurationInterfaces.c" } gboolean configuration_engine_get_bool_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { #line 325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), FALSE); #line 325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_bool_property (self, p, error); #line 1691 "ConfigurationInterfaces.c" } void configuration_engine_set_bool_property (ConfigurationEngine* self, ConfigurableProperty p, gboolean val, GError** error) { #line 326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); #line 326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_bool_property (self, p, val, error); #line 1700 "ConfigurationInterfaces.c" } gdouble configuration_engine_get_double_property (ConfigurationEngine* self, ConfigurableProperty p, GError** error) { #line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0.0); #line 328 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_double_property (self, p, error); #line 1709 "ConfigurationInterfaces.c" } void configuration_engine_set_double_property (ConfigurationEngine* self, ConfigurableProperty p, gdouble val, GError** error) { #line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); #line 329 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_double_property (self, p, val, error); #line 1718 "ConfigurationInterfaces.c" } gboolean configuration_engine_get_plugin_bool (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) { #line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), FALSE); #line 331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_bool (self, domain, id, key, def); #line 1727 "ConfigurationInterfaces.c" } void configuration_engine_set_plugin_bool (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) { #line 332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); #line 332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_bool (self, domain, id, key, val); #line 1736 "ConfigurationInterfaces.c" } gdouble configuration_engine_get_plugin_double (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) { #line 333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0.0); #line 333 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_double (self, domain, id, key, def); #line 1745 "ConfigurationInterfaces.c" } void configuration_engine_set_plugin_double (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) { #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_plugin_double (self, domain, id, key, val); #line 1754 "ConfigurationInterfaces.c" } gint configuration_engine_get_plugin_int (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint def) { #line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); #line 335 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_int (self, domain, id, key, def); #line 1763 "ConfigurationInterfaces.c" } void configuration_engine_set_plugin_int (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, gint val) { #line 336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); #line 336 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_int (self, domain, id, key, val); #line 1772 "ConfigurationInterfaces.c" } gchar* configuration_engine_get_plugin_string (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) { #line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), NULL); #line 337 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->get_plugin_string (self, domain, id, key, def); #line 1781 "ConfigurationInterfaces.c" } void configuration_engine_set_plugin_string (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) { #line 338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); #line 338 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->set_plugin_string (self, domain, id, key, val); #line 1790 "ConfigurationInterfaces.c" } void configuration_engine_unset_plugin_key (ConfigurationEngine* self, const gchar* domain, const gchar* id, const gchar* key) { #line 339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_ENGINE (self)); #line 339 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_ENGINE_GET_INTERFACE (self)->unset_plugin_key (self, domain, id, key); #line 1799 "ConfigurationInterfaces.c" } FuzzyPropertyState configuration_engine_is_plugin_enabled (ConfigurationEngine* self, const gchar* id) { #line 341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (self), 0); #line 341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_ENGINE_GET_INTERFACE (self)->is_plugin_enabled (self, id); #line 1808 "ConfigurationInterfaces.c" } void configuration_engine_set_plugin_enabled (ConfigurationEngine* self, const gchar* id, gboolean enabled) { #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_enabled (self, id, enabled); #line 1817 "ConfigurationInterfaces.c" } static void configuration_engine_base_init (ConfigurationEngineIface * iface) { #line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" static gboolean initialized = FALSE; #line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (!initialized) { #line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" initialized = TRUE; #line 311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("property_changed", TYPE_CONFIGURATION_ENGINE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__ENUM, G_TYPE_NONE, 1, TYPE_CONFIGURABLE_PROPERTY); #line 1830 "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 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return self ? g_object_ref (self) : NULL; #line 1851 "ConfigurationInterfaces.c" } static void _configuration_facade_on_property_changed_configuration_engine_property_changed (ConfigurationEngine* _sender, ConfigurableProperty p, gpointer self) { #line 358 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_property_changed ((ConfigurationFacade*) self, p); #line 1858 "ConfigurationInterfaces.c" } ConfigurationFacade* configuration_facade_construct (GType object_type, ConfigurationEngine* engine) { ConfigurationFacade * self = NULL; ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; #line 355 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_ENGINE (engine), NULL); #line 355 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" self = (ConfigurationFacade*) g_object_new (object_type, NULL); #line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = engine; #line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _g_object_ref0 (_tmp0_); #line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (self->priv->engine); #line 356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" self->priv->engine = _tmp1_; #line 358 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = engine; #line 358 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_connect_object (_tmp2_, "property-changed", (GCallback) _configuration_facade_on_property_changed_configuration_engine_property_changed, self, 0); #line 355 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return self; #line 1885 "ConfigurationInterfaces.c" } static void configuration_facade_on_property_changed (ConfigurationFacade* self, ConfigurableProperty p) { ConfigurableProperty _tmp0_ = 0; gchar* _tmp1_ = NULL; gchar* _tmp2_ = NULL; ConfigurableProperty _tmp3_ = 0; #line 361 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = p; #line 362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configurable_property_to_string (_tmp0_); #line 362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_debug ("ConfigurationInterfaces.vala:362: ConfigurationFacade: engine reports " \ "property '%s' changed.", _tmp2_); #line 362 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp2_); #line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = p; #line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" switch (_tmp3_) { #line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY: #line 1912 "ConfigurationInterfaces.c" { #line 366 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "auto-import-from-library-changed"); #line 367 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; #line 1918 "ConfigurationInterfaces.c" } #line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_BG_COLOR_NAME: #line 1922 "ConfigurationInterfaces.c" { #line 370 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "bg-color-name-changed"); #line 371 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; #line 1928 "ConfigurationInterfaces.c" } #line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS: #line 1932 "ConfigurationInterfaces.c" { #line 374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "commit-metadata-to-masters-changed"); #line 375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; #line 1938 "ConfigurationInterfaces.c" } #line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING: #line 1942 "ConfigurationInterfaces.c" { #line 378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "events-sort-ascending-changed"); #line 379 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; #line 1948 "ConfigurationInterfaces.c" } #line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP: #line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP: #line 1954 "ConfigurationInterfaces.c" { #line 383 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "external-app-changed"); #line 384 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; #line 1960 "ConfigurationInterfaces.c" } #line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" case CONFIGURABLE_PROPERTY_IMPORT_DIR: #line 1964 "ConfigurationInterfaces.c" { #line 387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_emit_by_name (self, "import-directory-changed"); #line 388 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; #line 1970 "ConfigurationInterfaces.c" } default: #line 364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" break; #line 1975 "ConfigurationInterfaces.c" } } ConfigurationEngine* configuration_facade_get_engine (ConfigurationFacade* self) { ConfigurationEngine* result = NULL; ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; #line 392 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = self->priv->engine; #line 393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _g_object_ref0 (_tmp0_); #line 393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp1_; #line 393 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 1994 "ConfigurationInterfaces.c" } void configuration_facade_on_configuration_error (ConfigurationFacade* self, GError* err) { GError* _tmp0_ = NULL; #line 396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = err; #line 397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (g_error_matches (_tmp0_, CONFIGURATION_ERROR, CONFIGURATION_ERROR_PROPERTY_HAS_NO_VALUE)) { #line 2006 "ConfigurationInterfaces.c" ConfigurationEngine* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; GError* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; #line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = self->priv->engine; #line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = configuration_engine_get_name (_tmp1_); #line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = _tmp2_; #line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = err; #line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp4_->message; #line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_message ("ConfigurationInterfaces.vala:398: configuration engine '%s' reports PR" \ "OPERTY_HAS_NO_VALUE error: %s", _tmp3_, _tmp5_); #line 398 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp3_); #line 2026 "ConfigurationInterfaces.c" } else { GError* _tmp6_ = NULL; #line 401 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 401 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (g_error_matches (_tmp6_, CONFIGURATION_ERROR, CONFIGURATION_ERROR_ENGINE_ERROR)) { #line 2033 "ConfigurationInterfaces.c" ConfigurationEngine* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; GError* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; #line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = self->priv->engine; #line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = configuration_engine_get_name (_tmp7_); #line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = _tmp8_; #line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = err; #line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = _tmp10_->message; #line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("ConfigurationInterfaces.vala:402: configuration engine '%s' reports EN" \ "GINE_ERROR: %s", _tmp9_, _tmp11_); #line 402 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp9_); #line 2053 "ConfigurationInterfaces.c" } else { ConfigurationEngine* _tmp12_ = NULL; gchar* _tmp13_ = NULL; gchar* _tmp14_ = NULL; GError* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; #line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp12_ = self->priv->engine; #line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp13_ = configuration_engine_get_name (_tmp12_); #line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp14_ = _tmp13_; #line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp15_ = err; #line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp16_ = _tmp15_->message; #line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("ConfigurationInterfaces.vala:405: configuration engine '%s' reports un" \ "known error: %s", _tmp14_, _tmp16_); #line 405 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp14_); #line 2074 "ConfigurationInterfaces.c" } } } static gboolean configuration_facade_real_get_auto_import_from_library (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, &_inner_error_); #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2105 "ConfigurationInterfaces.c" goto __catch79_configuration_error; } #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 2114 "ConfigurationInterfaces.c" } #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 415 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 2120 "ConfigurationInterfaces.c" } goto __finally79; __catch79_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 419 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 2141 "ConfigurationInterfaces.c" } __finally79: #line 414 "/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 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 414 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 2150 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_auto_import_from_library (ConfigurationFacade* self) { #line 413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 413 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_auto_import_from_library (self); #line 2159 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = auto_import; #line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_AUTO_IMPORT_FROM_LIBRARY, _tmp2_, &_inner_error_); #line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2183 "ConfigurationInterfaces.c" goto __catch80_configuration_error; } #line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 425 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2192 "ConfigurationInterfaces.c" } } goto __finally80; __catch80_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2212 "ConfigurationInterfaces.c" } __finally80: #line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 424 "/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 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 424 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2223 "ConfigurationInterfaces.c" } } void configuration_facade_set_auto_import_from_library (ConfigurationFacade* self, gboolean auto_import) { #line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 423 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_auto_import_from_library (self, auto_import); #line 2233 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_bg_color_name (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_BG_COLOR_NAME, &_inner_error_); #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2263 "ConfigurationInterfaces.c" goto __catch81_configuration_error; } #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 2272 "ConfigurationInterfaces.c" } #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 2284 "ConfigurationInterfaces.c" } goto __finally81; __catch81_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); #line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 442 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 2308 "ConfigurationInterfaces.c" } __finally81: #line 437 "/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 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 437 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 2317 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_bg_color_name (ConfigurationFacade* self) { #line 436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 436 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_bg_color_name (self); #line 2326 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name) { GError * _inner_error_ = NULL; #line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (color_name != NULL); #line 2334 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; #line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = color_name; #line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_BG_COLOR_NAME, _tmp2_, &_inner_error_); #line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2353 "ConfigurationInterfaces.c" goto __catch82_configuration_error; } #line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 448 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2362 "ConfigurationInterfaces.c" } } goto __finally82; __catch82_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2382 "ConfigurationInterfaces.c" } __finally82: #line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 447 "/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 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 447 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2393 "ConfigurationInterfaces.c" } } void configuration_facade_set_bg_color_name (ConfigurationFacade* self, const gchar* color_name) { #line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 446 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_bg_color_name (self, color_name); #line 2403 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_commit_metadata_to_masters (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, &_inner_error_); #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2432 "ConfigurationInterfaces.c" goto __catch83_configuration_error; } #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected 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/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 2441 "ConfigurationInterfaces.c" } #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 2447 "ConfigurationInterfaces.c" } goto __finally83; __catch83_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 464 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 2468 "ConfigurationInterfaces.c" } __finally83: #line 459 "/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 459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 459 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 2477 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_commit_metadata_to_masters (ConfigurationFacade* self) { #line 458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 458 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_commit_metadata_to_masters (self); #line 2486 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = commit_metadata; #line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_COMMIT_METADATA_TO_MASTERS, _tmp2_, &_inner_error_); #line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2510 "ConfigurationInterfaces.c" goto __catch84_configuration_error; } #line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected 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/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 470 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2519 "ConfigurationInterfaces.c" } } goto __finally84; __catch84_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2539 "ConfigurationInterfaces.c" } __finally84: #line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 469 "/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 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 469 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2550 "ConfigurationInterfaces.c" } } void configuration_facade_set_commit_metadata_to_masters (ConfigurationFacade* self, gboolean commit_metadata) { #line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 468 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_commit_metadata_to_masters (self, commit_metadata); #line 2560 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_desktop_background (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, &_inner_error_); #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2590 "ConfigurationInterfaces.c" goto __catch85_configuration_error; } #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %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/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 2599 "ConfigurationInterfaces.c" } #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 2611 "ConfigurationInterfaces.c" } goto __finally85; __catch85_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 485 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 485 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); #line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 2635 "ConfigurationInterfaces.c" } __finally85: #line 482 "/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 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 2644 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_desktop_background (ConfigurationFacade* self) { #line 481 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 481 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_desktop_background (self); #line 2653 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_desktop_background (ConfigurationFacade* self, const gchar* filename) { GError * _inner_error_ = NULL; #line 491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (filename != NULL); #line 2661 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; ConfigurationEngine* _tmp3_ = NULL; ConfigurationEngine* _tmp4_ = NULL; #line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = filename; #line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_FILE, _tmp2_, &_inner_error_); #line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2682 "ConfigurationInterfaces.c" goto __catch86_configuration_error; } #line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 493 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2691 "ConfigurationInterfaces.c" } #line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); #line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp4_, CONFIGURABLE_PROPERTY_DESKTOP_BACKGROUND_MODE, "zoom", &_inner_error_); #line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); #line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2705 "ConfigurationInterfaces.c" goto __catch86_configuration_error; } #line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2714 "ConfigurationInterfaces.c" } } goto __finally86; __catch86_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 2732 "ConfigurationInterfaces.c" } __finally86: #line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 492 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2743 "ConfigurationInterfaces.c" } } void configuration_facade_set_desktop_background (ConfigurationFacade* self, const gchar* filename) { #line 491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 491 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_desktop_background (self, filename); #line 2753 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_screensaver (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, &_inner_error_); #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2783 "ConfigurationInterfaces.c" goto __catch87_configuration_error; } #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 2792 "ConfigurationInterfaces.c" } #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 507 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 2804 "ConfigurationInterfaces.c" } goto __finally87; __catch87_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 511 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); #line 511 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 511 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 511 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 2828 "ConfigurationInterfaces.c" } __finally87: #line 506 "/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 506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 2837 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_screensaver (ConfigurationFacade* self) { #line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_screensaver (self); #line 2846 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_screensaver (ConfigurationFacade* self, const gchar* filename) { GError * _inner_error_ = NULL; #line 515 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (filename != NULL); #line 2854 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; ConfigurationEngine* _tmp3_ = NULL; ConfigurationEngine* _tmp4_ = NULL; #line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = filename; #line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SCREENSAVER_FILE, _tmp2_, &_inner_error_); #line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2875 "ConfigurationInterfaces.c" goto __catch88_configuration_error; } #line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2884 "ConfigurationInterfaces.c" } #line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); #line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp4_, CONFIGURABLE_PROPERTY_SCREENSAVER_MODE, "zoom", &_inner_error_); #line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); #line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2898 "ConfigurationInterfaces.c" goto __catch88_configuration_error; } #line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 519 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2907 "ConfigurationInterfaces.c" } } goto __finally88; __catch88_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 2925 "ConfigurationInterfaces.c" } __finally88: #line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 516 "/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 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 2936 "ConfigurationInterfaces.c" } } void configuration_facade_set_screensaver (ConfigurationFacade* self, const gchar* filename) { #line 515 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 515 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_screensaver (self, filename); #line 2946 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_directory_pattern (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* s = NULL; ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = configuration_engine_get_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, &_inner_error_); #line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = _tmp2_; #line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" s = _tmp3_; #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" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 2977 "ConfigurationInterfaces.c" goto __catch89_configuration_error; } #line 531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected 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 NULL; #line 2986 "ConfigurationInterfaces.c" } #line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (g_strcmp0 (s, "") == 0) { #line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = NULL; #line 2992 "ConfigurationInterfaces.c" } else { #line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = s; #line 2996 "ConfigurationInterfaces.c" } #line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = g_strdup (_tmp4_); #line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (s); #line 532 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 3006 "ConfigurationInterfaces.c" } goto __finally89; __catch89_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 534 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 534 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); #line 536 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #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 result; #line 3030 "ConfigurationInterfaces.c" } __finally89: #line 530 "/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 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 530 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 3039 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_directory_pattern (ConfigurationFacade* self) { #line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 529 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_directory_pattern (self); #line 3048 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_directory_pattern (ConfigurationFacade* self, const gchar* s) { GError * _inner_error_ = NULL; { const gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; #line 542 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = s; #line 542 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_tmp0_ == NULL) { #line 543 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" s = ""; #line 3065 "ConfigurationInterfaces.c" } #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_ = s; #line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN, _tmp3_, &_inner_error_); #line 545 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #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 3081 "ConfigurationInterfaces.c" goto __catch90_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; #line 3090 "ConfigurationInterfaces.c" } } goto __finally90; __catch90_configuration_error: { GError* err = NULL; GError* _tmp4_ = NULL; #line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 547 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = err; #line 547 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp4_); #line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 3108 "ConfigurationInterfaces.c" } __finally90: #line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 541 "/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 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 541 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3119 "ConfigurationInterfaces.c" } } void configuration_facade_set_directory_pattern (ConfigurationFacade* self, const gchar* s) { #line 540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_directory_pattern (self, s); #line 3129 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_directory_pattern_custom (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, &_inner_error_); #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 3159 "ConfigurationInterfaces.c" goto __catch91_configuration_error; } #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 3168 "ConfigurationInterfaces.c" } #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 556 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 3180 "ConfigurationInterfaces.c" } goto __finally91; __catch91_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 555 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 558 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); #line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 560 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 3204 "ConfigurationInterfaces.c" } __finally91: #line 555 "/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 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 NULL; #line 3213 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_directory_pattern_custom (ConfigurationFacade* self) { #line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_directory_pattern_custom (self); #line 3222 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s) { GError * _inner_error_ = NULL; #line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (s != NULL); #line 3230 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; #line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = s; #line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECTORY_PATTERN_CUSTOM, _tmp2_, &_inner_error_); #line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 3249 "ConfigurationInterfaces.c" goto __catch92_configuration_error; } #line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 566 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3258 "ConfigurationInterfaces.c" } } goto __finally92; __catch92_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 568 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 3276 "ConfigurationInterfaces.c" } __finally92: #line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 565 "/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 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3287 "ConfigurationInterfaces.c" } } void configuration_facade_set_directory_pattern_custom (ConfigurationFacade* self, const gchar* s) { #line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 564 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_directory_pattern_custom (self, s); #line 3297 "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 576 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_maximize = FALSE; #line 577 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" dimensions_init (&_vala_dimensions, 1024, 768); #line 3309 "ConfigurationInterfaces.c" { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; gint w = 0; ConfigurationEngine* _tmp5_ = NULL; ConfigurationEngine* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; gint h = 0; ConfigurationEngine* _tmp9_ = NULL; ConfigurationEngine* _tmp10_ = NULL; gint _tmp11_ = 0; gint _tmp12_ = 0; gint _tmp13_ = 0; gint _tmp14_ = 0; #line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, &_inner_error_); #line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #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 3344 "ConfigurationInterfaces.c" goto __catch93_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 3353 "ConfigurationInterfaces.c" } #line 579 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_maximize = _tmp0_; #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = configuration_facade_get_engine (self); #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = _tmp5_; #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, &_inner_error_); #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp7_; #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp6_); #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" w = _tmp8_; #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 3373 "ConfigurationInterfaces.c" goto __catch93_configuration_error; } #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 580 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3382 "ConfigurationInterfaces.c" } #line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = configuration_facade_get_engine (self); #line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _tmp9_; #line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = configuration_engine_get_int_property (_tmp10_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, &_inner_error_); #line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp12_ = _tmp11_; #line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp10_); #line 581 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" h = _tmp12_; #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 3400 "ConfigurationInterfaces.c" goto __catch93_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 3409 "ConfigurationInterfaces.c" } #line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp13_ = w; #line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp14_ = h; #line 582 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" dimensions_init (&_vala_dimensions, _tmp13_, _tmp14_); #line 3417 "ConfigurationInterfaces.c" } goto __finally93; __catch93_configuration_error: { GError* err = NULL; GError* _tmp15_ = NULL; #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" _tmp15_ = err; #line 584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp15_); #line 578 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 3434 "ConfigurationInterfaces.c" } __finally93: #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 3445 "ConfigurationInterfaces.c" } #line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (maximize) { #line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *maximize = _vala_maximize; #line 3451 "ConfigurationInterfaces.c" } #line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (dimensions) { #line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *dimensions = _vala_dimensions; #line 3457 "ConfigurationInterfaces.c" } } void configuration_facade_get_direct_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions) { #line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 575 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->get_direct_window_state (self, maximize, dimensions); #line 3467 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { GError * _inner_error_ = NULL; #line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (dimensions != NULL); #line 3475 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; ConfigurationEngine* _tmp3_ = NULL; ConfigurationEngine* _tmp4_ = NULL; Dimensions _tmp5_ = {0}; gint _tmp6_ = 0; ConfigurationEngine* _tmp7_ = NULL; ConfigurationEngine* _tmp8_ = NULL; Dimensions _tmp9_ = {0}; gint _tmp10_ = 0; #line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = maximize; #line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_MAXIMIZE, _tmp2_, &_inner_error_); #line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 3502 "ConfigurationInterfaces.c" goto __catch94_configuration_error; } #line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 590 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3511 "ConfigurationInterfaces.c" } #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = *dimensions; #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = _tmp5_.width; #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_WIDTH, _tmp6_, &_inner_error_); #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 3529 "ConfigurationInterfaces.c" goto __catch94_configuration_error; } #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 591 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3538 "ConfigurationInterfaces.c" } #line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = configuration_facade_get_engine (self); #line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp7_; #line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = *dimensions; #line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _tmp9_.height; #line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp8_, CONFIGURABLE_PROPERTY_DIRECT_WINDOW_HEIGHT, _tmp10_, &_inner_error_); #line 593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp8_); #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 3556 "ConfigurationInterfaces.c" goto __catch94_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; #line 3565 "ConfigurationInterfaces.c" } } goto __finally94; __catch94_configuration_error: { GError* err = NULL; GError* _tmp11_ = NULL; #line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = err; #line 596 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp11_); #line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 3583 "ConfigurationInterfaces.c" } __finally94: #line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 589 "/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 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3594 "ConfigurationInterfaces.c" } } void configuration_facade_set_direct_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { #line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 588 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_direct_window_state (self, maximize, dimensions); #line 3604 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_display_basic_properties (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, &_inner_error_); #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 3633 "ConfigurationInterfaces.c" goto __catch95_configuration_error; } #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 3642 "ConfigurationInterfaces.c" } #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 3648 "ConfigurationInterfaces.c" } goto __finally95; __catch95_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 607 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; #line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 609 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 3669 "ConfigurationInterfaces.c" } __finally95: #line 604 "/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 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 3678 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_basic_properties (ConfigurationFacade* self) { #line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 603 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_basic_properties (self); #line 3687 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_display_basic_properties (ConfigurationFacade* self, gboolean display) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; #line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_BASIC_PROPERTIES, _tmp2_, &_inner_error_); #line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 3711 "ConfigurationInterfaces.c" goto __catch96_configuration_error; } #line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3720 "ConfigurationInterfaces.c" } } goto __finally96; __catch96_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 617 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 3738 "ConfigurationInterfaces.c" } __finally96: #line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 614 "/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 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3749 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_basic_properties (ConfigurationFacade* self, gboolean display) { #line 613 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 613 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_basic_properties (self, display); #line 3759 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_display_extended_properties (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, &_inner_error_); #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 3788 "ConfigurationInterfaces.c" goto __catch97_configuration_error; } #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 3797 "ConfigurationInterfaces.c" } #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 3803 "ConfigurationInterfaces.c" } goto __finally97; __catch97_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 628 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 3824 "ConfigurationInterfaces.c" } __finally97: #line 625 "/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 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 3833 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_extended_properties (ConfigurationFacade* self) { #line 624 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 624 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_extended_properties (self); #line 3842 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_display_extended_properties (ConfigurationFacade* self, gboolean display) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; #line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EXTENDED_PROPERTIES, _tmp2_, &_inner_error_); #line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 3866 "ConfigurationInterfaces.c" goto __catch98_configuration_error; } #line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3875 "ConfigurationInterfaces.c" } } goto __finally98; __catch98_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 639 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 639 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 3893 "ConfigurationInterfaces.c" } __finally98: #line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 635 "/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 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 635 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 3904 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_extended_properties (ConfigurationFacade* self, gboolean display) { #line 634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 634 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_extended_properties (self, display); #line 3914 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_display_sidebar (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, &_inner_error_); #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 3943 "ConfigurationInterfaces.c" goto __catch99_configuration_error; } #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 3952 "ConfigurationInterfaces.c" } #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 3958 "ConfigurationInterfaces.c" } goto __finally99; __catch99_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 652 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 3979 "ConfigurationInterfaces.c" } __finally99: #line 647 "/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 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 647 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 3988 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_sidebar (ConfigurationFacade* self) { #line 646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 646 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_sidebar (self); #line 3997 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_display_sidebar (ConfigurationFacade* self, gboolean display) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; #line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SIDEBAR, _tmp2_, &_inner_error_); #line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4021 "ConfigurationInterfaces.c" goto __catch100_configuration_error; } #line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 658 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4030 "ConfigurationInterfaces.c" } } goto __finally100; __catch100_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 660 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 4048 "ConfigurationInterfaces.c" } __finally100: #line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 657 "/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 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4059 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_sidebar (ConfigurationFacade* self, gboolean display) { #line 656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 656 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_sidebar (self, display); #line 4069 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_display_toolbar (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, &_inner_error_); #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4098 "ConfigurationInterfaces.c" goto __catch101_configuration_error; } #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 4107 "ConfigurationInterfaces.c" } #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 670 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4113 "ConfigurationInterfaces.c" } goto __finally101; __catch101_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 672 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 672 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4134 "ConfigurationInterfaces.c" } __finally101: #line 669 "/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 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 669 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 4143 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_toolbar (ConfigurationFacade* self) { #line 668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 668 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_toolbar (self); #line 4152 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_display_toolbar (ConfigurationFacade* self, gboolean display) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; #line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_TOOLBAR, _tmp2_, &_inner_error_); #line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4176 "ConfigurationInterfaces.c" goto __catch102_configuration_error; } #line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 680 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4185 "ConfigurationInterfaces.c" } } goto __finally102; __catch102_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 682 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 682 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 4203 "ConfigurationInterfaces.c" } __finally102: #line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 679 "/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 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4214 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_toolbar (ConfigurationFacade* self, gboolean display) { #line 678 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 678 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_toolbar (self, display); #line 4224 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_display_search_bar (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, &_inner_error_); #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4253 "ConfigurationInterfaces.c" goto __catch103_configuration_error; } #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 4262 "ConfigurationInterfaces.c" } #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 691 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4268 "ConfigurationInterfaces.c" } goto __finally103; __catch103_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 693 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 693 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4289 "ConfigurationInterfaces.c" } __finally103: #line 690 "/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 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 690 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 4298 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_search_bar (ConfigurationFacade* self) { #line 689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 689 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_search_bar (self); #line 4307 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_display_search_bar (ConfigurationFacade* self, gboolean display) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; #line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_SEARCH_BAR, _tmp2_, &_inner_error_); #line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4331 "ConfigurationInterfaces.c" goto __catch104_configuration_error; } #line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 701 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4340 "ConfigurationInterfaces.c" } } goto __finally104; __catch104_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 703 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 703 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 4358 "ConfigurationInterfaces.c" } __finally104: #line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 700 "/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 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 700 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4369 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_search_bar (ConfigurationFacade* self, gboolean display) { #line 699 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 699 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_search_bar (self, display); #line 4379 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_display_photo_ratings (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, &_inner_error_); #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4408 "ConfigurationInterfaces.c" goto __catch105_configuration_error; } #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 4417 "ConfigurationInterfaces.c" } #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 712 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4423 "ConfigurationInterfaces.c" } goto __finally105; __catch105_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 711 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 711 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 714 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; #line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 716 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4444 "ConfigurationInterfaces.c" } __finally105: #line 711 "/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 711 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 711 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 4453 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_photo_ratings (ConfigurationFacade* self) { #line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_ratings (self); #line 4462 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_display_photo_ratings (ConfigurationFacade* self, gboolean display) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; #line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_RATINGS, _tmp2_, &_inner_error_); #line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4486 "ConfigurationInterfaces.c" goto __catch106_configuration_error; } #line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 722 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4495 "ConfigurationInterfaces.c" } } goto __finally106; __catch106_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 724 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 724 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 4513 "ConfigurationInterfaces.c" } __finally106: #line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 721 "/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 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4524 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_photo_ratings (ConfigurationFacade* self, gboolean display) { #line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 720 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_ratings (self, display); #line 4534 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_display_photo_tags (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, &_inner_error_); #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4563 "ConfigurationInterfaces.c" goto __catch107_configuration_error; } #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 4572 "ConfigurationInterfaces.c" } #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 733 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4578 "ConfigurationInterfaces.c" } goto __finally107; __catch107_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 732 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 735 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 735 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; #line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 737 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4599 "ConfigurationInterfaces.c" } __finally107: #line 732 "/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 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 FALSE; #line 4608 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_photo_tags (ConfigurationFacade* self) { #line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_tags (self); #line 4617 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_display_photo_tags (ConfigurationFacade* self, gboolean display) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; #line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TAGS, _tmp2_, &_inner_error_); #line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4641 "ConfigurationInterfaces.c" goto __catch108_configuration_error; } #line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4650 "ConfigurationInterfaces.c" } } goto __finally108; __catch108_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 742 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 4668 "ConfigurationInterfaces.c" } __finally108: #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" g_critical ("file %s: line %d: uncaught 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 4679 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_photo_tags (ConfigurationFacade* self, gboolean display) { #line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 741 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_tags (self, display); #line 4689 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_display_photo_titles (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, &_inner_error_); #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4718 "ConfigurationInterfaces.c" goto __catch109_configuration_error; } #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 4727 "ConfigurationInterfaces.c" } #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4733 "ConfigurationInterfaces.c" } goto __finally109; __catch109_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 753 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 756 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 758 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4754 "ConfigurationInterfaces.c" } __finally109: #line 753 "/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 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 FALSE; #line 4763 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_photo_titles (ConfigurationFacade* self) { #line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 752 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_titles (self); #line 4772 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_display_photo_titles (ConfigurationFacade* self, gboolean display) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; #line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_TITLES, _tmp2_, &_inner_error_); #line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4796 "ConfigurationInterfaces.c" goto __catch110_configuration_error; } #line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 764 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4805 "ConfigurationInterfaces.c" } } goto __finally110; __catch110_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 763 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 4823 "ConfigurationInterfaces.c" } __finally110: #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" g_critical ("file %s: line %d: uncaught 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 4834 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_photo_titles (ConfigurationFacade* self, gboolean display) { #line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_titles (self, display); #line 4844 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_display_photo_comments (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, &_inner_error_); #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4873 "ConfigurationInterfaces.c" goto __catch111_configuration_error; } #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 4882 "ConfigurationInterfaces.c" } #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 775 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4888 "ConfigurationInterfaces.c" } goto __finally111; __catch111_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 779 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 4909 "ConfigurationInterfaces.c" } __finally111: #line 774 "/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 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 FALSE; #line 4918 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_photo_comments (ConfigurationFacade* self) { #line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_photo_comments (self); #line 4927 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_display_photo_comments (ConfigurationFacade* self, gboolean display) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; #line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_PHOTO_COMMENTS, _tmp2_, &_inner_error_); #line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 4951 "ConfigurationInterfaces.c" goto __catch112_configuration_error; } #line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 4960 "ConfigurationInterfaces.c" } } goto __finally112; __catch112_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 784 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 4978 "ConfigurationInterfaces.c" } __finally112: #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" g_critical ("file %s: line %d: uncaught 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 4989 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_photo_comments (ConfigurationFacade* self, gboolean display) { #line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 783 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_photo_comments (self, display); #line 4999 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_display_event_comments (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, &_inner_error_); #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5028 "ConfigurationInterfaces.c" goto __catch113_configuration_error; } #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 5037 "ConfigurationInterfaces.c" } #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 796 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 5043 "ConfigurationInterfaces.c" } goto __finally113; __catch113_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 795 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 800 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 5064 "ConfigurationInterfaces.c" } __finally113: #line 795 "/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 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 FALSE; #line 5073 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_display_event_comments (ConfigurationFacade* self) { #line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_display_event_comments (self); #line 5082 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_display_event_comments (ConfigurationFacade* self, gboolean display) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = display; #line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_DISPLAY_EVENT_COMMENTS, _tmp2_, &_inner_error_); #line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5106 "ConfigurationInterfaces.c" goto __catch114_configuration_error; } #line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 806 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5115 "ConfigurationInterfaces.c" } } goto __finally114; __catch114_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 808 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 808 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 5133 "ConfigurationInterfaces.c" } __finally114: #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" g_critical ("file %s: line %d: uncaught 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 5144 "ConfigurationInterfaces.c" } } void configuration_facade_set_display_event_comments (ConfigurationFacade* self, gboolean display) { #line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_display_event_comments (self, display); #line 5154 "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 816 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_order = FALSE; #line 817 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_by = 2; #line 5166 "ConfigurationInterfaces.c" { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; gint _tmp5_ = 0; ConfigurationEngine* _tmp6_ = NULL; ConfigurationEngine* _tmp7_ = NULL; gint _tmp8_ = 0; gint _tmp9_ = 0; #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, &_inner_error_); #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5194 "ConfigurationInterfaces.c" goto __catch115_configuration_error; } #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5203 "ConfigurationInterfaces.c" } #line 819 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_order = _tmp0_; #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_facade_get_engine (self); #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = configuration_engine_get_int_property (_tmp7_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, &_inner_error_); #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = _tmp8_; #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp7_); #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp9_; #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5223 "ConfigurationInterfaces.c" goto __catch115_configuration_error; } #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5232 "ConfigurationInterfaces.c" } #line 821 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_by = _tmp5_; #line 5236 "ConfigurationInterfaces.c" } goto __finally115; __catch115_configuration_error: { GError* err = NULL; GError* _tmp10_ = NULL; #line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 823 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = err; #line 823 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp10_); #line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 5253 "ConfigurationInterfaces.c" } __finally115: #line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 818 "/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 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 818 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5264 "ConfigurationInterfaces.c" } #line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (sort_order) { #line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *sort_order = _vala_sort_order; #line 5270 "ConfigurationInterfaces.c" } #line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (sort_by) { #line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *sort_by = _vala_sort_by; #line 5276 "ConfigurationInterfaces.c" } } void configuration_facade_get_event_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by) { #line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 815 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->get_event_photos_sort (self, sort_order, sort_by); #line 5286 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_event_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; ConfigurationEngine* _tmp3_ = NULL; ConfigurationEngine* _tmp4_ = NULL; gint _tmp5_ = 0; #line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = sort_order; #line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_ASCENDING, _tmp2_, &_inner_error_); #line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5313 "ConfigurationInterfaces.c" goto __catch116_configuration_error; } #line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 829 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5322 "ConfigurationInterfaces.c" } #line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); #line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = sort_by; #line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_EVENT_PHOTOS_SORT_BY, _tmp5_, &_inner_error_); #line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); #line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5338 "ConfigurationInterfaces.c" goto __catch116_configuration_error; } #line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 831 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5347 "ConfigurationInterfaces.c" } } goto __finally116; __catch116_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; #line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 834 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 834 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 5365 "ConfigurationInterfaces.c" } __finally116: #line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 828 "/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 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 828 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5376 "ConfigurationInterfaces.c" } } void configuration_facade_set_event_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by) { #line 827 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 827 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_event_photos_sort (self, sort_order, sort_by); #line 5386 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_events_sort_ascending (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, &_inner_error_); #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5415 "ConfigurationInterfaces.c" goto __catch117_configuration_error; } #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 5424 "ConfigurationInterfaces.c" } #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 843 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 5430 "ConfigurationInterfaces.c" } goto __finally117; __catch117_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 845 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 847 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 5451 "ConfigurationInterfaces.c" } __finally117: #line 842 "/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 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 842 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 5460 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_events_sort_ascending (ConfigurationFacade* self) { #line 841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 841 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_events_sort_ascending (self); #line 5469 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = sort; #line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EVENTS_SORT_ASCENDING, _tmp2_, &_inner_error_); #line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5493 "ConfigurationInterfaces.c" goto __catch118_configuration_error; } #line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 853 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5502 "ConfigurationInterfaces.c" } } goto __finally118; __catch118_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 855 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 855 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 856 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5522 "ConfigurationInterfaces.c" } __finally118: #line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 852 "/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 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 852 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5533 "ConfigurationInterfaces.c" } } void configuration_facade_set_events_sort_ascending (ConfigurationFacade* self, gboolean sort) { #line 851 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 851 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_events_sort_ascending (self, sort); #line 5543 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_external_photo_app (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, &_inner_error_); #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5573 "ConfigurationInterfaces.c" goto __catch119_configuration_error; } #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 5582 "ConfigurationInterfaces.c" } #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 865 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 5594 "ConfigurationInterfaces.c" } goto __finally119; __catch119_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 864 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 864 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 867 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); #line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 869 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 5618 "ConfigurationInterfaces.c" } __finally119: #line 864 "/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 864 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 864 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 5627 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_external_photo_app (ConfigurationFacade* self) { #line 863 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 863 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_external_photo_app (self); #line 5636 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app) { GError * _inner_error_ = NULL; #line 873 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (external_photo_app != NULL); #line 5644 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; #line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = external_photo_app; #line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_PHOTO_APP, _tmp2_, &_inner_error_); #line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5663 "ConfigurationInterfaces.c" goto __catch120_configuration_error; } #line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 875 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5672 "ConfigurationInterfaces.c" } } goto __finally120; __catch120_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 878 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 878 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 879 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5692 "ConfigurationInterfaces.c" } __finally120: #line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 874 "/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 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 874 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5703 "ConfigurationInterfaces.c" } } void configuration_facade_set_external_photo_app (ConfigurationFacade* self, const gchar* external_photo_app) { #line 873 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 873 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_external_photo_app (self, external_photo_app); #line 5713 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_external_raw_app (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, &_inner_error_); #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5743 "ConfigurationInterfaces.c" goto __catch121_configuration_error; } #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 5752 "ConfigurationInterfaces.c" } #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 888 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 5764 "ConfigurationInterfaces.c" } goto __finally121; __catch121_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 890 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 892 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); #line 892 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 892 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 892 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 5788 "ConfigurationInterfaces.c" } __finally121: #line 887 "/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 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 887 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 5797 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self) { #line 886 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 886 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_external_raw_app (self); #line 5806 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app) { GError * _inner_error_ = NULL; #line 896 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (external_raw_app != NULL); #line 5814 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; #line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = external_raw_app; #line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_EXTERNAL_RAW_APP, _tmp2_, &_inner_error_); #line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5833 "ConfigurationInterfaces.c" goto __catch122_configuration_error; } #line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 898 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5842 "ConfigurationInterfaces.c" } } goto __finally122; __catch122_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 901 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 901 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 902 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 902 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5862 "ConfigurationInterfaces.c" } __finally122: #line 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 897 "/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 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 897 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5873 "ConfigurationInterfaces.c" } } void configuration_facade_set_external_raw_app (ConfigurationFacade* self, const gchar* external_raw_app) { #line 896 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 896 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_external_raw_app (self, external_raw_app); #line 5883 "ConfigurationInterfaces.c" } static ScaleConstraint configuration_facade_real_get_export_constraint (ConfigurationFacade* self) { ScaleConstraint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, &_inner_error_); #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5912 "ConfigurationInterfaces.c" goto __catch123_configuration_error; } #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 5921 "ConfigurationInterfaces.c" } #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = (ScaleConstraint) _tmp0_; #line 911 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 5927 "ConfigurationInterfaces.c" } goto __finally123; __catch123_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 913 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 913 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; #line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 915 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 5948 "ConfigurationInterfaces.c" } __finally123: #line 910 "/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 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 910 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 5957 "ConfigurationInterfaces.c" } ScaleConstraint configuration_facade_get_export_constraint (ConfigurationFacade* self) { #line 909 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 909 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_constraint (self); #line 5966 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_export_constraint (ConfigurationFacade* self, ScaleConstraint constraint) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ScaleConstraint _tmp2_ = 0; #line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = constraint; #line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_CONSTRAINT, (gint) _tmp2_, &_inner_error_); #line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 5990 "ConfigurationInterfaces.c" goto __catch124_configuration_error; } #line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 921 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 5999 "ConfigurationInterfaces.c" } } goto __finally124; __catch124_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 923 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 923 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 924 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 924 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6019 "ConfigurationInterfaces.c" } __finally124: #line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 920 "/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 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 920 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6030 "ConfigurationInterfaces.c" } } void configuration_facade_set_export_constraint (ConfigurationFacade* self, ScaleConstraint constraint) { #line 919 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 919 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_export_constraint (self, constraint); #line 6040 "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_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, &_inner_error_); #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6069 "ConfigurationInterfaces.c" goto __catch125_configuration_error; } #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 6078 "ConfigurationInterfaces.c" } #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = (ExportFormatMode) _tmp0_; #line 930 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6084 "ConfigurationInterfaces.c" } goto __finally125; __catch125_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 932 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 932 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 934 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; #line 934 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 934 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6105 "ConfigurationInterfaces.c" } __finally125: #line 929 "/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 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 929 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 6114 "ConfigurationInterfaces.c" } ExportFormatMode configuration_facade_get_export_export_format_mode (ConfigurationFacade* self) { #line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 928 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_export_format_mode (self); #line 6123 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_export_export_format_mode (ConfigurationFacade* self, ExportFormatMode export_format_mode) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ExportFormatMode _tmp2_ = 0; #line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = export_format_mode; #line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_FORMAT_MODE, (gint) _tmp2_, &_inner_error_); #line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6147 "ConfigurationInterfaces.c" goto __catch126_configuration_error; } #line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 940 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6156 "ConfigurationInterfaces.c" } } goto __finally126; __catch126_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 942 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 942 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 943 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 943 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6176 "ConfigurationInterfaces.c" } __finally126: #line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 939 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6187 "ConfigurationInterfaces.c" } } void configuration_facade_set_export_export_format_mode (ConfigurationFacade* self, ExportFormatMode export_format_mode) { #line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 938 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_export_export_format_mode (self, export_format_mode); #line 6197 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_export_export_metadata (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, &_inner_error_); #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6226 "ConfigurationInterfaces.c" goto __catch127_configuration_error; } #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 6235 "ConfigurationInterfaces.c" } #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 949 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6241 "ConfigurationInterfaces.c" } goto __finally127; __catch127_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 951 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 951 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 953 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 953 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 953 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6262 "ConfigurationInterfaces.c" } __finally127: #line 948 "/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 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 948 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 6271 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_export_export_metadata (ConfigurationFacade* self) { #line 947 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 947 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_export_metadata (self); #line 6280 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_export_export_metadata (ConfigurationFacade* self, gboolean export_metadata) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = export_metadata; #line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_EXPORT_METADATA, _tmp2_, &_inner_error_); #line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #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" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6304 "ConfigurationInterfaces.c" goto __catch128_configuration_error; } #line 959 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected 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 6313 "ConfigurationInterfaces.c" } } goto __finally128; __catch128_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 961 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 961 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 962 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 962 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6333 "ConfigurationInterfaces.c" } __finally128: #line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 958 "/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 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 958 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6344 "ConfigurationInterfaces.c" } } void configuration_facade_set_export_export_metadata (ConfigurationFacade* self, gboolean export_metadata) { #line 957 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 957 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_export_export_metadata (self, export_metadata); #line 6354 "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_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; PhotoFileFormat _tmp5_ = 0; #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, &_inner_error_); #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6384 "ConfigurationInterfaces.c" goto __catch129_configuration_error; } #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 6393 "ConfigurationInterfaces.c" } #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = photo_file_format_unserialize (_tmp0_); #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 968 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6401 "ConfigurationInterfaces.c" } goto __finally129; __catch129_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; #line 967 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 967 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 970 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; #line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 972 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6422 "ConfigurationInterfaces.c" } __finally129: #line 967 "/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 967 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 967 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 6431 "ConfigurationInterfaces.c" } PhotoFileFormat configuration_facade_get_export_photo_file_format (ConfigurationFacade* self) { #line 966 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 966 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_photo_file_format (self); #line 6440 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_export_photo_file_format (ConfigurationFacade* self, PhotoFileFormat photo_file_format) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; PhotoFileFormat _tmp2_ = 0; gint _tmp3_ = 0; #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = photo_file_format; #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = photo_file_format_serialize (_tmp2_); #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_PHOTO_FILE_FORMAT, _tmp3_, &_inner_error_); #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6467 "ConfigurationInterfaces.c" goto __catch130_configuration_error; } #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 978 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6476 "ConfigurationInterfaces.c" } } goto __finally130; __catch130_configuration_error: { GError* err = NULL; GError* _tmp4_ = NULL; #line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = err; #line 980 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp4_); #line 981 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 981 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6496 "ConfigurationInterfaces.c" } __finally130: #line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 977 "/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 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 977 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6507 "ConfigurationInterfaces.c" } } void configuration_facade_set_export_photo_file_format (ConfigurationFacade* self, PhotoFileFormat photo_file_format) { #line 976 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 976 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_export_photo_file_format (self, photo_file_format); #line 6517 "ConfigurationInterfaces.c" } static JpegQuality configuration_facade_real_get_export_quality (ConfigurationFacade* self) { JpegQuality result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_enum_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_QUALITY, &_inner_error_); #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6546 "ConfigurationInterfaces.c" goto __catch131_configuration_error; } #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 6555 "ConfigurationInterfaces.c" } #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = (JpegQuality) _tmp0_; #line 987 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6561 "ConfigurationInterfaces.c" } goto __finally131; __catch131_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 989 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 989 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; #line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 991 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6582 "ConfigurationInterfaces.c" } __finally131: #line 986 "/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 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 986 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 6591 "ConfigurationInterfaces.c" } JpegQuality configuration_facade_get_export_quality (ConfigurationFacade* self) { #line 985 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 985 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_quality (self); #line 6600 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_export_quality (ConfigurationFacade* self, JpegQuality quality) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; JpegQuality _tmp2_ = 0; #line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = quality; #line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_enum_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_QUALITY, (gint) _tmp2_, &_inner_error_); #line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6624 "ConfigurationInterfaces.c" goto __catch132_configuration_error; } #line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 997 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6633 "ConfigurationInterfaces.c" } } goto __finally132; __catch132_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 999 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1000 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6653 "ConfigurationInterfaces.c" } __finally132: #line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 996 "/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 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 996 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6664 "ConfigurationInterfaces.c" } } void configuration_facade_set_export_quality (ConfigurationFacade* self, JpegQuality quality) { #line 995 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 995 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_export_quality (self, quality); #line 6674 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_export_scale (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_EXPORT_SCALE, &_inner_error_); #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6703 "ConfigurationInterfaces.c" goto __catch133_configuration_error; } #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 6712 "ConfigurationInterfaces.c" } #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1006 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6718 "ConfigurationInterfaces.c" } goto __finally133; __catch133_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1008 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1008 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; #line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1010 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6739 "ConfigurationInterfaces.c" } __finally133: #line 1005 "/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 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1005 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 6748 "ConfigurationInterfaces.c" } gint configuration_facade_get_export_scale (ConfigurationFacade* self) { #line 1004 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1004 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_export_scale (self); #line 6757 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_export_scale (ConfigurationFacade* self, gint scale) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = scale; #line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_EXPORT_SCALE, _tmp2_, &_inner_error_); #line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6781 "ConfigurationInterfaces.c" goto __catch134_configuration_error; } #line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1016 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6790 "ConfigurationInterfaces.c" } } goto __finally134; __catch134_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1018 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1018 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1019 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1019 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6810 "ConfigurationInterfaces.c" } __finally134: #line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1015 "/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 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1015 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6821 "ConfigurationInterfaces.c" } } void configuration_facade_set_export_scale (ConfigurationFacade* self, gint scale) { #line 1014 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1014 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_export_scale (self, scale); #line 6831 "ConfigurationInterfaces.c" } static RawDeveloper configuration_facade_real_get_default_raw_developer (ConfigurationFacade* self) { RawDeveloper result = 0; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; RawDeveloper _tmp5_ = 0; #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, &_inner_error_); #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6861 "ConfigurationInterfaces.c" goto __catch135_configuration_error; } #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 6870 "ConfigurationInterfaces.c" } #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = raw_developer_from_string (_tmp0_); #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 1028 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6880 "ConfigurationInterfaces.c" } goto __finally135; __catch135_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; #line 1027 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1027 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1031 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 1031 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 1033 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = RAW_DEVELOPER_CAMERA; #line 1033 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1033 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 6901 "ConfigurationInterfaces.c" } __finally135: #line 1027 "/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 1027 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1027 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 6910 "ConfigurationInterfaces.c" } RawDeveloper configuration_facade_get_default_raw_developer (ConfigurationFacade* self) { #line 1026 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1026 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_default_raw_developer (self); #line 6919 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_default_raw_developer (ConfigurationFacade* self, RawDeveloper d) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; RawDeveloper _tmp2_ = 0; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; #line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = d; #line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = raw_developer_to_string (_tmp2_); #line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_RAW_DEVELOPER_DEFAULT, _tmp4_, &_inner_error_); #line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp4_); #line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #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" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 6951 "ConfigurationInterfaces.c" goto __catch136_configuration_error; } #line 1039 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected 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 6960 "ConfigurationInterfaces.c" } } goto __finally136; __catch136_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1042 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #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 6980 "ConfigurationInterfaces.c" } __finally136: #line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1038 "/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 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1038 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 6991 "ConfigurationInterfaces.c" } } void configuration_facade_set_default_raw_developer (ConfigurationFacade* self, RawDeveloper d) { #line 1037 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1037 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_default_raw_developer (self, d); #line 7001 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_hide_photos_already_imported (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, &_inner_error_); #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7030 "ConfigurationInterfaces.c" goto __catch137_configuration_error; } #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 7039 "ConfigurationInterfaces.c" } #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1052 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7045 "ConfigurationInterfaces.c" } goto __finally137; __catch137_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1054 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1056 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; #line 1056 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1056 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7066 "ConfigurationInterfaces.c" } __finally137: #line 1051 "/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 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1051 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 7075 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_hide_photos_already_imported (ConfigurationFacade* self) { #line 1050 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1050 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_hide_photos_already_imported (self); #line 7084 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_hide_photos_already_imported (ConfigurationFacade* self, gboolean hide_imported) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = hide_imported; #line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_HIDE_PHOTOS_ALREADY_IMPORTED, _tmp2_, &_inner_error_); #line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7108 "ConfigurationInterfaces.c" goto __catch138_configuration_error; } #line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1062 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 7117 "ConfigurationInterfaces.c" } } goto __finally138; __catch138_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1064 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1064 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 7135 "ConfigurationInterfaces.c" } __finally138: #line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1061 "/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 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1061 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 7146 "ConfigurationInterfaces.c" } } void configuration_facade_set_hide_photos_already_imported (ConfigurationFacade* self, gboolean hide_imported) { #line 1060 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1060 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_hide_photos_already_imported (self, hide_imported); #line 7156 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_import_dir (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_IMPORT_DIR, &_inner_error_); #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7186 "ConfigurationInterfaces.c" goto __catch139_configuration_error; } #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 7195 "ConfigurationInterfaces.c" } #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 1073 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7207 "ConfigurationInterfaces.c" } goto __finally139; __catch139_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1075 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 1075 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); #line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1077 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7231 "ConfigurationInterfaces.c" } __finally139: #line 1072 "/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 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1072 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 7240 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_import_dir (ConfigurationFacade* self) { #line 1071 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 1071 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_import_dir (self); #line 7249 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_import_dir (ConfigurationFacade* self, const gchar* import_dir) { GError * _inner_error_ = NULL; #line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (import_dir != NULL); #line 7257 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; #line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = import_dir; #line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_IMPORT_DIR, _tmp2_, &_inner_error_); #line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7276 "ConfigurationInterfaces.c" goto __catch140_configuration_error; } #line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1083 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 7285 "ConfigurationInterfaces.c" } } goto __finally140; __catch140_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1085 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1085 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 7303 "ConfigurationInterfaces.c" } __finally140: #line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1082 "/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 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1082 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 7314 "ConfigurationInterfaces.c" } } void configuration_facade_set_import_dir (ConfigurationFacade* self, const gchar* import_dir) { #line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1081 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_import_dir (self, import_dir); #line 7324 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_keep_relativity (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, &_inner_error_); #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7353 "ConfigurationInterfaces.c" goto __catch141_configuration_error; } #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 7362 "ConfigurationInterfaces.c" } #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1094 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7368 "ConfigurationInterfaces.c" } goto __finally141; __catch141_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1096 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1096 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1098 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; #line 1098 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1098 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7389 "ConfigurationInterfaces.c" } __finally141: #line 1093 "/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 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1093 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 7398 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_keep_relativity (ConfigurationFacade* self) { #line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1092 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_keep_relativity (self); #line 7407 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = keep_relativity; #line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_KEEP_RELATIVITY, _tmp2_, &_inner_error_); #line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7431 "ConfigurationInterfaces.c" goto __catch142_configuration_error; } #line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1104 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 7440 "ConfigurationInterfaces.c" } } goto __finally142; __catch142_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1106 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1106 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 7458 "ConfigurationInterfaces.c" } __finally142: #line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1103 "/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 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1103 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 7469 "ConfigurationInterfaces.c" } } void configuration_facade_set_keep_relativity (ConfigurationFacade* self, gboolean keep_relativity) { #line 1102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1102 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_keep_relativity (self, keep_relativity); #line 7479 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_pin_toolbar_state (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, &_inner_error_); #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7508 "ConfigurationInterfaces.c" goto __catch143_configuration_error; } #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 7517 "ConfigurationInterfaces.c" } #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1115 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7523 "ConfigurationInterfaces.c" } goto __finally143; __catch143_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1117 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1117 "/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 = FALSE; #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 7544 "ConfigurationInterfaces.c" } __finally143: #line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1114 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 7553 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_pin_toolbar_state (ConfigurationFacade* self) { #line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1113 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_pin_toolbar_state (self); #line 7562 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_pin_toolbar_state (ConfigurationFacade* self, gboolean state) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 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" _tmp2_ = state; #line 1124 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PIN_TOOLBAR_STATE, _tmp2_, &_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 7586 "ConfigurationInterfaces.c" goto __catch144_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 7595 "ConfigurationInterfaces.c" } } goto __finally144; __catch144_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #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" _tmp3_ = err; #line 1126 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1123 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 7613 "ConfigurationInterfaces.c" } __finally144: #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 7624 "ConfigurationInterfaces.c" } } void configuration_facade_set_pin_toolbar_state (ConfigurationFacade* self, gboolean state) { #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_pin_toolbar_state (self, state); #line 7634 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_last_crop_height (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 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_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, &_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 7663 "ConfigurationInterfaces.c" goto __catch145_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 0; #line 7672 "ConfigurationInterfaces.c" } #line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1135 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7678 "ConfigurationInterfaces.c" } goto __finally145; __catch145_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #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" _tmp5_ = err; #line 1137 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 1; #line 1138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1138 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7699 "ConfigurationInterfaces.c" } __finally145: #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 0; #line 7708 "ConfigurationInterfaces.c" } gint configuration_facade_get_last_crop_height (ConfigurationFacade* self) { #line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1133 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_height (self); #line 7717 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_last_crop_height (ConfigurationFacade* self, gint choice) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = choice; #line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_HEIGHT, _tmp2_, &_inner_error_); #line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #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" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7741 "ConfigurationInterfaces.c" goto __catch146_configuration_error; } #line 1144 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected 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 7750 "ConfigurationInterfaces.c" } } goto __finally146; __catch146_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1146 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1146 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 7768 "ConfigurationInterfaces.c" } __finally146: #line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1143 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 7779 "ConfigurationInterfaces.c" } } void configuration_facade_set_last_crop_height (ConfigurationFacade* self, gint choice) { #line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1142 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_height (self, choice); #line 7789 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_last_crop_menu_choice (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, &_inner_error_); #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7818 "ConfigurationInterfaces.c" goto __catch147_configuration_error; } #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected 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 0; #line 7827 "ConfigurationInterfaces.c" } #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1155 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7833 "ConfigurationInterfaces.c" } goto __finally147; __catch147_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1157 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; #line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1162 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7854 "ConfigurationInterfaces.c" } __finally147: #line 1154 "/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 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1154 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 7863 "ConfigurationInterfaces.c" } gint configuration_facade_get_last_crop_menu_choice (ConfigurationFacade* self) { #line 1153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1153 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_menu_choice (self); #line 7872 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_last_crop_menu_choice (ConfigurationFacade* self, gint choice) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = choice; #line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_MENU_CHOICE, _tmp2_, &_inner_error_); #line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7896 "ConfigurationInterfaces.c" goto __catch148_configuration_error; } #line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1168 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 7905 "ConfigurationInterfaces.c" } } goto __finally148; __catch148_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1170 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 7923 "ConfigurationInterfaces.c" } __finally148: #line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1167 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 7934 "ConfigurationInterfaces.c" } } void configuration_facade_set_last_crop_menu_choice (ConfigurationFacade* self, gint choice) { #line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1166 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_menu_choice (self, choice); #line 7944 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_last_crop_width (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, &_inner_error_); #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 7973 "ConfigurationInterfaces.c" goto __catch149_configuration_error; } #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 7982 "ConfigurationInterfaces.c" } #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1179 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 7988 "ConfigurationInterfaces.c" } goto __finally149; __catch149_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1181 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1181 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 1; #line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1182 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 8009 "ConfigurationInterfaces.c" } __finally149: #line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1178 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 8018 "ConfigurationInterfaces.c" } gint configuration_facade_get_last_crop_width (ConfigurationFacade* self) { #line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1177 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_crop_width (self); #line 8027 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_last_crop_width (ConfigurationFacade* self, gint choice) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = choice; #line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_CROP_WIDTH, _tmp2_, &_inner_error_); #line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8051 "ConfigurationInterfaces.c" goto __catch150_configuration_error; } #line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1188 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8060 "ConfigurationInterfaces.c" } } goto __finally150; __catch150_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1190 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1190 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 8078 "ConfigurationInterfaces.c" } __finally150: #line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1187 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8089 "ConfigurationInterfaces.c" } } void configuration_facade_set_last_crop_width (ConfigurationFacade* self, gint choice) { #line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1186 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_last_crop_width (self, choice); #line 8099 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_last_used_service (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, &_inner_error_); #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8129 "ConfigurationInterfaces.c" goto __catch151_configuration_error; } #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 8138 "ConfigurationInterfaces.c" } #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 1199 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 8150 "ConfigurationInterfaces.c" } goto __finally151; __catch151_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 1201 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); #line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1206 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 8174 "ConfigurationInterfaces.c" } __finally151: #line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1198 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 8183 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_last_used_service (ConfigurationFacade* self) { #line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 1197 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_used_service (self); #line 8192 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_last_used_service (ConfigurationFacade* self, const gchar* service_name) { GError * _inner_error_ = NULL; #line 1210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (service_name != NULL); #line 8200 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; #line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = service_name; #line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_SERVICE, _tmp2_, &_inner_error_); #line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8219 "ConfigurationInterfaces.c" goto __catch152_configuration_error; } #line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1212 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8228 "ConfigurationInterfaces.c" } } goto __finally152; __catch152_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1214 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1214 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 8246 "ConfigurationInterfaces.c" } __finally152: #line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1211 "/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 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1211 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8257 "ConfigurationInterfaces.c" } } void configuration_facade_set_last_used_service (ConfigurationFacade* self, const gchar* service_name) { #line 1210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1210 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_last_used_service (self, service_name); #line 8267 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_last_used_dataimports_service (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, &_inner_error_); #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8297 "ConfigurationInterfaces.c" goto __catch153_configuration_error; } #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 8306 "ConfigurationInterfaces.c" } #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 1223 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 8318 "ConfigurationInterfaces.c" } goto __finally153; __catch153_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 1222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 1225 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (""); #line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1230 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 8342 "ConfigurationInterfaces.c" } __finally153: #line 1222 "/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 1222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1222 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 8351 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_last_used_dataimports_service (ConfigurationFacade* self) { #line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 1221 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_last_used_dataimports_service (self); #line 8360 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_last_used_dataimports_service (ConfigurationFacade* self, const gchar* service_name) { GError * _inner_error_ = NULL; #line 1234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (service_name != NULL); #line 8368 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; #line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = service_name; #line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_LAST_USED_DATAIMPORTS_SERVICE, _tmp2_, &_inner_error_); #line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8387 "ConfigurationInterfaces.c" goto __catch154_configuration_error; } #line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1236 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8396 "ConfigurationInterfaces.c" } } goto __finally154; __catch154_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1238 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1238 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 8414 "ConfigurationInterfaces.c" } __finally154: #line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1235 "/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 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1235 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8425 "ConfigurationInterfaces.c" } } void configuration_facade_set_last_used_dataimports_service (ConfigurationFacade* self, const gchar* service_name) { #line 1234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1234 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_last_used_dataimports_service (self, service_name); #line 8435 "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 1246 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_order = FALSE; #line 1247 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_by = 2; #line 8447 "ConfigurationInterfaces.c" { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; gint _tmp5_ = 0; ConfigurationEngine* _tmp6_ = NULL; ConfigurationEngine* _tmp7_ = NULL; gint _tmp8_ = 0; gint _tmp9_ = 0; #line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, &_inner_error_); #line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #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" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8475 "ConfigurationInterfaces.c" goto __catch155_configuration_error; } #line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected 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 8484 "ConfigurationInterfaces.c" } #line 1249 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_order = _tmp0_; #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_facade_get_engine (self); #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = configuration_engine_get_int_property (_tmp7_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, &_inner_error_); #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = _tmp8_; #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp7_); #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp9_; #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8504 "ConfigurationInterfaces.c" goto __catch155_configuration_error; } #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8513 "ConfigurationInterfaces.c" } #line 1251 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_sort_by = _tmp5_; #line 8517 "ConfigurationInterfaces.c" } goto __finally155; __catch155_configuration_error: { GError* err = NULL; GError* _tmp10_ = NULL; #line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = err; #line 1253 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp10_); #line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 8534 "ConfigurationInterfaces.c" } __finally155: #line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1248 "/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 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1248 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8545 "ConfigurationInterfaces.c" } #line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (sort_order) { #line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *sort_order = _vala_sort_order; #line 8551 "ConfigurationInterfaces.c" } #line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (sort_by) { #line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *sort_by = _vala_sort_by; #line 8557 "ConfigurationInterfaces.c" } } void configuration_facade_get_library_photos_sort (ConfigurationFacade* self, gboolean* sort_order, gint* sort_by) { #line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1245 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->get_library_photos_sort (self, sort_order, sort_by); #line 8567 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_library_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; ConfigurationEngine* _tmp3_ = NULL; ConfigurationEngine* _tmp4_ = NULL; gint _tmp5_ = 0; #line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = sort_order; #line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_ASCENDING, _tmp2_, &_inner_error_); #line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8594 "ConfigurationInterfaces.c" goto __catch156_configuration_error; } #line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1259 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8603 "ConfigurationInterfaces.c" } #line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); #line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = sort_by; #line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_LIBRARY_PHOTOS_SORT_BY, _tmp5_, &_inner_error_); #line 1261 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_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 8619 "ConfigurationInterfaces.c" goto __catch156_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; #line 8628 "ConfigurationInterfaces.c" } } goto __finally156; __catch156_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; #line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 1264 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 8646 "ConfigurationInterfaces.c" } __finally156: #line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1258 "/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 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1258 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8657 "ConfigurationInterfaces.c" } } void configuration_facade_set_library_photos_sort (ConfigurationFacade* self, gboolean sort_order, gint sort_by) { #line 1257 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1257 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_library_photos_sort (self, sort_order, sort_by); #line 8667 "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 1272 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_maximize = FALSE; #line 1273 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" dimensions_init (&_vala_dimensions, 1024, 768); #line 8679 "ConfigurationInterfaces.c" { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; gint w = 0; ConfigurationEngine* _tmp5_ = NULL; ConfigurationEngine* _tmp6_ = NULL; gint _tmp7_ = 0; gint _tmp8_ = 0; gint h = 0; ConfigurationEngine* _tmp9_ = NULL; ConfigurationEngine* _tmp10_ = NULL; gint _tmp11_ = 0; gint _tmp12_ = 0; gint _tmp13_ = 0; gint _tmp14_ = 0; #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, &_inner_error_); #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8714 "ConfigurationInterfaces.c" goto __catch157_configuration_error; } #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8723 "ConfigurationInterfaces.c" } #line 1275 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _vala_maximize = _tmp0_; #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = configuration_facade_get_engine (self); #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = _tmp5_; #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = configuration_engine_get_int_property (_tmp6_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, &_inner_error_); #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp7_; #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp6_); #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" w = _tmp8_; #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8743 "ConfigurationInterfaces.c" goto __catch157_configuration_error; } #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1276 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8752 "ConfigurationInterfaces.c" } #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = configuration_facade_get_engine (self); #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _tmp9_; #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = configuration_engine_get_int_property (_tmp10_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, &_inner_error_); #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp12_ = _tmp11_; #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp10_); #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" h = _tmp12_; #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8770 "ConfigurationInterfaces.c" goto __catch157_configuration_error; } #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1277 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8779 "ConfigurationInterfaces.c" } #line 1278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp13_ = w; #line 1278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp14_ = h; #line 1278 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" dimensions_init (&_vala_dimensions, _tmp13_, _tmp14_); #line 8787 "ConfigurationInterfaces.c" } goto __finally157; __catch157_configuration_error: { GError* err = NULL; GError* _tmp15_ = NULL; #line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1280 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp15_ = err; #line 1280 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp15_); #line 1274 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 8804 "ConfigurationInterfaces.c" } __finally157: #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" g_critical ("file %s: line %d: uncaught 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 8815 "ConfigurationInterfaces.c" } #line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (maximize) { #line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *maximize = _vala_maximize; #line 8821 "ConfigurationInterfaces.c" } #line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (dimensions) { #line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" *dimensions = _vala_dimensions; #line 8827 "ConfigurationInterfaces.c" } } void configuration_facade_get_library_window_state (ConfigurationFacade* self, gboolean* maximize, Dimensions* dimensions) { #line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1271 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->get_library_window_state (self, maximize, dimensions); #line 8837 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_library_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { GError * _inner_error_ = NULL; #line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (dimensions != NULL); #line 8845 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; ConfigurationEngine* _tmp3_ = NULL; ConfigurationEngine* _tmp4_ = NULL; Dimensions _tmp5_ = {0}; gint _tmp6_ = 0; ConfigurationEngine* _tmp7_ = NULL; ConfigurationEngine* _tmp8_ = NULL; Dimensions _tmp9_ = {0}; gint _tmp10_ = 0; #line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = maximize; #line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_MAXIMIZE, _tmp2_, &_inner_error_); #line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8872 "ConfigurationInterfaces.c" goto __catch158_configuration_error; } #line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1286 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8881 "ConfigurationInterfaces.c" } #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_facade_get_engine (self); #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = *dimensions; #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = _tmp5_.width; #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp4_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_WIDTH, _tmp6_, &_inner_error_); #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp4_); #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8899 "ConfigurationInterfaces.c" goto __catch158_configuration_error; } #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1287 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8908 "ConfigurationInterfaces.c" } #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = configuration_facade_get_engine (self); #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp7_; #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = *dimensions; #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _tmp9_.height; #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp8_, CONFIGURABLE_PROPERTY_LIBRARY_WINDOW_HEIGHT, _tmp10_, &_inner_error_); #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp8_); #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 8926 "ConfigurationInterfaces.c" goto __catch158_configuration_error; } #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1289 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8935 "ConfigurationInterfaces.c" } } goto __finally158; __catch158_configuration_error: { GError* err = NULL; GError* _tmp11_ = NULL; #line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = err; #line 1292 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp11_); #line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 8953 "ConfigurationInterfaces.c" } __finally158: #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" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1285 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 8964 "ConfigurationInterfaces.c" } } void configuration_facade_set_library_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions) { #line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1284 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_library_window_state (self, maximize, dimensions); #line 8974 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_modify_originals (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, &_inner_error_); #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9003 "ConfigurationInterfaces.c" goto __catch159_configuration_error; } #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 9012 "ConfigurationInterfaces.c" } #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1301 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9018 "ConfigurationInterfaces.c" } goto __finally159; __catch159_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1303 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1303 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 1306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1306 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9039 "ConfigurationInterfaces.c" } __finally159: #line 1300 "/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 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1300 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 9048 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_modify_originals (ConfigurationFacade* self) { #line 1299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1299 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_modify_originals (self); #line 9057 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = modify_originals; #line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_MODIFY_ORIGINALS, _tmp2_, &_inner_error_); #line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9081 "ConfigurationInterfaces.c" goto __catch160_configuration_error; } #line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1312 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 9090 "ConfigurationInterfaces.c" } } goto __finally160; __catch160_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1314 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1311 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 9108 "ConfigurationInterfaces.c" } __finally160: #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" g_critical ("file %s: line %d: uncaught 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 9119 "ConfigurationInterfaces.c" } } void configuration_facade_set_modify_originals (ConfigurationFacade* self, gboolean modify_originals) { #line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1310 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_modify_originals (self, modify_originals); #line 9129 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_photo_thumbnail_scale (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, &_inner_error_); #line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #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 9158 "ConfigurationInterfaces.c" goto __catch161_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 0; #line 9167 "ConfigurationInterfaces.c" } #line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1323 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9173 "ConfigurationInterfaces.c" } goto __finally161; __catch161_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; gint _tmp6_ = 0; gint _tmp7_ = 0; #line 1322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1325 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = thumbnail_get_DEFAULT_SCALE (); #line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; #line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1326 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9200 "ConfigurationInterfaces.c" } __finally161: #line 1322 "/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 1322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1322 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 9209 "ConfigurationInterfaces.c" } gint configuration_facade_get_photo_thumbnail_scale (ConfigurationFacade* self) { #line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1321 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_photo_thumbnail_scale (self); #line 9218 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_photo_thumbnail_scale (ConfigurationFacade* self, gint scale) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = scale; #line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PHOTO_THUMBNAIL_SCALE, _tmp2_, &_inner_error_); #line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9242 "ConfigurationInterfaces.c" goto __catch162_configuration_error; } #line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1332 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 9251 "ConfigurationInterfaces.c" } } goto __finally162; __catch162_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1334 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 9269 "ConfigurationInterfaces.c" } __finally162: #line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1331 "/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 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1331 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 9280 "ConfigurationInterfaces.c" } } void configuration_facade_set_photo_thumbnail_scale (ConfigurationFacade* self, gint scale) { #line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1330 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_photo_thumbnail_scale (self, scale); #line 9290 "ConfigurationInterfaces.c" } static gdouble configuration_facade_real_get_printing_content_height (ConfigurationFacade* self) { gdouble result = 0.0; GError * _inner_error_ = NULL; { gdouble _tmp0_ = 0.0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gdouble _tmp3_ = 0.0; gdouble _tmp4_ = 0.0; #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, &_inner_error_); #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9319 "ConfigurationInterfaces.c" goto __catch163_configuration_error; } #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; #line 9328 "ConfigurationInterfaces.c" } #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1343 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9334 "ConfigurationInterfaces.c" } goto __finally163; __catch163_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 5.0; #line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1347 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9355 "ConfigurationInterfaces.c" } __finally163: #line 1342 "/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 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1342 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; #line 9364 "ConfigurationInterfaces.c" } gdouble configuration_facade_get_printing_content_height (ConfigurationFacade* self) { #line 1341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); #line 1341 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_height (self); #line 9373 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_content_height (ConfigurationFacade* self, gdouble content_height) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gdouble _tmp2_ = 0.0; #line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = content_height; #line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_HEIGHT, _tmp2_, &_inner_error_); #line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9397 "ConfigurationInterfaces.c" goto __catch164_configuration_error; } #line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1353 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 9406 "ConfigurationInterfaces.c" } } goto __finally164; __catch164_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1356 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 9424 "ConfigurationInterfaces.c" } __finally164: #line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1352 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 9435 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_content_height (ConfigurationFacade* self, gdouble content_height) { #line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1351 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_height (self, content_height); #line 9445 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_printing_content_layout (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, &_inner_error_); #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9474 "ConfigurationInterfaces.c" goto __catch165_configuration_error; } #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 9483 "ConfigurationInterfaces.c" } #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_ - 1; #line 1365 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9489 "ConfigurationInterfaces.c" } goto __finally165; __catch165_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1367 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1367 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1369 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; #line 1369 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1369 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9510 "ConfigurationInterfaces.c" } __finally165: #line 1364 "/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 1364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1364 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 9519 "ConfigurationInterfaces.c" } gint configuration_facade_get_printing_content_layout (ConfigurationFacade* self) { #line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1363 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_layout (self); #line 9528 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_content_layout (ConfigurationFacade* self, gint layout_code) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = layout_code; #line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_LAYOUT, _tmp2_ + 1, &_inner_error_); #line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9552 "ConfigurationInterfaces.c" goto __catch166_configuration_error; } #line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1375 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 9561 "ConfigurationInterfaces.c" } } goto __finally166; __catch166_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1378 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1374 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 9579 "ConfigurationInterfaces.c" } __finally166: #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" g_critical ("file %s: line %d: uncaught 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 9590 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_content_layout (ConfigurationFacade* self, gint layout_code) { #line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1373 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_layout (self, layout_code); #line 9600 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_printing_content_ppi (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, &_inner_error_); #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9629 "ConfigurationInterfaces.c" goto __catch167_configuration_error; } #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 9638 "ConfigurationInterfaces.c" } #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1387 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9644 "ConfigurationInterfaces.c" } goto __finally167; __catch167_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1389 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1389 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1391 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 600; #line 1391 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1391 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9665 "ConfigurationInterfaces.c" } __finally167: #line 1386 "/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 1386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1386 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 9674 "ConfigurationInterfaces.c" } gint configuration_facade_get_printing_content_ppi (ConfigurationFacade* self) { #line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1385 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_ppi (self); #line 9683 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_content_ppi (ConfigurationFacade* self, gint content_ppi) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = content_ppi; #line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_PPI, _tmp2_, &_inner_error_); #line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9707 "ConfigurationInterfaces.c" goto __catch168_configuration_error; } #line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1397 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 9716 "ConfigurationInterfaces.c" } } goto __finally168; __catch168_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1399 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1399 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 9734 "ConfigurationInterfaces.c" } __finally168: #line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1396 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 9745 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_content_ppi (ConfigurationFacade* self, gint content_ppi) { #line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1395 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_ppi (self, content_ppi); #line 9755 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_printing_content_units (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, &_inner_error_); #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9784 "ConfigurationInterfaces.c" goto __catch169_configuration_error; } #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 9793 "ConfigurationInterfaces.c" } #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_ - 1; #line 1408 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9799 "ConfigurationInterfaces.c" } goto __finally169; __catch169_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1410 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1412 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; #line 1412 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1412 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9820 "ConfigurationInterfaces.c" } __finally169: #line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1407 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 9829 "ConfigurationInterfaces.c" } gint configuration_facade_get_printing_content_units (ConfigurationFacade* self) { #line 1406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1406 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_units (self); #line 9838 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_content_units (ConfigurationFacade* self, gint units_code) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = units_code; #line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_UNITS, _tmp2_ + 1, &_inner_error_); #line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9862 "ConfigurationInterfaces.c" goto __catch170_configuration_error; } #line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1418 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 9871 "ConfigurationInterfaces.c" } } goto __finally170; __catch170_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1421 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 9889 "ConfigurationInterfaces.c" } __finally170: #line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1417 "/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 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1417 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 9900 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_content_units (ConfigurationFacade* self, gint units_code) { #line 1416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1416 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_units (self, units_code); #line 9910 "ConfigurationInterfaces.c" } static gdouble configuration_facade_real_get_printing_content_width (ConfigurationFacade* self) { gdouble result = 0.0; GError * _inner_error_ = NULL; { gdouble _tmp0_ = 0.0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gdouble _tmp3_ = 0.0; gdouble _tmp4_ = 0.0; #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, &_inner_error_); #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 9939 "ConfigurationInterfaces.c" goto __catch171_configuration_error; } #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; #line 9948 "ConfigurationInterfaces.c" } #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1430 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9954 "ConfigurationInterfaces.c" } goto __finally171; __catch171_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1432 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1434 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 7.0; #line 1434 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1434 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 9975 "ConfigurationInterfaces.c" } __finally171: #line 1429 "/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 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1429 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; #line 9984 "ConfigurationInterfaces.c" } gdouble configuration_facade_get_printing_content_width (ConfigurationFacade* self) { #line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); #line 1428 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_content_width (self); #line 9993 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_content_width (ConfigurationFacade* self, gdouble content_width) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gdouble _tmp2_ = 0.0; #line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = content_width; #line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_CONTENT_WIDTH, _tmp2_, &_inner_error_); #line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10017 "ConfigurationInterfaces.c" goto __catch172_configuration_error; } #line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1440 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10026 "ConfigurationInterfaces.c" } } goto __finally172; __catch172_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1443 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 10044 "ConfigurationInterfaces.c" } __finally172: #line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1439 "/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 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1439 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10055 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_content_width (ConfigurationFacade* self, gdouble content_width) { #line 1438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1438 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_content_width (self, content_width); #line 10065 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_printing_images_per_page (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, &_inner_error_); #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10094 "ConfigurationInterfaces.c" goto __catch173_configuration_error; } #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 10103 "ConfigurationInterfaces.c" } #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_ - 1; #line 1452 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10109 "ConfigurationInterfaces.c" } goto __finally173; __catch173_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1454 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1454 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; #line 1456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1456 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10130 "ConfigurationInterfaces.c" } __finally173: #line 1451 "/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 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1451 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 10139 "ConfigurationInterfaces.c" } gint configuration_facade_get_printing_images_per_page (ConfigurationFacade* self) { #line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1450 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_images_per_page (self); #line 10148 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_images_per_page (ConfigurationFacade* self, gint images_per_page_code) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = images_per_page_code; #line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_IMAGES_PER_PAGE, _tmp2_ + 1, &_inner_error_); #line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10172 "ConfigurationInterfaces.c" goto __catch174_configuration_error; } #line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1462 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10181 "ConfigurationInterfaces.c" } } goto __finally174; __catch174_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1465 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 10199 "ConfigurationInterfaces.c" } __finally174: #line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1461 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10210 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_images_per_page (ConfigurationFacade* self, gint images_per_page_code) { #line 1460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1460 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_images_per_page (self, images_per_page_code); #line 10220 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_printing_match_aspect_ratio (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, &_inner_error_); #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10249 "ConfigurationInterfaces.c" goto __catch175_configuration_error; } #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 10258 "ConfigurationInterfaces.c" } #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1474 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10264 "ConfigurationInterfaces.c" } goto __finally175; __catch175_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1476 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1476 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; #line 1478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1478 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10285 "ConfigurationInterfaces.c" } __finally175: #line 1473 "/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 1473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1473 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 10294 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_printing_match_aspect_ratio (ConfigurationFacade* self) { #line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1472 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_match_aspect_ratio (self); #line 10303 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_match_aspect_ratio (ConfigurationFacade* self, gboolean match_aspect_ratio) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = match_aspect_ratio; #line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_MATCH_ASPECT_RATIO, _tmp2_, &_inner_error_); #line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10327 "ConfigurationInterfaces.c" goto __catch176_configuration_error; } #line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1484 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10336 "ConfigurationInterfaces.c" } } goto __finally176; __catch176_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1487 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 10354 "ConfigurationInterfaces.c" } __finally176: #line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1483 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10365 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_match_aspect_ratio (ConfigurationFacade* self, gboolean match_aspect_ratio) { #line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1482 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_match_aspect_ratio (self, match_aspect_ratio); #line 10375 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_printing_print_titles (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, &_inner_error_); #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10404 "ConfigurationInterfaces.c" goto __catch177_configuration_error; } #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 10413 "ConfigurationInterfaces.c" } #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1496 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10419 "ConfigurationInterfaces.c" } goto __finally177; __catch177_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1498 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 1500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1500 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10440 "ConfigurationInterfaces.c" } __finally177: #line 1495 "/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 1495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1495 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 10449 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_printing_print_titles (ConfigurationFacade* self) { #line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1494 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_print_titles (self); #line 10458 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_print_titles (ConfigurationFacade* self, gboolean print_titles) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = print_titles; #line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_PRINT_TITLES, _tmp2_, &_inner_error_); #line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10482 "ConfigurationInterfaces.c" goto __catch178_configuration_error; } #line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1506 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10491 "ConfigurationInterfaces.c" } } goto __finally178; __catch178_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1509 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 10509 "ConfigurationInterfaces.c" } __finally178: #line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1505 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10520 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_print_titles (ConfigurationFacade* self, gboolean print_titles) { #line 1504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1504 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_print_titles (self, print_titles); #line 10530 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_printing_size_selection (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, &_inner_error_); #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10559 "ConfigurationInterfaces.c" goto __catch179_configuration_error; } #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 10568 "ConfigurationInterfaces.c" } #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_ - 1; #line 1518 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10574 "ConfigurationInterfaces.c" } goto __finally179; __catch179_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1520 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0; #line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1522 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10595 "ConfigurationInterfaces.c" } __finally179: #line 1517 "/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 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1517 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 10604 "ConfigurationInterfaces.c" } gint configuration_facade_get_printing_size_selection (ConfigurationFacade* self) { #line 1516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1516 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_size_selection (self); #line 10613 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_size_selection (ConfigurationFacade* self, gint size_code) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = size_code; #line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_SIZE_SELECTION, _tmp2_ + 1, &_inner_error_); #line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10637 "ConfigurationInterfaces.c" goto __catch180_configuration_error; } #line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1528 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10646 "ConfigurationInterfaces.c" } } goto __finally180; __catch180_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1531 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 10664 "ConfigurationInterfaces.c" } __finally180: #line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1527 "/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 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1527 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10675 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_size_selection (ConfigurationFacade* self, gint size_code) { #line 1526 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1526 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_size_selection (self, size_code); #line 10685 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_printing_titles_font (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, &_inner_error_); #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10715 "ConfigurationInterfaces.c" goto __catch181_configuration_error; } #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 10724 "ConfigurationInterfaces.c" } #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 1540 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10736 "ConfigurationInterfaces.c" } goto __finally181; __catch181_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1542 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 1542 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup ("Sans Bold 12"); #line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1546 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10760 "ConfigurationInterfaces.c" } __finally181: #line 1539 "/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 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1539 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 10769 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_printing_titles_font (ConfigurationFacade* self) { #line 1538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 1538 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_printing_titles_font (self); #line 10778 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_printing_titles_font (ConfigurationFacade* self, const gchar* font_name) { GError * _inner_error_ = NULL; #line 1550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (font_name != NULL); #line 10786 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; #line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = font_name; #line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_PRINTING_TITLES_FONT, _tmp2_, &_inner_error_); #line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10805 "ConfigurationInterfaces.c" goto __catch182_configuration_error; } #line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1552 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10814 "ConfigurationInterfaces.c" } } goto __finally182; __catch182_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1554 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 10832 "ConfigurationInterfaces.c" } __finally182: #line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1551 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10843 "ConfigurationInterfaces.c" } } void configuration_facade_set_printing_titles_font (ConfigurationFacade* self, const gchar* font_name) { #line 1550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1550 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_printing_titles_font (self, font_name); #line 10853 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_show_welcome_dialog (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, &_inner_error_); #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10882 "ConfigurationInterfaces.c" goto __catch183_configuration_error; } #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 10891 "ConfigurationInterfaces.c" } #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1563 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10897 "ConfigurationInterfaces.c" } goto __finally183; __catch183_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1565 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = TRUE; #line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1567 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 10918 "ConfigurationInterfaces.c" } __finally183: #line 1562 "/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 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1562 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 10927 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_show_welcome_dialog (ConfigurationFacade* self) { #line 1561 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1561 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_show_welcome_dialog (self); #line 10936 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_show_welcome_dialog (ConfigurationFacade* self, gboolean show) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = show; #line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SHOW_WELCOME_DIALOG, _tmp2_, &_inner_error_); #line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 10960 "ConfigurationInterfaces.c" goto __catch184_configuration_error; } #line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1573 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10969 "ConfigurationInterfaces.c" } } goto __finally184; __catch184_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1576 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1576 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 10987 "ConfigurationInterfaces.c" } __finally184: #line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1572 "/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 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1572 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 10998 "ConfigurationInterfaces.c" } } void configuration_facade_set_show_welcome_dialog (ConfigurationFacade* self, gboolean show) { #line 1571 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1571 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_show_welcome_dialog (self, show); #line 11008 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_sidebar_position (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, &_inner_error_); #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11037 "ConfigurationInterfaces.c" goto __catch185_configuration_error; } #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 11046 "ConfigurationInterfaces.c" } #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1585 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11052 "ConfigurationInterfaces.c" } goto __finally185; __catch185_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1587 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 180; #line 1589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1589 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11073 "ConfigurationInterfaces.c" } __finally185: #line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1584 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 11082 "ConfigurationInterfaces.c" } gint configuration_facade_get_sidebar_position (ConfigurationFacade* self) { #line 1583 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1583 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_sidebar_position (self); #line 11091 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_sidebar_position (ConfigurationFacade* self, gint position) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = position; #line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_SIDEBAR_POSITION, _tmp2_, &_inner_error_); #line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11115 "ConfigurationInterfaces.c" goto __catch186_configuration_error; } #line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1595 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 11124 "ConfigurationInterfaces.c" } } goto __finally186; __catch186_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1597 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 11142 "ConfigurationInterfaces.c" } __finally186: #line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1594 "/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 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1594 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 11153 "ConfigurationInterfaces.c" } } void configuration_facade_set_sidebar_position (ConfigurationFacade* self, gint position) { #line 1593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1593 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_sidebar_position (self, position); #line 11163 "ConfigurationInterfaces.c" } static gdouble configuration_facade_real_get_slideshow_delay (ConfigurationFacade* self) { gdouble result = 0.0; GError * _inner_error_ = NULL; { gdouble _tmp0_ = 0.0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gdouble _tmp3_ = 0.0; gdouble _tmp4_ = 0.0; #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, &_inner_error_); #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11192 "ConfigurationInterfaces.c" goto __catch187_configuration_error; } #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; #line 11201 "ConfigurationInterfaces.c" } #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1606 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11207 "ConfigurationInterfaces.c" } goto __finally187; __catch187_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1608 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 3.0; #line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1610 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11228 "ConfigurationInterfaces.c" } __finally187: #line 1605 "/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 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1605 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; #line 11237 "ConfigurationInterfaces.c" } gdouble configuration_facade_get_slideshow_delay (ConfigurationFacade* self) { #line 1604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); #line 1604 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_delay (self); #line 11246 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_slideshow_delay (ConfigurationFacade* self, gdouble delay) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gdouble _tmp2_ = 0.0; #line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = delay; #line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_DELAY, _tmp2_, &_inner_error_); #line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11270 "ConfigurationInterfaces.c" goto __catch188_configuration_error; } #line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1616 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 11279 "ConfigurationInterfaces.c" } } goto __finally188; __catch188_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1618 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 11297 "ConfigurationInterfaces.c" } __finally188: #line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1615 "/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 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1615 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 11308 "ConfigurationInterfaces.c" } } void configuration_facade_set_slideshow_delay (ConfigurationFacade* self, gdouble delay) { #line 1614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1614 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_delay (self, delay); #line 11318 "ConfigurationInterfaces.c" } static gdouble configuration_facade_real_get_slideshow_transition_delay (ConfigurationFacade* self) { gdouble result = 0.0; GError * _inner_error_ = NULL; { gdouble _tmp0_ = 0.0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gdouble _tmp3_ = 0.0; gdouble _tmp4_ = 0.0; #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_double_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, &_inner_error_); #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11347 "ConfigurationInterfaces.c" goto __catch189_configuration_error; } #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; #line 11356 "ConfigurationInterfaces.c" } #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1627 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11362 "ConfigurationInterfaces.c" } goto __finally189; __catch189_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1630 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1632 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = 0.3; #line 1632 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1632 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11383 "ConfigurationInterfaces.c" } __finally189: #line 1626 "/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 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1626 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0.0; #line 11392 "ConfigurationInterfaces.c" } gdouble configuration_facade_get_slideshow_transition_delay (ConfigurationFacade* self) { #line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); #line 1625 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_transition_delay (self); #line 11401 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_slideshow_transition_delay (ConfigurationFacade* self, gdouble delay) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gdouble _tmp2_ = 0.0; #line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = delay; #line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_double_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_DELAY, _tmp2_, &_inner_error_); #line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11425 "ConfigurationInterfaces.c" goto __catch190_configuration_error; } #line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1638 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 11434 "ConfigurationInterfaces.c" } } goto __finally190; __catch190_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1641 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 11452 "ConfigurationInterfaces.c" } __finally190: #line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1637 "/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 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1637 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 11463 "ConfigurationInterfaces.c" } } void configuration_facade_set_slideshow_transition_delay (ConfigurationFacade* self, gdouble delay) { #line 1636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1636 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_transition_delay (self, delay); #line 11473 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_slideshow_transition_effect_id (ConfigurationFacade* self) { gchar* result = NULL; GError * _inner_error_ = NULL; { gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gchar* _tmp4_ = NULL; gchar* _tmp5_ = NULL; #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_string_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, &_inner_error_); #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11503 "ConfigurationInterfaces.c" goto __catch191_configuration_error; } #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 11512 "ConfigurationInterfaces.c" } #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = _tmp0_; #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = NULL; #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp5_; #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp0_); #line 1650 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11524 "ConfigurationInterfaces.c" } goto __finally191; __catch191_configuration_error: { GError* err = NULL; GError* _tmp6_ = NULL; gchar* _tmp7_ = NULL; #line 1649 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1649 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = err; #line 1653 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp6_); #line 1657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_strdup (TRANSITION_EFFECTS_MANAGER_NULL_EFFECT_ID); #line 1657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 1657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1657 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11548 "ConfigurationInterfaces.c" } __finally191: #line 1649 "/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 1649 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1649 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return NULL; #line 11557 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_slideshow_transition_effect_id (ConfigurationFacade* self) { #line 1648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 1648 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_transition_effect_id (self); #line 11566 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_slideshow_transition_effect_id (ConfigurationFacade* self, const gchar* id) { GError * _inner_error_ = NULL; #line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); #line 11574 "ConfigurationInterfaces.c" { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; #line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = id; #line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_string_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_TRANSITION_EFFECT_ID, _tmp2_, &_inner_error_); #line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11593 "ConfigurationInterfaces.c" goto __catch192_configuration_error; } #line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1663 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 11602 "ConfigurationInterfaces.c" } } goto __finally192; __catch192_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1666 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 11620 "ConfigurationInterfaces.c" } __finally192: #line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1662 "/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 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1662 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 11631 "ConfigurationInterfaces.c" } } void configuration_facade_set_slideshow_transition_effect_id (ConfigurationFacade* self, const gchar* id) { #line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1661 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_transition_effect_id (self, id); #line 11641 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_slideshow_show_title (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, &_inner_error_); #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11670 "ConfigurationInterfaces.c" goto __catch193_configuration_error; } #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 11679 "ConfigurationInterfaces.c" } #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1675 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11685 "ConfigurationInterfaces.c" } goto __finally193; __catch193_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1677 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 1679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1679 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11706 "ConfigurationInterfaces.c" } __finally193: #line 1674 "/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 1674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1674 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 11715 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_slideshow_show_title (ConfigurationFacade* self) { #line 1673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1673 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_slideshow_show_title (self); #line 11724 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_slideshow_show_title (ConfigurationFacade* self, gboolean show_title) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = show_title; #line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_SLIDESHOW_SHOW_TITLE, _tmp2_, &_inner_error_); #line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11748 "ConfigurationInterfaces.c" goto __catch194_configuration_error; } #line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1685 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 11757 "ConfigurationInterfaces.c" } } goto __finally194; __catch194_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1687 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 11775 "ConfigurationInterfaces.c" } __finally194: #line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1684 "/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 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1684 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 11786 "ConfigurationInterfaces.c" } } void configuration_facade_set_slideshow_show_title (ConfigurationFacade* self, gboolean show_title) { #line 1683 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1683 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_slideshow_show_title (self, show_title); #line 11796 "ConfigurationInterfaces.c" } static void g_time_local (time_t time, struct tm* result) { struct tm _result_ = {0}; struct tm _tmp0_ = {0}; #line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" localtime_r (&time, &_tmp0_); #line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" _result_ = _tmp0_; #line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" *result = _result_; #line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" return; #line 11811 "ConfigurationInterfaces.c" } static gchar* g_time_format (struct tm *self, const gchar* format) { gchar* result = NULL; gchar* buffer = NULL; gchar* _tmp0_ = NULL; gint buffer_length1 = 0; gint _buffer_size_ = 0; gchar* _tmp1_ = NULL; gint _tmp1__length1 = 0; const gchar* _tmp2_ = NULL; gchar* _tmp3_ = NULL; gint _tmp3__length1 = 0; gchar* _tmp4_ = NULL; #line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" g_return_val_if_fail (format != NULL, NULL); #line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" _tmp0_ = g_new0 (gchar, 64); #line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" buffer = _tmp0_; #line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" buffer_length1 = 64; #line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" _buffer_size_ = buffer_length1; #line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" _tmp1_ = buffer; #line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" _tmp1__length1 = buffer_length1; #line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" _tmp2_ = format; #line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self)); #line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" _tmp3_ = buffer; #line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" _tmp3__length1 = buffer_length1; #line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" _tmp4_ = g_strdup ((const gchar*) _tmp3_); #line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" result = _tmp4_; #line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" buffer = (g_free (buffer), NULL); #line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi" return result; #line 11857 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_use_24_hour_time (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, &_inner_error_); #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11886 "ConfigurationInterfaces.c" goto __catch195_configuration_error; } #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 11895 "ConfigurationInterfaces.c" } #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1696 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11901 "ConfigurationInterfaces.c" } goto __finally195; __catch195_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; struct tm _tmp6_ = {0}; gchar* _tmp7_ = NULL; gchar* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; gboolean _tmp10_ = FALSE; #line 1695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1698 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_time_local ((time_t) 0, &_tmp6_); #line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = g_time_format (&_tmp6_, "%p"); #line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp7_; #line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = is_string_empty (_tmp8_); #line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _tmp9_; #line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_tmp8_); #line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp10_; #line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1702 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 11939 "ConfigurationInterfaces.c" } __finally195: #line 1695 "/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 1695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1695 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 11948 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_use_24_hour_time (ConfigurationFacade* self) { #line 1694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1694 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_use_24_hour_time (self); #line 11957 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_use_24_hour_time (ConfigurationFacade* self, gboolean use_24_hour_time) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = use_24_hour_time; #line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_24_HOUR_TIME, _tmp2_, &_inner_error_); #line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #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" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 11981 "ConfigurationInterfaces.c" goto __catch196_configuration_error; } #line 1708 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected 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 11990 "ConfigurationInterfaces.c" } } goto __finally196; __catch196_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1710 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 12008 "ConfigurationInterfaces.c" } __finally196: #line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1707 "/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 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1707 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 12019 "ConfigurationInterfaces.c" } } void configuration_facade_set_use_24_hour_time (ConfigurationFacade* self, gboolean use_24_hour_time) { #line 1706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1706 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_use_24_hour_time (self, use_24_hour_time); #line 12029 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_use_lowercase_filenames (ConfigurationFacade* self) { gboolean result = FALSE; GError * _inner_error_ = NULL; { gboolean _tmp0_ = FALSE; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_bool_property (_tmp2_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, &_inner_error_); #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 12058 "ConfigurationInterfaces.c" goto __catch197_configuration_error; } #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 12067 "ConfigurationInterfaces.c" } #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1719 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 12073 "ConfigurationInterfaces.c" } goto __finally197; __catch197_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1721 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1723 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = FALSE; #line 1723 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1723 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 12094 "ConfigurationInterfaces.c" } __finally197: #line 1718 "/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 1718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1718 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return FALSE; #line 12103 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_use_lowercase_filenames (ConfigurationFacade* self) { #line 1717 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1717 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_use_lowercase_filenames (self); #line 12112 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_use_lowercase_filenames (ConfigurationFacade* self, gboolean b) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; #line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = b; #line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_bool_property (_tmp1_, CONFIGURABLE_PROPERTY_USE_LOWERCASE_FILENAMES, _tmp2_, &_inner_error_); #line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 12136 "ConfigurationInterfaces.c" goto __catch198_configuration_error; } #line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1729 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 12145 "ConfigurationInterfaces.c" } } goto __finally198; __catch198_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1731 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 12163 "ConfigurationInterfaces.c" } __finally198: #line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1728 "/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 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1728 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 12174 "ConfigurationInterfaces.c" } } void configuration_facade_set_use_lowercase_filenames (ConfigurationFacade* self, gboolean b) { #line 1727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1727 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_use_lowercase_filenames (self, b); #line 12184 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_video_interpreter_state_cookie (ConfigurationFacade* self) { gint result = 0; GError * _inner_error_ = NULL; { gint _tmp0_ = 0; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_get_int_property (_tmp2_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, &_inner_error_); #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = _tmp4_; #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 12213 "ConfigurationInterfaces.c" goto __catch199_configuration_error; } #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 12222 "ConfigurationInterfaces.c" } #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp0_; #line 1740 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 12228 "ConfigurationInterfaces.c" } goto __finally199; __catch199_configuration_error: { GError* err = NULL; GError* _tmp5_ = NULL; #line 1739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = err; #line 1743 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp5_); #line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = -1; #line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 1745 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 12249 "ConfigurationInterfaces.c" } __finally199: #line 1739 "/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 1739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1739 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return 0; #line 12258 "ConfigurationInterfaces.c" } gint configuration_facade_get_video_interpreter_state_cookie (ConfigurationFacade* self) { #line 1738 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1738 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_video_interpreter_state_cookie (self); #line 12267 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_video_interpreter_state_cookie (ConfigurationFacade* self, gint state_cookie) { GError * _inner_error_ = NULL; { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; gint _tmp2_ = 0; #line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = state_cookie; #line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_int_property (_tmp1_, CONFIGURABLE_PROPERTY_VIDEO_INTERPRETER_STATE_COOKIE, _tmp2_, &_inner_error_); #line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_inner_error_->domain == CONFIGURATION_ERROR) { #line 12291 "ConfigurationInterfaces.c" goto __catch200_configuration_error; } #line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); #line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1751 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 12300 "ConfigurationInterfaces.c" } } goto __finally200; __catch200_configuration_error: { GError* err = NULL; GError* _tmp3_ = NULL; #line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" err = _inner_error_; #line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _inner_error_ = NULL; #line 1754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = err; #line 1754 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_on_configuration_error (self, _tmp3_); #line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_error_free0 (err); #line 12318 "ConfigurationInterfaces.c" } __finally200: #line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 1750 "/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 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_clear_error (&_inner_error_); #line 1750 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return; #line 12329 "ConfigurationInterfaces.c" } } void configuration_facade_set_video_interpreter_state_cookie (ConfigurationFacade* self, gint state_cookie) { #line 1749 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1749 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_video_interpreter_state_cookie (self, state_cookie); #line 12339 "ConfigurationInterfaces.c" } static gboolean configuration_facade_real_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) { gboolean result = FALSE; ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; gboolean _tmp6_ = FALSE; gboolean _tmp7_ = FALSE; #line 1761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (domain != NULL, FALSE); #line 1761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (id != NULL, FALSE); #line 1761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (key != NULL, FALSE); #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = def; #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_engine_get_plugin_bool (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 1762 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 12381 "ConfigurationInterfaces.c" } gboolean configuration_facade_get_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean def) { #line 1761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), FALSE); #line 1761 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_bool (self, domain, id, key, def); #line 12390 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; #line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (domain != NULL); #line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); #line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (key != NULL); #line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; #line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; #line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; #line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = val; #line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_plugin_bool (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); #line 1766 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 12423 "ConfigurationInterfaces.c" } void configuration_facade_set_plugin_bool (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gboolean val) { #line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1765 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_bool (self, domain, id, key, val); #line 12432 "ConfigurationInterfaces.c" } static gdouble configuration_facade_real_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) { gdouble result = 0.0; ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gdouble _tmp5_ = 0.0; gdouble _tmp6_ = 0.0; gdouble _tmp7_ = 0.0; #line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (domain != NULL, 0.0); #line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (id != NULL, 0.0); #line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (key != NULL, 0.0); #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = def; #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_engine_get_plugin_double (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 1770 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 12474 "ConfigurationInterfaces.c" } gdouble configuration_facade_get_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble def) { #line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0.0); #line 1769 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_double (self, domain, id, key, def); #line 12483 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gdouble _tmp5_ = 0.0; #line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (domain != NULL); #line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); #line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (key != NULL); #line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; #line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; #line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; #line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = val; #line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_plugin_double (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); #line 1774 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 12516 "ConfigurationInterfaces.c" } void configuration_facade_set_plugin_double (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gdouble val) { #line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1773 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_double (self, domain, id, key, val); #line 12525 "ConfigurationInterfaces.c" } static gint configuration_facade_real_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def) { gint result = 0; ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gint _tmp5_ = 0; gint _tmp6_ = 0; gint _tmp7_ = 0; #line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (domain != NULL, 0); #line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (id != NULL, 0); #line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (key != NULL, 0); #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = def; #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_engine_get_plugin_int (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp7_; #line 1778 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 12567 "ConfigurationInterfaces.c" } gint configuration_facade_get_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint def) { #line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1777 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_int (self, domain, id, key, def); #line 12576 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val) { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; gint _tmp5_ = 0; #line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (domain != NULL); #line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); #line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (key != NULL); #line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; #line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; #line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; #line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = val; #line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_plugin_int (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); #line 1782 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 12609 "ConfigurationInterfaces.c" } void configuration_facade_set_plugin_int (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, gint val) { #line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1781 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_int (self, domain, id, key, val); #line 12618 "ConfigurationInterfaces.c" } static gchar* configuration_facade_real_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) { gchar* result = NULL; gchar* _result_ = NULL; ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; gchar* _tmp6_ = NULL; gchar* _tmp7_ = NULL; const gchar* _tmp8_ = NULL; const gchar* _tmp9_ = NULL; gchar* _tmp11_ = NULL; #line 1785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (domain != NULL, NULL); #line 1785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (id != NULL, NULL); #line 1785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (key != NULL, NULL); #line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; #line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; #line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; #line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = def; #line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = configuration_engine_get_plugin_string (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); #line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp7_ = _tmp6_; #line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1786 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _result_ = _tmp7_; #line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp9_ = _result_; #line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (g_strcmp0 (_tmp9_, "") == 0) { #line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = NULL; #line 12668 "ConfigurationInterfaces.c" } else { const gchar* _tmp10_ = NULL; #line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp10_ = _result_; #line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp8_ = _tmp10_; #line 12675 "ConfigurationInterfaces.c" } #line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp11_ = g_strdup (_tmp8_); #line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp11_; #line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_free0 (_result_); #line 1787 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 12685 "ConfigurationInterfaces.c" } gchar* configuration_facade_get_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* def) { #line 1785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), NULL); #line 1785 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->get_plugin_string (self, domain, id, key, def); #line 12694 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) { const gchar* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; ConfigurationEngine* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; #line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (domain != NULL); #line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); #line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (key != NULL); #line 1791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = val; #line 1791 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" if (_tmp0_ == NULL) { #line 1792 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" val = ""; #line 12718 "ConfigurationInterfaces.c" } #line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = configuration_facade_get_engine (self); #line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = _tmp1_; #line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = domain; #line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = id; #line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp5_ = key; #line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp6_ = val; #line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_plugin_string (_tmp2_, _tmp3_, _tmp4_, _tmp5_, _tmp6_); #line 1794 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp2_); #line 12736 "ConfigurationInterfaces.c" } void configuration_facade_set_plugin_string (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key, const gchar* val) { #line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1790 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_string (self, domain, id, key, val); #line 12745 "ConfigurationInterfaces.c" } static void configuration_facade_real_unset_plugin_key (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key) { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; const gchar* _tmp4_ = NULL; #line 1797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (domain != NULL); #line 1797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); #line 1797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (key != NULL); #line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = domain; #line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = id; #line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = key; #line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_unset_plugin_key (_tmp1_, _tmp2_, _tmp3_, _tmp4_); #line 1798 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 12775 "ConfigurationInterfaces.c" } void configuration_facade_unset_plugin_key (ConfigurationFacade* self, const gchar* domain, const gchar* id, const gchar* key) { #line 1797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1797 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->unset_plugin_key (self, domain, id, key); #line 12784 "ConfigurationInterfaces.c" } static FuzzyPropertyState configuration_facade_real_is_plugin_enabled (ConfigurationFacade* self, const gchar* id) { FuzzyPropertyState result = 0; ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; FuzzyPropertyState _tmp3_ = 0; FuzzyPropertyState _tmp4_ = 0; #line 1804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (id != NULL, 0); #line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = id; #line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = configuration_engine_is_plugin_enabled (_tmp1_, _tmp2_); #line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp4_ = _tmp3_; #line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" result = _tmp4_; #line 1805 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return result; #line 12813 "ConfigurationInterfaces.c" } FuzzyPropertyState configuration_facade_is_plugin_enabled (ConfigurationFacade* self, const gchar* id) { #line 1804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_val_if_fail (IS_CONFIGURATION_FACADE (self), 0); #line 1804 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" return CONFIGURATION_FACADE_GET_CLASS (self)->is_plugin_enabled (self, id); #line 12822 "ConfigurationInterfaces.c" } static void configuration_facade_real_set_plugin_enabled (ConfigurationFacade* self, const gchar* id, gboolean enabled) { ConfigurationEngine* _tmp0_ = NULL; ConfigurationEngine* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; #line 1808 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (id != NULL); #line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp0_ = configuration_facade_get_engine (self); #line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp1_ = _tmp0_; #line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp2_ = id; #line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _tmp3_ = enabled; #line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_engine_set_plugin_enabled (_tmp1_, _tmp2_, _tmp3_); #line 1809 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (_tmp1_); #line 12845 "ConfigurationInterfaces.c" } void configuration_facade_set_plugin_enabled (ConfigurationFacade* self, const gchar* id, gboolean enabled) { #line 1808 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_return_if_fail (IS_CONFIGURATION_FACADE (self)); #line 1808 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" CONFIGURATION_FACADE_GET_CLASS (self)->set_plugin_enabled (self, id, enabled); #line 12854 "ConfigurationInterfaces.c" } static void configuration_facade_class_init (ConfigurationFacadeClass * klass) { #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" configuration_facade_parent_class = g_type_class_peek_parent (klass); #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_type_class_add_private (klass, sizeof (ConfigurationFacadePrivate)); #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_auto_import_from_library = configuration_facade_real_get_auto_import_from_library; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_auto_import_from_library = configuration_facade_real_set_auto_import_from_library; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_bg_color_name = configuration_facade_real_get_bg_color_name; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_bg_color_name = configuration_facade_real_set_bg_color_name; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_commit_metadata_to_masters = configuration_facade_real_get_commit_metadata_to_masters; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_commit_metadata_to_masters = configuration_facade_real_set_commit_metadata_to_masters; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_desktop_background = configuration_facade_real_get_desktop_background; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_desktop_background = configuration_facade_real_set_desktop_background; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_screensaver = configuration_facade_real_get_screensaver; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_screensaver = configuration_facade_real_set_screensaver; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_directory_pattern = configuration_facade_real_get_directory_pattern; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_directory_pattern = configuration_facade_real_set_directory_pattern; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_directory_pattern_custom = configuration_facade_real_get_directory_pattern_custom; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_directory_pattern_custom = configuration_facade_real_set_directory_pattern_custom; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_direct_window_state = configuration_facade_real_get_direct_window_state; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_direct_window_state = configuration_facade_real_set_direct_window_state; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_basic_properties = configuration_facade_real_get_display_basic_properties; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_basic_properties = configuration_facade_real_set_display_basic_properties; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_extended_properties = configuration_facade_real_get_display_extended_properties; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_extended_properties = configuration_facade_real_set_display_extended_properties; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_sidebar = configuration_facade_real_get_display_sidebar; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_sidebar = configuration_facade_real_set_display_sidebar; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_toolbar = configuration_facade_real_get_display_toolbar; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_toolbar = configuration_facade_real_set_display_toolbar; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_search_bar = configuration_facade_real_get_display_search_bar; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_search_bar = configuration_facade_real_set_display_search_bar; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_photo_ratings = configuration_facade_real_get_display_photo_ratings; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_photo_ratings = configuration_facade_real_set_display_photo_ratings; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_photo_tags = configuration_facade_real_get_display_photo_tags; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_photo_tags = configuration_facade_real_set_display_photo_tags; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_photo_titles = configuration_facade_real_get_display_photo_titles; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_photo_titles = configuration_facade_real_set_display_photo_titles; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_photo_comments = configuration_facade_real_get_display_photo_comments; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_photo_comments = configuration_facade_real_set_display_photo_comments; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_display_event_comments = configuration_facade_real_get_display_event_comments; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_display_event_comments = configuration_facade_real_set_display_event_comments; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_event_photos_sort = configuration_facade_real_get_event_photos_sort; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_event_photos_sort = configuration_facade_real_set_event_photos_sort; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_events_sort_ascending = configuration_facade_real_get_events_sort_ascending; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_events_sort_ascending = configuration_facade_real_set_events_sort_ascending; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_external_photo_app = configuration_facade_real_get_external_photo_app; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_external_photo_app = configuration_facade_real_set_external_photo_app; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_external_raw_app = configuration_facade_real_get_external_raw_app; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_external_raw_app = configuration_facade_real_set_external_raw_app; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_export_constraint = configuration_facade_real_get_export_constraint; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_export_constraint = configuration_facade_real_set_export_constraint; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_export_export_format_mode = configuration_facade_real_get_export_export_format_mode; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_export_export_format_mode = configuration_facade_real_set_export_export_format_mode; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_export_export_metadata = configuration_facade_real_get_export_export_metadata; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_export_export_metadata = configuration_facade_real_set_export_export_metadata; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_export_photo_file_format = configuration_facade_real_get_export_photo_file_format; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_export_photo_file_format = configuration_facade_real_set_export_photo_file_format; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_export_quality = configuration_facade_real_get_export_quality; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_export_quality = configuration_facade_real_set_export_quality; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_export_scale = configuration_facade_real_get_export_scale; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_export_scale = configuration_facade_real_set_export_scale; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_default_raw_developer = configuration_facade_real_get_default_raw_developer; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_default_raw_developer = configuration_facade_real_set_default_raw_developer; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_hide_photos_already_imported = configuration_facade_real_get_hide_photos_already_imported; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_hide_photos_already_imported = configuration_facade_real_set_hide_photos_already_imported; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_import_dir = configuration_facade_real_get_import_dir; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_import_dir = configuration_facade_real_set_import_dir; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_keep_relativity = configuration_facade_real_get_keep_relativity; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_keep_relativity = configuration_facade_real_set_keep_relativity; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_pin_toolbar_state = configuration_facade_real_get_pin_toolbar_state; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_pin_toolbar_state = configuration_facade_real_set_pin_toolbar_state; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_last_crop_height = configuration_facade_real_get_last_crop_height; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_last_crop_height = configuration_facade_real_set_last_crop_height; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_last_crop_menu_choice = configuration_facade_real_get_last_crop_menu_choice; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_last_crop_menu_choice = configuration_facade_real_set_last_crop_menu_choice; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_last_crop_width = configuration_facade_real_get_last_crop_width; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_last_crop_width = configuration_facade_real_set_last_crop_width; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_last_used_service = configuration_facade_real_get_last_used_service; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_last_used_service = configuration_facade_real_set_last_used_service; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_last_used_dataimports_service = configuration_facade_real_get_last_used_dataimports_service; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_last_used_dataimports_service = configuration_facade_real_set_last_used_dataimports_service; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_library_photos_sort = configuration_facade_real_get_library_photos_sort; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_library_photos_sort = configuration_facade_real_set_library_photos_sort; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_library_window_state = configuration_facade_real_get_library_window_state; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_library_window_state = configuration_facade_real_set_library_window_state; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_modify_originals = configuration_facade_real_get_modify_originals; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_modify_originals = configuration_facade_real_set_modify_originals; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_photo_thumbnail_scale = configuration_facade_real_get_photo_thumbnail_scale; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_photo_thumbnail_scale = configuration_facade_real_set_photo_thumbnail_scale; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_content_height = configuration_facade_real_get_printing_content_height; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_content_height = configuration_facade_real_set_printing_content_height; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_content_layout = configuration_facade_real_get_printing_content_layout; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_content_layout = configuration_facade_real_set_printing_content_layout; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_content_ppi = configuration_facade_real_get_printing_content_ppi; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_content_ppi = configuration_facade_real_set_printing_content_ppi; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_content_units = configuration_facade_real_get_printing_content_units; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_content_units = configuration_facade_real_set_printing_content_units; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_content_width = configuration_facade_real_get_printing_content_width; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_content_width = configuration_facade_real_set_printing_content_width; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_images_per_page = configuration_facade_real_get_printing_images_per_page; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_images_per_page = configuration_facade_real_set_printing_images_per_page; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_match_aspect_ratio = configuration_facade_real_get_printing_match_aspect_ratio; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_match_aspect_ratio = configuration_facade_real_set_printing_match_aspect_ratio; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_print_titles = configuration_facade_real_get_printing_print_titles; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_print_titles = configuration_facade_real_set_printing_print_titles; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_size_selection = configuration_facade_real_get_printing_size_selection; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_size_selection = configuration_facade_real_set_printing_size_selection; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_printing_titles_font = configuration_facade_real_get_printing_titles_font; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_printing_titles_font = configuration_facade_real_set_printing_titles_font; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_show_welcome_dialog = configuration_facade_real_get_show_welcome_dialog; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_show_welcome_dialog = configuration_facade_real_set_show_welcome_dialog; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_sidebar_position = configuration_facade_real_get_sidebar_position; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_sidebar_position = configuration_facade_real_set_sidebar_position; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_slideshow_delay = configuration_facade_real_get_slideshow_delay; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_slideshow_delay = configuration_facade_real_set_slideshow_delay; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_slideshow_transition_delay = configuration_facade_real_get_slideshow_transition_delay; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_slideshow_transition_delay = configuration_facade_real_set_slideshow_transition_delay; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_slideshow_transition_effect_id = configuration_facade_real_get_slideshow_transition_effect_id; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_slideshow_transition_effect_id = configuration_facade_real_set_slideshow_transition_effect_id; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_slideshow_show_title = configuration_facade_real_get_slideshow_show_title; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_slideshow_show_title = configuration_facade_real_set_slideshow_show_title; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_use_24_hour_time = configuration_facade_real_get_use_24_hour_time; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_use_24_hour_time = configuration_facade_real_set_use_24_hour_time; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_use_lowercase_filenames = configuration_facade_real_get_use_lowercase_filenames; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_use_lowercase_filenames = configuration_facade_real_set_use_lowercase_filenames; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_video_interpreter_state_cookie = configuration_facade_real_get_video_interpreter_state_cookie; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_video_interpreter_state_cookie = configuration_facade_real_set_video_interpreter_state_cookie; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_plugin_bool = configuration_facade_real_get_plugin_bool; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_plugin_bool = configuration_facade_real_set_plugin_bool; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_plugin_double = configuration_facade_real_get_plugin_double; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_plugin_double = configuration_facade_real_set_plugin_double; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_plugin_int = configuration_facade_real_get_plugin_int; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_plugin_int = configuration_facade_real_set_plugin_int; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->get_plugin_string = configuration_facade_real_get_plugin_string; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_plugin_string = configuration_facade_real_set_plugin_string; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->unset_plugin_key = configuration_facade_real_unset_plugin_key; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->is_plugin_enabled = configuration_facade_real_is_plugin_enabled; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" ((ConfigurationFacadeClass *) klass)->set_plugin_enabled = configuration_facade_real_set_plugin_enabled; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" G_OBJECT_CLASS (klass)->finalize = configuration_facade_finalize; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("auto_import_from_library_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("bg_color_name_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("commit_metadata_to_masters_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("events_sort_ascending_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("external_app_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" g_signal_new ("import_directory_changed", TYPE_CONFIGURATION_FACADE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0); #line 13143 "ConfigurationInterfaces.c" } static void configuration_facade_instance_init (ConfigurationFacade * self) { #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" self->priv = CONFIGURATION_FACADE_GET_PRIVATE (self); #line 13150 "ConfigurationInterfaces.c" } static void configuration_facade_finalize (GObject* obj) { ConfigurationFacade * self; #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CONFIGURATION_FACADE, ConfigurationFacade); #line 346 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" _g_object_unref0 (self->priv->engine); #line 345 "/home/jens/Source/shotwell/src/config/ConfigurationInterfaces.vala" G_OBJECT_CLASS (configuration_facade_parent_class)->finalize (obj); #line 13162 "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; }